/* =========================================
   BLOG — listing (/blog/) and article pages
   Loaded after styles2.css; reuses variables.css
   ========================================= */

/* Blog pages scroll normally — no full-page snap */
html {
    scroll-snap-type: none;
}

/* Active nav tab */
.navbar-link.active {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 2px;
}

/* ===================== */
/* BLOG LISTING          */
/* ===================== */

.blog-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px 40px 100px;
    width: 100%;
    box-sizing: border-box;
}

.blog-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--orange);
    margin: 0 0 24px 0;
}

.blog-title {
    font-family: 'Geist', 'Articulat CF', sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -1.28px;
    color: var(--army);
    margin: 0 0 28px 0;
    max-width: 900px;
}

.blog-title .orange-text {
    font-style: italic;
}

.blog-subtitle {
    font-family: 'Geist', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--grey);
    margin: 0 0 80px 0;
    max-width: 520px;
}

.blog-list {
    display: flex;
    flex-direction: column;
}

.blog-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: baseline;
    gap: 40px;
    padding: 44px 8px;
    border-top: 1px solid #e0e0e0;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.blog-list-item:last-child {
    border-bottom: 1px solid #e0e0e0;
}


.blog-list-date {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--grey);
}

.blog-list-title {
    font-family: 'Geist', 'Articulat CF', sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.4px;
    color: var(--army);
    margin: 0;
    transition: color 0.2s ease;
}

.blog-list-item:hover .blog-list-title {
    color: var(--orange);
}

/* ===================== */
/* ARTICLE PAGE          */
/* ===================== */

.post-page {
    max-width: 780px;
    margin: 0 auto;
    padding: 160px 40px 100px;
    width: 100%;
    box-sizing: border-box;
}

.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-back-link:hover {
    color: var(--orange);
}

/* Minimal centered header: title, authors, date */
.post-header {
    text-align: center;
    margin-bottom: 88px;
}

.post-title {
    font-family: 'Geist', 'Articulat CF', sans-serif;
    font-size: 44px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.88px;
    color: var(--army);
    margin: 0 0 28px 0;
}

.post-authors {
    font-family: 'Geist', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--army);
    margin: 0 0 12px 0;
}

.post-date {
    font-family: 'Geist', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--grey);
    margin: 0;
}

.post-body p {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 28px 0;
}

.post-body h2 {
    font-family: 'Geist', 'Articulat CF', sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.56px;
    color: var(--army);
    margin: 56px 0 20px 0;
}

.post-body h3 {
    font-family: 'Geist', sans-serif;
    font-size: 21px;
    font-weight: 500;
    color: var(--army);
    margin: 40px 0 16px 0;
}

.post-body a {
    color: var(--orange);
    text-decoration: none;
}

.post-body a:hover {
    text-decoration: underline;
}

.post-body ul,
.post-body ol {
    font-family: 'Geist', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0 0 28px 0;
    padding-left: 28px;
}

.post-body li {
    margin-bottom: 10px;
}

.post-body blockquote {
    border-left: 3px solid var(--orange);
    margin: 40px 0;
    padding: 4px 0 4px 28px;
}

.post-body blockquote p {
    font-style: italic;
    font-size: 21px;
    line-height: 1.5;
    color: var(--army);
    margin: 0;
}

.post-body img {
    max-width: 100%;
    border-radius: 16px;
    margin: 12px 0 28px;
}

.post-video {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f9f9fb;
    margin: 12px 0 28px;
}

.post-video video {
    width: 100%;
    display: block;
}

.post-body hr {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 48px 0;
}

.post-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.post-footer {
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid #e0e0e0;
}

/* ===================== */
/* RESPONSIVE            */
/* ===================== */

@media screen and (max-width: 767px) {
    .blog-page {
        padding: 140px 24px 60px;
    }

    .blog-title {
        font-size: 40px;
        letter-spacing: -0.8px;
    }

    .blog-subtitle {
        margin-bottom: 48px;
    }

    .blog-list-item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 28px 4px;
    }

    .blog-list-title {
        font-size: 21px;
    }

    .post-page {
        padding: 130px 24px 60px;
    }

    .post-title {
        font-size: 30px;
        letter-spacing: -0.6px;
    }

    .post-header {
        margin-bottom: 56px;
    }

    .post-body p,
    .post-body ul,
    .post-body ol {
        font-size: 17px;
    }

    .post-body h2 {
        font-size: 24px;
    }

    .post-body blockquote p {
        font-size: 18px;
    }
}
