/* ============================================================
   VOYAGE THEME — Sri Lanka Tour Help
   Modern Travel Guide UI
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
  --teal:       #0B6E7C;
  --teal-dark:  #084E59;
  --teal-light: #E8F5F7;
  --gold:       #F5A623;
  --gold-dark:  #D4891A;
  --white:      #FFFFFF;
  --gray-50:    #F8FAFB;
  --gray-100:   #EEF2F5;
  --gray-300:   #C8D0D8;
  --gray-500:   #7A8A96;
  --gray-700:   #3D4E5A;
  --gray-900:   #1A2530;
  --radius:     12px;
  --radius-sm:  6px;
  --shadow-sm:  0 2px 8px rgba(11,110,124,.08);
  --shadow:     0 4px 24px rgba(11,110,124,.12);
  --shadow-lg:  0 8px 40px rgba(11,110,124,.18);
  --transition: all .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
}

a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5 { color: var(--gray-900); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

.serif { font-family: 'Playfair Display', serif; }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--gray { background: var(--gray-50); }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--teal-dark);
  color: rgba(255,255,255,.75);
  font-size: .8rem;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--white); }

/* ---- NAVBAR ---- */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--teal);
}
.navbar__logo img { height: 42px; width: auto; }
.navbar__logo span { color: var(--gold); }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.navbar__nav a {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
}
.navbar__nav a:hover,
.navbar__nav .active > a {
  background: var(--teal-light);
  color: var(--teal);
}

.navbar__actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: var(--radius-sm); font-weight: 600; font-size: .9rem; border: none; cursor: pointer; transition: var(--transition); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn--outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--sm { padding: 7px 16px; font-size: .82rem; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--teal-dark) 0%, #1a7a8a 50%, #0d9aaf 100%);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  opacity: .35;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(8,78,89,.7) 0%, rgba(8,78,89,.4) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}
.hero__eyebrow {
  display: inline-block;
  background: rgba(245,166,35,.2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero__title {
  color: var(--white);
  margin-bottom: 18px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  font-weight: 300;
}

/* ---- SEARCH BOX ---- */
.search-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto 20px;
}
.search-box input,
.search-box select {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: .95rem;
  color: var(--gray-700);
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}
.search-box .btn { flex-shrink: 0; padding: 12px 28px; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
}
.hero__stat strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold); }
.hero__stat span { font-size: .8rem; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: .08em; }

/* ---- CATEGORY CHIPS ---- */
.category-strip { padding: 32px 0; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.category-strip__list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.category-strip__list::-webkit-scrollbar { display: none; }
.cat-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  background: var(--gray-50);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  color: var(--gray-700);
  min-width: 90px;
}
.cat-chip:hover, .cat-chip.active {
  background: var(--teal-light);
  border-color: var(--teal);
  color: var(--teal);
}
.cat-chip__icon { font-size: 1.6rem; }
.cat-chip__label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.card__image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__image img { transform: scale(1.04); }

.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 100px;
}
.card__badge--teal { background: var(--teal); }
.card__badge--featured { background: linear-gradient(135deg, var(--gold), #e8891a); }

.card__body { padding: 20px; }
.card__category {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--teal);
  margin-bottom: 8px;
}
.card__title { font-size: 1rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; line-height: 1.35; }
.card__title a { color: inherit; }
.card__title a:hover { color: var(--teal); }
.card__excerpt { font-size: .85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
}
.card__meta-item { display: flex; align-items: center; gap: 4px; }

/* ---- GRID LAYOUTS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header__eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--gray-500); max-width: 560px; margin: 0 auto; }

/* ---- SERVICE PROVIDER CARD ---- */
.provider-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.provider-card:hover { box-shadow: var(--shadow); border-color: var(--teal-light); }
.provider-card__logo {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--teal-light);
}
.provider-card__info { flex: 1; }
.provider-card__name { font-weight: 700; color: var(--gray-900); font-size: .95rem; }
.provider-card__type { font-size: .75rem; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.provider-card__desc { font-size: .82rem; color: var(--gray-500); }
.provider-card__rating { display: flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--gold); font-weight: 700; }

/* ---- ARTICLE PAGE ---- */
.article-header {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  padding: 80px 0 60px;
}
.article-header h1 { color: var(--white); max-width: 800px; }
.article-header .meta { color: rgba(255,255,255,.7); font-size: .85rem; margin-top: 16px; }

