/* ===== BLOG STYLES ===== */
.blog-hero {
    min-height: 40vh;
    position: relative;
    display: grid;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: var(--brand-charcoal);
}

.blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 20, 16, 0.85) 20%, rgba(15, 20, 16, 0.5) 60%, rgba(180, 200, 87, 0.15) 100%);
    z-index: -1;
}

.blog-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.4;
}

.blog-hero-content {
    padding: 3rem 0;
}

.blog-hero h1 {
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: 1px;
    margin: 0;
}

.blog-hero p {
    color: #d5dfca;
    font-size: 1.1rem;
    max-width: 60ch;
    margin-top: 0.8rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(25, 31, 14, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(25, 31, 14, 0.18);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-tag {
    display: inline-block;
    background: var(--brand-lime);
    color: #101010;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.7rem;
    width: fit-content;
}

.blog-card h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--brand-charcoal);
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.blog-card p {
    color: #4d5448;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.blog-card-footer {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #7a8270;
}

.blog-card-footer .read-more {
    color: var(--brand-lime-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-size: 0.8rem;
}

/* Article Page */
.article-hero {
    min-height: 50vh;
    position: relative;
    display: grid;
    align-items: end;
    isolation: isolate;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.article-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 20, 16, 0.9) 0%, rgba(15, 20, 16, 0.4) 50%, rgba(15, 20, 16, 0.2) 100%);
    z-index: -1;
}

.article-hero-content {
    padding: 3rem 0;
}

.article-hero h1 {
    color: #fff;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: 0.8px;
    margin: 0;
    max-width: 20ch;
}

.article-meta {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
    color: #c8d4b8;
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 0.3rem;
    color: var(--brand-lime);
}

/* Article Content */
.article-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 3rem 0;
}

.article-content h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-charcoal);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--brand-lime);
    display: inline-block;
}

.article-content h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--brand-charcoal-soft);
    margin: 1.8rem 0 0.8rem;
}

.article-content p {
    line-height: 1.85;
    color: #2d3329;
    margin: 0 0 1.2rem;
    font-size: 1.02rem;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.4rem;
    padding-left: 1.5rem;
    line-height: 1.85;
    color: #2d3329;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content li::marker {
    color: var(--brand-lime-dark);
    font-weight: 700;
}

.article-content blockquote {
    border-left: 4px solid var(--brand-lime);
    background: rgba(180, 200, 87, 0.08);
    padding: 1.2rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #3a4235;
}

.article-content img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 28px rgba(25, 31, 14, 0.12);
    margin: 1.5rem 0;
}

/* CTA Box */
.article-cta {
    background: linear-gradient(135deg, var(--brand-charcoal) 0%, #2f3238 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2.5rem 0;
    text-align: center;
    color: #fff;
}

.article-cta h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.8rem;
    color: var(--brand-lime);
}

.article-cta p {
    color: #d5dfca;
    margin-bottom: 1.2rem;
}

/* Back to Blog */
.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-lime-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: gap 0.2s ease;
}

.back-to-blog:hover {
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 760px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .article-hero {
        min-height: 35vh;
    }

    .article-content {
        padding: 2rem 0;
    }
}
