/* ============================================================
   SINGLE archivo — Rediseño multimedia (video + galería)
   Layout: header compacto + grid 2-col (main + sidebar sticky)
   ============================================================ */

.ad-s { max-width: 1400px; margin: 0 auto; padding: 0; }

/* ============================================================
   HEADER compacto
   ============================================================ */
.ad-s-header {
    padding: 96px 32px 32px;
    border-bottom: 1px solid var(--ad-line);
    position: relative;
}
.ad-s-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(90,200,250,0.06), transparent 50%),
        radial-gradient(ellipse at 80% 0%, rgba(191,90,242,0.05), transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.ad-s-header-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; }

.ad-s-bread {
    display: flex; gap: 6px; align-items: center;
    font-size: 12.5px; color: var(--ad-text-muted);
    margin-bottom: 18px; flex-wrap: wrap;
}
.ad-s-bread a { color: var(--ad-text-muted); transition: color 200ms ease; }
.ad-s-bread a:hover { color: var(--ad-accent); }
.ad-s-bread span { color: var(--ad-text-dim); }

.ad-s-ref-row {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 14px; flex-wrap: wrap;
}
.ad-s-ref {
    display: inline-block;
    background: rgba(90,200,250,0.12);
    border: 1px solid rgba(90,200,250,0.32);
    color: var(--ad-accent);
    padding: 4px 12px; border-radius: var(--ad-r-full);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
}
.ad-s-classif {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; color: var(--ad-text-dim);
    letter-spacing: 0.1em; text-transform: uppercase;
}

.ad-s-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 18px;
    max-width: 950px;
    color: var(--ad-text);
}

.ad-s-meta-row {
    display: flex; flex-wrap: wrap; gap: 8px;
    font-size: 13px;
}
.ad-s-meta {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-full);
    color: var(--ad-text); font-weight: 500;
}
.ad-s-meta svg { color: var(--ad-text-muted); }

.ad-pill {
    display: inline-block;
    padding: 4px 10px; border-radius: var(--ad-r-full);
    font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ad-pill--resuelto, .ad-pill--resolved {
    background: rgba(48,209,88,0.15); color: var(--ad-success); border: 1px solid rgba(48,209,88,0.3);
}
.ad-pill--inconcluso, .ad-pill--inconclusive {
    background: rgba(255,159,10,0.15); color: var(--ad-warning); border: 1px solid rgba(255,159,10,0.3);
}
.ad-pill--sin-resolver, .ad-pill--unresolved {
    background: rgba(255,69,58,0.15); color: var(--ad-danger); border: 1px solid rgba(255,69,58,0.3);
}
.ad-pill--neutral {
    background: rgba(255,255,255,0.08); color: var(--ad-text-muted);
}

/* ============================================================
   SHELL grid: main + sidebar sticky
   ============================================================ */
.ad-s-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 32px 80px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: flex-start;
}

.ad-s-main {
    min-width: 0; /* prevent grid blowout */
    display: flex; flex-direction: column;
    gap: 56px;
}

.ad-s-aside {
    position: sticky; top: 96px;
    display: flex; flex-direction: column;
    gap: 14px;
}

/* ============================================================
   STAGE — protagonist video / image viewer
   ============================================================ */
.ad-s-stage-wrap { display: flex; flex-direction: column; gap: 14px; }

.ad-s-tabs {
    display: inline-flex; gap: 4px; padding: 4px;
    background: var(--ad-bg-surface); border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-full);
    width: fit-content;
}
.ad-s-tab {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--ad-r-full);
    font-size: 13px; font-weight: 600;
    color: var(--ad-text-muted);
    transition: background 220ms var(--ad-ease-out), color 220ms var(--ad-ease-out);
}
.ad-s-tab:hover { color: var(--ad-text); }
.ad-s-tab.is-active {
    background: var(--ad-grad-primary);
    color: #fff;
}

