/* ================================================================
   Fixlith Hub — User Stories & Experiences Styles v2.0
   Shared across: dtc_code, hub, story pages
   ================================================================ */

/* ====== User Stories Grid ====== */
.fh-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    max-width: 100%;
}

.fh-story-card {
    display: flex;
    flex-direction: column;
    background: var(--glass-bg, rgba(255,255,255,.04));
    border: 1px solid var(--glass-border, rgba(255,255,255,.08));
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.fh-story-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent, #00a8e8);
    box-shadow: 0 8px 24px rgba(0,168,232,.12);
}

.fh-story-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fh-story-car {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent, #00a8e8);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.fh-story-year {
    font-size: 11px;
    color: var(--text-muted, #8896a4);
    background: rgba(255,255,255,.06);
    padding: 2px 8px;
    border-radius: 6px;
}

.fh-story-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.35;
    color: var(--text-primary, #e8ecf1);
}

.fh-story-excerpt {
    font-size: 13px;
    color: var(--text-dim, #6b7a8d);
    line-height: 1.5;
    flex: 1;
    margin: 0 0 12px;
}

.fh-story-footer {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted, #8896a4);
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 10px;
}

.fh-story-diff {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}
.fh-story-diff.diff-easy        { background: rgba(76,175,80,.15);  color: #66bb6a; }
.fh-story-diff.diff-medium      { background: rgba(255,193,7,.15);  color: #ffc107; }
.fh-story-diff.diff-hard        { background: rgba(255,152,0,.15);  color: #ffa726; }
.fh-story-diff.diff-professional{ background: rgba(244,67,54,.15);  color: #ef5350; }

/* ====== Promo Banner ====== */
.fh-story-promo {
    display: flex;
    gap: 16px;
    align-items: center;
    background: linear-gradient(135deg, rgba(0,168,232,.1), rgba(0,230,118,.06));
    border: 1px solid rgba(0,168,232,.18);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 24px;
}
.fh-story-promo-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.fh-story-promo-text strong {
    font-size: 15px;
    display: block;
    margin-bottom: 3px;
    color: var(--accent, #00a8e8);
}
.fh-story-promo-text p {
    font-size: 13px;
    color: var(--text-dim, #6b7a8d);
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 480px) {
    .fh-story-promo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 16px;
    }
    .fh-story-promo-icon { font-size: 28px; }
}

/* ====== Story / Experience Form ====== */
.fh-story-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 100%;
    box-sizing: border-box;
}

.fh-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.fh-form-row-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
@media (max-width: 768px) {
    .fh-form-row-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .fh-form-row-2,
    .fh-form-row-4 { grid-template-columns: 1fr; }
}

.fh-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.fh-form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #a5b4c3);
}
.fh-form-group label .req { color: #ef5350; }

.fh-form-group input,
.fh-form-group textarea,
.fh-form-group select {
    width: 100%;
    box-sizing: border-box;
    background: var(--glass-bg, rgba(255,255,255,.04));
    border: 1px solid var(--glass-border, rgba(255,255,255,.1));
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--text-primary, #e8ecf1);
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    min-width: 0;
}
.fh-form-group input:focus,
.fh-form-group textarea:focus,
.fh-form-group select:focus {
    outline: none;
    border-color: var(--accent, #00a8e8);
    box-shadow: 0 0 0 3px rgba(0,168,232,.12);
}
.fh-form-group input::placeholder,
.fh-form-group textarea::placeholder {
    color: rgba(136,150,164,.5);
}
.fh-form-group textarea {
    resize: vertical;
    min-height: 90px;
}
.fh-form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238896a4' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.fh-form-group select option {
    background: #1a2332;
    color: #e8ecf1;
}
.fh-form-group input[type="number"] {
    -moz-appearance: textfield;
}
.fh-form-group input[type="number"]::-webkit-inner-spin-button,
.fh-form-group input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    height: auto;
}

.fh-story-submit {
    background: linear-gradient(135deg, #00a8e8, #00e676);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    align-self: flex-start;
    white-space: nowrap;
}
.fh-story-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,168,232,.3);
}
.fh-story-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.fh-form-note {
    font-size: 11px;
    color: var(--text-muted, #8896a4);
    margin: 0;
    line-height: 1.5;
}

/* Difficulty badges (standalone) */
.diff-easy         { color: #66bb6a; }
.diff-medium       { color: #ffc107; }
.diff-hard         { color: #ffa726; }
.diff-professional { color: #ef5350; }


/* ================================================================
   STORY DETAIL PAGE v2.0 — Premium Magazine Layout
   ================================================================ */

/* ====== HERO SECTION ====== */
.st-hero {
    position: relative;
    padding: 48px 0 40px;
    margin-bottom: 0;
    overflow: hidden;
}
.st-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,168,232,.08) 0%, rgba(118,75,162,.06) 50%, rgba(0,230,118,.04) 100%);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.st-hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,168,232,.08) 0%, transparent 70%);
    pointer-events: none;
}
.st-hero-inner {
    position: relative;
    z-index: 1;
}

/* Hero top row */
.st-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

/* Language Switcher */
.st-lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 3px;
}
.st-lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #8896a4);
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.st-lang-btn:hover {
    color: var(--text-primary, #e8ecf1);
    background: rgba(255,255,255,.06);
}
.st-lang-btn.active {
    background: linear-gradient(135deg, rgba(0,168,232,.2), rgba(124,77,255,.15));
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,168,232,.15);
    pointer-events: none;
}
.st-lang-flag {
    font-size: 14px;
    line-height: 1;
}
.st-lang-code {
    letter-spacing: .5px;
}

@media (max-width: 480px) {
    .st-lang-switch {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    .st-hero-top {
        flex-direction: column-reverse;
    }
}

/* DTC Code Badge */
.st-code-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(0,168,232,.15), rgba(0,168,232,.08));
    border: 1px solid rgba(0,168,232,.25);
    color: #00a8e8;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: all .2s;
    letter-spacing: .5px;
}
.st-code-badge:hover {
    background: linear-gradient(135deg, rgba(0,168,232,.25), rgba(0,168,232,.15));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,168,232,.15);
}
.st-code-badge-icon {
    font-size: 14px;
}

/* Title */
.st-title {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 20px;
    color: var(--text-primary, #e8ecf1);
    max-width: 100%;
    letter-spacing: -.02em;
}

/* Author Line */
.st-author-line {
    display: flex;
    align-items: center;
    gap: 12px;
}
.st-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a8e8, #7c4dff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,168,232,.25);
}
.st-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.st-author-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary, #e8ecf1);
}
.st-author-details {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted, #8896a4);
}
.st-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted, #8896a4);
    opacity: .6;
}

