/* ═══ CASE PAGE ═══ */
html, body { overflow-x: clip; }

/* ─── Glass panel (used by sidebar cards on this page) ─── */
.glass-panel {
    background: rgba(11, 12, 21, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ─── Hero wrapper with ambient glow ─── */
.case-hero-wrap {
    position: relative;
    padding-bottom: 0;
}
.case-hero-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,0.12) 0%, rgba(59,130,246,0.04) 35%, transparent 70%);
    pointer-events: none;
}
.case-hero-wrap::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56,189,248,0.06) 0%, transparent 65%);
    pointer-events: none;
    clip-path: inset(0);
}

/* ─── Breadcrumb ─── */
.case-breadcrumb {
    position: relative;
    z-index: 2;
    padding: 5.5rem 0 0;
    max-width: 80rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.case-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    flex-wrap: wrap;
}
.case-breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.15s;
}
.case-breadcrumb a:hover { color: #fff; }
.case-breadcrumb .bc-sep {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
    opacity: 0.5;
}

/* ─── Page layout ─── */
.case-page-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 1023px) {
    .case-page-layout { grid-template-columns: 1fr; }
}
.case-page-left { min-width: 0; }
.case-tabs-inline {
    margin-top: 1.5rem;
    padding: 0;
}
.case-tabs-inline .case-tabs-bar {
    max-width: none;
    padding: 0;
    margin-left: -0.9rem;
    margin-right: -0.9rem;
}

/* ─── Hero ─── */
.case-hero {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 0;
}

.case-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(59,130,246,0.35);
    background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(59,130,246,0.04));
    font-size: 0.6rem;
    font-weight: 600;
    color: #60a5fa;
    text-transform: none;
    letter-spacing: 0.04em;
    box-shadow: 0 0 12px rgba(59,130,246,0.1);
    flex-shrink: 0;
}
.case-type-badge i { font-size: 0.55rem; }

.case-hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
    margin: 0 0 1.75rem;
}

.case-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.case-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}
.case-meta i { color: rgba(96,165,250,0.5); }
.case-meta-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: rgba(96,165,250,0.3);
    flex-shrink: 0;
}
.case-meta-lang {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}

/* Favorite button */
.case-favorite-btn {
    border: none;
    background: none;
    color: rgba(255,255,255,0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
    font-size: 0.75rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    white-space: nowrap;
}
.case-favorite-btn:hover { color: #60a5fa; }
.case-favorite-btn.active { color: #60a5fa; }
.case-favorite-btn.active i::before {
    content: "\f02e";
    font-weight: 900;
}

/* ─── Tabs ─── */
.case-tabs {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 1.5rem;
}
.case-tabs-bar {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.case-tab-btn {
    position: relative;
    padding: 0.75rem 1.5rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: all 0.2s;
    flex-shrink: 0;
}
.case-tab-btn:hover { color: rgba(255,255,255,0.65); }
.case-tab-btn.active {
    color: #fff;
    border-bottom-color: #2563eb;
}
.case-tab-btn .tab-lock {
    display: inline-flex;
    align-items: center;
    margin-left: 0.4rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.25);
}
.case-tab-btn .tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.4rem;
    font-size: 0.65rem;
    min-width: 1.3rem;
    height: 1.1rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: rgba(59,130,246,0.15);
    color: rgba(96,165,250,0.7);
    font-weight: 600;
}

.case-tab-panel { display: none; }
.case-tab-panel.active { display: block; }

/* ─── Article Body — typography for all TipTap default-profile elements ─── */
/* Covers everything the admin TipTap editor produces:
   headings (h1-h6), lists (ul/ol/li), blockquote, bold/italic/strike/underline,
   color, highlight (mark), link, media (img/figure), table, plus raw HTML
   from the source button (code, pre, hr, sub, sup). */
.case-body {
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Headings */
.case-body h1 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 2.75rem 0 1.1rem;
}
.case-body h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin: 2.5rem 0 1rem;
}
.case-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    margin: 2rem 0 0.8rem;
}
.case-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.35;
    margin: 1.75rem 0 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.case-body h5,
.case-body h6 {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 1.5rem 0 0.5rem;
}
.case-body h1:first-child,
.case-body h2:first-child,
.case-body h3:first-child,
.case-body h4:first-child { margin-top: 0; }

/* Paragraphs */
.case-body p { margin: 0 0 1.25rem; }

/* Lists — standard markers, blue ::marker */
.case-body ul,
.case-body ol {
    margin: 0 0 1.25rem;
    padding-left: 1.5rem;
}
.case-body ul { list-style: disc; }
.case-body ol { list-style: decimal; }
.case-body ul ul,
.case-body ol ol,
.case-body ul ol,
.case-body ol ul { margin: 0.4rem 0; }
.case-body ul ul { list-style: circle; }
.case-body ul ul ul { list-style: square; }
.case-body li {
    margin-bottom: 0.55rem;
    padding-left: 0.25rem;
}
.case-body li::marker { color: rgba(96,165,250,0.75); }
.case-body li > p { margin: 0.4rem 0; }
.case-body li > p:first-child { margin-top: 0; }
.case-body li > p:last-child { margin-bottom: 0; }

