/**
 * SiloPress — Frontend Article Styles (AsieTV / Asie Lifestyle)
 * Zen Editorial Luxe — Indigo Ink, Vermillion Accents, Rice Paper Warmth
 *
 * Design Direction:
 *   Japanese zen minimalism meets Korean contemporary warmth.
 *   Deep indigo ink on warm rice-paper backgrounds, with vermillion red
 *   accent marks evoking torii gates and Korean dancheong patterns.
 *   Think Monocle × POPEYE Magazine × Seoul aesthetics.
 *
 * Typography:
 *   Display : Noto Serif Display — elegant, bridges CJK & Latin worlds
 *   Body    : Outfit             — geometric, modern, excellent readability
 *   Mono    : JetBrains Mono     — clean, technical
 *
 * Palette:
 *   Ink       #1D3557  (deep indigo night)
 *   Vermillion #E63946 (torii gate red)
 *   Amber     #F4A261  (warm lantern glow)
 *   Rice      #FAF8F5  (unbleached washi paper)
 *   Slate     #2B2D42  (charcoal sumi ink)
 *
 * @package SiloPress
 * @since   2.15.0
 */

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

/* ============================================================================
   CSS Variables — AsieTV Zen Palette
   ============================================================================ */
body.silopress-template-asietv {
    --sp-ink:          #1D3557;
    --sp-ink-soft:     #2B2D42;
    --sp-ink-muted:    #546A7B;
    --sp-ink-faded:    #8D99AE;

    --sp-paper:        #FAF8F5;
    --sp-paper-warm:   #F5F0EA;
    --sp-paper-cream:  #FFFDF9;
    --sp-paper-deep:   #EDE8E0;

    /* Vermillion — primary accent (torii gate red) */
    --sp-accent:       #E63946;
    --sp-accent-deep:  #C1272D;
    --sp-accent-glow:  #FF6B6B;
    --sp-accent-subtle: rgba(230, 57, 70, 0.08);
    --sp-accent-line:  rgba(230, 57, 70, 0.30);

    /* Amber — secondary (warm lantern) */
    --sp-amber:        #F4A261;
    --sp-amber-deep:   #D48B45;
    --sp-amber-subtle: rgba(244, 162, 97, 0.10);

    /* Indigo — tertiary (deep water) */
    --sp-indigo:       #1D3557;
    --sp-indigo-soft:  #2A4A7F;
    --sp-indigo-subtle: rgba(29, 53, 87, 0.06);

    /* Semantics */
    --sp-warning:      #D48B45;
    --sp-error:        #C1272D;
    --sp-success:      #2D6A4F;
    --sp-warning-bg:   rgba(244, 162, 97, 0.10);
    --sp-error-bg:     rgba(230, 57, 70, 0.08);

    /* Typography */
    --sp-font-display: 'Noto Serif Display', 'Georgia', serif;
    --sp-font-body:    'Outfit', 'Helvetica Neue', sans-serif;
    --sp-font-mono:    'JetBrains Mono', 'Consolas', monospace;

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

    /* Type Scale */
    --sp-font-size-body: 1.1rem;
    --sp-font-size-lead: 1.32rem;
    --sp-font-size-h2:   2.15rem;
    --sp-font-size-h3:   1.5rem;
    --sp-line-body:      1.82;
    --sp-line-lead:      1.70;
    --sp-drop-cap-size:  5.2rem;

    --sp-takeaways-label: 'Points clés';
    --sp-list-mark:       '›';

    /* Radii */
    --sp-radius-sm:   4px;
    --sp-radius-md:   10px;
    --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 */
    --sp-shadow-soft: 0 4px 24px rgba(29, 53, 87, 0.07);
    --sp-shadow-card: 0 8px 40px rgba(29, 53, 87, 0.06);
}

/* ============================================================================
   Page Background — Washi paper subtle texture
   ============================================================================ */
body.silopress-template-asietv main#main.site-main.hfeed {
    background:
        /* Subtle rice-paper noise */
        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.025'/%3E%3C/svg%3E"),
        /* Warm gradient */
        linear-gradient(
            175deg,
            #FAF8F5 0%,
            #F5F0EA 35%,
            #FFFDF9 65%,
            #FAF8F5 100%
        );
    background-attachment: fixed;
}

