/**
 * SiloPress — Frontend Article Styles (AsieTV V2 / Celadon Salon)
 * 청자 — Korean Celadon, Terracotta Earth, Porcelain Whites
 *
 * Design Direction:
 *   Korean celadon pottery meets modern editorial salon.
 *   Warm jade greens from Goryeo-dynasty ceramics, terracotta earth
 *   from hanok roof tiles, on delicate porcelain-white backgrounds.
 *   Think Seoul concept café × Kinfolk magazine × tea ceremony aesthetics.
 *
 * Typography:
 *   Display : DM Serif Display  — refined serif, warm personality
 *   Body    : Plus Jakarta Sans — geometric, friendly, excellent legibility
 *   Mono    : IBM Plex Mono     — clean, neutral
 *
 * Palette:
 *   Charcoal  #2C2C2E  (rich near-black)
 *   Celadon   #6B9E82  (Korean celadon green)
 *   Terracotta #C1644A (hanok roof tile warm red)
 *   Porcelain #FAFAF7  (delicate white)
 *   Sand      #F0EAE0  (warm sandy beige)
 *   Bamboo    #8B7E5E  (aged bamboo, muted gold)
 *
 * @package SiloPress
 * @since   2.15.0
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=IBM+Plex+Mono:wght@300;400;500&display=swap');
@import url('./niche/shared/article-structure.css');

/* ============================================================================
   CSS Variables — Celadon Salon Palette
   ============================================================================ */
body.silopress-template-asietv2 {
    --sp-ink:          #2C2C2E;
    --sp-ink-soft:     #3D3D40;
    --sp-ink-muted:    #7A7A7E;
    --sp-ink-faded:    #ACACB0;

    --sp-paper:        #FAFAF7;
    --sp-paper-warm:   #F4EFE7;
    --sp-paper-cream:  #FDFCF9;
    --sp-paper-deep:   #EDE6DA;

    /* Celadon — primary accent (Korean celadon pottery) */
    --sp-accent:       #6B9E82;
    --sp-accent-deep:  #4F7D64;
    --sp-accent-glow:  #86B89B;
    --sp-accent-subtle: rgba(107, 158, 130, 0.08);
    --sp-accent-line:  rgba(107, 158, 130, 0.30);

    /* Terracotta — secondary (hanok tiles) */
    --sp-terra:        #C1644A;
    --sp-terra-deep:   #A34E36;
    --sp-terra-subtle: rgba(193, 100, 74, 0.08);

    /* Bamboo — tertiary (aged bamboo / muted gold) */
    --sp-bamboo:       #8B7E5E;
    --sp-bamboo-deep:  #71654A;
    --sp-bamboo-subtle: rgba(139, 126, 94, 0.08);

    /* Semantics */
    --sp-warning:      #C1644A;
    --sp-error:        #B94444;
    --sp-success:      #4F7D64;
    --sp-warning-bg:   rgba(193, 100, 74, 0.08);
    --sp-error-bg:     rgba(185, 68, 68, 0.07);

    /* Typography */
    --sp-font-display: 'DM Serif Display', 'Georgia', serif;
    --sp-font-body:    'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
    --sp-font-mono:    'IBM Plex Mono', 'Consolas', monospace;

    /* Layout */
    --sp-content-width:  720px;
    --sp-wide-width:     980px;

    /* Type Scale */
    --sp-font-size-body: 1.08rem;
    --sp-font-size-lead: 1.28rem;
    --sp-font-size-h2:   2.2rem;
    --sp-font-size-h3:   1.45rem;
    --sp-font-size-quote: 1.35rem;
    --sp-line-body:      1.82;
    --sp-line-lead:      1.72;
    --sp-drop-cap-size:  5.2rem;
    --sp-drop-cap-color: var(--sp-terra);

    --sp-takeaways-label: '핵심 — Points Clés';
    --sp-list-mark:       '–';

    /* Radii — soft and warm */
    --sp-radius-sm:   6px;
    --sp-radius-md:   12px;
    --sp-radius-lg:   18px;
    --sp-radius-pill: 999px;

    /* Motion */
    --sp-ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --sp-ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows — warm, sandy */
    --sp-shadow-soft: 0 4px 20px rgba(44, 44, 46, 0.06);
    --sp-shadow-card: 0 8px 36px rgba(44, 44, 46, 0.07);

    /* Panel overrides for shared structure */
    --sp-panel-bg:   var(--sp-paper-warm);
    --sp-panel-line: rgba(107, 158, 130, 0.15);
    --sp-callout-bg: var(--sp-paper-warm);
    --sp-link:       var(--sp-accent-deep);
    --sp-link-hover: var(--sp-terra);
}

