/* ═══════════════════════════════════════════
   TravelWise — Modern, Serious Travel Guide
   Color Palette: Navy, Slate, White, Gold accent
   Typography: Inter (body) + Playfair Display (headings)
   ═══════════════════════════════════════════ */

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

:root {
  --navy: #1a2332;
  --navy-light: #243447;
  --slate: #4a5568;
  --slate-light: #718096;
  --gray: #a0aec0;
  --gray-light: #e2e8f0;
  --gray-bg: #f7f8fa;
  --white: #ffffff;
  --gold: #c8a951;
  --gold-light: #e8d48b;
  --accent: #2b6cb0;
  --accent-light: #3182ce;
  --danger: #c53030;
  --danger-light: #fc8181;
  --success: #276749;
  --success-light: #c6f6d5;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 6px;
  --radius-lg: 10px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--accent-light); }

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

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-weight: 600; font-size: 1rem; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-muted { color: var(--slate-light); }

/* ─── Navbar ─────────────────────────────── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.navbar-brand span { color: var(--gold); }
.navbar-brand:hover { color: var(--white); }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-links li a {
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.navbar-links li a:hover,
.navbar-links li a.nav-admin {
  color: var(--white);
}
.navbar-links li a.nav-admin {
  background: var(--accent);
  font-size: 0.82rem;
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-user-name {
  color: var(--gray-light);
  font-size: 0.85rem;
}

/* Nav search */
.search-form-nav {
  display: flex;
  align-items: center;
  background: var(--navy-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.search-form-nav input {
  background: transparent;
  border: none;
  color: var(--white);
  padding: 7px 12px;
  font-size: 0.85rem;
  width: 180px;
  outline: none;
}
.search-form-nav input::placeholder { color: var(--slate-light); }
.search-form-nav button {
  background: none;
  border: none;
  color: var(--gray);
  padding: 7px 10px;
  cursor: pointer;
}

/* Mobile toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Alerts ─────────────────────────────── */
.alert {
  max-width: 1140px;
  margin: 12px auto;
  padding: 12px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: var(--success-light); color: var(--success); }
.alert-error { background: #fed7d7; color: var(--danger); }
.alert-close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
}

/* ─── Buttons ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-light); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-light);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #e53e3e; color: var(--white); }
.btn-sm { padding: 5px 14px; font-size: 0.82rem; }
.btn-block { display: flex; justify-content: center; width: 100%; }

.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-sm { font-size: 0.72rem; padding: 2px 9px; background: var(--gray-bg); color: var(--slate); }

/* ─── Hero ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1400') center/cover;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 60px 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.hero-subtitle {
  color: var(--gray);
  font-size: 1.15rem;
  margin-bottom: 36px;
  font-weight: 300;
}
.hero-search {
  max-width: 620px;
  margin: 0 auto;
}
.hero-search-box {
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-lg);
}
.hero-search-box i {
  color: var(--slate-light);
  margin-right: 10px;
}
.hero-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--navy);
  background: transparent;
}
.hero-search-box input::placeholder { color: var(--gray); }
.hero-search-box .btn {
  border-radius: 50px;
  padding: 10px 28px;
}

/* ─── Sections ───────────────────────────── */
.section {
  padding: 60px 0;
}
.section-alt {
  background: var(--gray-bg);
}
.section-title {
  text-align: center;
  margin-bottom: 6px;
  color: var(--navy);
}
.section-subtitle {
  text-align: center;
  color: var(--slate-light);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* ─── Page Header (inner pages) ──────────── */
.page-header {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background: var(--navy) center/cover no-repeat;
  overflow: hidden;
}
.page-header-sm { min-height: 220px; }
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,35,50,0.92) 0%, rgba(26,35,50,0.5) 100%);
}
.page-header-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  width: 100%;
}
.page-header-content h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 6px;
}
.page-header-sub {
  color: var(--gray);
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gray); }

/* ─── Card Grid (destinations) ───────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.destination-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: var(--navy);
}
.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--navy);
}
.destination-card-img {
  height: 180px;
  background: var(--gray-light) center/cover no-repeat;
  position: relative;
}
.destination-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.destination-continent {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(0,0,0,0.3);
  padding: 3px 10px;
  border-radius: 20px;
}
.destination-card-body {
  padding: 16px;
}
.destination-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.destination-card-body p {
  font-size: 0.85rem;
  color: var(--slate-light);
  line-height: 1.5;
}

/* ─── Continent Tabs ─────────────────────── */
.continent-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.continent-tab {
  padding: 8px 20px;
  border: 1.5px solid var(--gray-light);
  border-radius: 30px;
  background: var(--white);
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.continent-tab:hover,
.continent-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.continent-panel {
  display: none;
}
.continent-panel.active {
  display: block;
}
.country-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 4px;
}
.country-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--navy);
  transition: background var(--transition);
  font-size: 0.92rem;
}
.country-list-item:hover {
  background: var(--white);
  color: var(--navy);
}
.country-name { font-weight: 500; }
.country-capital { color: var(--slate-light); font-size: 0.82rem; margin-left: auto; margin-right: 12px; }
.country-list-item i { color: var(--gray); font-size: 0.7rem; }

