/* Singapore pages: /singapore/ and /singapore-changi-airport-transfer/ in 8 languages (tools/theme-v22/singapore.py). Loaded after festival.css,
   whose page shell (.fv-main, hero, tables, FAQ, closing block, related links, lightbox) these pages share. */
.sg-main .fv-hero{margin-bottom:6px}
.sg-main #faq{padding-block:0}   /* the homepage's #faq padding (bundle.css) */
.sg-ic{width:20px;height:20px;flex-shrink:0;color:#f0c985}
.sg-cap{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.sg-main figure{margin:0}
.sg-main figcaption{font-size:12.5px;line-height:1.6;color:#a8bdb4;padding:8px 2px 0}
.sg-main .fv-hero-photo figcaption{padding:26px 16px 12px;color:#e8eeeb}
.sg-main .fv-zoom{display:block;border-radius:inherit;overflow:hidden}
.sg-main .fv-zoom img{transition:transform .5s ease}
@media(hover:hover){.sg-main .fv-zoom:hover img{transform:scale(1.03)}}

/* hero: the gold chat button, then WhatsApp and LINE straight away */
.sg-directs{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:12px}
.sg-or{flex-basis:100%;font-size:13px;color:#a8bdb4}
.sg-direct{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:0 16px;border-radius:999px;border:1px solid #e0c58a80;background:#e0bf8514;color:#f2e6c9!important;text-decoration:none;font-size:14.5px;line-height:1.3}
.sg-direct .sg-ic{width:18px;height:18px}
.sg-direct:hover{background:#e0bf852e}
.sg-wa .sg-ic{color:#7fd8a0}
.sg-line .sg-ic{color:#6fe08a}

/* prices: one table, baht large with ≈ S$ under it (Jev 0.55 / 0.96) */
.sg-matrix-wrap{padding:4px 14px}
.sg-matrix{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.sg-matrix th,.sg-matrix td{padding:12px 8px;border-bottom:1px solid #ffffff12;vertical-align:middle}
.sg-matrix tbody tr:last-child th,.sg-matrix tbody tr:last-child td{border-bottom:0}
.sg-matrix thead th{font-size:12.5px;font-weight:400;color:#a8bdb4;text-align:left}
.sg-matrix thead th:not(:first-child){text-align:right}
.sg-matrix thead th span{display:block;font-size:14px;color:#f2d497;font-weight:500}
.sg-matrix thead th small{display:block;font-size:12px;color:#a8bdb4}
.sg-matrix tbody th{font-weight:400;font-size:14.5px;line-height:1.55;color:#e8eeeb;text-align:left}
.sg-matrix td{text-align:right;white-space:nowrap}
.sg-thb{display:block;font-size:21px;font-weight:600;color:#f6dfa8;line-height:1.25}
.sg-sgd{display:block;font-size:12.5px;color:#a8bdb4;margin-top:2px}
.sg-matrix tr#pk-ot .sg-thb{font-size:17px}
.sg-rate,.sg-model-note,.sg-src{display:flex;gap:8px;align-items:flex-start;font-size:13px;line-height:1.7;color:#a8bdb4;margin:12px 0 0;max-width:86ch}
.sg-rate .sg-ic,.sg-model-note .sg-ic{width:16px;height:16px;margin-top:3px}
.sg-src{display:block}
.sg-src a,.sg-srclink{color:#d9c48f;font-size:12.5px}
.sg-more{margin:14px 0 0}
.sg-more a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:15px;color:#f0d79d;text-decoration:underline;text-underline-offset:4px}
.sg-more .sg-ic{width:18px;height:18px}

/* vehicles: a Commons photo of each model, captioned as an example */
.sg-cars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px;align-items:start}
.sg-car{border:1px solid #d8c4934d;border-radius:20px;padding:12px;background:linear-gradient(160deg,#17292d,#0e1b1f)}
.sg-car-photo .fv-zoom{border-radius:14px}
.sg-car-img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:50% 60%}
.sg-car-photo figcaption{padding:8px 4px 0}
.sg-car-body{padding:10px 6px 4px}
.sg-car h3,.sg-pk-card h3{font-size:19px;font-weight:500;line-height:1.45;margin:0 0 8px;color:#f2d497}
.sg-spec{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.sg-spec li{display:inline-flex;align-items:center;gap:7px;font-size:13.5px;color:#e8eeeb;border:1px solid #d8c49340;background:#d0e9e80d;border-radius:999px;padding:6px 12px}
.sg-spec .sg-ic{width:16px;height:16px}
.sg-car p{font-size:14px;line-height:1.75;color:#cfdbd6;margin:0 0 10px}
.sg-car-thumb{display:grid;grid-template-columns:132px minmax(0,1fr);gap:12px;align-items:center;border-top:1px solid #ffffff12;padding-top:12px}
.sg-car-thumb .fv-zoom{border-radius:10px}
.sg-car-img2{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.sg-car-thumb figcaption{padding:0}

/* included / may cost extra */
.sg-inc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.sg-inc{border-radius:20px;border:1px solid #d8c49340;padding:18px 18px 14px;background:linear-gradient(160deg,#16282c,#0b171b)}
.sg-main .sg-inc h2,.sg-inc h3{font-size:clamp(19px,2.2vw,24px);font-weight:500;line-height:1.45;margin:0 0 10px;color:#f2d497}
.sg-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sg-list li{display:flex;gap:10px;font-size:14.5px;line-height:1.65;color:#dfe7e3}
.sg-list .sg-ic{width:18px;height:18px;margin-top:2px}
.sg-inc-extra .sg-ic{color:#d9b97a}
.sg-quote{font-size:13px;line-height:1.7;color:#a8bdb4;margin:12px 0 0;border-left:3px solid #d8c49366;padding-left:10px}

/* the four booking steps with the video card inside the block (Jev 0.99): beside the steps on a computer, under them on a phone */
.sg-steps-wrap{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:24px;align-items:start;margin-top:8px}
.sg-steps{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.sg-step{display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:start;border:1px solid #d8c49333;border-radius:18px;padding:14px 16px;background:#d0e9e808;scroll-margin-top:112px}
.sg-step-mark{display:flex;align-items:center;gap:10px}
.sg-step-n{flex:0 0 auto;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:16px;font-weight:600;color:#10201f;background:linear-gradient(160deg,#f6dc9f,#e0b768);box-shadow:0 4px 14px #f0c98533}
.sg-step-ic{flex:0 0 auto;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;border:1px solid #d8c49340;background:#e0bf850f}
.sg-step-ic .sg-ic{width:24px;height:24px}
.sg-step-body h3{font-size:16.5px;font-weight:500;line-height:1.5;margin:4px 0 4px;color:#f1ede2}
.sg-step-body p{font-size:14.5px;line-height:1.75;color:#c9d6d0;margin:0}
.sg-video{position:sticky;top:96px;text-align:center}
.sg-video-card{display:block;width:100%;padding:0;border:0;background:none;cursor:pointer;color:inherit;font:inherit}
.sg-video-thumb{position:relative;display:block;border-radius:20px;overflow:hidden;border:1px solid #d8c49366;box-shadow:0 18px 44px #00000066;background:#0b171b}
.sg-video-thumb img{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:cover;transition:transform .5s ease}
.sg-video .fv-gplay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#f0c985;color:#10201f;box-shadow:0 8px 26px #00000080}
.sg-play{width:30px;height:30px;color:#10201f;margin-left:4px}
.sg-video .fv-guide-dur{position:absolute;left:auto;right:10px;bottom:10px;text-shadow:none;font-size:12px;padding:3px 8px;border-radius:999px;background:#000000a6;color:#fff}
.sg-video-card:hover .sg-video-thumb img{transform:scale(1.03)}
.sg-video-card:focus-visible{outline:2px solid #f0cd8d;outline-offset:4px;border-radius:20px}
.sg-video figcaption{padding:10px 4px 0;font-size:14px;line-height:1.55;color:#e8eeeb}
.sg-video figcaption b{display:block;font-weight:500;color:#f2d497}
.sg-video-note{display:block;font-size:12.5px;color:#a8bdb4;margin-top:2px}

/* places as photo cards (Jev 0.94) */
.sg-place-grid{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sg-place{border:1px solid #d8c4934d;border-radius:18px;overflow:hidden;background:linear-gradient(160deg,#17292d,#0e1b1f);display:flex;flex-direction:column;scroll-margin-top:112px}
.sg-place-img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.sg-place-body{padding:12px 14px 14px}
.sg-place h3{font-size:16.5px;font-weight:500;line-height:1.5;margin:0 0 4px;color:#f2d497}
.sg-place h3 a{color:#f2d497}
.sg-place p{font-size:14px;line-height:1.7;color:#cfdbd6;margin:0}

/* what fits in 8, 10 or 12 hours: three cards (Jev 0.95) */
.sg-itin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:12px}
.sg-itin-card{border:1px solid #d8c4934d;border-radius:20px;overflow:hidden;background:linear-gradient(160deg,#1a2e32,#0e1b1f);display:flex;flex-direction:column;scroll-margin-top:112px}
.sg-itin-img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.sg-itin-body{padding:14px 16px 16px;display:flex;flex-direction:column;flex:1}
.sg-itin-card h3{font-size:17px;font-weight:500;line-height:1.5;margin:0 0 10px;color:#f2d497}
.sg-route{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:0}
.sg-route li{position:relative;padding:3px 0 3px 22px;font-size:14px;line-height:1.6;color:#dfe7e3}
.sg-route li::before{content:"";position:absolute;left:5px;top:11px;width:8px;height:8px;border-radius:50%;background:#f0c985}
.sg-route li:not(:last-child)::after{content:"";position:absolute;left:8.5px;top:19px;bottom:-5px;width:1px;background:#f0c98566}
.sg-itin-note{font-size:13px;line-height:1.6;color:#a8bdb4;margin:0 0 10px}
.sg-itin-price{display:grid;gap:4px;margin:auto 0 0;padding-top:10px;border-top:1px solid #ffffff12;font-size:13px;color:#a8bdb4}
.sg-itin-price span{display:flex;justify-content:space-between;gap:10px}
.sg-itin-price b{font-size:16px;font-weight:600;color:#f6dfa8;font-variant-numeric:tabular-nums}

/* who runs your trip */
.sg-about{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.sg-about li{display:flex;gap:12px;align-items:flex-start;border:1px solid #d8c49333;border-radius:18px;padding:14px 16px;background:#d0e9e808}
.sg-about .sg-ic{width:24px;height:24px;margin-top:2px}
.sg-about p{font-size:14.5px;line-height:1.75;color:#d5e0db;margin:0}

/* Changi: the package price per vehicle */
.sg-pk-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:12px}
.sg-pk-card{display:grid;grid-template-columns:minmax(0,46%) minmax(0,1fr);gap:14px;align-items:center;border:1px solid #e6cd9180;border-radius:20px;padding:12px;background:linear-gradient(160deg,#1d3236,#0f1d21);scroll-margin-top:112px}
.sg-pk-card figure{border-radius:14px;overflow:hidden}
.sg-pk-img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.sg-pk-card .sg-spec{margin-bottom:8px}
.sg-amount{margin:4px 0 2px}
.sg-amount .sg-thb{font-size:28px}
.sg-unit{font-size:12.5px;line-height:1.6;color:#a8bdb4;margin:4px 0 0}
.sg-notes{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.sg-notes li{display:flex;gap:10px;font-size:14px;line-height:1.7;color:#dfe7e3}
.sg-notes .sg-ic{width:18px;height:18px;margin-top:3px}

/* Changi: where you meet the driver (five cards, Jev 0.65) beside a photo of the terminal */
.sg-meet-wrap,.sg-times-wrap{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:20px;align-items:start}
.sg-terminals{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sg-terminals li{display:flex;gap:12px;align-items:flex-start;border:1px solid #d8c49340;border-radius:16px;padding:12px 14px;background:#d0e9e80a}
.sg-terminals li:last-child{grid-column:1/-1}
.sg-term{flex:0 0 auto;min-width:44px;height:44px;border-radius:12px;display:grid;place-items:center;font-weight:600;font-size:15px;color:#10201f;background:linear-gradient(160deg,#f6dc9f,#e0b768)}
.sg-term .sg-ic{color:#10201f;width:22px;height:22px}
.sg-terminals h3{font-size:15.5px;font-weight:500;line-height:1.45;margin:2px 0 2px;color:#f1ede2}
.sg-terminals p{font-size:14px;line-height:1.65;color:#cfdbd6;margin:0}
.sg-side-photo .fv-zoom,.sg-wide-photo .fv-zoom{border-radius:18px;border:1px solid #d8c4934d}
.sg-side-img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.sg-times td{white-space:nowrap}
.sg-compare td{white-space:normal;line-height:1.6}
.sg-compare th[scope=row]{min-width:150px}
.sg-srclink{white-space:nowrap}

/* Changi: cruise terminals and the ferry terminal */
.sg-wide-img{display:block;width:100%;height:auto;aspect-ratio:1600/558;object-fit:cover}
.sg-cruise{list-style:none;margin:14px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.sg-cruise li,.sg-tips li{display:flex;gap:12px;align-items:flex-start;border:1px solid #d8c49333;border-radius:18px;padding:14px 16px;background:#d0e9e808;scroll-margin-top:112px}
.sg-cruise .sg-ic,.sg-tips .sg-ic{width:24px;height:24px;margin-top:2px}
.sg-cruise h3,.sg-tips h3{font-size:16px;font-weight:500;line-height:1.5;margin:0 0 4px;color:#f1ede2}
.sg-cruise p,.sg-tips p{font-size:14px;line-height:1.7;color:#cfdbd6;margin:0}
.sg-tips{list-style:none;margin:12px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

/* closing chat block and links */
.sg-end .sg-directs{justify-content:center}
.sg-end .sg-or{text-align:center}
.sg-cross .fv-rel-grid a.sg-rel-hub{border-color:#e6cd9199}

/* photo credits (route_template.py: <details id="photo-credits">) */
.sg-credits details{border:1px solid #ffffff14;border-radius:14px;padding:4px 14px}
.sg-credits summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:14px;color:#cfdbd6}
.sg-credits ul{margin:0 0 10px;padding-left:18px;display:grid;gap:4px}
.sg-credits li{font-size:12.5px;line-height:1.65;color:#a8bdb4}
.sg-credits h3{font-size:13px;font-weight:500;color:#cfdbd6;margin:10px 0 6px}

/* the video, full screen over the page (site.js [data-ktc-video]; the same look as route-shared.css) */
.ktc-video-ov{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(3,8,10,.94)}
.ktc-video-ov .kv-box{position:relative;height:min(92vh,calc((100vw - 32px)*16/9));aspect-ratio:9/16}
.ktc-video-ov video{display:block;width:100%;height:100%;border-radius:18px;background:#000;object-fit:contain}
.ktc-video-ov .kv-x{position:absolute;top:-8px;right:-8px;width:44px;height:44px;border:0;border-radius:50%;background:#f6f1e4;color:#0b1416;font-size:28px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.5)}
.ktc-video-ov video::cue{font-size:17px;line-height:1.35;background:rgba(0,0,0,.72);color:#fff}

@media(max-width:980px){
  .sg-cars,.sg-inc-grid{grid-template-columns:1fr}
  .sg-steps-wrap{grid-template-columns:1fr}
  .sg-main .sg-video{position:static;max-width:300px;width:100%;margin:4px auto 0}
  .sg-place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sg-itin-grid{grid-template-columns:1fr}
  .sg-itin-card{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr)}
  .sg-itin-card figure,.sg-itin-card .fv-zoom{height:100%}
  .sg-itin-img{height:100%;aspect-ratio:auto;min-height:220px}
  .sg-meet-wrap,.sg-times-wrap{grid-template-columns:1fr}
  .sg-side-photo{max-width:560px}
  .sg-cruise,.sg-tips{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sg-pk-cards{grid-template-columns:1fr}
}
@media(max-width:600px){
  .sg-matrix-wrap{padding:2px 10px}
  .sg-matrix th,.sg-matrix td{padding:10px 4px}
  .sg-matrix tbody th{font-size:13.5px}
  .sg-thb{font-size:18px}
  .sg-matrix tr#pk-ot .sg-thb{font-size:16px}
  .sg-sgd{font-size:12px}
  .sg-direct{flex:1 1 calc(50% - 6px);justify-content:center;padding:0 10px;font-size:14px}
  .sg-step{gap:12px;padding:12px 14px}
  .sg-step-mark{flex-direction:column;gap:8px}
  .sg-step-ic{width:36px;height:36px;border-radius:10px}
  .sg-step-ic .sg-ic{width:20px;height:20px}
  .sg-place-grid{grid-template-columns:1fr;gap:10px}
  .sg-place{flex-direction:row;align-items:stretch}
  .sg-place figure{flex:0 0 38%}
  .sg-place figure .fv-zoom{height:100%;border-radius:0}
  .sg-place-img{height:100%;aspect-ratio:auto;min-height:128px}
  .sg-place-body{padding:10px 12px}
  .sg-place h3{font-size:15.5px}
  .sg-place p{font-size:13.5px;line-height:1.6}
  .sg-itin-card{display:flex}
  .sg-itin-img{aspect-ratio:16/9;min-height:0}
  .sg-about{grid-template-columns:1fr}
  .sg-terminals{grid-template-columns:1fr}
  .sg-cruise,.sg-tips{grid-template-columns:1fr}
  .sg-pk-card{grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:12px;padding:10px}
  .sg-pk-card h3{font-size:16.5px}
  .sg-amount .sg-thb{font-size:24px}
  .sg-car-thumb{grid-template-columns:104px minmax(0,1fr)}
  .sg-compare,.sg-compare tbody,.sg-compare tr,.sg-compare th,.sg-compare td{display:block}
  .sg-compare thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .sg-compare tr{padding:10px 0;border-bottom:1px solid #ffffff12}
  .sg-compare tbody tr:last-child{border-bottom:0}
  .sg-compare th,.sg-compare td{border:0;padding:3px 2px}
  .sg-compare th[scope=row]{min-width:0;color:#f2d497}
  .ktc-video-ov{padding:12px}
}
@media(max-width:400px){.sg-direct .sg-ic{display:none}.sg-direct{font-size:13.5px}}

/* the header phone pair when footer.js stacks it (np-stack: this page's menu is wider, "จองผ่านแชท") — 6px apart so each number is a 24px tap target (Lighthouse target-size, 18 Nov 2026) */
.nav-contact .nav-phones.np-stack{gap:6px}

/* 🔹 the Kingtocar app section (app_sec · Sky 18 Nov 2026 "หน้า สิงคโป ต้องพรีเซ้นแอป เราด้วย" · layout by Jev) */
.sg-app{display:grid;gap:18px;align-items:center}
.sg-app-phones{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:520px}
.sg-app-ph{margin:0;display:flex;flex-direction:column;gap:8px}
.sg-app-fr{display:block;border-radius:26px;padding:6px;background:#04070d;box-shadow:0 18px 40px #0008,0 0 0 1.5px #d4af3773;overflow:hidden}
.sg-app-fr img{display:block;width:100%;height:auto;border-radius:20px}
.sg-app-ph figcaption{font-size:13px;line-height:1.5;color:#d5e0dc;text-align:center}
.sg-app-points{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}
.sg-app-points li{display:flex;gap:8px;align-items:flex-start;font-size:15px;line-height:1.6;color:#e8efec}
.sg-app-points .sg-ic{flex:none;margin-top:3px;color:#f0c985}
.sg-app-th{font-size:14px;line-height:1.6;color:#c3d0cb;margin:0 0 12px}
.sg-app-get{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.sg-app-ex{font-size:12px;line-height:1.5;color:#9fb3ab;margin:10px 0 0}
@media(min-width:900px){.sg-app{grid-template-columns:minmax(0,520px) minmax(0,1fr);gap:32px}}
