/*
Theme Name: Vietnam Guide
Description: Child theme for Vietnam Guide – mobile-first travel, expat & retirement site
Template: astra
Version: 1.1.4
*/

/* ── Reset / Base – Mobile First ─────────────────────────────────────── */

:root {
  --vg-red:       #c96a2c;
  --vg-gold:      #e6a817;
  --vg-green:     #1a6b3a;
  --vg-dark:      #1a1a2e;
  --vg-grey:      #f5f5f5;
  --vg-text:      #333;
  --vg-muted:     #666;
  --vg-radius:    8px;
  --vg-shadow:    0 2px 8px rgba(0,0,0,.10);
  --vg-tap-min:   44px;      /* iOS tap target minimum */
}

/* ── Region theme colours ─────────────────────────────────────────────── */
/* North Vietnam: mountain forest green                                    */
.vg-region-north {
  --vg-red:   #2e7d4f;   /* replaces accent throughout */
  --vg-green: #1a5c35;
}
/* Central Vietnam: ocean teal-blue                                        */
.vg-region-central {
  --vg-red:   #0e7490;
  --vg-green: #0a5f78;
}
/* South Vietnam: warm red-brown earth                                     */
.vg-region-south {
  --vg-red:   #a0522d;
  --vg-green: #7a3d20;
}

* { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--vg-text);
}

a { color: var(--vg-red); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Typography – readable on small screens ──────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--vg-dark);
  margin-top: 1.25em;
  margin-bottom: .5em;
}

h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 4vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }

p { margin: 0 0 1em; }

/* ── Header ──────────────────────────────────────────────────────────── */

/* Header — white background so the logo sits naturally */
#masthead,
#masthead .ast-primary-header-bar,
#masthead .site-primary-header-wrap,
#masthead .main-header-bar {
  background-color: #fff !important;
  background: #fff !important;
  border-bottom: 1px solid #ebebeb;
}

/* Keep header above all sticky subnavs (which sit at z-index 100–200) */
#masthead {
  position: relative;
  z-index: 9999;
}

/* Logo sizing */
.custom-logo {
  max-height: 52px;
  width: auto;
  max-width: 180px;
}

@media (max-width: 768px) {
  .custom-logo { max-height: 40px; max-width: 140px; }
}

/* Hide site name and tagline — logo replaces them */
.ast-site-identity .site-title,
.ast-site-identity .site-description,
.ast-site-identity .tagline { display: none !important; }

/* Nav links — dark on white, terracotta on hover */
#masthead .main-navigation a,
#masthead .main-header-menu a,
#masthead .main-header-menu .menu-link,
.ast-primary-header-bar .main-navigation a,
.main-header-menu a {
  min-height: var(--vg-tap-min);
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: var(--vg-dark) !important;
  font-size: .9rem;
  font-weight: 600;
}

#masthead .main-header-menu > .menu-item > a:hover,
#masthead .main-header-menu > .menu-item > .menu-link:hover,
#masthead .main-header-menu > .menu-item.current-menu-item > a,
#masthead .main-header-menu > .menu-item.current-menu-ancestor > a {
  color: var(--vg-red) !important;
}

/* Dropdown sub-menus */
#masthead .main-header-menu .sub-menu,
.main-header-menu .sub-menu {
  background-color: #fff !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border-top: 2px solid var(--vg-red);
}

#masthead .main-header-menu .sub-menu a,
#masthead .main-header-menu .sub-menu .menu-link,
.main-header-menu .sub-menu a {
  color: var(--vg-dark) !important;
  font-size: .85rem;
  font-weight: 500;
  min-height: 40px;
  border-bottom: 1px solid #f0f0f0;
}

#masthead .main-header-menu .sub-menu a:hover,
.main-header-menu .sub-menu a:hover {
  color: var(--vg-red) !important;
  background-color: #fdf8f5 !important;
}

/* Mobile menu button — dark icon on white header */
.ast-mobile-header-wrap .ast-button-wrap button,
#astra-mobile-menu-icon,
.ast-mobile-menu-trigger-wrapper .ast-mobile-menu-trigger {
  color: var(--vg-dark) !important;
  min-width: var(--vg-tap-min);
  min-height: var(--vg-tap-min);
}

/* Mobile nav overlay — light bg with dark links */
#masthead .ast-mobile-header-wrap .main-navigation,
.ast-mobile-header-wrap .main-navigation {
  background-color: #fff !important;
}

#masthead .ast-mobile-header-wrap .main-navigation a,
#masthead .ast-mobile-header-wrap .main-navigation a:visited,
#masthead .ast-mobile-header-wrap .main-navigation a:hover,
#masthead .ast-mobile-header-wrap .main-navigation .menu-link,
.ast-mobile-header-wrap .main-navigation a,
.ast-mobile-header-wrap .main-navigation a:visited,
.ast-mobile-header-wrap .main-navigation a:hover,
.ast-mobile-header-wrap .main-navigation .menu-link {
  color: var(--vg-dark) !important;
  border-bottom: 1px solid rgba(0,0,0,.08);
  padding: 14px 20px;
  min-height: var(--vg-tap-min);
}

/* ── Navigation top bar accent ───────────────────────────────────────── */

.ast-above-header,
.ast-below-header { background: var(--vg-red); }

/* ── Hero / Entry Header ─────────────────────────────────────────────── */

.ast-single-post .entry-header,
.ast-archive-header {
  padding: 24px 16px 16px;
}

/* ── Content area: comfortable on mobile ────────────────────────────── */

.ast-container,
.entry-content,
.site-content .ast-container {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 768px) {
  .ast-container,
  .entry-content {
    padding-inline: 24px;
  }
}

/* ── Cards: destination + post listing ──────────────────────────────── */

.vg-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0;
  list-style: none;
  margin: 0;
}

@media (min-width: 600px) {
  .vg-card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .vg-card-grid { grid-template-columns: repeat(3, 1fr); }
}

.vg-card {
  border-radius: var(--vg-radius);
  overflow: hidden;
  box-shadow: var(--vg-shadow);
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.vg-card:active { transform: scale(.98); }

@media (hover: hover) {
  .vg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,.15);
  }
}

.vg-card__img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

.vg-card__body { padding: 14px 16px; }
.vg-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 6px; color: var(--vg-dark); }
.vg-card__meta  { font-size: .8rem; color: var(--vg-muted); }

/* ── Destination At-a-Glance Info Card ───────────────────────────────── */

.vg-dest-info-card {
  background: var(--vg-grey);
  border-left: 4px solid var(--vg-red);
  border-radius: 0 var(--vg-radius) var(--vg-radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.vg-dest-info-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--vg-red);
  margin: 0 0 12px;
}

.vg-dest-info-card__list {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
}

.vg-dest-info-card__list dt {
  font-weight: 600;
  font-size: .875rem;
  color: var(--vg-muted);
  white-space: nowrap;
}

.vg-dest-info-card__list dd {
  margin: 0;
  font-size: .875rem;
}

/* ── Post Type Badges ────────────────────────────────────────────────── */

.vg-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  vertical-align: middle;
}