/* ============================================================================
   Page Background — Porcelain with warm gradient wash
   ============================================================================ */
body.silopress-template-asietv2 main#main.site-main.hfeed {
    background:
        /* Subtle paper grain */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E"),
        /* Warm porcelain gradient */
        linear-gradient(
            170deg,
            #FAFAF7 0%,
            #F4EFE7 30%,
            #FDFCF9 60%,
            #FAFAF7 100%
        );
    background-attachment: fixed;
}

/* ============================================================================
   H2 — Centered elegant heading with celadon ornament line
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-section-heading, .sp-article-section, .entry-content h2, .mrcontent-science h2) {
    position: relative;
    font-family: var(--sp-font-display);
    font-size: var(--sp-font-size-h2);
    font-weight: 400;
    font-style: normal;
    line-height: 1.25;
    color: var(--sp-ink);
    letter-spacing: -0.01em;
    margin: 3.5rem 0 1.6rem;
    padding-top: 2rem;
    padding-bottom: 0.8rem;
    border-left: none;
    border-bottom: 1px solid var(--sp-accent-line);
}

/* Celadon diamond ornament above heading */
body.silopress-template-asietv2 :is(.asie2-section-heading, .sp-article-section, .entry-content h2, .mrcontent-science h2)::before {
    content: '◇';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.85rem;
    color: var(--sp-accent);
    letter-spacing: 0.3em;
    line-height: 1;
}

/* ============================================================================
   H3 — Terracotta left-dot with warm serif
   ============================================================================ */
body.silopress-template-asietv2 :is(.entry-content h3, .mrcontent-science h3) {
    font-family: var(--sp-font-display);
    font-size: var(--sp-font-size-h3);
    font-weight: 400;
    line-height: 1.35;
    color: var(--sp-ink);
    letter-spacing: 0;
    margin: 2.6rem 0 1.2rem;
    padding-left: 1.4rem;
    position: relative;
}

body.silopress-template-asietv2 :is(.entry-content h3, .mrcontent-science h3)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.38em;
    width: 8px;
    height: 8px;
    background: var(--sp-terra);
    border-radius: 50%;
    opacity: 0.65;
}

/* ============================================================================
   Internal Links — Celadon underline with terracotta hover
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-internal-link, .sp-internal-link, .entry-content a:not([class]), .mrcontent-science a:not([class])) {
    color: var(--sp-accent-deep);
    text-decoration: none;
    background-image: none;
    border-bottom: 1.5px solid var(--sp-accent-line);
    transition: color 0.25s var(--sp-ease-out), border-color 0.25s var(--sp-ease-out), background-color 0.25s ease;
    padding: 0 2px;
}

body.silopress-template-asietv2 :is(.asie2-internal-link, .sp-internal-link, .entry-content a:not([class]), .mrcontent-science a:not([class])):hover {
    color: var(--sp-terra);
    border-color: var(--sp-terra);
    background-color: var(--sp-terra-subtle);
}

/* ============================================================================
   Figure / Images — Soft shadow frame with sand border
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-img-wrap, .sp-article-figure, .entry-content figure, .mrcontent-science figure) {
    margin: 2.5rem -0.5rem;
    padding: 0;
    border-radius: var(--sp-radius-md);
    overflow: hidden;
    background: var(--sp-paper-cream);
    box-shadow: var(--sp-shadow-card);
    border: 1px solid rgba(107, 158, 130, 0.10);
}

body.silopress-template-asietv2 :is(.asie2-img-wrap, .sp-article-figure, .entry-content figure, .mrcontent-science figure) img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    transition: transform 0.5s var(--sp-ease-out);
}

body.silopress-template-asietv2 :is(.asie2-img-wrap, .sp-article-figure, .entry-content figure, .mrcontent-science figure):hover img {
    transform: scale(1.015);
}

body.silopress-template-asietv2 :is(.asie2-img-wrap, .sp-article-figure, .entry-content figure, .mrcontent-science figure) figcaption {
    font-family: var(--sp-font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--sp-ink-muted);
    padding: 0.75rem 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-top: 1px solid rgba(107, 158, 130, 0.10);
}

/* ============================================================================
   Blockquote — Sand panel with celadon left bar
   ============================================================================ */