.ad-s-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--ad-r-xl);
    overflow: hidden;
    border: 1px solid var(--ad-line);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02) inset;
    transition: box-shadow 480ms var(--ad-ease-out);
}
.ad-s-stage:hover {
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(90,200,250,0.1) inset;
}
.ad-s-stage-img {
    width: 100%; height: 100%; object-fit: contain;
    background: #000;
    display: block;
    animation: ad-stage-fade 420ms var(--ad-ease-out) both;
}
@keyframes ad-stage-fade {
    from { opacity: 0; transform: scale(0.98); }
    to   { opacity: 1; transform: scale(1); }
}
.ad-s-stage-video { width: 100%; height: 100%; }
.ad-s-stage-video iframe,
.ad-s-stage-video video {
    width: 100%; height: 100%; border: 0; display: block;
}
.ad-s-stage-video .ad-video-wrap {
    position: static; padding-bottom: 0; height: 100%;
    border-radius: 0; overflow: visible; background: transparent; box-shadow: none;
}
.ad-s-stage-video .ad-video-wrap iframe,
.ad-s-stage-video .ad-video-wrap video {
    position: static; width: 100%; height: 100%;
}

.ad-s-stage-zoom {
    position: absolute; top: 14px; right: 14px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 240ms var(--ad-ease-out), background 240ms ease;
    z-index: 5;
}
.ad-s-stage:hover .ad-s-stage-zoom { opacity: 0.9; }
.ad-s-stage-zoom:hover { background: rgba(0,0,0,0.9); }

.ad-s-stage-counter {
    position: absolute; top: 14px; left: 14px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
    border-radius: var(--ad-r-full);
    z-index: 5;
}
.ad-s-stage-counter-sep { color: rgba(255,255,255,0.4); margin: 0 2px; }

.ad-s-stage-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 240ms var(--ad-ease-out), background 240ms ease, transform 240ms var(--ad-ease-out);
    z-index: 5;
}
.ad-s-stage:hover .ad-s-stage-nav { opacity: 0.85; }
.ad-s-stage-nav:hover { background: rgba(0,0,0,0.9); opacity: 1; }
.ad-s-stage-prev { left: 14px; }
.ad-s-stage-next { right: 14px; }
.ad-s-stage-prev:hover { transform: translateY(-50%) translateX(-2px); }
.ad-s-stage-next:hover { transform: translateY(-50%) translateX(2px); }

.ad-s-stage-caption {
    margin: 0;
    padding: 4px 4px;
    font-size: 13.5px; line-height: 1.55;
    color: var(--ad-text-muted);
    font-style: italic;
}

