/* TripObook Japan/Thailand landing pages (2026-10-28). Loaded only on those pages by tripobook-landing.php. */
.tb-lp { color: var(--tb-ink, #14213d); }
.tb-lp h1, .tb-lp h2, .tb-lp h3 { font-family: var(--tb-display, "Plus Jakarta Sans", sans-serif); color: var(--tb-ink, #14213d); letter-spacing: -.02em; }
.tb-lp h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0 0 12px; }
.tb-lp h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.tb-lp p { font-size: 17px; line-height: 1.6; }
.tb-lp-section { margin: 64px 0; }
.tb-lp-sub { color: var(--tb-muted, #5b6478); margin-bottom: 20px; }

/* hero */
.tb-lp-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin: 24px 0 32px; }
.tb-lp-hero h1 { font-size: clamp(38px, 5vw, 60px); font-weight: 800; line-height: 1.05; margin: 8px 0 16px; }
.tb-lp-eyebrow { display: inline-block; background: #fff3e8; color: #b45a12; font-weight: 700; font-size: 14px !important; padding: 6px 14px; border-radius: 999px; margin: 0; }
.tb-lp-lead { font-size: 20px !important; color: var(--tb-muted, #5b6478); margin-bottom: 24px; }
.tb-lp-hero-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 10px 30px rgba(20, 33, 61, .12); }
.tb-lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tb-lp .tb-lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; font-size: 17px; font-weight: 700; color: #fff; background: var(--tb-orange, #f28c38); border: 2px solid var(--tb-orange, #f28c38); text-decoration: none; }
.tb-lp .tb-lp-btn:hover { color: #fff; background: #d9772a; border-color: #d9772a; }
.tb-lp .tb-lp-btn-ghost { background: #fff; color: var(--tb-blue, #246bce); border-color: var(--tb-blue, #246bce); }
.tb-lp .tb-lp-btn-ghost:hover { background: var(--tb-blue, #246bce); color: #fff; border-color: var(--tb-blue, #246bce); }

/* trust strip */
.tb-lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--tb-blue-soft, #eaf2fd); border-radius: 20px; padding: 20px 24px; }
.tb-lp-trust div { display: flex; flex-direction: column; }
.tb-lp-trust strong { font-size: 17px; }
.tb-lp-trust span { color: var(--tb-muted, #5b6478); font-size: 15px; }

/* cards */
.tb-lp-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tb-lp-card { background: #fff; border: 1px solid var(--tb-line, #e4e8f0); border-radius: 16px; padding: 22px; }
.tb-lp-card p { font-size: 16px; color: var(--tb-muted, #5b6478); margin: 0; }

/* tours grid (theme cards inside) */
.tb-lp #tb-lp-tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tb-lp #tb-lp-tours > * { width: auto; max-width: none; margin: 0; }

/* seasons + gallery */
.tb-lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.tb-lp-seasons { list-style: none; padding: 0; margin: 0; }
.tb-lp-seasons li { padding: 14px 0; border-bottom: 1px solid var(--tb-line, #e4e8f0); font-size: 17px; line-height: 1.5; }
.tb-lp-seasons strong { display: block; color: var(--tb-blue, #246bce); }
.tb-lp-gallery { display: grid; gap: 16px; }
.tb-lp-gallery figure { margin: 0; position: relative; }
.tb-lp-gallery img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.tb-lp-gallery figcaption { position: absolute; left: 14px; bottom: 12px; color: #fff; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* quote */
.tb-lp-quote { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; background: var(--tb-navy, #0b1b3f); color: #fff; border-radius: 24px; padding: 40px; scroll-margin-top: 120px; }
.tb-lp-quote h2, .tb-lp-quote-text p, .tb-lp-quote-text li { color: #fff; }
.tb-lp-quote-text ul { padding-left: 20px; margin-top: 16px; }
.tb-lp-quote-text li { font-size: 17px; margin-bottom: 8px; }
.tb-lp-quote-text a { color: #ffb37a; font-weight: 700; }
.tb-lp-quote-form { background: #fff; border-radius: 16px; padding: 24px; color: var(--tb-ink, #14213d); }
.tb-lp-quote-form label, .tb-lp-quote-form .wpcf7-list-item-label { color: var(--tb-ink, #14213d); }
.tb-lp-quote-form .wpcf7-list-item-label { font-size: 12px; line-height: 1.4; }

/* faq */
.tb-lp-faq details { border: 1px solid var(--tb-line, #e4e8f0); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; background: #fff; }
.tb-lp-faq summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.tb-lp-faq details p { margin: 12px 0 0; color: var(--tb-muted, #5b6478); }

/* closing cta */
.tb-lp-cta { text-align: center; background: var(--tb-blue-soft, #eaf2fd); border-radius: 24px; padding: 40px 24px; margin: 64px 0 24px; }
.tb-lp-cta .tb-lp-actions { justify-content: center; }

@media (max-width: 991px) {
  .tb-lp-hero, .tb-lp-split, .tb-lp-quote { grid-template-columns: 1fr; }
  .tb-lp-grid4 { grid-template-columns: 1fr 1fr; }
  .tb-lp #tb-lp-tours { grid-template-columns: 1fr 1fr; }
  .tb-lp-quote { padding: 24px; }
}
@media (max-width: 600px) {
  .tb-lp-section { margin: 44px 0; }
  .tb-lp-trust, .tb-lp-grid4, .tb-lp #tb-lp-tours { grid-template-columns: 1fr; }
  .tb-lp .tb-lp-btn { width: 100%; }
  .tb-lp-hero-img { order: -1; }
}

/* theme list styles add a tick icon and indent to every content list; not wanted here */
.tb-lp .tb-lp-seasons li, .tb-lp .tb-lp-quote-text li { padding-left: 0 !important; background: none !important; }
.tb-lp .tb-lp-seasons li::before, .tb-lp .tb-lp-seasons li::after { content: none !important; display: none !important; }
.tb-lp .tb-lp-quote-text ul { list-style: disc; padding-left: 20px; }
.tb-lp .tb-lp-quote-text li::before { content: none !important; display: none !important; }
.tb-lp .tb-lp-trust strong, .tb-lp .tb-lp-seasons strong { font-weight: 700 !important; }

/* reviews: the shortcode prints every review with its full photo gallery; show 6 compact cards */
.tb-lp .package_review { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tb-lp .package_review_box { background: #fff; border: 1px solid var(--tb-line, #e4e8f0); border-radius: 16px; padding: 20px; margin: 0 !important; }
.tb-lp .package_review_box:nth-child(n+7) { display: none !important; }
.tb-lp .package_review_box .gallery-wrapper { display: none !important; }
.tb-lp .package_customer_review { gap: 12px; align-items: center; flex-wrap: wrap; }
.tb-lp .package_cureview_info figure { margin: 0; }
.tb-lp .package_cureview_info figure img { width: 56px !important; height: 56px !important; max-width: 56px; border-radius: 50%; object-fit: cover; }
.tb-lp .package_review_start img { width: 18px !important; height: 18px !important; max-width: 18px; }
.tb-lp .reviews_process { display: none !important; }
.tb-lp .package_review_box p { font-size: 16px; color: var(--tb-muted, #5b6478); margin: 10px 0 0; }
.tb-lp .package_review + * .btn, .tb-lp .load-more-reviews, .tb-lp [class*="view-more"], .tb-lp [class*="load_more"] { display: none !important; }
@media (max-width: 991px) { .tb-lp .package_review { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tb-lp .package_review { grid-template-columns: 1fr; } .tb-lp .package_review_box:nth-child(n+4) { display: none !important; } }

/* keep grid columns from growing to fit long content (the departure-city list is very wide) */
.tb-lp-hero > *, .tb-lp-split > *, .tb-lp-quote > *, .tb-lp-grid4 > *, .tb-lp-trust > * { min-width: 0; }
.tb-lp-quote-form select, .tb-lp-quote-form input, .tb-lp-quote-form textarea { max-width: 100%; width: 100%; }
.tb-lp-quote-form .count_number { display: flex; flex-wrap: wrap; gap: 0 12px; }
.tb-lp-quote-form .count_number > .form-group { flex: 1 1 200px; min-width: 0; }
@media (max-width: 991px) {
  .tb-lp-hero, .tb-lp-split, .tb-lp-quote { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .tb-lp-quote { padding: 20px 16px; }
  .tb-lp-quote-form { padding: 16px; }
}

/* home page: Japan & Thailand feature (tb_home_after_deals) */
.tb-home-feature { padding: 64px 0 8px; }
.tb-home-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tb-home-feature-card { position: relative; display: block; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; min-height: 340px; box-shadow: 0 10px 30px rgba(20, 33, 61, .12); }
.tb-home-feature-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tb-home-feature-card:hover img { transform: scale(1.04); }
.tb-home-feature-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 63, 0) 30%, rgba(11, 27, 63, .85) 100%); }
.tb-home-feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.tb-home-feature-from { align-self: flex-start; background: var(--tb-orange, #f28c38); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.tb-home-feature-body strong { font-family: var(--tb-display, "Plus Jakarta Sans", sans-serif); font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.tb-home-feature-text { font-size: 16px; opacity: .95; max-width: 460px; }
.tb-home-feature-cta { font-weight: 700; margin-top: 6px; }
.tb-home-feature-card:hover, .tb-home-feature-card:focus { color: #fff; }
.tb-home-feature-card:hover .tb-home-feature-cta { text-decoration: underline; }
@media (max-width: 767px) {
  .tb-home-feature { padding-top: 44px; }
  .tb-home-feature-grid { grid-template-columns: 1fr; }
  .tb-home-feature-card { min-height: 300px; }
  .tb-home-feature-body { padding: 20px; }
  .tb-home-feature-body strong { font-size: 26px; }
}