.article-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 20px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--gray-700);
}
.article-content h2 { margin: 40px 0 16px; color: var(--teal-dark); }
.article-content h3 { margin: 30px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; }
.article-content li { margin-bottom: 6px; }
.article-content img { border-radius: var(--radius); margin: 32px 0; box-shadow: var(--shadow); }
.article-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--teal-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
  color: var(--teal-dark);
  font-style: italic;
}

/* ---- YOUTUBE EMBED ---- */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 32px 0;
  box-shadow: var(--shadow);
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ---- AD ZONES ---- */
.ad-zone {
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: .1em;
  min-height: 90px;
  margin: 24px 0;
}
.ad-zone--banner { min-height: 90px; }
.ad-zone--sidebar { min-height: 250px; }
.ad-zone--article { min-height: 280px; }

/* ---- SIDEBAR ---- */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 90px; }
.sidebar-widget { background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-100); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-light); }

/* ---- LANGUAGE SWITCHER ---- */
/* ---- LANGUAGE SWITCHER (desktop topbar) ---- */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-switcher a {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-500);
}
.lang-switcher a:hover, .lang-switcher a.active {
  background: var(--teal-light);
  color: var(--teal);
}
.lang-switcher .flag { font-size: 1rem; }

/* ---- MULTILANG BADGE ---- */
.multilang-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ---- TAGS ---- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: var(--gray-100);
  color: var(--gray-500);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  transition: var(--transition);
}
.tag:hover { background: var(--teal-light); color: var(--teal); }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; }
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  border: 1px solid var(--gray-100);
  color: var(--gray-700);
  transition: var(--transition);
}
.pagination a:hover, .pagination .current {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

/* ---- FOOTER SOCIAL ---- */
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer__social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  transition: var(--transition);
  text-decoration: none;
}
.footer__social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,.65);
  padding: 64px 0 0;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer__brand { color: var(--white); font-weight: 800; font-size: 1.1rem; margin-bottom: 12px; }
.footer__brand span { color: var(--gold); }
.footer__desc { font-size: .85rem; line-height: 1.7; }
.footer h5 { color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 8px; }
.footer__links a { color: rgba(255,255,255,.6); font-size: .85rem; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
}

/* ============================================================
   ARTICLE VIEW — full redesign
   ============================================================ */

/* ── Reading progress bar ── */
#read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 9999;
  transition: width .1s linear;
}

/* ── Back to top ── */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, background .2s;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover   { background: var(--teal-dark); }

/* ── Article hero ── */
.art-hero {
  position: relative;
  min-height: 75vh;
  background-color: var(--teal-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.art-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,78,89,.3) 0%, rgba(8,78,89,.75) 55%, rgba(8,78,89,.97) 100%);
}
.art-hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 0 56px;
  max-width: 860px;
}
.art-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.art-breadcrumb a { color: rgba(255,255,255,.55); }
.art-breadcrumb a:hover { color: var(--gold); }
.art-hero__title {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.art-hero__meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.7);
  font-size: .83rem;
  margin-bottom: 36px;
}
.art-hero__meta span { display: flex; align-items: center; gap: 6px; }

@keyframes artBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }
.art-scroll-indicator {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,.45);
  font-size: .72rem;
}
.art-scroll-bounce { animation: artBounce 1.6s ease infinite; }

/* ── Quick facts bar ── */
.quick-facts-bar {
  background: var(--teal-dark);
  border-bottom: 3px solid var(--gold);
}
.quick-facts-bar__inner {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.quick-facts-bar__inner::-webkit-scrollbar { display: none; }
.qf-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-right: 1px solid rgba(255,255,255,.1);
  white-space: nowrap;
  flex-shrink: 0;
}
.qf-item > i     { color: var(--gold); font-size: 1rem; }
.qf-item > div   { display: flex; flex-direction: column; }
.qf-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); }
.qf-value { font-size: .85rem; font-weight: 600; color: #fff; }

/* ── Article layout (2-col) ── */
.art-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.art-main { min-width: 0; }
.art-sidebar { position: sticky; top: 90px; }

/* ── Article intro block ── */
.art-intro {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 24px;
  margin-bottom: 32px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--teal-dark);
  font-weight: 500;
}

