:root{
  --ink:#0a0a0a;
  --muted:#5b5b5b;
  --edge:#e9ecef;
  --accent:#0d3b66;
  --accent-dark:#092847;
  --bg:#fff;
  --bg-page:#f5f5f5;
  --card:#ffffff;
  --red:#dc2626;
  --orange:#d97706;
  --green:#059669;
  --blue:#2563eb;
  --purple:#7c3aed;
  --cyan:#0891b2;
  --gray:#4b5563;
}

html,body{
  margin:0;
  padding:0;
  background: #f5f5f5;
  color:var(--ink);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

.wrap{
  max-width:1100px;
  margin:0 auto;
  padding:28px 24px 60px;
}

header{
  padding-top:8px;
  text-align:center;
}

.brand{
  font-weight:900;
  letter-spacing:0.5px;
  font-size:clamp(40px,8.5vw,72px);
  text-transform:uppercase;
}

.tagline{
  margin-top:6px;
  color:var(--accent);
  font-weight:600;
  letter-spacing:1px;
  font-size:clamp(12px,1.5vw,16px);
  text-transform:uppercase;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}

.info-icon{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border:1px solid var(--accent);
  border-radius:50%;
  color:var(--accent);
  font-size:12px;
  cursor:help;
  font-weight:400;
  font-family:Georgia,serif;
  font-style:italic;
}

.info-tooltip{
  position:absolute;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:var(--ink);
  color:#fff;
  padding:8px 12px 6px;
  border-radius:4px;
  font-size:12px;
  white-space:normal;
  max-width:280px;
  font-weight:normal;
  text-transform:none;
  letter-spacing:0;
  font-family:Inter,system-ui,sans-serif;
  font-style:normal;
  width:max-content;
  opacity:0;
  pointer-events:none;
  transition:opacity 0.2s;
  z-index:10;
  display:flex;
  flex-direction:column;
  align-items:center;
}

.info-icon:hover .info-tooltip, .info-tooltip:hover{
  opacity:1;
  pointer-events:auto;
}

.info-tooltip::before{
  content:"";
  position:absolute;
  bottom:-8px;
  left:50%;
  transform:translateX(-50%);
  width:16px;
  height:8px;
  background:transparent;
}

.info-tooltip::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:50%;
  transform:translateX(-50%);
  width:0;
  height:0;
  border-left:4px solid transparent;
  border-right:4px solid transparent;
  border-top:4px solid var(--ink);
}

.info-icon:focus .info-tooltip,
.info-icon:focus-within .info-tooltip {
  opacity: 1;
  pointer-events: auto;
}

.mission-link{
  display:inline-block;
  color:#fff;
  font-size:11px;
  text-decoration:underline;
  opacity:0.9;
  background:none;
  border:none;
  cursor:pointer;
  font-family:inherit;
}

.mission-link:hover{
  opacity:1;
  color:#fff;
}

/* Navigation with Hamburger Menu */
.links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 16px 24px;
  background: var(--bg);
  border-bottom: 2px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Mobile brand name (hidden on desktop) */
.nav-brand-mobile {
  display: none;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--accent);
}

/* Hamburger icon (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 501;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Nav menu (normal on desktop, collapsible on mobile) */
.nav-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0 auto;
}

.links a {
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
  padding: 8px 12px;
}

.links a::after,
.nav-button::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.links a:hover {
  opacity: 1;
}

.links a:hover::after {
  width: 100%;
}

.links a.active::after,
.nav-button.active::after {
  width: 100%;
}

.links a.active,
.nav-button.active {
  color: var(--accent);
  font-weight: 800;
}

.nav-button {
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-size: 16px;
  position: relative;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 12px;
}

/* .nav-button::after — uses .nav-underline::after */

.nav-button:hover {
  opacity: 1;
}

.nav-button:hover::after {
  width: 100%;
}


h2.title{
  font-size:clamp(28px,4.2vw,48px);
  line-height:1.1;
  margin:0 0 16px;
  font-weight:900;
  color: var(--ink);
}

.meta{
  color:var(--muted);
  font-weight:600;
  display:flex;
  gap:12px;
  align-items:center;
}

.dot{
  width:4px;
  height:4px;
  border-radius:999px;
  background:var(--edge);
  display:inline-block;
}

.panel{
  background:var(--accent);
  border:1px solid var(--accent);
  border-radius:14px;
  padding:20px 22px;
  margin:26px 0;
  color:#fff;
  cursor:pointer;
  transition:all 0.3s ease;
}

.panel h3{
  margin:0;
  font-size:clamp(18px,2.6vw,24px);
  letter-spacing:.5px;
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:2px 0;
}

.panel.collapsed h3::after{
  transform:rotate(-90deg);
}


.panel .content{
  max-height:1000px;
  overflow:hidden;
  transition:max-height 0.3s ease;
}

.panel.collapsed .content{
  max-height:0;
}

ul{
  margin:0;
  padding:0 0 0 20px;
}

li{
  margin:10px 0 0;
}

.section{
  margin:34px 0;
  background: white;
  border:1px solid #e8e8e8;
  border-radius:8px;
  padding:24px;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  position:relative;
}

.section h4 {
  margin: 0 0 20px;
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 900;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.narrative{
  line-height:1.6;
  color:var(--ink);
}

.narrative p{
  margin:0 0 14px;
  font-size:15px;
}

.narrative p:last-child{
  margin-bottom:0;
}

.narrative p:first-child::first-letter{
  font-size:48px;
  font-weight:900;
  float:left;
  line-height:48px;
  margin:0 10px 0 0;
  color:var(--accent);
}


.sources{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid var(--edge);
  font-size:13px;
  color:var(--muted);
}

.sources span{
  font-weight:600;
  color:var(--accent);
  margin-right:6px;
}


/* Modal Styles */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
}

.modal-overlay{
  display:none;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.7);
  z-index:1000;
  opacity:0;
  transition:opacity 0.3s;
}

.modal-overlay.active{
  display:block;
  opacity:1;
}

.modal-content{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  background:rgba(255, 255, 255, 0.15);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(255,255,255,0.2);
  width:90%;
  max-width:800px;
  max-height:85vh;
  overflow-y:auto;
  border-radius:12px;
  padding:16px 32px 32px;
  z-index:1001;
  box-shadow:0 8px 32px rgba(0,0,0,0.3);
  color:#fff;
}

.modal-close{
  position:absolute;
  top:16px;
  right:16px;
  background:none;
  border:none;
  font-size:28px;
  cursor:pointer;
  color:rgba(255,255,255,0.5);
  line-height:1;
  padding:0;
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.modal-close:hover{
  color:#fff;
}

.modal-title{
  font-size:28px;
  font-weight:800;
  color:#fff;
  margin-bottom:8px;
}

.modal-date{
  color:rgba(255,255,255,0.5);
  font-size:14px;
  font-weight:600;
  margin-bottom:20px;
}

.modal-body{
  line-height:1.8;
  font-size:16px;
}

.modal-body p{
  margin-bottom:16px;
}

.modal-sources{
  margin-top:24px;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,0.2);
  font-size:13px;
  color:rgba(255,255,255,0.5);
}

.modal-sources span{
  font-weight:600;
  color:var(--accent);
  margin-right:6px;
}

.footer-main{
  background:var(--accent);
  color:#fff;
  margin-top:40px;
  padding:40px 0;
}

.footer-content{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
  text-align:center;
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:40px;
  margin-bottom:24px;
}

.footer-links a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:1px;
  opacity:0.9;
  transition:opacity 0.3s;
}

.footer-links a:hover{
  opacity:1;
}

.footer-copyright{
  font-size:13px;
  opacity:0.7;
}

a{
  color:var(--accent);
}

.read-report-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.read-report-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}


.page-header {
  margin-bottom: 32px;
}

.archive-page .wrap {
  max-width: 100%;
  padding: 0;
}

.archive-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.archive-subtitle {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.section audio {
 width: 100% !important;
  max-width: 100% !important;
  display: block;
  box-sizing: border-box;
}

audio[style*="max-width"] {
  max-width: 100% !important;
}


.title-accent {
  color: var(--ink) !important;
}


.lightbox.active {
  display: flex;
  opacity: 1;
  justify-content: center;
  align-items: center;
}


.narrative > ul {
  margin-bottom: 18px !important;
  padding: 14px 18px 14px 28px !important;
  list-style-type: "– ";
  border-left: 6px solid var(--accent) !important;
  font-weight: 600 !important;
}

.narrative > ul li {
  margin: 8px 0;
  position: relative;
  padding-left: 0px;
}

.narrative > ul li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 13px;
  line-height: 1.4;
}

.narrative h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px 0;
  line-height: 1.3;
}

.narrative p + h5 {
  margin-top: 32px;
}

/* Archive Page Styles (Original - for daily reports) */
.archive-page .archive-card {
    max-width: 100%;
  width: 100%;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  display: block;
  overflow: visible;
  min-height: auto;
}

.archive-page .archive-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.archive-page .archive-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-direction: row;
}

.archive-page .archive-card-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.archive-page .archive-card-date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

.archive-page .archive-card-description {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.archive-page .archive-card-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 0;
}