/* ============================================================================
   H2 — Ink-brush heading with vermillion accent bar
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-section, .asie-section-heading, .entry-content h2, .mrcontent-science h2) {
    position: relative;
    font-family: var(--sp-font-display);
    font-size: var(--sp-font-size-h2);
    font-weight: 700;
    line-height: 1.25;
    color: var(--sp-ink);
    letter-spacing: -0.02em;
    margin: 3rem 0 1.6rem;
    padding-left: 1.1rem;
    border-left: 3.5px solid var(--sp-accent);
}

/* Decorative vermillion dot before heading — torii gate motif */
body.silopress-template-asietv :is(.sp-article-section, .asie-section-heading, .entry-content h2, .mrcontent-science h2)::before {
    content: '';
    position: absolute;
    left: -4.5px;
    top: -6px;
    width: 12px;
    height: 12px;
    background: var(--sp-accent);
    border-radius: 50%;
    opacity: 0.85;
}

/* ============================================================================
   H3 — Clean sub-heading with indigo underline
   ============================================================================ */
body.silopress-template-asietv :is(.entry-content h3, .mrcontent-science h3) {
    font-family: var(--sp-font-display);
    font-size: var(--sp-font-size-h3);
    font-weight: 600;
    line-height: 1.35;
    color: var(--sp-ink);
    letter-spacing: -0.01em;
    margin: 2.4rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sp-indigo-subtle);
}

/* ============================================================================
   Internal Links — Vermillion underline with amber hover
   ============================================================================ */
body.silopress-template-asietv :is(.sp-internal-link, .asie-internal-link, .entry-content a:not([class]), .mrcontent-science a:not([class])) {
    color: var(--sp-accent-deep);
    text-decoration: 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 var(--sp-ease-out);
    padding: 0 2px;
}

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

/* ============================================================================
   Figure / Images — Framed with indigo shadow and caption
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-figure, .asie-img-wrap, .entry-content figure, .mrcontent-science figure) {
    margin: 2.4rem -1rem;
    padding: 0;
    border-radius: var(--sp-radius-md);
    overflow: hidden;
    box-shadow: var(--sp-shadow-card);
    background: var(--sp-paper-cream);
}

body.silopress-template-asietv :is(.sp-article-figure, .asie-img-wrap, .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-asietv :is(.sp-article-figure, .asie-img-wrap, .entry-content figure, .mrcontent-science figure):hover img {
    transform: scale(1.02);
}

body.silopress-template-asietv :is(.sp-article-figure, .asie-img-wrap, .entry-content figure, .mrcontent-science figure) figcaption {
    font-family: var(--sp-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--sp-ink-muted);
    padding: 0.8rem 1.1rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-top: 2px solid var(--sp-accent-subtle);
}

/* ============================================================================
   Blockquote — Zen minimal with vermillion accent
   ============================================================================ */
body.silopress-template-asietv :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-cream));
    border-left: 4px solid var(--sp-accent);
    border-radius: 0 var(--sp-radius-md) var(--sp-radius-md) 0;
    font-family: var(--sp-font-display);
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.65;
    color: var(--sp-ink);
    box-shadow: var(--sp-shadow-soft);
}

/* Japanese quotation mark ornament */
body.silopress-template-asietv :is(.entry-content blockquote, .mrcontent-science blockquote)::before {
    content: '「';
    position: absolute;
    top: 0.4rem;
    left: 0.7rem;
    font-family: var(--sp-font-display);
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 700;
    color: var(--sp-accent);
    opacity: 0.25;
    line-height: 1;
}

/* ============================================================================
   Lists — Custom markers with Asian-inspired bullet
   ============================================================================ */
body.silopress-template-asietv :is(.entry-content ul, .mrcontent-science ul) {
    list-style: none;
    padding-left: 1.4rem;
}

body.silopress-template-asietv :is(.entry-content ul, .mrcontent-science ul) > li {
    position: relative;
    padding-left: 0.2rem;
    margin-bottom: 0.6rem;
}

body.silopress-template-asietv :is(.entry-content ul, .mrcontent-science ul) > li::before {
    content: var(--sp-list-mark, '›');
    position: absolute;
    left: -1.2rem;
    color: var(--sp-accent);
    font-weight: 700;
    font-size: 1.15em;
}

body.silopress-template-asietv :is(.entry-content ol, .mrcontent-science ol) {
    padding-left: 1.4rem;
}

body.silopress-template-asietv :is(.entry-content ol, .mrcontent-science ol) > li {
    margin-bottom: 0.6rem;
    padding-left: 0.3rem;
}