body.silopress-template-asietv2 :is(.entry-content blockquote, .mrcontent-science blockquote) {
    position: relative;
    margin: 2.5rem 0;
    padding: 1.8rem 2rem 1.8rem 2.4rem;
    background: linear-gradient(135deg, var(--sp-paper-warm), var(--sp-paper-deep));
    border-left: 4px solid var(--sp-accent);
    border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
    box-shadow: var(--sp-shadow-soft);
}

/* Korean quotation ornament */
body.silopress-template-asietv2 :is(.entry-content blockquote, .mrcontent-science blockquote)::before {
    content: '『';
    position: absolute;
    top: 0.3rem;
    left: 0.6rem;
    font-family: var(--sp-font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--sp-accent);
    opacity: 0.2;
    line-height: 1;
}

body.silopress-template-asietv2 :is(.entry-content blockquote p, .mrcontent-science blockquote p) {
    font-family: var(--sp-font-display);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.65;
    color: var(--sp-ink);
    border-left: none;
    padding-left: 0;
    margin: 0;
}

body.silopress-template-asietv2 :is(.entry-content blockquote cite, .mrcontent-science blockquote cite) {
    display: block;
    margin-top: 0.8rem;
    font-family: var(--sp-font-body);
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 500;
    color: var(--sp-accent-deep);
}

/* ============================================================================
   Lists — Terracotta dash markers
   ============================================================================ */
body.silopress-template-asietv2 :is(.entry-content ul, .mrcontent-science ul) > li::before {
    content: '';
    width: 6px;
    height: 2px;
    background: var(--sp-terra);
    border-radius: 1px;
    top: 0.82em;
}

body.silopress-template-asietv2 :is(.entry-content ol li, .mrcontent-science ol li)::before {
    font-family: var(--sp-font-display);
    font-weight: 400;
    color: var(--sp-terra);
}

/* ============================================================================
   Table of Contents — Celadon card with warm numbering
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2rem 1.8rem;
    background: linear-gradient(145deg, var(--sp-accent-deep) 0%, #3D6B52 50%, var(--sp-accent-deep) 100%);
    border-radius: var(--sp-radius-lg);
    color: #F0EAE0;
    box-shadow: 0 8px 32px rgba(79, 125, 100, 0.18);
    overflow: hidden;
}

/* Soft radial glow on right */
body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc)::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(193, 100, 74, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) > strong:first-child,
body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) > p:first-child,
body.silopress-template-asietv2 .sp-article-toc-title {
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-family: var(--sp-font-display);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #E8DFD0;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(240, 234, 224, 0.15);
}

body.silopress-template-asietv2 .sp-article-toc-title[role="button"]:hover {
    color: #F0EAE0;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) .sp-toc-chevron {
    background: rgba(193, 100, 74, 0.15);
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) .sp-toc-chevron::after {
    border-color: rgba(193, 100, 74, 0.8);
}

body.silopress-template-asietv2 .sp-article-toc-title[role="button"]:hover .sp-toc-chevron {
    background: rgba(193, 100, 74, 0.25);
}