/* Inline emphasis */
.case-body strong,
.case-body b { color: #fff; font-weight: 700; }
.case-body em,
.case-body i { font-style: italic; }
.case-body u {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(96,165,250,0.5);
}
.case-body s,
.case-body del {
    text-decoration: line-through;
    color: rgba(255,255,255,0.45);
}
.case-body mark {
    background: rgba(250,204,21,0.18);
    color: #fef3c7;
    padding: 0.05em 0.3em;
    border-radius: 0.25em;
}
.case-body sub,
.case-body sup { font-size: 0.7em; line-height: 0; }

/* Links */
.case-body a {
    color: #60a5fa;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.case-body a:hover { color: #93c5fd; }

/* Inline code & code blocks */
.case-body code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.85em;
    padding: 0.1em 0.4em;
    border-radius: 0.35em;
    background: rgba(96,165,250,0.1);
    color: #93c5fd;
    border: 1px solid rgba(96,165,250,0.18);
}
.case-body pre {
    margin: 1.5rem 0;
    padding: 1.1rem 1.25rem;
    border-radius: 0.85rem;
    background: rgba(11,12,21,0.85);
    border: 1px solid rgba(255,255,255,0.06);
    overflow-x: auto;
    font-size: 0.82rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}
.case-body pre code {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

/* Images & figures — clickable lightbox cursor */
.case-body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 0.85rem;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    cursor: zoom-in;
    transition: opacity 0.2s;
}
.case-body img:hover { opacity: 0.9; }
.case-body figure { margin: 2rem 0; }
.case-body figure img { margin: 0 0 0.6rem; }
.case-body figcaption {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
    line-height: 1.5;
}

/* Tables */
.case-body table {
    width: 100%;
    margin: 1.75rem 0;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    overflow: hidden;
}
.case-body thead { background: rgba(59,130,246,0.08); }
.case-body th {
    padding: 0.7rem 0.95rem;
    text-align: left;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.case-body td {
    padding: 0.7rem 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.78);
    vertical-align: top;
}
.case-body tr:last-child td { border-bottom: none; }

/* Horizontal rule */
.case-body hr {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 2.5rem 0;
}

/* Blockquote — pull-quote style: full-width gradient hairlines + asymmetric
   quote icon biting the top line on the left. The .bq-icon span is injected
   client-side by case.js into every <blockquote> inside .case-body. */
.case-body blockquote {
    position: relative;
    margin: 2.5rem 0;
    padding: 2rem 1rem;
    border: none;
    background: none;
    border-radius: 0;
    text-align: center;
    font-style: normal;
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: #fff;
}
.case-body blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(96,165,250,0.5) 50%, transparent 100%);
}
.case-body blockquote::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(96,165,250,0.5) 50%, transparent 100%);
}
.case-body blockquote .bq-icon {
    position: absolute;
    top: 0;
    left: 1rem;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0B0C15;
    color: rgba(96,165,250,0.75);
    font-size: 0.8rem;
    padding: 0 0.45rem;
}
.case-body blockquote p { margin: 0; }
.case-body blockquote p + p { margin-top: 0.85rem; }

/* Paywall fade */
.case-body-fade {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}
.case-body-fade::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, #0B0C15);
    pointer-events: none;
}

/* ─── Paywall CTA — Circle Ring ─── */
.case-paywall {
    text-align: center;
    padding: 3.5rem 2rem;
    background: transparent;
}
.case-paywall-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1.5px solid rgba(96,165,250,0.18);
    background: rgba(96,165,250,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.4rem;
}
.case-paywall-icon i {
    font-size: 1rem;
    color: rgba(96,165,250,0.4);
}
.case-paywall-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.6rem;
}
.case-paywall-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
    max-width: 350px;
    margin: 0 auto 1.5rem;
    line-height: 1.55;
}
.case-paywall-action {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 2rem;
    border-radius: 0.6rem;
    background: #2563eb;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: filter;
    backface-visibility: hidden;
}
.case-paywall-action:hover { filter: brightness(1.12); }
.case-paywall-action:active { filter: brightness(0.85); }

/* ─── Sidebar ─── */
.case-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
@media (min-width: 1024px) {
    .case-sidebar {
        position: sticky;
        top: 5rem;
        align-self: start;
    }
}
.case-sidebar-speakers-mobile { display: none; }

