/* =========================================================
   ARTICLE PAGE
   ========================================================= */

:root {
    --article-accent: #c9a46b;
    --article-link: #ff6d2e;

    --article-text: #ffffff;
    --article-text-soft: rgba(255, 255, 255, 0.82);
    --article-text-muted: rgba(255, 255, 255, 0.68);

    --article-overlay-left: rgba(0, 0, 0, 0.62);
    --article-overlay-bottom: rgba(0, 0, 0, 0.48);
    --article-eyebrow-bg: rgba(24, 24, 24, 0.38);

    --article-body-text: #656565;
    --article-heading: #222220;
    --article-list-text: #30302d;
    --article-caption: #4a4a46;
    --article-quote: #d1a064;

    --article-product-bg: #f9f9f9;
    --article-product-button-bg: #c9a46b;
    --article-product-button-hover: #c09962;

    --article-table-border: #ddddda;
    --article-table-odd-th: #ecece8;
    --article-table-odd-td: #f2f2ee;
    --article-table-even-th: #f3f3f0;
    --article-table-even-td: #f8f8f5;
    --article-table-th-text: #333330;
    --article-table-td-text: #50504b;
}

/* =========================================================
   LAYOUT
   ========================================================= */

.article-container {
    width: min(100%, 850px);
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
}

/* =========================================================
   ARTICLE INTRO
   ========================================================= */

.article-intro {
    position: relative;
    min-height: clamp(520px, 72vh, 760px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #111;
}

.article-intro__media,
.article-intro__image,
.article-intro__overlay {
    position: absolute;
    inset: 0;
}

.article-intro__media {
    z-index: 0;
}

.article-intro__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.01);
}

.article-intro__overlay {
    z-index: 1;
    background:
        linear-gradient(90deg,
            var(--article-overlay-left) 0%,
            rgba(0, 0, 0, 0.48) 26%,
            rgba(0, 0, 0, 0.22) 54%,
            rgba(0, 0, 0, 0.10) 100%),
        linear-gradient(180deg,
            rgba(0, 0, 0, 0.10) 0%,
            rgba(0, 0, 0, 0.18) 38%,
            var(--article-overlay-bottom) 100%);
}

.article-intro__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: clamp(72px, 9vw, 110px) 0 clamp(48px, 6vw, 68px);
}

.article-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin-bottom: 22px;
    padding: 9px 16px 8px;
    background: var(--article-eyebrow-bg);
    color: var(--article-text);
    font-family: "Oswald", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    text-transform: uppercase;
}

.article-intro__title {
    margin: 0 0 22px;
    color: var(--article-text);
    font-family: "Anton", sans-serif;
    font-size: clamp(3.1rem, 5vw, 5.4rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-wrap: balance;
}

.article-intro__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--article-text-muted);
    font-family: "Inter", sans-serif;
    font-size: 1.02rem;
    font-weight: 400;
    line-height: 1.45;
}

.article-intro__breadcrumbs a {
    color: var(--article-text-soft);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.article-intro__breadcrumbs a:hover {
    color: var(--article-accent);
}

.article-intro__breadcrumbs-separator {
    color: rgba(255, 255, 255, 0.48);
}

.article-intro__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: var(--article-text);
    font-family: "Inter", sans-serif;
    font-size: clamp(1.08rem, 1.6vw, 1.35rem);
    font-weight: 500;
    line-height: 1.4;
}

