/*
 * shared.css — Fun 4 Lahori Kids
 * ─────────────────────────────────────────────────────────────────
 * Shared design system: tokens, typography, header, footer,
 * cards, utilities. Link this in every page's <head>:
 *   <link rel="stylesheet" href="shared.css" />
 *
 * Page-specific overrides go in a <style> block AFTER this link.
 * ─────────────────────────────────────────────────────────────────
 */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Noto+Nastaliq+Urdu:wght@400;700&display=swap');

/* ══════════════════════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════════════════════ */
:root {
  --saffron:      #F59E0B;
  --saffron-d:    #D97706;
  --emerald:      #059669;
  --emerald-d:    #047857;
  --terracotta:   #DC5F3A;
  --terracotta-d: #C24A27;
  --plum:         #7C3AED;
  --teal:         #0D9488;
  --sky:          #0EA5E9;
  --rose:         #E11D48;
  --cream:        #FFFBF2;
  --cream-2:      #FFF7E6;
  --white:        #FFFFFF;
  --ink:          #1C1008;
  --ink-2:        #3D2B14;
  --muted:        #78624A;
  --border:       #EAD9C1;
  --shadow-sm:    0 2px 8px rgba(28,16,8,0.08);
  --shadow-md:    0 6px 24px rgba(28,16,8,0.12);
  --shadow-lg:    0 16px 48px rgba(28,16,8,0.18);
  --r-sm:         10px;
  --r-md:         16px;
  --r-lg:         24px;
  --r-xl:         32px;
}

/* ══════════════════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

/* ── Urdu text ── */
.urdu-text {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
}

/* ══════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════ */
.topbar {
  background: var(--ink);
  padding: 10px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  color: #D6C4A8;
  font-size: 12.5px;
  font-weight: 500;
  overflow: hidden;
  max-width: 70%;
}
.topbar-right { display: flex; gap: 8px; align-items: center; }
.topbar-right a,
.topbar a {
  color: #D6C4A8;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.2s;
}
.topbar-right a:hover, .topbar a:hover {
  background: var(--saffron);
  color: var(--ink);
  border-color: var(--saffron);
}

/* ══════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════ */
header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 150;
  box-shadow: 0 2px 16px rgba(28,16,8,0.06);
  transition: box-shadow 0.2s;
}
header.scrolled { box-shadow: 0 4px 24px rgba(28,16,8,0.14); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* Logo */
.logo-area { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 60%, #3B82F6 100%);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(37,99,235,0.40);
  flex-shrink: 0;
  overflow: hidden;
}
.logo-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.logo-text .tagline {
  font-size: 11px; color: var(--muted); font-weight: 500;
  display: block; line-height: 1.3; margin-top: 2px;
}
.logo-text .tagline-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 12px; direction: rtl;
  display: block; color: var(--emerald); line-height: 1.4;
}

