/* 
 * ANTI-SLOP DESIGN SYSTEM (DESIGN-v2.md)
 * Project: Sat Narkoba Polres Batu | Seed: 25842 | Base Hue: 282
 * Heading: Bricolage Grotesque (Google Fonts) | Body: Zodiak (Fontshare) | Mono: IBM Plex Mono
 * Texture: Tactical Grain / Dossier Texture | Imperfection: Asymmetric radii & varied line weights
 * Mobile: Fully responsive adhering to antislop-layoutmobile
 */

:root {
  /* OKLCH Core Harmony for Seed 25842: H 282 (Slate Violet), H 342 (Alert Crimson), H 102 (Police Brass) */
  --hue1-50:  oklch(0.978 0.010 282); /* Dossier clean newsprint surface tint */
  --hue1-100: oklch(0.940 0.020 282);
  --hue1-200: oklch(0.860 0.035 282); /* Dividers / tags */
  --hue1-500: oklch(0.440 0.140 282); /* Deep Tactical Slate Brand */
  --hue1-700: oklch(0.280 0.100 282); /* Dark Police Navy */
  --hue1-900: oklch(0.150 0.030 282); /* Midnight Ink */

  --hue2-50:  oklch(0.970 0.020 342);
  --hue2-500: oklch(0.550 0.220 342); /* Alert Crimson / Anti-Narcotics Warning */
  --hue2-700: oklch(0.380 0.170 342);

  --hue3-500: oklch(0.680 0.150 102); /* Brass / Gold Police Rank Accent */

  /* Semantic Variables */
  --bg-page:        var(--hue1-50);
  --bg-surface:     #ffffff;
  --bg-surface-alt: var(--hue1-100);
  --text-main:      var(--hue1-900);
  --text-muted:     oklch(0.46 0.03 282);
  --border-light:   oklch(0.88 0.015 282);
  --border-ink:     var(--hue1-900);
  
  --primary:        var(--hue1-500);
  --primary-dark:   var(--hue1-700);
  --breaking:       var(--hue2-500);
  --accent:         var(--hue3-500);

  /* Typography */
  --font-heading: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Zodiak', Georgia, serif;
  --font-mono:    'IBM Plex Mono', monospace;

  /* Imperfection Tokens */
  --radius-tag:     2px 10px 3px 12px;
  --radius-card:    3px 14px 4px 16px;
  --radius-sm:      2px 6px 3px 8px;
}

/* Base Reset & Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

/* Step 6 Anti-Slop: Tactical Grain / Dossier Texture Overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.14) 2px, rgba(0,0,0,0.14) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.14) 2px, rgba(0,0,0,0.14) 4px);
  mix-blend-mode: multiply;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
  touch-action: manipulation;
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ================= TOP BAR & EMERGENCY TICKER ================= */
.top-bar {
  background: var(--hue1-900);
  color: #f1f5f9;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  border-bottom: 2px solid var(--accent);
  padding: 0.45rem 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.top-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.top-location {
  color: var(--accent);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.loc-short {
  display: none;
}

.loc-full {
  display: inline;
}

.hotline-sub {
  display: inline;
}

.top-ticker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  flex: 1;
}

.ticker-label {
  background: var(--breaking);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.ticker-pulse {
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.ticker-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #cbd5e1;
}

.ticker-content a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-hotline {
  background: var(--breaking);
  color: #ffffff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* ================= MASTHEAD ================= */
.masthead {
  padding: 1.5rem 0 1.2rem;
  border-bottom: 3px double var(--border-ink);
  background: var(--bg-surface);
}

.masthead-inner {
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.masthead-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.65rem;
}

.masthead-logo {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.18));
  display: block !important;
  margin: 0 auto !important;
}

.masthead-titles {
  text-align: center;
}

.masthead-insignia {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw + 0.3rem, 0.8125rem);
  letter-spacing: 0.14em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.masthead-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 5vw + 0.5rem, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--hue1-900);
  text-transform: uppercase;
}

.masthead-title span {
  color: #b91c1c;
}