/* ── Article body typography ── */
.article-body { font-size: 1.05rem; line-height: 1.85; color: var(--gray-700); }
.article-body h2 { color: var(--teal-dark); margin: 44px 0 16px; font-size: 1.55rem; border-bottom: 2px solid var(--teal-light); padding-bottom: 10px; }
.article-body h3 { color: var(--gray-700); margin: 32px 0 12px; font-size: 1.2rem; }
.article-body h4 { color: var(--gray-700); margin: 24px 0 8px; font-size: 1rem; }
.article-body p  { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 6px; line-height: 1.75; }
.article-body img {
  border-radius: var(--radius);
  margin: 28px 0;
  box-shadow: var(--shadow);
  cursor: zoom-in;
  max-width: 100%;
  transition: box-shadow .2s;
}
.article-body img:hover { box-shadow: var(--shadow-lg); }
.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: var(--gray-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  color: var(--teal-dark);
  font-style: italic;
  font-size: 1.05rem;
}
.article-body a { color: var(--teal); text-decoration: underline; }
.article-body a:hover { color: var(--gold-dark); }
.article-body strong { color: var(--gray-900); }
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: .93rem; }
.article-body table th { background: var(--teal); color: #fff; padding: 10px 14px; text-align: left; }
.article-body table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); }
.article-body table tr:nth-child(even) td { background: var(--gray-50); }
.article-body hr { border: none; border-top: 2px solid var(--gray-100); margin: 36px 0; }

/* ── TOC ── */
.art-toc {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.art-toc__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  background: var(--teal-dark);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.art-toc__pct {
  background: rgba(255,255,255,.15);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600;
}
.art-toc__progress { height: 3px; background: var(--gray-100); }
#toc-progress-bar { height: 100%; background: var(--gold); width: 0%; transition: width .1s linear; }
.art-toc__list {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
  max-height: 320px;
  overflow-y: auto;
}
.toc-link {
  display: block;
  padding: 6px 14px;
  font-size: .8rem;
  color: var(--gray-700);
  border-left: 3px solid transparent;
  transition: var(--transition);
  line-height: 1.4;
  text-decoration: none;
}
.toc-link--sub { padding-left: 26px; font-size: .75rem; color: var(--gray-500); }
.toc-link:hover, .toc-link.active {
  background: var(--teal-light);
  color: var(--teal);
  border-left-color: var(--teal);
}

/* ── Quick facts rows in sidebar ── */
.qf-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .83rem;
}
.qf-row:last-child { border-bottom: none; }
.qf-row > i { color: var(--teal); margin-top: 2px; width: 16px; text-align: center; flex-shrink: 0; }
.qf-row > div { display: flex; flex-direction: column; gap: 2px; }
.qf-row strong { color: var(--gray-700); font-size: .75rem; font-weight: 700; }
.qf-row span   { color: var(--gray-500); font-size: .8rem; }

/* ── Article sections ── */
.art-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 2px solid var(--gray-100);
}
.art-section--calc {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 48px;
  border: 1px solid var(--gray-100);
  border-top-color: var(--gray-100);
}
.art-section__header { margin-bottom: 24px; }
.art-section__eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 8px;
}
.art-section__header h2  { font-size: 1.45rem; color: var(--teal-dark); margin-bottom: 6px; }
.art-section__header p   { color: var(--gray-500); font-size: .88rem; }

/* ── Where to Stay carousel ── */
.stay-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.stay-track::-webkit-scrollbar { display: none; }
.stay-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.stay-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.stay-card__img {
  position: relative;
  height: 158px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}