/* Archive Page Styles (Original - for daily reports) */

* { box-sizing: border-box; }

/* Hero Section */

/* Dark overlay for better text readability */

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}


/* Centered short divider after intro description */

/* Hero Map Section */


/* Horizontal Theater Navigation Bar */
.theater-nav {
    position: sticky;
    top: 60px;
    background: #fff;
    border-top: 1px solid var(--edge);
    border-bottom: 2px solid var(--accent);
    padding: 20px 0 16px;
    margin: 40px 0 30px;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.theater-nav h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px 0;
    text-align: center;
}

.theater-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.theater-nav li {
    margin: 0;
}

.theater-nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 4px;
    display: block;
}

.theater-nav a:hover {
    color: var(--ink);
    background: rgba(0, 51, 20, 0.08);
}

.theater-nav a.active {
    background: var(--accent);
    color: #fff;
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  /* Show mobile brand and hamburger */
  .nav-brand-mobile {
    display: block;
  }
  
  .hamburger {
    display: flex;
  }
  
  /* Hide nav menu by default on mobile */
  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 499;
  }
  
  .nav-menu.active {
    max-height: 100vh;
    padding: 20px 0;
  }
  
  .nav-menu a,
  .nav-menu button {
    color: #000;
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--edge);
  }
  
  .nav-menu a::after,
  .nav-menu button::after {
    display: none;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Adjust nav padding */
  .links {
    padding: 12px 20px;
  }
  
  /* Adjust theater nav position */
  .theater-nav {
    top: 60px;
    padding: 12px 0 10px;
    margin: 20px 0 20px;
  }
  
  .theater-nav h3 {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .theater-nav ul {
    gap: 8px;
    padding: 0 12px;
  }
  
  .theater-nav a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  .wrap { padding: 20px 16px 44px; }

  header { padding-top: 0; }
  .brand { font-size: clamp(32px, 10vw, 44px); }
  .tagline {
    padding: 0 6px;
    text-align: center;
    line-height: 1.35;
    flex-wrap: wrap;
    gap: 6px;
  }

  .info-icon { width: 18px; height: 18px; }
  .info-tooltip {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: auto;
    top: auto;
    max-width: 90vw;
    word-wrap: break-word;
    white-space: normal;
    padding: 8px 12px;
    z-index: 9999;
  }

  h2.title { font-size: clamp(22px, 6vw, 28px); }
  .meta { font-size: 14px; flex-wrap: wrap; gap: 8px; }

  .section,

  .narrative p {
    font-size: 16px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .narrative p:first-child::first-letter {
    float: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    color: inherit;
  }

  .archive-page .archive-card-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .archive-page .archive-card-actions {
    flex-wrap: wrap;
  }

  .modal-content { width: 94%; padding: 20px; }
  .modal-title { font-size: 24px; }
  .modal-body { font-size: 15px; }

  .footer-content { padding: 0 16px; }
  .footer-links { flex-direction: column; gap: 12px; }
  
  
  .hero-content h1 {
    font-size: 2.5rem;
    white-space: normal;
  }
  
  
}

@media (max-width: 480px) {
  
  .hero-content h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  
}

@media (min-width: 1400px) {
}

@media (max-width: 1399px) {
}
/* Dropdown Navigation Styles */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 2px solid var(--edge);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 220px;
  z-index: 1000;
  margin-top: 0;
  padding-top: 4px;
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease;
  border-bottom: 1px solid var(--edge);
}

.dropdown-menu a:first-child {
  border-radius: 6px 6px 0 0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.dropdown-menu a:hover {
  background: rgba(0, 51, 20, 0.05);
}

.dropdown-menu a::after {
  display: none;
}

/* Keep dropdown visible when hovering over button OR menu */
.nav-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--edge);
  }
  
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-top: 0;
    padding-top: 0;
    background: rgba(0, 51, 20, 0.03);
  }
  
  .nav-menu.active .dropdown-menu {
    display: block;
  }
  
  .nav-menu:not(.active) .dropdown-menu {
    display: none;
  }
  
  .dropdown-menu a {
    padding: 12px 24px 12px 40px;
    font-size: 14px;
  }
}
 /* ========================================
   FTO DETAIL PAGE STYLES
   Add these styles to the end of your main style.css file
   ======================================== */

/* FTO Detail Page Styles */
.fto-detail {
  background: transparent;
  padding: 0;
  margin-top: 20px;
}

.fto-content {
  max-width: 100%;
}