.masthead-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.875rem, 1.5vw + 0.4rem, 1.05rem);
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ================= NAVIGATION ================= */
.main-nav {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Hidden by default on Desktop */
.nav-mobile-bar {
  display: none;
}

.nav-mobile-drawer {
  display: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.4rem 0;
  flex: 1;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links li a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: #334155;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.nav-links li a:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: translateY(-2px);
}

.nav-links li.active a {
  background: #0f172a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

/* Standout Emergency Button in Navbar (Desktop) */
.nav-cta-item .nav-cta-link {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  color: #ffffff !important;
  padding: 0.45rem 1.15rem !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  animation: pulseGlow 2.5s infinite;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-cta-item .nav-cta-link:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.5) !important;
  filter: brightness(1.08);
}

.nav-cta-item.active .nav-cta-link {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.35) !important;
}

.search-form {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 0.2rem 0.65rem;
  flex-shrink: 0;
  min-height: 38px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-form:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.search-form:focus-within {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-form input {
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  color: var(--text-main);
  outline: none;
  width: 125px;
  padding: 0.2rem 0.4rem;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-form input:focus {
  width: 185px;
}

.search-form button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.search-form button:hover {
  transform: scale(1.18);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ================= EDITORIAL LAYOUT (ANTI-SLOP) ================= */
.main-content {
  padding: 1.75rem 0 3.5rem;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.25rem;
}

/* Lead Story - Police Press Release Focus */
.lead-story {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  margin-bottom: 2.25rem;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}

.lead-story-img-wrap {
  position: relative;
  border-radius: var(--radius-tag);
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--hue1-100);
}

.lead-story img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lead-story:hover img {
  transform: scale(1.02);
}

.badge-category {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-tag);
  margin-bottom: 0.75rem;
  min-height: 28px;
}

.badge-breaking {
  background: var(--breaking) !important;
}

.lead-story-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw + 0.8rem, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.lead-story-excerpt {
  color: var(--text-main);
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1.15rem;
}

.story-meta {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

/* Secondary Editorial Split (2-Column Asymmetric) */
.secondary-stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.story-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-tag);
  margin-bottom: 0.85rem;
  background: var(--hue1-100);
}

.story-card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 2vw + 0.4rem, 1.25rem);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.story-card-excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

/* Section Header */
.section-title-wrap {
  border-top: 3px solid var(--border-ink);
  border-bottom: 1px solid var(--border-ink);
  padding: 0.45rem 0;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1rem, 1.5vw + 0.4rem, 1.15rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hue1-900);
}

/* Sidebar Styles */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 1.25rem;
}

.sidebar-widget-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  color: var(--hue1-900);
}

.wire-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wire-item {
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.85rem;
}

.wire-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wire-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--breaking);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.wire-headline {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

/* Emergency Action Callout Box */
.hotline-box {
  background: #fff1f2;
  border-left: 4px solid var(--breaking);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.hotline-box-title {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #9f1239;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.hotline-box p {
  font-size: 0.875rem;
  color: #881337;
  line-height: 1.5;
}

/* Structure Box */
.structure-box {
  background: var(--hue1-100);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.875rem;
}

/* ================= ARTICLE DETAIL VIEW ================= */
.article-header {
  margin-bottom: 1.5rem;
}

.article-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw + 0.6rem, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  color: var(--hue1-900);
}

.article-meta-bar {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.article-hero-img-wrap {
  margin-bottom: 1.75rem;
  border-radius: var(--radius-tag);
  overflow: hidden;
  background: var(--hue1-100);
}

.article-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-body {
  font-size: clamp(1.05rem, 1.2vw + 0.4rem, 1.1875rem);
  line-height: 1.75;
  color: var(--text-main);
  word-break: break-word;
}

.article-body p {
  margin-bottom: 1.4rem;
}

/* Drop cap for lead paragraph */
.article-body p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5vw + 1rem, 3.8rem);
  line-height: 0.85;
  float: left;
  margin-right: 0.65rem;
  margin-top: 0.2rem;
  font-weight: 900;
  color: var(--primary);
}

.article-body blockquote {
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  margin: 1.75rem 0;
  background: var(--hue1-100);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw + 0.4rem, 1.25rem);
  color: var(--hue1-900);
}

.article-body img {
  border-radius: var(--radius-sm);
  margin: 1.25rem auto;
  max-width: 100%;
}

.share-bar {
  margin: 2.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  min-height: 44px;
}