/* ====== STATS STRIP ====== */
.st-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.06);
    border-radius: 16px;
    overflow: hidden;
    margin: -20px 0 32px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.st-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    background: var(--card-bg, rgba(15,23,36,.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background .2s;
}
.st-stat:hover {
    background: rgba(15,23,36,.95);
}
.st-stat-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border-radius: 10px;
}
.st-stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.st-stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-muted, #8896a4);
    font-weight: 500;
}
.st-stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #e8ecf1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ====== ARTICLE BODY ====== */
.st-article {
    max-width: 100%;
    margin: 0;
    padding-bottom: 40px;
}

.st-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary, #a5b4c3);
}
.st-body h2,
.st-body h3 {
    color: var(--text-primary, #e8ecf1);
    margin: 36px 0 14px;
    line-height: 1.3;
    position: relative;
    padding-left: 16px;
}
.st-body h2 {
    font-size: 22px;
    font-weight: 700;
}
.st-body h3 {
    font-size: 18px;
    font-weight: 600;
}
.st-body h2::before,
.st-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, #00a8e8, #00e676);
}
.st-body p {
    margin: 0 0 18px;
}
.st-body ul,
.st-body ol {
    margin: 0 0 18px;
    padding-left: 24px;
}
.st-body li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.st-body strong {
    color: var(--text-primary, #e8ecf1);
    font-weight: 600;
}
.st-body blockquote {
    border-left: 3px solid #00a8e8;
    margin: 24px 0;
    padding: 16px 20px;
    background: rgba(0,168,232,.05);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-secondary, #a5b4c3);
}
.st-body code {
    background: rgba(255,255,255,.06);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: #00e676;
}

/* Highlight box for tips/summary */
.st-body .highlight-box,
.st-body .tip-box {
    background: linear-gradient(135deg, rgba(0,168,232,.08), rgba(0,230,118,.05));
    border: 1px solid rgba(0,168,232,.15);
    border-radius: 12px;
    padding: 18px 20px;
    margin: 24px 0;
}

/* ====== AUTHOR CARD ====== */
.st-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0,168,232,.06), rgba(124,77,255,.04));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    transition: border-color .2s;
}
.st-author-card:hover {
    border-color: rgba(0,168,232,.2);
}
.st-author-card-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a8e8, #7c4dff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(0,168,232,.2);
}
.st-author-card-info {
    min-width: 0;
}
.st-author-card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--text-muted, #8896a4);
    margin: 0 0 4px;
    font-weight: 500;
}
.st-author-card-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary, #e8ecf1);
    margin: 0 0 4px;
}
.st-author-card-meta {
    font-size: 13px;
    color: var(--text-dim, #6b7a8d);
    margin: 0;
}

/* ====== NAVIGATION ====== */
.st-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.06);
    gap: 12px;
}
.st-nav-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent, #00a8e8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(0,168,232,.08);
    border: 1px solid rgba(0,168,232,.15);
    transition: all .2s;
}
.st-nav-back:hover {
    background: rgba(0,168,232,.15);
    transform: translateX(-3px);
}
.st-nav-back svg {
    flex-shrink: 0;
}
.st-share-btn {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: var(--text-secondary, #a5b4c3);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
}
.st-share-btn:hover {
    background: rgba(255,255,255,.1);
    color: var(--text-primary, #e8ecf1);
}

/* ====== CTA SECTION ====== */
.st-cta {
    position: relative;
    margin-top: 40px;
    padding: 32px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,168,232,.1) 0%, rgba(124,77,255,.08) 50%, rgba(0,230,118,.06) 100%);
    border: 1px solid rgba(0,168,232,.15);
}
.st-cta-glow {
    position: absolute;
    top: -60%;
    left: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,168,232,.12) 0%, transparent 60%);
    pointer-events: none;
}
.st-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.st-cta-logo {
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    flex-shrink: 0;
}
.st-cta-text {
    flex: 1;
    min-width: 200px;
}
.st-cta-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary, #e8ecf1);
    margin: 0 0 4px;
}
.st-cta-text p {
    font-size: 13px;
    color: var(--text-muted, #8896a4);
    margin: 0;
}
.st-cta-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .st-hero {
        padding: 32px 0;
    }
    .st-title {
        font-size: 22px;
    }
    .st-stats {
        grid-template-columns: 1fr 1fr;
        margin-top: -12px;
    }
    .st-body {
        font-size: 15px;
    }
    .st-body h2 { font-size: 19px; }
    .st-body h3 { font-size: 16px; }
    .st-cta-content {
        flex-direction: column;
        text-align: center;
    }
    .st-cta-btns {
        width: 100%;
        justify-content: center;
    }
    .st-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .st-nav-back,
    .st-share-btn {
        text-align: center;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .st-hero {
        padding: 24px 0;
    }
    .st-stats {
        grid-template-columns: 1fr;
    }
    .st-author-card {
        flex-direction: column;
        text-align: center;
    }
    .st-cta {
        padding: 24px 20px;
    }
}


/* ====== Legacy support — old story detail classes ====== */
.fh-story-full {
    max-width: 720px;
    margin: 0 auto;
}
.fh-story-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin: 16px 0;
    font-size: 13px;
    color: var(--text-muted, #8896a4);
}
.fh-story-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-muted, #8896a4);
}
.fh-story-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--text-secondary, #a5b4c3);
}
.fh-story-body h3 {
    font-size: 18px;
    margin: 28px 0 12px;
    color: var(--text-primary, #e8ecf1);
}
.fh-story-body p {
    margin: 0 0 16px;
}
.fh-story-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.fh-story-info-item {
    background: var(--glass-bg, rgba(255,255,255,.04));
    border: 1px solid var(--glass-border, rgba(255,255,255,.08));
    border-radius: 10px;
    padding: 14px;
    text-align: center;
}
.fh-story-info-item .label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-muted, #8896a4);
    display: block;
    margin-bottom: 4px;
}
.fh-story-info-item .value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #e8ecf1);
}