body.silopress-template-asietv2 .sp-article-toc.sp-toc-collapsed .sp-article-toc-title {
    border-bottom-color: transparent;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) a {
    color: #E8E2D8;
    text-decoration: none;
    background: none;
    border-radius: var(--sp-radius-sm);
    transition: color 0.2s ease, background-color 0.2s ease;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) a:hover {
    color: #F0EAE0;
    background: rgba(240, 234, 224, 0.08);
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) a::before {
    color: var(--sp-terra);
    opacity: 0.85;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) ol {
    counter-reset: toc-counter;
    list-style: none;
    padding-left: 0;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) ol > li {
    counter-increment: toc-counter;
    position: relative;
    font-size: 0.95rem;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) ol > li::before {
    content: none;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) li {
    border-bottom: 1px solid rgba(240, 234, 224, 0.06);
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) li:last-child {
    border-bottom: none;
}

/* Sub-list (H3) on dark background */
body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) ol.sp-toc-sub a {
    color: rgba(232, 226, 216, 0.65);
    font-size: 0.88rem;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) ol.sp-toc-sub a:hover {
    color: #F0EAE0;
}

body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) ol.sp-toc-sub a::before {
    color: rgba(193, 100, 74, 0.6);
}

/* ============================================================================
   Key Takeaways — Sand card with celadon accent
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-takeaways, .sp-article-takeaways) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2rem 1.6rem;
    background: var(--sp-paper-warm);
    border: 1px solid rgba(107, 158, 130, 0.12);
    border-left: 4px solid var(--sp-accent);
    border-radius: var(--sp-radius-md);
    box-shadow: var(--sp-shadow-soft);
    overflow: hidden;
}

/* Decorative hanko stamp — 핵 (core) */
body.silopress-template-asietv2 :is(.asie2-takeaways, .sp-article-takeaways)::after {
    content: '핵';
    position: absolute;
    top: 14px;
    right: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sp-font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--sp-terra);
    border: 2.5px solid var(--sp-terra);
    border-radius: 4px;
    opacity: 0.12;
    transform: rotate(-6deg);
    pointer-events: none;
}

body.silopress-template-asietv2 :is(.asie2-takeaways, .sp-article-takeaways)::before {
    content: var(--sp-takeaways-label, '핵심 — Points Clés');
    color: var(--sp-accent-deep);
}

body.silopress-template-asietv2 :is(.asie2-takeaways, .sp-article-takeaways) li {
    color: var(--sp-ink-soft);
    border-bottom: 1px solid rgba(107, 158, 130, 0.08);
    padding: 0.5rem 0 0.5rem 1.8rem;
}

body.silopress-template-asietv2 :is(.asie2-takeaways, .sp-article-takeaways) li:last-child {
    border-bottom: none;
}

body.silopress-template-asietv2 :is(.asie2-takeaways, .sp-article-takeaways) li::before {
    content: '✦';
    color: var(--sp-terra);
    font-size: 0.75rem;
    top: 0.6rem;
}

/* ============================================================================
   CTA Box — Terracotta warm gradient
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2.2rem;
    background: linear-gradient(140deg, var(--sp-terra) 0%, var(--sp-terra-deep) 100%);
    border-radius: var(--sp-radius-md);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(193, 100, 74, 0.18);
    overflow: hidden;
}

/* Paper texture overlay */
body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta)::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) strong,
body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) h3 {
    font-family: var(--sp-font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
}

body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #fff;
    color: var(--sp-terra-deep);
    font-family: var(--sp-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: var(--sp-radius-sm);
    transition: transform 0.25s var(--sp-ease-out), box-shadow 0.25s var(--sp-ease-out);
}

body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background-image: none;
    background: #fff;
}

/* ============================================================================
   Info Boxes — Three gentle variants
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-info, .sp-article-info) {
    position: relative;
    margin: 2rem 0;
    padding: 1.4rem 1.5rem 1.4rem 3.2rem;
    border-radius: var(--sp-radius-md);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tip — celadon */
body.silopress-template-asietv2 :is(.asie2-info-tip, .sp-info-tip) {
    background: var(--sp-accent-subtle);
    border-left: 4px solid var(--sp-accent);
    color: var(--sp-ink-soft);
}

body.silopress-template-asietv2 :is(.asie2-info-tip, .sp-info-tip)::before {
    content: '💡';
    position: absolute;
    left: 0.85rem;
    top: 1.3rem;
    font-size: 1.1rem;
}

