/* Bangkok Pattaya Taxi – route pages (/slug/). Lightweight, independent of the home page CSS. */
:root {
  --navy: #003580; --blue: #0B6FE8; --blue-d: #0057b8; --yellow: #febb02; --green: #16a765; --line-green: #06c755;
  --ink: #1a2b44; --text: #334155; --mute: #5f7da9; --line: #e3ebf6; --soft: #f1f6fd;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, "Segoe UI", Arial, sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* logo (same as home page) */
.bt-logo { display: inline-flex; flex-direction: column; align-items: stretch; gap: .34em; line-height: 1; text-decoration: none; white-space: nowrap; font-size: 13px; }
.bt-logo__row { display: flex; align-items: center; gap: .04em; }
.bt-logo__pin { display: block; width: auto; height: 2.5em; flex: 0 0 auto; margin-right: .06em; }
.bt-logo__word { font-size: 2.35em; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: #003580; }
.bt-logo__tag { display: flex; justify-content: space-between; align-items: center; font-size: .5em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #5f7da9; }
.bt-logo__tag span:last-child { margin-right: -.2em; }
.bt-logo__tag i { font-style: normal; color: #febb02; }

/* buttons */
.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 15px; text-decoration: none; color: #fff; border-bottom: 4px solid rgba(0,0,0,.2); transition: transform .12s, filter .12s; }
.pg-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pg-btn:active { transform: translateY(2px); border-bottom-width: 1px; }
.pg-btn--book { background: linear-gradient(180deg, #1a7ff0, var(--blue-d)); }
.pg-btn--wa { background: linear-gradient(180deg, #2bd46b, var(--green)); }
.pg-btn--line { background: var(--line-green); }
.pg-btn--sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 10px; border-bottom-width: 3px; }

/* header */
.pg-nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.pg-nav__in { max-width: 1100px; margin: 0 auto; padding: 8px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pg-nav__act { display: flex; align-items: center; gap: 8px; }
.pg-nav__call { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 13.5px; text-decoration: none; }
.pg-nav__call svg { width: 17px; height: 17px; }

/* breadcrumb + hero */
main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.pg-crumb { display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; font-size: 13px; color: var(--mute); }
.pg-crumb a { color: var(--mute); }
.pg-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 14px 0 22px; }
.pg-eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #e8f1fe; color: var(--blue-d); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pg-hero h1 { margin: 12px 0 10px; color: var(--navy); font-size: clamp(28px, 7vw, 44px); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.pg-lead { margin: 0 0 14px; font-size: 17px; color: #475569; }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.pg-chips li { padding: 5px 10px 5px 26px; border-radius: 999px; background: var(--soft); color: var(--ink); font-size: 13px; font-weight: 600; position: relative; }
.pg-chips li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 9px; height: 5px; margin-top: -4px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.pg-from { margin: 0 0 14px; color: var(--mute); font-weight: 600; }
.pg-from b { color: var(--navy); font-size: 28px; font-weight: 900; margin-left: 4px; }
.pg-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-cta--center { max-width: 520px; margin: 0 auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-hero__img { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 40px -24px rgba(0,53,128,.5); aspect-ratio: 3 / 2; }
.pg-hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* facts */
.pg-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.pg-fact { padding: 14px 10px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); text-align: center; }
.pg-fact b { display: block; color: var(--navy); font-size: 20px; font-weight: 900; line-height: 1.2; }
.pg-fact span { display: block; margin-top: 3px; color: var(--mute); font-size: 12.5px; font-weight: 600; line-height: 1.3; }

/* article */
.pg-body { max-width: 820px; margin: 0 auto; padding: 8px 0 20px; }
.pg-body h2 { margin: 34px 0 10px; color: var(--navy); font-size: 24px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.pg-body p { margin: 0 0 12px; }
.pg-list, .pg-steps { margin: 8px 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.pg-list li { padding: 10px 12px 10px 38px; border-radius: 12px; background: #f7f9fd; position: relative; }
.pg-list li::before { content: ""; position: absolute; left: 14px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px #fff3cc; }
.pg-steps { counter-reset: s; }
.pg-steps li { padding: 10px 12px 10px 46px; border-radius: 12px; background: #f7f9fd; position: relative; }
.pg-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 12px; top: 11px; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 800; line-height: 24px; text-align: center; }
.pg-body li b { color: var(--ink); }

/* tables */
.pg-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin: 8px 0 6px; }
.pg-table table { width: 100%; border-collapse: collapse; }
.pg-table caption { caption-side: bottom; padding: 8px 12px; color: #7a8aa3; font-size: 12.5px; text-align: left; }
.pg-table th, .pg-table td { padding: 10px 12px; border-bottom: 1px solid #eef2f8; text-align: left; vertical-align: middle; }
.pg-table thead th { background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 700; }
.pg-table tbody th { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.pg-table tbody th img { width: 78px; flex: 0 0 78px; }
.pg-table tbody th b { display: block; color: var(--ink); font-size: 15px; }
.pg-table tbody th small { display: block; color: var(--mute); font-size: 12px; line-height: 1.35; }
.pg-table td:nth-child(2) { color: var(--navy); font-weight: 900; font-size: 16px; white-space: nowrap; }
.pg-table td:last-child { text-align: right; }
.pg-table--grid { overflow-x: auto; }
.pg-table--grid table { min-width: 520px; font-size: 14px; }
.pg-table--grid tbody th { display: table-cell; font-weight: 700; color: var(--ink); }
.pg-table--grid td, .pg-table--grid td:nth-child(2) { font-size: 14px; font-weight: 700; color: var(--navy); text-align: right; }
.pg-table--grid thead th:not(:first-child) { text-align: right; }

/* FAQ */
.pg-faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; background: #fff; }
.pg-faq summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--blue); font-size: 22px; font-weight: 400; }
.pg-faq details[open] summary::after { content: "–"; }
.pg-faq details > div { padding: 0 16px 14px; color: var(--text); }

/* CTA band + related */
.pg-band { margin: 24px 0; padding: 28px 18px; border-radius: 22px; background: linear-gradient(135deg, #001f44, var(--navy)); color: #dbe7fb; text-align: center; }
.pg-band h2 { margin: 0 0 8px; color: #fff; font-size: 24px; font-weight: 800; }
.pg-band p { margin: 0 auto 18px; max-width: 520px; }
.pg-related { padding: 8px 0 36px; }
.pg-related h2 { color: var(--navy); font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.pg-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.pg-rel { display: block; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .15s, transform .15s; }
.pg-rel:hover { border-color: var(--blue); transform: translateY(-2px); }
.pg-rel b { display: block; color: var(--navy); font-size: 15px; }
.pg-rel span { display: block; color: var(--mute); font-size: 13px; margin-top: 2px; }
.pg-rel--home { background: var(--soft); }

/* footer */
.pg-foot { background: linear-gradient(180deg, #001f44, #001533); color: rgba(255,255,255,.7); padding: 40px 16px 20px; font-size: 14px; }
.pg-foot__in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.pg-foot__logo { display: inline-block; padding: 10px 16px; border-radius: 14px; background: #fff; margin-bottom: 12px; }
.pg-foot__links, .pg-foot__contact { display: grid; gap: 8px; align-content: start; }
.pg-foot b { color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; }
.pg-foot a { color: rgba(255,255,255,.8); text-decoration: none; overflow-wrap: anywhere; }
.pg-foot a:hover { color: var(--yellow); }
.pg-foot__copy { max-width: 1100px; margin: 26px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: rgba(255,255,255,.4); }

@media (max-width: 380px) {
  .pg-nav__call span { display: none; }
  .pg-cta--center { grid-template-columns: 1fr; }
  .pg-table tbody th img { width: 60px; flex-basis: 60px; }
}

/* Mobile fare table: keep vehicle, price and Book action inside the viewport. */
@media (max-width: 640px) {
  .pg-table:not(.pg-table--grid) { border: 0; overflow: visible; }
  .pg-table:not(.pg-table--grid) table,
  .pg-table:not(.pg-table--grid) tbody { display: block; width: 100%; }
  .pg-table:not(.pg-table--grid) thead { display: none; }
  .pg-table:not(.pg-table--grid) tbody { display: grid; gap: 10px; }
  .pg-table:not(.pg-table--grid) tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 4px 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
  }
  .pg-table:not(.pg-table--grid) tbody th {
    grid-column: 1;
    grid-row: 1 / 3;
    min-width: 0;
    padding: 0;
    border: 0;
    gap: 8px;
  }
  .pg-table:not(.pg-table--grid) tbody th img { width: 64px; flex: 0 0 64px; }
  .pg-table:not(.pg-table--grid) tbody th span { min-width: 0; }
  .pg-table:not(.pg-table--grid) tbody th b { font-size: 14px; line-height: 1.25; }
  .pg-table:not(.pg-table--grid) tbody th small { font-size: 11px; line-height: 1.3; }
  .pg-table:not(.pg-table--grid) tbody td {
    grid-column: 2;
    width: auto;
    min-width: 92px;
    padding: 0;
    border: 0;
    text-align: right;
  }
  .pg-table:not(.pg-table--grid) tbody td:nth-child(2) { font-size: 16px; }
  .pg-table:not(.pg-table--grid) tbody td:last-child { align-self: end; }
  .pg-table:not(.pg-table--grid) tbody .pg-btn--sm {
    min-width: 78px;
    min-height: 38px;
    padding: 0 13px;
  }
  .pg-table:not(.pg-table--grid) caption { display: block; width: 100%; padding: 8px 2px; }
}
@media (min-width: 768px) {
  .bt-logo { font-size: 15px; }
  .pg-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 36px; padding: 22px 0 30px; }
  .pg-cta { max-width: 420px; }
  .pg-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg-body h2 { font-size: 28px; }
  .pg-band { padding: 40px 28px; }
  .pg-foot__in { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ── desktop menu strip: "Bangkok to Pattaya Routes" dropdown + main links (≥1024px) ── */
.bt-menu { display: none; border-top: 1px solid #e7edf5; background: #fff; }
.bt-menu__in { max-width: 1180px; margin: 0 auto; padding: 0 22px; display: flex; align-items: center; gap: 4px; min-height: 48px; }
.bt-menu a, .bt-menu summary { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; color: #1a2b44; font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; }
.bt-menu a:hover, .bt-menu summary:hover, .bt-menu__routes[open] > summary { background: #eef5ff; color: #0B6FE8; }
.bt-menu summary { list-style: none; }
.bt-menu summary::-webkit-details-marker { display: none; }
.bt-menu summary svg { width: 16px; height: 16px; transition: transform .15s; }
.bt-menu__routes[open] > summary svg { transform: rotate(180deg); }
.bt-menu__routes { position: relative; }
.bt-menu__panel { position: absolute; top: calc(100% + 8px); left: 0; z-index: 60; width: 620px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid #e3ebf6; box-shadow: 0 24px 50px -20px rgba(0,31,68,.35); }
.bt-menu__panel a { display: block; height: auto; padding: 10px 12px; border-radius: 10px; }
.bt-menu__panel a b { display: block; color: #003580; font-size: 14.5px; }
.bt-menu__panel a span { display: block; margin-top: 1px; color: #5f7da9; font-size: 12.5px; font-weight: 600; }
.bt-menu__panel a[aria-current] { background: #eef5ff; }
.bt-menu__book { margin-left: auto; background: linear-gradient(180deg, #1a7ff0, #0057b8); color: #fff !important; }
.bt-menu__book:hover { filter: brightness(1.06); background: linear-gradient(180deg, #1a7ff0, #0057b8) !important; }
@media (min-width: 1024px) { .bt-menu { display: block; } }
.pg-nav .bt-menu__in { max-width: 1100px; padding: 0 16px; }

/* mobile menu (route pages) */
.pg-mnav { position: relative; }
.pg-mnav summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); color: var(--navy); cursor: pointer; }
.pg-mnav summary::-webkit-details-marker { display: none; }
.pg-mnav summary svg { width: 20px; height: 20px; }
.pg-mnav__panel { position: absolute; top: calc(100% + 10px); left: 0; z-index: 60; width: min(88vw, 340px); max-height: calc(100vh - 90px); overflow-y: auto; display: grid; gap: 2px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(0,31,68,.4); }
.pg-mnav__panel a { padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; }
.pg-mnav__panel a:hover, .pg-mnav__panel a[aria-current] { background: var(--soft); color: var(--blue-d); }
.pg-mnav__panel .pg-btn { margin-top: 6px; color: #fff; }
@media (min-width: 1024px) { .pg-mnav { display: none; } }

/* The desktop menu already carries the primary booking CTA. Avoid a duplicate
   Book Now button in the upper header on the 52 newly themed pages. */
@media (min-width: 1024px) {
  .pg-nav__act > .pg-btn--book { display: none; }
}

/* ── Individually themed UI for the 52 hotel / attraction pages ─────────── */
.pg-themed {
  --navy: var(--theme-deep);
  --blue: var(--theme);
  --blue-d: var(--theme-deep);
  --ink: var(--theme-ink);
  --soft: var(--theme-soft);
  --line: color-mix(in srgb, var(--theme) 18%, #e8edf5);
  background: linear-gradient(180deg, var(--theme-soft) 0, #fff 520px);
}
.pg-themed .pg-nav { border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(15,23,42,.06); }
.pg-themed .pg-nav__call,
.pg-themed .pg-hero h1,
.pg-themed .pg-from b,
.pg-themed .pg-fact b,
.pg-themed .pg-body h2,
.pg-themed .pg-related h2,
.pg-themed .pg-rel b { color: var(--theme-deep); }
.pg-themed .pg-eyebrow { color: var(--theme-deep); background: var(--theme-soft); border: 1px solid var(--line); }
.pg-themed .pg-crumb a { text-decoration-color: color-mix(in srgb,var(--theme) 35%,transparent); text-underline-offset: 3px; }
.pg-themed .pg-hero { position: relative; isolation: isolate; margin-top: 14px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: 0 24px 70px -48px var(--theme-deep); overflow: hidden; }
.pg-themed .pg-hero::before { content:""; position:absolute; z-index:-1; width:320px; height:320px; border-radius:50%; right:-140px; top:-170px; background:var(--theme-soft); }
.pg-themed .pg-hero__img { border-radius: 22px; box-shadow: 0 22px 42px -28px var(--theme-deep); outline: 1px solid color-mix(in srgb,var(--theme) 16%,transparent); outline-offset: -1px; }
.pg-themed .pg-chips li { border: 1px solid var(--line); background: #fff; }
.pg-themed .pg-chips li::before { border-color: var(--theme); }
.pg-themed .pg-btn { border: 0; border-radius: 12px; box-shadow: 0 7px 0 color-mix(in srgb,var(--theme-deep) 80%,#000), 0 13px 24px -15px var(--theme-deep); transition: transform .14s ease, box-shadow .14s ease, filter .14s ease; }
.pg-themed .pg-btn--book { background: linear-gradient(135deg,var(--theme),var(--theme-deep)); }
.pg-themed .pg-btn:hover { filter: saturate(1.06) brightness(1.04); transform: translateY(-2px); }
.pg-themed .pg-btn:active { transform: translateY(5px) scale(.985); box-shadow: 0 2px 0 var(--theme-deep), 0 5px 10px -8px var(--theme-deep); }
.pg-themed .pg-nav .pg-btn { box-shadow: 0 3px 0 color-mix(in srgb,var(--theme-deep) 82%,#000); }
.pg-themed .pg-facts { gap: 12px; margin: 18px 0 20px; }
.pg-themed .pg-fact { position: relative; overflow: hidden; min-height: 104px; display: grid; align-content: center; border-color: var(--line); background: #fff; box-shadow: 0 14px 28px -26px var(--theme-deep); }
.pg-themed .pg-fact::after { content:""; position:absolute; width:54px; height:5px; left:50%; bottom:0; transform:translateX(-50%); border-radius:8px 8px 0 0; background:var(--theme); }
.pg-themed .pg-body > section { margin: 40px 0; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 18px 45px -42px var(--theme-deep); }
.pg-themed .pg-body > section > h2:first-child { margin-top: 0; }
.pg-themed .pg-list li,.pg-themed .pg-steps li { border: 1px solid var(--line); background: color-mix(in srgb,var(--theme-soft) 55%,#fff); }
.pg-themed .pg-list li::before { background:var(--theme); box-shadow:0 0 0 4px var(--theme-soft); }
.pg-themed .pg-steps li::before { background:var(--theme); }
.pg-themed .pg-table { border-color: var(--line); border-radius: 18px; box-shadow: 0 16px 34px -30px var(--theme-deep); }
.pg-themed .pg-table thead th { background: linear-gradient(110deg,var(--theme-deep),var(--theme)); }
.pg-themed .pg-table tbody tr { transition: background .15s ease, transform .15s ease; }
.pg-themed .pg-table tbody tr:hover { background:var(--theme-soft); }
.pg-themed .pg-table tbody tr:active { transform:scale(.995); }
.pg-themed .pg-table td:nth-child(2) { color:var(--theme-deep); font-size:18px; }
.pg-themed .pg-faq details { border-color:var(--line); box-shadow:0 10px 24px -24px var(--theme-deep); transition:transform .14s ease,box-shadow .14s ease; }
.pg-themed .pg-faq details:hover { transform:translateY(-2px); box-shadow:0 14px 26px -22px var(--theme-deep); }
.pg-themed .pg-faq summary:active { transform:scale(.993); }
.pg-themed .pg-faq summary::after { color:var(--theme); }
.pg-themed .pg-band { position:relative; overflow:hidden; background:linear-gradient(135deg,var(--theme-deep),var(--theme)); box-shadow:0 24px 50px -36px var(--theme-deep); }
.pg-themed .pg-band::before { content:""; position:absolute; width:220px; height:220px; border:42px solid rgba(255,255,255,.08); border-radius:50%; right:-80px; top:-110px; }
.pg-themed .pg-rel { border-color:var(--line); box-shadow:0 10px 22px -24px var(--theme-deep); transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease; }
.pg-themed .pg-rel:hover { border-color:var(--theme); transform:translateY(-4px); box-shadow:0 16px 30px -24px var(--theme-deep); }
.pg-themed .pg-rel:active { transform:translateY(1px) scale(.985); box-shadow:none; }
.pg-themed .pg-rel--home { background:var(--theme-soft); }
.pg-themed .pg-foot { background:linear-gradient(160deg,color-mix(in srgb,var(--theme-deep) 85%,#07111f),#07111f); }

/* Four tone treatments and eight compositions combine into 52 distinct pages. */
.pg-themed.pg-tone-2 .pg-hero { background:linear-gradient(145deg,#fff 46%,var(--theme-soft)); }
.pg-themed.pg-tone-2 .pg-fact:nth-child(even) { background:var(--theme-soft); }
.pg-themed.pg-tone-3 { background:linear-gradient(180deg,#fff 0,var(--theme-soft) 440px,#fff 760px); }
.pg-themed.pg-tone-3 .pg-hero { border-top:6px solid var(--theme); }
.pg-themed.pg-tone-3 .pg-body > section { border-left:5px solid var(--theme); }
.pg-themed.pg-tone-4 .pg-hero { background:var(--theme-deep); border-color:var(--theme-deep); }
.pg-themed.pg-tone-4 .pg-hero h1,.pg-themed.pg-tone-4 .pg-hero .pg-lead,.pg-themed.pg-tone-4 .pg-hero .pg-from,.pg-themed.pg-tone-4 .pg-hero .pg-from b { color:#fff; }
.pg-themed.pg-tone-4 .pg-hero .pg-eyebrow { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.2); color:#fff; }
.pg-themed.pg-tone-4 .pg-hero .pg-chips li { background:rgba(255,255,255,.11); border-color:rgba(255,255,255,.18); color:#fff; }

@media (min-width: 768px) {
  .pg-themed.pg-layout-2 .pg-hero,.pg-themed.pg-layout-6 .pg-hero { grid-template-columns:minmax(0,1fr) minmax(0,1.18fr); }
  .pg-themed.pg-layout-3 .pg-hero,.pg-themed.pg-layout-7 .pg-hero { grid-template-columns:minmax(0,1fr) minmax(0,.82fr); }
  .pg-themed.pg-layout-4 .pg-hero,.pg-themed.pg-layout-8 .pg-hero { grid-template-columns:minmax(0,1fr); text-align:center; }
  .pg-themed.pg-layout-4 .pg-hero__txt,.pg-themed.pg-layout-8 .pg-hero__txt { max-width:790px; margin:auto; }
  .pg-themed.pg-layout-4 .pg-cta,.pg-themed.pg-layout-8 .pg-cta { margin-left:auto; margin-right:auto; }
  .pg-themed.pg-layout-4 .pg-chips,.pg-themed.pg-layout-8 .pg-chips { justify-content:center; }
  .pg-themed.pg-layout-4 .pg-hero__img,.pg-themed.pg-layout-8 .pg-hero__img { aspect-ratio:2.35/1; }
  .pg-themed.pg-layout-5 .pg-hero__txt,.pg-themed.pg-layout-6 .pg-hero__txt { order:2; }
  .pg-themed.pg-layout-5 .pg-hero__img,.pg-themed.pg-layout-6 .pg-hero__img { order:1; }
  .pg-themed.pg-layout-7 .pg-hero__img { transform:rotate(1.2deg); }
  .pg-themed.pg-layout-8 .pg-hero__img { order:-1; }

  /* Layout 2: facts lead the page like a compact trip dashboard. */
  .pg-themed.pg-layout-2 main > .pg-facts { margin:22px 0 -8px; position:relative; z-index:2; }
  .pg-themed.pg-layout-2 .pg-body,
  .pg-themed.pg-layout-6 .pg-body { max-width:1100px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; align-items:start; }
  .pg-themed.pg-layout-2 .pg-body > section,
  .pg-themed.pg-layout-6 .pg-body > section { margin:0; height:100%; }
  .pg-themed.pg-layout-2 .pg-body > .pg-faq,
  .pg-themed.pg-layout-6 .pg-body > .pg-faq { grid-column:1/-1; height:auto; }

  /* Layout 3: facts become part of the copy panel. */
  .pg-themed.pg-layout-3 .pg-hero { align-items:stretch; }
  .pg-themed.pg-layout-3 .pg-hero__txt { display:flex; flex-direction:column; justify-content:center; }
  .pg-themed.pg-layout-3 .pg-hero__txt .pg-facts { grid-template-columns:repeat(2,minmax(0,1fr)); margin:24px 0 0; }
  .pg-themed.pg-layout-3 .pg-hero__txt .pg-fact { min-height:82px; padding:10px 8px; }
  .pg-themed.pg-layout-3 .pg-body > section:nth-child(even) { margin-left:72px; }
  .pg-themed.pg-layout-3 .pg-body > section:nth-child(odd) { margin-right:72px; }

  /* Layout 4: editorial cover followed by horizontal content bands. */
  .pg-themed.pg-layout-4 .pg-body { max-width:1040px; }
  .pg-themed.pg-layout-4 .pg-body > section { padding:36px 44px; text-align:center; }
  .pg-themed.pg-layout-4 .pg-body .pg-list,
  .pg-themed.pg-layout-4 .pg-body .pg-steps { grid-template-columns:repeat(2,minmax(0,1fr)); text-align:left; }

  /* Layout 5: image-first split with facts docked across the bottom. */
  .pg-themed.pg-layout-5 .pg-hero { grid-template-areas:"image copy" "facts facts"; grid-template-columns:1.08fr .92fr; }
  .pg-themed.pg-layout-5 .pg-hero__img { grid-area:image; }
  .pg-themed.pg-layout-5 .pg-hero__txt { grid-area:copy; }
  .pg-themed.pg-layout-5 .pg-hero > .pg-facts { grid-area:facts; width:100%; margin:8px 0 0; }
  .pg-themed.pg-layout-5 .pg-body > section { border-radius:40px 14px 40px 14px; }

  /* Layout 6: facts form a vertical third column. */
  .pg-themed.pg-layout-6 .pg-hero { grid-template-areas:"image copy facts"; grid-template-columns:minmax(0,.9fr) minmax(0,1.05fr) 190px; align-items:stretch; }
  .pg-themed.pg-layout-6 .pg-hero__img { grid-area:image; }
  .pg-themed.pg-layout-6 .pg-hero__txt { grid-area:copy; }
  .pg-themed.pg-layout-6 .pg-hero > .pg-facts { grid-area:facts; grid-template-columns:1fr; margin:0; }
  .pg-themed.pg-layout-6 .pg-hero > .pg-facts .pg-fact { min-height:0; }

  /* Layout 7: immersive photo cover with readable floating content. */
  .pg-themed.pg-layout-7 .pg-hero { min-height:580px; display:grid; grid-template-columns:minmax(0,650px); align-content:end; }
  .pg-themed.pg-layout-7 .pg-hero::after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,rgba(5,15,35,.9) 0,rgba(5,15,35,.62) 48%,rgba(5,15,35,.08) 100%); }
  .pg-themed.pg-layout-7 .pg-hero__img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; border-radius:0; transform:none; outline:0; }
  .pg-themed.pg-layout-7 .pg-hero__txt { padding:22px; }
  .pg-themed.pg-layout-7 .pg-hero h1,
  .pg-themed.pg-layout-7 .pg-hero .pg-lead,
  .pg-themed.pg-layout-7 .pg-hero .pg-from,
  .pg-themed.pg-layout-7 .pg-hero .pg-from b { color:#fff; }
  .pg-themed.pg-layout-7 .pg-hero .pg-eyebrow { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.24); color:#fff; }
  .pg-themed.pg-layout-7 .pg-hero .pg-chips li { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.2); color:#fff; backdrop-filter:blur(8px); }
  .pg-themed.pg-layout-7 .pg-body > section:nth-child(even) { transform:translateX(42px); }
  .pg-themed.pg-layout-7 .pg-body > section:nth-child(odd) { transform:translateX(-42px); }

  /* Layout 8: wide destination photograph above a floating booking card. */
  .pg-themed.pg-layout-8 .pg-hero { padding:0 0 34px; overflow:visible; background:transparent; border:0; box-shadow:none; }
  .pg-themed.pg-layout-8 .pg-hero__img { width:100%; border-radius:28px; aspect-ratio:2.4/1; }
  .pg-themed.pg-layout-8 .pg-hero__txt { position:relative; z-index:2; margin:-90px auto 0; padding:30px 38px; border:1px solid var(--line); border-radius:22px; background:rgba(255,255,255,.96); box-shadow:0 24px 60px -36px var(--theme-deep); }
  .pg-themed.pg-layout-8.pg-tone-4 .pg-hero__txt { background:var(--theme-deep); }

  /* Selected layouts turn the price table into a vehicle-card chooser. */
  .pg-themed.pg-layout-1 .pg-table,
  .pg-themed.pg-layout-4 .pg-table,
  .pg-themed.pg-layout-7 .pg-table { border:0; box-shadow:none; overflow:visible; }
  .pg-themed.pg-layout-1 .pg-table thead,
  .pg-themed.pg-layout-4 .pg-table thead,
  .pg-themed.pg-layout-7 .pg-table thead { display:none; }
  .pg-themed.pg-layout-1 .pg-table tbody,
  .pg-themed.pg-layout-4 .pg-table tbody,
  .pg-themed.pg-layout-7 .pg-table tbody { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .pg-themed.pg-layout-1 .pg-table tr,
  .pg-themed.pg-layout-4 .pg-table tr,
  .pg-themed.pg-layout-7 .pg-table tr { display:grid; grid-template-columns:1fr auto; padding:14px; border:1px solid var(--line); border-radius:16px; background:#fff; }
  .pg-themed.pg-layout-1 .pg-table th,
  .pg-themed.pg-layout-4 .pg-table th,
  .pg-themed.pg-layout-7 .pg-table th { grid-row:1/3; border:0; padding:0; }
  .pg-themed.pg-layout-1 .pg-table td,
  .pg-themed.pg-layout-4 .pg-table td,
  .pg-themed.pg-layout-7 .pg-table td { border:0; padding:2px 0 2px 12px; }
  .pg-themed.pg-layout-1 .pg-table caption,
  .pg-themed.pg-layout-4 .pg-table caption,
  .pg-themed.pg-layout-7 .pg-table caption { display:block; }
}
@media (max-width: 767px) {
  .pg-themed .pg-hero { margin-top:10px; padding:20px; border-radius:20px; }
  .pg-themed .pg-hero__img { border-radius:16px; }
  .pg-themed .pg-body > section { margin:28px 0; padding:20px 16px; border-radius:18px; }
  .pg-themed .pg-fact { min-height:92px; }
  .pg-themed.pg-layout-5 .pg-hero__img,.pg-themed.pg-layout-7 .pg-hero__img { order:-1; }
  .pg-themed.pg-layout-3 .pg-hero__txt .pg-facts,
  .pg-themed.pg-layout-5 .pg-hero > .pg-facts,
  .pg-themed.pg-layout-6 .pg-hero > .pg-facts { grid-template-columns:repeat(2,minmax(0,1fr)); margin:20px 0 0; }
  .pg-themed.pg-layout-2 main > .pg-facts { margin-top:16px; }
  .pg-themed.pg-layout-8 .pg-hero__img { order:-1; }
}
