/*
Theme Name: Tales of Time
Theme URI: https://talesoftime.travel
Author: Tales of Time
Author URI: https://talesoftime.travel
Description: Custom theme for Tales of Time Travel - Group Tours, Private Tours, Pakistan Inbound, Visa Services
Version: 27.1.6
License: Private
Text Domain: tales-of-time
Tags: travel, tours, custom
*/

/* ============================================================
   TALES OF TIME — MASTER STYLESHEET
   Font: Arial (all weights from system)
   Brand: Brown #7B3F1E | Blue #2E86C1 | Amber #F5A623
============================================================ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #1A1008;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.2;
  color: #1A1008;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9rem; }

p { margin-bottom: 1rem; }
a { color: #2E86C1; text-decoration: none; }
a:hover { color: #1A5980; }

/* ── CSS VARIABLES ── */
:root {
  --brown:       #7B3F1E;
  --brown-dark:  #5C2810;
  --brown-deep:  #2A1408;
  --brown-light: #F7EFE8;
  --blue:        #2E86C1;
  --blue-dark:   #1A5980;
  --blue-light:  #E8F2FB;
  --amber:       #F5A623;
  --amber-dark:  #C8891D;
  --amber-light: #FEF6E4;
  --ink:         #1A1008;
  --muted:       #7A6355;
  --rule:        #E8DDD5;
  --surface:     #FAF7F4;
  --white:       #ffffff;
  --red-alert:   #C0392B;
  --green:       #1AA34A;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.section--dark { background: var(--brown-deep); }
.section--surface { background: var(--surface); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  letter-spacing: 0.03em;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn--primary   { background: var(--brown-dark); color: #fff; }
.btn--amber     { background: var(--amber); color: var(--ink); }
.btn--blue      { background: var(--blue); color: #fff; }
.btn--outline   { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3); }
.btn--whatsapp  { background: #1AA34A; color: #fff; }
.btn--sm        { padding: 6px 13px; font-size: 11px; }
.btn--lg        { padding: 13px 26px; font-size: 15px; }
.btn--full      { width: 100%; justify-content: center; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  font-size: 9px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--bestseller { background: #FEF0D8; color: #8B5E0A; }
.badge--hot        { background: #FDE8E8; color: #8B1A1A; }
.badge--popular    { background: #EBF3FA; color: #1A5980; }
.badge--exclusive  { background: #F0E8E0; color: #6B4A30; }
.badge--trending   { background: #FDE8E8; color: #6B1A1A; }
.badge--honeymoon  { background: #FBE8F0; color: #7A1A40; }
.badge--new        { background: #EAF4EE; color: #1a7a2e; }

/* ── SECTION EYEBROW ── */
.eyebrow {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.eyebrow::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--rule);
  width: 40px;
}
.eyebrow--light::after { background: rgba(255,255,255,0.2); }

.section-header { margin-bottom: 28px; }
.section-header__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.section-header__title {
  font-size: 1.7rem;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 4px;
}
.section-header__title--light { color: #FAF7F4; }
.section-header__sub { font-size: 12px; color: var(--muted); }
.section-header__link { font-size: 12px; color: var(--blue); white-space: nowrap; }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--rule); margin: 48px 0; }

/* ── PHOTO THUMBNAIL PLACEHOLDER ── */
.thumb-placeholder {
  background: #E8DDD5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #9A8070;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.thumb-placeholder svg { opacity: 0.4; }

/* ── TICKER ── */
.ticker {
  background: var(--amber);
  padding: 7px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
}
.ticker__label {
  font-size: 9px;
  font-weight: 900;
  color: var(--brown-dark);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0 14px;
  border-right: 1px solid rgba(92,40,16,0.25);
  flex-shrink: 0;
  z-index: 2;
  background: var(--amber);
}
.ticker__track {
  display: flex;
  gap: 28px;
  animation: ticker-scroll 40s linear infinite;
  padding-left: 20px;
  white-space: nowrap;
  min-width: max-content;
}
.ticker__item {
  font-size: 10px;
  color: var(--brown-deep);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: bold;
}
.ticker__dot {
  width: 5px;
  height: 5px;
  background: var(--brown-dark);
  border-radius: 50%;
  flex-shrink: 0;
}
.ticker__seats { color: var(--brown-dark); font-weight: bold; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TRUST BAR ── */
.trust-bar {
  display: flex;
  justify-content: space-around;
  padding: 18px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.trust-bar__item { text-align: center; }
.trust-bar__number {
  font-size: 22px;
  font-weight: bold;
  color: var(--brown-dark);
}
.trust-bar__label {
  font-size: 9px;
  color: #9A8070;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ── NAVIGATION ── */
.site-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-nav__inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 0;
}
.site-nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  flex-shrink: 0;
  text-decoration: none;
}
.site-nav__logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.site-nav__logo-name {
  font-size: 17px;
  font-weight: bold;
  color: var(--brown);
  font-style: italic;
}
.site-nav__logo-tag {
  font-size: 8px;
  color: var(--blue);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-nav__links {
  display: flex;
  gap: 2px;
  flex: 1;
  list-style: none;
}
.site-nav__links li { position: relative; }
.site-nav__links a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 11px;
  font-size: 13px;
  color: #7B3F1E !important;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: bold !important;
  text-decoration: none !important;
}
.site-nav__links a:hover {
  color: #5C2810 !important;
  background: #F7EFE8;
}
.site-nav__links a:hover,
.site-nav__links .current-menu-item > a {
  background: var(--brown-light);
  color: var(--brown-dark);
}
.site-nav__arrow { font-size: 8px; opacity: 0.4; }
.site-nav__right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.nav-flags { display: flex; gap: 4px; }
.nav-flag {
  font-size: 10px;
  padding: 3px 8px;
  border: 0.5px solid var(--rule);
  border-radius: 20px;
  color: #666;
}

/* Dropdown */
.site-nav__links .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--rule); border-radius: 6px; min-width: 180px; z-index: 200; padding: 6px 0; }
.site-nav__links li:hover .dropdown { display: block; }
.site-nav__links .dropdown a { border-radius: 0; padding: 8px 14px; color: var(--ink); font-size: 12px; }
.site-nav__links .dropdown a:hover { background: var(--brown-light); color: var(--brown-dark); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--brown); margin: 4px 0; border-radius: 2px; }

/* ── HERO ── */
.hero {
  position: relative;
  padding: 56px 24px 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--brown-deep);
  z-index: 0;
}
.hero__bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.hero__bg-photo.loaded { opacity: 1; }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,8,0,0.72);
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 5;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.hero__eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--amber); opacity: 0.5; }
.hero__heading {
  font-size: 2.6rem;
  font-weight: bold;
  color: #FAF7F4;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero__heading em { color: var(--amber); font-style: italic; }
.hero__subheading {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ── SEARCH ENGINE ── */
.search-engine {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--amber-dark);
  margin-bottom: 0;
}
.search-engine__tabs {
  display: flex;
  background: var(--amber);
}
.search-engine__tab {
  padding: 11px 20px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  color: rgba(26,16,8,0.55);
  border: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: Arial, sans-serif;
}
.search-engine__tab.active {
  color: var(--ink);
  background: #fff;
  border-bottom: 2px solid var(--ink);
}
.search-engine__body {
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-end;
  flex-wrap: wrap;
  background: #fff;
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 80px;
}
.search-field__label {
  font-size: 9px;
  color: #B09080;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.search-field__value {
  font-size: 13px;
  color: var(--ink);
  padding: 5px 0;
  border-bottom: 1px solid #D4C4B4;
  font-style: italic;
}
.search-field__value--placeholder { color: #B09080; font-size: 12px; font-style: normal; }
.search-engine__input {
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--ink);
  padding: 5px 0;
  border: none;
  border-bottom: 1px solid #D4C4B4;
  background: transparent;
  outline: none;
  width: 100%;
  font-style: italic;
}
.search-engine__input:focus { border-bottom-color: var(--brown); }
.search-engine__footer {
  padding: 7px 20px 10px;
  background: #FEF0CC;
  display: flex;
  gap: 14px;
  align-items: center;
}
.search-powered {
  font-size: 9px;
  color: #7A5A10;
  display: flex;
  align-items: center;
  gap: 5px;
}
.search-powered__dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; }

/* ── GROUP TOUR CARDS ── */
.tour-list {
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.tour-card {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #F0E8E0;
}
.tour-card:last-child { border-bottom: none; }
.tour-card:hover { background: var(--surface); }
.tour-card__stripe { width: 4px; flex-shrink: 0; }
.tour-card__photo { width: 140px; flex-shrink: 0; align-self: stretch; }
.tour-card__photo img,
.tour-card__photo .thumb-placeholder { width: 140px; height: 100%; min-height: 100px; object-fit: cover; display: block; }
.tour-card__body {
  display: flex;
  flex: 1;
  padding: 14px 18px;
  gap: 16px;
  align-items: center;
}
.tour-card__text { flex: 1; }
.tour-card__country {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #B09080;
  margin-bottom: 3px;
}
.tour-card__name {
  font-size: 15px;
  font-weight: bold;
  color: var(--ink);
  margin-bottom: 3px;
  font-style: italic;
}
.tour-card__desc { font-size: 11px; color: var(--muted); }
.tour-card__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
  min-width: 140px;
}
.tour-card__date { font-size: 11px; color: var(--brown-dark); font-weight: bold; }
.tour-card__seats { font-size: 10px; color: var(--red-alert); font-weight: bold; }
.tour-card__badges { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
.tour-card__cta { margin-top: 6px; }

/* ── PRIVATE TOUR CARDS ── */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.destination-card {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}
.destination-card:hover { border-color: var(--brown); }
.destination-card__photo { position: relative; }
.destination-card__photo img,
.destination-card__photo .thumb-placeholder { width: 100%; height: 140px; object-fit: cover; }
.destination-card__badge-wrap {
  position: absolute;
  top: 10px;
  right: 10px;
}
.destination-card__body { padding: 14px 16px; }
.destination-card__name {
  font-size: 16px;
  font-weight: bold;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 4px;
}
.destination-card__desc { font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.destination-card__link { font-size: 11px; color: var(--blue); font-weight: bold; }

/* ── VISA CARDS ── */
.visa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.visa-card {
  display: flex;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.visa-card__photo { width: 88px; flex-shrink: 0; }
.visa-card__photo img,
.visa-card__photo .thumb-placeholder { width: 88px; height: 100%; min-height: 90px; object-fit: cover; }
.visa-card__body { padding: 12px 14px; flex: 1; }
.visa-card__title {
  font-size: 14px;
  font-weight: bold;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 4px;
}
.visa-card__desc { font-size: 11px; color: var(--muted); line-height: 1.5; margin-bottom: 8px; }
.visa-card__link { font-size: 11px; color: var(--blue); font-weight: bold; }

/* ── BLOG CARDS ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-card {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: var(--brown); }
.blog-card__photo img,
.blog-card__photo .thumb-placeholder { width: 100%; height: 120px; object-fit: cover; }
.blog-card__body { padding: 14px 16px; }
.blog-card__category {
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 6px;
}
.blog-card__title {
  font-size: 14px;
  font-weight: bold;
  color: var(--ink);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 6px;
}
.blog-card__meta { font-size: 10px; color: #B09080; margin-bottom: 8px; }
.blog-card__read { font-size: 11px; color: var(--blue); font-weight: bold; }

/* ── PAKISTAN BANNER ── */
.pakistan-banner {
  background: var(--brown-deep);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
}
.pakistan-banner__text { flex: 1; }
.pakistan-banner__heading {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FAF7F4;
  font-style: italic;
  margin-bottom: 8px;
}
.pakistan-banner__desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 16px; }
.pakistan-banner__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.pakistan-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex-shrink: 0;
  width: 220px;
}
.pakistan-mini-card {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.pakistan-mini-card__photo img,
.pakistan-mini-card__photo .thumb-placeholder { width: 100%; height: 50px; object-fit: cover; }
.pakistan-mini-card__name { padding: 5px 8px; font-size: 11px; font-weight: bold; color: #FAF7F4; font-style: normal; }

/* ── REVIEW CARDS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.review-card__stars { color: var(--amber); letter-spacing: 2px; font-size: 12px; margin-bottom: 8px; }
.review-card__text { font-size: 12px; color: #3A2818; font-style: italic; line-height: 1.65; margin-bottom: 12px; flex: 1; }
.review-card__person { display: flex; align-items: center; gap: 9px; margin-top: auto; }
.review-card__avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  flex-shrink: 0;
}
.review-card__name { font-size: 12px; font-weight: bold; color: var(--brown-dark); }
.review-card__location { font-size: 10px; color: #B09080; }

/* Video testimonials */
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }
.video-thumb {
  border-radius: 6px;
  border: 1px solid var(--rule);
  height: 80px;
  background: var(--brown-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.video-play {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.video-play__tri {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #fff;
  margin-left: 2px;
}
.video-thumb__label {
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--brown-dark);
  font-weight: bold;
  z-index: 2;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  padding: 48px 0 20px;
  margin-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}
.footer-col__brand-name { font-size: 20px; font-weight: bold; color: #FAF7F4; font-style: normal; margin-bottom: 4px; }
.footer-col__tagline { font-size: 11px; color: var(--amber); letter-spacing: 0.04em; font-style: italic; font-weight: normal; text-transform: none; margin-bottom: 14px; }
.footer-col__info { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 2.1; }
.footer-cert-row { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.footer-cert {
  font-size: 8px;
  border: 0.5px solid rgba(245,166,35,0.25);
  color: rgba(245,166,35,0.65);
  padding: 3px 9px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-col__heading { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); font-weight: bold; margin-bottom: 12px; }
.footer-col__links { list-style: none; }
.footer-col__links li { margin-bottom: 0; }
.footer-col__links a { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 2.1; display: block; }
.footer-col__links a:hover { color: var(--amber); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom__copy { font-size: 10px; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 8px; }
.footer-social__btn {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.45);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 3px;
  padding: 5px 11px;
  font-size: 10px;
  cursor: pointer;
  font-family: Arial, sans-serif;
}
.footer-social__btn:hover { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }

/* ── FLOATING WHATSAPP ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1AA34A;
  color: #fff;
  padding: 11px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(26,163,74,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(26,163,74,0.45);
  color: #fff;
}
.whatsapp-float__icon { width: 20px; height: 20px; fill: #fff; }

/* ── STRIPE PAYMENT BLOCK ── */
.stripe-payment-block {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px;
  max-width: 480px;
}
.stripe-payment-block__title { font-size: 18px; font-weight: bold; color: var(--ink); font-style: italic; margin-bottom: 6px; }
.stripe-payment-block__desc { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.stripe-payment-block__amount {
  font-size: 28px;
  font-weight: bold;
  color: var(--brown-dark);
  margin-bottom: 20px;
}
.stripe-payment-block__amount span { font-size: 14px; color: var(--muted); font-weight: normal; }
#stripe-card-element {
  border: 1px solid #D4C4B4;
  border-radius: 4px;
  padding: 12px;
  margin-bottom: 16px;
  background: #FAF7F4;
}
.stripe-payment-block__note {
  font-size: 10px;
  color: #B09080;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

/* ── SINGLE TOUR PAGE ── */
.tour-single__hero {
  position: relative;
  height: 340px;
  background: var(--brown-deep);
  overflow: hidden;
}
.tour-single__hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.tour-single__hero-overlay { position: absolute; inset: 0; background: rgba(26,8,0,0.5); }
.tour-single__hero-content {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  padding: 0 24px;
}
.tour-single__title { font-size: 2rem; font-weight: bold; color: #FAF7F4; font-style: italic; margin-bottom: 8px; }
.tour-meta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tour-meta-item { font-size: 12px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.tour-single__body { display: grid; grid-template-columns: 1fr 320px; gap: 32px; padding: 40px 0; }
.tour-single__sidebar { position: sticky; top: 84px; height: fit-content; }
.enquiry-card { border: 1px solid var(--rule); border-radius: 8px; padding: 24px; background: #fff; }
.enquiry-card__title { font-size: 16px; font-weight: bold; color: var(--ink); margin-bottom: 4px; }
.enquiry-card__seats { font-size: 12px; color: var(--red-alert); font-weight: bold; margin-bottom: 20px; }
.enquiry-form label { display: block; font-size: 10px; font-weight: bold; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 4px; margin-top: 12px; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea {
  width: 100%;
  border: 1px solid #D4C4B4;
  border-radius: 4px;
  padding: 9px 11px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { border-color: var(--brown); }
.enquiry-form textarea { height: 80px; resize: vertical; }

/* ── BLOG SINGLE ── */
.blog-single { max-width: 740px; margin: 0 auto; padding: 40px 24px; }
.blog-single__category { font-size: 10px; font-weight: bold; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 10px; }
.blog-single__title { font-size: 2rem; font-weight: bold; color: var(--ink); font-style: italic; line-height: 1.25; margin-bottom: 12px; }
.blog-single__meta { font-size: 11px; color: #B09080; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.blog-single__content { font-size: 15px; line-height: 1.75; color: #3A2818; }
.blog-single__content h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--brown-dark); font-style: italic; }
.blog-single__content h3 { font-size: 1.15rem; margin: 24px 0 8px; color: var(--brown-dark); }
.blog-single__content p { margin-bottom: 18px; }
.blog-single__content img { width: 100%; border-radius: 6px; margin: 20px 0; }
.blog-single__content ul, .blog-single__content ol { padding-left: 24px; margin-bottom: 18px; }
.blog-single__content li { margin-bottom: 6px; }

/* ── FILTERS ── */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn {
  padding: 7px 16px;
  border-radius: 3px;
  border: 1px solid var(--rule);
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  color: var(--brown-dark);
  font-family: Arial, sans-serif;
  transition: background 0.15s;
}
.filter-btn:hover { background: var(--brown-light); }
.filter-btn.active { background: var(--brown-dark); color: #fff; border-color: var(--brown-dark); font-weight: bold; }

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--brown-deep);
  padding: 48px 0 36px;
}
.page-hero .eyebrow { color: var(--amber); }
.page-hero .eyebrow--light::after { background: rgba(245,166,35,0.3); }
.page-hero__title { font-size: 2.2rem; font-weight: bold; color: #FAF7F4; font-style: italic; line-height: 1.2; margin-bottom: 10px; }
.page-hero__sub { font-size: 13px; color: rgba(255,255,255,0.5); }
.page-hero__btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .destination-grid,
  .blog-grid,
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .visa-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tour-single__body { grid-template-columns: 1fr; }
  .tour-single__sidebar { position: static; }
  .pakistan-banner { flex-direction: column; }
  .pakistan-mini-grid { width: 100%; grid-template-columns: repeat(4,1fr); }
}

@media (max-width: 640px) {
  .site-nav__links { display: none; }
  .nav-toggle { display: block; }
  .site-nav__links.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px 0; z-index: 200; }
  .site-nav__links.open li { width: 100%; }
  .site-nav__links.open a { padding: 10px 24px; border-radius: 0; }
  .hero__heading { font-size: 1.9rem; }
  .destination-grid,
  .blog-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .search-engine__body { flex-direction: column; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 12px; border-radius: 50%; }
  .trust-bar { flex-wrap: wrap; gap: 12px; }
  .trust-bar__item { flex: 1 1 40%; }
}

/* ============================================================
   MOBILE RESPONSIVE FIXES v2.0.0
============================================================ */

@media (max-width: 768px) {

  .site-nav__inner { padding: 0 14px; height: 56px; flex-wrap: nowrap; }
  .site-nav__logo { margin-right: auto; }
  .site-nav__logo img { height: 34px !important; }
  .site-nav__links { display: none; }
  .nav-flags { display: none; }
  .btn-wa span { display: none; }
  .btn-wa { padding: 7px 10px; border-radius: 50%; }
  .btn-book { padding: 6px 12px; font-size: 11px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 4px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: 4px; }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: #7B3F1E; border-radius: 2px; }

  .site-nav__links.open { display: flex; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #E8DDD5; padding: 8px 0; z-index: 999; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  .site-nav__links.open li { width: 100%; }
  .site-nav__links.open a { padding: 11px 20px; border-radius: 0; font-size: 13px; display: block; }

  .hero { padding: 36px 16px 0; }
  .hero__heading { font-size: 1.8rem; }
  .hero__subheading { font-size: 12px; line-height: 1.6; margin-bottom: 20px; }
  .hero__eyebrow { font-size: 9px; margin-bottom: 10px; }

  .search-engine__tabs { overflow-x: auto; }
  .search-engine__tab { padding: 9px 14px; font-size: 10px; white-space: nowrap; }
  .search-engine__body { flex-direction: column; gap: 10px; padding: 14px; }
  .search-field { min-width: unset; width: 100%; }
  .search-engine__body .btn { width: 100%; justify-content: center; padding: 11px; font-size: 13px; }
  .search-engine__footer { flex-wrap: wrap; gap: 6px; font-size: 9px; padding: 6px 14px 8px; }

  .trust-bar { flex-wrap: wrap; gap: 0; padding: 12px 16px; }
  .trust-bar__item { flex: 1 1 33%; padding: 8px 4px; text-align: center; }
  .trust-bar__number { font-size: 17px; }
  .trust-bar__label { font-size: 8px; }

  .section { padding: 36px 0; }
  .section-header { margin-bottom: 20px; }
  .section-header__row { flex-direction: column; gap: 4px; }
  .section-header__title { font-size: 1.35rem; }
  .section-header__link { font-size: 11px; }
  .container { padding: 0 16px; }

  .tour-card { flex-direction: row; }
  .tour-card__photo { width: 90px; flex-shrink: 0; }
  .tour-card__photo img, .tour-card__photo .thumb-placeholder { width: 90px; height: 100%; min-height: 110px; }
  .tour-card__body { flex-direction: column; padding: 10px 12px; gap: 8px; align-items: flex-start; }
  .tour-card__meta { align-items: flex-start; width: 100%; }
  .tour-card__cta { display: flex; gap: 6px; flex-wrap: wrap; }
  .tour-card__name { font-size: 13px; }
  .tour-card__desc { font-size: 10px; }

  .destination-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .destination-card__name { font-size: 13px; }
  .destination-card__desc { font-size: 10px; }
  .destination-card__photo img, .destination-card__photo .thumb-placeholder { height: 110px; }

  .pakistan-banner { flex-direction: column; padding: 20px 16px; margin: 0 16px; border-radius: 8px; }
  .pakistan-banner__heading { font-size: 1.2rem; }
  .pakistan-banner__desc { font-size: 11px; }
  .pakistan-mini-grid { width: 100%; grid-template-columns: repeat(4,1fr); gap: 6px; }
  .pakistan-mini-card__name { font-size: 9px; padding: 4px 6px; }

  .visa-grid { grid-template-columns: 1fr; gap: 10px; }
  .visa-card__photo { width: 72px; }
  .visa-card__photo img, .visa-card__photo .thumb-placeholder { width: 72px; min-height: 80px; }
  .visa-card__title { font-size: 13px; }
  .visa-card__desc { font-size: 10px; }

  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-card__photo img, .blog-card__photo .thumb-placeholder { height: 160px; }
  .blog-card__title { font-size: 14px; }

  .reviews-grid { grid-template-columns: 1fr; gap: 12px; }
  .video-grid { grid-template-columns: 1fr; gap: 10px; }
  .video-thumb { height: 100px; }

  .site-footer { padding: 36px 0 16px; margin-top: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-col__brand-name { font-size: 17px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-social { flex-wrap: wrap; justify-content: center; }

  .whatsapp-float { bottom: 16px; right: 14px; padding: 12px; border-radius: 50%; }
  .whatsapp-float span { display: none; }

  .ticker__label { font-size: 8px; padding: 0 10px; }
  .ticker__item { font-size: 9px; }

  .page-hero { padding: 36px 16px 28px; }
  .page-hero__title { font-size: 1.7rem; }
  .page-hero__btns { flex-direction: column; gap: 8px; }
  .page-hero__btns .btn { width: 100%; justify-content: center; }

  .filter-bar { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-btn { white-space: nowrap; font-size: 11px; padding: 6px 12px; }

  .divider { margin: 28px 16px 0; }
}

@media (max-width: 480px) {
  .hero__heading { font-size: 1.55rem; }
  .destination-grid { grid-template-columns: 1fr; }
  .trust-bar__item { flex: 1 1 50%; }
  .pakistan-mini-grid { grid-template-columns: repeat(2,1fr); }
}

/* ============================================================
   SINGLE TOUR PAGE — MOBILE & TABLET RESPONSIVE
============================================================ */

/* Tablet (up to 1024px) */
@media (max-width: 1024px) {
  /* Tour hero grid */
  .tot-tour-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* Tour body grid */
  .tot-tour-body-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .tot-tour-sidebar {
    position: static !important;
  }
}

@media (max-width: 768px) {
  /* Headings in itinerary */
  .blog-single__content h2 {
    font-size: 1.1rem !important;
    margin: 20px 0 8px !important;
  }
  .blog-single__content h3 {
    font-size: 1rem !important;
  }
  .blog-single__content p,
  .blog-single__content li {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  /* Tour page hero heading */
  .tot-tour-title {
    font-size: 1.5rem !important;
  }
  .tot-tour-subtitle {
    font-size: 12px !important;
  }
  /* Images in content */
  .blog-single__content img {
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover !important;
  }
  /* Featured photo */
  .tot-tour-featured-img img {
    height: 200px !important;
  }
}

/* ============================================================
   SEARCH ENGINE — ENHANCED UI (autocomplete, pax picker)
============================================================ */

/* Autocomplete field wrapper */
.search-field--autocomplete { position: relative; }

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #D4C4B4;
  border-top: none;
  border-radius: 0 0 6px 6px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.autocomplete-list:empty { display: none; }
.autocomplete-item {
  padding: 9px 14px;
  cursor: pointer;
  font-size: 12px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #F0E8E0;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover { background: var(--brown-light); }
.autocomplete-item__code {
  font-size: 10px;
  font-weight: bold;
  color: var(--blue);
  background: var(--blue-light);
  padding: 2px 6px;
  border-radius: 2px;
  flex-shrink: 0;
}
.autocomplete-item__country {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}

/* Swap button */
.swap-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.swap-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Passenger / room picker */
.pax-display {
  border-bottom: 1px solid #D4C4B4;
  padding: 5px 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  user-select: none;
  white-space: nowrap;
}
.pax-dropdown {
  position: fixed;
  min-width: 260px;
  background: #fff;
  border: 1px solid #D4C4B4;
  border-radius: 8px;
  padding: 8px 0 4px;
  z-index: 99999;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.pax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #F5EDE5;
}
.pax-row:last-of-type { border-bottom: none; }
.pax-title { font-size: 13px; font-weight: bold; color: var(--ink); font-family: Arial, sans-serif; }
.pax-sub { font-size: 10px; color: var(--muted); font-family: Arial, sans-serif; margin-top: 1px; }
.pax-counter {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pax-counter button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #D4C4B4;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  color: var(--brown-dark);
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-family: Arial, sans-serif;
  transition: all 0.1s;
}
.pax-counter button:hover { background: var(--brown-light); border-color: var(--brown); }
.pax-counter button:disabled { opacity: 0.3; cursor: not-allowed; }
.pax-counter span { font-size: 14px; font-weight: bold; color: var(--ink); font-family: Arial, sans-serif; min-width: 16px; text-align: center; }
.pax-done {
  width: calc(100% - 32px);
  margin: 8px 16px;
  background: var(--brown-dark);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 9px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  font-family: Arial, sans-serif;
}
.pax-done:hover { background: var(--brown-deep); }

/* Mobile search adjustments */
@media (max-width: 768px) {
  .swap-btn { display: none; }
  .pax-dropdown { left: auto; right: 0; min-width: 240px; }
}

/* ── DATE INPUT — clean appearance ── */
input[type="date"].search-engine__input {
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
/* Hide the default placeholder text on empty date fields */
input[type="date"].search-engine__input:not(:valid) {
  color: transparent;
}
input[type="date"].search-engine__input::-webkit-datetime-edit {
  color: var(--ink);
}
input[type="date"].search-engine__input::-webkit-datetime-edit-fields-wrapper {
  color: var(--ink);
}
/* When empty, hide the text but keep the calendar icon */
input[type="date"].search-engine__input::-webkit-datetime-edit-text,
input[type="date"].search-engine__input::-webkit-datetime-edit-month-field,
input[type="date"].search-engine__input::-webkit-datetime-edit-day-field,
input[type="date"].search-engine__input::-webkit-datetime-edit-year-field {
  color: transparent;
}
input[type="date"].search-engine__input:valid::-webkit-datetime-edit-text,
input[type="date"].search-engine__input:valid::-webkit-datetime-edit-month-field,
input[type="date"].search-engine__input:valid::-webkit-datetime-edit-day-field,
input[type="date"].search-engine__input:valid::-webkit-datetime-edit-year-field {
  color: var(--ink);
}
input[type="date"].search-engine__input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  width: 16px;
  height: 16px;
}
input[type="date"].search-engine__input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* ============================================================
   FLIGHT SEARCH — TRIP TYPE BAR + DATE DISPLAY + MULTI-CITY
============================================================ */

/* Trip type selector bar */
.trip-type-bar {
  display: flex;
  gap: 4px;
  padding: 10px 18px 0;
  background: #fff;
}
.trip-type-btn {
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #D4C4B4;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
  letter-spacing: 0.02em;
}
.trip-type-btn:hover { background: var(--brown-light); color: var(--brown-dark); border-color: var(--brown); }
.trip-type-btn.active { background: var(--brown-dark); color: #fff; border-color: var(--brown-dark); }

/* Clean date display field */
.date-field { position: relative; }
.date-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border-bottom: 1px solid #D4C4B4;
  padding: 5px 0;
  cursor: pointer;
  min-height: 28px;
}
.date-display:hover { border-bottom-color: var(--brown); }
.date-display__text {
  font-size: 12px;
  color: #B09080;
  font-family: Arial, sans-serif;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.date-display__text.has-date {
  color: var(--ink);
  font-style: italic;
}
/* Hidden actual date input — invisible but functional */
.date-hidden-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
  top: 0;
  left: 0;
}

/* Multi-city sectors */
.mc-sector {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F0E8E0;
  flex-wrap: wrap;
}
.mc-sector:last-child { border-bottom: none; margin-bottom: 0; }
.mc-sector-num {
  font-size: 10px;
  font-weight: bold;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  align-self: flex-end;
  margin-bottom: 6px;
  white-space: nowrap;
  min-width: 40px;
}
.mc-remove-btn {
  background: none;
  border: 1px solid #D4C4B4;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  margin-bottom: 4px;
  flex-shrink: 0;
  line-height: 1;
}
.mc-remove-btn:hover { background: #FDE8E8; color: #C0392B; border-color: #C0392B; }
.mc-add-btn {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: bold;
  color: var(--blue);
  background: none;
  border: 1px dashed var(--blue);
  border-radius: 4px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.mc-add-btn:hover { background: var(--blue-light); }

@media (max-width: 768px) {
  .trip-type-bar { padding: 8px 12px 0; gap: 4px; }
  .trip-type-btn { font-size: 10px; padding: 4px 10px; }
  .mc-sector { flex-direction: column; gap: 8px; }
}

/* ── SEARCH ENGINE PANEL STABILITY — no jumping/empty space ── */
#search-panel-flights,
#search-panel-hotels,
#search-panel-tours {
  display: none;
}
#search-panel-flights {
  display: block; /* default visible */
}
.search-engine__body {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  padding: 16px 18px;
  background: #fff;
  min-height: 72px;
}
/* Hotels and tours panels shown as flex when active */
#search-panel-hotels.active-panel,
#search-panel-tours.active-panel {
  display: flex !important;
}
/* Flights panel inner bodies */
#flight-standard-form {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  padding: 14px 18px 16px;
  background: #fff;
}
#flight-multicity-form {
  background: #fff;
}

/* ── DESTINATION CARD — full card clickable ── */
a.destination-card {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
a.destination-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(123,63,30,0.12);
  border-color: var(--brown) !important;
}

/* ── FULL CARD CLICKABLE HOVER EFFECTS ── */
a.blog-card {
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
a.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--brown) !important;
}
a.visa-card { display: flex !important; }

/* ── VISA FEATURED IMAGE FIX — no pixelation ── */
.single-visa_service .blog-single__content img,
.single-visa_service img.wp-post-image {
  max-height: 300px;
  width: auto !important;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto 24px;
  border-radius: 8px;
}

/* ── FIX HORIZONTAL SCROLL ON MOBILE ── */
body {
  overflow-x: hidden;
}
* { box-sizing: border-box; }

/* ── MOBILE NAV — smaller WhatsApp & Book now buttons ── */
@media (max-width: 768px) {
  /* Hide WhatsApp text label, show icon only */
  .site-nav__right .btn--whatsapp span { display: none; }
  .site-nav__right .btn--whatsapp {
    padding: 6px 8px;
    font-size: 11px;
    min-width: unset;
  }
  .site-nav__right .btn--whatsapp svg {
    width: 16px;
    height: 16px;
  }
  /* Smaller Book now button */
  .site-nav__right .btn--primary {
    padding: 5px 10px;
    font-size: 10px;
  }
  /* Tighter nav right area */
  .site-nav__right {
    gap: 5px;
  }
  /* Smaller logo on mobile */
  .site-nav__logo img {
    height: 28px !important;
  }
  .site-nav__inner {
    height: 52px;
    padding: 0 12px;
  }
  /* Ticker mobile */
  .ticker__label { font-size: 8px; padding: 0 10px; }
  .ticker__item { font-size: 9px; }
}

/* ── ISSUE 3: Visa card thumbnail mobile — handled by visa-grid--archive ── */

/* ── ISSUE 4: YouTube embed responsive (no cropping) ── */
.wp-block-embed__wrapper,
.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
}
.wp-block-embed__wrapper iframe,
.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}
.wp-block-embed {
  margin: 20px 0;
}

/* ── GALLERY: default WordPress behaviour ── */

/* ── VISA ARCHIVE — matches homepage card layout ── */
.visa-grid--archive {
  grid-template-columns: repeat(2, 1fr);
}
.visa-grid--archive .visa-card {
  display: flex;
  flex-direction: row;
}
.visa-grid--archive .visa-card__photo {
  width: 88px;
  flex-shrink: 0;
  height: auto;
}
.visa-grid--archive .visa-card__photo img,
.visa-grid--archive .visa-card__photo .thumb-placeholder {
  width: 88px;
  height: 100%;
  min-height: 90px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .visa-grid--archive {
    grid-template-columns: 1fr;
  }
  .visa-grid--archive .visa-card {
    flex-direction: row;
  }
  .visa-grid--archive .visa-card__photo {
    width: 88px;
    flex-shrink: 0;
  }
  .visa-grid--archive .visa-card__photo img,
  .visa-grid--archive .visa-card__photo .thumb-placeholder {
    width: 88px;
    min-height: 90px;
    height: 100%;
    object-fit: cover;
  }
}

/* ── GALLERY: mobile handled via wp_head injection ── */

/* ── VISA PAGE: mobile overflow only, no desktop changes ── */
.single-visa_service .blog-single__content,
.single-visa_service section,
.single-visa_service .container {
  overflow-x: hidden;
}
@media (max-width: 768px) {
  /* Keep table within screen — mobile only */
  .single-visa_service table,
  .blog-single__content table {
    width: 100% !important;
    table-layout: fixed !important;
    font-size: 11px !important;
    word-break: break-word !important;
  }
  .single-visa_service td,
  .single-visa_service th,
  .blog-single__content td,
  .blog-single__content th {
    padding: 6px 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  /* Flag images in tables — mobile */
  .blog-single__content td img,
  .blog-single__content th img {
    width: 16px !important;
    height: 12px !important;
    max-width: 16px !important;
    object-fit: contain !important;
    vertical-align: middle !important;
  }
}

/* ── TABLE WIDTH: full width aligned with page margins ── */
.blog-single__content table {
  width: 100%;
  border-collapse: collapse;
}

/* ── FORCE TABLE FULL WIDTH ── */
.blog-single__content table,
.blog-single__content .wp-block-table,
.blog-single__content .wp-block-table table {
  width: 100% !important;
  min-width: 0 !important;
}

/* ── WORDPRESS TABLE FULL WIDTH FIX ── */
.wp-block-table table,
.wp-block-table table.has-fixed-layout,
.is-style-stripes table,
figure.wp-block-table table {
  width: 100% !important;
  table-layout: auto !important;
}

/* ── FINAL TABLE FIX — target every possible selector ── */
table.has-fixed-layout,
.wp-block-table table,
.wp-block-table figure table,
figure.wp-block-table table,
.is-style-stripes table,
.blog-single__content table,
.entry-content table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
  display: table !important;
}
figure.wp-block-table,
.wp-block-table {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: visible !important;
}

/* ── TABLE HEADER ALIGNMENT FIX ── */
.wp-block-table th,
.wp-block-table th.has-text-align-left,
.wp-block-table thead th,
table.has-fixed-layout th {
  text-align: left !important;
}

/* ── TABLE CELL CENTER ALIGNMENT FIX ── */
.wp-block-table td.has-text-align-center,
.wp-block-table th.has-text-align-center {
  text-align: center !important;
}
.wp-block-table td.has-text-align-right,
.wp-block-table th.has-text-align-right {
  text-align: right !important;
}
.wp-block-table td.has-text-align-left,
.wp-block-table th.has-text-align-left {
  text-align: left !important;
}