.fto-header {
  background: white;
  border: 2px solid var(--accent);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.fto-designation {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.designation-badge {
  background: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.designation-date {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.fto-title {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: -0.5px;
}

.fto-official-name {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 16px;
  font-weight: 600;
  font-style: italic;
}

.fto-aliases,
.designation-authority {
  font-size: 14px;
  color: var(--ink);
  margin: 8px 0;
  line-height: 1.6;
}

.fto-aliases strong,
.designation-authority strong {
  color: var(--accent);
  font-weight: 700;
}

.fto-section {
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.fto-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fto-section h3 {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 800;
  color: var(--ink);
  margin: 28px 0 16px;
}

.fto-section h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin: 20px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-size: 15px;
}

.fto-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 300px;
}

.fto-section p:last-child {
  margin-bottom: 0;
}

.fto-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.fto-section li {
  font-size: 15px;
  line-height: 1.7;
  margin: 8px 0;
  color: var(--ink);
}

.designation-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.designation-table thead {
  background: var(--accent);
  color: white;
}

.designation-table th {
  padding: 12px;
  text-align: left;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

.designation-table td {
  padding: 12px;
  border-bottom: 1px solid var(--edge);
}

.designation-table tr:last-child td {
  border-bottom: none;
}

.designation-table tbody tr:hover {
  background: rgba(0, 51, 20, 0.02);
}

.timeline {
  margin: 24px 0;
}

.timeline-section {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--edge);
}

.timeline-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-section h4 {
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.timeline-section ul {
  margin: 0;
  padding-left: 20px;
}

.timeline-section li {
  margin: 8px 0;
  font-size: 15px;
  line-height: 1.6;
}

.fto-footer {
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 32px;
  margin-top: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.publication-info {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--edge);
}

.publication-info p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 8px 0;
}

.publication-info strong {
  color: var(--accent);
  font-weight: 700;
}

.related-designations h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-designations ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.related-designations li {
  margin: 0;
}

.related-designations a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.related-designations a:hover {
  background: var(--accent);
  color: white;
}

/* Mobile responsiveness for FTO pages */
@media (max-width: 768px) {
  .fto-header {
    padding: 24px 20px;
  }
  
  .fto-title {
    font-size: clamp(32px, 8vw, 42px);
  }
  
  .fto-official-name {
    font-size: 16px;
  }
  
  .fto-section {
    padding: 24px 20px;
  }
  
  .fto-section h2 {
    font-size: clamp(22px, 5vw, 28px);
  }
  
  .fto-section h3 {
    font-size: clamp(18px, 4vw, 22px);
  }
  
  .designation-table {
    font-size: 13px;
  }
  
  .designation-table th,
  .designation-table td {
    padding: 10px 8px;
  }
  
  .fto-footer {
    padding: 24px 20px;
  }
  
  .related-designations ul {
    flex-direction: column;
    gap: 12px;
  }
  
  .related-designations a {
    display: block;
    text-align: center;
  }
}
/* ========================================
   FTO DETAIL PAGE STYLES
   Add these styles to the end of your main style.css file
   ======================================== */

/* FTO Detail Page Styles */
.fto-detail {
  background: transparent;
  padding: 0;
  margin-top: 32px;
}

.fto-content {
  max-width: 100%;
}

.fto-cover-image {
  width: 100%;
  height: 400px;
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
}

.fto-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.fto-header {
  background: white;
  border: 3px solid var(--accent);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 48px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.fto-designation {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.designation-badge {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.designation-date {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.fto-title {
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 900;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1;
}

.fto-official-name {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 20px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
}

.fto-aliases,
.designation-authority {
  font-size: 15px;
  color: var(--ink);
  margin: 12px 0;
  line-height: 1.7;
}

.fto-aliases strong,
.designation-authority strong {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.fto-section {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 44px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.fto-section:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  border-color: var(--accent);
}

.fto-section h2 {
  font-size: clamp(30px, 4.5vw, 40px);
  font-weight: 900;
  color: white;
  background: var(--accent);
  margin: -44px -44px 32px -44px;
  padding: 24px 44px;
  border-radius: 10px 10px 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fto-section h3 {
  font-size: clamp(22px, 3.5vw, 28px);
  font-weight: 900;
  color: var(--accent);
  margin: 36px 0 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fto-section h3:first-of-type {
  margin-top: 0;
}

.fto-section h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin: 28px 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 16px;
}

.fto-section p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 18px;
  font-weight: 300px;
}

.fto-section p:last-child {
  margin-bottom: 0;
}

.fto-section ul {
  margin: 20px 0;
  padding-left: 28px;
}

.fto-section li {
  font-size: 16px;
  line-height: 1.8;
  margin: 12px 0;
  color: var(--ink);
  font-weight: 300px;
}

.fto-section li strong {
  color: var(--accent);
  
}

.designation-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  font-size: 15px;
  border: 2px solid var(--accent);
  border-radius: 8px;
  overflow: hidden;
}

.designation-table thead {
  background: var(--accent);
  color: white;
}

.designation-table th {
  padding: 16px;
  text-align: left;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
}

.designation-table td {
  padding: 16px;
  border-bottom: 1px solid #e0e0e0;
  background: white;
}

.designation-table tr:last-child td {
  border-bottom: none;
}

.designation-table tbody tr:hover {
  background: rgba(0, 51, 20, 0.04);
}

.timeline {
  margin: 32px 0;
}

.timeline-section {
  margin-bottom: 36px;
  padding: 28px;
  background: rgba(0, 51, 20, 0.02);
  border-left: 5px solid var(--accent);
  border-radius: 6px;
}

.timeline-section:last-child {
  margin-bottom: 0;
}

.timeline-section h4 {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.timeline-section ul {
  margin: 0;
  padding-left: 24px;
}

.timeline-section li {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.7;
}

.fto-footer {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 40px;
  margin-top: 48px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.publication-info {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--edge);
}

.publication-info p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 10px 0;
}

.publication-info strong {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

.related-designations h4 {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent);
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.related-designations ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.related-designations li {
  margin: 0;
}

.related-designations a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  display: inline-block;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-designations a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 51, 20, 0.3);
}

/* Mobile responsiveness for FTO pages */
@media (max-width: 768px) {
  .fto-header {
    padding: 28px 24px;
  }
  
  .fto-title {
    font-size: clamp(36px, 9vw, 48px);
  }
  
  .fto-official-name {
    font-size: 17px;
  }
  
  .fto-section {
    padding: 32px 24px;
  }
  
  .fto-section h2 {
    font-size: clamp(24px, 6vw, 32px);
    margin: -32px -24px 24px -24px;
    padding: 20px 24px;
  }
  
  .fto-section h3 {
    font-size: clamp(20px, 5vw, 24px);
  }
  
  .designation-table {
    font-size: 14px;
  }
  
  .designation-table th,
  .designation-table td {
    padding: 12px 10px;
  }
  
  .timeline-section {
    padding: 20px;
  }
  
  .fto-footer {
    padding: 28px 24px;
  }
  
  .related-designations ul {
    flex-direction: column;
    gap: 12px;
  }
  
  .related-designations a {
    display: block;
    text-align: center;
  }
}
/* ========================================
   FTO INDEX PAGE STYLES - CORRECTED VERSION
   All selectors now have body.fto-index prefix
   ======================================== */

/* DataTables stripe override */
body.fto-index table.dataTable tbody tr,
body.fto-index table.dataTable.display tbody tr {
    background-color: #ffffff !important;
}

body.fto-index table#ftoTable tbody tr:nth-of-type(odd) {
    background-color: #ffffff !important;
}

body.fto-index table#ftoTable tbody tr:nth-of-type(even) {
    background-color: #f8f9fa !important;
}

body.fto-index table#ftoTable tbody tr:hover,
body.fto-index table.dataTable tbody tr:hover {
    background-color: #f5f5f5 !important;
}

/* FTO Index specific header styling */
body.fto-index header {
    padding: 30px 0;
    text-align: center;
    background: var(--accent);
    margin-bottom: 40px;
}

body.fto-index .brand {
    color: #fff;
    margin-bottom: 8px;
}

body.fto-index .tagline {
    color: rgba(255, 255, 255, 0.9);
}

body.fto-index .stats {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 600;
}

body.fto-index .stats .number {
    font-size: 32px;
    font-weight: 900;
    color: #e74c3c;
}

body.fto-index .intro {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 34px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

body.fto-index .intro * {
    font-weight: 400 !important;
}

body.fto-index .intro strong {
    font-weight: 700 !important;
    color: var(--accent);
}

body.fto-index .intro p {
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.6;
}

body.fto-index .intro p:last-child {
    margin-bottom: 0;
}

body.fto-index .intro ul {
    margin-left: 20px;
    color: var(--ink);
    font-size: 15px;
}

body.fto-index .intro li {
    margin-bottom: 8px;
}

body.fto-index .filters {
    background: var(--bg);
    border: 1px solid var(--edge);
    padding: 20px 24px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

body.fto-index .filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.fto-index .filters label {
    font-weight: 700;
    color: var(--accent);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.fto-index .filters select {
    padding: 8px 14px;
    border: 2px solid var(--edge);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    background: var(--bg);
    min-width: 160px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

body.fto-index .filters select:hover {
    border-color: var(--accent);
}

body.fto-index .filters select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 51, 20, 0.1);
}

body.fto-index .table-wrapper {
    background: var(--bg);
    border: 1px solid var(--edge);
    border-radius: 8px;
    padding: 24px;
    overflow-x: auto;
}

body.fto-index table.dataTable {
    width: 100% !important;
    border-collapse: collapse;
    font-size: 15px;
}

body.fto-index table.dataTable thead th {
    background: var(--accent) !important;
    color: white;
    padding: 14px 12px;
    font-weight: 800;
    text-align: left !important;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.fto-index table.dataTable thead {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
}

body.fto-index table.dataTable thead th.sorting,
body.fto-index table.dataTable thead th.sorting_asc,
body.fto-index table.dataTable thead th.sorting_desc,
body.fto-index table.dataTable thead th.sorting_asc_disabled,
body.fto-index table.dataTable thead th.sorting_desc_disabled {
    text-align: left !important;
    padding-left: 12px !important;
}

body.fto-index table.dataTable thead .sorting:before,
body.fto-index table.dataTable thead .sorting_asc:before,
body.fto-index table.dataTable thead .sorting_desc:before,
body.fto-index table.dataTable thead .sorting:after,
body.fto-index table.dataTable thead .sorting_asc:after,
body.fto-index table.dataTable thead .sorting_desc:after {
    right: 12px !important;
    left: auto !important;
    opacity: 1 !important;
    color: white !important;
}

body.fto-index table.dataTable thead th.sorting:before,
body.fto-index table.dataTable thead th.sorting:after,
body.fto-index table.dataTable thead th.sorting_asc:before,
body.fto-index table.dataTable thead th.sorting_asc:after,
body.fto-index table.dataTable thead th.sorting_desc:before,
body.fto-index table.dataTable thead th.sorting_desc:after {
    color: rgba(255, 255, 255, 0.5) !important;
    opacity: 0.5 !important;
}

body.fto-index table.dataTable thead th.sorting_asc:after,
body.fto-index table.dataTable thead th.sorting_desc:after {
    color: white !important;
    opacity: 1 !important;
}

body.fto-index table.dataTable tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--edge);
    color: var(--ink);
    text-align: left !important;
}

body.fto-index .dt-left {
    text-align: left !important;
}

body.fto-index #ftoTable thead th {
    text-align: left !important;
}

body.fto-index #ftoTable tbody tr:nth-child(odd),
body.fto-index #ftoTable.dataTable tbody tr:nth-child(odd),
body.fto-index table#ftoTable tbody tr:nth-child(odd) {
    background-color: #ffffff !important;
}

body.fto-index #ftoTable tbody tr:nth-child(even),
body.fto-index #ftoTable.dataTable tbody tr:nth-child(even),
body.fto-index table#ftoTable tbody tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

body.fto-index #ftoTable tbody tr:hover,
body.fto-index #ftoTable.dataTable tbody tr:hover,
body.fto-index table#ftoTable tbody tr:hover {
    background-color: #f5f5f5 !important;
}

body.fto-index .dataTable.stripe tbody tr.odd,
body.fto-index .dataTable.display tbody tr.odd {
    background-color: #ffffff !important;
}

body.fto-index .dataTable.stripe tbody tr.even,
body.fto-index .dataTable.display tbody tr.even {
    background-color: #f8f9fa !important;
}

body.fto-index .dataTable.stripe tbody tr.odd:hover,
body.fto-index .dataTable.display tbody tr.odd:hover,
body.fto-index .dataTable.stripe tbody tr.even:hover,
body.fto-index .dataTable.display tbody tr.even:hover {
    background-color: #f5f5f5 !important;
}

body.fto-index .status-active {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    background: var(--accent);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.fto-index .status-delisted {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    background: var(--muted);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.fto-index .aliases {
    color: var(--muted);
    font-size: 14px;
    font-style: italic;
}

body.fto-index .dataTables_wrapper .dataTables_length,
body.fto-index .dataTables_wrapper .dataTables_filter {
    margin-bottom: 20px;
}

body.fto-index .dataTables_wrapper .dataTables_length label,
body.fto-index .dataTables_wrapper .dataTables_filter label {
    font-weight: 600;
    color: var(--ink);
    font-size: 14px;
}

body.fto-index .dataTables_wrapper .dataTables_length select {
    padding: 6px 10px;
    border: 2px solid var(--edge);
    border-radius: 4px;
    margin: 0 6px;
    font-weight: 600;
    color: var(--ink);
}

body.fto-index .dataTables_wrapper .dataTables_filter input {
    padding: 8px 14px;
    border: 2px solid var(--edge);
    border-radius: 4px;
    margin-left: 8px;
    width: 250px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: all 0.2s;
}

body.fto-index .dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 51, 20, 0.1);
}

body.fto-index .dataTables_wrapper .dataTables_info {
    padding-top: 20px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
}

body.fto-index .dataTables_wrapper .dataTables_paginate {
    padding-top: 20px;
}

body.fto-index .dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 8px 14px;
    margin: 0 4px;
    border: 2px solid var(--edge);
    border-radius: 4px;
    background: var(--bg);
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

body.fto-index .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: var(--accent);
    background: rgba(0, 51, 20, 0.05);
}

body.fto-index .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

body.fto-index .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

body.fto-index footer {
    margin-top: 60px;
    padding: 32px 0;
    text-align: center;
    border-top: 2px solid var(--edge);
    color: var(--muted);
    font-size: 14px;
}

body.fto-index footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

body.fto-index footer a:hover {
    text-decoration: underline;
}

body.fto-index footer p {
    margin: 8px 0;
}

  .sources-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
  }
  .sources-label {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    margin-bottom: 6px;
  }
  .sources-list {
    font-size: 11px;
    line-height: 1.5;
    color: #888;
    font-style: italic;
  }
  /* Prevent drop cap on sources section */
  .sources-section p::first-letter,
  .sources-label::first-letter,
  .sources-list::first-letter {
    font-size: inherit !important;
    font-weight: inherit !important;
    float: none !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Daily metrics bar - UPDATED STYLING */
.daily-metrics {
  padding: 24px 30px;
  margin-top: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-group {
  font-size: 16px;
  line-height: 1.6;
}

.metric-label {
  color: #000;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.metric-value {
  color: #ef4444;
  font-weight: 700;
  font-size: 18px;
}

.metric-text {
  color: #000;
  font-weight: 400;
}

@media (max-width: 768px) {
  .daily-metrics {
    padding: 20px;
  }
  .metric-group {
    font-size: 14px;
  }
  .metric-value {
    font-size: 16px;
  }
}
/* TFR TOOLTIP STYLES - Add to your style.css */

/* Visual indicator for tooltipped terms */
.tfr-tooltip {
  border-bottom: 1px dotted #666;
  cursor: help;
  transition: border-color 0.2s ease;
}

.tfr-tooltip:hover {
  border-bottom-color: #1a4d2e;
}

/* Tooltip content structure */
.tfr-tooltip-content {
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.tfr-tooltip-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.tfr-tooltip-text {
  padding: 0;
}

.tfr-tooltip-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a4d2e;
  margin-bottom: 6px;
}

.tfr-tooltip-description {
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  margin: 0;
}

/* Tippy.js theme customization */
.tippy-box[data-theme~='tfr'] {
  background-color: #fff;
  color: #333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 13px;
}

.tippy-box[data-theme~='tfr'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color: #fff;
}

.tippy-box[data-theme~='tfr'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #fff;
}

.tippy-box[data-theme~='tfr'][data-placement^='left'] > .tippy-arrow::before {
  border-left-color: #fff;
}

.tippy-box[data-theme~='tfr'][data-placement^='right'] > .tippy-arrow::before {
  border-right-color: #fff;
}

.tippy-box[data-theme~='tfr'] > .tippy-content {
  padding: 12px;
}

/* Stay Informed CTA Section */
.stay-informed-cta {
    background: linear-gradient(135deg, #1a4d7a 0%, #2d5f8d 100%);
    text-align: center;
    padding: 60px 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stay-informed-cta h2 {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.cta-tagline {
    color: #e8f1f8;
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-card-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.cta-card-item:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-card-icon {
    margin-bottom: 12px;
}

.cta-card-icon svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.cta-card-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    color: white;
}

.cta-card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 700px) {
    .cta-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stay-informed-cta {
        padding: 40px 24px;
    }
    .stay-informed-cta h2 {
        font-size: 2em;
    }
}

@media (max-width: 500px) {
    .cta-cards-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    .cta-card-item {
        padding: 24px 16px;
    }
}
/* ==========================================
   SHARED COMPONENTS
   Used across Dashboard, Theater pages, and Map
   ========================================== */


/* === Card Base === */
.card-base {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* === Site Footer === */
.dashboard-footer,
.theater-footer {
  background: var(--accent);
  color: white;
  padding: 32px 24px;
  text-align: center;
}

.dashboard-footer .footer-links a,
.dashboard-footer .footer-links button,
.theater-footer a,
.theater-footer button {
  color: white;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.9;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
}

.dashboard-footer .footer-links a:hover,
.dashboard-footer .footer-links button:hover,
.theater-footer a:hover,
.theater-footer button:hover {
  opacity: 1;
}

.dashboard-footer .footer-copyright {
  font-size: 13px;
  opacity: 0.7;
}

.dashboard-footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}

.theater-footer a,
.theater-footer button {
  margin: 0 16px;
}

/* === Hero Layout === */
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* === Map Embed === */
.map-embed {
  height: 750px;
  border: none;
  width: 100%;
  display: block;
}

/* === Frosted Glass Buttons === */
.frost-btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

.frost-btn.primary,
.frost-btn.secondary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
}

.frost-btn.primary:hover,
.frost-btn.secondary:hover {
  background: rgba(255,255,255,0.28);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.frost-btn.pulse {
  animation: frost-btn-pulse 2.5s ease-in-out infinite;
}

.frost-btn.pulse:hover {
  animation: none;
}

@keyframes frost-btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
}

.frost-btn.solid {
  background: rgba(13, 59, 102, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--accent);
  border: 1px solid rgba(13, 59, 102, 0.2);
}

.frost-btn.solid:hover {
  background: rgba(13, 59, 102, 0.2);
  border-color: rgba(13, 59, 102, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.15);
}

/* === Hero Stats Panel (frosted glass) === */
.hero-stats-panel {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  min-width: 300px;
}

.hero-date {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.hero-stats {
  display: flex;
  gap: 16px;
}

.hero-stat {
  text-align: center;
  flex: 1;
}

.hero-stat-number {
  font-size: 24px;
  font-weight: 900;
}

.hero-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  font-weight: 600;
}

/* === CTA Cards Grid === */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.cta-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  font-family: inherit;
}

.cta-card:hover,
.theater-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(13,59,102,0.12);
  transform: translateY(-2px);
}


.cta-icon {
  font-size: 32px;
  margin-bottom: 12px;
  color: var(--accent);
}

.cta-icon svg {
  width: 32px;
  height: 32px;
}

.cta-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.cta-desc,
.trends-panel-subtitle,
.fto-carousel-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

@media (max-width: 600px) {
  .cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cta-card {
    padding: 24px 16px;
  }
  .cta-icon {
    font-size: 28px;
  }
  .cta-title {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }
}

/* === Trends Tab + Panel (used on map sections) === */
.trends-tab {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 59, 102, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border: none;
  border-radius: 8px 0 0 8px;
  padding: 16px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 100;
  transition: all 0.3s ease;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
}

.trends-tab:hover {
  background: rgba(13, 59, 102, 1);
  padding-right: 16px;
}

.trends-tab svg {
  animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.trends-tab.active {
  opacity: 0;
  pointer-events: none;
}

.trends-panel {
  position: absolute;
  right: -780px;
  top: 140px;
  bottom: 20px;
  width: 760px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  box-shadow: -5px 0 30px rgba(0,0,0,0.2);
  z-index: 99;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--ink);
}

.trends-panel.active {
  right: 20px;
}

.trends-panel-header {
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  position: relative;
}

.trends-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 4px 0;
}