/* Main nav */
nav { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
nav a {
  font-size: 13.5px; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
  padding: 7px 14px; border-radius: var(--r-sm);
  transition: all 0.18s; letter-spacing: 0.01em;
}
nav a:hover, nav a.active { background: var(--cream-2); color: var(--terracotta); }

/* ══════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(90deg, var(--terracotta) 0%, #E8733A 50%, var(--saffron-d) 100%);
  padding: 14px 24px;
}
.stats-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  gap: 8px; flex-wrap: wrap;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  color: white; padding: 4px 16px;
  border-right: 1px solid rgba(255,255,255,0.25);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 11px; font-weight: 600; opacity: 0.88; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 2px; }

/* ══════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--terracotta); color: white; border: none;
  padding: 14px 32px; border-radius: 30px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  text-decoration: none; display: inline-block;
  box-shadow: 0 4px 18px rgba(220,95,58,0.4); transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(220,95,58,0.5); }

.btn-secondary {
  background: white; color: var(--ink);
  border: 2px solid var(--border); padding: 12px 26px; border-radius: 30px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  text-decoration: none; display: inline-block; transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--emerald); color: var(--emerald); background: #F0FDF9; }

/* ══════════════════════════════════════════════════════
   SECTION TITLE
══════════════════════════════════════════════════════ */
.section-title { text-align: center; margin-bottom: 30px; }
.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 900;
  color: var(--ink); letter-spacing: -0.02em;
}
.section-title h2 span { color: var(--terracotta); }
.section-title .urdu-sub {
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 18px; direction: rtl;
  color: var(--emerald); margin-top: 4px; display: block;
}
.section-title p { font-size: 14.5px; color: var(--muted); margin-top: 8px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════
   QUICK LINKS CHIPS
══════════════════════════════════════════════════════ */
.quicklinks-bar { background: var(--white); border-bottom: 2px solid var(--border); padding: 14px 24px; }
.quicklinks-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 8px; overflow-x: auto; flex-wrap: wrap;
  scrollbar-width: none;
}
.quicklinks-inner::-webkit-scrollbar { display: none; }
.ql-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 20px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: all 0.18s; border: 1.5px solid transparent;
}
.ql-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ql-chip.green  { background: #ECFDF5; color: var(--emerald-d); border-color: #A7F3D0; }
.ql-chip.orange { background: #FFF7ED; color: var(--terracotta); border-color: #FED7AA; }
.ql-chip.blue   { background: #F0F9FF; color: #0369A1; border-color: #BAE6FD; }
.ql-chip.pink   { background: #FFF1F2; color: var(--rose); border-color: #FECDD3; }
.ql-chip.teal   { background: #F0FDFA; color: var(--teal); border-color: #99F6E4; }
.ql-chip.purple { background: #F5F3FF; color: var(--plum); border-color: #DDD6FE; }

/* ══════════════════════════════════════════════════════
   CARDS — generic
══════════════════════════════════════════════════════ */
/* Directory card */
.dir-card {
  background: white; border-radius: var(--r-md);
  padding: 18px; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex; flex-direction: column; gap: 8px;
}
.dir-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--saffron); }
.dir-card-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; flex: 1; }
.dir-card-rating { display: flex; align-items: center; gap: 3px; background: var(--cream-2); border: 1.5px solid var(--border); border-radius: 20px; padding: 3px 9px; font-size: 12px; font-weight: 700; color: var(--saffron-d); white-space: nowrap; }
.dir-card-cat { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #FFF7ED; color: var(--terracotta); border: 1px solid #FED7AA; }
.dir-card-addr { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: flex; gap: 5px; align-items: flex-start; }
.dir-card-hours { font-size: 12px; color: #16a34a; font-weight: 700; display: flex; gap: 5px; align-items: center; }
.dir-card-hours.closed { color: #dc2626; }
.dir-card-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.dir-card-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.dir-card-links a { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-decoration: none; transition: all 0.18s; }
.dir-card-link-map   { background: #F0F9FF; color: #0369A1; border: 1px solid #BAE6FD; }
.dir-card-link-map:hover { background: #0369A1; color: white; }
.dir-card-link-web   { background: #ECFDF5; color: var(--emerald-d); border: 1px solid #A7F3D0; }
.dir-card-link-web:hover { background: var(--emerald); color: white; }
.dir-card-link-phone { background: #FFF7ED; color: var(--terracotta); border: 1px solid #FED7AA; }
.dir-card-link-phone:hover { background: var(--terracotta); color: white; }

/* Activity card */
.activity-card {
  background: var(--white); border-radius: var(--r-md);
  padding: 20px 12px 16px; text-align: center;
  text-decoration: none; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: all 0.2s; border-top-width: 4px;
}
.activity-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.activity-card:hover .activity-icon { animation: iconPop 0.4s cubic-bezier(.34,1.56,.64,1); }
.activity-icon { font-size: 36px; margin-bottom: 10px; display: block; }
.activity-name { font-size: 13px; font-weight: 700; color: var(--ink); display: block; line-height: 1.3; }
.activity-count { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 4px; display: block; }
.activity-card.c-green  { border-top-color: var(--emerald); }
.activity-card.c-orange { border-top-color: var(--terracotta); }
.activity-card.c-blue   { border-top-color: var(--sky); }
.activity-card.c-pink   { border-top-color: var(--rose); }
.activity-card.c-teal   { border-top-color: var(--teal); }
.activity-card.c-purple { border-top-color: var(--plum); }
.activity-card.c-yellow { border-top-color: var(--saffron); }
.activity-card.c-orange2{ border-top-color: #EA580C; }

/* Camp card */
.featured-camp-banner {
  border-radius: var(--r-xl); padding: 30px 32px 26px; margin-bottom: 24px;
  color: white; position: relative; overflow: hidden;
  box-shadow: 0 12px 40px rgba(124,58,237,0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.featured-camp-banner:hover { transform: translateY(-2px); box-shadow: 0 18px 56px rgba(0,0,0,0.22); }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
footer { background: var(--ink); color: #C8B89A; margin-top: 40px; }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  padding: 48px 24px 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
}
.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; color: var(--white);
  margin-bottom: 14px; letter-spacing: -0.01em;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: #A08060; font-size: 13.5px; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--saffron); }
.footer-logo h2 { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 900; color: var(--saffron); letter-spacing: -0.02em; }
.footer-logo p { font-size: 13px; color: #A08060; line-height: 1.7; margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid #2D2010;
  padding: 18px 24px;
  text-align: center;
  font-size: 13px; color: #6B5340;
}
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  width: 38px; height: 38px;
  background: #2D2010; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: #A08060; font-size: 16px; text-decoration: none;
  transition: all 0.2s;
}
.social-links a:hover { background: var(--saffron); color: var(--ink); }

/* ══════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════ */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes iconPop  { 0% { transform: scale(1); } 50% { transform: scale(1.28); } 100% { transform: scale(1); } }
@keyframes shimmer  { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.skeleton { background: linear-gradient(90deg, #f0e8d8 25%, #f8f1e6 50%, #f0e8d8 75%); background-size: 400px 100%; animation: shimmer 1.5s infinite; border-radius: var(--r-sm); }

/* ══════════════════════════════════════════════════════
   PHOTO GALLERY — used in blog articles
══════════════════════════════════════════════════════ */
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 6px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0;
}
.photo-grid .photo-main { grid-row: 1 / 3; overflow: hidden; position: relative; }
.photo-grid .photo-side { overflow: hidden; position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.photo-grid .photo-main:hover img,
.photo-grid .photo-side:hover img { transform: scale(1.04); }
.photo-caption {
  font-size: 12px; color: var(--muted); text-align: center;
  font-style: italic; margin-top: -16px; margin-bottom: 16px;
}

/* ══════════════════════════════════════════════════════
   DIRECTORY SEARCH & TABS
══════════════════════════════════════════════════════ */
.dir-controls { max-width: 1200px; margin: 0 auto 24px; padding: 0 24px; display: flex; flex-direction: column; gap: 14px; }
.dir-search-wrap { position: relative; }
.dir-search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; pointer-events: none; }
#dirSearch {
  width: 100%; padding: 15px 20px 15px 50px;
  border: 2px solid var(--border); border-radius: 30px;
  font-size: 15px; font-family: 'DM Sans', sans-serif;
  outline: none; background: white; box-shadow: var(--shadow-sm); transition: border 0.2s;
}
#dirSearch:focus { border-color: var(--terracotta); }
.dir-tabs { display: flex; gap: 8px; overflow-x: auto; flex-wrap: wrap; padding-bottom: 4px; scrollbar-width: none; }
.dir-tabs::-webkit-scrollbar { display: none; }
.dir-tab {
  padding: 7px 16px; border-radius: 20px; font-size: 13px; font-weight: 700;
  border: 2px solid var(--border); cursor: pointer; transition: all 0.18s;
  background: white; color: var(--muted); white-space: nowrap; font-family: 'DM Sans', sans-serif;
}
.dir-tab:hover { border-color: var(--terracotta); color: var(--terracotta); }
.dir-tab.active { background: var(--terracotta); color: white; border-color: var(--terracotta); }
.dir-stats { max-width: 1200px; margin: 0 auto 16px; padding: 0 24px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.dir-grid { max-width: 1200px; margin: 0 auto; padding: 0 24px 52px; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.dir-no-results { grid-column: 1/-1; text-align: center; padding: 64px 20px; color: var(--muted); }
.dir-no-results .nr-icon { font-size: 52px; display: block; margin-bottom: 14px; }

/* ══════════════════════════════════════════════════════
   BLOG CARD STYLES
══════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  margin-bottom: 32px;
}
.blog-card-featured {
  grid-column: span 2; background: var(--white);
  border-radius: var(--r-lg); border: 1.5px solid var(--border);
  box-shadow: 0 4px 20px rgba(28,16,8,0.10);
  display: flex; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.22s, box-shadow 0.22s;
}
.blog-card-featured:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(28,16,8,0.15); }
.blog-card-featured .bcard-thumb { width: 280px; flex-shrink: 0; background: linear-gradient(135deg, #1C1008, #5C2D00); display: flex; align-items: center; justify-content: center; font-size: 72px; overflow: hidden; }
.blog-card-featured .bcard-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; flex: 1; }
.blog-card-side {
  background: var(--white); border-radius: var(--r-lg);
  border: 1.5px solid var(--border); box-shadow: 0 2px 10px rgba(28,16,8,0.07);
  display: flex; flex-direction: column; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.22s, box-shadow 0.22s;
}
.blog-card-side:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(28,16,8,0.13); }
.blog-card-side .bcard-thumb-sm { height: 130px; background: linear-gradient(135deg, #2D1810, #78624A); display: flex; align-items: center; justify-content: center; font-size: 48px; overflow: hidden; }
.blog-card-side .bcard-thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-side .bcard-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.bcard-cat { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; background: rgba(220,95,58,0.10); color: var(--terracotta); padding: 3px 10px; border-radius: 20px; width: fit-content; }
.bcard-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 900; color: var(--ink); line-height: 1.25; letter-spacing: -0.01em; }
.blog-card-side .bcard-title { font-size: 15px; }
.bcard-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.blog-card-side .bcard-excerpt { font-size: 12.5px; }
.bcard-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--muted); font-weight: 500; margin-top: auto; align-items: center; }
.bcard-read-more { margin-left: auto; color: var(--terracotta); font-weight: 700; font-size: 12px; white-space: nowrap; }
.blog-cs-card { background: var(--cream-2); border: 1.5px dashed var(--border); border-radius: var(--r-lg); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.blog-cs-icon { font-size: 32px; }
.blog-cs-title { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.blog-cs-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.blog-cs-notify { font-size: 11.5px; color: var(--muted); }
.blog-cs-notify a { color: var(--emerald); font-weight: 700; text-decoration: none; }

/* ══════════════════════════════════════════════════════
   EDITORIAL STRIP
══════════════════════════════════════════════════════ */
.editorial-strip {
  background: linear-gradient(135deg, #1C1008 0%, #2D1810 50%, #1C1008 100%);
  color: #D6C4A8; padding: 36px 0;
  border-top: 3px solid var(--saffron); border-bottom: 3px solid var(--saffron);
}
.editorial-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; align-items: start;
}
.ed-widget-title {
  font-family: 'Playfair Display', serif; color: var(--saffron);
  margin-bottom: 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; gap: 7px;
  letter-spacing: 0.02em; text-transform: uppercase; font-size: 11.5px; font-weight: 700;
}
.ed-newsletter input[type="email"] {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid rgba(255,255,255,0.15); border-radius: var(--r-sm);
  font-size: 13.5px; font-family: 'DM Sans', sans-serif; margin-bottom: 8px;
  outline: none; background: rgba(255,255,255,0.07); color: #F5ECD7; transition: border 0.2s;
}
.ed-newsletter input[type="email"]::placeholder { color: rgba(214,196,168,0.5); }
.ed-newsletter input[type="email"]:focus { border-color: var(--saffron); }
.ed-newsletter .form-row { display: flex; gap: 0; border-radius: var(--r-sm); overflow: hidden; border: 1.5px solid rgba(255,255,255,0.15); }
.ed-newsletter .form-row:focus-within { border-color: var(--saffron); }
.ed-newsletter .form-row input[type="email"] { flex: 1; border: none; border-radius: 0; margin: 0; }
.ed-newsletter .form-row button { width: auto; border-radius: 0; padding: 10px 18px; white-space: nowrap; font-size: 13px; }
.ed-newsletter button { width: 100%; padding: 11px; background: var(--terracotta); color: white; border: none; border-radius: var(--r-sm); font-family: 'DM Sans', sans-serif; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.ed-newsletter button:hover { background: var(--terracotta-d); }
.ed-note { font-size: 11.5px; color: rgba(214,196,168,0.6); margin-top: 6px; text-align: center; }
.ed-weather-temp { font-family: 'Playfair Display', serif; font-size: 44px; font-weight: 900; color: var(--saffron); line-height: 1; }
.ed-weather-desc { font-size: 13.5px; color: #D6C4A8; margin-top: 4px; }
.ed-weather-extra { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: #A08060; font-weight: 600; }
.ed-tip { margin-top: 10px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-sm); padding: 10px 12px; font-size: 12px; color: #D6C4A8; line-height: 1.55; }
.ed-areas { display: flex; flex-wrap: wrap; gap: 7px; }
.ed-area-chip { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); border-radius: 20px; padding: 4px 12px; font-size: 12px; font-weight: 600; color: #D6C4A8; transition: all 0.18s; cursor: default; }
.ed-area-chip:hover { background: var(--saffron); color: var(--ink); border-color: var(--saffron); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .editorial-inner { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  .topbar { padding: 6px 14px; }
  .topbar-right { display: none; }
  .header-inner { padding: 10px 16px; }
  .logo-text h1 { font-size: 17px; }
  .logo-text .tagline { display: none; }
  .logo-icon { width: 42px; height: 42px; font-size: 22px; }
  .stats-bar-inner { gap: 0; }
  .stat-item { padding: 4px 10px; }
  .stat-number { font-size: 20px; }
  .section-title h2 { font-size: 24px; }
  .editorial-inner { grid-template-columns: 1fr; gap: 24px; }
  .dir-grid { grid-template-columns: 1fr; padding: 0 14px 36px; }
  .dir-controls { padding: 0 14px; }
  .dir-stats { padding: 0 14px; }
  .footer-top { padding: 30px 16px 16px; }
  .footer-bottom { padding: 14px 16px; font-size: 12px; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-column: span 1; flex-direction: column; }
  .blog-card-featured .bcard-thumb { width: 100%; min-height: 180px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-grid .photo-main { grid-row: 1; height: 220px; }
  .photo-grid .photo-side { height: 160px; }
}

@media (hover: none) {
  .dir-card:hover, .activity-card:hover, .blog-card-featured:hover, .blog-card-side:hover { transform: none; }
}

/* ======== WHATSAPP FLOAT BUTTON ======== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 22px;
  z-index: 9999;
  background: #25D366;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 16px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  transition: all 0.25s;
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
}
.whatsapp-float-label {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.70), 0 0 0 8px rgba(37,211,102,0.12); }
}

/* ======== MOBILE BOTTOM NAV ======== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1.5px solid var(--border);
  padding: 6px 0 env(safe-area-inset-bottom, 8px);
  z-index: 200;
  box-shadow: 0 -4px 20px rgba(28,16,8,0.10);
}
.mobile-bottom-nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.mobile-bottom-nav li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  transition: color 0.2s;
  min-width: 52px;
}
.mobile-bottom-nav li a:hover,
.mobile-bottom-nav li a.active { color: var(--terracotta); }

/* ======== BACK TO TOP ======== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 48px;
  height: 48px;
  background: var(--terracotta);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(220,95,58,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--terracotta-d); transform: translateY(-3px); }

/* ======== NAV TOGGLE (hamburger) ======== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 7px;
  border-radius: var(--r-sm);
  flex-direction: column;
  gap: 5px;
  transition: background 0.2s;
}
.nav-toggle:hover { background: var(--cream-2); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 3px;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ======== TICKER ANIMATION ======== */
@keyframes f4lk-ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 80px;
    right: 14px;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
  }
  .whatsapp-float-label { display: none; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .nav-toggle { display: flex; }
  header nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 0 0 22px;
    gap: 4px;
    border-bottom: 2px solid var(--border);
    box-shadow: 0 6px 24px rgba(28,16,8,0.12);
    z-index: 50;
  }
  header nav.open { display: flex; }
  header nav a { font-size: 15px; padding: 12px 16px; width: 100%; display: block; margin: 0; }
}
@media (min-width: 769px) {
  .mobile-bottom-nav { display: none !important; }
  header nav { display: flex !important; }
}