/* ─── Category Grid ──────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.category-card {
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  color: var(--navy);
  transition: all var(--transition);
}
.category-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  color: var(--navy);
  transform: translateY(-2px);
}
.category-card i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.category-card h4 { margin-bottom: 6px; }
.category-card p {
  font-size: 0.82rem;
  color: var(--slate-light);
}

/* ─── Post Grid ──────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.post-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  color: var(--navy);
}
.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: var(--navy);
}
.post-card-img {
  height: 190px;
  background: var(--gray-light) center/cover no-repeat;
}
.post-card-body {
  padding: 18px;
}
.post-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent);
  margin-bottom: 6px;
}
.post-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  line-height: 1.4;
}
.post-card-body p {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 12px;
  line-height: 1.5;
}
.post-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--gray);
}
.post-meta i { margin-right: 4px; }

/* ─── Content Layout (2-col) ─────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.content-main {
  min-width: 0;
}

/* Info box */
.info-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 30px;
}
.info-box h2 { margin-bottom: 12px; }
.info-box p { color: var(--slate); line-height: 1.8; }

/* Quick facts */
.quick-facts {
  margin-bottom: 30px;
}
.quick-facts h3 { margin-bottom: 16px; }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.fact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--gray-bg);
  border-radius: var(--radius);
}
.fact-item i {
  color: var(--accent);
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}
.fact-label {
  font-size: 0.78rem;
  color: var(--slate-light);
  display: block;
}
.fact-value {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Category section */
.category-section {
  margin-bottom: 32px;
}
.category-section h3 {
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--gray-light);
}

/* Post list */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.post-list-item {
  display: flex;
  gap: 16px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  color: var(--navy);
  transition: all var(--transition);
}
.post-list-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
}
.post-list-img {
  width: 120px;
  min-height: 90px;
  border-radius: var(--radius);
  background: var(--gray-light) center/cover no-repeat;
  flex-shrink: 0;
}
.post-list-content h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}
.post-list-content p {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.5;
  margin-bottom: 6px;
}
.post-date {
  font-size: 0.75rem;
  color: var(--gray);
}

/* Sidebar */
.content-sidebar {
  position: sticky;
  top: 80px;
}
.sidebar-box {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.sidebar-box h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-light);
}
.sidebar-link-list {
  list-style: none;
}
.sidebar-link-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px;
  color: var(--slate);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-bg);
  transition: color var(--transition);
}
.sidebar-link-list li a:hover { color: var(--accent); }
.sidebar-link-list li:last-child a { border-bottom: 0; }

.sidebar-post-list {
  list-style: none;
}
.sidebar-post-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--slate);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-bg);
}
.sidebar-post-list li a:hover { color: var(--accent); }
.sidebar-post-img {
  width: 50px;
  height: 40px;
  border-radius: 4px;
  background: var(--gray-light) center/cover;
  flex-shrink: 0;
}

/* ─── Article Content ────────────────────── */
.article-content {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--slate);
}
.article-content h2 { margin: 28px 0 12px; color: var(--navy); }
.article-content h3 { margin: 24px 0 10px; color: var(--navy); }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 10px 0 16px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content img { border-radius: var(--radius); margin: 16px 0; }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 12px 20px;
  margin: 16px 0;
  background: var(--gray-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--slate);
  font-style: italic;
}

/* Post hero meta */
.post-hero-meta {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--gray);
}
.post-hero-meta i { margin-right: 5px; }