.trends-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.trends-close:hover {
  color: var(--ink);
}

.trends-chart-container {
  flex: 1;
  padding: 20px;
  min-height: 200px;
  max-height: 280px;
}

.trends-summary {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.trends-stat {
  text-align: center;
}

.trends-stat-number {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
}

.trends-stat-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 900px) {
  .trends-panel {
    width: calc(100% - 40px);
    right: calc(-100% - 40px);
    top: 140px;
    bottom: 10px;
  }
  .trends-panel.active {
    right: 20px;
  }
  .trends-tab {
    padding: 12px 10px;
    font-size: 10px;
  }
  .trends-tab svg {
    width: 16px;
    height: 16px;
  }
  .trends-summary {
    flex-wrap: wrap;
    gap: 16px;
  }
  .trends-stat {
    flex: 1 1 30%;
    min-width: 80px;
  }
  .trends-stat-number {
    font-size: 20px;
  }
}

@media (max-width: 500px) {
  .trends-panel {
    width: calc(100% - 20px);
    right: calc(-100% - 20px);
    top: 120px;
    bottom: 10px;
  }
  .trends-panel.active {
    right: 10px;
  }
  .trends-panel-header {
    padding: 16px;
  }
  .trends-panel-title {
    font-size: 16px;
  }
  .trends-chart-container {
    padding: 12px;
    min-height: 250px;
  }
}

/* === Loading States === */
.loading-placeholder {
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
}

/* === Timeline Empty State === */
.timeline-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-style: italic;
}


/* ==========================================
   PAGE: DASHBOARD
   ========================================== */