body.silopress-template-asietv :is(.entry-content ol, .mrcontent-science ol) > li::marker {
    color: var(--sp-accent);
    font-weight: 700;
    font-family: var(--sp-font-display);
}

/* ============================================================================
   Table of Contents — Indigo card with amber numbering
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2rem 1.8rem;
    background: linear-gradient(145deg, #1D3557 0%, #253D63 50%, #1D3557 100%);
    border-radius: var(--sp-radius-md);
    color: #e8e6e3;
    box-shadow: 0 8px 32px rgba(29, 53, 87, 0.25);
    overflow: hidden;
}

/* Decorative pattern — subtle seigaiha (wave) in background */
body.silopress-template-asietv :is(.sp-article-toc, .asie-toc)::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background:
        radial-gradient(circle at 100% 50%, rgba(244, 162, 97, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 20%, rgba(230, 57, 70, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) > strong:first-child,
body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) > p:first-child,
body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) .sp-article-toc-title {
    display: flex;
    align-items: center;
    gap: 0.35em;
    font-family: var(--sp-font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sp-amber);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(244, 162, 97, 0.2);
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) .sp-article-toc-title[role="button"]:hover {
    color: var(--sp-amber-glow, #ffcf70);
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) .sp-toc-chevron {
    background: rgba(244, 162, 97, 0.15);
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) .sp-toc-chevron::after {
    border-color: var(--sp-amber);
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) .sp-article-toc-title[role="button"]:hover .sp-toc-chevron {
    background: rgba(244, 162, 97, 0.25);
}

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

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

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) a:hover {
    color: var(--sp-amber);
    background: rgba(244, 162, 97, 0.08);
}

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

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

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

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) a::before {
    color: var(--sp-amber);
    opacity: 0.8;
}

/* Sub-list (H3) on dark background */
body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) ol.sp-toc-sub a {
    color: rgba(232, 230, 227, 0.7);
    font-size: 0.88rem;
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) ol.sp-toc-sub a:hover {
    color: var(--sp-amber);
}

body.silopress-template-asietv :is(.sp-article-toc, .asie-toc) ol.sp-toc-sub a::before {
    color: var(--sp-amber);
    opacity: 0.6;
}

/* ============================================================================
   Key Takeaways — Rice paper card with vermillion stamp
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2rem 1.6rem 2rem;
    background: var(--sp-paper-warm);
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: var(--sp-radius-md);
    box-shadow: var(--sp-shadow-soft);
    overflow: hidden;
}

/* Decorative stamp in top-right — hanko seal effect */
body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways)::after {
    content: '要';
    position: absolute;
    top: 12px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--sp-font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sp-accent);
    border: 2.5px solid var(--sp-accent);
    border-radius: 4px;
    opacity: 0.18;
    transform: rotate(-8deg);
    pointer-events: none;
}

body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways) > strong:first-child,
body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways) > p:first-child strong {
    display: block;
    font-family: var(--sp-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--sp-accent);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--sp-accent-subtle);
}

body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways) ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways) li {
    position: relative;
    padding: 0.5rem 0 0.5rem 1.8rem;
    font-size: 0.98rem;
    color: var(--sp-ink-soft);
    border-bottom: 1px solid rgba(29, 53, 87, 0.05);
}

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

body.silopress-template-asietv :is(.sp-article-takeaways, .asie-takeaways) li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 0.55rem;
    color: var(--sp-amber);
    font-size: 0.85rem;
}

/* ============================================================================
   CTA Box — Bold vermillion with paper texture
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-cta, .asie-cta) {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 2.2rem;
    background: linear-gradient(140deg, var(--sp-accent) 0%, var(--sp-accent-deep) 100%);
    border-radius: var(--sp-radius-md);
    color: #fff;
    text-align: center;
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.20);
    overflow: hidden;
}

body.silopress-template-asietv :is(.sp-article-cta, .asie-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.06'/%3E%3C/svg%3E");
    pointer-events: none;
}

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

body.silopress-template-asietv :is(.sp-article-cta, .asie-cta) a {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #fff;
    color: var(--sp-accent-deep);
    font-family: var(--sp-font-body);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-decoration: 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-asietv :is(.sp-article-cta, .asie-cta) a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ============================================================================
   Info Boxes — Three variants: tip (amber), warning (vermillion), important (indigo)
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-info, .asie-info) {
    position: relative;
    margin: 2rem 0;
    padding: 1.4rem 1.6rem 1.4rem 3.2rem;
    border-radius: var(--sp-radius-md);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tip — amber/lantern */
