/* =========================================
   8 LIMBS YOGA SCHOOL — BLOG ARTICLE
   Uses the existing navy, gold and cream design
========================================= */

.blog-page {
    background: var(--bg, #F8F6F0);
    color: var(--text, #17212B);
    font-family: var(--font-body, "Manrope", Arial, sans-serif);
    font-size: 15px;
    line-height: 1.8;
    padding: 32px 24px 80px;
}

.blog-page *,
.blog-page *::before,
.blog-page *::after {
    box-sizing: border-box;
}

.blog-page img {
    display: block;
    max-width: 100%;
}

.blog-page a {
    color: var(--primary, #0B2A4A);
}

/* MAIN CONTAINER */

.blog-shell {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
}

.blog-article {
    width: 100%;
    min-width: 0;
}

/* BREADCRUMBS */

.blog-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    color: var(--muted, #66717C);
    font-size: 12px;
    line-height: 1.6;
}

.blog-breadcrumbs a {
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: var(--secondary, #C9A24A);
}

/* ARTICLE HEADER */

.article-header {
    max-width: 900px;
    margin: 0 auto;
}

.article-kicker,
.section-label,
.toc-eyebrow,
.author-card-label,
.cta-eyebrow {
    margin: 0 0 8px;
    color: #947027;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.5;
}

.article-header h1 {
    max-width: 850px;
    margin: 0;
    color: var(--primary, #0B2A4A);
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.article-deck {
    max-width: 760px;
    margin: 18px 0;
    color: var(--muted, #66717C);
    font-size: 16px;
    line-height: 1.8;
}

/* AUTHOR AND DATE */

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--muted, #66717C);
    font-size: 12px;
}

.article-meta strong {
    color: var(--text, #17212B);
}

.author-avatar,
.author-mark {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    background: var(--primary, #0B2A4A);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.author-avatar {
    width: 32px;
    height: 32px;
}

.meta-divider {
    color: var(--secondary, #C9A24A);
}

/* FEATURED IMAGE */

.article-featured-image {
    margin: 30px 0 0;
}

.article-featured-image img {
    width: 100%;
    aspect-ratio: 16 / 8.5;
    object-fit: cover;
    background: var(--bg-alt, #EEEAE1);
    border-radius: var(--radius, 18px);
}

.article-featured-image figcaption,
.article-image-grid figcaption,
.article-infographic figcaption {
    margin-top: 8px;
    color: var(--muted, #66717C);
    font-size: 11px;
    line-height: 1.6;
}

/* INTRODUCTION */

.article-intro,
.key-takeaways,
.article-toc,
.article-content,
.author-card,
.related-articles,
.article-cta {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.article-intro {
    padding: 28px 0 8px;
    font-size: 15px;
}

.article-intro p {
    margin: 0 0 14px;
        font-size: 17px;
    line-height: 1.85;
}



/* KEY TAKEAWAYS */

.key-takeaways {
    margin-top: 16px;
    padding: 23px 25px;
    background: #FBF7EC;
    border: 1px solid #E5D7B8;
    border-left: 4px solid var(--secondary, #C9A24A);
    border-radius: var(--radius-small, 10px);
}

.key-takeaways h2 {
    margin: 0 0 10px;
    color: var(--primary, #0B2A4A);
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.key-takeaways li {
    padding: 3px 0 3px 3px;
    font-size: 13px;
    line-height: 1.75;
}

.key-takeaways li::marker {
    color: var(--secondary, #C9A24A);
}

/* TABLE OF CONTENTS — NOW ABOVE THE ARTICLE */

.article-toc {
    margin-top: 28px;
    padding: 24px 26px;
    background: #fff;
    border: 1px solid var(--border, #DDD7CB);
    border-radius: var(--radius, 18px);
    box-shadow: 0 8px 26px rgba(7, 26, 45, 0.04);
}

.toc-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #EAE5DC;
}

.toc-heading h2 {
    margin: 0;
    color: var(--primary, #0B2A4A);
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

.toc-eyebrow {
    display: block;
    margin-bottom: 4px;
    font-size: 9px;
}

.toc-count {
    padding: 5px 10px;
    background: var(--bg, #F8F6F0);
    border-radius: 30px;
    color: var(--muted, #66717C);
    font-size: 10px;
    white-space: nowrap;
}

.article-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 26px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.article-toc li {
    min-width: 0;
    border-bottom: 1px solid #F0ECE5;
}

.article-toc li:nth-last-child(-n+2) {
    border-bottom: 0;
}

.article-toc a {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 11px 0;
    color: #263746;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;
}

.article-toc a span {
    flex-shrink: 0;
    color: #A17A2A;
    font-size: 10px;
    font-weight: 800;
}

.article-toc a:hover {
    color: #A17A2A;
}

/* ARTICLE CONTENT */

.article-content {
    padding-top: 12px;
}

.article-section {
    padding-top: 42px;
    scroll-margin-top: 30px;
}

.article-section h2,
.related-articles h2 {
    margin: 0 0 15px;
    color: var(--primary, #0B2A4A);
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(29px, 3.5vw, 38px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.article-section h3 {
    margin: 0 0 7px;
    color: var(--primary, #0B2A4A);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.5;
}

.article-section p {
    margin: 0 0 16px;
}

.article-section > ul {
    padding-left: 22px;
}

.article-section > ul li {
    margin-bottom: 9px;
    padding-left: 4px;
}

.article-section li::marker {
    color: var(--secondary, #C9A24A);
}

/* QUOTE */

.article-section blockquote {
    margin: 24px 0;
    padding: 17px 22px;
    background: #F0ECE3;
    border-left: 3px solid var(--secondary, #C9A24A);
    color: #344452;
    font-size: 14px;
    line-height: 1.6;
}

.article-section blockquote p {
    margin: 0;
}

/* IMAGE GRID */

.article-image-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.article-image-grid figure,
.article-infographic {
    min-width: 0;
    margin: 0;
}

.article-image-grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background: var(--bg-alt, #EEEAE1);
    border-radius: var(--radius-small, 10px);
}

/* TECHNIQUE CARDS */

.technique-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
    padding: 19px 0;
    border-bottom: 1px solid var(--border, #DDD7CB);
}

.technique-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #F0E5CA;
    border-radius: 50%;
    color: #795719;
    font-size: 11px;
    font-weight: 800;
}

.technique-card p {
    margin: 0;
    font-size: 14px;
}

/* INFOGRAPHIC */

.article-infographic {
    margin: 28px 0 0;
}

.article-infographic img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--border, #DDD7CB);
    border-radius: var(--radius-small, 10px);
}

/* CHECKLIST AND SAFETY NOTE */

.article-checklist {
    padding: 0 !important;
    list-style: none;
}

.article-checklist li {
    position: relative;
    padding-left: 28px !important;
}

.article-checklist li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #8B6A24;
    content: "✓";
    font-weight: 800;
}

.notice-box {
    margin-top: 22px;
    padding: 18px 20px;
    background: #F2E8D0;
    border-radius: var(--radius-small, 10px);
    color: #4B412D;
}

.notice-box strong {
    display: block;
    margin-bottom: 4px;
    color: var(--primary, #0B2A4A);
    font-size: 13px;
}

.notice-box p {
    margin: 0;
    font-size: 13px;
}

/* COMPARISON TABLE */

.article-table-wrap {
    overflow-x: auto;
    margin: 22px 0;
    background: #fff;
    border: 1px solid var(--border, #DDD7CB);
    border-radius: var(--radius-small, 10px);
}

.article-table-wrap table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 12px;
    line-height: 1.65;
}

.article-table-wrap th {
    padding: 13px 14px;
    background: var(--primary, #0B2A4A);
    color: #fff;
    font-weight: 700;
    text-align: left;
}

.article-table-wrap td {
    padding: 12px 14px;
    border-bottom: 1px solid #EEEAE3;
    vertical-align: top;
}

.article-table-wrap tbody tr:last-child td {
    border-bottom: 0;
}

.article-table-wrap tbody tr:nth-child(even) {
    background: #FAF8F3;
}

/* FAQ */

.article-faq details {
    border-bottom: 1px solid var(--border, #DDD7CB);
}

.article-faq details:first-of-type {
    border-top: 1px solid var(--border, #DDD7CB);
}

.article-faq summary {
    position: relative;
    padding: 16px 36px 16px 0;
    color: var(--primary, #0B2A4A);
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    list-style: none;
}

.article-faq summary::-webkit-details-marker {
    display: none;
}

.article-faq summary::after {
    position: absolute;
    top: 12px;
    right: 4px;
    color: #A17A2A;
    content: "+";
    font-size: 22px;
    font-weight: 400;
}

.article-faq details[open] summary::after {
    content: "−";
}

.article-faq details p {
    margin: 0;
    padding: 0 24px 16px 0;
    color: #53606C;
    font-size: 13px;
}

/* AUTHOR CARD */

.author-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    margin-top: 48px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border, #DDD7CB);
    border-radius: var(--radius-small, 10px);
}

.author-mark {
    width: 44px;
    height: 44px;
    font-size: 12px;
}

.author-card-label {
    margin-bottom: 3px;
    font-size: 9px;
}

.author-card h2 {
    margin: 0 0 5px;
    color: var(--primary, #0B2A4A);
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}

.author-card p:not(.author-card-label) {
    margin: 0 0 9px;
    color: #586572;
    font-size: 12px;
    line-height: 1.7;
}

.author-card a,
.text-link {
    color: #8B6820;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.author-card a:hover,
.text-link:hover {
    text-decoration: underline;
}

/* RELATED ARTICLES */

.related-articles {
    margin-top: 48px;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.section-heading-row .section-label {
    margin-bottom: 4px;
}

.related-articles h2 {
    margin: 0;
}

.text-link {
    padding-bottom: 5px;
    white-space: nowrap;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.related-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--border, #DDD7CB);
    border-radius: var(--radius-small, 10px);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(7, 26, 45, 0.08);
}

.related-card img {
    width: 100%;
    aspect-ratio: 5 / 3;
    object-fit: cover;
    background: var(--bg-alt, #EEEAE1);
}

.related-card > div {
    padding: 15px;
}

.related-category {
    color: #967126;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.related-card h3 {
    margin: 7px 0 14px;
    color: var(--primary, #0B2A4A);
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.related-read {
    color: var(--muted, #66717C);
    font-size: 10px;
}

/* FINAL COURSE CTA */

.article-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 48px;
    padding: 40px;
    background: var(--primary, #0B2A4A);
    border-radius: var(--radius, 18px);
    color: #fff;
}

.cta-decoration {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 22px;
    color: rgba(255, 255, 255, 0.07);
    font-size: 130px;
    line-height: 1.2;
}

.article-cta .cta-eyebrow {
    color: #E1C77F;
}

.article-cta h2 {
    max-width: 570px;
    margin: 0 0 12px;
    color: #fff;
    font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 600;
    line-height: 1.1;
}

.article-cta > p:not(.cta-eyebrow) {
   
    margin: 0 0 22px;
    color: #D9E1E8;
    font-size: 13px;
}

.button-gold {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 17px;
    background: var(--secondary, #C9A24A);
    border-radius: 4px;
    color: #10263A !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.button-gold:hover {
    background: #E0BD66;
}

/* TABLET */

@media (max-width: 800px) {
    .blog-page {
        padding: 25px 20px 60px;
    }

    .blog-shell {
        max-width: 100%;
    }

    .article-header {
        max-width: 100%;
    }

    .article-intro,
    .key-takeaways,
    .article-toc,
    .article-content,
    .author-card,
    .related-articles,
    .article-cta {
        max-width: 760px;
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-card:last-child {
        display: none;
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .blog-page {
        padding: 20px 16px 45px;
        font-size: 14px;
    }

    .blog-breadcrumbs {
        gap: 7px;
        margin-bottom: 20px;
        font-size: 10px;
    }

    .article-header h1 {
        font-size: clamp(35px, 9.5vw, 46px);
        line-height: 1.06;
    }

    .article-deck {
        margin: 14px 0 17px;
        font-size: 14px;
    }

    .article-meta {
        gap: 7px;
        font-size: 10px;
    }

    .article-featured-image {
        margin-top: 22px;
    }

    .article-featured-image img {
        aspect-ratio: 4 / 3;
        border-radius: 12px;
    }

    .article-intro {
        padding-top: 22px;
        font-size: 14px;
    }

    .article-intro p:first-child {
        font-size: 15px;
    }

    .key-takeaways {
        padding: 19px;
    }

    .key-takeaways h2 {
        font-size: 26px;
    }

    .article-toc {
        padding: 20px 18px;
    }

    .toc-heading h2 {
        font-size: 27px;
    }

    .article-toc ol {
        grid-template-columns: 1fr;
    }

    .article-toc li:nth-last-child(2) {
        border-bottom: 1px solid #F0ECE5;
    }

    .article-toc li:last-child {
        border-bottom: 0;
    }

    .article-toc a {
        padding: 10px 0;
        font-size: 12px;
    }

    .article-section {
        padding-top: 34px;
    }

    .article-section h2,
    .related-articles h2 {
        font-size: 31px;
    }

    .article-image-grid {
        gap: 12px;
    }

    .article-image-grid figcaption {
        font-size: 10px;
    }

    .technique-card {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: 11px;
    }

    .technique-number {
        width: 29px;
        height: 29px;
    }

    .author-card {
        margin-top: 36px;
        padding: 18px;
    }

    .related-articles {
        margin-top: 38px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .related-card,
    .related-card:last-child {
        display: grid;
        grid-template-columns: 115px minmax(0, 1fr);
    }

    .related-card img {
        height: 100%;
        min-height: 125px;
        aspect-ratio: auto;
    }

    .related-card > div {
        padding: 12px;
    }

    .related-card h3 {
        margin-bottom: 8px;
        font-size: 21px;
    }

    .section-heading-row {
        align-items: flex-start;
    }

    .text-link {
        padding-top: 8px;
        font-size: 10px;
    }

    .article-cta {
        margin-top: 36px;
        padding: 27px 21px;
    }

    .cta-decoration {
        right: 8px;
        font-size: 100px;
    }
}

/* SMALL PHONES */

@media (max-width: 400px) {
    .article-image-grid {
        grid-template-columns: 1fr;
    }

    .article-image-grid img {
        aspect-ratio: 16 / 10;
    }

    .toc-count {
        font-size: 9px;
    }

    .article-meta {
        gap: 6px;
    }

    .meta-divider {
        display: none;
    }
}