.vg-badge--official    { background: var(--vg-red);   color: #fff; }
.vg-badge--contributor { background: var(--vg-green);  color: #fff; }
.vg-badge--nomad       { background: #0077b6;           color: #fff; }
.vg-badge--expat       { background: #6a0dad;           color: #fff; }
.vg-badge--retire      { background: var(--vg-gold);    color: var(--vg-dark); }

/* ── Contributor Byline ──────────────────────────────────────────────── */

.vg-contributor-byline {
  background: var(--vg-grey);
  border-radius: var(--vg-radius);
  padding: 16px;
  margin: 32px 0 24px;
  font-size: .9rem;
}

.vg-contributor-byline__label { color: var(--vg-muted); }

.vg-contributor-byline__name {
  font-weight: 700;
  color: var(--vg-dark);
  text-decoration: none;
}
.vg-contributor-byline__name:hover { text-decoration: underline; }

.vg-contributor-byline__bio {
  color: var(--vg-muted);
  font-size: .85rem;
  margin: 6px 0 4px;
}

.vg-contributor-byline__twitter { font-size: .8rem; color: #1da1f2; }

/* ── Category Colour Strips (hero area) ─────────────────────────────── */

.category-expat-life     .entry-header { border-top: 4px solid #6a0dad; }
.category-digital-nomad  .entry-header { border-top: 4px solid #0077b6; }
.category-retire-vietnam .entry-header { border-top: 4px solid var(--vg-gold); }
.category-travel-tips    .entry-header { border-top: 4px solid var(--vg-green); }

/* ── Buttons – large tap targets ────────────────────────────────────── */

.wp-block-button__link,
.ast-button,
button,
input[type="submit"] {
  min-height: var(--vg-tap-min);
  padding: 10px 22px;
  border-radius: var(--vg-radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

.wp-block-button__link { background: var(--vg-red); color: #fff; }
.wp-block-button__link:hover { background: #a93226; color: #fff; }

/* ── Mobile nav overlay ──────────────────────────────────────────────── */

.ast-mobile-header-wrap .main-navigation,
#ast-hf-mobile-menu {
  background: #fff;
}

#ast-hf-mobile-menu a,
#ast-hf-mobile-menu a:link,
#ast-hf-mobile-menu a:visited,
#ast-hf-mobile-menu a:hover,
#ast-hf-mobile-menu .menu-link,
#ast-hf-mobile-menu li > a,
#ast-hf-mobile-menu li > a.menu-link,
.ast-mobile-header-wrap .main-navigation a,
.ast-mobile-header-wrap .main-navigation a:visited,
.ast-mobile-header-wrap .main-navigation a:hover,
#masthead .ast-mobile-header-wrap .main-navigation .menu-link,
#masthead .ast-mobile-header-wrap .main-navigation .menu-item a,
#masthead .ast-mobile-header-wrap .main-navigation .menu-item a:visited,
#masthead .ast-mobile-header-wrap .main-navigation .menu-item a:hover,
.ast-mobile-header-wrap .main-navigation .menu-item > a,
.ast-mobile-header-wrap .main-navigation .menu-item > .menu-link,
.ast-mobile-header-wrap .main-navigation li a,
.ast-mobile-header-wrap .main-navigation li .menu-link {
  color: var(--vg-dark) !important;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  min-height: var(--vg-tap-min);
}

#ast-hf-mobile-menu .ast-menu-toggle,
#ast-hf-mobile-menu .dropdown-menu-toggle {
  color: var(--vg-dark) !important;
}

/* ── Featured Image – cover on single post ───────────────────────────── */

.ast-featured-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 0;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--vg-dark);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  padding: 24px 16px;
  text-align: center;
}

.site-footer a { color: var(--vg-gold); }

/* ── Destination archive index ───────────────────────────────────────── */

.vg-destinations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0;
}

@media (min-width: 480px) {
  .vg-destinations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .vg-destinations-grid { grid-template-columns: repeat(3, 1fr); }
}

.vg-dest-tile {
  position: relative;
  border-radius: var(--vg-radius);
  overflow: hidden;
  min-height: 120px;
  background: var(--vg-dark);
  display: flex;
  align-items: flex-end;
}

.vg-dest-tile__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .65;
  transition: opacity .2s;
}
.vg-dest-tile:hover .vg-dest-tile__bg { opacity: .5; }

.vg-dest-tile__name {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 12px 14px;
  text-shadow: 0 1px 4px rgba(0,0,0,.6);
}

/* ── FAQ Landing Page ────────────────────────────────────────────────────── */

/* Let .vg-faq-wrap own its layout; strip Astra container constraints */
.ast-container:has(.vg-faq-wrap),
.site-content:has(.vg-faq-wrap) {
  max-width: 100% !important;
  padding: 0 !important;
  width: 100% !important;
}

.vg-faq-wrap {
  font-size: 1rem;
  width: 100%;
}

/* Hero */
.vg-faq-hero {
  background: var(--vg-dark);
  color: #fff;
  text-align: center;
  padding: 40px 20px 32px;
}

.vg-faq-hero__title {
  color: #fff;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin: 0 0 10px;
}

.vg-faq-hero__sub {
  color: rgba(255,255,255,.75);
  font-size: clamp(.9rem, 3vw, 1.05rem);
  max-width: 540px;
  margin: 0 auto;
}

/* ── FAQ transport booking banner ────────────────────────────────────────── */
.vg-faq-transport {
  background: #f8f6f2;
  border-bottom: 1px solid #e8e8e8;
  padding: 1rem 1.25rem;
}

.vg-faq-transport__inner {
  max-width: 760px;
  margin: 0 auto;
}

.vg-faq-transport__heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #888;
  margin: 0 0 .65rem;
}

.vg-faq-transport__options {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.vg-faq-transport__btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border: 1px solid #ddd;
  border-radius: var(--vg-radius);
  background: #fff;
  text-decoration: none;
  color: #222;
  transition: border-color .15s, box-shadow .15s;
  flex: 1 1 auto;
  min-width: 150px;
}

.vg-faq-transport__btn:hover {
  border-color: #aaa;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.vg-faq-transport__btn--wa {
  border-color: #d0f0d8;
  background: #f5fff7;
}

.vg-faq-transport__btn--wa:hover {
  border-color: #25d366;
}

.vg-faq-transport__btn-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.vg-faq-transport__btn-icon--wa,
.vg-faq-transport__btn-icon--logo {
  font-size: inherit;
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.vg-faq-transport__btn-body {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.vg-faq-transport__btn-body strong {
  font-size: .9rem;
}

.vg-faq-transport__btn-body small {
  font-size: .75rem;
  color: #888;
}

/* Tab bar */
.vg-faq-tabs-bar {
  display: flex;
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0 16px;
  gap: 4px;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .vg-faq-tabs-bar { padding: 0 24px; }
}

.vg-faq-tab-btn {
  flex: 1;
  padding: 14px 12px;
  font-size: clamp(.85rem, 3vw, .95rem);
  font-weight: 700;
  color: rgba(255,255,255,.75);
  border: none;
  border-radius: var(--vg-radius) var(--vg-radius) 0 0;
  cursor: pointer;
  transition: color .15s, filter .15s;
  line-height: 1.3;
  min-height: var(--vg-tap-min);
  text-align: center;
}

.vg-faq-tab-btn:nth-child(1) { background: #0077b6; }
.vg-faq-tab-btn:nth-child(2) { background: #e07b2a; }

.vg-faq-tab-btn:hover {
  filter: brightness(1.1);
  color: #fff;
}

.vg-faq-tab-btn.is-active {
  color: #fff;
  filter: brightness(1.08);
  box-shadow: 0 -2px 8px rgba(0,0,0,.12);
  padding-bottom: 18px;
  margin-bottom: -1px;
}

/* Panels — hidden until JS activates */
.vg-faq-panel {
  display: none;
}
.vg-faq-panel.is-visible {
  display: block;
}

/* Pull panel up flush against the tabs */
.vg-faq-panel .vg-faq-sections {
  padding-top: 0;
}

/* Sections wrapper */
.vg-faq-sections {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px 48px;
}

@media (min-width: 768px) {
  .vg-faq-sections { padding-inline: 24px; }
}

/* Category accordion */
.vg-cat {
  margin-top: 10px;
  border-radius: var(--vg-radius);
  overflow: hidden;
  box-shadow: var(--vg-shadow);
  scroll-margin-top: 58px;
}

/* First accordion connects flush to the tab above */
.vg-faq-sections .vg-cat:first-child {
  margin-top: 0;
  border-radius: 0 0 var(--vg-radius) var(--vg-radius);
}

.vg-cat__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  background: var(--cat-color, var(--tab-color, var(--vg-dark)));
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
  min-height: 60px;
  transition: filter .15s;
}

.vg-cat__summary::-webkit-details-marker { display: none; }
.vg-cat__summary::marker { display: none; }

.vg-cat__summary:hover { filter: brightness(1.12); }

.vg-cat__emoji {
  font-size: 1.15rem;
  line-height: 1;
  margin-right: .5rem;
  flex-shrink: 0;
}
.vg-cat__label {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.vg-cat__count {
  font-size: .75rem;
  font-weight: 500;
  opacity: .75;
  white-space: nowrap;
}

/* Chevron icon — rotates when open */
.vg-cat__chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform .25s ease;
}
.vg-cat__chevron::before,
.vg-cat__chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 9px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: transform .25s ease;
}
.vg-cat__chevron::before { left: 1px;  transform: translateY(-50%) rotate( 45deg); }
.vg-cat__chevron::after  { right: 1px; transform: translateY(-50%) rotate(-45deg); }

.vg-cat[open] .vg-cat__chevron::before { transform: translateY(-50%) rotate(-45deg); }
.vg-cat[open] .vg-cat__chevron::after  { transform: translateY(-50%) rotate( 45deg); }

/* Category body */
.vg-cat__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  background: #fff;
}

/* No-JS fallback */
.vg-cat[open] > .vg-cat__body:not([style]) {
  max-height: none;
}

.vg-cat__body .vg-acc:last-child {
  border-bottom: none;
}

/* Indent inner accordions */
.vg-cat__body .vg-acc__q { padding-left: 20px; padding-right: 20px; }
.vg-cat__body .vg-acc__a p { padding-left: 20px; padding-right: 20px; }

/* Q&A Accordion */
.vg-acc {
  border-bottom: 1px solid #ebebeb;
}
.vg-acc:first-child {
  border-top: none; /* category card background provides top edge */
}

.vg-acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  padding: 16px 4px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--vg-dark);
  user-select: none;
  -webkit-user-select: none;
  min-height: var(--vg-tap-min);
  line-height: 1.4;
}

.vg-acc__q::-webkit-details-marker { display: none; }
.vg-acc__q::marker { display: none; }

/* Plus/minus icon */
.vg-acc__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0f0f0;
  position: relative;
  transition: background .15s, transform .25s;
}
.vg-acc__icon::before,
.vg-acc__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--vg-muted);
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.vg-acc__icon::before { width: 10px; height: 2px; }
.vg-acc__icon::after  { width: 2px; height: 10px; }

.vg-acc[open] .vg-acc__icon {
  background: var(--vg-red);
}
.vg-acc[open] .vg-acc__icon::before,
.vg-acc[open] .vg-acc__icon::after {
  background: #fff;
}
.vg-acc[open] .vg-acc__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Answer body */
.vg-acc__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}

