/* ==========================================================
   SAKTO BALITA - Public theme
   Deep Navy · White · Red accents (+ logo yellow)
   ========================================================== */
:root {
  --navy: #0b1f3a;
  --navy-2: #12305a;
  --navy-3: #1c3f70;
  --red: #d62828;
  --red-dark: #b01e1e;
  --yellow: #f5c518;
  --ink: #1b2433;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #f4f6f9;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 31, 58, .08);
  --shadow-lg: 0 12px 30px rgba(11, 31, 58, .16);
  --font-head: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--navy-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }
img { max-width: 100%; }
h1, h2, h3, h4, .serif { font-family: var(--font-head); }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* Buttons */
.btn-sakto { background: var(--red); border: 1px solid var(--red); color: #fff; font-weight: 600; }
.btn-sakto:hover, .btn-sakto:focus { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border: 1px solid var(--navy); font-weight: 600; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-icon { color: #fff; border: 0; font-size: 1.15rem; padding: .35rem .55rem; }
.btn-icon:hover { color: var(--yellow); }
.btn-link-light { color: #fff; font-weight: 600; }
.btn-link-light:hover { color: var(--yellow); }

/* Top bar */
.topbar { background: #071628; color: #c9d3e3; font-size: .8rem; padding: .35rem 0; }
.topbar .sep { margin: 0 .5rem; opacity: .4; }
.topbar-social a { color: #c9d3e3; margin-left: .85rem; }
.topbar-social a:hover { color: var(--yellow); }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; gap: 1rem; padding: .55rem .75rem; }
.brand img { height: 58px; width: auto; display: block; border-radius: 4px; transition: transform .25s; }
.brand:hover img { transform: scale(1.03); }
.tagline { color: #fff; font-family: var(--font-head); font-style: italic; font-size: .95rem; border-left: 3px solid var(--red); padding-left: .75rem; opacity: .9; }
.header-search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.header-search .form-control { border-radius: 30px; padding-right: 2.6rem; border: 0; background: rgba(255,255,255,.12); color: #fff; }
.header-search .form-control::placeholder { color: #b9c5d8; }
.header-search .form-control:focus { background: #fff; color: var(--ink); box-shadow: 0 0 0 3px rgba(214,40,40,.35); }
.header-search .btn { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: #b9c5d8; }
.header-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.header-search + .header-actions { margin-left: .5rem; }
.btn-user { color: #fff; display: flex; align-items: center; gap: .4rem; border: 0; }
.btn-user:hover, .btn-user:focus { color: #fff; }
.avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,.6); }
@media (max-width: 991.98px) { .brand { margin: 0 auto; } .brand img { height: 46px; } .header-actions { margin-left: 0; } }

/* Navigation */
.main-nav { background: #fff; border-bottom: 3px solid var(--red); box-shadow: var(--shadow); position: sticky; top: var(--header-h, 74px); z-index: 1020; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-list a { display: block; padding: .8rem .62rem; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .02em; color: var(--navy); white-space: nowrap; position: relative; }
.nav-list a::after { content: ''; position: absolute; left: .62rem; right: .62rem; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .25s; }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active, .nav-list a:hover { color: var(--red); }
.mobile-menu { background: var(--navy); color: #fff; max-width: 300px; }
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav a { display: block; color: #fff; padding: .7rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); font-weight: 600; }
.mobile-nav a i { width: 22px; color: var(--red); }

/* Breaking ticker */
.breaking-bar { background: var(--navy-2); color: #fff; overflow: hidden; font-size: .9rem; }
.breaking-bar.urgent { background: var(--red); }
.breaking-label { background: var(--red); color: #fff; font-weight: 800; text-transform: uppercase; padding: .55rem .9rem; white-space: nowrap; position: relative; z-index: 2; letter-spacing: .04em; font-size: .78rem; }
.breaking-bar.urgent .breaking-label { background: #7a0f0f; }
.breaking-label i { animation: pulse 1.2s infinite; }
.ticker { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { color: #fff; padding: .55rem 1.5rem; font-weight: 500; position: relative; }
.ticker-track a::before { content: '•'; position: absolute; left: .4rem; color: var(--yellow); }
.ticker-track a:hover { color: var(--yellow); }
.ticker-track a.is-urgent { font-weight: 800; }
.urgent-dot { display: inline-block; width: 8px; height: 8px; background: var(--yellow); border-radius: 50%; margin-right: .4rem; animation: pulse 1s infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 50% { opacity: .35; } }

/* Section headings */
.section { padding: 2rem 0; }
.section-title { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--navy); margin-bottom: 1.25rem; }
.section-title h2 { font-size: 1.15rem; font-weight: 900; text-transform: uppercase; margin: 0; padding: .5rem 1rem .5rem 0; position: relative; color: var(--navy); letter-spacing: .02em; }
.section-title h2::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 70px; height: 4px; background: var(--red); }
.section-title h2 .brand-word { color: var(--red); }
.section-title .more { font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--red); }
.section-title .more:hover { color: var(--navy); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { border-color: rgba(255,255,255,.25); }
.section-dark .section-title h2 { color: #fff; }
.section-dark a { color: #fff; }
.section-dark a:hover { color: var(--yellow); }

/* Badges */
.cat-badge { display: inline-block; background: var(--cat, var(--red)); color: #fff !important; font-size: .68rem; font-weight: 800; text-transform: uppercase; padding: .2rem .55rem; border-radius: 3px; letter-spacing: .05em; margin-bottom: .45rem; }
.cat-badge:hover { filter: brightness(1.1); }
.badge-premium { display: inline-flex; align-items: center; gap: .25rem; background: linear-gradient(135deg, #f5c518, #e09b00); color: #3b2a00; font-size: .66rem; font-weight: 800; text-transform: uppercase; padding: .18rem .5rem; border-radius: 3px; letter-spacing: .04em; }
.badge-premium.on-image { position: absolute; top: .6rem; right: .6rem; box-shadow: 0 2px 6px rgba(0,0,0,.3); }

/* Featured hero */
.hero { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy); min-height: 440px; display: flex; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.hero:hover img { transform: scale(1.05); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,58,0) 25%, rgba(11,31,58,.92) 90%); }
.hero .hero-body { position: relative; z-index: 2; margin-top: auto; padding: 2rem; color: #fff; }
.hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 900; line-height: 1.2; margin: .25rem 0 .75rem; }
.hero h1 a { color: #fff; }
.hero h1 a:hover { color: var(--yellow); }
.hero p { font-size: 1.02rem; color: #dbe3ef; max-width: 720px; }
.hero .meta { font-size: .82rem; color: #c3cfe0; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero .badge-premium { position: absolute; top: 1rem; right: 1rem; z-index: 3; }
@media (max-width: 767.98px) { .hero { min-height: 340px; } .hero .hero-body { padding: 1.25rem; } .hero p { display: none; } }

/* Cards */
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-card .thumb, .news-list .thumb, .video-card .thumb, .album-card .thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #dfe4ec; }
.news-card .thumb img, .news-list .thumb img, .video-card .thumb img, .album-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .thumb img, .news-list:hover .thumb img, .video-card:hover .thumb img, .album-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.news-card .body .meta, .news-list .body .meta { width: 100%; }
.news-card h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.35; margin: 0 0 .5rem; }
.news-card h3 a, .news-list h3 a, .news-compact h4 a { color: var(--ink); }
.news-card h3 a:hover, .news-list h3 a:hover, .news-compact h4 a:hover { color: var(--red); }
.meta { font-size: .76rem; color: var(--muted); display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-top: auto; }
.news-list { display: flex; gap: 1rem; background: #fff; border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow); margin-bottom: 1rem; }
.news-list .thumb { flex: 0 0 38%; border-radius: 8px; }
.news-list .body { display: flex; flex-direction: column; align-items: flex-start; }
.news-list h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.35; margin: 0 0 .4rem; }
.news-list p { color: var(--muted); font-size: .9rem; margin-bottom: .5rem; }
@media (max-width: 575.98px) { .news-list { flex-direction: column; } .news-list .thumb { flex-basis: auto; } .news-card h3 { font-size: .92rem; } .news-card .body { padding: .7rem .75rem .8rem; } }
.news-compact { display: flex; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.news-compact:last-child { border-bottom: 0; }
.news-compact .thumb { flex: 0 0 92px; height: 66px; border-radius: 6px; overflow: hidden; }
.news-compact .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-compact h4 { font-size: .9rem; font-weight: 700; line-height: 1.35; margin: 0 0 .25rem; font-family: var(--font-body); }

/* Sidebar widgets */
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; margin-bottom: 1.5rem; }
.widget-title { font-size: .95rem; font-weight: 900; text-transform: uppercase; color: var(--navy); border-bottom: 2px solid var(--line); padding-bottom: .5rem; margin-bottom: .5rem; position: relative; }
.widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--red); }
.ranked { counter-reset: rank; list-style: none; padding: 0; margin: 0; }
.ranked li { counter-increment: rank; display: flex; gap: .75rem; padding: .65rem 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.ranked li:last-child { border-bottom: 0; }
.ranked li::before { content: counter(rank); font-family: var(--font-head); font-size: 1.6rem; font-weight: 900; color: var(--red); line-height: 1; min-width: 28px; }
.ranked a { color: var(--ink); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.ranked a:hover { color: var(--red); }
.trend-tabs .nav-link { font-weight: 800; font-size: .8rem; text-transform: uppercase; color: var(--muted); border: 0; border-bottom: 3px solid transparent; padding: .5rem .75rem; }
.trend-tabs .nav-link.active { color: var(--red); border-bottom-color: var(--red); background: none; }

/* Category blocks */
.cat-block .lead-item .thumb { aspect-ratio: 16/9; }

/* Video */
.video-section { background: linear-gradient(180deg, var(--navy) 0%, #071628 100%); }
.video-card { background: rgba(255,255,255,.04); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .25s, background .25s; }
.section:not(.section-dark) .video-card { background: #fff; box-shadow: var(--shadow); }
.video-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.video-card .thumb { aspect-ratio: 16/9; }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(214,40,40,.92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; transition: transform .25s; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.video-card:hover .play { transform: translate(-50%, -50%) scale(1.12); }
.video-card .duration { position: absolute; right: .5rem; bottom: .5rem; background: rgba(0,0,0,.8); color: #fff; font-size: .72rem; padding: .1rem .4rem; border-radius: 3px; font-weight: 600; }
.lock { position: absolute; top: .55rem; left: .55rem; width: 34px; height: 34px; border-radius: 50%; background: rgba(11,31,58,.88); color: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: .9rem; z-index: 2; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.video-card .body { padding: .8rem .9rem; }
.video-card h3 { font-size: .98rem; font-weight: 700; line-height: 1.35; margin: .35rem 0; font-family: var(--font-body); }
.section-dark .video-card .meta { color: #a7b4c8; }
.featured-video { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); height: auto !important; }
.featured-video .ratio { background: #000; }
.player-wrap { border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.player-wrap video { width: 100%; display: block; max-height: 75vh; background: #000; }
.locked-player { position: relative; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background-size: cover; background-position: center; }
.locked-player::before { content: ''; position: absolute; inset: 0; background: rgba(7,22,40,.82); backdrop-filter: blur(3px); }
.locked-player > div { position: relative; z-index: 2; padding: 1rem; }
.locked-player .icon { font-size: 2.6rem; color: var(--yellow); }
.video-filter .btn { border-radius: 30px; font-weight: 600; font-size: .85rem; }

/* Magazine */
.mag-card { text-align: center; }
.mag-card .cover { position: relative; display: block; aspect-ratio: 3/4; border-radius: 6px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 1px rgba(0,0,0,.05); transition: transform .3s, box-shadow .3s; background: #ddd; perspective: 800px; }
.mag-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.mag-card .cover::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 12px; background: linear-gradient(90deg, rgba(0,0,0,.25), transparent); z-index: 1; }
.mag-card:hover .cover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 34px rgba(0,0,0,.32); }
.mag-card .read { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(214,40,40,.95); color: #fff; padding: .55rem; font-weight: 700; font-size: .85rem; transform: translateY(100%); transition: transform .3s; }
.mag-card:hover .read { transform: translateY(0); }
.mag-card .body { padding-top: .8rem; }
.mag-card h3 { font-size: .98rem; font-weight: 700; margin: .35rem 0 .2rem; }
.mag-card .meta { justify-content: center; }
.mag-shelf { background: linear-gradient(180deg, #fff 0%, #eef1f6 100%); }

/* Flipbook reader */
.flip-reader { background: radial-gradient(circle at 50% 30%, #2a4a7a 0%, #0b1f3a 70%); border-radius: var(--radius); padding: 1rem; position: relative; min-height: 70vh; display: flex; flex-direction: column; }
.flip-reader:fullscreen { border-radius: 0; padding: 1rem 2rem; }
.flip-toolbar { display: flex; align-items: center; justify-content: center; gap: .4rem; flex-wrap: wrap; color: #fff; padding: .5rem; }
.flip-toolbar .btn { color: #fff; background: rgba(255,255,255,.1); border: 0; border-radius: 6px; min-width: 40px; }
.flip-toolbar .btn:hover { background: var(--red); }
.flip-toolbar .page-indicator { min-width: 110px; text-align: center; font-weight: 600; font-size: .9rem; }
.flip-toolbar input[type=number] { width: 70px; }
.flip-stage { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; position: relative; }
.flip-zoom { transform-origin: center top; transition: transform .25s; width: 100%; max-width: min(1100px, calc((100vh - 190px) * 1.41)); margin: 0 auto; }
#flipbook { margin: 0 auto; }
#flipbook .page { background: #fff; overflow: hidden; }
#flipbook .page canvas, #flipbook .page img { width: 100%; height: 100%; display: block; }
#flipbook .page.--loading::after { content: 'Loading…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #999; }
.flip-loading { color: #fff; text-align: center; padding: 4rem 1rem; }
.flip-loading .progress { max-width: 320px; margin: 1rem auto; height: 6px; background: rgba(255,255,255,.15); }
.flip-loading .progress-bar { background: var(--red); }
.flip-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.2rem; }
.flip-nav:hover { background: var(--red); }
.flip-nav.prev { left: .5rem; } .flip-nav.next { right: .5rem; }

/* Photo gallery */
.masonry { column-count: 4; column-gap: 1rem; }
@media (max-width: 1199.98px) { .masonry { column-count: 3; } }
@media (max-width: 767.98px) { .masonry { column-count: 2; column-gap: .6rem; } }
.masonry-item { break-inside: avoid; margin-bottom: 1rem; position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; background: #dfe4ec; display: block; box-shadow: var(--shadow); }
.masonry-item img { width: 100%; display: block; transition: transform .4s, filter .4s; }
.masonry-item:hover img { transform: scale(1.04); filter: brightness(.85); }
.masonry-item .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .75rem .6rem; color: #fff; font-size: .8rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .3s; }
.masonry-item:hover .cap { opacity: 1; }
.album-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; transition: transform .25s; }
.album-card:hover { transform: translateY(-4px); }
.album-card .count { position: absolute; right: .55rem; bottom: .55rem; background: rgba(0,0,0,.7); color: #fff; font-size: .75rem; padding: .15rem .5rem; border-radius: 20px; }
.album-card .body { padding: .8rem .9rem; }
.album-card h3 { font-size: .98rem; font-weight: 700; margin: .3rem 0 0; font-family: var(--font-body); }
.photo-mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: .6rem; }
.photo-mosaic a { position: relative; border-radius: 8px; overflow: hidden; display: block; }
.photo-mosaic a:first-child { grid-row: span 2; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-mosaic a:hover img { transform: scale(1.06); }
.photo-mosaic .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.8)); font-weight: 700; font-size: .9rem; }
@media (max-width: 767.98px) { .photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px 120px; } .photo-mosaic a:first-child { grid-column: span 2; grid-row: auto; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,12,24,.96); z-index: 2000; display: none; flex-direction: column; color: #fff; }
.lightbox.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; font-size: .9rem; }
.lb-top .btn { color: #fff; font-size: 1.15rem; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; touch-action: pan-y; }
.lb-stage img { max-width: 92vw; max-height: 78vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.6); transition: opacity .25s; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.25rem; }
.lb-btn:hover { background: var(--red); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lb-caption { text-align: center; padding: .75rem 1rem 1.25rem; font-size: .92rem; }
.lb-caption .credit { color: #9fb0c8; font-size: .8rem; }

/* Article */
.article-header h1 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 900; line-height: 1.2; color: var(--navy); margin: .5rem 0 1rem; }
.article-header .lead { font-size: 1.15rem; color: #444; font-family: var(--font-body); }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .75rem 0; margin: 1rem 0 1.25rem; }
.article-meta .author { color: var(--ink); font-weight: 700; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: .5rem; }
.article-hero img { width: 100%; display: block; }
.figure-caption { font-size: .8rem; color: var(--muted); margin-bottom: 1.5rem; }
.article-body { font-size: 1.1rem; line-height: 1.85; color: #222; font-family: Georgia, 'Times New Roman', serif; }
.article-body p { margin-bottom: 1.3rem; }
.article-body h2, .article-body h3 { margin: 2rem 0 1rem; color: var(--navy); }
.article-body img { border-radius: 8px; height: auto; margin: 1rem 0; }
.article-body blockquote { border-left: 4px solid var(--red); padding: .5rem 0 .5rem 1.25rem; font-style: italic; color: #333; font-size: 1.2rem; margin: 1.5rem 0; }
.article-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 8px; }
.article-body .ql-align-center { text-align: center; } .article-body .ql-align-right { text-align: right; } .article-body .ql-align-justify { text-align: justify; }
.article-body a { color: var(--red); text-decoration: underline; }
.article-body li[data-list="bullet"] { list-style-type: disc; }
.article-body .ql-video { width: 100%; aspect-ratio: 16/9; }
.article-body > p:first-child::first-letter { font-family: var(--font-head); float: left; font-size: 3.6rem; line-height: .9; padding: .3rem .5rem 0 0; color: var(--red); font-weight: 900; }
.share-bar { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.share-bar .btn { border-radius: 30px; font-size: .82rem; font-weight: 600; }
.btn-fb { background: #1877f2; color: #fff; } .btn-fb:hover { background: #0f5fcb; color: #fff; }
.btn-ms { background: linear-gradient(45deg, #0084ff, #a033ff); color: #fff; } .btn-ms:hover { color: #fff; filter: brightness(1.08); }
.btn-x { background: #000; color: #fff; } .btn-x:hover { color: #fff; background: #333; }
.btn-fav.active { background: var(--red); color: #fff; border-color: var(--red); }
.tags a { display: inline-block; background: #eef1f6; color: var(--navy); padding: .25rem .7rem; border-radius: 20px; font-size: .8rem; margin: 0 .3rem .4rem 0; font-weight: 600; }
.tags a:hover { background: var(--red); color: #fff; }
.paywall { position: relative; text-align: center; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: var(--radius); padding: 2.5rem 1.5rem; margin: 1rem 0 2rem; box-shadow: var(--shadow-lg); }
.paywall::before { content: ''; position: absolute; left: 0; right: 0; top: -120px; height: 120px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.paywall .icon { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 1.6rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.paywall h3 { font-weight: 900; }
.paywall a:not(.btn) { color: var(--yellow); }
.investigative-flag { background: #111; color: var(--yellow); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 3px; }
.comment { display: flex; gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment .avatar-sm { border-color: var(--line); flex: 0 0 auto; }
.comment .name { font-weight: 700; font-size: .9rem; }
.comment .time { font-size: .75rem; color: var(--muted); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--red); z-index: 2000; width: 0; transition: width .1s; }

/* Newsletter band */
.newsletter-band { background: linear-gradient(120deg, var(--red) 0%, #8f1515 100%); color: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.newsletter-band::after { content: '\f0e0'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -10px; bottom: -40px; font-size: 10rem; opacity: .08; }
.newsletter-band h2 { font-weight: 900; }
.newsletter-band .form-control { border: 0; padding: .75rem 1rem; }
.newsletter-band .btn { background: var(--navy); color: #fff; font-weight: 700; padding: .75rem 1.25rem; }
.newsletter-band .btn:hover { background: #000; }

/* Pricing */
.pricing-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 2rem 1.5rem; height: 100%; display: flex; flex-direction: column; border: 2px solid transparent; transition: transform .25s, box-shadow .25s; position: relative; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.highlight { border-color: var(--red); }
.pricing-card .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; padding: .3rem .9rem; border-radius: 20px; letter-spacing: .05em; }
.pricing-card .price { font-family: var(--font-head); font-size: 2.6rem; font-weight: 900; color: var(--navy); }
.pricing-card .price small { font-size: .95rem; color: var(--muted); font-family: var(--font-body); font-weight: 500; }
.pricing-card ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.pricing-card li { padding: .4rem 0; font-size: .92rem; }
.pricing-card li i { color: #16a34a; margin-right: .4rem; }
.pay-method { border: 2px solid var(--line); border-radius: var(--radius); padding: 1rem; cursor: pointer; transition: border-color .2s, background .2s; display: block; height: 100%; }
.pay-method:hover { border-color: var(--navy-3); }
.btn-check:checked + .pay-method { border-color: var(--red); background: #fff5f5; }
.qr-box { background: #fff; border: 1px dashed #c7cfdb; border-radius: var(--radius); padding: 1rem; text-align: center; }
.qr-box img { max-width: 220px; }

/* Auth & dashboard */
.auth-wrap { max-width: 460px; margin: 3rem auto; }
.auth-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 2rem; border-top: 5px solid var(--red); }
.auth-card h1 { font-size: 1.5rem; font-weight: 900; color: var(--navy); }
.dash-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.dash-side .nav-link { color: var(--ink); font-weight: 600; border-radius: 8px; padding: .6rem .8rem; }
.dash-side .nav-link i { width: 22px; color: var(--muted); }
.dash-side .nav-link.active { background: var(--navy); color: #fff; }
.dash-side .nav-link.active i { color: var(--yellow); }
.member-status { border-radius: var(--radius); padding: 1.25rem; color: #fff; background: linear-gradient(135deg, #4b5563, #374151); }
.member-status.premium { background: linear-gradient(135deg, #0b1f3a, #1c3f70); border: 2px solid var(--yellow); }
.member-status .label { font-weight: 900; letter-spacing: .08em; font-size: 1.1rem; }
.avatar-lg { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: var(--shadow); }
.card-soft { background: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Ads */
.ad-slot { text-align: center; margin: 1.25rem auto; max-width: 100%; }
.ad-slot img { max-width: 100%; height: auto; border-radius: 6px; }
.ad-label { display: block; font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #9aa3b2; margin-bottom: .25rem; }
.ad-header { margin: .75rem auto; }

/* Page header */
.page-head { background: var(--navy); color: #fff; padding: 2rem 0; margin-bottom: 1.5rem; border-bottom: 4px solid var(--red); position: relative; overflow: hidden; }
.page-head h1 { font-weight: 900; margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.page-head p { margin: .4rem 0 0; color: #c3cfe0; }
.page-head .crumbs { font-size: .8rem; color: #9fb0c8; margin-bottom: .4rem; }
.page-head .crumbs a { color: #c3cfe0; }

/* Footer */
.site-footer { background: #071628; color: #c9d3e3; padding: 3rem 0 1rem; margin-top: 3rem; border-top: 4px solid var(--red); }
.footer-logo { max-width: 220px; border-radius: 4px; margin-bottom: .75rem; }
.footer-tagline { font-family: var(--font-head); font-style: italic; color: #fff; }
.site-footer h5 { color: #fff; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a, .footer-contact a { color: #c9d3e3; font-size: .9rem; }
.footer-links a:hover, .footer-contact a:hover { color: var(--yellow); }
.footer-contact li { font-size: .88rem; margin-bottom: .4rem; }
.footer-contact i { width: 20px; color: var(--red); }
.footer-social a { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; align-items: center; justify-content: center; margin-right: .4rem; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: #8193ad; }
.footer-bottom a { color: #8193ad; }
.back-to-top { position: fixed; right: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 1040; }
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* Misc */
.error-page .error-code { font-family: var(--font-head); font-size: 6rem; font-weight: 900; color: var(--red); line-height: 1; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 2.5rem; color: #c3cad6; margin-bottom: .75rem; }
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: none; }
.pagination .page-link { color: var(--navy); }
.pagination .active .page-link { background: var(--red); border-color: var(--red); }
.toast-sakto { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%) translateY(150%); background: var(--navy); color: #fff; padding: .7rem 1.2rem; border-radius: 30px; box-shadow: var(--shadow-lg); z-index: 3000; transition: transform .3s; font-weight: 600; font-size: .9rem; }
.toast-sakto.show { transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Visitor counter */
.visitor-counter { background: linear-gradient(135deg, #0b1f3a 0%, #12305a 100%); color: #fff; }
.visitor-counter .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,.15); }
.vc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: .75rem; }
.vc-item { background: rgba(255,255,255,.07); border-radius: 8px; padding: .7rem .35rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.vc-item i { color: var(--yellow); font-size: .9rem; }
.vc-item.live i { color: #22c55e; font-size: .6rem; animation: pulse 1.4s infinite; }
.vc-num { font-family: var(--font-head); font-size: 1.25rem; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vc-label { font-size: .62rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; color: #b9c5d8; font-weight: 600; }
.vc-item:last-child { grid-column: 1 / -1; background: rgba(214,40,40,.25); }
.vc-item:last-child .vc-num { font-size: 1.8rem; color: var(--yellow); }
.vc-since { font-size: .72rem; color: #9fb0c8; text-align: center; margin-top: .6rem; }