/* Thumbnails strip */
.ad-s-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    padding: 4px 0;
}
.ad-s-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--ad-bg-surface);
    border: 2px solid transparent;
    border-radius: var(--ad-r-md);
    overflow: hidden;
    padding: 0; cursor: pointer;
    transition: border-color 280ms var(--ad-ease-out), transform 280ms var(--ad-ease-out);
}
.ad-s-thumb:hover { transform: translateY(-2px); border-color: rgba(90,200,250,0.4); }
.ad-s-thumb.is-active {
    border-color: var(--ad-accent);
    box-shadow: 0 0 0 1px rgba(90,200,250,0.4), 0 8px 20px rgba(90,200,250,0.18);
}
.ad-s-thumb img {
    width: 100%; height: 100%; object-fit: cover;
    transition: opacity 240ms ease;
}
.ad-s-thumb:not(.is-active) img { opacity: 0.65; }
.ad-s-thumb:hover img { opacity: 1; }
.ad-s-thumb-empty {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ad-text-dim); background: var(--ad-bg-elevated);
}
.ad-s-thumb-icon {
    position: absolute; inset: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
    background: rgba(0,0,0,0.3);
    transition: background 220ms ease;
}
.ad-s-thumb:hover .ad-s-thumb-icon { background: rgba(0,0,0,0.15); }
.ad-s-thumb-badge {
    position: absolute; bottom: 6px; right: 6px;
    padding: 2px 7px;
    background: linear-gradient(135deg, #bf5af2, #ff9f0a);
    color: #fff;
    font-size: 9px; font-weight: 700; letter-spacing: 0.06em;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(191,90,242,0.4);
}

/* ============================================================
   H2 sections (eyebrow + title combo)
   ============================================================ */
.ad-s-h2 {
    font-size: 24px; font-weight: 700;
    letter-spacing: -0.02em; line-height: 1.2;
    color: var(--ad-text);
    margin: 0 0 20px;
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.ad-s-h2-eyebrow {
    display: inline-block;
    padding: 3px 10px; border-radius: var(--ad-r-full);
    background: rgba(255,159,10,0.1);
    border: 1px solid rgba(255,159,10,0.3);
    color: var(--ad-accent-3);
    font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Prose */
.ad-s-prose .ad-content-prose {
    font-size: 17px; line-height: 1.75; color: var(--ad-text);
}
.ad-s-prose .ad-content-prose h2 { font-size: 26px; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.02em; }
.ad-s-prose .ad-content-prose h3 { font-size: 19px; font-weight: 650; margin: 28px 0 10px; }
.ad-s-prose .ad-content-prose p { margin: 0 0 18px; }
.ad-s-prose .ad-content-prose a { color: var(--ad-accent); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.ad-s-prose .ad-content-prose a:hover { border-bottom-color: var(--ad-accent); }
.ad-s-prose .ad-content-prose blockquote {
    border-left: 3px solid var(--ad-accent);
    padding: 4px 0 4px 20px; margin: 24px 0;
    color: var(--ad-text-muted); font-style: italic;
}

/* ============================================================
   Connected (casos relacionados)
   ============================================================ */
.ad-connected-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.ad-connected-card {
    display: flex; gap: 12px; align-items: center;
    padding: 12px;
    background: var(--ad-bg-surface);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-md);
    transition: transform 280ms var(--ad-ease-out), border-color 220ms ease;
    color: inherit; text-decoration: none;
}
.ad-connected-card:hover { transform: translateY(-2px); border-color: var(--ad-accent); }
.ad-connected-photo {
    width: 64px; height: 64px; border-radius: var(--ad-r-sm);
    overflow: hidden; flex-shrink: 0; background: var(--ad-bg-elevated);
}
.ad-connected-photo img { width: 100%; height: 100%; object-fit: cover; }
.ad-connected-body { min-width: 0; }
.ad-connected-ref {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--ad-accent);
    background: rgba(90,200,250,0.1);
    padding: 1px 6px; border-radius: 4px;
}
.ad-connected-title {
    font-size: 13.5px; font-weight: 600;
    color: var(--ad-text); margin: 4px 0 2px;
    line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
}
.ad-connected-country { font-size: 11px; color: var(--ad-text-muted); }

/* ============================================================
   Support, source, disclaimer — heredados pero re-organizados
   ============================================================ */
.ad-support {
    position: relative;
    background:
        linear-gradient(135deg, rgba(90,200,250,0.04) 0%, rgba(191,90,242,0.04) 100%),
        var(--ad-bg-surface);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-xl);
    overflow: hidden;
}
.ad-support::before {
    content: ''; position: absolute;
    top: -50%; right: -20%;
    width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(90,200,250,0.12), transparent 60%);
    pointer-events: none;
}
.ad-support::after {
    content: ''; position: absolute;
    bottom: -40%; left: -20%;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(191,90,242,0.10), transparent 60%);
    pointer-events: none;
}
.ad-support-inner { position: relative; z-index: 1; padding: 36px 40px; }
.ad-support-author {
    display: flex; align-items: center; gap: 18px;
    margin-bottom: 20px; padding-bottom: 24px;
    border-bottom: 1px solid var(--ad-line);
}
.ad-support-avatar {
    flex-shrink: 0;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--ad-grad-primary);
    color: #fff; font-weight: 700; font-size: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(90,200,250,0.32);
}
.ad-support-author-text { display: flex; flex-direction: column; gap: 2px; }
.ad-support-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ad-accent-3);
}
.ad-support-name {
    font-size: 22px; font-weight: 700; letter-spacing: -0.015em;
    color: var(--ad-text); line-height: 1.2;
}
.ad-support-role { font-size: 13px; color: var(--ad-text-muted); font-weight: 500; margin-top: 2px; }
.ad-support-bio {
    font-size: 15px; line-height: 1.65; color: var(--ad-text-muted);
    margin: 0 0 24px; max-width: 600px;
}
.ad-support-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