/* Gallery */
.article-gallery { margin-bottom: 24px; }
.article-gallery h3 { margin-bottom: 16px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery-item figcaption {
  font-size: 0.78rem;
  color: var(--slate-light);
  margin-top: 4px;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.tag {
  padding: 4px 14px;
  background: var(--gray-bg);
  border-radius: 20px;
  font-size: 0.82rem;
  color: var(--slate);
  transition: all var(--transition);
}
.tag:hover {
  background: var(--accent);
  color: var(--white);
}

/* ─── Search Page ────────────────────────── */
.search-form-full {
  margin-bottom: 30px;
}
.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.search-input-lg {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font-body);
  outline: none;
  color: var(--navy);
  transition: border var(--transition);
}
.search-input-lg:focus { border-color: var(--accent); }
.search-select {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
}
.results-count {
  font-size: 0.88rem;
  color: var(--slate-light);
  margin-bottom: 20px;
}

/* ─── Empty State ────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state i {
  font-size: 3rem;
  color: var(--gray);
  margin-bottom: 16px;
}
.empty-state h2, .empty-state h3 {
  margin-bottom: 10px;
  color: var(--slate);
}
.empty-state p {
  color: var(--slate-light);
  margin-bottom: 20px;
}

/* ─── Auth ───────────────────────────────── */
.auth-container {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
}
.auth-card h2 {
  text-align: center;
  margin-bottom: 4px;
}
.auth-subtitle {
  text-align: center;
  color: var(--slate-light);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.auth-form .form-group { margin-bottom: 18px; }
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--slate-light);
}

/* ─── Forms ──────────────────────────────── */
.form-group {
  margin-bottom: 18px;
  flex: 1;
}
.form-group-lg { flex: 2; }
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; }
.form-row {
  display: flex;
  gap: 16px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-check input[type="checkbox"] {
  width: auto;
}
.form-check label {
  margin-bottom: 0;
}

.image-preview {
  max-width: 300px;
  margin-top: 10px;
  border-radius: var(--radius);
}
.image-field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}
.image-field-row input { flex: 1; }

/* ─── Admin ──────────────────────────────── */
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.admin-header h1 {
  font-size: 1.8rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat-card i {
  font-size: 1.6rem;
  color: var(--accent);
}
.stat-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--slate-light);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}
.action-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.action-card:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.action-card-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.action-card-primary:hover {
  background: var(--accent-light);
  color: var(--white);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.admin-table th,
.admin-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray-bg);
}
.admin-table th {
  background: var(--gray-bg);
  font-weight: 600;
  color: var(--slate);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.admin-table td { color: var(--slate); }
.admin-table tr:hover td { background: var(--gray-bg); }
.table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.td-title { font-weight: 500; color: var(--navy) !important; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.inline-form { display: inline; }
.admin-form { max-width: 800px; }
.admin-section { margin-bottom: 40px; }

/* ─── About ──────────────────────────────── */
.about-content { max-width: 800px; margin: 0 auto; }
.about-content h2 { margin-bottom: 14px; margin-top: 32px; }
.about-content h2:first-child { margin-top: 0; }
.about-content p { color: var(--slate); line-height: 1.8; margin-bottom: 16px; }
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px 0 32px;
}
.about-feature {
  text-align: center;
  padding: 24px 16px;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
}
.about-feature i {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 10px;
}
.about-feature h4 { margin-bottom: 6px; }
.about-feature p { font-size: 0.85rem; color: var(--slate-light); margin-bottom: 0; }

/* ─── Footer ─────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: var(--gray);
  padding: 50px 0 0;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--navy-light);
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: var(--gray);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--white); }
.footer-note {
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-light);
}

/* ─── Responsive ─────────────────────────── */
@media (max-width: 992px) {
  .content-layout { grid-template-columns: 1fr; }
  .content-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.7rem; }
  .hero-title { font-size: 2.2rem; }
  .page-header-content h1 { font-size: 1.8rem; }

  .navbar-toggle { display: flex; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 20px;
    flex-direction: column;
    gap: 14px;
    border-top: 1px solid var(--navy-light);
    box-shadow: var(--shadow-lg);
  }
  .navbar-menu.active { display: flex; }
  .navbar-links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .navbar-links li { width: 100%; }
  .navbar-links li a { display: block; padding: 10px; }
  .search-form-nav { width: 100%; }
  .search-form-nav input { width: 100%; }

  .form-row { flex-direction: column; gap: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .search-row { flex-direction: column; }
  .hero-search-box { flex-direction: column; border-radius: var(--radius-lg); padding: 12px; gap: 8px; }
  .hero-search-box .btn { width: 100%; border-radius: var(--radius); justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .post-list-item { flex-direction: column; }
  .post-list-img { width: 100%; height: 150px; }
}

@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* ─── Search Destination Cards ───────────── */
.subsection-title {
  font-size: 1.05rem;
  color: var(--slate);
  margin: 1rem 0 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 1.5rem;
}

.destination-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  transition: all 0.2s ease;
}

.destination-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.destination-card-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.destination-card-body h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.destination-meta {
  font-size: 0.82rem;
  color: var(--slate-light);
}

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