/* vh-list.css — shared listing-card + trip-detail gallery/contact CSS.
   Used by domestic-tours/, international-tours/, trips/ and every trips/<slug>/ page.
   Frame Tailwind is purged: all styling here, .vh-* only, !important where the frame fights back. */

/* ---------- page hero band ---------- */
.vh-list-head{background:linear-gradient(120deg,#0B1528 0%,#0078a8 100%);color:#fff;padding:120px 48px 56px;width:100%;box-sizing:border-box}
.vh-list-head h1{font-size:40px;line-height:1.15;font-weight:700;margin:0 0 12px;color:#fff}
.vh-list-head p{font-size:17px;line-height:1.6;margin:0;max-width:760px;color:rgba(255,255,255,.88)}

/* ---------- listing grid ---------- */
.vh-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:48px;width:100%;box-sizing:border-box}
.vh-list-title{font-size:28px;font-weight:700;color:#0B1528;margin:0;padding:48px 48px 0}
.vh-card{background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(11,21,40,.10);overflow:hidden;display:flex;flex-direction:column;min-width:0}
.vh-card-img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;transition:transform .45s ease}
.vh-card:hover .vh-card-img{transform:scale(1.06)}
.vh-card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px;flex:1}
.vh-card-tag{font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:#0078a8}
.vh-card-title{font-size:18px;font-weight:700;color:#0B1528;margin:0}
.vh-card-meta{font-size:14px;color:#6b7280;margin:0 0 6px}
.vh-card-btn{margin-top:auto;align-self:flex-start;background:linear-gradient(100deg,#c0303c,#e0562f);color:#fff!important;font-weight:700;font-size:14px;padding:10px 22px;border-radius:999px;text-decoration:none;display:inline-block}
.vh-card-btn:hover{opacity:.92}

/* ---------- detail-page gallery: 1 big (2x2) + 9 small ---------- */
.vh-gal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:1fr;gap:12px;padding:0 48px 8px;width:100%;box-sizing:border-box}
.vh-gal a,.vh-gal .vh-gal-cell{display:block;min-width:0;aspect-ratio:1/1;overflow:hidden;border-radius:10px}
.vh-gal .vh-gal-cell:first-child{grid-column:span 2;grid-row:span 2}
.vh-gal img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px;transition:transform .45s ease}
.vh-gal .vh-gal-cell:hover img{transform:scale(1.05)}

/* ---------- contact box ---------- */
.vh-contact-box{background:#fff;border:1px solid #e6e9ef;border-radius:14px;box-shadow:0 6px 24px rgba(11,21,40,.08);padding:24px;box-sizing:border-box}
.vh-contact-box h3{font-size:19px;font-weight:700;color:#0B1528;margin:0 0 4px}
.vh-contact-box .vh-cb-sub{font-size:13px;color:#6b7280;margin:0 0 18px}
.vh-cb-person{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-top:1px solid #f0f2f6}
.vh-cb-ini{flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:linear-gradient(120deg,#0078a8,#00a8e4);color:#fff;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center}
.vh-cb-name{font-size:15px;font-weight:700;color:#0B1528;margin:0}
.vh-cb-role{font-size:12.5px;color:#6b7280;margin:2px 0 3px;line-height:1.4}
.vh-cb-tel{font-size:13.5px;font-weight:700;color:#c0303c!important;text-decoration:none}
.vh-cb-actions{display:flex;flex-direction:column;gap:10px;margin-top:18px}
.vh-cb-btn{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none;padding:0 18px;box-sizing:border-box}
.vh-cb-wa{background:#25D366;color:#fff!important}
.vh-cb-call{background:linear-gradient(100deg,#c0303c,#e0562f);color:#fff!important}
.vh-cb-mail{background:#fff;color:#0B1528!important;border:1.5px solid #0B1528}
.vh-cb-office{font-size:13px;color:#6b7280;line-height:1.6;margin:18px 0 0;padding-top:16px;border-top:1px solid #f0f2f6}
.vh-cb-office a{color:#0078a8!important;text-decoration:none;font-weight:600}
@media (min-width:1024px){.vh-contact-box{position:sticky;top:104px}}

/* ---------- detail page body layout ---------- */
.vh-trip-wrap{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:40px;padding:48px;width:100%;box-sizing:border-box;align-items:start}
.vh-trip-body h2{font-size:28px;font-weight:700;color:#0B1528;margin:0 0 16px}
.vh-trip-body h3{font-size:20px;font-weight:700;color:#0B1528;margin:32px 0 12px}
.vh-trip-body p{font-size:16px;line-height:1.75;color:#414c5e;margin:0 0 16px}
.vh-trip-body ul{margin:0 0 16px;padding-left:22px}
.vh-trip-body li{font-size:16px;line-height:1.7;color:#414c5e;margin-bottom:6px}
.vh-trip-hero{position:relative;width:100%;height:clamp(320px,52vh,560px);overflow:hidden}
.vh-trip-hero img{width:100%;height:100%;object-fit:cover;display:block}
.vh-trip-hero-cap{position:absolute;inset:auto 0 0 0;background:linear-gradient(to top,rgba(11,21,40,.85),rgba(11,21,40,0));padding:48px}
.vh-trip-hero-cap h1{font-size:clamp(28px,4vw,46px);font-weight:700;color:#fff;margin:0 0 8px}
.vh-trip-hero-cap p{font-size:16px;color:rgba(255,255,255,.9);margin:0}
.vh-gal-head{padding:40px 48px 14px}
.vh-gal-head h2{font-size:26px;font-weight:700;color:#0B1528;margin:0}

/* ---------- tablet ---------- */
@media (max-width:1023px){
  .vh-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .vh-trip-wrap{grid-template-columns:minmax(0,1fr)}
}

/* ---------- mobile 390 ---------- */
@media (max-width:767px){
  .vh-list-head{padding:88px 20px 32px}
  .vh-list-head h1{font-size:26px}
  .vh-list-head p{font-size:15px;line-height:1.55}
  .vh-list{grid-template-columns:minmax(0,1fr);gap:16px;padding:24px 20px}
  .vh-list-title{font-size:20px;padding:28px 20px 0}
  .vh-card{border-radius:12px}
  .vh-card-img{aspect-ratio:16/10}
  .vh-card-body{padding:14px 15px 16px;gap:6px}
  .vh-card-title{font-size:16px}
  .vh-card-meta{font-size:13px;margin-bottom:4px}
  .vh-card-btn{font-size:13.5px;padding:0 20px;min-height:44px;display:inline-flex;align-items:center}
  .vh-gal{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 20px 8px}
  .vh-gal .vh-gal-cell:first-child{grid-column:span 2;grid-row:span 1;aspect-ratio:auto;max-height:240px}
  .vh-gal .vh-gal-cell:first-child img{max-height:240px}
  .vh-trip-wrap{padding:24px 20px;gap:24px}
  .vh-trip-body h2{font-size:24px}
  .vh-trip-body h3{font-size:17px;margin:24px 0 10px}
  .vh-trip-body p,.vh-trip-body li{font-size:15px;line-height:1.55}
  .vh-trip-hero{height:clamp(240px,34vh,280px)}
  .vh-trip-hero-cap{padding:20px}
  .vh-trip-hero-cap h1{font-size:26px}
  .vh-trip-hero-cap p{font-size:14px}
  .vh-gal-head{padding:28px 20px 10px}
  .vh-gal-head h2{font-size:20px}
  .vh-contact-box{padding:16px;border-radius:12px}
  .vh-contact-box h3{font-size:17px}
  .vh-contact-box .vh-cb-sub{font-size:12.5px;margin-bottom:12px}
  .vh-cb-person{padding:10px 0;gap:10px}
  .vh-cb-ini{flex:0 0 36px;width:36px;height:36px;font-size:12.5px}
  .vh-cb-name{font-size:14px}
  .vh-cb-role{font-size:12px}
  .vh-cb-tel{font-size:13px}
  .vh-cb-actions{gap:8px;margin-top:14px}
  .vh-cb-btn{min-height:44px;font-size:14px}
  .vh-cb-office{font-size:12.5px;margin-top:14px;padding-top:12px}
}
/* R3: photo grid on top */
.vh-trip-top{padding:28px 48px 16px}
.vh-trip-top h1{font-size:clamp(26px,3.4vw,40px);font-weight:700;color:#0B1528;margin:0 0 6px;line-height:1.15}
.vh-trip-top p{font-size:15px;color:#4b5563;margin:0}
.vh-gal{gap:8px}
@media (max-width:767px){.vh-trip-top{padding:18px 20px 12px}.vh-trip-top h1{font-size:24px}.vh-trip-top p{font-size:13.5px}.vh-gal{gap:5px}}
/* R3b: 10 photos on one screen + entrance animation */
@media (min-width:768px){
  .vh-gal{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:1fr 1fr;grid-auto-rows:1fr;height:calc(100vh - 88px - 96px);min-height:520px;padding:0 48px 16px}
  .vh-gal .vh-gal-cell{aspect-ratio:auto;height:100%}
  .vh-gal .vh-gal-cell:first-child{grid-column:auto;grid-row:auto}
  .vh-trip-top{padding:22px 48px 12px}
  .vh-trip-top h1{font-size:clamp(24px,2.6vw,32px);margin:0 0 2px}
  .vh-trip-top p{font-size:14px}
}
.vh-gal .vh-gal-cell{opacity:0;transform:translateY(24px) scale(.96);animation:vh-gal-in .7s cubic-bezier(.2,.7,.2,1) forwards}
.vh-gal .vh-gal-cell:nth-child(1){animation-delay:.05s}.vh-gal .vh-gal-cell:nth-child(2){animation-delay:.12s}.vh-gal .vh-gal-cell:nth-child(3){animation-delay:.19s}.vh-gal .vh-gal-cell:nth-child(4){animation-delay:.26s}.vh-gal .vh-gal-cell:nth-child(5){animation-delay:.33s}.vh-gal .vh-gal-cell:nth-child(6){animation-delay:.40s}.vh-gal .vh-gal-cell:nth-child(7){animation-delay:.47s}.vh-gal .vh-gal-cell:nth-child(8){animation-delay:.54s}.vh-gal .vh-gal-cell:nth-child(9){animation-delay:.61s}.vh-gal .vh-gal-cell:nth-child(10){animation-delay:.68s}
@keyframes vh-gal-in{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.vh-gal .vh-gal-cell{opacity:1;transform:none;animation:none}}
/* R3c: creative mosaic, 6x3 */
@media (min-width:768px){
  .vh-gal{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr))}
  .vh-gal .vh-gal-cell:nth-child(1){grid-area:1/1/3/3}
  .vh-gal .vh-gal-cell:nth-child(2){grid-area:1/3/2/4}
  .vh-gal .vh-gal-cell:nth-child(3){grid-area:1/4/2/6}
  .vh-gal .vh-gal-cell:nth-child(4){grid-area:1/6/3/7}
  .vh-gal .vh-gal-cell:nth-child(5){grid-area:2/3/3/5}
  .vh-gal .vh-gal-cell:nth-child(6){grid-area:2/5/3/6}
  .vh-gal .vh-gal-cell:nth-child(7){grid-area:3/1/4/2}
  .vh-gal .vh-gal-cell:nth-child(8){grid-area:3/2/4/4}
  .vh-gal .vh-gal-cell:nth-child(9){grid-area:3/4/4/5}
  .vh-gal .vh-gal-cell:nth-child(10){grid-area:3/5/4/7}
  .vh-gal .vh-gal-cell{border-radius:14px}
}
/* R3d: header clear of fixed nav, grid = 75% screen */
.vh-trip-top{margin-top:88px;padding:26px 48px 14px;text-align:center}
.vh-trip-top h1{font-size:clamp(28px,3vw,38px);margin:0 0 4px}
.vh-trip-top p{font-size:16px;color:#4b5563}
@media (min-width:768px){.vh-gal{height:75vh;min-height:480px}}
@media (max-width:767px){.vh-trip-top{margin-top:64px;padding:18px 20px 10px}.vh-trip-top h1{font-size:26px}}
/* R4: richer trip content */
.vh-trip-body h4{font-size:16px;font-weight:700;color:#0B1528;margin:0 0 8px}
.vh-places{list-style:none;padding:0;margin:0 0 8px;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.vh-places li{background:#f6f7f9;border-radius:12px;padding:14px 16px;margin:0}
.vh-places li strong{display:block;font-size:15px;color:#0B1528;margin-bottom:3px}
.vh-places li span{font-size:14px;line-height:1.55;color:#4b5563}
.vh-itin{list-style:none;padding:0;margin:0 0 8px}
.vh-itin li{position:relative;padding-left:64px;margin-bottom:12px}
.vh-itin li b{position:absolute;left:0;top:2px;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#c0303c;background:#fdecec;border-radius:999px;padding:3px 8px}
.vh-incl{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 8px}
.vh-incl ul{list-style:none;padding:0;margin:0}
.vh-incl li{padding-left:24px;position:relative}
.vh-incl li::before{position:absolute;left:0;top:0;font-weight:700}
.vh-incl .vh-yes li::before{content:"\2713";color:#16a34a}
.vh-incl .vh-no li::before{content:"\2715";color:#c0303c}
@media (max-width:767px){.vh-places,.vh-incl{grid-template-columns:1fr}.vh-itin li{padding-left:0;padding-top:22px}.vh-itin li b{top:0}}
/* R5: mobile gallery = swipe strip */
@media (max-width:767px){
.vh-gal{display:flex;flex-direction:row;overflow-x:auto;scroll-snap-type:x mandatory;height:auto;min-height:0;gap:8px;padding:0 20px 6px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.vh-gal::-webkit-scrollbar{display:none}
.vh-gal .vh-gal-cell,.vh-gal .vh-gal-cell:first-child{flex:0 0 84vw;aspect-ratio:4/3;height:auto;max-height:none;scroll-snap-align:center;opacity:1;transform:none;animation:none}
.vh-gal .vh-gal-cell img,.vh-gal .vh-gal-cell:first-child img{max-height:none}
.vh-gal-hint{display:block;padding:6px 20px 0;font-size:12px;color:#6b7280;text-align:center}
}
@media (min-width:768px){.vh-gal-hint{display:none}}
/* R6: listing cards = home package cards */
.vh-list{grid-template-columns:repeat(auto-fill,300px);justify-content:start;gap:16px;padding:32px 48px 48px}
.vh-card{position:relative;border:1px solid #E4E9F0;border-radius:18px;box-shadow:0 2px 12px rgba(11,21,40,.06);transition:box-shadow .3s ease,transform .3s ease}
.vh-card:hover{box-shadow:0 12px 26px rgba(11,21,40,.13);transform:translateY(-3px)}
.vh-card>a{display:block;aspect-ratio:4/5;overflow:hidden;background:#e9edf3}
.vh-card-img{height:100%;aspect-ratio:auto}
.vh-card:hover .vh-card-img{transform:none}
.vh-card-tag{position:absolute;left:10px;top:10px;padding:5px 11px;border-radius:999px;background:rgba(11,21,40,.78);color:#fff;font-size:11px;letter-spacing:.06em}
.vh-card-body{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"t b" "m b";align-items:center;column-gap:12px;row-gap:2px;padding:16px 16px 18px}
.vh-card-title{grid-area:t;font-size:17px;line-height:1.25}
.vh-card-meta{grid-area:m;font-size:11px;font-weight:600;margin:0}
.vh-card-btn{grid-area:b;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 20px;border-radius:999px;background:linear-gradient(100deg,#c0303c,#e0562f);color:#fff;font-size:14px;font-weight:700;text-decoration:none;align-self:center}
@media (max-width:767px){.vh-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px 16px 32px}.vh-card-body{grid-template-columns:1fr;grid-template-areas:"t" "m" "b";padding:12px 12px 14px;row-gap:4px}.vh-card-btn{width:100%;margin-top:6px;min-height:38px}.vh-card-title{font-size:15px}}
@media (max-width:767px){.vh-card-btn{white-space:nowrap;font-size:13px;padding:0 12px}.vh-card-meta{font-size:11px}.vh-card-body{padding:10px 10px 12px}}
.vh-list .vh-card{padding:0!important;border-radius:18px!important}
