/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --navy:      #0D1B2A;
  --navy-mid:  #1E2F42;
  --gold:      #C8972A;
  --gold-lt:   #E8B84B;
  --cream:     #F8F6F1;
  --white:     #FFFFFF;
  --rule:      #D4CFC6;
  --text:      #1A1A1A;
  --muted:     #5A5A5A;
  --panel-bg:  #EEF0F3;
  --panel-bdr: #C0C4CC;
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
img { display: block; width: 100%; height: auto; object-fit: cover; }

/* ── Top utility bar ─────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  padding: 6px 0;
}
.top-bar-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.65); }
.top-bar a:hover { color: var(--gold-lt); }
.top-bar-links { display: flex; gap: 18px; }

/* ── Masthead ────────────────────────────────────────────── */
.masthead {
  background: var(--cream);
  border-bottom: 3px solid var(--navy);
  padding: 24px 0 16px;
}
.masthead-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.masthead-rule-top  { border: none; border-top: 1px solid var(--navy); margin-bottom: 12px; }
.masthead-rule-bottom { border: none; border-top: 1px solid var(--rule); margin-top: 4px; }
.masthead h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.masthead h1 a { color: inherit; }
.masthead h1 a:hover { color: var(--navy); }
.masthead h1 span { color: var(--gold); }
.masthead-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ── Primary Navigation ──────────────────────────────────── */
.primary-nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.primary-nav-inner {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

/* Plain nav links */
.nav-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.active {
  color: var(--gold-lt);
  border-bottom-color: var(--gold);
}
.nav-caret { font-size: 9px; opacity: 0.7; }

/* ── Dropdown wrapper ────────────────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* ── Dropdown panel ──────────────────────────────────────── */
.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-mid);
  border-top: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
  z-index: 300;
  max-height: 70vh;
  overflow-y: auto;
  min-width: 320px;
}

/* Destinations panel: wide multi-column */
.destinations-panel {
  left: -60px;
  width: min(900px, 90vw);
}

/* Airlines panel */
.airlines-panel {
  left: 0;
  width: min(700px, 90vw);
}

.nav-dropdown-wrap:hover .dropdown-panel,
.nav-dropdown-wrap:focus-within .dropdown-panel {
  display: block;
}

.dropdown-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 16px;
}

.dropdown-group {
  min-width: 160px;
  flex: 1 1 160px;
  padding: 8px 12px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.dropdown-group:last-child { border-right: none; }

.dropdown-group-title {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(200,151,42,0.25);
}

.dropdown-item {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  padding: 4px 2px;
  transition: color 0.15s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dropdown-item:hover,
.dropdown-item.active {
  color: var(--gold-lt);
}
.iata {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  margin-left: 4px;
}

/* Custom scrollbar for dropdown */
.dropdown-panel::-webkit-scrollbar { width: 6px; }
.dropdown-panel::-webkit-scrollbar-track { background: var(--navy); }
.dropdown-panel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ── Page layout: left rail + content + right rail ──────── */
.page-layout {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  gap: 28px;
  align-items: start;
}

/* ── Side panels (ad rails) ─────────────────────────────── */
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 60px;
}
.content-widget {
  background: var(--panel-bg);
  border: 1px dashed var(--panel-bdr);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8A8E96;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px;
  gap: 6px;
}
.content-widget.tall   { height: 600px; }
.content-widget.medium { height: 300px; }
.widget-info { font-size: 11px; color: #7A8090; font-weight: 600; }

/* ── Horizontal content banner ───────────────────────────── */
.content-banner {
  background: var(--panel-bg);
  border: 1px dashed var(--panel-bdr);
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0;
}

/* ── Breaking news ticker ────────────────────────────────── */
.breaking-banner {
  background: var(--navy);
  color: var(--white);
  padding: 9px 0;
  overflow: hidden;
  margin-bottom: 28px;
}
.breaking-inner { display: flex; align-items: center; max-width: 100%; }
.breaking-tag {
  background: var(--gold);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 14px;
  flex-shrink: 0;
  margin-right: 18px;
}
.breaking-scroll {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
  overflow: hidden;
  flex: 1;
}
.breaking-scroll span { display: inline-block; animation: scrollNews 38s linear infinite; }
@keyframes scrollNews {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Main content ────────────────────────────────────────── */
.main-content { min-width: 0; }

/* ── Section block ───────────────────────────────────────── */
.section-block { margin-bottom: 36px; }
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  border-top: 3px solid var(--navy);
  padding-top: 10px;
}
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--white);
  padding: 5px 12px 4px;
}
.section-see-all {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-left: auto;
  text-transform: uppercase;
}
.section-see-all:hover { color: var(--navy); }

/* ── Section grid ────────────────────────────────────────── */
.section-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.section-grid.wide { grid-template-columns: 1.6fr 1fr; }