.ad-donate-btn {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 14px 22px; min-width: 260px;
    border-radius: var(--ad-r-md);
    text-decoration: none;
    transition: transform 320ms var(--ad-ease-out), box-shadow 320ms var(--ad-ease-out);
    position: relative; overflow: hidden;
}
.ad-donate-btn::before {
    content: ''; position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 800ms var(--ad-ease-out);
}
.ad-donate-btn:hover { transform: translateY(-2px); }
.ad-donate-btn:hover::before { left: 100%; }
.ad-donate-flow {
    background: linear-gradient(135deg, #d52b1e 0%, #a01a10 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(213,43,30,0.32);
}
.ad-donate-flow:hover { box-shadow: 0 14px 32px rgba(213,43,30,0.5); }
.ad-donate-paypal {
    background: linear-gradient(135deg, #003087 0%, #009cde 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,156,222,0.32);
}
.ad-donate-paypal:hover { box-shadow: 0 14px 32px rgba(0,156,222,0.5); }
.ad-donate-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; backdrop-filter: blur(8px);
}
.ad-donate-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ad-donate-method {
    font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; opacity: 0.85;
}
.ad-donate-cta { font-size: 14.5px; font-weight: 650; line-height: 1.2; }
.ad-donate-arrow { color: #fff; opacity: 0.85; flex-shrink: 0; transition: transform 320ms var(--ad-ease-out); }
.ad-donate-btn:hover .ad-donate-arrow { transform: translateX(4px); }
.ad-support-note { margin: 12px 0 0; font-size: 12.5px; color: var(--ad-text-muted); line-height: 1.5; }

/* Source */
.ad-source {
    background: var(--ad-bg-surface);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-lg);
    padding: 28px 32px;
}
.ad-source-grid {
    display: grid; gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ad-source-label {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ad-text-muted); margin-bottom: 6px;
}
.ad-source-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 14px; font-weight: 500;
    color: var(--ad-accent);
}
.ad-source-link:hover { text-decoration: underline; }
.ad-source-value { font-size: 14px; font-weight: 600; color: var(--ad-text); }

/* Disclaimer */
.ad-disclaimer {
    display: grid; grid-template-columns: 40px 1fr;
    gap: 18px; padding: 24px 28px;
    background: rgba(19, 26, 45, 0.5); backdrop-filter: blur(8px);
    border: 1px solid var(--ad-line);
    border-left: 3px solid var(--ad-accent);
    border-radius: var(--ad-r-md);
}
.ad-disclaimer-icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(90,200,250,0.1);
    border: 1px solid rgba(90,200,250,0.25);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--ad-accent); flex-shrink: 0;
}
.ad-disclaimer-title {
    font-size: 15px; font-weight: 700; letter-spacing: -0.005em;
    color: var(--ad-text); margin: 0 0 12px;
}
.ad-disclaimer-list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 12px;
}
.ad-disclaimer-list li { font-size: 13px; line-height: 1.6; color: var(--ad-text-muted); }
.ad-disclaimer-list strong { color: var(--ad-text); font-weight: 650; }
.ad-disclaimer-list a {
    color: var(--ad-accent);
    border-bottom: 1px solid transparent;
    transition: border-color 200ms ease;
}
.ad-disclaimer-list a:hover { border-bottom-color: var(--ad-accent); }
.ad-disclaimer-author { font-weight: 600; }

/* ============================================================
   ASIDE — info card + map + share (sticky)
   ============================================================ */
.ad-s-card {
    background: var(--ad-bg-surface);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-lg);
    padding: 20px 22px;
}
.ad-s-card-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ad-line);
}
.ad-s-card-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: var(--ad-text-muted);
    margin: 0 0 14px;
}
.ad-s-card-title svg { color: var(--ad-accent); }

.ad-s-info-ref-big {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px; font-weight: 700;
    background: var(--ad-grad-primary);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.06em;
}
.ad-pill-lg {
    padding: 6px 14px; font-size: 11px;
}

.ad-s-info-dl {
    margin: 0;
    display: flex; flex-direction: column;
    gap: 12px;
}
.ad-s-info-dl > div {
    display: flex; justify-content: space-between;
    gap: 12px;
}
.ad-s-info-dl dt {
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--ad-text-muted);
    flex-shrink: 0;
}
.ad-s-info-dl dd {
    margin: 0;
    font-size: 13px; font-weight: 500;
    color: var(--ad-text);
    text-align: right;
}
.ad-s-info-dl dd code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: var(--ad-bg-elevated);
    padding: 2px 6px; border-radius: 4px;
}