.case-sidebar-card {
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 1rem;
    padding: 1.25rem;
    background: linear-gradient(160deg, rgba(11,12,21,0.8), rgba(15,30,60,0.2));
    backdrop-filter: blur(12px);
    transition: border-color 0.3s;
}
.case-sidebar-card:hover { border-color: rgba(255,255,255,0.12); }
.case-sidebar-card h4 {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(96,165,250,0.5);
    margin: 0 0 1.15rem;
}

/* Sidebar: speakers */
a.case-sidebar-speaker { text-decoration: none; color: inherit; }
.case-sidebar-speaker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.65rem;
    border-radius: 0.75rem;
    transition: background 0.2s;
}
.case-sidebar-speaker:hover { background: rgba(255,255,255,0.03); }
.case-sidebar-speaker:last-child { margin-bottom: 0; }
.case-sidebar-speaker img {
    width: 96px;
    height: 96px;
    border-radius: 0.75rem;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(59,130,246,0.2);
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.case-sidebar-speaker-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
}
.case-sidebar-speaker-position {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.35;
}
.case-sidebar-speaker-company {
    font-size: 0.85rem;
    color: #60a5fa;
    font-weight: 600;
    margin-top: 0.15rem;
}

/* Sidebar: materials */
.case-mat-lang-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 0.5rem;
    padding: 0.2rem;
}
.case-mat-lang-tab {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border: none;
    border-radius: 0.4rem;
    background: none;
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}
.mat-tab-flag { font-size: 1.3rem; line-height: 1; }
.mat-tab-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.mat-tab-lang { font-size: 0.75rem; font-weight: 600; }
.mat-tab-type { font-size: 0.6rem; font-weight: 400; opacity: 0.6; }
.case-mat-lang-tab:hover { color: rgba(255,255,255,0.7); }
.case-mat-lang-tab.active {
    background: rgba(59,130,246,0.12);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,0.2);
}
.case-mat-actions {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.case-mat-action-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1.1rem;
    border-radius: 0.6rem;
    border: none;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
    cursor: pointer;
}
.case-mat-action-btn:hover { padding-left: 1.4rem; padding-right: 1.4rem; filter: brightness(1.12); }
.case-mat-action-btn:active { filter: brightness(0.85); }
.case-mat-action-btn.red { background: #dc2626; }
/* Loading state */
.case-mat-action-btn.loading {
    pointer-events: none;
    filter: brightness(0.9);
    position: relative;
}
.case-mat-action-btn.loading > * { opacity: 0; }
.case-mat-action-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mat-btn-spin 0.6s linear infinite;
}
@keyframes mat-btn-spin {
    to { transform: rotate(360deg); }
}
.case-mat-action-btn > i:first-child {
    font-size: 0.85rem;
    width: 1.2rem;
    text-align: center;
    flex-shrink: 0;
}
.case-mat-action-meta {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.55;
}

/* AI translate prompt */
.case-mat-ai-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 1rem 2.4rem;
    gap: 1.1rem;
}
.case-mat-ai-icon {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1.5px solid rgba(139,92,246,0.18);
    background: rgba(139,92,246,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3rem;
}
.case-mat-ai-icon i { font-size: 1rem; color: rgba(167,139,250,0.4); }
.case-mat-ai-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}
.case-mat-ai-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
}

/* Materials: guest state — Circle Ring */
.case-mat-guest-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.2rem 1rem 2.4rem;
    gap: 1.1rem;
}
.case-mat-guest-ring {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    border: 1.5px solid rgba(96,165,250,0.18);
    background: rgba(96,165,250,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3rem;
}
.case-mat-guest-ring i { font-size: 1rem; color: rgba(96,165,250,0.4); }
.case-mat-guest-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    letter-spacing: -0.01em;
}
.case-mat-guest-cta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
}
.case-mat-guest-cta a {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}
.case-mat-guest-cta a:hover { color: #93c5fd; }

/* Sidebar: tags */
.case-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.case-sidebar-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255,255,255,0.02);
}
.case-sidebar-tag:hover {
    border-color: rgba(59,130,246,0.35);
    color: #60a5fa;
    background: rgba(59,130,246,0.08);
    box-shadow: 0 0 8px rgba(59,130,246,0.1);
}

/* ─── Passport Tab ─── */
.case-passport-section { margin-bottom: 2rem; }
.case-passport-section:last-child { margin-bottom: 0; }
.case-passport-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.case-passport-section-title i { color: #60a5fa; font-size: 0.85rem; }
.case-passport-text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
}
.case-passport-text p { margin-bottom: 0.75rem; }
.case-passport-text p:last-child { margin-bottom: 0; }
.case-passport-text strong { color: rgba(255,255,255,0.85); }

/* Classifiers */
.case-passport-classifiers {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.case-classifier-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.case-classifier-group-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
}
.case-classifier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.case-classifier-tag {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 0.4rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: all 0.2s;
}
.case-classifier-tag:hover {
    border-color: rgba(59,130,246,0.25);
    color: rgba(255,255,255,0.8);
}