.vg-acc[open] > .vg-acc__a:not([style]) {
  max-height: none;
}

.vg-acc__a p {
  padding: 0 4px 18px;
  font-size: .92rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}

.vg-acc__a strong { color: var(--vg-dark); }
.vg-acc__a em     { font-style: italic; color: var(--vg-muted); font-size: .88rem; }

/* CTA block */
.vg-faq-cta {
  background: var(--vg-dark);
  color: #fff;
  text-align: center;
  padding: 36px 20px;
  margin-top: 16px;
}

.vg-faq-cta p {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
  max-width: 480px;
  margin: 0 auto 20px;
}

.vg-faq-cta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.vg-faq-cta__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border-radius: var(--vg-radius);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  min-height: var(--vg-tap-min);
  line-height: 1.2;
}

.vg-faq-cta__btn--primary {
  background: var(--vg-red);
  color: #fff;
}
.vg-faq-cta__btn--primary:hover {
  background: #a93226;
  color: #fff;
  text-decoration: none;
}

.vg-faq-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.vg-faq-cta__btn--secondary:hover {
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ── FAQ partner / affiliate CTAs ────────────────────────────────────── */

.vg-faq-partners {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid #e8e8e8;
}

.vg-faq-partner-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem .65rem;
  border-radius: var(--vg-radius);
  font-size: .76rem;
  font-weight: 600;
  text-decoration: none;
  min-height: var(--vg-tap-min);
  white-space: nowrap;
  transition: opacity .15s;
  flex: 1;
  justify-content: center;
}
.vg-faq-partner-btn:hover { opacity: .85; text-decoration: none; }

.vg-faq-partner-btn--whatsapp {
  background: #25d366;
  color: #fff;
}

.vg-faq-partner-btn--booking {
  background: var(--vg-dark);
  color: #fff;
}

.vg-affiliate-widget {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid #e8e8e8;
  overflow-x: auto;
}

.vg-affiliate-powered {
  font-size: .75rem;
  color: var(--vg-muted);
  margin-top: .4rem;
}

.vg-affiliate-powered a {
  color: var(--vg-muted);
}

/* ── Related guides (same month, other destinations) ────────────────── */

.vg-related-guides {
  margin-top: 2rem;
  padding: 1.25rem 1rem;
  background: #f8f9fa;
  border-radius: var(--vg-radius);
  border: 1px solid #e5e7eb;
}

.vg-related-guides__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--vg-muted);
  margin: 0 0 .85rem;
}

.vg-related-guides__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}

@media (max-width: 480px) {
  .vg-related-guides__grid { grid-template-columns: repeat(2, 1fr); }
}

.vg-related-card {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  padding: .65rem .75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--vg-radius);
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.vg-related-card:hover {
  border-color: var(--vg-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  text-decoration: none;
}

.vg-related-card__dest {
  font-size: .85rem;
  font-weight: 700;
  color: var(--vg-dark);
  line-height: 1.2;
}

.vg-related-card__month {
  font-size: .75rem;
  color: var(--vg-muted);
}

/* ── Destination-in-month navigation ────────────────────────────────── */

.vg-month-nav {
  margin-top: 2.5rem;
  padding: 1.25rem 1rem;
  background: #f8f9fa;
  border-radius: var(--vg-radius);
  border: 1px solid #e5e7eb;
}

.vg-month-nav__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--vg-muted);
  margin: 0 0 .75rem;
}

.vg-month-nav__pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.vg-month-pill {
  display: inline-block;
  padding: .35rem .7rem;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  background: #fff;
  border: 1px solid #d1d5db;
  color: var(--vg-dark);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}

.vg-month-pill:hover {
  background: var(--vg-dark);
  border-color: var(--vg-dark);
  color: #fff;
  text-decoration: none;
}

.vg-month-pill--active {
  background: var(--vg-dark);
  border-color: var(--vg-dark);
  color: #fff;
  cursor: default;
}

/* ── Destination page — month-by-month guide grid ───────────────────── */

.vg-month-guide {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}

.vg-month-guide__label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vg-muted);
  margin: 0 0 .75rem;
}

.vg-month-guide__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: .45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.vg-month-guide__item {
  display: block;
  padding: .5rem .5rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 500;
  color: var(--vg-muted);
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: var(--vg-radius);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s;
}

.vg-month-guide__item.is-live {
  color: var(--vg-red);
  background: #fff;
  border-color: var(--vg-red);
  font-weight: 600;
}

.vg-month-guide__item:hover {
  background: var(--vg-red);
  color: #fff;
  border-color: var(--vg-red);
  text-decoration: none;
}

@media (max-width: 680px) {
  .vg-month-guide__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 420px) {
  .vg-month-guide__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Destination page — tour partner CTA ────────────────────────────── */

/* ── Experiences affiliate block ─────────────────────────────────────────── */
.vg-experiences-affiliate {
  margin: 2rem 0;
}

.vg-experiences-affiliate__widget {
  overflow-x: auto;
  margin-bottom: 1rem;
}

.vg-experiences-affiliate__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.vg-affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  border-radius: var(--vg-radius);
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.vg-affiliate-btn:hover {
  border-color: #aaa;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
  color: #111;
}

.vg-affiliate-btn__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Getting There auto-block ────────────────────────────────────────────── */
.vg-getting-there {
  margin-top: 1.5rem;
}

.vg-getting-there__hub {
  background: #eef4fa;
  border-left: 3px solid #0077b6;
  border-radius: 0 var(--vg-radius) var(--vg-radius) 0;
  padding: .75rem 1rem;
  margin-bottom: 1.25rem;
}

.vg-getting-there__hub-title {
  font-size: .95rem;
  font-weight: 700;
  color: #0077b6;
  margin: 0 0 .25rem;
}

.vg-getting-there__hub-note {
  font-size: .88rem;
  color: #555;
  margin: 0;
}

.vg-getting-there__options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vg-getting-there__option {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
}

.vg-getting-there__option-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.vg-getting-there__option p {
  font-size: .92rem;
  color: #444;
  margin: .2rem 0 .65rem;
}

.vg-getting-there__book {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.vg-getting-there__btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .85rem;
  border: 1px solid #ddd;
  border-radius: var(--vg-radius);
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}

.vg-getting-there__btn:hover {
  border-color: #aaa;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.vg-getting-there__btn--wa {
  border-color: #d0f0d8;
  background: #f5fff7;
  color: #1a7a3a;
}

.vg-getting-there__btn--wa:hover {
  border-color: #25d366;
}

.vg-getting-there__guide-link {
  margin-top: 1.25rem;
  font-size: .88rem;
  color: #666;
  border-top: 1px solid #e8e8e8;
  padding-top: .85rem;
}

.vg-getting-there__guide-link a {
  color: #0077b6;
  font-weight: 600;
}

.vg-tour-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f0faf4;
  border: 1px solid #b7e4c7;
  border-radius: var(--vg-radius);
}

.vg-tour-cta__body { flex: 1; }