body.silopress-template-asietv :is(.sp-info-tip, .asie-info-tip) {
    background: var(--sp-amber-subtle);
    border-left: 4px solid var(--sp-amber);
    color: var(--sp-ink-soft);
}

body.silopress-template-asietv :is(.sp-info-tip, .asie-info-tip)::before {
    content: '💡';
    position: absolute;
    left: 0.9rem;
    top: 1.35rem;
    font-size: 1.1rem;
}

/* Warning — vermillion */
body.silopress-template-asietv :is(.sp-info-warning, .asie-info-warning) {
    background: var(--sp-error-bg);
    border-left: 4px solid var(--sp-accent);
    color: var(--sp-ink-soft);
}

body.silopress-template-asietv :is(.sp-info-warning, .asie-info-warning)::before {
    content: '⚠';
    position: absolute;
    left: 0.9rem;
    top: 1.35rem;
    font-size: 1.1rem;
    color: var(--sp-accent);
}

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

body.silopress-template-asietv :is(.sp-info-important, .asie-info-important)::before {
    content: '📌';
    position: absolute;
    left: 0.9rem;
    top: 1.35rem;
    font-size: 1.1rem;
}

/* ============================================================================
   Stat / Highlight Box — Indigo with amber number
   ============================================================================ */
body.silopress-template-asietv :is(.sp-article-stat, .asie-stat) {
    margin: 2rem 0;
    padding: 1.6rem 2rem;
    background: linear-gradient(145deg, var(--sp-indigo), #253D63);
    border-radius: var(--sp-radius-md);
    text-align: center;
    box-shadow: var(--sp-shadow-card);
}

body.silopress-template-asietv :is(.sp-article-stat, .asie-stat) strong {
    display: block;
    font-family: var(--sp-font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--sp-amber);
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

body.silopress-template-asietv :is(.sp-article-stat, .asie-stat) span,
body.silopress-template-asietv :is(.sp-article-stat, .asie-stat) em {
    font-family: var(--sp-font-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: rgba(232, 230, 227, 0.75);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* ============================================================================
   Tables — Clean Asian editorial with indigo header
   ============================================================================ */
body.silopress-template-asietv :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);
}

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

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

body.silopress-template-asietv :is(.entry-content table, .mrcontent-science table) td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(29, 53, 87, 0.06);
    color: var(--sp-ink-soft);
}

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

body.silopress-template-asietv :is(.entry-content table, .mrcontent-science table) tbody tr:hover {
    background: var(--sp-amber-subtle);
    transition: background 0.2s ease;
}

/* ============================================================================
   Code Blocks — Dark sumi ink with amber syntax accents
   ============================================================================ */
body.silopress-template-asietv :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-indigo-subtle);
    color: var(--sp-accent-deep);
    border-radius: 3px;
}

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

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

/* ============================================================================
   FAQ Section — Accordion with vermillion markers
   ============================================================================ */
body.silopress-template-asietv .sp-faq-item,
body.silopress-template-asietv .asie-faq-item {
    margin-bottom: 0.5rem;
    border: 1px solid rgba(29, 53, 87, 0.08);
    border-radius: var(--sp-radius-md);
    overflow: hidden;
    transition: box-shadow 0.25s var(--sp-ease-out);
}

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

body.silopress-template-asietv .sp-faq-question,
body.silopress-template-asietv .asie-faq-question {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.3rem;
    background: var(--sp-paper-cream);
    font-family: var(--sp-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sp-ink);
    cursor: pointer;
    transition: background 0.2s;
}

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

body.silopress-template-asietv .sp-faq-answer,
body.silopress-template-asietv .asie-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(29, 53, 87, 0.06);
}

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

/* ============================================================================
   Horizontal Rule — Zen divider with centered diamond
   ============================================================================ */
body.silopress-template-asietv :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: 400px;
    position: relative;
}

body.silopress-template-asietv :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;
}

/* ============================================================================
   Selection — Vermillion highlight
   ============================================================================ */
body.silopress-template-asietv ::selection {
    background: rgba(230, 57, 70, 0.15);
    color: var(--sp-ink);
}

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

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

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

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

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

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