.share-btn-wa { background: #25D366; }
.share-btn-fb { background: #1877F2; }
.share-btn-copy { background: var(--primary-dark); cursor: pointer; border: none; }

/* ================= FOOTER ================= */
.site-footer {
  background: var(--hue1-900);
  color: #f1f5f9;
  border-top: 4px solid var(--accent);
  padding: 2.75rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.25rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: #cbd5e1;
  padding: 0.25rem 0;
  display: inline-block;
  min-height: 32px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: #94a3b8;
}

/* ================= ADMIN STYLES ================= */
.admin-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f8fafc;
}

/* ================= EXECUTIVE ADMIN NAVIGATION ================= */
.admin-nav {
  background: linear-gradient(135deg, #090d16 0%, #151b2e 50%, #0f172a 100%);
  border-bottom: 2px solid #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.admin-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1.25rem;
}

.admin-desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  flex: 1;
}

.admin-nav-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.admin-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.admin-nav-brand:hover {
  transform: translateY(-1px);
}

.admin-brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.admin-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.admin-brand-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.admin-brand-title strong {
  color: #ef4444;
}

.admin-brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #94a3b8;
  text-transform: uppercase;
}

/* Nav Menu Tabs */
.admin-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.nav-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transition: all 0.2s ease;
}

.nav-badge-active {
  background: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
  animation: pulseGlow 2.5s infinite;
}

/* Right Utilities */
.admin-nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav-btn-util {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-btn-util:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-btn-util.active {
  color: #ffffff;
  background: #2563eb;
  border-color: #3b82f6;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.35);
}

.nav-btn-logout {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8125rem;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-btn-logout:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.4);
  transform: translateY(-1px);
}

/* Admin Burger Toggle Button (Hidden on Desktop) */
.admin-burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  z-index: 1010;
}

.admin-burger-btn:hover,
.admin-burger-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

.burger-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 14px;
}

.bar-line {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.admin-burger-btn.is-active .line-1 {
  transform: translateY(6px) rotate(45deg);
}

.admin-burger-btn.is-active .line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.admin-burger-btn.is-active .line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

.burger-badge-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseGlow 2s infinite;
}

/* Mobile Drawer (Hidden on Desktop) */
.admin-mobile-drawer {
  display: none;
}

/* Admin Stats Grid */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.admin-container {
  max-width: 1200px;
  margin: 1.5rem auto;
  padding: 0 1rem;
  width: 100%;
  flex: 1;
}

.admin-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  margin-bottom: 2rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.admin-table th, .admin-table td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.admin-table th {
  background: #f1f5f9;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
}

.admin-table tbody tr {
  transition: background 0.2s ease;
}

.admin-table tbody tr:hover {
  background: #f8fafc;
}

.admin-table .btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.admin-table .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  min-height: 40px;
}

.btn-primary { background: var(--primary); color: #ffffff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-danger { background: #ef4444; color: #ffffff; }
.btn-sm { padding: 0.35rem 0.65rem; font-size: 0.78125rem; min-height: 36px; }

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #ffffff;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(32, 126, 126, 0.15);
}

.admin-form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.admin-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  margin-bottom: 1.5rem;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* ================= MODERN ENGAGING ANIMATIONS ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(185, 28, 28, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(185, 28, 28, 0);
  }
}

/* Entrance transitions */
.lead-story, .story-card, .admin-card {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.secondary-stories .story-card:nth-child(1) { animation-delay: 0.06s; }
.secondary-stories .story-card:nth-child(2) { animation-delay: 0.12s; }
.secondary-stories .story-card:nth-child(3) { animation-delay: 0.18s; }

/* Micro-interactions & Hover animations */
.nav-mobile-cta, .top-hotline, .ticker-label {
  animation: pulseGlow 2.8s infinite;
}

.masthead-logo {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  cursor: pointer;
}
.masthead-logo:hover {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 10px 22px rgba(185, 28, 28, 0.28));
}

.masthead-title a {
  transition: opacity 0.2s ease;
}
.masthead-title a:hover {
  opacity: 0.92;
}

/* Card Elevation & Media Zoom on Desktop */
.story-card, .lead-story {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  border-color: #94a3b8;
}
.lead-story:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -12px rgba(15, 23, 42, 0.14), 0 10px 20px -5px rgba(15, 23, 42, 0.06);
  border-color: #94a3b8;
}