.vg-tour-cta__heading {
  font-weight: 600;
  font-size: 1rem;
  color: var(--vg-dark);
  margin: 0 0 .3rem;
}

.vg-tour-cta__desc {
  font-size: .88rem;
  color: var(--vg-muted);
  margin: 0;
  line-height: 1.55;
}

.vg-tour-cta__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: .65rem 1.25rem;
  background: #25d366;
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  border-radius: var(--vg-radius);
  text-decoration: none;
  white-space: nowrap;
}
.vg-tour-cta__btn:hover { opacity: .85; text-decoration: none; color: #fff; }

@media (max-width: 600px) {
  .vg-tour-cta { flex-direction: column; align-items: flex-start; }
  .vg-tour-cta__btn { width: 100%; text-align: center; }
}

/* ── Affiliate disclosure ─────────────────────────────────────────────── */

.vg-faq-disclosure {
  font-size: .75rem;
  color: var(--vg-muted);
  text-align: center;
  padding: .75rem 1.25rem;
  max-width: 700px;
  margin: 0 auto 1rem;
  font-style: italic;
}

/* ── Utility ─────────────────────────────────────────────────────────── */

.vg-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.vg-text-muted  { color: var(--vg-muted); }
.vg-text-center { text-align: center; }

/* ── Tablet / Desktop overrides ─────────────────────────────────────── */

@media (min-width: 768px) {
  :root { --vg-tap-min: 40px; }

  .ast-container {
    max-width: 900px;
    padding-inline: 32px;
  }
}

@media (min-width: 1024px) {
  .ast-container { max-width: 1100px; }
}

/* ── Archive/hub full-width container override ───────────────────────── */
/*
 * Astra sets display:flex on .site-content .ast-container at ≥922px,
 * expecting a #primary child with width:100%. Our templates skip #primary,
 * so we reset to block and let the inner wrappers handle their own width.
 */
.ast-container:has(.vg-places-wrap),
.ast-container:has(.vg-interest-page-wrap),
.ast-container:has(.vg-interest-wrap),
.ast-container:has(.vg-archive-wrap),
.ast-container:has(.vg-dest-wrap),
.ast-container:has(.vg-faq-wrap),
.ast-container:has(.vg-og-wrap),
.ast-container:has(.vg-itin-archive),
.ast-container:has(.vg-attraction-wrap) {
  --ast-container-default-xlg-padding: 0;
  --ast-container-default-lg-padding:  0;
  --ast-container-default-slg-padding: 0;
  --ast-container-default-md-padding:  0;
  --ast-container-default-sm-padding:  0;
  --ast-container-default-xs-padding:  0;
  --ast-container-default-xxs-padding: 0;
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Wrappers must fill the full container width */
.vg-places-wrap,
.vg-interest-page-wrap,
.vg-archive-wrap,
.vg-dest-wrap,
.vg-faq-wrap,
.vg-og-wrap,
.vg-itin-archive,
.vg-attraction-wrap {
  width: 100%;
  min-width: 0;
}

/* Astra entry-content padding reset for our full-width templates */
.ast-separate-container .ast-article-post:has(.vg-dest-wrap),
.ast-separate-container .ast-article-single:has(.vg-dest-wrap),
.ast-separate-container .ast-article-post:has(.vg-faq-wrap),
.ast-separate-container .ast-article-single:has(.vg-faq-wrap) {
  padding: 0 !important;
  margin: 0 !important;
}

/* ── Official Guide Photo Banner ─────────────────────────────────────── */

.vg-og-hero {
  position: relative;
  min-height: 460px;
  background: linear-gradient(145deg, #1a0800 0%, #4a2200 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Dark gradient overlay for text legibility over photo */
.vg-og-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.82) 100%
  );
}

.vg-og-hero__inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.vg-og-hero__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--vg-gold);
  margin: 0 0 .6rem;
}

.vg-og-hero__title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 .75rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}

