:root {
    --orange: #ff7900;
    --black: #000000;
    --white: #ffffff;
    --grey-100: #f5f5f5;
    --grey-300: #dddddd;
    --grey-700: #555555;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

/* Header */

.site-header {
    border-bottom: 1px solid var(--grey-300);
    background: var(--white);
}

.site-header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.site-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.site-navigation a {
    text-decoration: none;
    font-weight: 600;
}

.site-navigation a:hover {
    color: var(--orange);
}

/* Footer */

.site-footer {
    margin-top: 80px;
    padding: 50px 0;
    background: var(--black);
    color: var(--white);
}

.site-footer nav {
    margin-top: 20px;
}

.site-footer nav a {
    margin-right: 20px;
}

/* Mobile */

@media (max-width: 800px) {

    .site-header-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px 0;
    }

    .site-navigation {
        gap: 12px 18px;
    }
}

/* ========================================
   HOME PAGE
   ======================================== */

.home-hero {
    background: var(--black);
    color: var(--white);
    padding: 110px 0;
}

.home-hero-inner {
    display: flex;
    align-items: center;
    min-height: 420px;
}

.home-hero-content {
    max-width: 850px;
}

.home-hero h1 {
    margin: 10px 0 20px;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.home-hero-description {
    margin: 0;
    color: var(--orange);
    font-size: 1.7rem;
    font-weight: 600;
}

.home-hero-intro {
    max-width: 650px;
    margin-top: 25px;
    font-size: 1.2rem;
    color: #dddddd;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}


/* Sections */

.home-section {
    padding: 80px 0;
}

.home-section-grey {
    background: var(--grey-100);
}

.section-heading {
    margin-bottom: 35px;
}

.section-heading h2 {
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.1;
}


/* Featured */

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
}

.featured-card {
    background: var(--grey-100);
}

.featured-card:first-child {
    grid-row: span 2;
}

.featured-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card-content {
    padding: 25px;
}

.featured-card h3 {
    margin: 8px 0 12px;
    font-size: 1.5rem;
    line-height: 1.2;
}

.featured-card h3 a,
.category-card h4 a {
    text-decoration: none;
}

.featured-card h3 a:hover,
.category-card h4 a:hover {
    color: var(--orange);
}


/* Metadata */

.article-meta {
    color: #666;
    font-size: 0.9rem;
}

.article-meta > .d-flex {
    color: #666;
}

/* Tags */

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid var(--grey-300);
    background: var(--white);
    text-decoration: none;
    font-weight: 600;
}


.tag:hover {
    border-color: var(--orange);
    color: var(--orange);
}


/* Categories */

.category-section {
    margin-top: 65px;
}

.category-section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--orange);
}

.category-section-heading h3 {
    margin: 0 0 10px;
    font-size: 2rem;
}

.category-section-heading a {
    text-decoration: none;
    font-weight: 700;
}

.category-section-heading a:hover {
    color: var(--orange);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    border: 1px solid var(--grey-300);
    background: var(--white);
}

.category-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.category-card-content {
    padding: 20px;
}