.article-intro__author {
    color: var(--article-link);
    text-decoration: none;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.article-intro__author:hover {
    color: var(--article-accent);
}

.article-intro__meta-separator {
    color: rgba(255, 255, 255, 0.62);
}

.article-intro__date {
    color: var(--article-text);
}

/* =========================================================
   ARTICLE BODY
   ========================================================= */

.article-body {
    color: #2d2d2b;
}

.article-content {
    padding: clamp(44px, 6vw, 72px) 0 clamp(150px, 8vw, 110px);
}

.article-content>*:first-child {
    margin-top: 0;
}

.article-content>*:last-child {
    margin-bottom: 0;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.article-content h2,
.article-content h3 {
    margin: 0;
    color: var(--article-heading);
    font-family: "Anton", sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1;
    text-transform: uppercase;
}

.article-content h2 {
    margin-top: 52px;
    margin-bottom: 22px;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
}

.article-content h3 {
    margin-top: 42px;
    margin-bottom: 18px;
    font-size: clamp(1.45rem, 2vw, 2rem);
}

.article-content p {
    margin: 0 0 22px;
    color: var(--article-body-text);
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 175%;
}

.article-content a:not(.article-product__button),
.article-link {
    color: var(--article-link);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.12em;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.article-content a:not(.article-product__button):hover,
.article-link:hover {
    color: var(--article-accent);
}

/* =========================================================
   FIGURES / CAPTIONS
   ========================================================= */

.article-figure,
.article-product {
    margin: 34px 0 38px;
}

.article-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.article-caption {
    margin-top: 14px;
    color: var(--article-caption);
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.65;
}

/* =========================================================
   BLOCKQUOTE
   ========================================================= */

.article-quote {
    margin: 36px 0 34px;
    padding: 0;
    border: 0;
}

.article-quote p {
    margin: 0;
    color: var(--article-quote);
    font-family: "Anton", sans-serif;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.01em;
}

.article-quote p::before {
    content: "“ ";
}

.article-quote p::after {
    content: " “";
}

/* =========================================================
   LISTS
   ========================================================= */

.article-content ol,
.article-content ul {
    margin: 0 0 28px;
    padding-left: 1.55rem;
}

.article-content ol {
    list-style: decimal;
}

.article-content ul {
    list-style: disc;
}

.article-content li {
    margin-bottom: 14px;
    color: var(--article-list-text);
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-style: italic;
    font-weight: 600;
    line-height: 1.8;
}

.article-content li:last-child {
    margin-bottom: 0;
}

.article-content li::marker {
    color: #2a2a28;
    font-style: normal;
    font-weight: 700;
}

/* =========================================================
   PRODUCT CARD
   ========================================================= */

.article-product {
    margin: 42px 0 34px;
}

.article-product__card {
    padding: clamp(28px, 4vw, 71px);
    background: var(--article-product-bg);
    border: none;
}

.article-product__media {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
    overflow: hidden;
}

.article-product__media img {
    display: block;
    width: 100%;
    max-height: 450px;
    max-width: min(100%, 390px);
    height: auto;
    margin-bottom: 77px;
    object-fit: contain;
    transform: scale(1);
    transition: transform 0.45s ease;
}

.article-product__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 210px);
    min-height: 56px;
    margin: 24px auto 0;
    padding: 0 20px;
    background: var(--article-product-button-bg);
    border: none;
    color: #ffffff;
    font-family: "Anaheim", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}

.article-product__button:hover,
.article-product__button:focus-visible {
    background: var(--article-product-button-hover);
    color: #ffffff;
    text-decoration: none;
}

.article-product__card:has(.article-product__button:hover) .article-product__media img,
.article-product__card:has(.article-product__button:focus-visible) .article-product__media img {
    transform: scale(1.02);
}

.article-product__table-wrap {
    overflow-x: auto;
}

/* =========================================================
   SPEC TABLE
   ========================================================= */

.article-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #f7f7f5;
}

.article-spec-table th,
.article-spec-table td {
    padding: 16px 20px;
    border: 1px solid var(--article-table-border);
    text-align: left;
    vertical-align: middle;
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
}

.article-spec-table th {
    width: 40%;
    font-weight: 700;
}

.article-spec-table td {
    font-weight: 500;
}

.article-spec-table tbody tr:nth-child(odd) th {
    background: var(--article-table-odd-th);
    color: var(--article-table-th-text);
}

.article-spec-table tbody tr:nth-child(odd) td {
    background: var(--article-table-odd-td);
    color: var(--article-table-td-text);
}

.article-spec-table tbody tr:nth-child(even) th {
    background: var(--article-table-even-th);
    color: var(--article-table-th-text);
}

.article-spec-table tbody tr:nth-child(even) td {
    background: var(--article-table-even-td);
    color: var(--article-table-td-text);
}

.article-spec-table td a {
    color: var(--article-link);
}

/* =========================================================
   SPACING REFINEMENTS
   ========================================================= */

.article-content h2+p,
.article-content h3+p {
    margin-top: 0;
}

.article-content p+.article-figure,
.article-content p+.article-product,
.article-content p+.article-quote,
.article-content p+ol,
.article-content p+ul {
    margin-top: 28px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
    .article-intro__content {
        max-width: 700px;
    }

    .article-intro__title {
        font-size: clamp(2.7rem, 6vw, 4.5rem);
    }
}