/* Mini location map */
.ad-location-map {
    width: 100%; height: 180px;
    border-radius: var(--ad-r-md);
    overflow: hidden;
    border: 1px solid var(--ad-line);
    background: var(--ad-bg-elevated);
}
.ad-s-coords {
    margin: 10px 0 0; text-align: center;
}
.ad-s-coords code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    background: var(--ad-bg-elevated);
    color: var(--ad-accent);
    padding: 3px 10px; border-radius: var(--ad-r-full);
}

/* ============================================================
   TRANSCRIPCIÓN BILINGÜE — Apple-style, español primero
   ============================================================ */
.ad-transcript {
    position: relative;
    margin: 48px 0 56px;
    padding: 48px 44px;
    background: linear-gradient(180deg, rgba(20, 27, 44, 0.92), rgba(12, 18, 32, 0.96));
    border: 1px solid rgba(90, 200, 250, 0.14);
    border-radius: 24px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 20px 60px -20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}
.ad-transcript::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 200, 250, 0.4), transparent);
    pointer-events: none;
}
.ad-transcript::after {
    /* Decoración cosmic muy sutil arriba-derecha */
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(90, 200, 250, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.ad-transcript-head {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    text-align: left;
}
.ad-transcript-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--ad-accent);
    margin-bottom: 12px;
}
.ad-transcript-eyebrow svg {
    opacity: 0.85;
}
.ad-transcript-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 700;
    letter-spacing: -0.024em;
    line-height: 1.08;
    color: var(--ad-text);
    margin: 0 0 10px;
}
.ad-transcript-sub {
    font-size: 13px;
    color: rgba(245, 245, 247, 0.55);
    margin: 0;
    letter-spacing: 0.2px;
}
.ad-transcript-sub-sep {
    margin: 0 6px;
    opacity: 0.5;
}

.ad-transcript-block {
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Language pill — chip elegante con borde glow */
.ad-transcript-lang {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}
.ad-transcript-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    border-radius: 999px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 1;
}
.ad-transcript-pill-primary {
    background: linear-gradient(135deg, rgba(90, 200, 250, 0.18), rgba(90, 200, 250, 0.06));
    border: 1px solid rgba(90, 200, 250, 0.36);
    color: #d4ecff;
    box-shadow: 0 0 18px -6px rgba(90, 200, 250, 0.35);
}
.ad-transcript-pill-muted {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(245, 245, 247, 0.7);
}
.ad-transcript-flag {
    font-size: 16px;
    line-height: 1;
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.3));
}
.ad-transcript-pill-text {
    text-transform: uppercase;
    letter-spacing: 1.4px;
}
.ad-transcript-note {
    font-size: 11px;
    color: rgba(245, 245, 247, 0.4);
    letter-spacing: 0.4px;
    font-style: italic;
}

/* Body del texto — tipografía editorial, líneas generosas */
.ad-transcript-body {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.72;
    letter-spacing: -0.005em;
    color: rgba(245, 245, 247, 0.92);
    max-width: 68ch;
}
.ad-transcript-body p {
    margin: 0 0 1.1em;
}
.ad-transcript-body p:last-child {
    margin-bottom: 0;
}
.ad-transcript-body strong {
    color: var(--ad-text);
    font-weight: 600;
}
.ad-transcript-body em {
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
}
.ad-transcript-body a {
    color: var(--ad-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(90, 200, 250, 0.35);
    transition: border-color .2s ease, color .2s ease;
}
.ad-transcript-body a:hover {
    color: #84d8ff;
    border-bottom-color: var(--ad-accent);
}

/* Drop cap para el primer párrafo del español (Apple-style editorial) */
.ad-transcript-es .ad-transcript-body > p:first-child::first-letter {
    font-family: 'Inter', sans-serif;
    font-size: 3.4em;
    font-weight: 700;
    float: left;
    line-height: 0.92;
    padding: 4px 12px 0 0;
    color: var(--ad-accent);
    letter-spacing: -0.04em;
}

/* Versión original — más sutil */
.ad-transcript-body-muted {
    font-size: 15.5px;
    color: rgba(245, 245, 247, 0.7);
    font-style: normal;
    /* Permite reconocer que es transcripción literal */
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    padding-left: 22px;
    max-width: 64ch;
}

/* Divider entre los dos idiomas */
.ad-transcript-divider {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 44px 0 36px;
}
.ad-transcript-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(90, 200, 250, 0.25), transparent);
}
.ad-transcript-divider-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(20, 27, 44, 0.9);
    border: 1px solid rgba(90, 200, 250, 0.25);
    color: rgba(90, 200, 250, 0.7);
}

