/*
 * TUKI ARTICLE EDITORIAL V3
 * Scope: body.article-page only.
 * Objetivo: cabecera de artículo con la misma lógica visual de la landing:
 * texto arriba e imagen editorial integrada como fondo en la parte inferior.
 */

body.article-page {
    --tuki-article-bg: #f3efe8;
    --tuki-article-bg-2: #ece6de;
    --tuki-article-surface: rgba(255,255,255,.72);
    --tuki-article-surface-strong: rgba(255,255,255,.92);
    --tuki-article-surface-soft: rgba(255,255,255,.56);
    --tuki-article-ink: #1f1b17;
    --tuki-article-text: #332e29;
    --tuki-article-muted: #6c655d;
    --tuki-article-line: rgba(33, 27, 22, .09);
    --tuki-article-line-strong: rgba(33, 27, 22, .14);
    --tuki-article-accent: #df6a28;
    --tuki-article-accent-dark: #b74b16;
    --tuki-article-radius-xl: 28px;
    --tuki-article-radius-lg: 22px;
    --tuki-article-radius-md: 18px;
    --tuki-article-shadow-soft: 0 12px 34px rgba(20, 16, 12, .05);
    --tuki-article-shadow-card: 0 16px 42px rgba(20, 16, 12, .06);
    background:
        radial-gradient(circle at 0 0, rgba(255,255,255,.5), transparent 22%),
        linear-gradient(180deg, var(--tuki-article-bg) 0%, var(--tuki-article-bg-2) 100%);
    color: var(--tuki-article-text);
}

body.article-page main,
body.article-page .post-page {
    min-width: 0;
}

body.article-page .post-page {
    padding-bottom: clamp(40px, 6vw, 76px);
}

/* ---------------------------------------------------------
   WIDTH SYSTEM
   --------------------------------------------------------- */

body.article-page .article-editorial-hero,
body.article-page .comparison-box.container.narrow,
body.article-page .soft-section > .container,
body.article-page .refined-product-section .container.narrow,
body.article-page .visual-compact-product-section .container.narrow,
body.article-page .continuous-reading__separator {
    width: min(1040px, calc(100% - 40px));
    max-width: none;
}

body.article-page .post-layout.container.narrow,
body.article-page .article-reactions.article-engagement-inline.container.narrow,
body.article-page .continuous-reading__sentinel,
body.article-page .continuous-reading__ad-transition,
body.article-page .post-main-image + .container.narrow,
body.article-page .post-page > .ad-slot,
body.article-page main > .ad-slot {
    width: min(780px, calc(100% - 32px));
    max-width: none;
    margin-inline: auto;
}

/* ---------------------------------------------------------
   ARTICLE HERO — LANDING LOGIC
   --------------------------------------------------------- */

body.article-page .article-editorial-hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(560px, 62vw, 660px);
    margin: 18px auto 0;
    overflow: hidden;
    color: #fff;
    background: #11100f;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--tuki-article-radius-xl);
    box-shadow: 0 22px 60px rgba(17, 13, 9, .12);
}

body.article-page .article-editorial-hero.has-image::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(9,9,9,.99) 0%,
            rgba(9,9,9,.97) 22%,
            rgba(9,9,9,.86) 38%,
            rgba(9,9,9,.46) 54%,
            rgba(9,9,9,.10) 75%,
            rgba(9,9,9,.04) 100%
        ),
        linear-gradient(
            90deg,
            rgba(0,0,0,.42) 0%,
            rgba(0,0,0,.12) 58%,
            transparent 100%
        );
}