.vg-og-hero__summary {
  font-size: clamp(.95rem, 2.5vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  max-width: 58ch;
  margin: 0 0 1.25rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.vg-og-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.vg-og-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .75rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.vg-og-chip__icon { font-style: normal; opacity: .85; }

@media (min-width: 768px) {
  .vg-og-hero        { min-height: 540px; }
  .vg-og-hero__inner { padding: 3.5rem 2rem; }
}

/* Destination-specific gradient fallbacks (shown when no featured image is set) */
.vg-dest-hanoi          .vg-og-hero { background: linear-gradient(145deg, #8B1C1C 0%, #C47820 100%); }
.vg-dest-ha-long        .vg-og-hero,
.vg-dest-ha-long-bay    .vg-og-hero { background: linear-gradient(145deg, #0D2B45 0%, #1A6EA8 100%); }
.vg-dest-ninh-binh      .vg-og-hero { background: linear-gradient(145deg, #183A2F 0%, #4D7C5E 100%); }
.vg-dest-sapa           .vg-og-hero { background: linear-gradient(145deg, #1B3E2E 0%, #567A5A 60%, #8BA888 100%); }
.vg-dest-ha-giang       .vg-og-hero { background: linear-gradient(145deg, #1F3A1A 0%, #4A7A30 100%); }
.vg-dest-hue            .vg-og-hero { background: linear-gradient(145deg, #3D0070 0%, #8B44B8 60%, #B8860B 100%); }
.vg-dest-da-nang        .vg-og-hero { background: linear-gradient(145deg, #0A3252 0%, #1877B5 100%); }
.vg-dest-hoi-an         .vg-og-hero { background: linear-gradient(145deg, #8B3A10 0%, #D4891A 100%); }
.vg-dest-nha-trang      .vg-og-hero { background: linear-gradient(145deg, #005C7A 0%, #3AB5D0 100%); }
.vg-dest-phu-quoc       .vg-og-hero { background: linear-gradient(145deg, #0A4A52 0%, #25A5A0 100%); }
.vg-dest-phong-nha      .vg-og-hero { background: linear-gradient(145deg, #0A2E2E 0%, #146060 100%); }
.vg-dest-mui-ne         .vg-og-hero { background: linear-gradient(145deg, #7A4A10 0%, #C88B20 60%, #D4703A 100%); }
.vg-dest-da-lat         .vg-og-hero { background: linear-gradient(145deg, #1A3D28 0%, #4E8A5A 100%); }
.vg-dest-mekong-delta   .vg-og-hero { background: linear-gradient(145deg, #2E3D10 0%, #7A9A28 60%, #B89A10 100%); }
.vg-dest-ho-chi-minh    .vg-og-hero,
.vg-dest-hcmc           .vg-og-hero { background: linear-gradient(145deg, #7A1A00 0%, #C84A10 100%); }
.vg-dest-quy-nhon       .vg-og-hero { background: linear-gradient(145deg, #0A3060 0%, #1A6AA0 100%); }
.vg-dest-pu-luong       .vg-og-hero { background: linear-gradient(145deg, #1A3020 0%, #456040 100%); }
.vg-dest-con-dao        .vg-og-hero { background: linear-gradient(145deg, #0A2840 0%, #0A5080 100%); }

/* ── Official Guide content column ──────────────────────────────────── */

.vg-og-content {
  padding: 2.5rem 1.25rem;
}

.vg-og-content__inner {
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .vg-og-content { padding: 3rem 2rem; }
}

/* ── Destination master page hero ────────────────────────────────────── */

.vg-dest-hero {
  position: relative;
  min-height: 420px;
  background-color: #1a0800;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

/* Dark gradient overlay so text stays legible over any photo */
.vg-dest-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.08) 0%,
    rgba(0,0,0,.45) 55%,
    rgba(0,0,0,.82) 100%
  );
}

.vg-dest-hero__content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.25rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.vg-dest-hero__title {
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 900;
  margin: 0 0 .7rem;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}

.vg-dest-hero__desc {
  font-size: clamp(.95rem, 2.5vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255,255,255,.9);
  margin: 0;
  max-width: 60ch;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

@media (min-width: 768px) {
  .vg-dest-hero          { min-height: 500px; }
  .vg-dest-hero__content { padding: 3.5rem 2rem; }
}

/* Per-destination gradient fallbacks (shown when no featured image is set) */
.term-hanoi      .vg-dest-hero { background-image: linear-gradient(145deg, #8B1C1C 0%, #C47820 100%); }
.term-ha-long    .vg-dest-hero { background-image: linear-gradient(145deg, #0D2B45 0%, #1A6EA8 100%); }
.term-ninh-binh  .vg-dest-hero { background-image: linear-gradient(145deg, #183A2F 0%, #4D7C5E 100%); }
.term-sapa       .vg-dest-hero { background-image: linear-gradient(145deg, #1B3E2E 0%, #567A5A 60%, #8BA888 100%); }
.term-ha-giang   .vg-dest-hero { background-image: linear-gradient(145deg, #1F3A1A 0%, #4A7A30 100%); }
.term-hue        .vg-dest-hero { background-image: linear-gradient(145deg, #3D0070 0%, #8B44B8 60%, #B8860B 100%); }
.term-da-nang    .vg-dest-hero { background-image: linear-gradient(145deg, #0A3252 0%, #1877B5 100%); }
.term-hoi-an     .vg-dest-hero { background-image: linear-gradient(145deg, #8B3A10 0%, #D4891A 100%); }
.term-nha-trang  .vg-dest-hero { background-image: linear-gradient(145deg, #005C7A 0%, #3AB5D0 100%); }
.term-phu-quoc   .vg-dest-hero { background-image: linear-gradient(145deg, #0A4A52 0%, #25A5A0 100%); }
.term-phong-nha  .vg-dest-hero { background-image: linear-gradient(145deg, #0A2E2E 0%, #146060 100%); }
.term-mui-ne     .vg-dest-hero { background-image: linear-gradient(145deg, #7A4A10 0%, #C88B20 60%, #D4703A 100%); }
.term-da-lat     .vg-dest-hero { background-image: linear-gradient(145deg, #1A3D28 0%, #4E8A5A 100%); }
.term-mekong-delta .vg-dest-hero { background-image: linear-gradient(145deg, #2E3D10 0%, #7A9A28 60%, #B89A10 100%); }
.term-quy-nhon   .vg-dest-hero { background-image: linear-gradient(145deg, #0A3060 0%, #1A6AA0 100%); }
.term-pu-luong   .vg-dest-hero { background-image: linear-gradient(145deg, #1A3020 0%, #456040 100%); }
.term-con-dao    .vg-dest-hero { background-image: linear-gradient(145deg, #0A2840 0%, #0A5080 100%); }

/* ── Sticky subnav ───────────────────────────────────────────────────── */

.vg-dest-subnav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 2px solid #ebebeb;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.vg-dest-subnav::-webkit-scrollbar { display: none; }

.vg-dest-subnav__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  white-space: nowrap;
  gap: 0;
  max-width: 1100px;
  padding-inline: 1.25rem;
}

.vg-dest-subnav__link {
  display: flex;
  align-items: center;
  padding: .75rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--vg-dark);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  min-height: var(--vg-tap-min);
}
.vg-dest-subnav__link:hover,
.vg-dest-subnav__link.is-active {
  color: var(--vg-red);
  border-bottom-color: var(--vg-red);
}

/* ── Section layout ──────────────────────────────────────────────────── */

.vg-dest-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid #ebebeb;
}
.vg-dest-section--alt { background: #f8f8f8; }

.vg-dest-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vg-dest-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--vg-dark);
  margin: 0 0 .3rem;
  position: relative;
  padding-left: .85rem;
}
.vg-dest-section__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .1em;
  width: 4px;
  background: var(--vg-red);
  border-radius: 2px;
}

.vg-dest-section__subtitle {
  font-size: .88rem;
  color: var(--vg-muted);
  margin: 0 0 1.25rem;
}

.vg-dest-section__empty {
  font-size: .9rem;
  color: var(--vg-muted);
  font-style: italic;
  background: #fff;
  border: 1px dashed #ddd;
  border-radius: var(--vg-radius);
  padding: 1.25rem 1.5rem;
  text-align: center;
  margin: 0;
}
.vg-dest-section--alt .vg-dest-section__empty { background: #f8f8f8; }

.vg-dest-section__blurb {
  margin: 0 0 1.75rem;
  line-height: 1.75;
  color: var(--vg-dark);
}
.vg-dest-section__blurb p { margin: 0 0 1rem; }
.vg-dest-section__blurb p:last-child { margin-bottom: 0; }
.vg-dest-section__blurb strong { font-weight: 600; }

/* ── Interest index inside destination page ──────────────────────────── */

.vg-interest-index--dest {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Desktop tweaks ──────────────────────────────────────────────────── */

@media (min-width: 768px) {
  .vg-dest-subnav__link { padding: .75rem 1.25rem; font-size: .875rem; }
  .vg-dest-section { padding: 3rem 0; }
  .vg-dest-section__title { font-size: 1.6rem; }
}

/* ── Shared hero (places, interest, archive) ─────────────────────────── */

.vg-places-hero,
.vg-archive-hero {
  background: var(--vg-dark);
  color: #fff;
  padding: 2.5rem 1.25rem 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
@media (min-width: 768px) {
  .vg-archive-hero { min-height: 360px; padding: 3rem 2rem; }
}

.vg-places-hero__title,
.vg-archive-hero__title {
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  line-height: 1.15;
  color: #fff !important;
}

.vg-places-hero__intro,
.vg-archive-hero__desc {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 .75rem;
  opacity: .9;
  max-width: 68ch;
  color: #fff !important;
}

.vg-places-hero__intro + .vg-places-hero__intro { margin-top: .5rem; }

.vg-archive-hero__breadcrumb {
  font-size: .8rem;
  opacity: .7;
  margin-bottom: .75rem;
}
.vg-archive-hero__breadcrumb a {
  color: #fff;
  text-decoration: underline;
}

/* ── Archive section wrapper ─────────────────────────────────────────── */

.vg-archive-section {
  padding: 2rem 1.25rem;
  max-width: 1100px;
  margin-inline: auto;
}

.vg-archive-section__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--vg-dark);
  margin: 0 0 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--vg-red);
  display: inline-block;
}

/* ── Regions layout (/places/) ───────────────────────────────────────── */

.vg-regions {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vg-region {
  border-top: 3px solid var(--region-color, var(--vg-red));
  padding: 1.5rem 1.25rem;
}

.vg-region__hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.vg-region__hd-text { flex: 1 1 auto; }

.vg-region__title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 .35rem;
}
.vg-region__title a {
  color: var(--region-color, var(--vg-dark));
  text-decoration: none;
}
.vg-region__title a:hover { text-decoration: underline; }

.vg-region__desc {
  font-size: .9rem;
  color: var(--vg-muted);
  margin: 0;
  line-height: 1.5;
}

.vg-region__cta {
  flex: 0 0 auto;
  background: var(--region-color, var(--vg-red));
  color: #fff;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  padding: .5rem .9rem;
  border-radius: var(--vg-radius);
  white-space: nowrap;
  min-height: var(--vg-tap-min);
  display: flex;
  align-items: center;
}

.vg-region__destinations {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .5rem;
}

.vg-region__dest-link {
  display: inline-block;
  padding: .35rem .75rem;
  background: #f5f5f5;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--vg-dark);
  text-decoration: none;
  border: 1px solid #e0e0e0;
}
.vg-region__dest-link:hover {
  background: var(--region-color, var(--vg-red));
  color: #fff;
  border-color: transparent;
}
.vg-region__dest-link--empty {
  opacity: .45;
  font-style: italic;
}

/* ── Destination card grid ───────────────────────────────────────────── */

.vg-dest-card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.vg-dest-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: var(--vg-radius);
  padding: .9rem 1rem;
  text-decoration: none;
  color: var(--vg-dark);
  gap: .25rem;
  min-height: var(--vg-tap-min);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.vg-dest-card--photo {
  min-height: 160px;
  color: #fff;
  border: none;
  padding: .85rem 1rem;
}
@media (min-width: 768px) {
  .vg-dest-card--photo { min-height: 200px; }
}
.vg-dest-card--photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  border-color: transparent;
  background: unset;
}
.vg-dest-card:hover { border-color: var(--vg-red); background: #fff; }

.vg-dest-card__name { font-weight: 700; font-size: .95rem; }
.vg-dest-card--photo .vg-dest-card__name { color: #fff; font-size: 1rem; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.vg-dest-card__desc { font-size: .8rem; color: var(--vg-muted); }
.vg-dest-card--photo .vg-dest-card__desc { color: rgba(255,255,255,.8); }
.vg-dest-card__arrow {
  margin-top: auto;
  align-self: flex-end;
  font-size: .85rem;
  color: var(--vg-red);
}

/* ── Post card grid ──────────────────────────────────────────────────── */

.vg-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.vg-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--vg-radius);
  overflow: hidden;
}

.vg-post-card__img-wrap { display: block; }
.vg-post-card__img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.vg-post-card__body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.vg-post-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}
.vg-post-card__title a { color: var(--vg-dark); text-decoration: none; }
.vg-post-card__title a:hover { color: var(--vg-red); }

.vg-post-card__excerpt {
  font-size: .85rem;
  color: var(--vg-muted);
  margin: 0;
  line-height: 1.5;
}

.vg-post-card__dest {
  font-size: .75rem;
  font-weight: 600;
  color: var(--vg-muted);
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ── Official guide banner ───────────────────────────────────────────── */

.vg-guide-banner {
  background: linear-gradient(135deg, var(--vg-dark) 0%, #2a2a4a 100%);
  color: #fff;
  border-radius: var(--vg-radius);
  padding: 1.25rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.vg-guide-banner__title {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}
.vg-guide-banner__title a { color: #fff; text-decoration: none; }
.vg-guide-banner__title a:hover { text-decoration: underline; }

.vg-guide-banner__excerpt {
  font-size: .9rem;
  opacity: .85;
  margin: 0;
  line-height: 1.55;
}

.vg-guide-banner__btn {
  align-self: flex-start;
  background: var(--vg-red);
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 700;
  padding: .55rem 1.1rem;
  border-radius: var(--vg-radius);
  min-height: var(--vg-tap-min);
  display: flex;
  align-items: center;
}
.vg-guide-banner__btn:hover { background: #a85a22; color: #fff; text-decoration: none; }

/* ── Interest pills (on city archive pages) ──────────────────────────── */

.vg-interest-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.vg-interest-pill {
  display: inline-flex;
  align-items: center;
  padding: .45rem .9rem;
  background: #f3f3f3;
  border: 1px solid #ddd;
  border-radius: 99px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--vg-dark);
  text-decoration: none;
  min-height: var(--vg-tap-min);
}
.vg-interest-pill:hover {
  background: var(--vg-red);
  color: #fff;
  border-color: var(--vg-red);
}

/* ── Interest index cards (/interest/) ───────────────────────────────── */

.vg-interest-index {
  max-width: 1100px;
  margin: 1.5rem auto 2rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
}

.vg-interest-index__card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 2px solid var(--int-color, var(--vg-red));
  border-radius: var(--vg-radius);
  text-decoration: none;
  color: var(--vg-dark);
}
.vg-interest-index__card:hover {
  background: var(--int-color, var(--vg-red));
  color: #fff;
}
.vg-interest-index__card:hover .vg-interest-index__desc,
.vg-interest-index__card:hover .vg-interest-index__count {
  color: rgba(255,255,255,.8);
}

.vg-interest-index__name {
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
}
.vg-interest-index__desc {
  font-size: .78rem;
  color: var(--vg-muted);
  line-height: 1.4;
}
.vg-interest-index__count {
  font-size: .75rem;
  color: var(--vg-muted);
  margin-top: auto;
}

/* ── Sub-category card grid (category hubs) ──────────────────────────── */

.vg-subcat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.vg-subcat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .25rem;
  padding: .9rem 1rem;
  background: #f9f9f9;
  border: 1px solid #e4e4e4;
  border-radius: var(--vg-radius);
  text-decoration: none;
  color: var(--vg-dark);
  min-height: var(--vg-tap-min);
}
.vg-subcat-card:hover { border-color: var(--vg-red); background: #fff; }

.vg-subcat-card__icon { font-size: 1.4rem; line-height: 1; }
.vg-subcat-card__name { font-weight: 700; font-size: .9rem; }
.vg-subcat-card__desc { font-size: .8rem; color: var(--vg-muted); line-height: 1.4; }
.vg-subcat-card__count { font-size: .75rem; color: var(--vg-muted); margin-top: auto; padding-top: .35rem; }


/* ── Empty state ─────────────────────────────────────────────────────── */

.vg-archive-empty {
  font-size: .95rem;
  color: var(--vg-muted);
  font-style: italic;
  text-align: center;
  padding: 2rem 0;
}

/* ── Tablets: 2 columns for post grid ───────────────────────────────── */

@media (min-width: 600px) {
  .vg-post-grid { grid-template-columns: repeat(2, 1fr); }
  .vg-dest-card-grid { grid-template-columns: repeat(3, 1fr); }
  .vg-interest-index { grid-template-columns: repeat(3, 1fr); }
  .vg-subcat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .vg-post-grid { grid-template-columns: repeat(3, 1fr); }
  .vg-interest-index { grid-template-columns: repeat(4, 1fr); }
  .vg-regions { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
  .vg-region { flex: 1 1 30%; min-width: 260px; }
  .vg-guide-banner { flex-direction: row; align-items: center; justify-content: space-between; }
  .vg-guide-banner__text { flex: 1 1 auto; }
  .vg-guide-banner__btn { flex: 0 0 auto; align-self: center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INTEREST TAXONOMY PAGE  (.vg-interest-wrap)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.vg-interest-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.vg-interest-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.85) 100%);
}

.vg-interest-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.vg-interest-hero__icon {
  display: block;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: .75rem;
}

.vg-interest-hero__title {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 .6rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
}

.vg-interest-hero__sub {
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  color: rgba(255,255,255,.85);
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

/* ── About ────────────────────────────────────────────────────────────────── */
.vg-interest-about {
  background: #fff;
  border-bottom: 1px solid #ede9e2;
}

.vg-interest-about__inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.vg-interest-about__title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1rem;
}

.vg-interest-about__body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ATTRACTION CARDS  (.vg-attraction-grid / .vg-attraction-card)
   Used on: destination page, interest page, single-attraction related block
   ═══════════════════════════════════════════════════════════════════════════ */

.vg-attraction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 600px) {
  .vg-attraction-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .vg-attraction-grid { grid-template-columns: repeat(4, 1fr); }
}

.vg-attraction-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--vg-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--vg-shadow);
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s;
}

.vg-attraction-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.13);
}

.vg-attraction-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e0e0e0;
}

.vg-attraction-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.vg-attraction-card:hover .vg-attraction-card__img {
  transform: scale(1.04);
}

.vg-attraction-card__body {
  padding: .75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.vg-attraction-card__title {
  font-size: .92rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.vg-attraction-card__dest {
  font-size: .78rem;
  color: #0077b6;
  font-weight: 500;
}

.vg-attraction-card__desc {
  font-size: .8rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE ATTRACTION PAGE  (.vg-attraction-wrap)
   ═══════════════════════════════════════════════════════════════════════════ */

.vg-attraction-wrap {
  background: #fff;
}

/* Hero */
.vg-attraction-hero {
  position: relative;
  min-height: 340px;
  background: var(--vg-dark) center/cover no-repeat;
  display: flex;
  align-items: flex-end;
}

.vg-attraction-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}

.vg-attraction-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.vg-attraction-hero__breadcrumb {
  display: inline-block;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  text-decoration: none;
  margin-bottom: .75rem;
}

.vg-attraction-hero__breadcrumb:hover { color: #fff; }

.vg-attraction-hero__title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 .5rem;
  line-height: 1.15;
}

.vg-attraction-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  margin: 0 0 1rem;
  max-width: 640px;
}

.vg-attraction-hero__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.vg-attraction-hero__tag {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 2rem;
  padding: .25rem .75rem;
  font-size: .8rem;
  text-decoration: none;
  transition: background .15s;
}

.vg-attraction-hero__tag:hover { background: rgba(255,255,255,.3); }

/* Interest tags bar */
.vg-attraction-interests {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  padding: .75rem var(--vg-pad, 1.25rem);
  background: #f9f6f2;
  border-bottom: 1px solid #ede8e1;
}
.vg-attraction-interests__label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vg-muted, #888);
  margin-right: .25rem;
}
.vg-attraction-interests__tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d6cec4;
  font-size: .8rem;
  color: var(--vg-dark, #1a1a1a);
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.vg-attraction-interests__tag:hover {
  background: var(--vg-accent, #c05a1a);
  border-color: var(--vg-accent, #c05a1a);
  color: #fff;
}

/* Sticky section nav */
.vg-attraction-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.vg-attraction-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  max-width: 860px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.vg-attraction-nav__list::-webkit-scrollbar { display: none; }

.vg-attraction-nav__link {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .85rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}

.vg-attraction-nav__link:hover,
.vg-attraction-nav__link.is-active {
  color: #0077b6;
  border-bottom-color: #0077b6;
}

/* Content sections */
.vg-attraction-section {
  padding: 3rem 0;
}

.vg-attraction-section--alt {
  background: #f8f6f2;
}

.vg-attraction-section__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vg-attraction-section__title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.vg-attraction-section__content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.vg-attraction-section__content p { margin: 0 0 1em; }

.vg-attraction-section__empty {
  color: #888;
  font-style: italic;
}

/* Related block */
.vg-attraction-related {
  background: #f0f4f8;
  padding: 3rem 0;
}

.vg-attraction-related__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vg-attraction-related__title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
}

/* ── Attractions ──────────────────────────────────────────────────────────── */
.vg-interest-attractions {
  background: #fff;
  padding: 2.5rem 0;
  border-top: 1px solid #e8e8e8;
}

.vg-interest-attractions__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vg-interest-attractions__title {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
}

.vg-interest-dest-group {
  margin-bottom: 2.5rem;
}
.vg-interest-dest-group__heading {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 .85rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--vg-accent, #c05a1a);
  display: inline-block;
}
.vg-interest-dest-group__heading a {
  color: inherit;
  text-decoration: none;
}
.vg-interest-dest-group__heading a:hover {
  color: var(--vg-accent, #c05a1a);
}

.vg-interest-attractions__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.vg-interest-attractions__link,
.vg-interest-attractions__label {
  display: inline-block;
  padding: .4rem .9rem;
  border-radius: 2rem;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
}

.vg-interest-attractions__link {
  background: #eef4fa;
  color: #0077b6;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.vg-interest-attractions__link:hover {
  background: #0077b6;
  color: #fff;
}

.vg-interest-attractions__label {
  background: #f0f0f0;
  color: #666;
}

/* ── Posts ────────────────────────────────────────────────────────────────── */
.vg-interest-posts {
  background: #f8f6f2;
  padding: 3rem 0;
}

.vg-interest-posts__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vg-interest-posts__title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1.5rem;
}

.vg-interest-empty {
  color: #666;
  font-size: 1rem;
  padding: 2rem 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE  (.vg-hp)
   ═══════════════════════════════════════════════════════════════════════════ */

.ast-container:has(.vg-hp) {
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}

.vg-hp {
  --hp-max: 1060px;
  --hp-pad: 1.25rem;
  --hp-bg: #f5f4f0;
  background: var(--hp-bg);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.vg-hp-hero {
  position: relative;
  background: var(--hp-bg) url('/wp-content/themes/vietnam-guide-child/images/hoi-an-hero.jpg') center/cover no-repeat;
  padding: 4rem var(--hp-pad) 3rem;
  text-align: center;
}

/* Dark gradient overlay so white text stays readable */
.vg-hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.vg-hp-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--hp-max);
  margin: 0 auto;
}

.vg-hp-hero__title {
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 .6rem;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.vg-hp-hero__sub {
  font-size: clamp(.9rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.88);
  margin: 0 0 1.8rem;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}

.vg-hp-search {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 100px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  padding: 0 1.1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vg-hp-search:focus-within {
  border-color: #aaa;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}

.vg-hp-search__icon {
  color: #999;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.vg-hp-search__input {
  flex: 1;
  padding: .85rem .6rem;
  border: none !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 1rem;
  color: #333;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  min-width: 0;
}
.vg-hp-search__input::placeholder { color: #999; }

/* ── Ad slots ─────────────────────────────────────────────────────────────── */
.vg-ad-slot {
  background: #f0ede8;
  border-top: 1px solid #e5e1db;
  border-bottom: 1px solid #e5e1db;
  text-align: center;
  padding: .5rem var(--hp-pad);
}

.vg-ad-slot__label {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: .35rem;
}

.vg-ad-slot--leaderboard .vg-ad-slot__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
  border: 1.5px dashed #ccc;
  border-radius: 4px;
  background: #fff;
  color: #bbb;
  font-size: .8rem;
}

.vg-ad-slot--leaderboard .vg-ad-slot__placeholder::after {
  content: '728 × 90';
  font-size: .75rem;
  color: #ccc;
  letter-spacing: .05em;
}

@media (max-width: 728px) {
  .vg-ad-slot--leaderboard .vg-ad-slot__placeholder {
    max-width: 100%;
    height: 60px;
  }
  .vg-ad-slot--leaderboard .vg-ad-slot__placeholder::after {
    content: '320 × 60';
  }
}

/* ── Shared section shell ────────────────────────────────────────────────── */
.vg-hp-section {
  padding: 2.5rem 0;
  background: #fff;
}

.vg-hp-section + .vg-hp-section {
  border-top: 1px solid #ede9e2;
}

.vg-hp-section__inner {
  max-width: var(--hp-max);
  margin: 0 auto;
  padding: 0 var(--hp-pad);
}

.vg-hp-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #888;
  margin: 0 0 1rem;
}

.vg-hp-section__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
}

/* ── Start your trip cards ───────────────────────────────────────────────── */
.vg-hp-start-section {
  background: var(--hp-bg);
  border-top: 1px solid #e8e5df;
}

.vg-hp-start-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.vg-hp-start-card {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1.1rem 1.1rem 1.1rem;
  background: #fff;
  border: 1.5px solid #e0ddd7;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vg-hp-start-card:hover {
  border-color: #aaa;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  text-decoration: none;
}

.vg-hp-start-card__icon {
  color: #555;
  margin-bottom: .4rem;
  display: flex;
}

.vg-hp-start-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
}

.vg-hp-start-card__sub {
  font-size: .83rem;
  color: #777;
}

/* ── Region cards ────────────────────────────────────────────────────────── */
.vg-hp-regions-section { background: #fff; }

.vg-hp-region-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.vg-hp-region-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 3/4;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform .2s ease, box-shadow .2s ease;
}
.vg-hp-region-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  text-decoration: none;
}

/* Dark gradient overlay from bottom */
.vg-hp-region-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 50%, rgba(0,0,0,.05) 100%);
  border-radius: 12px;
}

.vg-hp-region-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1rem;
  z-index: 1;
}

.vg-hp-region-card__name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .35rem;
}

.vg-hp-region-card__cities {
  margin: 0;
  font-size: .78rem;
  color: rgba(255,255,255,.85);
  line-height: 1.4;
}

/* ── Interest pills ──────────────────────────────────────────────────────── */
.vg-hp-interests-section { background: #fff; }

.vg-hp-interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.vg-hp-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  border: 1.5px solid #d5d0c8;
  border-radius: 100px;
  font-size: .88rem;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  background: #fff;
  transition: border-color .14s ease, background .14s ease;
}
.vg-hp-pill:hover {
  border-color: #888;
  background: #faf9f6;
  text-decoration: none;
  color: #1a1a1a;
}

.vg-hp-pill__icon {
  font-size: 1rem;
  line-height: 1;
}

/* ── Month callout ───────────────────────────────────────────────────────── */
.vg-hp-month-callout {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-top: 1rem;
  background: #eaf1fd;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: background .14s ease;
}
.vg-hp-month-callout:hover {
  background: #dce8fc;
  text-decoration: none;
}

.vg-hp-month-callout__sun {
  color: #3a6fd8;
  flex-shrink: 0;
  margin-top: .15rem;
  display: flex;
}

.vg-hp-month-callout__title {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #2a52a8;
  margin-bottom: .2rem;
}

.vg-hp-month-callout__desc {
  font-size: .85rem;
  color: #4a68aa;
}

/* ── Itinerary cards ─────────────────────────────────────────────────────── */
.vg-hp-itineraries-section { background: #fff; }

.vg-hp-itin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.vg-hp-itin-card {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding: 1.1rem;
  background: #fff;
  border: 1.5px solid #e0ddd7;
  border-radius: 12px;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vg-hp-itin-card:hover {
  border-color: #aaa;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  text-decoration: none;
}

.vg-hp-itin-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
}

.vg-hp-itin-card__sub {
  font-size: .83rem;
  color: #777;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* "By time" becomes the large top card; destination + interest sit below */
  .vg-hp-start-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .vg-hp-start-card:nth-child(3) {
    order: -1;
    grid-column: 1 / -1;
  }

  .vg-hp-region-cards {
    grid-template-columns: 1fr;
  }
  .vg-hp-itin-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .vg-hp-itin-card__title {
    font-size: .88rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER  (.vg-footer)
   ═══════════════════════════════════════════════════════════════════════════ */

.vg-footer {
  background: #3d1f0a;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
}

/* shared inner max-width */
.vg-footer__inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Main grid ────────────────────────────────────────────────────────────── */
.vg-footer__main {
  padding: 3.5rem 0 2.5rem;
}

.vg-footer__inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}

/* Bottom bar overrides the grid to flex */
.vg-footer__bottom .vg-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.vg-footer__col {
  /* column in the 5-col grid */
}

/* ── Headings ─────────────────────────────────────────────────────────────── */
.vg-footer__heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .85rem;
}
.vg-footer__heading a {
  color: #fff;
  text-decoration: none;
}
.vg-footer__heading a:hover {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.vg-footer__heading--spaced {
  margin-top: 1.75rem;
}

/* ── Link lists ───────────────────────────────────────────────────────────── */
.vg-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.vg-footer__links a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: .85rem;
  transition: color .14s ease;
  line-height: 1.4;
}
.vg-footer__links a:hover {
  color: var(--vg-gold);
  text-decoration: none;
}

/* ── Bottom bar ───────────────────────────────────────────────────────────── */
.vg-footer__bottom {
  background: #2b1506;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.1rem 0;
}

.vg-footer__copy {
  margin: 0;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.vg-footer__bottom-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vg-footer__bottom-links a {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .14s ease;
}
.vg-footer__bottom-links a:hover {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

.vg-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* ── Social icons ─────────────────────────────────────────────────────────── */
.vg-footer__social {
  display: flex;
  gap: .6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vg-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .85rem;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.vg-footer__social a:hover {
  background: var(--vg-red);
  color: #fff;
  text-decoration: none;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .vg-footer__main .vg-footer__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 600px) {
  .vg-footer__main .vg-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .vg-footer__bottom .vg-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Single post — 7:3 two-column layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* Override Astra container so we can use our own full-width wrapper */
.ast-container:has(.vg-single-wrap) {
  display: block !important;
  max-width: 100% !important;
  padding: 0 !important;
}

/* ── Single post / itinerary hero thumbnail ──────────────────────────────── */
.vg-single-hero {
  width: 100%;
  height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
  grid-column: 1 / -1;
}
@media (min-width: 768px) {
  .vg-single-hero { height: 380px; }
}
.vg-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.35) 100%);
}

/* ── Single itinerary header ─────────────────────────────────────────────── */
.vg-itin-single__header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid #ede8e1;
  margin-bottom: 1.5rem;
}
.vg-itin-single__title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .75rem;
  color: var(--vg-dark);
}
.vg-itin-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.vg-itin-single__meta-item {
  font-size: .85rem;
  background: #f5f0ea;
  padding: .3rem .75rem;
  border-radius: 999px;
  color: var(--vg-dark);
}

.vg-single-wrap {
  display: grid;
  grid-template-columns: 7fr 3fr;
  grid-template-rows: auto 1fr;
  gap: 0 2.5rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
  align-items: start;
}
.vg-single-hero {
  grid-column: 1 / -1;
  margin: 0 -1.25rem 2rem;
}
.vg-single-main { margin-top: 0; }
.vg-single-sidebar { margin-top: 0; }

/* ── Main content column ─────────────────────────────────────────────────── */
.vg-single-main {
  min-width: 0; /* prevent grid blowout */
}

.vg-single-main .entry-content {
  font-size: 1.0625rem;
  line-height: 1.75;
}

.vg-single-main .entry-content p { margin-bottom: 1.25em; }
.vg-single-main .entry-content h2 { margin-top: 2em; }
.vg-single-main .entry-content h3 { margin-top: 1.5em; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.vg-single-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 2rem;
}

.vg-sidebar-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: var(--vg-radius);
  overflow: hidden;
}

/* Ad placeholder */
.vg-sidebar-ad__label {
  display: block;
  font-size: .6875rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-align: center;
  padding: .4rem 0 .25rem;
  border-bottom: 1px solid #f0f0f0;
}

.vg-sidebar-ad__placeholder {
  width: 300px;
  height: 250px;
  max-width: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-size: .8125rem;
}

.vg-sidebar-ad__placeholder::after {
  content: '300 × 250';
}

/* CTA block */
.vg-sidebar-cta {
  padding: 1.25rem;
}

.vg-sidebar-cta__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--vg-dark);
}

.vg-sidebar-cta__body {
  font-size: .875rem;
  color: var(--vg-muted);
  margin: 0 0 1rem;
  line-height: 1.5;
}

.vg-sidebar-cta__btn {
  display: block;
  text-align: center;
  padding: .65rem 1rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: .6rem;
  background: #c05a1a;
  color: #fff;
  transition: background .15s;
}

.vg-sidebar-cta__btn:hover { background: #9e4912; text-decoration: none; }

.vg-sidebar-cta__btn--outline {
  background: transparent;
  border: 2px solid #c05a1a;
  color: #c05a1a;
}

.vg-sidebar-cta__btn--outline:hover {
  background: #c05a1a;
  color: #fff;
}

/* Related posts */
.vg-sidebar-related {
  padding: 1.25rem;
}

.vg-sidebar-related__title {
  font-size: .9375rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  color: var(--vg-dark);
}

.vg-sidebar-related__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.vg-sidebar-related__list li {
  padding-bottom: .5rem;
  border-bottom: 1px solid #f0f0f0;
}

.vg-sidebar-related__list li:last-child { border-bottom: none; padding-bottom: 0; }

.vg-sidebar-related__list a {
  font-size: .875rem;
  color: var(--vg-text);
  line-height: 1.4;
}

.vg-sidebar-related__list a:hover { color: #c05a1a; text-decoration: none; }

/* ── Single post responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .vg-single-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .vg-single-sidebar {
    position: static;
  }
  /* On mobile, show sidebar after content (natural order) */
}


/* ═══════════════════════════════════════════════════════════════════════════
   ITINERARY ARCHIVE  (/plan/itineraries/)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Section shell ────────────────────────────────────────────────────────── */
.vg-itin-section {
  padding: 3rem 1.25rem;
  background: #fff;
}
.vg-itin-section--alt {
  background: #f7f5f2;
}
.vg-itin-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.vg-itin-section__title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 .4rem;
  color: #1a1a1a;
}
.vg-itin-section__desc {
  font-size: .95rem;
  color: #555;
  margin: 0 0 1.75rem;
  max-width: 60ch;
  line-height: 1.6;
}

/* ── Tile grid ────────────────────────────────────────────────────────────── */
.vg-itin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.vg-itin-grid--featured {
  grid-template-columns: repeat(3, 1fr);
}
.vg-itin-grid--short {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* ── Photo tile ───────────────────────────────────────────────────────────── */
.vg-itin-tile {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background-color: #1a2e1a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: transform .2s;
}
.vg-itin-grid--featured .vg-itin-tile {
  aspect-ratio: 4/3;
}
.vg-itin-grid--short .vg-itin-tile {
  aspect-ratio: 4/3;
}
.vg-itin-tile:hover {
  transform: scale(1.02);
}
.vg-itin-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.05) 100%);
}
.vg-itin-tile__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem .9rem .9rem;
  z-index: 1;
}
.vg-itin-tile__days {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: .2rem;
}
.vg-itin-tile__title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #fff;
}
.vg-itin-grid--featured .vg-itin-tile__title {
  font-size: 1.05rem;
}

/* ── Regional groups ──────────────────────────────────────────────────────── */
.vg-itin-region-group {
  margin-bottom: 2rem;
}
.vg-itin-region-group__heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rc, #7a3500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--rc, #7a3500);
  display: inline-block;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .vg-itin-grid--featured {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vg-itin-grid,
  .vg-itin-grid--short {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 420px) {
  .vg-itin-grid,
  .vg-itin-grid--featured,
  .vg-itin-grid--short {
    grid-template-columns: 1fr;
  }
}

/* ── Post affiliate CTA block ─────────────────────────────────────────────── */
.vg-post-affiliates {
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #f8f4ef;
  border-left: 4px solid var(--vg-red);
  border-radius: var(--vg-radius);
}
.vg-post-affiliates__heading {
  margin: 0 0 .9rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--vg-muted);
}
.vg-post-affiliates__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.vg-post-aff-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .85rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.vg-post-aff-btn:hover { opacity: .85; }
.vg-post-aff-btn--booking {
  background: var(--vg-dark);
  color: #fff;
}
.vg-post-aff-btn--wa {
  background: #25d366;
  color: #fff;
}
.vg-post-affiliates__disclosure {
  margin: .75rem 0 0;
  font-size: .72rem;
  color: var(--vg-muted);
}
@media (max-width: 480px) {
  .vg-post-affiliates__grid {
    flex-direction: column;
  }
  .vg-post-aff-btn {
    white-space: normal;
  }
}