/* Responsive */
@media (max-width: 720px) {
    .ad-transcript {
        padding: 32px 22px;
        margin: 32px 0 40px;
        border-radius: 18px;
    }
    .ad-transcript-body { font-size: 16px; }
    .ad-transcript-body-muted { font-size: 14.5px; padding-left: 16px; }
    .ad-transcript-lang { flex-wrap: wrap; gap: 10px; }
    .ad-transcript-es .ad-transcript-body > p:first-child::first-letter {
        font-size: 3em;
        padding-right: 10px;
    }
}

/* Bloque ubicación textual (cuando NO hay coords) */
.ad-s-loc-text {
    text-align: center;
    padding: 20px 12px;
    background: var(--ad-bg-elevated);
    border-radius: var(--ad-r-md);
    border: 1px dashed var(--ad-line);
    color: var(--ad-text);
}
.ad-s-loc-text-value {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px;
    letter-spacing: -0.2px;
}
.ad-s-loc-text-note {
    font-size: 11px;
    color: #a1a8c0;
    margin: 0;
    line-height: 1.5;
}

/* Share grid */
.ad-s-share-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.ad-s-share-btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: var(--ad-bg-elevated);
    border: 1px solid var(--ad-line);
    border-radius: var(--ad-r-md);
    color: var(--ad-text); font-size: 12px; font-weight: 600;
    text-decoration: none;
    transition: background 220ms ease, border-color 220ms ease, transform 220ms var(--ad-ease-out);
    cursor: pointer;
}
.ad-s-share-btn:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--ad-accent);
    transform: translateY(-1px);
}
.ad-s-share-btn svg { flex-shrink: 0; }
.ad-s-share-btn.is-copied {
    background: rgba(48,209,88,0.18);
    border-color: var(--ad-success);
    color: var(--ad-success);
}

/* ============================================================
   LIGHTBOX — fullscreen image viewer
   ============================================================ */
.ad-lb {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(8px);
    padding: 40px;
    animation: ad-lb-in 320ms var(--ad-ease-out) both;
}
@keyframes ad-lb-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.ad-lb-img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto;
    object-fit: contain;
    box-shadow: 0 32px 80px rgba(0,0,0,0.8);
    animation: ad-lb-img-in 480ms var(--ad-ease-out) both;
}
@keyframes ad-lb-img-in {
    from { opacity: 0; transform: scale(0.92); }
    to   { opacity: 1; transform: scale(1); }
}
.ad-lb-close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 220ms ease, transform 220ms var(--ad-ease-out);
}
.ad-lb-close:hover { background: rgba(255,255,255,0.2); transform: rotate(90deg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .ad-s-shell { grid-template-columns: 1fr; gap: 32px; }
    .ad-s-aside { position: static; }
    .ad-s-thumbs { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
}
@media (max-width: 768px) {
    .ad-s-header { padding: 64px 20px 24px; }
    .ad-s-shell { padding: 32px 20px 60px; gap: 40px; }
    .ad-s-main { gap: 40px; }
    .ad-s-stage { border-radius: var(--ad-r-lg); }
    .ad-s-stage-nav { width: 36px; height: 36px; }
    .ad-s-thumbs { grid-template-columns: repeat(4, 1fr); }
    .ad-donate-btn { min-width: 0; width: 100%; }
    .ad-support-inner { padding: 28px 24px; }
    .ad-disclaimer { grid-template-columns: 1fr; padding: 20px 22px; gap: 12px; }
    .ad-s-meta-row { gap: 6px; }
    .ad-s-meta { font-size: 12px; padding: 4px 9px; }
    .ad-lb { padding: 20px; }
    .ad-lb-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}