/* ── Featured article ────────────────────────────────────── */
.featured-article {}
.article-img-wrap {
  display: block;
  overflow: hidden;
  margin-bottom: 12px;
  aspect-ratio: 16/10;
  background: #C5CDD6;
}
.article-img-wrap img { height: 100%; transition: transform 0.4s ease; }
.featured-article:hover .article-img-wrap img { transform: scale(1.03); }
.featured-article .category-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
  display: block;
}
.featured-article h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
  margin-bottom: 9px;
}
.featured-article h2:hover { color: var(--gold); cursor: pointer; }
.featured-article .deck {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 10px;
}
.featured-article .byline { font-family: 'Inter', sans-serif; font-size: 11px; color: #888; }
.featured-article .byline strong { color: var(--navy); font-weight: 600; }

/* ── Side articles ───────────────────────────────────────── */
.side-articles {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--rule);
  padding-left: 22px;
}
.side-article { padding: 12px 0; border-bottom: 1px solid var(--rule); cursor: pointer; }
.side-article:first-child { padding-top: 0; }
.side-article:last-child { border-bottom: none; }
.side-article .category-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.side-article h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 4px;
}
.side-article:hover h3 { color: var(--gold); }
.side-article .byline { font-family: 'Inter', sans-serif; font-size: 10.5px; color: #999; }

/* ── Image placeholders ──────────────────────────────────── */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', sans-serif; font-size: 11px;
  color: rgba(255,255,255,0.7); position: relative; overflow: hidden;
}
.img-placeholder-label { position: relative; z-index: 1; text-align: center; }
.img-placeholder-icon { font-size: 36px; display: block; margin-bottom: 8px; opacity: 0.6; }

/* ── Article page ────────────────────────────────────────── */
.article-page { max-width: 800px; margin: 0 auto; padding: 40px 24px; }
.article-page .article-header { margin-bottom: 28px; }
.article-page .article-section-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px; display: block;
}
.article-page h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700; line-height: 1.15;
  color: var(--navy); margin-bottom: 14px;
}
.article-page .article-deck {
  font-size: 18px; line-height: 1.6;
  color: var(--muted); margin-bottom: 18px;
  font-style: italic;
}
.article-page .article-meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: #888;
  padding: 12px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 28px;
}
.article-page .article-meta strong { color: var(--navy); }
.article-page .article-hero {
  margin-bottom: 28px;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #C5CDD6;
}
.article-page .article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 17px; line-height: 1.75; color: var(--text); }
.article-body p { margin-bottom: 20px; }
.article-body h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px; font-weight: 700;
  color: var(--navy); margin: 36px 0 14px;
}
.article-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px; font-weight: 600;
  color: var(--navy); margin: 28px 0 10px;
}
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 20px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  margin: 24px 0;
  color: var(--muted);
  font-style: italic;
}

/* ── Page header (for section listing pages) ─────────────── */
.page-header {
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
  margin-bottom: 32px;
}
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700; color: var(--navy);
}
.page-header p {
  font-size: 15px; color: var(--muted);
  margin-top: 6px;
}

/* ── CMS Admin ───────────────────────────────────────────── */
.admin-body {
  font-family: 'Inter', sans-serif;
  background: #f1f3f6;
  min-height: 100vh;
}
.admin-header {
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
}
.admin-header h1 span { color: var(--gold); }
.admin-header a { color: rgba(255,255,255,0.7); font-size: 13px; }
.admin-header a:hover { color: var(--gold-lt); }
.admin-nav {
  background: var(--navy-mid);
  padding: 0 24px;
  display: flex; gap: 4px;
}
.admin-nav a {
  color: rgba(255,255,255,0.7);
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 11px 16px;
  border-bottom: 3px solid transparent;
  display: block;
}
.admin-nav a:hover, .admin-nav a.active { color: var(--gold-lt); border-bottom-color: var(--gold); }
.admin-content { max-width: 1100px; margin: 32px auto; padding: 0 24px; }
.admin-card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 28px;
  margin-bottom: 24px;
}
.admin-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--rule);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.form-row input[type=text],
.form-row input[type=url],
.form-row input[type=date],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: white;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,151,42,0.15);
}
.form-row textarea { min-height: 320px; resize: vertical; }
.form-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.btn {
  display: inline-block;
  padding: 10px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: none; border-radius: 4px; cursor: pointer;
}
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-danger { background: #c0392b; color: white; }
.btn-danger:hover { background: #a93226; }
.btn-sm { padding: 6px 14px; font-size: 11px; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; font-size: 11px;
  font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--rule);
  background: #f8f9fa;
}
.admin-table td { padding: 12px 12px; border-bottom: 1px solid #eee; font-size: 13px; }
.admin-table tr:hover td { background: #fafbfc; }
.badge {
  display: inline-block;
  padding: 2px 8px; border-radius: 12px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.badge-published { background: #d4edda; color: #155724; }
.badge-draft     { background: #fff3cd; color: #856404; }
.alert { padding: 12px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 13px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  margin-top: 48px;
  padding: 48px 0 24px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.footer-inner { max-width: 1380px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 900; color: white;
}
.footer-brand h2 span { color: var(--gold); }
.footer-brand p { font-size: 12.5px; line-height: 1.65; margin-top: 12px; color: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 12.5px; }
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 11.5px; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-lt); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .page-layout { grid-template-columns: 140px 1fr 140px; gap: 20px; }
}
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .side-panel { display: none; }
  .section-grid.wide, .section-grid { grid-template-columns: 1fr; }
  .side-articles { border-left: none; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .dropdown-panel { max-height: 50vh; }
  .destinations-panel { width: 95vw; left: 0; }
}
@media (max-width: 600px) {
  .masthead h1 { font-size: 42px; }
  .primary-nav-inner { overflow-x: auto; justify-content: flex-start; }
  .nav-item { padding: 12px 14px; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row-grid { grid-template-columns: 1fr; }
  .dropdown-columns { flex-direction: column; }
  .dropdown-group { min-width: unset; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
}