/* Hero Banner */
.hero-banner {
  background: linear-gradient(rgba(13, 59, 102, 0.85), rgba(9, 40, 71, 0.9)), url('/data/hero-banner.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 24px;
}

.hero-banner *,
.hero-banner h1,
.hero-banner p {
  text-shadow: none !important;
}

.hero-inner {
  width: 100%;
}

.hero-banner .hero-content {
  flex: 1;
  max-width: 550px;
  text-align: left;
}

.hero-headline {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 36px !important;
  font-weight: 900 !important;
  margin-bottom: 16px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: none !important;
}

.hero-description {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 28px;
  text-align: left;
  text-shadow: none !important;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: left;
  }
  .hero-banner .hero-content {
    max-width: 100%;
  }
  .hero-stats-panel {
    width: 100%;
    min-width: auto;
  }
  .hero-stats {
    width: 100%;
    justify-content: center;
  }
  .hero-stat {
    min-width: 80px;
    padding: 10px 14px;
  }
  .hero-stat-number {
    font-size: 20px;
  }
}

/* Dashboard Main Layout */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Map Section */
.global-map-section {
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
  overflow: hidden;
  position: relative;
}


/* Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* Dashboard Cards */
.dash-card {
  margin-bottom: 24px;
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--edge);
}

.dash-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}

.dash-card-link {
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.dash-card-link:hover { text-decoration: underline; }

.dash-card-body {
  padding: 24px;
}

.dash-card-body.no-padding {
  padding: 0;
}

/* Today's Brief */
.brief-summary {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: 20px;
}

.brief-summary strong { color: var(--accent); }


.read-full-btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
}

.read-full-btn:hover { background: var(--accent-dark); }

/* Theater Cards */
.theater-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.theater-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.2s;
}


.theater-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.theater-card-name { font-size: 17px; font-weight: 800; color: var(--accent); }

.theater-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-dot.moderate { background: var(--orange); animation: none; }
.status-dot.low { background: var(--green); animation: none; }
.status-dot.none { background: var(--gray); animation: none; }

.theater-card-summary {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 63px;
}

.theater-card-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Dashboard Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: fit-content;
}

/* Dashboard Timeline */
.timeline-scroll {
  overflow-y: auto;
  padding: 16px 24px;
  max-height: 700px;
}

.dash-timeline .timeline-event {
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
  border-left: 2px solid var(--edge);
  margin-left: 4px;
}

.dash-timeline .timeline-event:last-child { padding-bottom: 0; border-left-color: transparent; }

.dash-timeline .timeline-event::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dash-timeline .timeline-event[data-region="mena"]::before { background: var(--red); }
.dash-timeline .timeline-event[data-region="europe"]::before { background: var(--blue); }
.dash-timeline .timeline-event[data-region="americas"]::before { background: var(--purple); }
.dash-timeline .timeline-event[data-region="sub-saharan-africa"]::before { background: var(--orange); }
.dash-timeline .timeline-event[data-region="asia-pacific"]::before { background: var(--cyan); }
.dash-timeline .timeline-event[data-region="south-central-asia"]::before { background: var(--green); }
.dash-timeline .timeline-event[data-region="cyber-space"]::before { background: var(--gray); }

.timeline-region {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.timeline-region[data-region="mena"] { color: var(--red); }
.timeline-region[data-region="europe"] { color: var(--blue); }
.timeline-region[data-region="americas"] { color: var(--purple); }
.timeline-region[data-region="sub-saharan-africa"] { color: var(--orange); }
.timeline-region[data-region="asia-pacific"] { color: var(--cyan); }
.timeline-region[data-region="south-central-asia"] { color: var(--green); }
.timeline-region[data-region="cyber-space"] { color: var(--gray); }

.timeline-desc { font-size: 13px; color: var(--ink); line-height: 1.5; }
.timeline-time { font-size: 11px; color: var(--muted); margin-top: 4px; font-weight: 600; }

/* Stats Card */


/* Archive Teaser */
.archive-list {
  padding: 0 24px 24px;
}

.archive-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
}

.archive-item:last-child { border-bottom: none; padding-bottom: 0; }
.archive-item:hover { background-color: rgba(13, 59, 102, 0.04); }
.archive-item-date { font-size: 13px; font-weight: 700; color: var(--ink); }
.archive-item-link { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 700; }
.archive-item-link:hover { text-decoration: underline; }

/* Social Feed */

/* Dashboard Footer */
.dashboard-footer {
  margin-top: 48px;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
  .theater-grid { grid-template-columns: 1fr; }
}


/* ==========================================
   PAGE: THEATER (MENA, Europe, etc.)
   ========================================== */

/* Theater Hero Banner */
.theater-hero {
  background: linear-gradient(rgba(13, 59, 102, 0.85), rgba(9, 40, 71, 0.9)), url('/data/hero-banner.jpg') center/cover no-repeat;
  color: white;
  padding: 80px 24px;
}

.theater-hero *,
.theater-hero h1,
.theater-hero p {
  text-shadow: none !important;
}


.theater-hero-content {
  flex: 1;
  max-width: 600px;
}

.theater-hero-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 36px !important;
  font-weight: 900 !important;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.theater-hero-subtitle {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 24px;
}

.theater-hero-cta {
  display: flex;
  gap: 12px;
}

/* Theater Navigation Bar */
.theater-nav-bar {
  background: var(--card);
  border-bottom: 1px solid var(--edge);
  overflow-x: auto;
}

.theater-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.theater-nav-link {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.theater-nav-link:hover {
  color: var(--ink);
  background: var(--bg-page);
}

.theater-nav-link.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Theater Map Section */
.theater-map-section {
  border-bottom: 1px solid var(--edge);
  position: relative;
}


/* FTO Carousel Section */
.fto-carousel-section {
  padding: 32px 0;
  background: var(--bg-page);
}

.fto-carousel-header {
  max-width: 1400px;
  margin: 0 auto 20px;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fto-carousel-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}


.fto-carousel-wrapper {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.fto-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 0 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.fto-carousel::-webkit-scrollbar {
  display: none;
}

.fto-card {
  flex: 0 0 auto;
  min-width: 200px;
  max-width: 240px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(13, 59, 102, 0.12);
  border-radius: 8px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fto-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(13, 59, 102, 0.12);
}

.fto-card-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fto-card-alias {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fto-card-date {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fto-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
  transition: all 0.2s;
}

.fto-carousel-nav:hover {
  background: var(--ink);
  transform: translateY(-50%) scale(1.1);
}

.fto-carousel-nav.prev { left: 8px; }
.fto-carousel-nav.next { right: 8px; }

.fto-carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .fto-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .fto-card {
    min-width: 180px;
  }
  .fto-carousel-nav {
    display: none;
  }
}

/* Theater Main Container */
.theater-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Theater Content Grid */
.theater-content-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 1100px) {
  .theater-content-grid {
    grid-template-columns: 1fr;
  }
}

/* Theater Sidebar */
.theater-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Theater Daily Report */
/* .theater-report inherits from .card-base */

.report-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--edge);
}

.report-date {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.report-title {
  font-size: clamp(20px, 2.8vw, 26px);
  font-weight: 900;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-body {
  padding: 32px;
}

.report-body .narrative {
  line-height: 1.6;
  color: var(--ink);
}

.report-body .narrative p {
  margin: 0 0 14px;
  font-size: 15px;
}

.report-body .narrative p:last-child {
  margin-bottom: 0;
}

.report-summary {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 32px;
}

.report-summary h5 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px 0 !important;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
}

.report-summary p {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.04), rgba(13, 59, 102, 0.08));
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
}

/* Override drop cap from main style.css */
.report-summary p:first-child::first-letter,
.report-body .narrative p:first-child::first-letter {
  font-size: inherit !important;
  font-weight: inherit !important;
  float: none !important;
  line-height: inherit !important;
  margin: 0 !important;
  color: inherit !important;
}

/* h5 sub-headings */
.report-body .narrative h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 24px 0 8px 0;
  line-height: 1.4;
}

.report-body .narrative p + h5 {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--edge);
}

.report-body .narrative h5 + p::first-letter {
  font-size: inherit;
  font-weight: inherit;
  float: none;
  line-height: inherit;
  margin: 0;
  color: inherit;
}

/* Sources Styling */
.report-sources {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--edge);
}

.sources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 8px 0;
}

.sources-header:hover .sources-heading {
  color: var(--accent-dark);
}

.sources-heading {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sources-count {
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
}

.sources-toggle {
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.3s ease;
}

.sources-toggle.expanded {
  transform: rotate(180deg);
}

.sources-list {
  display: none;
  padding-top: 12px;
}

.sources-list.expanded {
  display: block;
}

.source-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--edge);
  text-decoration: none;
  transition: background 0.2s;
}

.source-item:last-child {
  border-bottom: none;
}

.source-item:hover {
  background: rgba(13, 59, 102, 0.03);
  margin: 0 -12px;
  padding: 10px 12px;
}

.source-outlet {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 100px;
  flex-shrink: 0;
}

.source-title {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
  flex: 1;
}

.source-link-icon {
  color: var(--muted);
  font-size: 12px;
  flex-shrink: 0;
}

