/* el-om137.css v4
   Centre section headings, eyebrow labels and short intros to match the
   site-wide standard (.b44 h2 / .b44h-head are centred).
   Home page is excluded so Featured Tours, Why Riders and the home FAQ
   2-column layout stay as they are.
   Long body copy, FAQ answers, lists and itinerary days stay left-aligned
   in a centred column.
*/

/* ----- 1. FAQ page: single column, centred chip + intro ----- */
html.hf.hf-faq .b44h-faq .b44w{
  display:block !important;
  max-width:72rem;
  margin-left:auto;
  margin-right:auto;
}
html.hf.hf-faq .b44h-faq .b44h-head{
  position:static !important;
  text-align:center !important;
  max-width:40rem;
  margin:0 auto 2.5rem !important;
}
html.hf.hf-faq .b44h-faq .b44h-head .b44h-chip-soft,
html.hf.hf-faq .b44h-faq .b44h-head h2,
html.hf.hf-faq .b44h-faq .b44h-head p{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html.hf.hf-faq .b44faq-cat > h2{
  text-align:center !important;
}
html.hf.hf-faq .b44-faq-note{
  text-align:center;
}

/* ----- 2. Inner pages (not home): centre section heads ----- */
html.hf.hf-page .b44h-head,
html.hf.hf-about .b44h-head,
html.hf.hf-reviews .b44h-head{
  text-align:center !important;
}
html.hf.hf-page .b44h-head h2,
html.hf.hf-about .b44h-head h2,
html.hf.hf-reviews .b44h-head h2,
html.hf.hf-page .b44h-head p,
html.hf.hf-about .b44h-head p,
html.hf.hf-reviews .b44h-head p,
html.hf.hf-page .b44h-head .b44h-chip-soft,
html.hf.hf-about .b44h-head .b44h-chip-soft,
html.hf.hf-reviews .b44h-head .b44h-chip-soft,
html.hf.hf-page .b44h-head .b44h-rev-pill,
html.hf.hf-about .b44h-head .b44h-rev-pill,
html.hf.hf-reviews .b44h-head .b44h-rev-pill,
html.hf.hf-page .elvids-hd h2,
html.hf.hf-about .elvids-hd h2{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Contact: chip + heading + short intro (form stays left) */
html.hf.hf-page .b44p-contact .cf > .b44h-chip-soft,
html.hf.hf-page .b44p-contact .cinfo > .b44h-chip-soft{
  display:inline-flex !important;
  justify-content:center;
}
html.hf.hf-page .b44p-contact .cf,
html.hf.hf-page .b44p-contact .cinfo{
  text-align:center;
}
html.hf.hf-page .b44p-contact .cf > h2,
html.hf.hf-page .b44p-contact .cinfo > h2,
html.hf.hf-page .b44p-contact .cf > p,
html.hf.hf-page .b44p-contact .cinfo > p{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html.hf.hf-page .b44p-contact .cf form,
html.hf.hf-page .b44p-contact .cinfo form,
html.hf.hf-page .b44p-contact .cf .ff,
html.hf.hf-page .b44p-contact .cf label,
html.hf.hf-page .b44p-contact .cf input,
html.hf.hf-page .b44p-contact .cf textarea,
html.hf.hf-page .b44p-contact .cf select{
  text-align:left;
}

/* About opening intro (chip is in b44h-head; prose was a left column) */
html.hf.hf-about .b44a-intro .b44a-prose{
  text-align:center;
  max-width:52rem;
  margin-left:auto !important;
  margin-right:auto !important;
}
html.hf.hf-about .b44a-intro .b44a-prose p{
  text-align:center;
  margin-left:auto !important;
  margin-right:auto !important;
}

/* Blog index section title */
html.hf.hf-page h2.hfp-sr{
  text-align:center !important;
}

/* Inner-page FAQ blocks: stack the 2-col head + accordion, centre the head.
   Home keeps html.hf .b44h-faq 2-column layout unchanged. */
html.hf.hf-page .b44h-faq .b44w,
html.hf.hf-about .b44h-faq .b44w,
html.hf.hf-reviews .b44h-faq .b44w{
  display:block !important;
}
html.hf.hf-page .b44h-faq .b44h-head,
html.hf.hf-about .b44h-faq .b44h-head,
html.hf.hf-reviews .b44h-faq .b44h-head{
  position:static !important;
  text-align:center !important;
  max-width:40rem;
  margin-left:auto !important;
  margin-right:auto !important;
  margin-bottom:2.5rem !important;
}

/* ----- 3. Recently added FAQ section titles on guides/tours ----- */
section.dhr-faq > h2,
.dhr-faq > h2{
  text-align:center !important;
}

/* ----- Answers, lists, itinerary: stay left for readability ----- */
html.hf.hf-faq .b44h-faq summary,
html.hf.hf-faq .b44h-faq .fqa,
html.hf.hf-faq .b44h-faq details p,
html.hf.hf-faq .b44h-faq details li,
html.hf.hf-faq .b44h-faq details blockquote,
html.hf.hf-faq .b44h-faq details ul,
html.hf.hf-faq .b44h-faq details ol,
html.hf.hf-page .b44h-faq summary,
html.hf.hf-about .b44h-faq summary,
html.hf.hf-reviews .b44h-faq summary,
html.hf.hf-page .b44h-faq .fqa,
html.hf.hf-about .b44h-faq .fqa,
html.hf.hf-page .b44h-faq details p,
html.hf.hf-about .b44h-faq details p,
html.hf.hf-page .b44h-faq details li,
html.hf.hf-about .b44h-faq details li,
.dhr-faq details,
.dhr-faq summary,
.dhr-faq .fqa,
.dhr-faq .fqa p,
.dhr-faq .fqa li,
.dhr-faq .fl,
.b44faq details,
.b44faq summary,
.b44faq .fqa,
.b44faq .fqa p,
.b44faq .fqa li{
  text-align:left !important;
}

/* ===== v2: fluid type, line length, balanced wraps, no overflow =====
   Font families, colours and copy stay the same. Existing clamp() sizes
   are kept where they already fit; fixed sizes get a clamp that matches
   them at 360–1440. The home Featured Tours map (.b44h-ft map/pins/HUD)
   is excluded from font-size and layout changes. */

/* Overflow and wrap safety (not inside form controls or the FT map) */
html.hf .b44,
html.hf .b44w,
html.hf .w,
html.hf article,
html.hf .b44h-head,
html.hf .b44p-hero-in,
html.hf .fqa,
html.hf .elx,
html.hf .b44p-article,
html.hf .b44a-prose{
  min-width:0;
  overflow-wrap:break-word;
  word-wrap:break-word;
}
html.hf h1,
html.hf h2,
html.hf h3,
html.hf h4,
html.hf .bttl,
html.hf .b44h-head h2,
html.hf .b44faq-cat > h2,
html.hf h2.hfp-sr,
html.hf .elementor-heading-title{
  text-wrap:balance;
  overflow-wrap:anywhere;
}
html.hf p,
html.hf .sub,
html.hf .b44h-lead,
html.hf .lead,
html.hf .fqa,
html.hf .fqa p,
html.hf .b44h-head p,
html.hf .b44a-prose p,
html.hf li,
html.hf .b44h-faq details p,
html.hf .dhr-faq .fqa p{
  text-wrap:pretty;
  overflow-wrap:break-word;
}

/* Sensible line lengths for intros and body (not cards, nav, footer, forms, map) */
html.hf .b44h-head p,
html.hf header.hfx .sub,
html.hf header.hfx .b44h-lead,
html.hf .b44p-hero-in .sub{
  max-width:52ch;
}
html.hf.hf-faq .b44h-faq .b44h-head,
html.hf.hf-page .b44h-faq .b44h-head,
html.hf.hf-about .b44h-faq .b44h-head,
html.hf.hf-reviews .b44h-faq .b44h-head{
  max-width:52ch;
}
html.hf.hf-faq .b44h-faq .b44h-head p{
  max-width:52ch;
}
html.hf.hf-about .b44a-intro .b44a-prose{
  max-width:62ch;
}
html.hf .fqa,
html.hf .b44-faq-note,
html.hf .b44p-article .elx > p,
html.hf .b44p-card.bc2 > p,
html.hf .b44a-prose{
  max-width:70ch;
}

/* Fluid type: headings, intros, body. Matches existing sizes at mid/large screens. */
html.hf .b44h-head p,
html.hf .b44p-hero-in .sub,
html.hf header.hfx .sub,
html.hf header.hfx .b44h-lead,
html.hf .b44h-lead{
  font-size:clamp(0.95rem, 0.82rem + 0.45vw, 1.2rem);
  line-height:1.65;
}
html.hf .b44a-prose,
html.hf .b44a-prose p,
html.hf .fqa,
html.hf .fqa p,
html.hf .b44-faq-note,
html.hf .elx > p,
html.hf .b44p-article p,
html.hf .b44p-card p,
html.hf .dhr-faq .fqa p{
  font-size:clamp(0.95rem, 0.88rem + 0.28vw, 1.125rem);
  line-height:1.7;
}
html.hf.hf-faq .b44faq-cat > h2,
html.hf .dhr-faq > h2,
section.dhr-faq > h2{
  font-size:clamp(1.15rem, 1rem + 0.7vw, 1.55rem);
  line-height:1.2;
}
html.hf.hf-page h2.hfp-sr{
  font-size:clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  line-height:1.15;
}

/* Contact intro */
html.hf.hf-page .b44p-contact .cf > h2,
html.hf.hf-page .b44p-contact .cinfo > h2{
  font-size:clamp(1.6rem, 1.15rem + 1.8vw, 2.6rem);
  text-wrap:balance;
}
html.hf.hf-page .b44p-contact .cf > p,
html.hf.hf-page .b44p-contact .cinfo > p{
  max-width:58ch;
  font-size:clamp(0.95rem, 0.88rem + 0.28vw, 1.125rem);
  text-wrap:pretty;
}

/* CTA heading + lead: replace stepped breakpoints with one clamp */
html.hf .b44h-cta h2,
html.hf .el-xp-l h2{
  font-size:clamp(1.7rem, 0.7rem + 3.1vw, 3.75rem);
  line-height:1.15;
  text-wrap:balance;
}
html.hf .b44h-cta .lead,
html.hf .el-xp-l .lead{
  font-size:clamp(1.05rem, 0.85rem + 0.7vw, 1.5rem);
  max-width:58ch;
  line-height:1.65;
  text-wrap:pretty;
}

/* Long FAQ questions stay on the left and wrap beside the + icon */
html.hf .b44h-faq summary,
html.hf .dhr-faq summary,
html.hf .b44faq summary{
  overflow-wrap:anywhere;
  min-width:0;
}

/* Featured Tours map / pins / day HUD are not targeted by the rules above.
   Do not add font-size or layout overrides there. */

/* Keep form fields at 16px so iOS does not zoom; don't clamp inputs */
html.hf input,
html.hf select,
html.hf textarea,
html.hf button,
html.hf .el-xp input,
html.hf .el-xp select,
html.hf .el-xp textarea{
  text-wrap:unset;
}


/* ===== v3: Plan a tour + same pattern elsewhere =====
   Short intros after a centred heading are centred.
   Accordion/terms sit in the same centred column; questions and answers stay left. */
html.hf.hf-custom .b44c-intro .b44c-lead,
html.hf.hf-custom .b44c-intro .b44a-prose.b44c-lead,
html.hf.hf-page .b44h-head + .b44c-lead,
html.hf.hf-page .b44h-head + .b44a-prose.b44c-lead{
  text-align:center;
  margin-left:auto !important;
  margin-right:auto !important;
}
html.hf.hf-custom .b44c-intro .b44c-lead p,
html.hf.hf-custom .b44c-intro .b44a-prose.b44c-lead p,
html.hf.hf-page .b44h-head + .b44c-lead p,
html.hf.hf-page .b44h-head + .b44a-prose.b44c-lead p{
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
html.hf.hf-custom .b44c-intro .b44faq,
html.hf.hf-custom .b44c-intro .b44c-acc,
html.hf.hf-page .b44h-head + .b44faq,
html.hf.hf-page .b44h-head + .b44c-acc,
html.hf.hf-reviews #written-reviews .b44faq,
html.hf.hf-page .b44h-head + .dhr-blogacc,
html.hf.hf-page .el-terms-sec .dhr-blogacc{
  margin-left:auto !important;
  margin-right:auto !important;
  width:100%;
}
html.hf.hf-custom .b44c-intro .b44faq summary,
html.hf.hf-custom .b44c-intro .b44faq details p,
html.hf.hf-custom .b44c-intro .b44faq details li,
html.hf.hf-custom .b44c-intro .b44faq details ul,
html.hf.hf-custom .b44c-intro .b44faq details ol,
html.hf.hf-reviews #written-reviews .b44faq summary,
html.hf.hf-reviews #written-reviews .b44faq blockquote,
html.hf.hf-reviews #written-reviews .b44faq p,
html.hf.hf-page .dhr-blogacc summary,
html.hf.hf-page .dhr-blogacc .bla,
html.hf.hf-page .dhr-blogacc li{
  text-align:left !important;
}
/* Long body prose under a centred head: centre the column only, keep text left */
html.hf.hf-page .b44h-head + .b44a-prose:not(.b44c-lead),
html.hf.hf-about .b44h-head + .b44a-prose:not(.b44c-lead){
  margin-left:auto !important;
  margin-right:auto !important;
  max-width:46rem;
  text-align:left;
}


/* ===== v4: centre leftover headings inside short intro/lead blocks =====
   Fixes "Ready to Customise your Ladakh Adventure?" (h3 left, p centred)
   and the same pattern on any other page. Accordion/form fields stay left. */
html.hf.hf-page .b44c-lead :is(h2,h3,h4),
html.hf.hf-custom .b44c-lead :is(h2,h3,h4),
html.hf.hf-custom .b44c-intro .b44c-lead :is(h2,h3,h4),
html.hf.hf-custom .b44c-intro .b44a-prose.b44c-lead :is(h2,h3,h4),
html.hf.hf-about .b44c-lead :is(h2,h3,h4){
  text-align:center !important;
  margin-left:auto !important;
  margin-right:auto !important;
  text-wrap:balance;
}