/* Warning — terracotta */
body.silopress-template-asietv2 :is(.asie2-info-warning, .sp-info-warning) {
    background: var(--sp-terra-subtle);
    border-left: 4px solid var(--sp-terra);
    color: var(--sp-ink-soft);
}

body.silopress-template-asietv2 :is(.asie2-info-warning, .sp-info-warning)::before {
    content: '⚠';
    position: absolute;
    left: 0.85rem;
    top: 1.3rem;
    font-size: 1.1rem;
    color: var(--sp-terra);
}

/* Important — bamboo */
body.silopress-template-asietv2 :is(.asie2-info-important, .sp-info-important) {
    background: var(--sp-bamboo-subtle);
    border-left: 4px solid var(--sp-bamboo);
    color: var(--sp-ink-soft);
}

body.silopress-template-asietv2 :is(.asie2-info-important, .sp-info-important)::before {
    content: '📌';
    position: absolute;
    left: 0.85rem;
    top: 1.3rem;
    font-size: 1.1rem;
}

/* ============================================================================
   Stat / Highlight Box — Celadon with terracotta number
   ============================================================================ */
body.silopress-template-asietv2 :is(.asie2-stat, .sp-article-stat) {
    display: block;
    margin: 2rem 0;
    padding: 1.6rem 2rem;
    background: linear-gradient(145deg, var(--sp-accent-deep), #3D6B52);
    border-radius: var(--sp-radius-md);
    text-align: center;
    box-shadow: var(--sp-shadow-card);
}

body.silopress-template-asietv2 :is(.asie2-stat, .sp-article-stat) strong,
body.silopress-template-asietv2 :is(.asie2-stat-value, .sp-article-stat-value) {
    display: block;
    font-family: var(--sp-font-display);
    font-size: 2.8rem;
    font-weight: 400;
    color: #F0EAE0;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

body.silopress-template-asietv2 :is(.asie2-stat, .sp-article-stat) span,
body.silopress-template-asietv2 :is(.asie2-stat, .sp-article-stat) em,
body.silopress-template-asietv2 :is(.asie2-stat-label, .sp-article-stat-label) {
    font-family: var(--sp-font-body);
    font-size: 0.85rem;
    font-weight: 400;
    font-style: normal;
    color: rgba(240, 234, 224, 0.7);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ============================================================================
   Tables — Clean with celadon header
   ============================================================================ */
body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 0.92rem;
    border-radius: var(--sp-radius-md);
    overflow: hidden;
    box-shadow: var(--sp-shadow-soft);
    border: 1px solid rgba(107, 158, 130, 0.10);
}

body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) thead {
    background: var(--sp-accent-deep);
    color: #fff;
}

body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) th {
    font-family: var(--sp-font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.9rem 1rem;
    text-align: left;
}

body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(107, 158, 130, 0.08);
    color: var(--sp-ink-soft);
}

body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) tbody tr {
    background: var(--sp-paper-cream);
    transition: background 0.2s ease;
}

body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) tbody tr:nth-child(even) {
    background: var(--sp-paper-warm);
}

body.silopress-template-asietv2 :is(.entry-content table, .mrcontent-science table) tbody tr:hover {
    background: var(--sp-accent-subtle);
}

/* ============================================================================
   Code Blocks — Charcoal on sand
   ============================================================================ */
body.silopress-template-asietv2 :is(.entry-content code, .mrcontent-science code) {
    font-family: var(--sp-font-mono);
    font-size: 0.86em;
    padding: 0.15em 0.45em;
    background: var(--sp-accent-subtle);
    color: var(--sp-accent-deep);
    border-radius: 4px;
}

