/* ── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────────────────────────
   Extracted from additional CSS (exact values used in production)         */
:root {
  --bg:          #004B5E;
  --bg-nav:      #003D4D;
  --bg-follow:   #0a1020;
  --bg-dropdown: rgba(0,75,94,.92);
  --ink:         #ffffff;
  --accent:      #E63946;
  --muted:       #cbd5e1;
  --logo-orange: #f5a623;
  --card-bg:     #ffffff;
  --card-text:   #0B0B0D;
  --link:        #1a73e8;
  --border:      rgba(255,255,255,.12);
  --border-light:#e5e7eb;
  --shadow:      0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.18);
  --radius:      10px;
  --radius-sm:   6px;
  --radius-lg:   16px;
  --font:        'Roboto', system-ui, -apple-system, sans-serif;
  --max-w:       1200px;
}

/* ── RESET ───────────────────────────────────────────────────────────────────*/
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; background: #ffffff; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-wrap { flex: 1 1 auto; }
.site-footer { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
img { font-size: 0; color: transparent; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── CONTAINER ───────────────────────────────────────────────────────────────*/
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── SECTION HEADERS ─────────────────────────────────────────────────────────*/
.sec-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(255,255,255,.22);
  margin-bottom: 20px;
}
.sec-title {
  font-size: 15px; font-weight: 900;
  color: #fff; text-transform: uppercase; letter-spacing: .06em;
}
.sec-more {
  font-size: 12px; font-weight: 700; color: var(--muted);
  display: flex; align-items: center; gap: 4px;
  transition: color .15s;
}
.sec-more:hover { color: #fff; }

/* ── HEADER ──────────────────────────────────────────────────────────────────*/
.site-header {
  background: var(--bg);
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

/* Logo */
.site-logo { display: flex; align-items: center; }
.logo-box {
  border: 1.5px solid rgba(255,255,255,.4);
  padding: 6px 12px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 6px;
  text-decoration: none;
}
.logo-tr {
  font-size: 20px; font-weight: 900;
  color: rgba(255,255,255,.65); letter-spacing: -1.5px;
}
.logo-script {
  font-size: 15px; font-weight: 700;
  color: var(--logo-orange);
  font-style: italic;
}
.logo-img { height: 52px; width: auto; }

/* Header ad slot */
.header-ad {
  flex: 1; max-width: 728px;
  display: flex; align-items: center; justify-content: flex-end;
}
.ad-slot {
  background: rgba(0,0,0,.25);
  border: 1.5px dashed rgba(255,255,255,.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.35); font-size: 11px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  min-height: 60px;
}
.ad-slot-728 { width: 100%; max-width: 728px; min-height: 90px; }
.ad-slot-300 { width: 300px; min-height: 250px; }
.ad-slot-inline { width: 100%; min-height: 90px; margin: 20px 0; }

/* ── NAV ─────────────────────────────────────────────────────────────────────*/
.main-nav { background: var(--bg-nav); }
.nav-wrap {
  display: flex; align-items: center;
  justify-content: space-between;
}
.nav-list { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  color: rgba(255,255,255,.88);
  font-size: 14px; font-weight: 700;
  padding: 12px 16px;
  transition: color .15s, background .15s;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav-link:hover,
.nav-link.active { color: #fff; background: rgba(255,255,255,.06); border-bottom-color: #fff; }
.nav-arrow { font-size: 9px; opacity: .7; transition: transform .15s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute; top: calc(100% + 1px); left: 0;
  background: var(--bg-dropdown);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  min-width: 180px; padding: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,.32);
  z-index: 9999;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-dropdown::before {
  content: ''; position: absolute;
  top: -16px; left: 0; right: 0; height: 16px;
}
.nav-item:hover .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.nav-dropdown a {
  display: block; padding: 9px 10px;
  color: rgba(255,255,255,.92); font-size: 13.5px; font-weight: 800;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 4px;
  transition: background .12s, transform .12s, border-color .12s;
}
.nav-dropdown a:last-child { margin-bottom: 0; }
.nav-dropdown a:hover {
  background: linear-gradient(90deg, rgba(56,180,201,.24), rgba(255,255,255,.08));
  border-color: rgba(56,180,201,.32);
  transform: translateX(3px);
}

/* Search + Hamburger */
.nav-search-btn, .hamburger-btn {
  background: none; border: none; cursor: pointer; padding: 12px 16px;
  color: rgba(255,255,255,.75); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s;
}
.nav-search-btn:hover, .hamburger-btn:hover { color: #fff; }
.hamburger-btn { display: none; flex-direction: column; gap: 5px; }
.hamburger-btn span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Search overlay */
.search-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); z-index: 9998;
  align-items: flex-start; justify-content: center;
  padding-top: 80px;
}
.search-overlay.open { display: flex; }
.search-overlay form {
  width: 100%; max-width: 600px;
  display: flex; gap: 0; margin: 0 20px;
}
.search-overlay input {
  flex: 1; padding: 16px 20px;
  border: none; border-radius: var(--radius) 0 0 var(--radius);
  font-size: 16px; font-family: var(--font); outline: none;
}
.search-overlay button {
  background: var(--accent); color: #fff; border: none;
  padding: 16px 24px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px; font-weight: 700; cursor: pointer;
}

/* ── CAROUSEL ────────────────────────────────────────────────────────────────*/
.carousel-section { padding: 18px 0 10px; }
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: stretch;
}
.car-card {
  background: rgba(0,0,0,.3);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.car-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.car-thumb {
  position: relative;
  width: 100%; aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(0,0,0,.3);
  flex-shrink: 0;
}
.car-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .4s;
}
.car-card:hover .car-thumb img { transform: scale(1.05); }
.car-thumb-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.2); font-size: 28px; }
.car-cat {
  position: absolute; top: 8px; left: 8px;
  background: var(--bg);
  color: #fff; font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .05em;
  z-index: 2;
}
.car-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; }
.car-date { font-size: 10px; color: var(--muted); margin-bottom: 4px; }
.car-title { font-size: 12px; font-weight: 700; color: #fff; line-height: 1.35; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.car-excerpt { font-size: 11px; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.carousel-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.carousel-nav button { background: none; border: none; cursor: pointer; color: rgba(255,255,255,.75); font-size: 13px; font-weight: 700; padding: 4px 8px; transition: color .15s; }
.carousel-nav button:hover { color: #fff; }

/* ── NEWS GRID CARDS (transparent on teal) ───────────────────────────────────*/
.news-section { padding: 22px 0; }
.news-top-row {
  display: grid; grid-template-columns: 1fr 1fr 290px; gap: 14px; margin-bottom: 14px;
}
.news-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 14px; }
.news-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }

.nc {
  cursor: pointer;
  transition: transform .18s;
  display: flex;
  flex-direction: column;
}
.nc:hover { transform: translateY(-2px); }
.nc-thumb {
  position: relative;
  width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 8px;
  background: rgba(0,0,0,.25);
  flex-shrink: 0;
}
.nc-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform .35s;
}
.nc:hover .nc-thumb img { transform: scale(1.04); }
.nc-thumb-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.25); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nc .nc-title { flex: 1; }
.nc-cat {
  font-size: 10px; font-weight: 900; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: 4px;
}
.nc-title {
  font-size: 14px; font-weight: 700; color: #fff;
  line-height: 1.3; margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.nc-title a:hover { color: var(--muted); }
.nc-meta { font-size: 11px; color: rgba(255,255,255,.55); }
.nc-meta .author { color: var(--muted); font-weight: 700; }

/* Large news card */
.nc-lg .nc-thumb { aspect-ratio: 16/9; }
.nc-lg .nc-title { font-size: 17px; -webkit-line-clamp: 4; }

/* ── FOLLOW US ON ────────────────────────────────────────────────────────────*/
.follow-widget {
  background: var(--bg-follow);
  border-radius: var(--radius); overflow: hidden;
}
.follow-hd {
  background: var(--bg-follow);
  padding: 10px 14px;
  border-bottom: 3px solid var(--accent);
  font-size: 12px; font-weight: 900; color: #fff;
  text-transform: uppercase; letter-spacing: .07em;
}
.follow-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-decoration: none;
  transition: background .15s;
}
.follow-row:last-child { border-bottom: none; }
.follow-row:hover { background: rgba(255,255,255,.04); }
.follow-left { display: flex; align-items: center; gap: 10px; }
.follow-icon {
  width: 28px; height: 28px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.follow-platform { font-size: 12px; color: rgba(255,255,255,.65); font-weight: 600; }
.follow-right { text-align: right; }
.follow-count { font-size: 17px; font-weight: 900; color: #fff; line-height: 1; }
.follow-sub { font-size: 9px; color: rgba(255,255,255,.4); margin-top: 2px; }

/* ── ADVERTISE BAR ───────────────────────────────────────────────────────────*/
.advertise-bar {
  background: #111;
  height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin: 4px 0;
}
.advertise-bar-text {
  font-size: 13px; font-weight: 900; color: #fff;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ── YOUTUBE SECTION ─────────────────────────────────────────────────────────*/
.yt-section { padding: 22px 0; }
.yt-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.yt-card {
  background: rgba(0,0,0,.3); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform .2s;
}
.yt-card:hover { transform: translateY(-3px); }
.yt-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.25);
  transition: background .15s;
}
.yt-card:hover .yt-play { background: rgba(232,19,42,.4); }
.yt-play-icon { width: 44px; height: 44px; }
.yt-info { padding: 10px 12px; }
.yt-title { font-size: 12.5px; font-weight: 700; color: #fff; line-height: 1.35; }
.yt-date { font-size: 10px; color: var(--muted); margin-top: 5px; }
.yt-modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.92); z-index: 9999;
  align-items: center; justify-content: center;
}
.yt-modal.open { display: flex; }
.yt-modal-wrap { width: 90%; max-width: 900px; position: relative; }
.yt-modal iframe { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius); }
.yt-modal-close {
  position: absolute; top: -44px; right: 0;
  background: none; border: none; color: #fff; font-size: 28px; cursor: pointer;
}

