/**
 * Institutional Stylesheet — Deep Navy (#0F2537) & Editorial Red (#C8102E).
 *
 * @package BilgeEpaper
 * @author  BİLGE Digital Publishing Solutions
 * @version 1.0.0
 */

:root {
    --bilge-navy: #0F2537;
    --bilge-navy-dark: #091724;
    --bilge-navy-light: #183650;
    --bilge-red: #C8102E;
    --bilge-red-hover: #A30B24;
    --bilge-gold: #D97706;

    --bg-primary: #FFFFFF;
    --bg-secondary: #F4F6F9;
    --bg-elevated: #FFFFFF;
    --text-primary: #0F2537;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-card: 0 8px 24px rgba(15, 37, 55, 0.07);
    --shadow-cover: 0 18px 38px rgba(9, 23, 36, 0.24);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
}

html[data-theme="dark"] {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-elevated: #1C2128;
    --text-primary: #F0F6FC;
    --text-secondary: #C9D1D9;
    --text-muted: #8B949E;
    --border-color: #30363D;
    --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-cover: 0 20px 44px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.2s ease, color 0.2s ease;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* --------------------------------------------------------------------------
   Top Institutional Utility Bar & Language Switcher (TR | RU | KZ | AZ)
   -------------------------------------------------------------------------- */
.top-utility-bar {
    background-color: var(--bilge-navy-dark);
    color: #E2E8F0;
    font-size: 0.8125rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-utility-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.35rem 0;
}

.utility-left,
.utility-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #CBD5E1;
    font-weight: 500;
    transition: color 0.15s ease;
}

.portal-link:hover {
    color: #FFFFFF;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 5px;
    overflow: hidden;
}

.lang-switcher a {
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #CBD5E1;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s ease, color 0.15s ease;
}

.lang-switcher a:last-child {
    border-right: none;
}

.lang-switcher a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
}

.lang-switcher a.active {
    background: var(--bilge-red);
    color: #FFFFFF;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 0.24rem 0.65rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------------------------------------
   Main Editorial Masthead Header
   -------------------------------------------------------------------------- */
.site-masthead {
    background-color: var(--bilge-navy);
    color: #FFFFFF;
    border-bottom: 4px solid var(--bilge-red);
    padding: 1.25rem 0;
}

.masthead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-mark {
    width: 48px;
    height: 48px;
    background: var(--bilge-red);
    color: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
}

.brand-titles h1 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    line-height: 1.2;
}

.brand-titles p {
    font-size: 0.82rem;
    color: #CBD5E1;
    margin-top: 0.15rem;
}

.masthead-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sso-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #F8FAFC;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.15s ease;
    font-family: inherit;
    white-space: nowrap;
}

.btn-red {
    background-color: var(--bilge-red);
    color: #FFFFFF;
}

.btn-red:hover {
    background-color: var(--bilge-red-hover);
}

.btn-navy {
    background-color: var(--bilge-navy);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-navy:hover {
    background-color: var(--bilge-navy-light);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background-color: var(--bg-secondary);
}

.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.24);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

/* --------------------------------------------------------------------------
   Tier & Language Badges
   -------------------------------------------------------------------------- */
.tier-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tier-public,
.tier-free {
    background-color: #DCFCE7;
    color: #166534;
}

.tier-standard {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.tier-vip {
    background: linear-gradient(135deg, #C8102E 0%, #991B1B 100%);
    color: #FFFFFF;
}

.lang-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    background-color: var(--bilge-navy);
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   Hero Featured Edition Banner
   -------------------------------------------------------------------------- */
.hero-banner {
    background: linear-gradient(135deg, var(--bilge-navy) 0%, var(--bilge-navy-dark) 100%);
    color: #FFFFFF;
    padding: 2.75rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.75rem;
    align-items: center;
}

.hero-cover-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-cover-link {
    display: block;
    width: 100%;
    max-width: 265px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.55);
    border: 3px solid rgba(255, 255, 255, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #FAF8F5;
    aspect-ratio: 1 / 1.414;
}

.hero-cover-link:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.7);
}