/* ─── Tags (inline, above comments) ─── */
.case-tags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Comments: moved to public/css/comments.css (shared across the site). */

/* ─── Video button ─── */
.case-mat-action-btn.case-video-btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

/* ─── CTA Section ─── */
.case-cta {
    text-align: center;
    padding: 3rem 1rem 4rem;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.case-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
}
.case-cta p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    margin: 0 0 1.5rem;
}
.case-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
    background: rgba(255,255,255,0.03);
}
.case-cta-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.25);
    box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

/* ─── Mobile adjustments ─── */
@media (max-width: 767px) {
    .case-hero-wrap::before { width: 200%; }
    .case-hero-wrap::after { display: none; }
    .case-breadcrumb { padding-top: 4.5rem; }
    .case-hero { padding: 1rem 1rem 0; }
    .case-hero h1 { font-size: 1.35rem; margin-bottom: 1.25rem; }
    .case-type-badge { font-size: 0.55rem; padding: 0.25rem 0.7rem; }

    .case-hero-bottom { padding-bottom: 1.25rem; }
    .case-meta { font-size: 0.75rem; gap: 0.5rem; }
    .case-meta-lang { display: none; }
    .case-favorite-text { display: none; }
    .case-favorite-btn { font-size: 0.85rem; padding: 0; }

    .case-sidebar-card.case-sidebar-speakers-mobile {
        display: block;
        margin-top: 1.25rem;
        margin-bottom: 1rem;
    }
    .case-sidebar .case-sidebar-speakers-desktop { display: none; }

    .case-tabs { padding: 0 1rem; margin-top: 1rem; }
    .case-tabs-bar {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .case-tabs-bar::-webkit-scrollbar { display: none; }
    .case-tab-btn { padding: 0.65rem 0.85rem; font-size: 0.78rem; }

    .case-tabs-inline { margin-top: 1rem; }
    .case-tabs-inline .case-tabs-bar {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .case-tabs-inline .case-tabs-bar::-webkit-scrollbar { display: none; }

    .case-page-layout { gap: 2rem; }

    .case-body { font-size: 0.88rem; line-height: 1.7; }
    .case-body h2 { font-size: 1.15rem; margin: 2rem 0 0.75rem; }
    .case-body h3 { font-size: 0.95rem; }

    .case-paywall { padding: 2.5rem 1.5rem; }
    .case-paywall-title { font-size: 0.85rem; }
    .case-paywall-text { font-size: 0.78rem; }

    .case-sidebar-card { padding: 1rem; border-radius: 0.85rem; }
    .case-sidebar-card h4 { font-size: 0.6rem; }

    .case-mat-lang-tab { padding: 0.4rem 0.5rem; gap: 0.35rem; }
    .mat-tab-flag { font-size: 1.1rem; }
    .mat-tab-lang { font-size: 0.68rem; }
    .mat-tab-type { font-size: 0.55rem; }

    .case-mat-action-btn { font-size: 0.78rem; padding: 0.7rem 0.9rem; }
    .case-mat-action-btn:hover { padding-left: 1.1rem; padding-right: 1.1rem; }
    .case-mat-action-meta { font-size: 0.6rem; }

    .case-mat-ai-prompt { padding: 1.5rem 0.75rem 1.8rem; }
    .case-mat-ai-icon { width: 3rem; height: 3rem; }
    .case-mat-ai-icon i { font-size: 0.85rem; }
    .case-mat-ai-title { font-size: 0.82rem; }
    .case-mat-ai-desc { font-size: 0.72rem; }

    .case-mat-guest-body { padding: 1.5rem 0.75rem 1.8rem; }
    .case-mat-guest-ring { width: 3rem; height: 3rem; }
    .case-mat-guest-ring i { font-size: 0.85rem; }
    .case-mat-guest-title { font-size: 0.82rem; }
    .case-mat-guest-cta { font-size: 0.72rem; }

    .case-sidebar-speaker { gap: 0.6rem; }
    .case-sidebar-speaker img { width: 36px; height: 36px; }
    .case-sidebar-speaker-name { font-size: 0.8rem; }
    .case-sidebar-speaker-position { font-size: 0.68rem; }

    .case-sidebar-tag { font-size: 0.65rem; padding: 0.25rem 0.55rem; }

    /* Comment mobile overrides moved to public/css/comments.css */

    .case-cta { padding: 2rem 1rem 3rem; }
    .case-cta h2 { font-size: 1.2rem; }
    .case-cta p { font-size: 0.82rem; }
    .case-cta-btn { font-size: 0.8rem; padding: 0.7rem 1.5rem; }

    footer { padding: 2rem 1rem !important; }
}

/* Comments: moved to public/css/comments.css (shared across the site). */