.source-item:hover .source-title { color: var(--accent); }
.source-item:hover .source-link-icon { color: var(--accent); }

/* Report Archive Link */


/* Key Actors Tracker */
.actors-card {
  margin-bottom: 24px;
  overflow: hidden;
}

.actors-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--edge);
  background: #ffffff;
}

.actors-title,
.timeline-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  margin: 0;
}

.actors-list {
  padding: 0 20px 16px;
}

.actors-columns {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--edge);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.actor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--edge);
}

.actor-item:last-child { border-bottom: none; }

.actor-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.actor-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.actors-empty {
  color: var(--muted);
  font-style: italic;
  font-size: 14px;
  text-align: center;
  padding: 12px 0;
}

/* Theater Timeline (ACLED-style) */
.theater-timeline {
  position: relative;
}

.timeline-card {
  overflow: hidden;
}

.timeline-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--edge);
  border-left: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff !important;
}


.timeline-month {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.timeline-legend {
  padding: 16px 24px;
  border-bottom: 1px solid var(--edge);
  display: flex;
  gap: 24px;
  font-size: 12px;
  background: #ffffff;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.violent { background: var(--red); }
.legend-dot.strategic { background: var(--blue); }

.theater-timeline .timeline-scroll {
  position: relative;
  background: #ffffff;
}

.timeline-track {
  position: relative;
  padding: 24px 0;
  background: #ffffff;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--edge);
  transform: translateX(-50%);
}

.theater-timeline .timeline-event {
  position: relative;
  margin-bottom: 32px;
  min-height: 60px;
}

.theater-timeline .timeline-event:last-child {
  margin-bottom: 0;
}

.theater-timeline .timeline-event .event-content {
  width: 45%;
}

.theater-timeline .timeline-event.left .event-content {
  text-align: right;
  padding-right: 24px;
  margin-left: 0;
}

.theater-timeline .timeline-event.right .event-content {
  text-align: left;
  padding-left: 24px;
  margin-left: 55%;
}

.theater-timeline .timeline-event .event-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red);
  border: 2px solid var(--card);
  transform: translateX(-50%);
  z-index: 1;
}

.theater-timeline .timeline-event.strategic .event-dot {
  background: var(--blue);
}

.event-date {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.event-location {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.event-title {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.4;
}

/* Theater Footer */

/* Theater Responsive */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .theater-hero-content {
    max-width: 100%;
  }
  .theater-hero-cta {
    justify-content: center;
  }
  .report-body {
    padding: 24px;
  }
  .report-summary p {
    padding: 16px 20px;
  }
}


/* ==========================================
   PAGE: MAP
   ========================================== */

/* Map page body overrides */
body.map-page {
  background: #1a1a1a;
  color: #fff;
  overflow: hidden;
}

/* Trends wrapper for standalone map page */
.map-trends-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1001;
}

.map-trends-wrapper .trends-tab,
.map-trends-wrapper .trends-panel {
  pointer-events: auto;
}

/* Timeline current date wrapper */
.timeline-current-date-wrapper {
  text-align: center;
  margin-top: 10px;
}

/* Popup casualties */
.popup-casualties {
  margin-top: 10px;
  color: #e53e3e;
  font-weight: 700;
  font-size: 12px;
}

/* Popup region label */
.popup-region {
  margin-left: 10px;
  color: #1a1a1a;
  font-size: 11px;
}


#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}

/* Map Header */
.map-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(30, 41, 59, 0.85);
  border-bottom: 3px solid #2563eb;
  padding: 15px 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-header h1 {
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.map-header .tagline {
  color: #aaa;
  font-size: 12px;
  margin-top: 3px;
}

/* Map Stats Panel - Frosted Glass (White) */
.map-stats-panel {
  position: absolute;
  top: 10px;
  right: 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 15px;
  z-index: 1000;
  min-width: 200px;
  transition: all 0.3s ease;
}

.map-stats-panel.collapsed {
  min-width: auto;
  padding: 12px 16px;
}

.map-stats-panel.collapsed .stats-content {
  display: none;
}

.stats-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.stats-toggle:hover {
  opacity: 0.8;
}

.stats-toggle-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  stroke: #1a1a1a;
}

.map-stats-panel.collapsed .stats-toggle-icon {
  transform: rotate(-90deg);
}

.map-stats-panel h2 {
  color: #1a1a1a;
  font-size: 13px;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: none;
  padding-bottom: 0;
  font-weight: 700;
}

.map-stats-panel:not(.collapsed) h2 {
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 10px;
}

.stats-content {
  margin-top: 15px;
}

.map-stat-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.map-stat-label {
  color: #555;
  font-size: 12px;
}

.map-stat-value {
  color: #1a1a1a;
  font-weight: bold;
  font-size: 14px;
}

/* Map Legend */
.map-legend {
  position: absolute;
  top: 90px;
  left: 20px;
  background: rgba(30, 41, 59, 0.85);
  border: 2px solid #2563eb;
  border-radius: 4px;
  padding: 15px;
  z-index: 1000;
}

.map-legend h3 {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 12px;
}

.map-legend-color {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* Map Popups */
/* Map Popup - Frosted Glass */
.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 0;
  color: #1a1a1a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0;
  min-width: 280px;
  max-width: 360px;
  font-family: Inter, system-ui, -apple-system, sans-serif;
}

.leaflet-popup-close-button {
  color: rgba(0, 0, 0, 0.4) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 !important;
  text-align: center !important;
  top: 8px !important;
  right: 8px !important;
  z-index: 10;
  transition: color 0.2s ease;
}

.leaflet-popup-close-button:hover {
  color: #1a1a1a !important;
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  box-shadow: none;
}

.popup-header {
  padding: 16px 18px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
}

.popup-title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.4;
  padding-right: 24px;
}

