/* Tour extensions - list page. Loads on top of extensions-core.css.
   Tours group by sub-region/theme (variable number of categories per
   destination), so the layout is a labelled category block + a responsive
   card grid, rather than the hotel page's fixed 3-column duration layout. */

.ml-ext-main .tour-cat{margin-bottom:56px}
.ml-ext-main .tour-cat:last-child{margin-bottom:0}
.ml-ext-main .tour-cat-head{display:flex;align-items:center;gap:12px;margin-bottom:24px;padding-bottom:14px;border-bottom:2px solid var(--gold)}
.ml-ext-main .tour-cat-head .icon{width:40px;height:40px;background:var(--gold-soft);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--gold);font-size:14px;font-weight:700;flex-shrink:0;letter-spacing:.5px}
.ml-ext-main .tour-cat-head .text h3{font-size:21px;font-weight:500;color:var(--ink);margin-bottom:2px;line-height:1.2}
.ml-ext-main .tour-cat-head .text p{font-size:12px;color:var(--grey);font-weight:300;line-height:1.4}

.ml-ext-main .tour-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:26px;align-items:stretch}

.ml-ext-main .tour-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);box-shadow:0 2px 8px rgba(0,20,54,.06);overflow:hidden;transition:box-shadow .2s,transform .2s,border-color .2s;display:flex;flex-direction:column;height:100%}
.ml-ext-main .tour-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px -14px rgba(0,20,54,.24)}
.ml-ext-main .tour-card-img{position:relative;overflow:hidden;height:200px;background:linear-gradient(135deg,#0a2a5c,#001436)}
.ml-ext-main .tour-card-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ml-ext-main .tour-card-img.has-gallery{cursor:zoom-in}
.ml-ext-main .tour-card-img .no-img{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.35);font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:500}
.ml-ext-main .tour-card-img .placeholder-tag{position:absolute;top:10px;left:10px;background:rgba(0,0,0,.6);color:#fff;padding:3px 8px;border-radius:5px;font-size:9px;letter-spacing:1px;text-transform:uppercase;font-weight:500}
.ml-ext-main .tour-card-img .duration-pill{position:absolute;bottom:10px;left:10px;background:rgba(0,12,32,.72);color:#fff;padding:5px 12px;border-radius:20px;font-size:11px;font-weight:500;letter-spacing:.3px;backdrop-filter:blur(4px);display:inline-flex;align-items:center;gap:5px}
.ml-ext-main .tour-card-img .duration-pill svg{width:12px;height:12px;opacity:.85}
.ml-ext-main .gallery-trigger{position:absolute;bottom:10px;right:10px;display:inline-flex;align-items:center;gap:6px;background:rgba(0,12,32,.65);color:#fff;border:0;padding:5px 10px 5px 8px;border-radius:6px;font-size:11px;font-weight:500;letter-spacing:.3px;cursor:pointer;backdrop-filter:blur(4px);transition:background .15s}
.ml-ext-main .gallery-trigger:hover{background:rgba(0,12,32,.85)}
.ml-ext-main .gallery-trigger .gallery-icon{display:inline-flex;line-height:0}

.ml-ext-main .tour-card-body{padding:20px;display:flex;flex-direction:column;flex:1}
.ml-ext-main .tour-card-body .location-tag{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--grey);font-weight:500;margin-bottom:6px}
.ml-ext-main .tour-card-body h4{font-size:18px;font-weight:500;color:var(--ink);margin-bottom:8px;line-height:1.25}
/* Full description shown - no line-clamp. Cards in a row stretch to match the
   tallest (grid align-items:stretch) and the CTA stays pinned to the bottom
   via margin-top:auto, so uneven text lengths still line up their buttons. */
.ml-ext-main .tour-card-body .tour-pitch{font-size:13px;color:var(--grey-2);line-height:1.6;font-weight:300;margin-bottom:14px}
.ml-ext-main .tour-highlights{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:14px}
.ml-ext-main .tour-highlight{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;background:var(--bone);border-radius:20px;font-size:10px;color:var(--grey-2);font-weight:400}
.ml-ext-main .tour-highlight .hi{color:var(--gold);font-size:12px}
.ml-ext-main .tour-cta{display:inline-block;margin-top:auto;background:var(--gold);color:#fff;padding:9px 20px;border-radius:var(--r-sm);font-size:11px;font-weight:500;letter-spacing:.15em;text-transform:uppercase;text-decoration:none;transition:background .2s;cursor:pointer;align-self:flex-start}
.ml-ext-main .tour-cta:hover{background:var(--gold-hover);color:#fff}

/* Intro split: "Why add a tour" + "Tours we suggest" side by side, so the two
   intros share one row instead of stacking as two full-width sections. The
   left column carries the body copy; the right is a compact bone callout that
   leads into the tour grid below. Stacks under 980px. */
.ml-ext-main .tour-intro-split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:44px;align-items:start}
.ml-ext-main .intro-suggest{background:var(--bone);border:1px solid var(--line);border-radius:var(--r);padding:26px 28px}
.ml-ext-main .intro-suggest .section-kicker{margin-top:0}

/* Flights info block */
.ml-ext-main .tour-flights{display:flex;gap:16px;align-items:flex-start;background:var(--bone);border:1px solid var(--line);border-radius:var(--r);padding:24px 28px;max-width:900px}
.ml-ext-main .tour-flights .flights-icon{flex-shrink:0;width:44px;height:44px;border-radius:10px;background:var(--gold-soft);color:var(--gold);display:flex;align-items:center;justify-content:center}
.ml-ext-main .tour-flights .flights-icon svg{width:22px;height:22px}
.ml-ext-main .tour-flights h4{font-size:15px;font-weight:500;color:var(--ink);margin-bottom:6px}
.ml-ext-main .tour-flights p{font-size:14px;color:var(--grey-2);line-height:1.6;font-weight:300;margin:0}

/* Shared components reused by the tour list page (self-contained, since
   tour.css loads without hotel.css): How-it-works steps + FAQ accordion. */
.ml-ext-main .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative}
/* Connector line runs between the FIRST and LAST circle centres. Circles are
   left-aligned in each third (24px padding + 32px radius = 56px from column
   edge), not centred - so the line must start at 56px and end 56px before the
   last column's centre, else it floats off to the right of circle 3. */
.ml-ext-main .steps::before{content:'';position:absolute;top:31px;left:56px;right:calc(33.333% - 56px);height:2px;background:var(--line)}
.ml-ext-main .step{text-align:left;position:relative;padding:0 24px}
.ml-ext-main .step-num{width:64px;height:64px;border-radius:50%;background:var(--paper);border:2px solid var(--gold);display:flex;align-items:center;justify-content:center;margin:0 0 20px;font-size:24px;font-weight:700;color:var(--gold);position:relative;z-index:2}
.ml-ext-main .step h4{font-size:18px;font-weight:500;color:var(--ink);margin-bottom:8px}
.ml-ext-main .step p{font-size:14px;color:var(--grey);font-weight:300;line-height:1.55}

.ml-ext-main .faq-list{max-width:800px;margin:0}
.ml-ext-main .faq-item{border-bottom:1px solid var(--line)}
.ml-ext-main .faq-item:first-child{border-top:1px solid var(--line)}
.ml-ext-main .faq-q{display:flex;justify-content:space-between;align-items:center;padding:20px 0;cursor:pointer;gap:16px}
.ml-ext-main .faq-q h4{font-size:17px;font-weight:500;color:var(--ink);margin:0}
.ml-ext-main .faq-q .faq-toggle{width:32px;height:32px;border-radius:50%;background:var(--bone);display:flex;align-items:center;justify-content:center;font-size:18px;color:var(--grey);transition:transform .2s,background .15s;flex-shrink:0}
.ml-ext-main .faq-item.is-open .faq-q .faq-toggle{transform:rotate(45deg);background:var(--gold-soft);color:var(--gold)}
.ml-ext-main .faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.ml-ext-main .faq-item.is-open .faq-a{max-height:600px}
.ml-ext-main .faq-a p{padding:0 0 20px;font-size:15px;color:var(--grey-2);line-height:1.65;font-weight:300}

@media (max-width:980px){
  .ml-ext-main .tour-intro-split{grid-template-columns:1fr;gap:28px}
  .ml-ext-main .tour-grid{grid-template-columns:1fr;gap:22px}
  .ml-ext-main .tour-cat{margin-bottom:44px}
  .ml-ext-main .steps{grid-template-columns:1fr;gap:32px}
  .ml-ext-main .steps::before{display:none}
}
@media (max-width:600px){
  .ml-ext-main .tour-card-body{padding:16px}
}