.lead-story-img-wrap, .story-card-img-wrap {
  overflow: hidden;
  position: relative;
  background: #0f172a;
}
.lead-story-img-wrap img, .story-card-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}
.lead-story:hover .lead-story-img-wrap img,
.story-card:hover .story-card-img {
  transform: scale(1.05);
  filter: contrast(1.03) brightness(1.02);
}

.lead-story-title a, .story-card-title a {
  transition: color 0.25s ease;
}
.lead-story:hover .lead-story-title a,
.story-card:hover .story-card-title a {
  color: #b91c1c;
}

/* Sidebar Callout & Emergency Widgets */
.hotline-box {
  background: linear-gradient(145deg, #ffffff 0%, #fff1f2 100%);
  border: 1px solid #fecaca;
  border-left: 5px solid #dc2626;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.08);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.hotline-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -6px rgba(220, 38, 38, 0.2);
}

.hotline-box .btn-danger {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  border: none;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.hotline-box .btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(220, 38, 38, 0.5);
  filter: brightness(1.08);
}

.sidebar-widget {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  border-radius: 8px;
}
.sidebar-widget:hover {
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.07);
}

.wire-item {
  transition: transform 0.2s ease, background 0.2s ease;
  padding: 0.5rem 0.4rem;
  border-radius: 4px;
}
.wire-item:hover {
  background: #f8fafc;
  transform: translateX(4px);
}
.wire-item:hover .wire-headline a {
  color: #b91c1c;
}

/* Admin Card & Interactive Form Elements (Desktop & Admin) */
.admin-card {
  border-radius: 12px;
  border-top: 4px solid #4f46e5;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: box-shadow 0.3s ease;
}
.admin-card:hover {
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.12);
}

