/* ==========================================================================
   Journey Editorial: components (step 7). Port of the LOCKED prototype (theme-fixes/step7-journey-prototype/article-journey.css, revision 7). Loaded only on the
   Journey layout (inc/article.php). Scope: .article--journey (post_class of a Journey) and .tl-journey-* classes. NOT touched: .tl-media / Media Grid, article.css rules,
   global typography tokens. Every editorial image is a Media Grid v1.1 block; the hero stays the production 2:1. Journey uses the master roles (Inter body 16/300/1.75,
   H2 24/1.25 and H3 20/1.3 Source Serif 4, Meta 12, Button 12/500/1.2/.08em, Eyebrow master) except the two Journey-only roles: section subtitle and numeral.
   ========================================================================== */

/* ---- 1. Eyebrow: subtype text, never a link (TRAINS / CRUISES). Same gold uppercase text as the production .article-eyebrow, without its trailing rule ---- */
/* Journey eyebrow: gold uppercase text only. No trailing rule and no replacement ornament (the production .article-eyebrow draws a 24px rule with ::after; it is removed for Journey, scoped). */
.article-eyebrow--journey::after{content:none;display:none;}

/* ---- 2. Section heading + Journey Section Subtitle ----
   Owner decision 2026-10-30: sections are NOT numbered (Journey Editorial, Train and Cruise). .tl-journey-section-heading is a standard article H2 (article.css:
   size, margin 44px 0 18px, 40px gold rule under the text); the class stays because the first-child and drop cap rules below use it. The Essential Information
   heading uses the same class. Previously: CSS counter, numeral and 28px rule (removed). */
.article--journey .article-body > h2.tl-journey-section-heading:first-child{margin-top:0;}
.article--journey .article-body p.tl-journey-section-subtitle{
  margin:0 0 22px;
  font-family:var(--font-editorial);font-weight:400;font-size:17px;line-height:1.45;letter-spacing:normal;color:var(--color-text-muted);
}

/* ---- 2b. Drop cap: ON, exactly 3 lines, same as every Traveleak article (production article.css: the first paragraph of the body, initial-letter 3, opt out with the
   "no-drop-cap" class). Journey Review and any Journey text that starts with a paragraph use that production rule UNCHANGED. A Journey Editorial body starts with a
   numbered heading and its subtitle, so the production "first paragraph" is the section SUBTITLE: it stays plain, and the drop cap goes to the first text paragraph
   of the first section (heading, subtitle, then the paragraph). Same values as article.css (76px float fallback, initial-letter 3 where supported). ---- */
.article-page .article.article--journey .article-body > p.tl-journey-section-subtitle:first-of-type:not(:focus)::first-letter{
  float:none;font:inherit;line-height:inherit;letter-spacing:inherit;padding:0;margin:0;color:inherit;-webkit-initial-letter:normal;initial-letter:normal;
}
.article-page .article.article--journey .article-body > h2.tl-journey-section-heading:first-child + p.tl-journey-section-subtitle + p:not(.no-drop-cap):not(:focus)::first-letter{
  float:left;font-family:var(--font-editorial);font-size:76px;font-style:normal;font-weight:400;line-height:.78;margin:0;padding:6px 12px 0 0;color:var(--color-text);
}
@supports (initial-letter:3) or (-webkit-initial-letter:3){
  .article-page .article.article--journey .article-body > h2.tl-journey-section-heading:first-child + p.tl-journey-section-subtitle + p:not(.no-drop-cap):not(:focus)::first-letter{
    float:none;font-size:inherit;line-height:inherit;padding:0;margin:0 14px 0 0;-webkit-initial-letter:3;initial-letter:3;
  }
}

/* ---- 5. Train Route: map + AT A GLANCE (dynamic block). Side by side from 641px, stacked at 640px and below ---- */
.article--journey .article-body .tl-journey-route{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,31%);column-gap:12px;row-gap:0;align-items:stretch;margin:26px 0;}
.article--journey .article-body .tl-journey-route__map{display:contents;} /* map frame and At a glance share row 1 (same height); the caption takes row 2 across both columns (Owner 2026-10-30) */
.article--journey .article-body .tl-journey-route__frame{position:relative;grid-column:1;grid-row:1;min-height:190px;background:var(--color-surface);overflow:hidden;}
.article--journey .article-body .tl-journey-route__frame img,.article--journey .article-body .tl-journey-route__frame svg{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;}
.article--journey .article-body .tl-journey-route__attr{position:absolute;right:8px;bottom:6px;font:400 9px/1.2 var(--font-sans);color:rgba(111,108,102,.8);}
.article--journey .article-body .tl-journey-route__caption{grid-column:1 / -1;grid-row:2;margin:10px 0 0;font-family:var(--font-sans);font-size:var(--text-caption-size,12px);font-weight:400;line-height:1.6;color:var(--color-text-muted);}
.article--journey .article-body .tl-journey-glance{grid-column:2;grid-row:1;margin:0;padding:18px 18px 8px;background:var(--color-surface);}
.article--journey .article-body .tl-journey-glance__label{margin:0 0 12px;font-family:var(--font-sans);font-size:10px;font-weight:500;line-height:1.4;letter-spacing:.14em;text-transform:uppercase;color:var(--color-accent);}
.article--journey .article-body .tl-journey-glance dl{margin:0;padding:0;}
.article--journey .article-body .tl-journey-glance__item{display:grid;grid-template-columns:20px 1fr;gap:0 10px;margin:0 0 14px;}
.article--journey .article-body .tl-journey-glance__item svg{width:18px;height:18px;margin-top:2px;stroke:var(--color-text);fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;}
.article--journey .article-body .tl-journey-glance dt{margin:0;font-family:var(--font-sans);font-size:12px;font-weight:600;line-height:1.4;color:var(--color-text);}
.article--journey .article-body .tl-journey-glance dd{margin:0;font-family:var(--font-sans);font-size:12px;font-weight:400;line-height:1.5;color:var(--color-text-muted);}
@media (max-width:640px){
  .article--journey .article-body .tl-journey-route{grid-template-columns:1fr;}
  .article--journey .article-body .tl-journey-route__frame,.article--journey .article-body .tl-journey-route__caption,.article--journey .article-body .tl-journey-glance{grid-column:1;grid-row:auto;}
  .article--journey .article-body .tl-journey-glance{margin-top:12px;}
  .article--journey .article-body .tl-journey-route__frame{min-height:0;aspect-ratio:2/1;}
  .article--journey .article-body .tl-journey-glance{padding:18px 18px 6px;}
}

