/* ---- CSS Custom Properties ---- */
:root {
    --navy: #002868;
    --red: #B22234;
    --gold: #c9a84c;
    --off-white: #f7f6f2;
    --text: #1a1a2e;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

/* ---- Global ---- */
html, body {
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
    margin: 0;
    padding: 0;
}

h1, h2 {
    font-family: var(--font-heading);
}

h3, h4, h5, h6 {
    font-family: var(--font-body);
    font-weight: 700;
}

a, .btn-link {
    color: var(--navy);
}

/* ---- Buttons ---- */
.btn-primary {
    color: #fff;
    background-color: var(--red);
    border-color: #8b1a27;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #8b1a27;
    border-color: #6e1420;
    color: #fff;
}

.btn-outline-light:hover {
    color: var(--navy);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--red);
}

/* ---- Section Utilities ---- */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--off-white);
}

.section-dark {
    background: var(--navy);
    color: #fff;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--navy);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 0.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ---- Page Hero (inner pages) ---- */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, #1a3a8a 100%);
    color: #fff;
    padding: 4.5rem 1.5rem 3.5rem;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.15rem;
    opacity: 0.88;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---- Home Hero ---- */
.hero {
    background: linear-gradient(135deg, #0d1f5c 0%, var(--navy) 50%, #1a0a2e 100%);
    color: #fff;
    padding: 6rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.2rem;
    opacity: 0.88;
    max-width: 560px;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---- Trust Bar ---- */
.trust-bar {
    background: var(--navy);
    color: #fff;
    padding: 1rem 1.5rem;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
}

.trust-list li::before {
    content: '✓ ';
    color: var(--gold);
}

/* ---- Build + Host Deal Band ---- */
.build-host-band {
    background: linear-gradient(135deg, #1a0a2e 0%, #002868 60%, #1a3a8a 100%);
    padding: 2.5rem 1.5rem;
    border-top: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
}

.build-host-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.build-host-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    flex-shrink: 0;
}

.build-host-price span {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(201,168,76,0.8);
}

.build-host-copy {
    color: #fff;
    text-align: left;
    max-width: 420px;
}

.build-host-copy strong {
    font-size: 1.15rem;
    display: block;
    margin-bottom: 0.4rem;
    color: #fff;
}

.build-host-copy p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.78);
    margin: 0;
    line-height: 1.55;
}

.build-host-btn {
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .build-host-inner {
        flex-direction: column;
        gap: 1.25rem;
    }
    .build-host-copy {
        text-align: center;
    }
    .build-host-price {
        font-size: 2.75rem;
    }
}

/* ---- About Page Typography ---- */
.about-lead {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.about-body {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ---- Service Cards ---- */
.service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.service-card-link:hover {
    color: inherit;
}

.service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    display: block;
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

/* ---- Pricing Cards ---- */
.pricing-card {
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border-color: var(--red);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-name {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.25rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin: 0.75rem 0 0.25rem;
}

.plan-price-unit {
    font-size: 1rem;
    font-weight: 400;
    color: #595959;
}

.plan-desc {
    font-size: 0.9rem;
    color: #595959;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 2rem;
    text-align: left;
    flex: 1;
}

.plan-features li {
    padding: 0.4rem 0;
    font-size: 0.93rem;
    color: #444;
    border-bottom: 1px solid #f2f2f2;
}

.plan-features li::before {
    content: '✓ ';
    color: #26b050;
    font-weight: 700;
}

/* ---- Tech Stack Tags ---- */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- Experience Badge ---- */
.exp-badge {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(178, 34, 52, 0.4);
    flex-shrink: 0;
}

.exp-num {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
}

.exp-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.2;
    padding: 0 0.5rem;
}

/* ---- Contact Form ---- */
.contact-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

/* ---- Validation ---- */
h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

/* ---- Error boundary ---- */
.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* ---- Employee Debug Page ---- */
.debug-section {
    margin-bottom: 2rem;
}

.debug-section-title {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201,168,76,0.3);
    padding-bottom: 0.35rem;
}

.debug-card {
    background: #161b22;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    height: 100%;
}

.debug-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8b949e;
    margin-bottom: 0.35rem;
}

.debug-value {
    font-size: 0.92rem;
    color: #e6edf3;
    line-height: 1.4;
    word-break: break-all;
}

.debug-mono {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.debug-table-wrap {
    overflow-x: auto;
    border: 1px solid #30363d;
    border-radius: 8px;
}

.debug-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    color: #e6edf3;
}

.debug-table th {
    background: #161b22;
    color: #8b949e;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.6rem 1rem;
    text-align: left;
    border-bottom: 1px solid #30363d;
}

.debug-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #21262d;
    vertical-align: top;
}

.debug-table tr:last-child td {
    border-bottom: none;
}

.debug-table tr:hover td {
    background: #1c2128;
}

/* ---- Booking Page ---- */
.booking-iframe-wrap {
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    min-height: 780px;
    background: #f9f9f9;
}

/* ---- Comic Blog ---- */
.comic-masthead {
    background: var(--red);
    color: #fff;
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    border-bottom: 6px solid var(--navy);
    position: relative;
    overflow: hidden;
}

.comic-masthead::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1px);
    background-size: 8px 8px;
    pointer-events: none;
}

.comic-series-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 4px 4px 0 var(--navy);
    margin: 0.25rem 0;
    position: relative;
}