.hero-cover-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bilge-red);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.28rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.25;
    color: #FFFFFF;
}

.hero-desc {
    color: #CBD5E1;
    font-size: 1rem;
    max-width: 680px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
    color: #E2E8F0;
    font-size: 0.88rem;
    font-weight: 500;
}

.hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-cta-group .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Archive Kiosk Filter Bar & Grid
   -------------------------------------------------------------------------- */
.archive-section {
    padding: 2.5rem 0 4rem;
    flex: 1;
}

.archive-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.archive-header h2 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-primary);
}

.archive-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-top: 0.2rem;
}

.filter-bar {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 0.85rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
}

.filter-control {
    width: 100%;
    padding: 0.58rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-elevated);
    color: var(--text-primary);
    font-size: 0.875rem;
    font-family: inherit;
}

.filter-control:focus {
    outline: none;
    border-color: var(--bilge-red);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
}

.editions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 1.75rem;
}

.edition-card {
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.edition-card:hover {
    transform: translateY(-4px);
    border-color: var(--bilge-red);
}

.edition-cover-box {
    position: relative;
    background-color: var(--bg-secondary);
    aspect-ratio: 1 / 1.414;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.edition-cover-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.edition-card:hover .edition-cover-box img {
    transform: scale(1.03);
}

.card-badges-top {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.edition-card-body {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.55rem;
}

.edition-issue-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}

.edition-card-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.edition-card-stats {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.edition-card-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    margin-top: 0.55rem;
}

/* --------------------------------------------------------------------------
   Interactive Digital Newspaper Reader (/read/{id})
   -------------------------------------------------------------------------- */
.reader-shell {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #111827;
    color: #F8FAFC;
}

.reader-toolbar {
    background-color: var(--bilge-navy);
    border-bottom: 3px solid var(--bilge-red);
    padding: 0.55rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    z-index: 30;
}

.reader-toolbar-group {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.reader-edition-info {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-left: 0.4rem;
}

.reader-edition-title {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    font-weight: 700;
    color: #FFFFFF;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.r-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.08);
    color: #F1F5F9;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    padding: 0.38rem 0.68rem;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.r-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
}

.r-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.r-btn.active {
    background: var(--bilge-red);
    border-color: var(--bilge-red);
    color: #FFFFFF;
}

.r-btn-red {
    background: var(--bilge-red);
    border-color: var(--bilge-red);
    color: #FFFFFF;
}

.r-btn-red:hover {
    background: var(--bilge-red-hover) !important;
}

.zoom-indicator,
.page-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    color: #E2E8F0;
    padding: 0 0.45rem;
    min-width: 58px;
    text-align: center;
}

/* Reader Workspace (Sidebar + Stage) */
.reader-workspace {
    display: flex;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.reader-workspace[data-stage-bg="light"] {
    background-color: #E2E8F0;
}

.reader-workspace[data-stage-bg="sepia"] {
    background-color: #E6DEC8;
}

.reader-workspace[data-stage-bg="dark"] {
    background-color: #0D1117;
}

/* Thumbnail Sidebar */
.reader-sidebar {
    width: 230px;
    background-color: #091724;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    overflow-y: auto;
    padding: 1rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: margin-left 0.25s ease;
    z-index: 20;
    flex-shrink: 0;
}

.reader-sidebar.collapsed {
    margin-left: -230px;
}

.thumb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem;
    border-radius: 6px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.thumb-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.thumb-item.active {
    border-color: var(--bilge-red);
    background: rgba(200, 16, 46, 0.16);
}

.thumb-preview {
    width: 120px;
    aspect-ratio: 1 / 1.414;
    background: #FFFFFF;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.thumb-preview canvas,
.thumb-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 37, 55, 0.76);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
    padding: 0.25rem;
}

.thumb-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #CBD5E1;
}

/* Main Stage & Page-Flip Spread Container */
.reader-stage {
    flex: 1;
    position: relative;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3.25rem;
}

.stage-nav-arrow {
    position: fixed;
    top: 54%;
    transform: translateY(-50%);
    width: 46px;
    height: 68px;
    background: rgba(15, 37, 55, 0.85);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 15;
    transition: background 0.15s ease, transform 0.15s ease;
}

.stage-nav-arrow:hover:not(:disabled) {
    background: var(--bilge-red);
    transform: translateY(-50%) scale(1.05);
}

.stage-nav-arrow:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.stage-nav-prev {
    left: 1.25rem;
}

.stage-nav-next {
    right: 1.25rem;
}

.newspaper-spread {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    perspective: 1800px;
    transform-origin: center center;
    transition: transform 0.2s ease;
}

.newspaper-page-slot {
    background: #FFFFFF;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    min-width: 320px;
    min-height: 450px;
}

.newspaper-spread.mode-double .newspaper-page-slot.slot-left {
    border-right: 1px solid #CBD5E1;
    box-shadow: -12px 20px 42px rgba(0, 0, 0, 0.4), inset -14px 0 24px -12px rgba(0, 0, 0, 0.22);
}

.newspaper-spread.mode-double .newspaper-page-slot.slot-right {
    box-shadow: 12px 20px 42px rgba(0, 0, 0, 0.4), inset 14px 0 24px -12px rgba(0, 0, 0, 0.22);
}

.newspaper-spread.flipping-next .newspaper-page-slot {
    animation: pageFlipNext 0.36s ease;
}

.newspaper-spread.flipping-prev .newspaper-page-slot {
    animation: pageFlipPrev 0.36s ease;
}

@keyframes pageFlipNext {
    0% { transform: rotateY(8deg) scale(0.985); opacity: 0.82; }
    100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

@keyframes pageFlipPrev {
    0% { transform: rotateY(-8deg) scale(0.985); opacity: 0.82; }
    100% { transform: rotateY(0deg) scale(1); opacity: 1; }
}

.newspaper-page-slot canvas,
.newspaper-page-slot img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Free Preview Strip at bottom of Reader */
.free-preview-strip {
    background: linear-gradient(90deg, var(--bilge-navy-dark) 0%, var(--bilge-navy) 100%);
    border-top: 2px solid var(--bilge-red);
    color: #F8FAFC;
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    z-index: 25;
}

/* --------------------------------------------------------------------------
   Smart Paywall Gate Overlay
   -------------------------------------------------------------------------- */
.paywall-overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 23, 36, 0.84);
    backdrop-filter: blur(7px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.paywall-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.paywall-modal {
    width: 100%;
    max-width: 540px;
    background: #FFFFFF;
    color: #0F2537;
    border-radius: 12px;
    border-top: 5px solid var(--bilge-red);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65);
    padding: 2.25rem 2rem;
    text-align: center;
    transform: translateY(12px);
    transition: transform 0.22s ease;
}

.paywall-overlay.active .paywall-modal {
    transform: translateY(0);
}

.paywall-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #FEF2F2;
    color: var(--bilge-red);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
}

.paywall-modal h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--bilge-navy);
    margin: 0.5rem 0 0.75rem;
}

.paywall-modal p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.paywall-features {
    list-style: none;
    text-align: left;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.85rem;
    color: #1E293B;
}

.paywall-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.paywall-features li::before {
    content: "+";
    color: var(--bilge-red);
    font-weight: 900;
}

.paywall-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.paywall-actions .btn-red {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.96rem;
    font-weight: 700;
}

.paywall-close-btn {
    background: none;
    border: none;
    color: #64748B;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.4rem;
    font-family: inherit;
}

.paywall-close-btn:hover {
    color: var(--bilge-navy);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--bilge-navy-dark);
    color: #94A3B8;
    border-top: 3px solid var(--bilge-red);
    padding: 2rem 0;
    font-size: 0.85rem;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive Breakpoints */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-eyebrow,
    .hero-meta,
    .hero-cta-group {
        justify-content: center;
    }
    .hero-title {
        font-size: 1.65rem;
    }
    .reader-sidebar {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
    }
}
