/* Blog index and blog posts for insalonyaletown.com.
   Sits on top of the Activello theme (style.css) and keeps its fonts and colours. */

/* ---------- Single post ---------- */
.blog-breadcrumbs {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin: 0 0 18px;
}
.blog-breadcrumbs a { color: #8a8a8a; }
.blog-breadcrumbs a:hover, .blog-breadcrumbs a:focus { color: #44baa6; text-decoration: none; }
.blog-breadcrumbs .sep { margin: 0 6px; }

.single-post .entry-header .entry-title {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 14px;
}
.single-post .entry-meta {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b6b6b;
    margin-bottom: 30px;
}
.single-post .entry-meta .fa { color: #008080; }

.post-hero {
    margin: 0 auto 34px;
    text-align: center;
    max-width: 760px;
}
.post-hero img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.single-post .entry-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #4a4a4a;
}
.single-post .entry-content h2 {
    font-size: 22px;
    line-height: 1.35;
    color: #008080;
    margin: 38px 0 14px;
}
.single-post .entry-content h3 {
    font-size: 17px;
    line-height: 1.4;
    color: #555;
    font-weight: 700;
    margin: 26px 0 10px;
}
.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 22px;
    margin: 0 0 18px;
}
.single-post .entry-content li { margin-bottom: 8px; }
.single-post .entry-content a { text-decoration: underline; }

.post-back {
    max-width: 760px;
    margin: 40px auto 0;
    padding-top: 22px;
    border-top: 1px solid #e8e8e8;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.post-back a { color: #008080; }

/* Salon info block that every page carries at the bottom of its content */
.blog-site-block {
    margin-top: 50px;
    padding-top: 10px;
    border-top: 1px solid #e8e8e8;
}

/* ---------- Blog index ---------- */
.blog-intro {
    max-width: 640px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px 28px;
    margin: 0 0 20px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #ececec;
}
.blog-card-img {
    display: block;
    height: 210px;
    background: #f4f4f4;
    overflow: hidden;
}
.blog-card-img.is-dark { background: #161616; }
.blog-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 22px 24px;
}
.blog-card-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a8a8a;
    margin-bottom: 8px;
}
.blog-card-title {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 20px;
    line-height: 1.35;
    margin: 0 0 12px;
}
.blog-card-title a { color: #444; }
.blog-card-title a:hover, .blog-card-title a:focus { color: #44baa6; text-decoration: none; }
.blog-card-excerpt {
    flex: 1;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px;
}
.blog-card .read-more { text-align: left; }
.blog-card .read-more a { font-size: 12px; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
    .single-post .entry-header .entry-title { font-size: 24px; }
    .single-post .entry-content { font-size: 15px; }
    .single-post .entry-content h2 { font-size: 20px; }
    .blog-grid { grid-template-columns: 1fr; gap: 24px; }
    .blog-card-img { height: 190px; }
}