/* ── WEB STORIES ─────────────────────────────────────────────────────────────*/
.stories-row {
  display: flex; gap: 14px; overflow-x: auto;
  padding-bottom: 6px; scrollbar-width: thin;
  scrollbar-color: var(--accent) rgba(255,255,255,.1);
}
.stories-row::-webkit-scrollbar { height: 3px; }
.stories-row::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.story-card { flex-shrink: 0; width: 110px; text-align: center; cursor: pointer; }
.story-ring {
  width: 100px; height: 155px; border-radius: var(--radius);
  border: 2.5px solid var(--accent); overflow: hidden; margin: 0 auto 6px;
  position: relative; background: rgba(0,0,0,.3);
  transition: transform .2s;
}
.story-card:hover .story-ring { transform: scale(1.04); }
.story-ring img { width: 100%; height: 100%; object-fit: cover; }
.story-ring-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg), #006080); }
.story-lbl { font-size: 10.5px; font-weight: 700; color: var(--muted); line-height: 1.3; }

/* ── GALLERY SECTION (homepage) ──────────────────────────────────────────────*/
.gallery-home-grid {
  display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 14px;
}
.gallery-home-main {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; position: relative;
}
.gallery-home-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-home-sub { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; }
.gallery-home-sub-item {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: 4/3; background: rgba(0,0,0,.3);
}
.gallery-home-sub-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-see-all {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; font-size: 12px; font-weight: 800;
  padding: 9px 20px; border-radius: var(--radius);
  margin-top: 10px; cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.gallery-see-all:hover { background: rgba(255,255,255,.14); }

/* ── NEWSLETTER SECTION (homepage alongside gallery) ─────────────────────────*/
.newsletter-box { padding: 20px; background: rgba(0,0,0,.2); border-radius: var(--radius); }
.newsletter-title { font-size: 14px; font-weight: 900; color: #fff; margin-bottom: 6px; }
.newsletter-desc { font-size: 12px; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 14px;
  background: rgba(255,255,255,.1); border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); color: #fff; font-size: 13px;
  font-family: var(--font); outline: none; transition: border-color .15s;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.45); }