.popup-meta {
  font-size: 11px;
  color: #1a1a1a;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.popup-body {
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

.popup-body p {
  margin: 0;
}

.popup-footer {
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.severity-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.severity-critical { background: rgba(204, 0, 0, 0.85); color: #fff !important; }
.severity-high { background: rgba(255, 68, 68, 0.85); color: #fff !important; }
.severity-medium { background: rgba(255, 136, 0, 0.85); color: #fff !important; }
.severity-low { background: rgba(68, 68, 255, 0.85); color: #fff !important; }

/* Map Timeline Slider - Frosted Glass */
.timeline-slider-container {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px 30px;
  z-index: 1000;
  width: 80%;
  max-width: 1200px;
  min-width: 700px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.timeline-slider-container h3 {
  color: #1a1a1a;
  font-size: 12px;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  font-weight: 700;
}

.timeline-toggle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 4px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.timeline-toggle-btn {
  padding: 8px 24px;
  background: transparent;
  border: none;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.timeline-toggle-btn.active {
  background: rgba(255, 255, 255, 0.5);
  color: #1a1a1a;
}

.timeline-toggle-btn:hover:not(.active) {
  color: #1a1a1a;
}

.timeline-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.timeline-dates {
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  min-width: 100px;
}

.timeline-current-date {
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  min-width: 100px;
  text-align: center;
}

.timeline-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
  outline: none;
}

.timeline-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: #0d3b66;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.timeline-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #0d3b66;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.timeline-slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
.timeline-slider::-moz-range-thumb:hover { transform: scale(1.1); }

/* Marker Cluster Styling */
.marker-cluster-small { background-color: rgba(255, 136, 0, 0.6); }
.marker-cluster-small div { background-color: rgba(255, 136, 0, 0.8); color: #fff; font-weight: bold; }
.marker-cluster-medium { background-color: rgba(255, 68, 68, 0.6); }
.marker-cluster-medium div { background-color: rgba(255, 68, 68, 0.8); color: #fff; font-weight: bold; }
.marker-cluster-large { background-color: rgba(204, 0, 0, 0.6); }
.marker-cluster-large div { background-color: rgba(204, 0, 0, 0.8); color: #fff; font-weight: bold; }

/* Fullscreen Button */
.fullscreen-btn {
  position: absolute;
  top: 80px;
  left: 10px;
  z-index: 1000;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fullscreen-btn:hover { background: rgba(255, 255, 255, 0.25); }
.fullscreen-btn svg { width: 16px; height: 16px; stroke: #1a1a1a; stroke-width: 2; }

body:not(.is-embedded) .fullscreen-btn { display: none; }

/* Leaflet Zoom Controls Override */
.leaflet-control-zoom {
  border: none !important;
  border-radius: 8px !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.leaflet-control-zoom a {
  background: transparent !important;
  color: #1a1a1a !important;
  border: none !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

.leaflet-control-zoom a:last-child { border-bottom: none !important; }
.leaflet-control-zoom a:hover { background: rgba(255, 255, 255, 0.3) !important; color: #1a1a1a !important; }

/* Map Responsive */
@media (max-width: 1440px) {
  .map-stats-panel { width: 150px; padding: 10px; }
  .map-stats-panel h2 { font-size: 12px; margin-bottom: 10px; }
  .map-stat-item { font-size: 11px; margin-bottom: 5px; }
  .map-legend { top: 90px; left: 20px; padding: 12px 14px; }
  .map-legend h3 { font-size: 11px; margin-bottom: 6px; }
  .map-legend-item { font-size: 10px; margin-bottom: 3px; }
  .timeline-slider-container { max-width: 700px; }
}

@media (max-width: 1200px) {
  .map-stats-panel { width: 140px; padding: 8px; }
  .map-stats-panel h2 { font-size: 12px; margin-bottom: 8px; }
  .map-stat-item { font-size: 10px; margin-bottom: 5px; }
  .map-legend { top: 90px; left: 20px; padding: 10px 12px; }
  .map-legend h3 { font-size: 10px; margin-bottom: 5px; }
  .map-legend-item { font-size: 9px; margin-bottom: 3px; }
  .timeline-slider-container { max-width: 600px; padding: 10px 14px; }
  .timeline-slider-container h3 { font-size: 12px; }
  .timeline-dates, .timeline-current-date { font-size: 11px; }
}

@media (max-width: 1024px) {
  .map-stats-panel { width: 160px; padding: 12px; }
  .map-stats-panel h2 { font-size: 13px; }
  .map-stat-item { font-size: 11px; }
  .map-legend { left: 20px; padding: 10px 14px; }
  .map-legend h3 { font-size: 12px; }
  .map-legend-item { font-size: 11px; }
  .timeline-slider-container { max-width: 600px; padding: 12px 18px; }
}

@media (max-width: 768px) {
  .map-header { padding: 10px 15px; }
  .map-header h1 { font-size: 18px; }
  .map-stats-panel { top: 70px; right: 10px; left: auto; bottom: auto; min-width: 140px; padding: 10px; }
  .map-stats-panel h2 { font-size: 12px; margin-bottom: 8px; }
  .map-stat-item { margin-bottom: 6px; font-size: 11px; }
  .map-legend { top: auto; bottom: 180px; left: 10px; right: auto; padding: 8px 12px; }
  .map-legend h3 { font-size: 11px; margin-bottom: 6px; }
  .map-legend-item { font-size: 10px; margin-bottom: 4px; }
  .timeline-slider-container {
    width: calc(100% - 20px);
    min-width: auto;
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 12px 15px;
    transform: none;
  }
  .timeline-slider-container h3 { font-size: 12px; margin-bottom: 10px; }
  .timeline-slider-wrapper { flex-direction: column; gap: 8px; }
  .timeline-dates, .timeline-current-date { font-size: 12px; width: 100%; text-align: center; min-width: auto; }
  .timeline-slider { width: 100%; }
}

/* Hero Map Section (index.html) */
.hero-map {
    position: relative;
    width: 100vw;
    height: 70vh;
    min-height: 500px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

.hero-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.intro-description {
    max-width: 100%;
    margin: 2rem 0 3rem 0;
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #555;
    font-weight: 500;
    position: relative;
    font-style: italic;
}

.intro-divider {
    width: 80px;
    height: 3px;
    background: var(--accent);
    border: none;
    margin: 2rem auto;
}

@media (max-width: 900px) {
  .hero-map {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 600px) {
  .hero-map {
    height: 40vh;
    min-height: 300px;
  }
}
/* ==========================================
   TFR FTO INDEX - FROSTED GLASS THEME
   Aligned with MENA Theater Page Design
   ========================================== */

.fto-index html, .fto-index body {
  background: #f5f5f5 !important;
}

/* Hero Banner */
.fto-hero {
  background-image: linear-gradient(rgba(13, 59, 102, 0.85), rgba(9, 40, 71, 0.9)), url('/data/fto-hero-banner.jpg');
  background-position: center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 24px;
}

.fto-hero *,
.fto-hero h1,
.fto-hero p {
  text-shadow: none !important;
}

.fto-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.fto-hero-content {
  flex: 1;
  max-width: 600px;
}

.fto-hero-title {
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 36px !important;
  font-weight: 900 !important;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
}

.fto-hero-subtitle {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 0;
  font-weight: 400;
}

/* Stats Panel (frosted glass) */
.fto-stats-panel {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  min-width: 320px;
}

.fto-stats-date {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}

.fto-stats-row {
  display: flex;
  gap: 16px;
}

.fto-stat {
  text-align: center;
  flex: 1;
}

.fto-stat-number {
  font-size: 28px;
  font-weight: 900;
  display: block;
}

.fto-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
  font-weight: 600;
}

/* Main Container */
.fto-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* Info Card */
.fto-info-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 28px 32px;
  margin-bottom: 24px;
}

.fto-info-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 12px;
}

.fto-info-card p:last-child {
  margin-bottom: 0;
}

.fto-info-card strong {
  color: var(--accent);
}

.fto-legal-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.fto-legal-list li {
  background: rgba(13, 59, 102, 0.05);
  border: 1px solid rgba(13, 59, 102, 0.1);
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

@media (max-width: 800px) {
  .fto-legal-list {
    grid-template-columns: 1fr;
  }
}

/* Filters Bar */
.fto-filters {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 16px 24px;
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.fto-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fto-filter-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fto-filter-group select {
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 5px;
  padding: 8px 32px 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235b5b5b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.2s;
}

.fto-filter-group select:hover {
  border-color: var(--accent);
}

.fto-filter-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

.fto-region-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}

.fto-region-pill {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid var(--edge);
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.fto-region-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(13, 59, 102, 0.05);
}

.fto-region-pill.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Table Card */
.fto-table-card {
  background: var(--card);
  border: 1px solid var(--edge);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
}

.fto-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fto-table-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.fto-table-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.fto-table-body {
  padding: 0 24px 24px;
}

/* DataTables Override - Match TFR Theme */
.fto-table-body .dataTables_wrapper {
  font-family: 'Inter', sans-serif;
}

.fto-table-body .dataTables_filter {
  margin: 16px 0;
}

.fto-table-body .dataTables_filter input {
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 5px;
  padding: 8px 14px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  margin-left: 8px;
  transition: border-color 0.2s;
}

.fto-table-body .dataTables_filter input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

.fto-table-body .dataTables_filter label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.fto-table-body .dataTables_length {
  margin: 16px 0;
}

.fto-table-body .dataTables_length label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.fto-table-body .dataTables_length select {
  background: var(--bg);
  border: 1px solid var(--edge);
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
}

.fto-table-body .dataTables_info {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  padding-top: 16px;
}

.fto-table-body .dataTables_paginate {
  padding-top: 16px;
}

.fto-table-body .dataTables_paginate .paginate_button {
  background: var(--bg) !important;
  border: 1px solid var(--edge) !important;
  border-radius: 5px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  padding: 6px 12px !important;
  margin: 0 2px !important;
  transition: all 0.2s !important;
}

.fto-table-body .dataTables_paginate .paginate_button:hover {
  background: rgba(13, 59, 102, 0.08) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

.fto-table-body .dataTables_paginate .paginate_button.current {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: white !important;
}

.fto-table-body .dataTables_paginate .paginate_button.disabled {
  opacity: 0.4 !important;
}

/* Table Styles */
#ftoTable {
  width: 100% !important;
  border-collapse: collapse;
}

#ftoTable thead th {
  background: var(--bg) !important;
  border-bottom: 2px solid var(--accent) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--accent) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
  text-align: left !important;
  white-space: nowrap;
}

#ftoTable tbody td {
  font-size: 13px;
  padding: 12px 16px !important;
  border-bottom: 1px solid var(--edge) !important;
  color: var(--ink);
  vertical-align: middle;
}

#ftoTable tbody tr:hover {
  background: rgba(13, 59, 102, 0.04) !important;
}

#ftoTable tbody tr.odd {
  background: transparent !important;
}

#ftoTable tbody tr.even {
  background: rgba(13, 59, 102, 0.02) !important;
}

/* Organization name - bold */
#ftoTable tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
}

/* Aliases */
#ftoTable tbody td.aliases,
#ftoTable tbody td:nth-child(2) {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

/* Date */
#ftoTable tbody td:nth-child(3) {
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

/* Status badges */
.fto-index .status-active,
body .status-active,
.status-active {
  display: inline-block !important;
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.45), rgba(13, 59, 102, 0.3)) !important;
  color: white !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1px solid rgba(13, 59, 102, 0.15) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 1px 3px rgba(13, 59, 102, 0.1) !important;
}

.fto-index .status-delisted,
body .status-delisted,
.status-delisted {
  display: inline-block !important;
  background: rgba(75, 85, 99, 0.1) !important;
  color: var(--muted) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1px solid rgba(75, 85, 99, 0.15) !important;
}

/* Region column */
#ftoTable tbody td:nth-child(5) {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

/* Notes */
#ftoTable tbody td:nth-child(6) {
  font-size: 12px;
  color: var(--muted);
}

/* Source Footer */
.fto-source-footer {
  background: var(--accent);
  color: white;
  padding: 32px 24px;
  text-align: center;
  margin-top: 0;
}

.fto-source-footer p {
  margin: 4px 0;
  font-size: 14px;
  opacity: 0.9;
}

.fto-source-footer a {
  color: white;
  text-decoration: underline;
  opacity: 0.9;
}

.fto-source-footer a:hover {
  opacity: 1;
}

.fto-source-footer strong {
  font-weight: 800;
}

/* FTO Responsive */
@media (max-width: 900px) {
  .fto-hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .fto-hero-content {
    max-width: 100%;
  }
  .fto-stats-panel {
    width: 100%;
    min-width: auto;
  }
  .fto-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .fto-table-body {
    padding: 0 12px 12px;
  }
  #ftoTable thead th {
    font-size: 10px !important;
    padding: 10px 8px !important;
  }
  #ftoTable tbody td {
    font-size: 12px;
    padding: 10px 8px !important;
  }
}

@media (max-width: 600px) {
  .fto-hero {
    padding: 48px 16px;
  }
  .fto-hero-title {
    font-size: 28px !important;
  }
  .fto-container {
    padding: 16px 12px;
  }
  .fto-info-card {
    padding: 20px;
  }
}

/* Remove DataTables default border */
.fto-index table.dataTable.no-footer {
  border-bottom: none !important;
}

.fto-index table.dataTable {
  border: none !important;
}

/* Sorting arrow overrides */
.fto-index table.dataTable thead .sorting,
.fto-index table.dataTable thead .sorting_asc,
.fto-index table.dataTable thead .sorting_desc {
  background-image: none !important;
  position: relative;
}

.fto-index table.dataTable thead .sorting_asc::after {
  content: ' ▲';
  font-size: 8px;
  color: var(--accent);
}

.fto-index table.dataTable thead .sorting_desc::after {
  content: ' ▼';
  font-size: 8px;
  color: var(--accent);
}

.fto-index table.dataTable thead .sorting::after {
  content: ' ⇅';
  font-size: 9px;
  opacity: 0.3;
}

.fto-clickable-row {
  cursor: pointer;
}

/* ==========================================
   ARCHIVE PAGE - TABBED LAYOUT
   ========================================== */

/* Hero */
.archive-hero {
  background: var(--accent);
  color: white;
  padding: 60px 24px 40px;
  text-align: center;
}

.archive-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.archive-hero-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 900;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.archive-hero-subtitle {
  font-size: 15px;
  opacity: 0.85;
  font-weight: 400;
  margin: 0;
  line-height: 1.6;
}

/* Tabs */
.archive-tabs-wrapper {
  background: #fff;
  border-bottom: 1px solid var(--edge);
  position: sticky;
  top: 0;
  z-index: 100;
}

.archive-tabs {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}

.archive-tabs::-webkit-scrollbar {
  display: none;
}

.archive-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

.archive-tab:hover {
  color: var(--ink);
  background: rgba(13, 59, 102, 0.03);
}

.archive-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Container */
.archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* Sections */
.archive-section {
  display: none;
}

.archive-section.active {
  display: block;
}

.archive-section-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--edge);
  margin-bottom: 24px;
}

.archive-section-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px;
}