/* ====== Light Theme Overrides ====== */
[data-theme="light"] .fh-story-card {
    background: #fff;
    border-color: rgba(0,0,0,.08);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
[data-theme="light"] .fh-story-card:hover {
    border-color: var(--accent, #0084C7);
    box-shadow: 0 8px 24px rgba(0,132,199,.10);
}
[data-theme="light"] .fh-story-header {
    border-bottom-color: rgba(0,0,0,.06);
}
[data-theme="light"] .fh-story-car {
    color: var(--accent, #0084C7);
}
[data-theme="light"] .fh-story-title {
    color: #1A2332;
}
[data-theme="light"] .fh-story-excerpt {
    color: #5A6577;
}
[data-theme="light"] .fh-story-footer {
    border-top-color: rgba(0,0,0,.06);
}
[data-theme="light"] .fh-story-author {
    color: #5A6577;
}
[data-theme="light"] .fh-story-cost {
    color: #5A6577;
}
[data-theme="light"] .fh-story-year {
    color: #8B95A5;
}

/* Story page (st-* classes) light theme */
/* Hero */
[data-theme="light"] .st-hero {
    background: linear-gradient(135deg, #f0f4f8, #e8eef5);
}
[data-theme="light"] .st-hero-bg {
    opacity: 0.03;
    border-bottom-color: rgba(0,0,0,.06);
}
[data-theme="light"] .st-title {
    color: #1A2332;
}
[data-theme="light"] .st-code-badge {
    background: rgba(0,132,199,.08);
    border-color: rgba(0,132,199,.15);
    color: #0084C7;
}
[data-theme="light"] .st-code-badge-icon {
    color: #0084C7;
}
[data-theme="light"] .st-author-name {
    color: #1A2332;
}
[data-theme="light"] .st-author-details {
    color: #5A6577;
}
[data-theme="light"] .st-dot {
    background: #8B95A5;
}
/* Language switcher */
[data-theme="light"] .st-lang-switch {
    background: rgba(0,0,0,.03);
    border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .st-lang-btn {
    color: #5A6577;
}
[data-theme="light"] .st-lang-btn:hover {
    color: #1A2332;
    background: rgba(0,0,0,.04);
}
[data-theme="light"] .st-lang-btn.active {
    background: var(--accent, #0084C7);
    color: #fff;
}
/* Stats strip */
[data-theme="light"] .st-stats {
    background: rgba(0,0,0,.04);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
[data-theme="light"] .st-stat {
    background: #fff;
    border-color: rgba(0,0,0,.06);
}
[data-theme="light"] .st-stat:hover {
    background: #f5f7fa;
}
[data-theme="light"] .st-stat-icon {
    background: rgba(0,0,0,.04);
}
[data-theme="light"] .st-stat-label {
    color: #8B95A5;
}
[data-theme="light"] .st-stat-value {
    color: #1A2332;
}
/* Article body text */
[data-theme="light"] .st-article {
    color: #3A4555;
}
[data-theme="light"] .st-body {
    color: #3A4555;
}
[data-theme="light"] .st-body h2,
[data-theme="light"] .st-body h3 {
    color: #1A2332;
}
[data-theme="light"] .st-body strong {
    color: #1A2332;
}
[data-theme="light"] .st-body blockquote {
    color: #5A6577;
    background: rgba(0,132,199,.04);
}
[data-theme="light"] .st-body code {
    background: rgba(0,0,0,.05);
    color: #0084C7;
}
[data-theme="light"] .st-body .highlight-box,
[data-theme="light"] .st-body .tip-box {
    background: linear-gradient(135deg, rgba(0,132,199,.06), rgba(26,157,59,.04));
    border-color: rgba(0,132,199,.12);
}
/* Author card */
[data-theme="light"] .st-author-card {
    background: #fff;
    border-color: rgba(0,0,0,.08);
}
[data-theme="light"] .st-author-card-name {
    color: #1A2332;
}
[data-theme="light"] .st-author-card-label {
    color: #8B95A5;
}
[data-theme="light"] .st-author-card-meta {
    color: #5A6577;
}
/* Navigation */
[data-theme="light"] .st-nav {
    border-top-color: rgba(0,0,0,.06);
}
[data-theme="light"] .st-nav-back {
    color: var(--accent, #0084C7);
    background: rgba(0,132,199,.06);
    border-color: rgba(0,132,199,.12);
}
[data-theme="light"] .st-nav-back:hover {
    background: rgba(0,132,199,.12);
}
[data-theme="light"] .st-share-btn {
    background: rgba(0,0,0,.04);
    border-color: rgba(0,0,0,.08);
    color: #5A6577;
}
[data-theme="light"] .st-share-btn:hover {
    background: rgba(0,132,199,.08);
    color: var(--accent, #0084C7);
}
/* CTA */
[data-theme="light"] .st-cta {
    background: linear-gradient(135deg, #f0f7fc, #e8f4fd);
    border-color: rgba(0,132,199,.15);
}
[data-theme="light"] .st-cta-text h3 {
    color: #1A2332;
}
[data-theme="light"] .st-cta-text p {
    color: #5A6577;
}

/* Community section on DTC pages */
[data-theme="light"] .fh-section h2 {
    color: #1A2332;
}
[data-theme="light"] .fh-section p {
    color: #5A6577;
}

/* Story promo banner */
[data-theme="light"] .fh-story-promo {
    background: linear-gradient(135deg, rgba(0,132,199,.06), rgba(26,157,59,.04));
    border-color: rgba(0,132,199,.15);
}
[data-theme="light"] .fh-story-promo-text strong {
    color: var(--accent, #0084C7);
}
[data-theme="light"] .fh-story-promo-text p {
    color: #5A6577;
}