/* ---- 6. Essential Information + Reservations & Contact (Journey-only; same hierarchy as the production Hotel Essential Information, no background, no icons) ----
   Values mirror article-hotel.css (.hotel-facts rows, .hotel-label, .hotel-contact links, .rate-cta__btn, .affiliate-disclosure) but live in Journey classes, so Hotel CSS is not loaded here. */
.article--journey .article-body .tl-journey-essential{margin:22px 0 0;} /* with the 16px paragraph margin above it = the 36px gap above any article H2 */
.article--journey .article-body .tl-journey-essential > h2.tl-journey-section-heading{margin-top:0;}
.article--journey .article-body .tl-journey-facts{margin:0;padding:0;}
.article--journey .article-body .tl-journey-facts__row{display:grid;grid-template-columns:minmax(120px,200px) minmax(0,1fr);gap:0 24px;padding:11px 0;border-top:1px solid var(--color-border);}
.article--journey .article-body .tl-journey-facts dt{margin:0;font:500 10px/1.75 var(--font-sans);letter-spacing:.14em;text-transform:uppercase;color:var(--color-text-muted);padding-top:5px;text-decoration:underline;text-decoration-color:rgba(176,138,82,.55);text-decoration-thickness:1px;text-underline-offset:6px;}
.article--journey .article-body .tl-journey-facts dd{margin:0;font:300 16px/1.75 var(--font-sans);color:var(--color-text);}
.article--journey .article-body .tl-journey-facts dd a{color:var(--color-text);text-decoration:none;border-bottom:1px solid currentColor;overflow-wrap:anywhere;}
.article--journey .article-body .tl-journey-facts dd a:hover{opacity:.8;}
.article--journey .article-body .tl-journey-contact{margin:28px 0 0;padding-top:28px;border-top:1px solid var(--color-border);}
.article--journey .article-body .tl-journey-contact .tl-journey-facts__row:first-child{border-top:0;padding-top:0;}
.article--journey .article-body .tl-journey-end{margin:28px 0 0;}
.article--journey .article-body .tl-journey-sources{margin:0;font-style:italic;}
.article--journey .article-body .tl-journey-credit{margin:10px 0 0;font-family:var(--font-sans);font-size:var(--text-caption-size,12px);font-weight:400;line-height:1.6;color:var(--color-text-muted);}
.article--journey .article-body .tl-journey-label{margin:0 0 12px;font:600 12px/1.4 var(--font-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--color-accent);}
.article--journey .article-body .tl-journey-cta{margin:24px 0 0;}
.article--journey .article-body .tl-journey-cta__btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 24px;background:var(--color-dark,#171614);color:#fff;border:0;border-radius:var(--radius,2px);font:500 12px/1.5 var(--font-sans);letter-spacing:.08em;text-transform:uppercase;text-align:center;text-decoration:none;transition:background .2s var(--ease,ease);}
.article--journey .article-body .tl-journey-cta__btn:hover{background:#000;color:#fff;}
.article--journey .article-body .tl-journey-cta__btn:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px;}
.article--journey .article-body .tl-journey-cta .affiliate-disclosure{margin:14px 0 0;font:300 12px/1.5 var(--font-sans);letter-spacing:normal;color:var(--color-text-muted);}
@media (max-width:640px){
  .article--journey .article-body .tl-journey-facts__row{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 0;}
  .article--journey .article-body .tl-journey-facts dt{padding-top:0;text-underline-offset:4px;}
  .article--journey .article-body .tl-journey-cta__btn{display:flex;width:100%;}
}

/* ---- 7. Signature Hotels & Resorts module on a Journey: the supporting line may use the full width of the band (one line on desktop). Journey-scoped through the
   modifier class stay-band--journey that the Journey layout adds to the shared band; the shared article-stays.css (max-width 720px) is not touched. ---- */
.stay-band.stay-band--journey .section-desc{max-width:none;}

/* ---- 8. Route block variants (the block prints what it has): no map = At a Glance only; no glance = the map only (fixed 2.2:1). ---- */
.article--journey .article-body .tl-journey-route--no-map,.article--journey .article-body .tl-journey-route--no-glance{grid-template-columns:minmax(0,1fr);}
.article--journey .article-body .tl-journey-route--no-map .tl-journey-glance{grid-column:1;}
.article--journey .article-body .tl-journey-route--no-glance .tl-journey-route__frame{aspect-ratio:2.2/1;min-height:0;}