.archive-section-desc {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}

/* Grid */
.archive-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards - reuse existing .archive-card styles but override for new layout */
.archive-container .archive-card {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.15s;
}

.archive-container .archive-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-1px);
}

.archive-container .archive-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.archive-container .archive-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.archive-container .archive-card-date {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  white-space: nowrap;
  margin-left: 16px;
}

.archive-container .archive-card-description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 16px;
}

.archive-container .archive-card-actions {
  display: flex;
  gap: 12px;
}

/* Empty state */
.archive-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}

.archive-empty-icon {
  margin-bottom: 16px;
  opacity: 0.3;
}

.archive-empty-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.archive-empty-sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

/* Footer link cleanup */
.archive-footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-link:hover {
  opacity: 1;
}

.footer-link-btn {
  color: #fff;
  opacity: 0.9;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.footer-link-btn:hover {
  opacity: 1;
}

.footer-desc {
  margin-bottom: 20px;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Archive responsive */
@media (max-width: 768px) {
  .archive-hero {
    padding: 48px 16px 32px;
  }
  .archive-tab {
    padding: 12px 14px;
    font-size: 11px;
  }
  .archive-container {
    padding: 0 16px 40px;
  }
  .archive-container .archive-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .archive-container .archive-card-date {
    margin-left: 0;
  }
  .archive-container .archive-card-title {
    font-size: 16px;
  }
}

/* Archive Pagination */
.archive-pagination {
  margin-top: 32px;
}

.archive-pag-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.archive-pag-btn {
  background: #fff;
  border: 1px solid var(--edge);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.archive-pag-btn:hover:not(.disabled):not(.active) {
  background: rgba(13, 59, 102, 0.06);
  border-color: var(--accent);
  color: var(--accent);
}

.archive-pag-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.archive-pag-btn.disabled {
  opacity: 0.35;
  cursor: default;
}

.archive-pag-dots {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 600;
}

.archive-pag-info {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Section header row */
.archive-section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.archive-section-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

/* Archive Link Card (theater pages) */
.archive-link-card {
  padding: 24px 20px;
  text-align: center;
}

.archive-link-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}

.archive-link-btn {
  display: block;
  text-align: center;
}

/* ==========================================
   DAILY REPORT PAGE
   ========================================== */

/* Daily Hero Banner */
.daily-hero {
  background: linear-gradient(rgba(13, 59, 102, 0.85), rgba(9, 40, 71, 0.9)), url('/data/hero-banner.jpg') center/cover no-repeat;
  padding: 0;
  position: relative;
}

.daily-hero *,
.daily-hero h1,
.daily-hero p {
  color: #fff;
}

.daily-hero .hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.daily-hero-content {
  flex: 1;
  max-width: 640px;
}

.daily-hero-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
  line-height: 1.1;
}

.daily-hero-date {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 16px;
}

.daily-hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0;
  font-weight: 400;
}

.daily-hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Daily Map Section */
.daily-map-section {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-bottom: 3px solid var(--accent);
}

.daily-map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Daily Theater Nav (extends .theater-nav-bar) */
.daily-theater-nav {
  position: sticky;
  top: 66px;
  z-index: 400;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.theater-nav-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
  padding: 16px 16px 16px 0;
  border-right: 1px solid var(--edge);
  margin-right: 8px;
}

/* Daily Report Layout */
.daily-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}

.daily-content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

/* Daily Report Card */
.daily-report-card {
  background: var(--card);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  overflow: hidden;
}

.daily-report-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--edge);
}

.daily-report-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.daily-report-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
}

.daily-report-body {
  padding: 0 32px 32px;
}

.daily-report-body .narrative {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.daily-report-body .narrative p {
  margin: 16px 0;
}

.daily-report-body .narrative h4 {
  font-size: 20px;
  font-weight: 800;
  margin: 20px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
}

.daily-report-body .narrative h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 32px 0 8px;
  line-height: 1.4;
}

/* Executive Summary */
.exec-summary {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.04), rgba(13, 59, 102, 0.08));
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
  margin: 24px 0 32px;
}

.exec-summary p {
  margin: 0 !important;
  font-size: 15px;
  line-height: 1.7;
}

/* Daily Metrics */
.daily-metrics {
  display: flex;
  gap: 32px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(13, 59, 102, 0.15);
}

.metric-group {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

.metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.metric-text {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Sources */
.sources-heading-daily {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin: 32px 0 8px;
}

.sources-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* Theater Sections */
.theater-section {
  padding-top: 40px;
}

.theater-section + .theater-section {
  border-top: 1px solid var(--edge);
  margin-top: 32px;
}

/* Daily Sidebar */
.daily-sidebar .card-base {
  margin-bottom: 24px;
}

.sidebar-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--edge);
}

.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}

/* Theater Quick Links */
.theater-quick-links {
  padding: 16px 20px;
}

.theater-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--edge);
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s;
}

.theater-quick-link:last-child {
  border-bottom: none;
}

.theater-quick-link:hover {
  color: var(--accent);
}

.theater-quick-link .link-arrow {
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.2s;
}

.theater-quick-link:hover .link-arrow {
  transform: translateX(3px);
  color: var(--accent);
}

/* About Card */
.about-card-body {
  padding: 16px 20px;
}

.about-card-body p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* Daily CTA Grid spacing */
.daily-cta-grid {
  margin-top: 32px;
}

/* Footer helper classes */
.theater-footer-links {
  margin-bottom: 16px;
}

.theater-footer-copy {
  font-size: 13px;
  opacity: 0.7;
}

/* Daily Report Responsive */
@media (max-width: 900px) {
  .daily-content-grid { grid-template-columns: 1fr; }
  .daily-hero .hero-inner {
    flex-direction: column;
    padding: 40px 20px 32px;
    gap: 24px;
  }
  .daily-hero-content { max-width: 100%; }
  .daily-map-section { height: 350px; }
  .daily-report-header { padding: 20px 20px 16px; }
  .daily-report-body { padding: 0 20px 24px; }
  .daily-metrics { flex-direction: column; gap: 16px; }
  .exec-summary { padding: 16px 20px; }
}

@media (max-width: 768px) {
  .daily-theater-nav {
    top: 60px;
  }
  .daily-theater-nav .theater-nav-link {
    padding: 12px 14px;
    font-size: 11px;
  }
  .theater-nav-label {
    display: none;
  }
}