.category-card h4 {
    margin: 8px 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

.category-card p:last-child {
    color: var(--grey-700);
}


/* Newsletter */

.newsletter {
    padding: 70px 0;
    background: var(--orange);
    color: var(--black);
}

.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.newsletter h2 {
    margin: 0;
    font-size: 2.5rem;
}

.newsletter-form {
    display: flex;
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border: 0;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 25px;
    border: 0;
    background: var(--black);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: #333333;
}


/* Accessibility */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* Responsive */

@media (max-width: 1000px) {

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

    .featured-card:first-child {
        grid-row: auto;
        grid-column: span 2;
    }

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

    .newsletter-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-form {
        width: 100%;
        min-width: 0;
    }
}


@media (max-width: 650px) {

    .home-hero {
        padding: 70px 0;
    }

    .featured-grid,
    .category-grid {
        grid-template-columns: 1fr;
    }

    .featured-card:first-child {
        grid-column: auto;
    }

    .category-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* =========================================================
   Article
   ========================================================= */

.article-page {
    background: #fff;
}

.article-container {
    max-width: 900px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.article-back {
    margin-bottom: 40px;
}

.article-back a {
    color: #333;
    text-decoration: none;
}

.article-back a:hover {
    color: var(--orange);
}

.article-header {
    margin-bottom: 40px;
}

.article-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.article-categories a {
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.04em;
}

.article-header h1 {
    max-width: 850px;
    margin: 0 0 20px;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.05;
    font-weight: 700;
}

.article-lead {
    max-width: 760px;
    margin: 0 0 25px;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
}

.article-meta span + span::before {
    content: "•";
    margin-right: 15px;
}

.article-hero {
    margin: 0 0 50px;
}

.article-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.article-layout {
    max-width: 760px;
}

.article-content {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #222;
}
.article-ai-disclaimer {
    margin: 40px 0;
    padding: 20px 24px;
    border-left: 5px solid var(--orange);
    background: #f5f5f5;
}

.article-ai-disclaimer strong {
    display: block;
    margin-bottom: 8px;
}

.article-ai-disclaimer p {
    margin: 0;
}
.article-content h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    color: var(--orange);
    font-size: 2rem;
    line-height: 1.2;
}

.article-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.article-content p {
    margin: 0 0 22px;
}

.article-content a {
    color: #333;
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 2px;
}

.article-content a:hover {
    color: var(--orange);
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
}

.article-content blockquote {
    margin: 35px 0;
    padding: 20px 25px;
    border-left: 5px solid var(--orange);
    background: #f5f5f5;
    font-size: 1.15rem;
}

.article-content pre {
    overflow-x: auto;
    padding: 20px;
    margin: 30px 0;
    background: #1f1f1f;
    color: #fff;
}

.article-content code {
    font-family: Consolas, Monaco, monospace;
}

.article-content :not(pre) > code {
    padding: 2px 5px;
    background: #f1f1f1;
}
.article-content iframe {
    display: block;
    width: 100%;
    min-height: 500px;
    margin: 30px 0;
    border: 0;
}

.article-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 30px 0;
}

.article-content audio {
    display: block;
    width: 100%;
    margin: 30px 0;
}

.article-content embed,
.article-content object {
    display: block;
    width: 100%;
    min-height: 700px;
    margin: 30px 0;
}

.article-content .attachment {
    display: inline-block;
    margin: 20px 0;
    padding: 12px 18px;
    border-left: 4px solid var(--orange);
    background: #f5f5f5;
    font-weight: 700;
}

.article-footer {
    max-width: 760px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #ddd;
}

.article-footer h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

@media (max-width: 700px) {

    .article-container {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    .article-header h1 {
        font-size: 2.4rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 6px;
    }

    .article-meta span + span::before {
        display: none;
    }

    .article-content {
        font-size: 1rem;
    }

}

/* =========================================================
   Taxonomy / Category pages
   ========================================================= */

.taxonomy-page {
    padding: 60px 0 100px;
}

.taxonomy-header {
    max-width: 800px;
    margin-bottom: 50px;
}

.taxonomy-header h1 {
    margin: 0 0 20px;
    font-size: clamp(2.8rem, 6vw, 5rem);
    line-height: 1;
}

.taxonomy-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
}

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.taxonomy-card {
    border-top: 4px solid var(--orange);
    background: #f5f5f5;
}

.taxonomy-card img {
    width: 100%;
    height: auto;
    display: block;
}

.taxonomy-card-content {
    padding: 25px;
}

.taxonomy-card h2 {
    margin: 8px 0 15px;
    font-size: 1.6rem;
    line-height: 1.2;
}

.taxonomy-card h2 a {
    color: #111;
    text-decoration: none;
}

.taxonomy-card h2 a:hover {
    color: var(--orange);
}

.taxonomy-card-content p {
    line-height: 1.6;
}

@media (max-width: 700px) {

    .taxonomy-page {
        padding: 40px 0 60px;
    }

    .taxonomy-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   Related Articles
   ========================================================= */

.related-articles {
    max-width: 900px;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.related-articles h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

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

.related-article {
    padding: 24px;
    border-top: 4px solid var(--orange);
    background: #f5f5f5;
}

.related-article h3 {
    margin: 10px 0 15px;
    font-size: 1.25rem;
    line-height: 1.3;
}

.related-article h3 a {
    color: #222;
    text-decoration: none;
}

.related-article h3 a:hover {
    color: var(--orange);
}

.related-article p {
    margin-bottom: 15px;
}

.related-article-meta {
    margin-bottom: 0 !important;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 900px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}
.article-content img.article-image-zoomed {
    position: relative;
    z-index: 100;
    max-width: none;
    width: auto;
    max-height: 90vh;
    cursor: zoom-out;
    transform: scale(1.15);
}
/* =========================================================
   Article Sharing
   ========================================================= */

.article-sharing {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.article-sharing .item-overline {
    margin-right: 8px;
}

.article-sharing a {
    color: #222;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--orange);
}

.article-sharing a:hover {
    color: var(--orange);
}
.search-highlight {
    background-color: #ff7900;
    color: #000;
    padding: 0 0.15em;
}

.search-suggestions {
    position: absolute;
    z-index: 1000;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-top: 0;
}

.search-suggestion {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 0;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.search-suggestion:hover,
.search-suggestion:focus {
    background: #f2f2f2;
}

/* Author page */

.author-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.author-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-expertise .tag {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid var(--grey-300);
    background: var(--white);
    text-decoration: none;
    font-weight: 600;
}


.author-expertise .tag:hover {
    color: #111;
}

@media (max-width: 767px) {
    .author-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .author-photo {
        width: 140px;
        height: 140px;
    }
}

/* Team page */

.team-members .taxonomy-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 25px auto 0;
}



.article-footer .tag {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid var(--grey-300);
    background: var(--white);
    text-decoration: none;
    font-weight: 600;
}



.article-footer .tag {
    display: inline-block;
    padding: 9px 15px;
    border: 1px solid var(--grey-300);
    background: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.article-content img {
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.article-content img.article-image-zoomed {
    transform: scale(1.8);
    cursor: zoom-out;
    position: relative;
    z-index: 10;
}

/* Article editorial typography */

.article-content h2 {
    color: #ff7900;
    font-weight: 700;
}

.article-content h3 {
    font-weight: 700;
}

/* Article stand-out box */

.article-callout {
    border-left: 4px solid #ff7900;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: #f7f7f7;
}

.article-callout strong {
    display: block;
    margin-bottom: 0.5rem;
}
/* Counting charts */

.counting-bars {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.counting-bar-row {
    display: grid;
    grid-template-columns: 60px 1fr 50px;
    align-items: center;
    gap: 1rem;
}

.counting-bar-label {
    font-weight: 700;
}

.counting-bar-track {
    height: 24px;
    background: #f2f2f2;
    overflow: hidden;
}

.counting-bar {
    height: 100%;
    background: #ff7900;
    transition: width 0.8s ease;
}

.counting-bar-value {
    font-weight: 700;
    text-align: right;
}

@media (max-width: 576px) {
    .counting-bar-row {
        grid-template-columns: 45px 1fr 40px;
        gap: 0.5rem;
    }

    .counting-bar-track {
        height: 20px;
    }
}

.counting-bar {
    height: 100%;
    background: #ff7900 !important;
    transition: width 0.8s ease;
}