@media (max-width: 900px) {
    .article-container {
        width: min(100%, calc(100% - 48px));
    }

    .article-intro {
        min-height: 620px;
    }

    .article-intro__content {
        padding: 100px 0 42px;
    }

    .article-intro__title {
        font-size: clamp(2.35rem, 7vw, 3.7rem);
        line-height: 0.98;
    }

    .article-intro__breadcrumbs {
        font-size: 0.96rem;
    }

    .article-intro__meta {
        font-size: 1.02rem;
    }

    .article-content {
        padding: 42px 0 80px;
    }

    .article-content h2 {
        margin-top: 44px;
        margin-bottom: 18px;
        font-size: clamp(1.85rem, 5.2vw, 2.6rem);
    }

    .article-content h3 {
        margin-top: 34px;
        margin-bottom: 16px;
        font-size: clamp(1.3rem, 4vw, 1.7rem);
    }

    .article-content p,
    .article-content li,
    .article-spec-table th,
    .article-spec-table td {
        font-size: 0.98rem;
    }

    .article-product__media {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .article-container {
        width: min(100%, calc(100% - 32px));
    }

    .article-intro {
        min-height: 560px;
        align-items: flex-end;
    }

    .article-intro__overlay {
        background:
            linear-gradient(180deg,
                rgba(0, 0, 0, 0.18) 0%,
                rgba(0, 0, 0, 0.34) 42%,
                rgba(0, 0, 0, 0.72) 100%),
            linear-gradient(90deg,
                rgba(0, 0, 0, 0.48) 0%,
                rgba(0, 0, 0, 0.16) 100%);
    }

    .article-intro__content {
        padding: 88px 0 30px;
    }

    .article-intro__eyebrow {
        min-height: 34px;
        margin-bottom: 18px;
        padding: 7px 12px 6px;
        font-size: 0.82rem;
    }

    .article-intro__title {
        margin-bottom: 18px;
        font-size: clamp(2rem, 9vw, 2.9rem);
        line-height: 1;
    }

    .article-intro__breadcrumbs {
        gap: 6px;
        margin-bottom: 10px;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .article-intro__meta {
        gap: 8px;
        font-size: 0.96rem;
    }

    .article-content {
        padding: 34px 0 64px;
    }

    .article-content h2 {
        margin-top: 38px;
        font-size: clamp(1.7rem, 8vw, 2.2rem);
        line-height: 1.02;
    }

    .article-content h3 {
        margin-top: 28px;
        font-size: clamp(1.15rem, 6vw, 1.5rem);
    }

    .article-content p {
        margin-bottom: 18px;
        font-size: 0.97rem;
        line-height: 1.75;
    }

    .article-content ol,
    .article-content ul {
        padding-left: 1.25rem;
    }

    .article-content li {
        font-size: 0.95rem;
        line-height: 1.72;
    }

    .article-caption {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .article-quote {
        margin: 28px 0;
    }

    .article-quote p {
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.12;
    }

    .article-product__card {
        padding: 22px;
    }

    .article-product__media {
        min-height: 180px;
    }

    .article-product__button {
        min-width: 100%;
        min-height: 46px;
        margin-top: 20px;
    }

    .article-spec-table th,
    .article-spec-table td {
        padding: 13px 14px;
        font-size: 0.92rem;
    }
}

/* =========================================================
   ARTICLE DATA TABLE
   General article tables with 2+ columns.
   Matches the product/spec table visual theme.
   ========================================================= */

.article-table-figure {
    margin: 34px 0 38px;
}

.article-table-wrap {
    width: 100%;
    overflow-x: visible;
}

.article-data-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: #f7f7f5;
}

.article-data-table th,
.article-data-table td {
    padding: 16px 20px;
    border: 1px solid var(--article-table-border);
    text-align: left;
    vertical-align: middle;
    font-family: "Inter", sans-serif;
    font-size: 0.98rem;
    line-height: 1.55;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
}

.article-data-table th {
    background: var(--article-table-odd-th);
    color: var(--article-table-th-text);
    font-weight: 700;
}

.article-data-table td {
    color: var(--article-table-td-text);
    font-weight: 500;
    overflow-wrap: anywhere;
}

.article-data-table tbody tr:nth-child(odd) td {
    background: var(--article-table-odd-td);
}

.article-data-table tbody tr:nth-child(even) td {
    background: var(--article-table-even-td);
}

.article-data-table td:first-child {
    color: var(--article-table-th-text);
    font-weight: 700;
}

.article-data-table td a {
    color: var(--article-link);
}

/* Use only for very wide 5–6 column tables */
.article-table-wrap--wide {
    overflow-x: auto;
}

.article-table-wrap--wide .article-data-table {
    min-width: 760px;
}

/* Mobile fallback only */
@media (max-width: 640px) {
    .article-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .article-data-table {
        min-width: 640px;
        table-layout: auto;
    }

    .article-data-table th,
    .article-data-table td {
        padding: 13px 14px;
        font-size: 0.92rem;
    }
}