.newsletter-form input:focus { border-color: rgba(255,255,255,.5); }
.newsletter-form button {
  background: var(--bg-nav); color: #fff; border: none;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 800; cursor: pointer;
  transition: background .15s; font-family: var(--font);
}
.newsletter-form button:hover { background: #002a38; }
.newsletter-note { font-size: 10px; color: rgba(255,255,255,.35); margin-top: 6px; }
.newsletter-msg { font-size: 12px; font-weight: 700; margin-top: 6px; }

/* ── GALLERY PAGE ─────────────────────────────────────────────────────────────*/
.gallery-page-hd { padding: 28px 0 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gal-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform .2s;
}
.gal-card:hover { transform: translateY(-3px); }
.gal-thumb { aspect-ratio: 4/3; overflow: hidden; background: rgba(0,0,0,.3); }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-card:hover .gal-thumb img { transform: scale(1.06); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
  display: flex; align-items: flex-end; padding: 12px;
  opacity: 0; transition: opacity .2s;
}
.gal-card:hover .gal-overlay { opacity: 1; }
.gal-title { font-size: 13px; font-weight: 700; color: #fff; }
.gal-count { font-size: 10px; color: rgba(255,255,255,.65); margin-top: 2px; }

/* Gallery single / lightbox */
.gal-photos { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.gal-photo { aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.gal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gal-photo:hover img { transform: scale(1.06); }
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.95); z-index: 9999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff; font-size: 28px; cursor: pointer;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: none;
  color: #fff; font-size: 24px; padding: 12px 16px;
  border-radius: var(--radius-sm); cursor: pointer; transition: background .15s;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.2); }

/* ── CATEGORY PAGE ───────────────────────────────────────────────────────────*/
.cat-page-hd { padding: 22px 0 18px; }
.cat-hd-title { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 4px; }
.cat-hd-desc { font-size: 13px; color: var(--muted); }

/* ── ARTICLE PAGE ────────────────────────────────────────────────────────────
   From additional CSS: teal block title, white content area            */
.article-wrap {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 18px auto 32px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}
.article-header {
  background: var(--bg);
  padding: 22px 24px 72px;
  position: relative;
}
.article-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 900; color: #fff;
  line-height: 1.18; margin-bottom: 10px;
}
.article-meta {
  position: absolute; left: 22px; bottom: 16px;
  display: flex; flex-wrap: wrap; gap: 8px;
  font-size: 12px; font-weight: 700; color: #fff;
  align-items: center;
}
.meta-chip {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm);
  padding: 2px 10px; color: #fff; font-weight: 800;
  text-decoration: none; font-size: 12px;
}
.meta-chip:hover { background: rgba(255,255,255,.2); }
.meta-chip.cat { background: rgba(255,255,255,.18); }
.meta-dot { opacity: .6; }
.meta-date, .meta-plain { color: #fff; opacity: .9; }

/* Share bar (position: absolute right-bottom in header) */
.article-sharebar {
  position: absolute; right: 22px; bottom: 16px;
  display: flex; gap: 8px; align-items: center;
}
.sh-btn {
  width: 34px; height: 34px;
  background: #fff; border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; text-decoration: none;
  transition: transform .12s, border-color .12s;
}
.sh-btn:hover { border-color: rgba(0,0,0,.28); transform: translateY(-1px); }
.sh-btn svg { width: 17px; height: 17px; fill: var(--card-text); }
.sh-btn.copied { border-color: rgba(26,115,232,.55); box-shadow: 0 0 0 3px rgba(26,115,232,.15); }

/* Article body */
.article-body { padding: 22px 22px 28px; }
.article-featured {
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg);
  line-height: 0;
}
.article-featured img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-sm);
}
.article-featured:empty,
.article-featured img[src=""],
.article-featured img:not([src]) {
  display: none;
}
.article-content { color: var(--card-text); font-size: 15px; line-height: 1.8; }
.article-content p { margin-bottom: 16px; }
.article-content h2 { font-size: 20px; font-weight: 900; margin: 24px 0 10px; color: var(--card-text); }
.article-content h3 { font-size: 17px; font-weight: 700; margin: 20px 0 8px; }
.article-content ul, .article-content ol { padding-left: 22px; margin-bottom: 16px; }
.article-content li { margin-bottom: 5px; }
.article-content a { color: var(--link); text-decoration: underline; }
.article-content img { border-radius: var(--radius-sm); margin: 12px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article-content th { background: var(--bg); color: #fff; padding: 10px 12px; text-align: left; }
.article-content td { padding: 10px 12px; border-bottom: 1px solid var(--border-light); color: var(--card-text); }
.article-content blockquote {
  border-left: 4px solid var(--bg); padding: 12px 18px;
  background: rgba(0,75,94,.06); margin: 20px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: #555;
}

/* Tags */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 22px; border-top: 1px solid var(--border-light); }
.tag-link {
  color: var(--card-text); font-size: 12px; font-weight: 700;
  border: 1px solid rgba(0,0,0,.2); padding: 4px 12px;
  border-radius: 20px; text-decoration: none;
  transition: color .15s, border-color .15s;
}
.tag-link:hover { color: var(--link); border-color: rgba(26,115,232,.45); }

/* Related posts */
.related-section { padding: 20px 22px 22px; background: var(--bg); }
.related-title { font-size: 15px; font-weight: 900; color: #fff; margin-bottom: 14px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.rel-card {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,75,94,.92);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .15s;
  cursor: pointer;
}
.rel-card:hover { transform: translateY(-2px); }
.rel-card a { display: block; text-decoration: none; }
.rel-thumb { aspect-ratio: 16/9; overflow: hidden; background: rgba(0,0,0,.25); }
.rel-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel-body { padding: 10px 12px; }
.rel-cat { font-size: 11px; font-weight: 900; color: #bfeef6; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 5px; }
.rel-title { font-size: 13.5px; font-weight: 900; color: #fff; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-meta { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 6px; }

/* ── SEARCH PAGE ─────────────────────────────────────────────────────────────*/
.search-page-hd { padding: 28px 0; text-align: center; }
.search-page-hd h1 { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 16px; }
.search-form-big { display: flex; max-width: 560px; margin: 0 auto; }
.search-form-big input {
  flex: 1; padding: 13px 18px;
  border: none; border-radius: var(--radius) 0 0 var(--radius);
  font-size: 15px; font-family: var(--font); outline: none;
}
.search-form-big button {
  background: var(--accent); color: #fff; border: none;
  padding: 13px 22px; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px; font-weight: 800; cursor: pointer;
}
.search-result {
  display: flex; gap: 14px;
  background: rgba(0,0,0,.2); border-radius: var(--radius);
  padding: 14px; margin-bottom: 12px;
  transition: background .15s;
  text-decoration: none; color: #fff;
}
.search-result:hover { background: rgba(0,0,0,.3); }
.sr-thumb { width: 100px; height: 70px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.sr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sr-cat { font-size: 10px; font-weight: 900; color: var(--muted); text-transform: uppercase; margin-bottom: 4px; }
.sr-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 4px; }
.sr-meta { font-size: 11px; color: rgba(255,255,255,.5); }

/* ── AUTHORS PAGE ────────────────────────────────────────────────────────────*/
.authors-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 24px 0; }
.author-card {
  background: rgba(0,0,0,.2); border-radius: var(--radius-lg);
  padding: 24px; text-align: center;
  border: 1px solid rgba(255,255,255,.08);
  transition: background .15s, transform .15s;
  text-decoration: none; color: #fff;
}
.author-card:hover { background: rgba(0,0,0,.3); transform: translateY(-3px); }
.author-avatar-wrap { margin: 0 auto 14px; }
.author-avatar-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin: 0 auto; border: 3px solid rgba(255,255,255,.2); }
.author-avatar-ph {
  width: 80px; height: 80px; border-radius: 50%; background: var(--bg-nav);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 900; color: #fff; margin: 0 auto;
  border: 3px solid rgba(255,255,255,.2);
}
.author-name { font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.author-role { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.author-bio-short { font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.5; margin-bottom: 10px; }
.author-post-count { font-size: 12px; font-weight: 700; color: var(--muted); }

/* Author single page */
.author-page-hd {
  display: flex; align-items: center; gap: 24px;
  padding: 28px 0 22px;
}
.author-hd-avatar { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid rgba(255,255,255,.25); }
.author-hd-ph { width: 90px; height: 90px; border-radius: 50%; background: var(--bg-nav); display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 900; color: #fff; flex-shrink: 0; border: 3px solid rgba(255,255,255,.25); }
.author-hd-name { font-size: 24px; font-weight: 900; color: #fff; margin-bottom: 5px; }
.author-hd-bio { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── WEB STORIES PAGE ────────────────────────────────────────────────────────*/
.stories-page-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; padding: 20px 0 28px; }
.story-page-card { cursor: pointer; text-align: center; text-decoration: none; }
.story-page-ring {
  width: 100%; aspect-ratio: 9/16; border-radius: var(--radius);
  border: 2.5px solid var(--accent);
  overflow: hidden; margin-bottom: 8px;
  background: rgba(0,0,0,.3);
  transition: transform .2s, border-color .2s;
}
.story-page-card:hover .story-page-ring { transform: scale(1.03); border-color: #fff; }
.story-page-ring img { width: 100%; height: 100%; object-fit: cover; }
.story-page-title { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.3; }

/* Story viewer */
.story-viewer-wrap { max-width: 420px; margin: 20px auto 32px; }
.story-viewer {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative; background: #000;
  aspect-ratio: 9/16;
}
.story-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; pointer-events: none; }
.story-slide.active { opacity: 1; pointer-events: auto; }
.story-slide-bg { width: 100%; height: 100%; object-fit: cover; }
.story-slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8) 0%, transparent 55%); }
.story-slide-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 20px; color: #fff; }
.story-slide-content h2 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.story-slide-content p { font-size: 13px; line-height: 1.6; opacity: .9; }
.story-progress { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; z-index: 10; }
.story-prog-bar { flex: 1; height: 2.5px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.story-prog-fill { height: 100%; background: #fff; width: 0; border-radius: 2px; transition: width linear; }
.story-prog-fill.done { width: 100%; }
.story-nav { position: absolute; inset: 0; display: flex; }
.story-nav-prev { flex: 1; } .story-nav-next { flex: 1; }

/* ── PAGINATION ──────────────────────────────────────────────────────────────*/
.pagination { padding: 24px 0; }
.pag-inner { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pag-btn {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); color: #fff;
  font-size: 13px; font-weight: 700; text-decoration: none;
  transition: background .15s, border-color .15s;
}
.pag-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.pag-current { background: #fff !important; color: var(--bg) !important; border-color: #fff !important; }
.pag-dots { color: rgba(255,255,255,.4); padding: 0 4px; display: flex; align-items: center; }

/* ── READER AUTH ─────────────────────────────────────────────────────────────*/
.auth-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.auth-box { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 36px; width: 100%; max-width: 420px; }
.auth-title { font-size: 20px; font-weight: 900; color: #fff; margin-bottom: 6px; text-align: center; }
.auth-sub { font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 24px; }
.form-group { margin-bottom: 14px; }
.form-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); margin-bottom: 6px; display: block; text-transform: uppercase; letter-spacing: .04em; }
.form-input {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.18);
  border-radius: var(--radius-sm); color: #fff; font-size: 14px;
  font-family: var(--font); outline: none; transition: border-color .15s;
}
.form-input:focus { border-color: rgba(255,255,255,.45); }
.form-input::placeholder { color: rgba(255,255,255,.35); }
.btn-primary {
  width: 100%; background: var(--bg-nav); color: #fff; border: none;
  padding: 12px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 800; cursor: pointer;
  font-family: var(--font); transition: background .15s;
}
.btn-primary:hover { background: #002a38; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 13px; color: var(--muted); }
.auth-switch a { color: #fff; font-weight: 700; }

/* ── ALERT / FLASH ───────────────────────────────────────────────────────────*/
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.alert-success { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.4); color: #6ee7b7; }
.alert-error   { background: rgba(232,19,42,.15); border: 1px solid rgba(232,19,42,.4); color: #fca5a5; }

/* ── FOOTER ──────────────────────────────────────────────────────────────────
   Exact from footer.php: white bg, Roboto, liquid-glass bar             */
.site-footer {
  background: #fff; color: #000;
  border-top: 1px solid rgba(0,0,0,.08);
  font-family: 'Roboto', system-ui, sans-serif;
}
.footer-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 16px 0; }
.footer-top { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 12px; align-items: start; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { display: grid; gap: 12px; }
.footer-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.footer-logo-img { height: 64px; width: auto; }
@media (max-width: 480px) { .footer-logo-img { height: 54px; } }
.footer-links {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font: 900 13px/1.1 'Roboto', system-ui;
  text-transform: uppercase;
}
.footer-links a { color: #000; padding: 4px 0; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal {
  grid-column: 1/-1; margin-top: 10px;
  font: 400 13px/1.45 'Roboto', system-ui;
  color: #000; padding-bottom: 16px;
  border-bottom: 2px solid #000; margin-top: 10px;
}
.footer-legal strong, .footer-legal b { font-weight: 900; }
.footer-divider { grid-column: 1/-1; height: 2px; background: #000; opacity: .95; margin: 16px 0 0; }
.footer-bar {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 16px; min-height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(245,245,245,.68));
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}
.footer-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(255,255,255,.22) 0%,rgba(255,255,255,0) 35%),
              linear-gradient(90deg,rgba(255,255,255,.1),rgba(255,255,255,0) 60%);
  pointer-events: none;
}
.footer-copy { font: 700 12px/1.2 'Roboto', system-ui; color: #000; }
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-soc-btn {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.65);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  transition: transform .15s, box-shadow .15s;
}
.footer-soc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.footer-soc-btn svg { width: 18px; height: 18px; display: block; }
.fsb-fb svg { fill: #1877F2; }
.fsb-ig svg { fill: #E4405F; }
.fsb-li svg { fill: #0A66C2; }
.fsb-yt svg { fill: #FF0000; }

/* ── READING PROGRESS ────────────────────────────────────────────────────────*/
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--accent); z-index: 9999; width: 0; transition: width .1s; }

/* ── BACK TO TOP ─────────────────────────────────────────────────────────────*/
.back-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 42px; height: 42px;
  background: var(--bg); color: #fff;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 999;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  transform: translateY(10px);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: rgba(0,61,77,.9); }

/* ── LAZY IMAGES ─────────────────────────────────────────────────────────────*/
img.lazy { opacity: 0; transition: opacity .4s; }
img.lazy.loaded { opacity: 1; }

/* ── SECTION PADDING ─────────────────────────────────────────────────────────*/
.section { padding: 22px 0; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────*/
@media (max-width: 1200px) { .carousel-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 900px)  { .carousel-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px)  { .carousel-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 420px)  { .carousel-grid { grid-template-columns: 1fr; } }

@media (max-width: 1024px) {
  .news-top-row { grid-template-columns: 1fr 1fr; }
  .news-top-row .follow-widget { display: none; }
  .yt-grid { grid-template-columns: repeat(3,1fr); }
  .related-grid { grid-template-columns: repeat(2,1fr); }
  .authors-grid { grid-template-columns: repeat(2,1fr); }
  .stories-page-grid { grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 768px) {
  .hamburger-btn { display: flex; }
  .nav-list { display: none; flex-direction: column; }
  .nav-list.open { display: flex; }
  .nav-dropdown { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; border-radius: var(--radius); margin: 4px 0 8px 16px; }
  .carousel-grid { grid-template-columns: 1fr 1fr; }
  .news-top-row { grid-template-columns: 1fr; }
  .news-grid-3 { grid-template-columns: 1fr 1fr; }
  .news-grid-4 { grid-template-columns: 1fr 1fr; }
  .yt-grid { grid-template-columns: 1fr 1fr; }
  .gallery-home-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gal-photos { grid-template-columns: repeat(3,1fr); }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-meta { position: static; margin-top: 8px; }
  .article-sharebar { position: static; margin-top: 10px; justify-content: flex-start; }
  .article-header { padding-bottom: 18px; }
  .authors-grid { grid-template-columns: repeat(2,1fr); }
  .stories-page-grid { grid-template-columns: repeat(3,1fr); }
  .header-ad { display: none; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .carousel-grid { grid-template-columns: 1fr; }
  .news-grid-3 { grid-template-columns: 1fr; }
  .news-grid-4 { grid-template-columns: 1fr; }
  .yt-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gal-photos { grid-template-columns: repeat(2,1fr); }
  .authors-grid { grid-template-columns: 1fr; }
  .stories-page-grid { grid-template-columns: repeat(2,1fr); }
  .article-sharebar { flex-wrap: wrap; }
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px 12px; }
  .footer-social { width: 100%; justify-content: flex-start; }
  .wrap { padding: 0 14px; }
}