body.silopress-template-asietv2 :is(.entry-content pre, .mrcontent-science pre) {
    margin: 2rem 0;
    padding: 1.5rem 1.8rem;
    background: #242428;
    border-radius: var(--sp-radius-md);
    overflow-x: auto;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.silopress-template-asietv2 :is(.entry-content pre, .mrcontent-science pre) code {
    background: none;
    color: #E8E2D8;
    padding: 0;
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ============================================================================
   FAQ Section — Clean accordion with terracotta markers
   ============================================================================ */
body.silopress-template-asietv2 .sp-faq-item,
body.silopress-template-asietv2 .asie2-faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid rgba(107, 158, 130, 0.10);
    border-radius: var(--sp-radius-md);
    overflow: hidden;
    background: var(--sp-paper-cream);
    transition: box-shadow 0.25s var(--sp-ease-out);
}

body.silopress-template-asietv2 .sp-faq-item:hover,
body.silopress-template-asietv2 .asie2-faq-item:hover {
    box-shadow: var(--sp-shadow-soft);
}

body.silopress-template-asietv2 .sp-faq-item h3,
body.silopress-template-asietv2 .sp-faq-question,
body.silopress-template-asietv2 .asie2-faq-question {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.3rem;
    font-family: var(--sp-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sp-ink);
    cursor: pointer;
    margin: 0;
}

body.silopress-template-asietv2 .sp-faq-question::before,
body.silopress-template-asietv2 .asie2-faq-question::before {
    content: 'Q';
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--sp-terra);
    color: #fff;
    font-family: var(--sp-font-display);
    font-size: 0.82rem;
    font-weight: 400;
    border-radius: 50%;
}

body.silopress-template-asietv2 .sp-faq-answer,
body.silopress-template-asietv2 .asie2-faq-answer {
    padding: 0.8rem 1.3rem 1.2rem 3.8rem;
    font-size: 0.95rem;
    color: var(--sp-ink-soft);
    line-height: 1.75;
    border-top: 1px solid rgba(107, 158, 130, 0.08);
}

/* ============================================================================
   Horizontal Rule — Celadon centered diamond divider
   ============================================================================ */
body.silopress-template-asietv2 :is(.entry-content hr, .mrcontent-science hr) {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--sp-ink-faded) 30%,
        var(--sp-ink-faded) 70%,
        transparent 100%
    );
    margin: 3rem auto;
    max-width: 380px;
    position: relative;
}

body.silopress-template-asietv2 :is(.entry-content hr, .mrcontent-science hr)::after {
    content: '◇';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--sp-paper);
    padding: 0 0.8rem;
    color: var(--sp-accent);
    font-size: 0.65rem;
}

/* ============================================================================
   Drop Cap — Terracotta serif initial letter
   ============================================================================ */
body.silopress-template-asietv2 :is(.sp-article-paragraph, .entry-content > p, .mrcontent-science > p):first-of-type::first-letter {
    color: var(--sp-terra);
}

/* ============================================================================
   Selection — Celadon highlight
   ============================================================================ */
body.silopress-template-asietv2 ::selection {
    background: rgba(107, 158, 130, 0.18);
    color: var(--sp-ink);
}

/* ============================================================================
   Mobile Responsive
   ============================================================================ */
@media (max-width: 768px) {
    body.silopress-template-asietv2 {
        --sp-font-size-h2: 1.7rem;
        --sp-font-size-h3: 1.25rem;
        --sp-font-size-body: 1.02rem;
        --sp-drop-cap-size: 4rem;
    }

    body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc) {
        padding: 1.4rem 1.2rem;
    }

    body.silopress-template-asietv2 :is(.asie2-img-wrap, .sp-article-figure, .entry-content figure, .mrcontent-science figure) {
        margin: 1.5rem -0.5rem;
    }

    body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) {
        padding: 1.6rem 1.4rem;
    }

    body.silopress-template-asietv2 :is(.asie2-stat, .sp-article-stat) strong,
    body.silopress-template-asietv2 .sp-article-stat-value {
        font-size: 2.2rem;
    }
}

/* ============================================================================
   Print Styles
   ============================================================================ */
@media print {
    body.silopress-template-asietv2 {
        --sp-ink: #000;
        --sp-paper: #fff;
        --sp-accent: #333;
        --sp-terra: #555;
    }

    body.silopress-template-asietv2 :is(.asie2-toc, .sp-article-toc),
    body.silopress-template-asietv2 :is(.asie2-cta, .sp-article-cta) {
        box-shadow: none;
        background: #f5f5f5;
        color: #000;
    }
}
