/* ==========================================================================
   STRUCTR — blog.css  (blog index + single post)
   ========================================================================== */

.blog-hero {
    background: #4A5A54;
    color: #ffffff;
    text-align: center;
    padding: 72px 0;
}

.blog-hero h1 { color: #ffffff; font-size: 38px; margin: 0; }

/* Category filter bar */
.blog-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.blog-filter a {
    border: 1px solid #B6A690;
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 14px;
    color: #212121;
}

.blog-filter a:hover,
.blog-filter a.is-active {
    background: #904028;
    border-color: #904028;
    color: #ffffff;
}

/* Featured post */
.blog-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
    border: 1px solid #ece7df;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 48px;
}

@media (min-width: 900px) {
    .blog-featured { grid-template-columns: 1.2fr 1fr; }
}

.blog-featured__thumb {
    /* Ratio-box on mobile, fill the grid cell on desktop */
    height: 0;
    padding-top: 66%;
    background: #B6A690;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s ease;
}

.blog-featured:hover .blog-featured__thumb { transform: scale(1.03); }

@media (min-width: 900px) {
    .blog-featured__thumb { height: auto; padding-top: 0; min-height: 320px; }
}

.blog-featured__body { padding: 36px; }
.blog-featured__body h2 { font-size: 28px; margin: 8px 0 14px; }

/* Layout with sidebar */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 992px) {
    .blog-layout { grid-template-columns: 1fr 320px; }
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.blog-sidebar__widget {
    background: #ffffff;
    border: 1px solid #ece7df;
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 28px;
}

.blog-sidebar__widget h4 {
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 16px;
}

.blog-sidebar__widget ul { list-style: none; margin: 0; padding: 0; }
.blog-sidebar__widget li { margin-bottom: 10px; font-size: 15px; }

.email-capture {
    background: #212121;
    color: #F3F0EB;
}

.email-capture h4 { color: #ffffff; }
.email-capture p { font-size: 14px; color: #B6A690; }

.email-capture input[type="email"],
.email-capture input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid #4A5A54;
    border-radius: 2px;
    background: #2b2b2b;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

/* --------------------------------------------------------------------------
   Single post
   -------------------------------------------------------------------------- */
.single-post__hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

.single-post__header { max-width: 820px; margin: 0 auto; padding: 40px 24px 0; }

.single-post__meta {
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #AD712A;
    margin-bottom: 14px;
}

.single-post__title { font-size: 38px; margin: 0 0 22px; }

.single-post__byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid #ece7df;
    border-bottom: 1px solid #ece7df;
    margin-bottom: 32px;
}

.single-post__byline img { width: 44px; height: 44px; border-radius: 50%; }
.single-post__byline-name { font-weight: 600; }
.single-post__byline-date { font-size: 13px; color: #4A5A54; }

.single-post__content { max-width: 820px; margin: 0 auto; padding: 0 24px; font-size: 17px; }
.single-post__content h2 { font-size: 28px; margin: 36px 0 14px; }
.single-post__content h3 { font-size: 22px; margin: 28px 0 12px; }

.single-post__share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
}

.single-post__share span { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: #4A5A54; }

.single-post__share a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #B6A690;
    border-radius: 50%;
    color: #904028;
}

.single-post__share a:hover { background: #904028; color: #ffffff; border-color: #904028; }
.single-post__share svg { width: 16px; height: 16px; }