.stay-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.stay-card:hover .stay-card__img img { transform: scale(1.05); }
.stay-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,.45);
}
.stay-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--gold);
  color: #fff;
  font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 8px; border-radius: 100px;
}
.stay-card__body {
  padding: 16px;
  display: flex; flex-direction: column; flex: 1; gap: 6px;
}
.stay-card__location { font-size: .7rem; color: var(--teal); font-weight: 600; }
.stay-card__title    { font-size: .93rem; font-weight: 700; color: var(--gray-900); line-height: 1.35; margin: 0; }
.stay-card__title a  { color: inherit; text-decoration: none; }
.stay-card__title a:hover { color: var(--teal); }
.stay-card__desc     { font-size: .78rem; color: var(--gray-500); line-height: 1.5; flex: 1; }
.stay-controls       { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.stay-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--teal); background: #fff; color: var(--teal);
  cursor: pointer; font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.stay-btn:hover { background: var(--teal); color: #fff; }

/* ── Budget calculator ── */
.budget-calc { }
.budget-calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 28px;
}
.budget-calc__item label {
  display: block; font-size: .78rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.budget-calc__item input[type=range] { width: 100%; accent-color: var(--teal); cursor: pointer; }
.bc-val { display: block; font-size: .9rem; font-weight: 700; color: var(--teal); margin-top: 4px; }
.budget-calc__days { text-align: center; margin-bottom: 28px; }
.budget-calc__days label { display: block; font-size: .78rem; font-weight: 600; color: var(--gray-700); margin-bottom: 12px; }
.budget-calc__adj {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--teal); background: #fff; color: var(--teal);
  font-size: 1.2rem; cursor: pointer; transition: var(--transition);
}
.budget-calc__adj:hover { background: var(--teal); color: #fff; }
.budget-calc__result { display: flex; gap: 16px; }
.bc-total, .bc-perday {
  flex: 1; border-radius: var(--radius); padding: 20px; text-align: center;
}
.bc-total  { background: var(--teal-dark); }
.bc-perday { background: var(--teal); }
.bc-total span, .bc-perday span {
  display: block; font-size: .7rem; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px;
}
.bc-total strong, .bc-perday strong {
  display: block; font-size: 1.9rem; color: var(--gold); font-weight: 800;
}

/* ── Share bar ── */
.art-footer-bar {
  margin-top: 40px; padding-top: 32px;
  border-top: 2px solid var(--gray-100);
  display: flex; flex-direction: column; gap: 16px;
}
.share-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.share-bar__label {
  font-size: .78rem; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: .08em;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px; border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 600; cursor: pointer;
  border: none; transition: var(--transition); text-decoration: none;
}
.share-btn--fb   { background: #1877f2; color: #fff; }
.share-btn--tw   { background: #1da1f2; color: #fff; }
.share-btn--wa   { background: #25d366; color: #fff; }
.share-btn--copy { background: var(--gray-100); color: var(--gray-700); }
.share-btn:hover { opacity: .85; color: #fff; }
.share-btn--copy:hover { background: var(--gray-700); color: #fff; }

/* ── Art tags ── */
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Newsletter CTA ── */
.newsletter-cta {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 64px 0;
}
.newsletter-cta__inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.newsletter-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.nl-input {
  padding: 12px 18px; border: none; border-radius: var(--radius-sm);
  font-size: .95rem; font-family: 'Poppins', sans-serif;
  min-width: 260px; outline: none; color: var(--gray-700);
}

/* ── Lightbox ── */
#lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9998;
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
#lightbox img {
  max-width: 92vw; max-height: 92vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
  cursor: default;
}
#lightbox button {
  position: absolute; top: 20px; right: 28px;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; line-height: 1;
  opacity: .7; transition: opacity .2s;
}
#lightbox button:hover { opacity: 1; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .art-layout { grid-template-columns: 1fr 240px; gap: 24px; }
  .budget-calc__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .hero { min-height: 70vh; }
  .hero__stats { gap: 20px; }
  .search-box { flex-direction: column; }
  .navbar__nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--teal-dark); padding: 12px 0; z-index: 999; box-shadow: var(--shadow); }
  .navbar__nav.open { display: flex; }
  .navbar__nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .navbar__nav li a { padding: 12px 24px; display: block; color: rgba(255,255,255,.9); }
  .navbar__nav li a:hover { background: rgba(255,255,255,.1); color: #fff; }
  /* Language grid in mobile menu */
  .navbar__lang-mobile { gap: 2px; padding: 8px 16px; }
  .navbar__lang-mobile a { font-size: .72rem; padding: 5px 8px; }
  .navbar__actions { display: none; }
  .navbar__hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
  .navbar__hamburger span { width: 24px; height: 2px; background: var(--teal-dark); border-radius: 2px; transition: var(--transition); display: block; }
  .navbar__mobile-lang { display: flex !important; align-items: center; gap: 4px; font-size: .8rem; font-weight: 600; color: var(--teal-dark); background: none; border: 1px solid var(--teal); border-radius: var(--radius-sm); padding: 4px 8px; cursor: pointer; text-decoration: none; }
  .navbar { position: relative; }
  /* Article responsive */
  .art-layout { grid-template-columns: 1fr; }
  .art-sidebar { position: static; }
  .art-toc { display: none; }
  .art-hero { min-height: 55vh; background-attachment: scroll; }
  .newsletter-cta__inner { flex-direction: column; }
  .nl-input { min-width: 220px; width: 100%; }
  .stay-card { flex: 0 0 250px; }
  .budget-calc__result { flex-direction: column; }
  #back-to-top { bottom: 20px; right: 16px; }
  /* Topbar — hide on mobile, languages live in hamburger menu instead */
  .topbar { display: none !important; }
  /* Mobile language row inside hamburger nav */
  .navbar__lang-mobile {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .navbar__lang-mobile a {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: .78rem;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    text-decoration: none;
  }
  .navbar__lang-mobile a:hover,
  .navbar__lang-mobile a.active { background: rgba(255,255,255,.15); color: #fff; }
}
@media (min-width: 769px) {
  .navbar__hamburger { display: none; }
  .navbar__lang-mobile { display: none !important; }
  .navbar__mobile-lang { display: none !important; }
}

/* ── Print styles ── */
@media print {
  .topbar, .navbar, .quick-facts-bar, .art-sidebar,
  .share-bar, .newsletter-cta, .footer, .art-scroll-indicator,
  #read-progress, #back-to-top, #lightbox { display: none !important; }
  .art-layout { grid-template-columns: 1fr; }
  .art-hero { min-height: auto; background-attachment: scroll; }
  .art-hero__overlay { background: rgba(0,0,0,.15); }
  .art-hero__title, .art-hero__content * { color: #000 !important; text-shadow: none; }
  .article-body a { color: #000; text-decoration: underline; }
  .article-body img { box-shadow: none; }
  .art-section--calc { display: none; }
}

/* ════════════════════════════════════════════════
   ARTICLES / TRAVEL GUIDES LISTING
   ════════════════════════════════════════════════ */

/* Homepage guides search */
.home-guides-search {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.home-guides-search .guides-search-input-wrap { flex: 1; }
@media (max-width: 768px) {
  .home-guides-search { flex-direction: column; }
  .home-guides-search .guides-search-btn { width: 100%; justify-content: center; display: flex; }
}

/* Search bar */
.guides-search-bar {
  background: #f8f9fa;
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0 14px;
}
.guides-search-form {
  display: flex;
  gap: 10px;
  align-items: center;
}
.guides-search-input-wrap {
  position: relative;
  flex: 1;
}
.guides-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .9rem;
  pointer-events: none;
}
.guides-search-input {
  width: 100%;
  padding: 11px 40px 11px 38px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color .15s;
  box-sizing: border-box;
}
.guides-search-input:focus {
  outline: none;
  border-color: var(--teal);
}
.guides-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  font-size: .85rem;
  padding: 2px 4px;
}
.guides-search-clear:hover { color: var(--gray-700); }
.guides-search-btn {
  padding: 11px 22px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s;
}
.guides-search-btn:hover { background: var(--teal-dark); }
.guides-search-result-label {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--gray-600);
}
.guides-search-result-label a { color: var(--teal); }

@media (max-width: 768px) {
  .guides-search-form { flex-direction: column; }
  .guides-search-btn { width: 100%; justify-content: center; }
}

/* Page hero */
.guides-hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #0a8a9f 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.guides-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.guides-hero__inner { position: relative; max-width: 700px; }
.guides-hero__eyebrow {
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 14px;
}
.guides-hero__eyebrow i { margin-right: 6px; color: var(--gold); }
.guides-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff; margin-bottom: 16px; line-height: 1.2;
}
.guides-hero__tag { font-style: italic; opacity: .8; font-size: .85em; margin-left: 8px; }
.guides-hero__sub { color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.6; max-width: 560px; }

/* Filter bar */
.guides-filter-bar {
  background: #fff; border-bottom: 1px solid var(--gray-200);
  padding: 0; position: sticky; top: 68px; z-index: 100; box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.guides-filter-scroll {
  display: flex; align-items: center; gap: 4px;
  overflow-x: auto; padding: 12px 0;
  scrollbar-width: none;
}
.guides-filter-scroll::-webkit-scrollbar { display: none; }
.guides-filter-pill {
  flex-shrink: 0; padding: 7px 18px; border-radius: 20px;
  font-size: .82rem; font-weight: 500; color: var(--gray-600);
  background: var(--gray-50, #f8f9fa); border: 1px solid var(--gray-200);
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.guides-filter-pill:hover { background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.guides-filter-pill.active { background: var(--teal); color: #fff; border-color: var(--teal); font-weight: 600; }
.guides-filter-pill i { margin-right: 5px; font-size: .75rem; }

/* Main container */
.guides-container { padding-top: 40px; padding-bottom: 64px; }

/* Grid layout: featured card takes full row, rest are 3-col */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
/* Featured article spans full row */
.guides-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 360px;
}

/* Card base */
.guides-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.guides-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

/* Image wrapper */
.guides-card__img-wrap {
  display: block; overflow: hidden; position: relative;
  background: var(--teal-light);
  text-decoration: none;
}
.guides-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.guides-card:hover .guides-card__img-wrap img { transform: scale(1.06); }
/* Regular card image height */
.guides-card:not(.guides-card--featured) .guides-card__img-wrap { height: 210px; }
/* Featured card image fills the wrapper */
.guides-card--featured .guides-card__img-wrap { min-height: 360px; }

/* Gradient overlay on featured */
.guides-card__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.35) 0%, rgba(0,0,0,.0) 70%);
}
/* Category badge */
.guides-card__badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--teal); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: .72rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; z-index: 1;
}
/* No-image fallback */
.guides-card__no-img {
  width: 100%; height: 100%; min-height: 210px;
  background: linear-gradient(135deg, var(--teal-light) 0%, #c8e8ee 100%);
}

/* Card body */
.guides-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.guides-card--featured .guides-card__body { padding: 32px 36px; justify-content: center; }

.guides-card__meta {
  display: flex; align-items: center; gap: 14px;
  font-size: .78rem; color: var(--gray-500); margin-bottom: 10px;
}
.guides-card__meta i { color: var(--teal); margin-right: 3px; }

.guides-card__title { margin-bottom: 10px; line-height: 1.35; }
.guides-card__title a { color: var(--gray-900); text-decoration: none; }
.guides-card__title a:hover { color: var(--teal); }
.guides-card__title--lg {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-family: 'Playfair Display', serif;
}

.guides-card__excerpt {
  color: var(--gray-600); font-size: .88rem; line-height: 1.65; margin-bottom: 16px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.guides-card__excerpt--lg { -webkit-line-clamp: 4; font-size: .95rem; }

.guides-card__cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--teal);
  text-decoration: none; margin-top: auto;
  transition: gap .15s;
}
.guides-card__cta:hover { gap: 10px; color: var(--teal-dark); }
.guides-card__cta i { font-size: .75rem; }

/* Pagination */
.guides-pagination { margin-top: 48px; display: flex; justify-content: center; }

/* Empty state */
.guides-empty {
  text-align: center; padding: 80px 0; color: var(--gray-500);
}
.guides-empty i { font-size: 3rem; color: var(--teal-light); display: block; margin-bottom: 16px; }

/* Responsive */
@media (max-width: 1024px) {
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-card--featured { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .guides-grid { grid-template-columns: 1fr; gap: 20px; }
  .guides-card--featured { grid-template-columns: 1fr; }
  .guides-card--featured .guides-card__img-wrap { min-height: 240px; }
  .guides-card--featured .guides-card__body { padding: 22px; }
  .guides-filter-bar { top: 0; }
}

/* ════════════════════════════════════════════════
   LISTING DETAIL PAGE
   ════════════════════════════════════════════════ */

/* Hero */
.listing-hero {
  position: relative;
  min-height: 52vh;
  background: var(--teal-dark);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}
.listing-hero--no-img { background: linear-gradient(135deg, var(--teal-dark) 0%, #0a5060 100%); }
.listing-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.08) 100%);
}
.listing-hero .container { position: relative; z-index: 1; padding-bottom: 36px; width: 100%; }
.listing-hero__breadcrumb {
  font-size: .8rem; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.listing-hero__breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.listing-hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.listing-hero__breadcrumb span { color: rgba(255,255,255,.4); }
.listing-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.listing-hero__badge {
  background: var(--teal); color: #fff;
  padding: 5px 14px; border-radius: 20px; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.listing-hero__badge--gold { background: var(--gold); color: #fff; }
.listing-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #fff; margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  line-height: 1.25;
}
.listing-hero__meta {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: rgba(255,255,255,.8); font-size: .9rem;
}
.listing-hero__meta i { margin-right: 4px; }

/* Two-column layout */
.listing-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.listing-sidebar { position: sticky; top: 88px; }

/* Gallery */
.listing-gallery { margin-bottom: 28px; }
.listing-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 160px;
  gap: 8px;
  border-radius: var(--radius);
  overflow: hidden;
}
.listing-gallery__item { overflow: hidden; position: relative; background: var(--gray-100); }
.listing-gallery__item--main {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}
.listing-gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.listing-gallery__item:hover img { transform: scale(1.04); }
.listing-gallery__more {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem; font-weight: 600; gap: 8px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 20px; right: 20px; font-size: 1.1rem; }
.lightbox__prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: .85rem;
}

/* Pills */
.listing-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.listing-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 20px; font-size: .85rem;
  background: var(--gray-50, #f8f9fa); color: var(--gray-700); border: 1px solid var(--gray-200);
}
.listing-pill i { font-size: .8rem; }
.listing-pill--teal { background: var(--teal-light); color: var(--teal-dark); border-color: var(--teal); }
.listing-pill--gold  { background: #fff8e7; color: var(--gold-dark); border-color: var(--gold); }

/* Content sections */
.listing-section { background: #fff; border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.listing-section__title { font-size: 1.15rem; font-weight: 700; color: var(--teal-dark); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--teal-light); }
.listing-body { line-height: 1.85; color: var(--gray-700); }
.listing-body h2, .listing-body h3 { color: var(--teal-dark); margin: 1.4em 0 .6em; }
.listing-body img { max-width: 100%; border-radius: 8px; margin: 12px 0; }
.listing-body a { color: var(--teal); text-decoration: underline; }
.listing-body ul, .listing-body ol { padding-left: 1.4em; }

/* Booking card */
.listing-booking-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; margin-bottom: 20px;
}
.listing-price { font-size: 2rem; font-weight: 800; color: var(--gold-dark); margin-bottom: 4px; }
.listing-price-label { font-size: .82rem; color: var(--gray-500); margin-bottom: 22px; }
.listing-booking-meta {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--gray-100);
  font-size: .82rem; color: var(--gray-500); display: flex; flex-direction: column; gap: 7px;
}
.listing-booking-meta i { width: 16px; color: var(--teal); }

/* Share card */
.listing-share-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 20px; margin-top: 20px;
}
.listing-share-card__title { font-size: .82rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.listing-share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.listing-share-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: #fff; transition: transform .15s, opacity .15s;
  text-decoration: none;
}
.listing-share-btn:hover { transform: scale(1.1); opacity: .9; }
.listing-share-btn--fb { background: #1877f2; }
.listing-share-btn--tw { background: #000; }
.listing-share-btn--wa { background: #25d366; }
.listing-share-btn--cp { background: var(--teal); }

/* Related listings */
.listing-related { margin-top: 32px; }
.listing-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.listing-related-card { text-decoration: none; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: block; }
.listing-related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.listing-related-card__img { height: 160px; overflow: hidden; }
.listing-related-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.listing-related-card:hover .listing-related-card__img img { transform: scale(1.05); }
.listing-related-card__body { padding: 14px; }
.listing-related-card__cat { font-size: .72rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.listing-related-card__title { font-weight: 600; color: var(--gray-900); font-size: .9rem; margin-bottom: 6px; line-height: 1.35; }
.listing-related-card__loc { font-size: .78rem; color: var(--gray-500); margin-bottom: 6px; }
.listing-related-card__loc i { color: var(--teal); margin-right: 3px; }
.listing-related-card__price { font-weight: 700; color: var(--gold-dark); font-size: .9rem; }

/* Responsive */
@media (max-width: 1024px) {
  .listing-layout { grid-template-columns: 1fr 300px; gap: 24px; }
}
@media (max-width: 768px) {
  .listing-layout { grid-template-columns: 1fr; }
  .listing-sidebar { position: static; }
  .listing-hero { min-height: 55vh; }
  .listing-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px; }
  .listing-gallery__item--main { grid-column: 1 / 3; grid-row: 1 / 2; }
  .listing-related-grid { grid-template-columns: 1fr; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}