.comic-issue-line {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.9;
    margin: 0.2rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.comic-episode-title {
    font-family: 'Bangers', cursive;
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    letter-spacing: 0.03em;
    color: var(--gold);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    margin: 0.5rem 0 0.25rem;
    position: relative;
}

.comic-strip-wrap {
    border: 4px solid var(--navy);
    overflow: hidden;
    background: #fef9e7;
}

.comic-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 3px solid var(--navy);
}

.comic-panel {
    border-right: 3px solid var(--navy);
    border-bottom: 3px solid var(--navy);
    min-height: 280px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fef9e7;
    overflow: hidden;
}

.comic-panel:nth-child(3n) {
    border-right: none;
}

.comic-panel.dotted::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(180,140,60,0.3) 1.5px, transparent 1.5px);
    background-size: 7px 7px;
    pointer-events: none;
}

.comic-panel-caption {
    background: var(--navy);
    color: #fff;
    font-family: 'Bangers', cursive;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.5rem;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.comic-panel-art {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.65rem;
    position: relative;
}

.speech-bubble {
    background: #fff;
    border: 2.5px solid #111;
    border-radius: 1rem;
    padding: 0.45rem 0.75rem;
    font-family: 'Bangers', cursive;
    font-size: 0.88rem;
    letter-spacing: 0.025em;
    position: relative;
    max-width: 93%;
    text-align: center;
    line-height: 1.3;
    margin-top: 0.4rem;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #111;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #fff;
    z-index: 1;
}

.comic-zap {
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    color: var(--gold);
    text-shadow: 2px 2px 0 var(--red), -1px -1px 0 #000;
    letter-spacing: 0.04em;
    display: block;
    text-align: center;
    transform: rotate(-4deg);
    line-height: 1.1;
}

.comic-info-section {
    border: 4px solid var(--navy);
    border-top: none;
    background: #fff;
    overflow: hidden;
}

.comic-info-header {
    background: var(--navy);
    color: var(--gold);
    font-family: 'Bangers', cursive;
    font-size: 1.15rem;
    letter-spacing: 0.1em;
    padding: 0.6rem 1rem;
    text-align: center;
}

.comic-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.comic-info-box {
    padding: 1.5rem;
    border-right: 2px solid #e0e0e0;
}

.comic-info-box:last-child {
    border-right: none;
}

.comic-info-box h4 {
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--red);
    margin-bottom: 0.6rem;
}

.comic-info-box p,
.comic-info-box li {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

.comic-info-box ul {
    padding-left: 1.25rem;
    margin-bottom: 0;
}

.comic-next-issue {
    background: var(--gold);
    text-align: center;
    padding: 0.9rem 1rem;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: var(--navy);
    border: 4px solid var(--navy);
    border-top: none;
}

@media (max-width: 768px) {
    .comic-panel-grid {
        grid-template-columns: 1fr;
    }

    .comic-panel {
        border-right: none;
    }

    .comic-panel:nth-child(3n) {
        border-right: none;
    }

    .comic-panel:last-child {
        border-bottom: none;
    }

    .comic-info-grid {
        grid-template-columns: 1fr;
    }

    .comic-info-box {
        border-right: none;
        border-bottom: 2px solid #e0e0e0;
    }

    .comic-info-box:last-child {
        border-bottom: none;
    }

    .comic-issue-line {
        gap: 0.75rem;
    }
}

/* ===== BLOG INDEX — COMIC CARDS ===== */
.comic-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.comic-card {
    background: #fff;
    border: 4px solid var(--navy);
    border-radius: 4px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.comic-card-link:hover .comic-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.comic-card-issue {
    font-family: 'Bangers', cursive;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    color: var(--gold);
    background: var(--navy);
    display: inline-block;
    padding: 0.2rem 0.75rem;
    border-radius: 2px;
    align-self: center;
}

.comic-card-art {
    font-size: 3rem;
    line-height: 1;
    margin: 0.5rem 0;
}

.comic-card-title {
    font-family: 'Bangers', cursive;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--navy);
    line-height: 1.2;
}

.comic-card-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 0;
}

.comic-card-read {
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--red);
    display: block;
    margin-top: auto;
}

/* ===== COMIC ISSUE SIDEBAR ===== */
.comic-sidebar {
    background: var(--navy);
    border: 4px solid var(--gold);
    border-radius: 4px;
    overflow: hidden;
    position: sticky;
    top: 1.5rem;
}

.comic-sidebar-header {
    background: var(--gold);
    color: var(--navy);
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    letter-spacing: 0.12em;
    padding: 0.6rem 1rem;
    text-align: center;
}

.comic-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comic-sidebar-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.comic-sidebar-list li a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 0.875rem;
    line-height: 1.4;
}

.comic-sidebar-list li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

.comic-sidebar-active a {
    background: rgba(201,168,76,0.15) !important;
    color: var(--gold) !important;
    font-weight: 600;
}

.csn-num {
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    color: var(--gold);
    flex-shrink: 0;
    line-height: 1.2;
}

.comic-sidebar-active .csn-num {
    color: var(--gold);
}

.csn-title {
    flex: 1;
}

.comic-sidebar-back {
    display: block;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: color 0.15s ease;
}

.comic-sidebar-back:hover {
    color: var(--gold);
}

@media (max-width: 991px) {
    .comic-sidebar {
        position: static;
        margin-top: 2rem;
    }
}