body.article-page .article-editorial-hero.no-image {
    min-height: auto;
    background:
        radial-gradient(circle at 86% 12%, rgba(223,106,40,.14), transparent 28%),
        linear-gradient(135deg, #11100f 0%, #211b17 100%);
}

body.article-page .article-editorial-hero .post-hero.container.narrow {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    min-height: inherit;
    margin: 0;
    padding:
        clamp(34px, 5vw, 54px)
        clamp(24px, 4.4vw, 48px)
        clamp(260px, 31vw, 330px);
    display: grid;
    align-content: start;
    gap: 15px;
    text-align: left;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

body.article-page .article-editorial-hero.no-image .post-hero.container.narrow {
    min-height: auto;
    padding-bottom: clamp(42px, 6vw, 68px);
}

body.article-page .post-hero .meta-row.centered {
    position: relative;
    z-index: 1;
    justify-content: flex-start;
    gap: 7px 9px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: .79rem;
}

body.article-page .post-hero .meta-row .badge,
body.article-page .post-hero .editorial-freshness,
body.article-page .post-hero time,
body.article-page .post-hero .meta-row.centered > span {
    min-height: 27px;
    padding: 6px 9px;
    border-radius: 999px;
    line-height: 1;
}

body.article-page .post-hero .meta-row .badge {
    color: #ff9a63;
    background: rgba(223,106,40,.11);
    border: 1px solid rgba(255,154,99,.16);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.article-page .post-hero .editorial-freshness,
body.article-page .post-hero time,
body.article-page .post-hero .meta-row.centered > span {
    color: rgba(255,255,255,.82) !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
}

body.article-page .post-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.45rem, 5vw, 4.7rem);
    line-height: .95;
    letter-spacing: -.055em;
    text-wrap: balance;
    overflow-wrap: normal;
}

body.article-page .post-hero .lead {
    position: relative;
    z-index: 1;
    max-width: 660px;
    margin: 0;
    color: rgba(255,255,255,.76);
    font-size: clamp(1rem, 1.45vw, 1.16rem);
    line-height: 1.58;
}

body.article-page .article-editorial-hero .post-main-image.container {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

body.article-page .article-editorial-hero .post-main-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 68%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* ---------------------------------------------------------
   DISCLOSURE
   --------------------------------------------------------- */

body.article-page .post-main-image + .container.narrow,
body.article-page .article-editorial-hero + .container.narrow {
    width: min(780px, calc(100% - 32px));
    max-width: none;
    margin-inline: auto;
}

body.article-page .affiliate-disclosure {
    position: relative;
    margin: 16px 0 0;
    padding: 11px 13px 11px 40px;
    color: #615b54;
    background: var(--tuki-article-surface);
    border: 1px solid rgba(33, 27, 22, .08);
    border-radius: 15px;
    font-size: .86rem;
    line-height: 1.52;
    box-shadow: 0 8px 22px rgba(17, 13, 9, .03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.article-page .affiliate-disclosure::before {
    content: "↗";
    position: absolute;
    left: 14px;
    top: 12px;
    color: var(--tuki-article-accent-dark);
    font-weight: 900;
}

/* ---------------------------------------------------------
   COMPARISON
   --------------------------------------------------------- */

body.article-page .comparison-box.visual-comparison-box {
    margin-top: clamp(30px, 5vw, 52px);
    margin-bottom: 0;
    padding: clamp(22px, 3vw, 34px) !important;
    color: var(--tuki-article-text);
    background:
        linear-gradient(180deg, rgba(255,247,240,.92) 0%, rgba(255,255,255,.86) 100%);
    border: 1px solid rgba(223,106,40,.14) !important;
    border-radius: var(--tuki-article-radius-xl) !important;
    box-shadow: var(--tuki-article-shadow-card) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.article-page .comparison-heading {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, 1.05fr);
    gap: 10px 26px;
    align-items: end;
    margin-bottom: 18px;
}

body.article-page .comparison-heading .eyebrow {
    grid-column: 1 / -1;
    color: var(--tuki-article-accent-dark);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.article-page .comparison-heading h2 {
    margin: 0;
    color: var(--tuki-article-ink);
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    text-wrap: balance;
}

body.article-page .comparison-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--tuki-article-muted);
    font-size: .96rem;
    line-height: 1.58;
}

body.article-page .visual-comparison-grid {
    gap: 10px;
}

body.article-page .visual-comparison-head,
body.article-page .visual-comparison-row {
    grid-template-columns: minmax(250px, 1.25fr) minmax(185px, 1fr) 92px 110px;
}

body.article-page .visual-comparison-head {
    padding: 0 10px 2px;
    color: #857d74;
    font-size: .68rem;
}

body.article-page .visual-comparison-row {
    min-height: 80px;
    border: 1px solid var(--tuki-article-line);
    border-radius: 18px;
    background: rgba(255,255,255,.88);
    box-shadow: none;
}

body.article-page .visual-comparison-product {
    min-height: 80px;
    padding: 8px 8px 8px 100px;
    color: inherit;
}

body.article-page .visual-comparison-product img {
    left: 10px;
    top: 10px;
    bottom: 10px;
    width: 74px;
    height: calc(100% - 20px);
    border-radius: 14px;
    object-fit: cover;
    transform: none;
}

body.article-page .visual-comparison-product::after {
    display: none;
}

body.article-page .visual-comparison-product strong {
    display: block;
    color: var(--tuki-article-ink);
    font-size: .88rem;
    line-height: 1.22;
}

body.article-page .visual-comparison-product small {
    margin-top: 3px;
    color: #857d74;
    font-size: .66rem;
}

body.article-page .visual-comparison-reco {
    padding: 8px 6px;
}

body.article-page .visual-comparison-reco .comparison-label {
    color: var(--tuki-article-accent-dark);
    background: #fff3ea;
    border: 1px solid rgba(223,106,40,.16);
}

body.article-page .visual-comparison-reco p {
    margin-top: 4px;
    color: var(--tuki-article-muted);
    font-size: .74rem;
    line-height: 1.35;
    -webkit-line-clamp: 2;
}

body.article-page .visual-comparison-price {
    color: var(--tuki-article-ink);
    font-size: .9rem;
}

body.article-page .visual-comparison-cta {
    padding-right: 10px;
}

body.article-page .comparison-button {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #fff;
    background: var(--tuki-article-accent);
    border-color: var(--tuki-article-accent);
    box-shadow: none;
}

body.article-page .comparison-button:hover {
    background: var(--tuki-article-accent-dark);
    border-color: var(--tuki-article-accent-dark);
}

body.article-page .comparison-more-note {
    margin-top: 14px;
    color: var(--tuki-article-muted);
    font-size: .86rem;
}

/* ---------------------------------------------------------
   READING COLUMN / ARTICLE BODY
   --------------------------------------------------------- */

body.article-page .post-layout-clean {
    padding-top: clamp(32px, 5vw, 50px);
}

body.article-page .post-content.refined-post-content {
    padding: clamp(24px, 4vw, 38px);
    color: var(--tuki-article-text);
    background: var(--tuki-article-surface-soft);
    border: 1px solid rgba(33, 27, 22, .08);
    border-radius: 26px;
    box-shadow: var(--tuki-article-shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: clamp(1.02rem, 1.2vw, 1.08rem);
    line-height: 1.78;
}

body.article-page .post-content > *:first-child {
    margin-top: 0;
}

body.article-page .post-content p,
body.article-page .post-content li {
    color: var(--tuki-article-text);
    line-height: 1.78;
}

body.article-page .post-content p {
    margin: 0 0 1.2em;
}

body.article-page .post-content ul,
body.article-page .post-content ol {
    margin: 1.2em 0;
    padding-left: 1.35em;
}

body.article-page .post-content li + li {
    margin-top: .45em;
}

body.article-page .post-content h2 {
    margin: clamp(42px, 6vw, 58px) 0 14px;
    color: var(--tuki-article-ink);
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    line-height: 1.06;
    letter-spacing: -.04em;
    text-wrap: balance;
}

body.article-page .post-content h3 {
    margin: 30px 0 12px;
    color: var(--tuki-article-ink);
    font-size: clamp(1.24rem, 2vw, 1.55rem);
    line-height: 1.12;
    letter-spacing: -.02em;
}

body.article-page .post-content a {
    color: var(--tuki-article-accent-dark);
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(183,75,22,.28);
    text-underline-offset: 3px;
}

body.article-page .post-content a:hover {
    color: var(--tuki-article-accent);
    text-decoration-color: currentColor;
}

body.article-page .post-content blockquote {
    margin: 30px 0;
    padding: 10px 0 10px 18px;
    color: #4d4640;
    border-left: 3px solid rgba(223,106,40,.55);
    font-size: 1.05em;
    line-height: 1.68;
}

body.article-page .post-content hr {
    margin: 42px 0;
    border: 0;
    border-top: 1px solid var(--tuki-article-line);
}

body.article-page .post-content img {
    border-radius: 16px;
}

body.article-page .post-content .ad-slot {
    width: min(100%, 760px);
    margin: 42px auto;
    padding: 18px 0;
    border-color: rgba(33, 27, 22, .08);
}

/* ---------------------------------------------------------
   PRODUCT SECTIONS
   --------------------------------------------------------- */

body.article-page .refined-product-section,
body.article-page .visual-compact-product-section,
body.article-page .soft-section {
    margin-top: clamp(40px, 6vw, 66px);
    padding: 0;
    background: transparent;
}

body.article-page .refined-product-section .container.narrow,
body.article-page .visual-compact-product-section .container.narrow,
body.article-page .soft-section > .container {
    padding: clamp(24px, 4vw, 34px);
    background: var(--tuki-article-surface-soft);
    border: 1px solid rgba(33, 27, 22, .08);
    border-radius: 28px;
    box-shadow: var(--tuki-article-shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.article-page .product-section .section-heading,
body.article-page .soft-section .section-heading {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
    gap: 10px 24px;
    align-items: end;
    margin-bottom: 18px;
}

body.article-page .product-section .section-heading .eyebrow,
body.article-page .soft-section .section-heading .eyebrow {
    grid-column: 1 / -1;
    color: var(--tuki-article-accent-dark);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.article-page .product-section .section-heading h2,
body.article-page .soft-section .section-heading h2 {
    margin: 0;
    color: var(--tuki-article-ink);
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}

body.article-page .product-section .section-heading p,
body.article-page .soft-section .section-heading p {
    max-width: 520px;
    margin: 0;
    color: var(--tuki-article-muted);
    line-height: 1.56;
}

body.article-page .refined-product-list {
    gap: 14px;
}

body.article-page .refined-product-list .product-card,
body.article-page .post-content .inline-product-card {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    gap: 16px !important;
    padding: 14px !important;
    min-height: 0;
    overflow: visible;
    background: rgba(255,255,255,.86) !important;
    border: 1px solid rgba(33, 27, 22, .08) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
}

body.article-page .refined-post-content .product-card {
    margin-block: 18px;
}

body.article-page .refined-product-list .product-media,
body.article-page .post-content .inline-product-card .product-media {
    min-height: 132px !important;
    height: 132px !important;
    border-radius: 16px !important;
    background: #efe9e1 !important;
}

body.article-page .refined-product-list .product-media::after,
body.article-page .post-content .inline-product-card .product-media::after,
body.article-page .product-card .product-media::after {
    display: none !important;
}

body.article-page .product-card .commercial-visual-bg {
    display: none !important;
}

body.article-page .refined-product-list .product-media img,
body.article-page .post-content .inline-product-card .product-media img,
body.article-page .product-card .product-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 16px !important;
    object-fit: cover !important;
}

body.article-page .refined-product-list .product-content,
body.article-page .post-content .inline-product-card .product-content,
body.article-page .product-card .product-content {
    padding: 0 !important;
    gap: 7px !important;
    align-content: start !important;
}

body.article-page .product-topline {
    gap: 6px;
}

body.article-page .product-content .product-position {
    color: var(--tuki-article-accent-dark);
    font-size: .68rem;
    letter-spacing: .1em;
}

body.article-page .product-content .asin-pill {
    background: #f3eee7;
    color: #736c64;
    border-color: rgba(33,27,22,.08);
    font-size: .68rem;
}

body.article-page .refined-product-list .product-content h3,
body.article-page .post-content .inline-product-card .product-content h3,
body.article-page .product-card .product-content h3 {
    margin: 0;
    color: var(--tuki-article-ink);
    font-size: clamp(1.12rem, 2vw, 1.34rem);
    line-height: 1.16;
    letter-spacing: -.02em;
}

body.article-page .refined-product-list .product-content p,
body.article-page .post-content .inline-product-card .product-content p,
body.article-page .product-card .product-content p {
    margin: 0;
    color: var(--tuki-article-muted);
    font-size: .92rem;
    line-height: 1.52;
}

body.article-page .product-bottom {
    margin-top: 6px;
    gap: 12px;
    align-items: center;
}

body.article-page .product-bottom .price {
    color: var(--tuki-article-ink);
    font-size: 1.16rem;
}

body.article-page .product-bottom .button,
body.article-page .comparison-button {
    min-height: 38px;
    padding: 9px 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--tuki-article-accent);
    border-color: var(--tuki-article-accent);
    box-shadow: none;
}

body.article-page .product-bottom .button:hover,
body.article-page .comparison-button:hover {
    background: var(--tuki-article-accent-dark);
    border-color: var(--tuki-article-accent-dark);
}

body.article-page .buy-note {
    color: #847d75;
    font-size: .74rem;
    line-height: 1.34;
}

/* ---------------------------------------------------------
   COMPACT PRODUCTS
   --------------------------------------------------------- */

body.article-page .visual-compact-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
}

body.article-page .visual-compact-product-link {
    grid-template-columns: 60px minmax(0, 1fr) auto !important;
    align-items: center !important;
    min-height: 76px;
    padding: 8px 10px !important;
    gap: 12px !important;
    color: inherit;
    background: rgba(255,255,255,.84) !important;
    border: 1px solid rgba(33, 27, 22, .08) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

body.article-page .visual-compact-product-link img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
    border: 0 !important;
}

body.article-page .visual-compact-product-link span {
    min-width: 0;
}

body.article-page .visual-compact-product-link small {
    color: var(--tuki-article-accent-dark);
    font-size: .64rem;
}

body.article-page .visual-compact-product-link strong {
    color: var(--tuki-article-ink);
    font-size: .86rem;
    line-height: 1.18;
    white-space: normal;
}

body.article-page .visual-compact-product-link em {
    color: var(--tuki-article-accent-dark);
    font-size: .82rem;
}

body.article-page .visual-compact-product-link:hover {
    border-color: rgba(223,106,40,.2) !important;
    transform: none;
}

/* ---------------------------------------------------------
   ENGAGEMENT
   --------------------------------------------------------- */

body.article-page .article-reactions.article-engagement-inline.container.narrow {
    padding-block: 20px 6px;
}

body.article-page .article-engagement-inline__row {
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--tuki-article-line);
    border-bottom: 1px solid var(--tuki-article-line);
}

body.article-page .article-engagement-inline__prompt {
    margin-right: 6px;
    color: #5c554e;
    font-size: .88rem;
}

body.article-page .article-engagement-inline .article-reactions__button,
body.article-page .article-share--organic .article-share__button {
    color: #3d3833;
    background: rgba(255,255,255,.8);
    border-color: rgba(33, 27, 22, .09);
    box-shadow: none;
}

body.article-page .article-engagement-inline .article-reactions__button:hover:not(:disabled),
body.article-page .article-share--organic .article-share__button:hover:not(:disabled) {
    background: #fff8f3;
    border-color: rgba(223,106,40,.22);
}

/* ---------------------------------------------------------
   CONTINUOUS READING
   --------------------------------------------------------- */

body.article-page .continuous-reading__entry {
    margin-top: clamp(58px, 8vw, 88px);
}

body.article-page .continuous-reading__separator {
    margin: 0 auto clamp(24px, 5vw, 38px);
    padding: 0;
    background: transparent;
    border: 0;
    text-align: center;
}

body.article-page .continuous-reading__separator span {
    display: inline-block;
    margin-bottom: 10px;
    padding: 0 10px;
    color: var(--tuki-article-accent-dark);
    font-size: .68rem;
    letter-spacing: .1em;
}

body.article-page .continuous-reading__separator strong {
    display: block;
    width: min(780px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 22px;
    color: var(--tuki-article-ink);
    background: var(--tuki-article-surface-soft);
    border: 1px solid rgba(33, 27, 22, .08);
    border-radius: 20px;
    box-shadow: var(--tuki-article-shadow-soft);
    font-family: inherit;
    font-size: clamp(1.05rem, 2.2vw, 1.4rem);
    line-height: 1.18;
}

body.article-page .continuous-reading__sentinel {
    min-height: 150px;
    margin: clamp(38px, 7vw, 62px) auto;
}

body.article-page .continuous-reading__next-link {
    gap: 8px;
    padding: 22px 24px;
    text-align: left;
    color: var(--tuki-article-text);
    background: var(--tuki-article-surface-soft);
    border: 1px solid rgba(33, 27, 22, .08);
    border-radius: 22px;
    box-shadow: var(--tuki-article-shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.article-page .continuous-reading__next-link span {
    color: var(--tuki-article-accent-dark);
    font-size: .7rem;
}

body.article-page .continuous-reading__next-link strong {
    color: var(--tuki-article-ink);
    font-family: inherit;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.1;
    letter-spacing: -.03em;
}

body.article-page .continuous-reading__next-link:hover {
    transform: none;
}

body.article-page .continuous-reading__status,
body.article-page .continuous-reading__end {
    color: var(--tuki-article-muted);
}

body.article-page .continuous-reading__ad-transition {
    margin-bottom: clamp(26px, 5vw, 38px);
}

/* ---------------------------------------------------------
   RELATED ARTICLES
   --------------------------------------------------------- */

body.article-page .refined-related-grid {
    gap: 14px;
}

body.article-page .refined-related-grid .article-card {
    overflow: hidden;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(33, 27, 22, .08);
    border-radius: 18px;
    box-shadow: none;
}

body.article-page .refined-related-grid .article-card-image {
    aspect-ratio: 16 / 9;
}

/* ---------------------------------------------------------
   AUTO SCROLL
   --------------------------------------------------------- */

body.article-page .auto-scroll-controls {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    color: #fff;
    background: rgba(22, 19, 17, .86);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(0,0,0,.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body.article-page .auto-scroll-controls__toggle,
body.article-page .auto-scroll-controls__speed select {
    color: #fff;
}

body.article-page .auto-scroll-controls__speed select {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}

/* ---------------------------------------------------------
   ADS
   --------------------------------------------------------- */

body.article-page > .amazon-service-page-shell .ad-slot,
body.article-page .post-page > .ad-slot,
body.article-page main > .ad-slot {
    border-color: rgba(33, 27, 22, .08);
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 980px) {
    body.article-page .comparison-heading,
    body.article-page .product-section .section-heading,
    body.article-page .soft-section .section-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.article-page .comparison-heading .eyebrow,
    body.article-page .product-section .section-heading .eyebrow,
    body.article-page .soft-section .section-heading .eyebrow {
        grid-column: auto;
    }

    body.article-page .visual-comparison-head {
        display: none;
    }

    body.article-page .visual-comparison-row {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-bottom: 12px;
    }

    body.article-page .visual-comparison-product {
        min-height: 90px;
        padding-left: 104px;
    }

    body.article-page .visual-comparison-reco,
    body.article-page .visual-comparison-price,
    body.article-page .visual-comparison-cta {
        padding: 8px 12px;
    }

    body.article-page .visual-comparison-cta {
        justify-self: start;
    }
}

@media (max-width: 760px) {
    body.article-page .post-page {
        padding-bottom: 34px;
    }

    body.article-page .article-editorial-hero,
    body.article-page .comparison-box.container.narrow,
    body.article-page .soft-section > .container,
    body.article-page .refined-product-section .container.narrow,
    body.article-page .visual-compact-product-section .container.narrow,
    body.article-page .continuous-reading__separator {
        width: calc(100% - 20px);
    }

    body.article-page .post-layout.container.narrow,
    body.article-page .article-reactions.article-engagement-inline.container.narrow,
    body.article-page .continuous-reading__sentinel,
    body.article-page .continuous-reading__ad-transition,
    body.article-page .post-main-image + .container.narrow,
    body.article-page .post-page > .ad-slot,
    body.article-page main > .ad-slot {
        width: calc(100% - 24px);
    }

    body.article-page .post-hero.container.narrow {
        margin-top: 10px;
        padding: 26px 18px 62px;
        border-radius: 22px;
    }

    body.article-page .post-hero h1 {
        font-size: clamp(2rem, 11vw, 3.1rem);
        line-height: .98;
    }

    body.article-page .post-hero .lead {
        font-size: 1rem;
        line-height: 1.52;
    }

    body.article-page .post-main-image.container {
        margin-top: -28px;
    }

    body.article-page .post-main-image img {
        border-radius: 18px;
    }

    body.article-page .affiliate-disclosure {
        padding-left: 14px;
    }

    body.article-page .affiliate-disclosure::before {
        display: none;
    }

    body.article-page .comparison-box.visual-comparison-box,
    body.article-page .refined-product-section .container.narrow,
    body.article-page .visual-compact-product-section .container.narrow,
    body.article-page .soft-section > .container,
    body.article-page .post-content.refined-post-content {
        border-radius: 22px;
    }

    body.article-page .comparison-box.visual-comparison-box {
        padding: 18px 14px !important;
    }

    body.article-page .comparison-heading h2,
    body.article-page .product-section .section-heading h2,
    body.article-page .soft-section .section-heading h2 {
        font-size: clamp(1.7rem, 9vw, 2.3rem);
    }

    body.article-page .post-layout-clean {
        padding-top: 24px;
    }

    body.article-page .post-content.refined-post-content {
        padding: 20px 16px;
        font-size: 1rem;
        line-height: 1.72;
    }

    body.article-page .post-content p,
    body.article-page .post-content li {
        line-height: 1.72;
    }

    body.article-page .post-content h2 {
        margin-top: 36px;
        font-size: clamp(1.6rem, 8.4vw, 2rem);
    }

    body.article-page .post-content h3 {
        font-size: clamp(1.15rem, 6vw, 1.4rem);
    }

    body.article-page .refined-product-list .product-card,
    body.article-page .post-content .inline-product-card {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.article-page .refined-product-list .product-media,
    body.article-page .post-content .inline-product-card .product-media {
        width: 100%;
        height: 190px !important;
        min-height: 190px !important;
    }

    body.article-page .visual-compact-products-grid {
        grid-template-columns: 1fr;
    }

    body.article-page .visual-compact-product-link {
        grid-template-columns: 56px minmax(0, 1fr) !important;
    }

    body.article-page .visual-compact-product-link em {
        grid-column: 2;
    }

    body.article-page .article-engagement-inline__row {
        flex-wrap: wrap;
    }

    body.article-page .continuous-reading__separator strong {
        width: 100%;
        padding: 16px 14px;
    }

    body.article-page .continuous-reading__next-link {
        padding: 18px 16px;
        border-radius: 18px;
    }
}

@media (max-width: 420px) {
    body.article-page .post-hero .meta-row.centered {
        gap: 6px;
        font-size: .74rem;
    }

    body.article-page .visual-comparison-product {
        padding-left: 92px;
    }

    body.article-page .visual-comparison-product img {
        width: 64px;
    }

    body.article-page .article-share--organic .article-share__button,
    body.article-page .article-engagement-inline .article-reactions__button {
        min-width: 36px;
        min-height: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.article-page .continuous-reading__next-link,
    body.article-page .comparison-button,
    body.article-page .product-bottom .button {
        transition: none;
    }
}


/* ---------------------------------------------------------
   V3 HERO RESPONSIVE FINAL OVERRIDES
   --------------------------------------------------------- */

@media (max-width: 760px) {
    body.article-page .article-editorial-hero {
        width: calc(100% - 20px);
        min-height: 540px;
        margin-top: 10px;
        border-radius: 21px;
    }

    body.article-page .article-editorial-hero .post-hero.container.narrow {
        width: 100%;
        min-height: 540px;
        margin: 0;
        padding: 26px 18px 245px;
        border-radius: 0;
    }

    body.article-page .article-editorial-hero.no-image,
    body.article-page .article-editorial-hero.no-image .post-hero.container.narrow {
        min-height: auto;
    }

    body.article-page .article-editorial-hero.no-image .post-hero.container.narrow {
        padding-bottom: 34px;
    }

    body.article-page .post-hero h1 {
        font-size: clamp(2rem, 11vw, 3.15rem);
        line-height: .96;
    }

    body.article-page .post-hero .lead {
        font-size: .98rem;
        line-height: 1.5;
    }

    body.article-page .article-editorial-hero .post-main-image.container {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
    }

    body.article-page .article-editorial-hero .post-main-image img {
        width: 100%;
        height: 100%;
        border-radius: 0;
        object-position: center 72%;
    }

    body.article-page .article-editorial-hero.has-image::after {
        background:
            linear-gradient(
                180deg,
                rgba(9,9,9,.99) 0%,
                rgba(9,9,9,.96) 30%,
                rgba(9,9,9,.70) 48%,
                rgba(9,9,9,.22) 66%,
                rgba(9,9,9,.04) 100%
            );
    }

    body.article-page .article-editorial-hero + .container.narrow {
        width: calc(100% - 24px);
    }
}

@media (max-width: 420px) {
    body.article-page .article-editorial-hero {
        min-height: 510px;
    }

    body.article-page .article-editorial-hero .post-hero.container.narrow {
        min-height: 510px;
        padding-bottom: 220px;
    }
}

/* =========================================================
   TUKI ARTICLE EDITORIAL V4 FINAL INTEGRATION ASCII MARKER
   Aditivo sobre V3. NO redefine el hero aprobado.
   Objetivo: unir lectura, comercio y continuidad en una sola
   superficie editorial cálida, con menos contraste y menos ruido.
   ========================================================= */

body.article-page {
    --tuki-v4-paper: #f5f1eb;
    --tuki-v4-panel: #fbf8f3;
    --tuki-v4-panel-soft: #f2ece4;
    --tuki-v4-panel-warm: #fff8f2;
    --tuki-v4-line: rgba(40, 31, 24, .085);
    --tuki-v4-line-strong: rgba(40, 31, 24, .13);
    --tuki-v4-copy: #302b27;
    --tuki-v4-muted: #746d65;
    background: var(--tuki-v4-paper);
}

/* El contenido deja de sentirse como módulos flotantes separados. */
body.article-page .post-layout.container.narrow {
    width: min(820px, calc(100% - 32px));
}

body.article-page .post-layout-clean {
    padding-top: clamp(24px, 4vw, 38px);
}

body.article-page .post-content.refined-post-content {
    padding: clamp(30px, 4.6vw, 46px);
    background: var(--tuki-v4-panel);
    border: 1px solid var(--tuki-v4-line);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(31, 24, 18, .035);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--tuki-v4-copy);
    font-size: clamp(1.03rem, 1.16vw, 1.09rem);
    line-height: 1.76;
}

body.article-page .post-content p,
body.article-page .post-content li {
    color: var(--tuki-v4-copy);
    line-height: 1.76;
}

body.article-page .post-content p {
    margin-bottom: 1.16em;
}

body.article-page .post-content h2 {
    margin-top: clamp(38px, 5.2vw, 52px);
    margin-bottom: 13px;
    font-size: clamp(1.72rem, 2.8vw, 2.24rem);
    line-height: 1.07;
}

body.article-page .post-content h3 {
    margin-top: 27px;
    margin-bottom: 10px;
    font-size: clamp(1.2rem, 1.8vw, 1.48rem);
}

body.article-page .post-content ul,
body.article-page .post-content ol {
    padding-left: 1.25em;
}

/* Disclosure: parte del flujo, no una alerta independiente. */
body.article-page .affiliate-disclosure {
    width: 100%;
    margin-top: 14px;
    padding: 10px 13px 10px 38px;
    background: rgba(251,248,243,.82);
    border-color: var(--tuki-v4-line);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: var(--tuki-v4-muted);
    font-size: .83rem;
}

/* Comparativa: misma familia de superficie que el artículo. */
body.article-page .comparison-box.visual-comparison-box {
    margin-top: clamp(26px, 4.5vw, 42px);
    padding: clamp(22px, 3.2vw, 30px) !important;
    background: var(--tuki-v4-panel);
    border: 1px solid var(--tuki-v4-line) !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 28px rgba(31, 24, 18, .035) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.article-page .comparison-heading {
    gap: 8px 24px;
    margin-bottom: 16px;
}

body.article-page .comparison-heading h2 {
    font-size: clamp(1.76rem, 3vw, 2.45rem);
}

body.article-page .comparison-heading p {
    color: var(--tuki-v4-muted);
    font-size: .91rem;
}

body.article-page .visual-comparison-row {
    min-height: 76px;
    background: var(--tuki-v4-panel-warm);
    border-color: var(--tuki-v4-line);
    border-radius: 15px;
}

body.article-page .visual-comparison-product {
    min-height: 76px;
    padding-left: 94px;
}

body.article-page .visual-comparison-product img {
    left: 9px;
    top: 9px;
    bottom: 9px;
    width: 66px;
    height: calc(100% - 18px);
    border-radius: 12px;
}

body.article-page .visual-comparison-product strong {
    font-size: .84rem;
}

body.article-page .visual-comparison-reco p {
    color: var(--tuki-v4-muted);
}

body.article-page .comparison-button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: .74rem;
    box-shadow: none;
}

/* Producto dentro del texto: inset editorial, no tarjeta publicitaria. */
body.article-page .post-content .inline-product-card,
body.article-page .refined-product-list .product-card {
    grid-template-columns: 138px minmax(0, 1fr) !important;
    gap: 15px !important;
    padding: 13px !important;
    background: var(--tuki-v4-panel-soft) !important;
    border: 1px solid rgba(223,106,40,.10) !important;
    border-radius: 17px !important;
    box-shadow: none !important;
}

body.article-page .refined-post-content .product-card {
    margin: 20px 0 24px;
}

body.article-page .post-content .inline-product-card .product-media,
body.article-page .refined-product-list .product-media {
    height: 124px !important;
    min-height: 124px !important;
    border-radius: 14px !important;
    background: #e9e1d8 !important;
}

body.article-page .post-content .inline-product-card .product-media img,
body.article-page .refined-product-list .product-media img,
body.article-page .product-card .product-media img {
    border-radius: 14px !important;
}

body.article-page .post-content .inline-product-card .product-content h3,
body.article-page .refined-product-list .product-content h3,
body.article-page .product-card .product-content h3 {
    font-size: clamp(1.06rem, 1.7vw, 1.25rem);
    line-height: 1.15;
}

body.article-page .post-content .inline-product-card .product-content p,
body.article-page .refined-product-list .product-content p,
body.article-page .product-card .product-content p {
    color: var(--tuki-v4-muted);
    font-size: .87rem;
    line-height: 1.46;
}

body.article-page .product-bottom {
    margin-top: 4px;
}

body.article-page .product-bottom .price {
    font-size: 1.05rem;
}

body.article-page .product-bottom .button {
    min-height: 36px;
    padding: 8px 12px;
    font-size: .78rem;
    box-shadow: none;
}

body.article-page .buy-note {
    color: #857d74;
    font-size: .69rem;
}

/* Bloques de selección: continúan el papel del artículo. */
body.article-page .refined-product-section,
body.article-page .visual-compact-product-section,
body.article-page .soft-section {
    margin-top: clamp(30px, 5vw, 48px);
}

body.article-page .refined-product-section .container.narrow,
body.article-page .visual-compact-product-section .container.narrow,
body.article-page .soft-section > .container {
    padding: clamp(24px, 3.6vw, 32px);
    background: var(--tuki-v4-panel);
    border: 1px solid var(--tuki-v4-line);
    border-radius: 24px;
    box-shadow: 0 10px 28px rgba(31, 24, 18, .035);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.article-page .product-section .section-heading,
body.article-page .soft-section .section-heading {
    margin-bottom: 16px;
}

body.article-page .product-section .section-heading h2,
body.article-page .soft-section .section-heading h2 {
    font-size: clamp(1.74rem, 3vw, 2.45rem);
}

body.article-page .product-section .section-heading p,
body.article-page .soft-section .section-heading p {
    color: var(--tuki-v4-muted);
    font-size: .91rem;
}

/* Productos secundarios: menos ficha, más índice editorial. */
body.article-page .visual-compact-products-grid {
    gap: 8px !important;
}

body.article-page .visual-compact-product-link {
    min-height: 70px;
    grid-template-columns: 54px minmax(0, 1fr) auto !important;
    gap: 10px !important;
    padding: 8px !important;
    background: var(--tuki-v4-panel-warm) !important;
    border-color: var(--tuki-v4-line) !important;
    border-radius: 14px !important;
}

body.article-page .visual-compact-product-link img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 10px !important;
}

body.article-page .visual-compact-product-link strong {
    font-size: .82rem;
}

body.article-page .visual-compact-product-link em {
    font-size: .77rem;
}

/* Reacciones y compartir: cierre editorial, sin apariencia de toolbar ajena. */
body.article-page .article-reactions.article-engagement-inline.container.narrow {
    width: min(820px, calc(100% - 32px));
    padding: 14px 0 2px;
}

body.article-page .article-engagement-inline__row {
    padding: 12px 2px;
    border-color: var(--tuki-v4-line-strong);
}

body.article-page .article-engagement-inline .article-reactions__button,
body.article-page .article-share--organic .article-share__button {
    background: transparent;
    border-color: var(--tuki-v4-line-strong);
}

/* Lectura continua: transición editorial ligera, no otro gran módulo. */
body.article-page .continuous-reading__entry {
    margin-top: clamp(44px, 7vw, 66px);
}

body.article-page .continuous-reading__separator {
    margin-bottom: clamp(18px, 4vw, 28px);
}

body.article-page .continuous-reading__separator span {
    margin-bottom: 8px;
}

body.article-page .continuous-reading__separator strong {
    width: min(820px, calc(100% - 32px));
    padding: 14px 18px;
    background: transparent;
    border: 1px solid var(--tuki-v4-line-strong);
    border-radius: 16px;
    box-shadow: none;
    font-size: clamp(1rem, 2vw, 1.28rem);
}

body.article-page .continuous-reading__sentinel {
    width: min(820px, calc(100% - 32px));
    min-height: 124px;
    margin: clamp(28px, 5vw, 46px) auto;
}

body.article-page .continuous-reading__next-link {
    padding: 17px 19px;
    background: var(--tuki-v4-panel);
    border-color: var(--tuki-v4-line-strong);
    border-radius: 17px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.article-page .continuous-reading__next-link strong {
    font-size: clamp(1.14rem, 2.2vw, 1.5rem);
}

body.article-page .continuous-reading__ad-transition {
    width: min(820px, calc(100% - 32px));
    margin-bottom: clamp(22px, 4vw, 32px);
}

/* Relacionados: mismas tarjetas suaves, sin levantar otra sección blanca. */
body.article-page .refined-related-grid {
    gap: 12px;
}

body.article-page .refined-related-grid .article-card {
    background: var(--tuki-v4-panel-warm);
    border-color: var(--tuki-v4-line);
    border-radius: 16px;
    box-shadow: none;
}

body.article-page .refined-related-grid .article-card-body {
    padding: 14px;
}

body.article-page .refined-related-grid .article-card h3 {
    font-size: 1rem;
    line-height: 1.16;
}

body.article-page .refined-related-grid .article-card-body p {
    color: var(--tuki-v4-muted);
    font-size: .84rem;
}

/* Ads respetan la retícula de lectura. */
body.article-page .post-content .ad-slot,
body.article-page .post-page > .ad-slot,
body.article-page main > .ad-slot {
    width: min(820px, 100%);
    border-color: var(--tuki-v4-line);
}

@media (max-width: 760px) {
    body.article-page .post-layout.container.narrow,
    body.article-page .article-reactions.article-engagement-inline.container.narrow,
    body.article-page .continuous-reading__sentinel,
    body.article-page .continuous-reading__ad-transition {
        width: calc(100% - 20px);
    }

    body.article-page .post-layout-clean {
        padding-top: 20px;
    }

    body.article-page .post-content.refined-post-content {
        padding: 20px 16px;
        border-radius: 18px;
    }

    body.article-page .comparison-box.visual-comparison-box,
    body.article-page .refined-product-section .container.narrow,
    body.article-page .visual-compact-product-section .container.narrow,
    body.article-page .soft-section > .container {
        border-radius: 18px;
    }

    body.article-page .post-content .inline-product-card,
    body.article-page .refined-product-list .product-card {
        grid-template-columns: 104px minmax(0, 1fr) !important;
        gap: 11px !important;
        padding: 10px !important;
    }

    body.article-page .post-content .inline-product-card .product-media,
    body.article-page .refined-product-list .product-media {
        width: 104px !important;
        height: 104px !important;
        min-height: 104px !important;
    }

    body.article-page .product-bottom {
        align-items: flex-start;
    }

    body.article-page .product-bottom .button {
        width: auto;
    }

    body.article-page .visual-compact-product-link {
        grid-template-columns: 50px minmax(0, 1fr) !important;
    }

    body.article-page .visual-compact-product-link img {
        width: 50px !important;
        height: 50px !important;
    }

    body.article-page .continuous-reading__separator strong {
        width: calc(100% - 12px);
    }
}

@media (max-width: 480px) {
    body.article-page .post-content .inline-product-card,
    body.article-page .refined-product-list .product-card {
        grid-template-columns: 86px minmax(0, 1fr) !important;
    }

    body.article-page .post-content .inline-product-card .product-media,
    body.article-page .refined-product-list .product-media {
        width: 86px !important;
        height: 96px !important;
        min-height: 96px !important;
    }

    body.article-page .post-content .inline-product-card .product-content p,
    body.article-page .refined-product-list .product-content p {
        font-size: .82rem;
    }
}