.admin-meta-grid {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.15rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.admin-form-actions .btn-primary {
  background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-form-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
  filter: brightness(1.05);
}

.ql-toolbar.ql-snow button:hover {
  background: #e0e7ff;
  color: #4338ca;
  border-radius: 4px;
}

/* Global Button & Control Polish */
.btn, .nav-toggle-btn, .nav-search-toggle {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn:active, .nav-toggle-btn:active, .nav-mobile-cta:active, .nav-search-toggle:active {
  transform: scale(0.96);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(32, 126, 126, 0.28);
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.3);
}

.form-control {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-control:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Custom Sleek Scrollbar for Desktop */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ================= RESPONSIVE DESIGN (ANTISLOP-LAYOUTMOBILE) ================= */

@media (max-width: 1024px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .lead-story img {
    max-height: 380px;
  }
}

@media (max-width: 768px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  /* Mobile Bar Row */
  .nav-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.85rem;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    gap: 0.5rem;
  }

  .nav-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--hue1-100);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--hue1-900);
    cursor: pointer;
    min-height: 40px;
    touch-action: manipulation;
  }

  .nav-toggle-icon {
    font-size: 1.15rem;
    line-height: 1;
  }

  .nav-mobile-cta {
    background: var(--breaking);
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.85rem;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.25);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    text-decoration: none;
  }

  .nav-search-toggle {
    background: var(--hue1-100);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    touch-action: manipulation;
  }

  /* Horizontal Category Pill Bar */
  .nav-links {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.45rem 0.85rem;
    gap: 0.35rem;
    background: #f8fafc;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li {
    flex-shrink: 0;
  }

  .nav-links li a {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    min-height: 34px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
  }

  .nav-links li.active a {
    background: var(--hue1-900);
    color: #ffffff;
    border-color: var(--hue1-900);
  }

  /* Hide duplicate Lapor CTA from horizontal pill bar on mobile since it's in the mobile bar */
  .nav-cta-item {
    display: none;
  }

  /* Search form expandable on mobile */
  .search-form {
    display: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-light);
    background: #ffffff;
    padding: 0.6rem 0.85rem;
    box-sizing: border-box;
  }

  .search-form.is-open-mobile {
    display: flex;
    gap: 0.5rem;
  }

  .search-form input {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    background: var(--hue1-100);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
  }

  .search-form button {
    background: var(--primary);
    color: #ffffff;
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.85rem;
    cursor: pointer;
  }

  /* Mobile Drawer Menu */
  .nav-mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
    box-sizing: border-box;
  }

  .nav-mobile-drawer.is-open {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--hue1-900);
    color: #ffffff;
    padding: 1rem 1.25rem;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  .drawer-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: var(--accent);
  }

  .drawer-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .drawer-search-form {
    display: flex;
    padding: 0.85rem 1.25rem;
    background: #f1f5f9;
    gap: 0.5rem;
  }

  .drawer-search-form input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: #ffffff;
  }

  .drawer-search-form button {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
    font-weight: 700;
    font-size: 0.8125rem;
    cursor: pointer;
  }

  .drawer-menu-list {
    list-style: none;
    background: #ffffff;
    padding: 0.5rem 0;
    margin: 0;
  }

  .drawer-menu-list li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    color: #1e293b;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-bottom: 1px solid #f1f5f9;
    min-height: 48px;
    text-decoration: none;
  }

  .drawer-menu-list li.active a {
    background: var(--hue1-100);
    color: var(--primary);
    font-weight: 800;
  }

  .drawer-footer-actions {
    background: #ffffff;
    padding: 1.25rem;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .drawer-hotline-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--breaking);
    color: #ffffff !important;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.875rem;
    min-height: 46px;
    text-align: center;
    text-decoration: none;
  }

  .drawer-footer-info {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 0.85rem;
  }

  /* Compact single-row top bar on phone */
  .top-bar {
    padding: 0.3rem 0;
  }

  .top-bar-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    box-sizing: border-box;
  }

  .top-meta {
    font-size: 0.72rem;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-date-desk {
    display: none;
  }

  .loc-full {
    display: none;
  }

  .loc-short {
    display: inline;
    font-weight: 700;
  }

  .top-location {
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .top-hotline-wrap {
    flex-shrink: 0;
  }

  .top-hotline {
    font-size: 0.72rem;
    padding: 0.22rem 0.55rem;
    min-height: 28px;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .hotline-sub {
    display: none;
  }

  /* Compact Masthead on phone */
  .masthead {
    padding: 0.85rem 0 0.75rem;
  }

  .masthead-logo-wrap {
    margin-bottom: 0.35rem;
  }

  .masthead-logo {
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
  }

  .masthead-insignia {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
    margin-bottom: 0.2rem;
    padding: 0 0.35rem;
  }

  .masthead-title {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.1;
    margin: 0.15rem 0;
  }

  .masthead-sub {
    font-size: 0.775rem;
    line-height: 1.35;
    margin-top: 0.25rem;
    padding: 0 0.5rem;
  }

  /* News stories card refinements */
  .lead-story {
    padding: 0.85rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
  }

  .lead-story-img-wrap {
    margin-bottom: 0.75rem;
    border-radius: 6px;
    aspect-ratio: 16 / 9;
    max-height: none;
  }

  .lead-story img {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .lead-story-title {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 0.45rem;
  }

  .lead-story-excerpt {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .secondary-stories {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .story-card {
    padding: 0.85rem;
    border-radius: 8px;
  }

  .story-card-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
  }

  .story-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .share-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .share-bar > div {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .share-btn {
    justify-content: center;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Admin Mobile Executive Layout with Hamburger Menu */
  .admin-desktop-nav {
    display: none !important;
  }

  .admin-nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    height: 60px;
    min-height: 60px;
  }

  .admin-burger-btn {
    display: inline-flex !important;
  }

  .admin-mobile-drawer {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #090d16;
    border-bottom: 2px solid #1e293b;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    z-index: 999;
  }

  .admin-mobile-drawer.is-open {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
  }

  .admin-mobile-drawer-inner {
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
  }

  .mobile-nav-group-title {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #64748b;
    text-transform: uppercase;
    padding: 0.4rem 0.5rem 0.2rem;
  }

  .mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    color: #cbd5e1;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.15s ease;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:active {
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
  }

  .mobile-nav-item.active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-nav-item.item-logout {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
    margin-top: 0.25rem;
  }

  .mobile-nav-item.item-logout:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
  }

  .mobile-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.5rem 0;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .admin-card {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
  }

  .admin-form-row-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .admin-meta-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 1rem;
  }

  .admin-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0.75rem;
  }

  .admin-form-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
  }

  /* Prevent iOS mobile Safari zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    font-size: 16px !important;
  }
}
