/* Wildly Wandering — individual Munro detail page spacing only.
   Intentionally does not affect /munros/ listing, maps, routes, posts or admin. */
body.munro-detail-page { overflow-x: hidden; }
body.munro-detail-page > main { width:100% !important; max-width:none !important; padding:0 0 72px !important; margin:0 auto !important; box-sizing:border-box; }
body.munro-detail-page .munro-detail-hero {
  box-sizing:border-box; width:min(100% - 40px,1240px) !important;
  max-width:1240px !important; margin:32px auto 0 !important;
  padding:0 !important; border:0 !important; text-align:left !important;
  border-radius:18px !important; overflow:hidden; background:#eaf1e8;
}
body.munro-detail-page .munro-hero-shell { box-sizing:border-box; width:100%; min-width:0; }
body.munro-detail-page .munro-hero-copy { box-sizing:border-box; min-width:0; padding:clamp(25px,4vw,56px) !important; }
body.munro-detail-page .munro-hero-copy h1 { max-width:100%; overflow-wrap:break-word; line-height:1.12 !important; }
body.munro-detail-page .munro-hero-intro { max-width:68ch; overflow-wrap:break-word; line-height:1.7; }
body.munro-detail-page .munro-hero-media { min-width:0; overflow:hidden; }
body.munro-detail-page .munro-hero-media img { display:block; width:100%; height:100%; max-height:580px; object-fit:cover; }
body.munro-detail-page .munro-detail {
  box-sizing:border-box; width:min(100% - 40px,1240px) !important;
  max-width:1240px !important; margin:0 auto !important;
  padding:28px 0 64px !important; background:transparent !important;
}
body.munro-detail-page .ww-munro-facts { box-sizing:border-box; width:100%; max-width:100%; margin:0 0 24px !important; }
body.munro-detail-page .ww-munro-fact { box-sizing:border-box; min-width:0; padding:18px 20px; overflow-wrap:anywhere; }
body.munro-detail-page .munro-detail-section,
body.munro-detail-page .munro-linked-post { box-sizing:border-box; width:100%; max-width:100%; margin:0 0 24px !important; padding:clamp(22px,3.5vw,40px) !important; border-radius:16px !important; }
body.munro-detail-page .section-heading-row { display:flex; flex-wrap:wrap; align-items:baseline; gap:8px 20px; margin:0 0 22px !important; }
body.munro-detail-page .section-heading-row h2 { margin:0 !important; line-height:1.2; }
body.munro-detail-page .section-heading-row .section-note { margin:0; line-height:1.5; }
body.munro-detail-page .stats-grid,
body.munro-detail-page .munro-info-grid { width:100%; min-width:0; gap:14px !important; }
body.munro-detail-page .stats-grid .stat-card,
body.munro-detail-page .munro-info-grid > div { box-sizing:border-box; min-width:0; padding:18px 20px !important; overflow-wrap:anywhere; }
body.munro-detail-page .stats-grid .stat-card strong,
body.munro-detail-page .munro-info-grid strong { overflow-wrap:anywhere; }
body.munro-detail-page .experience-grid { min-width:0; align-items:start; gap:clamp(18px,3vw,36px); }
body.munro-detail-page .experience-copy,
body.munro-detail-page .experience-media { box-sizing:border-box; min-width:0; }
body.munro-detail-page .experience-media img { display:block; max-width:100%; height:auto; border-radius:12px; }
body.munro-detail-page .munro-photo-grid { gap:16px; }
body.munro-detail-page .munro-photo-grid img,
body.munro-detail-page .munro-route-map { max-width:100%; border-radius:12px; }
body.munro-detail-page .munro-back { display:inline-flex; margin:10px 0 0 !important; }
@media(max-width:850px){
 body.munro-detail-page .munro-detail-hero { width:calc(100% - 32px) !important; margin-top:20px !important; }
 body.munro-detail-page .munro-detail { width:calc(100% - 32px) !important; padding-top:18px !important; }
 body.munro-detail-page .munro-detail-section,body.munro-detail-page .munro-linked-post { margin-bottom:18px !important; padding:24px !important; }
 body.munro-detail-page .munro-hero-copy { padding:26px 24px !important; }
}
@media(max-width:600px){
 body.munro-detail-page .munro-detail-hero { width:calc(100% - 24px) !important; margin-top:12px !important; border-radius:13px !important; }
 body.munro-detail-page .munro-detail { width:calc(100% - 24px) !important; padding-top:14px !important; }
 body.munro-detail-page .munro-hero-copy { padding:22px 18px !important; }
 body.munro-detail-page .munro-hero-copy h1 { font-size:clamp(30px,9vw,46px) !important; }
 body.munro-detail-page .munro-detail-section,body.munro-detail-page .munro-linked-post { padding:20px 16px !important; margin-bottom:14px !important; border-radius:12px !important; }
 body.munro-detail-page .section-heading-row { gap:6px; margin-bottom:16px !important; }
 body.munro-detail-page .stats-grid,body.munro-detail-page .munro-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
 body.munro-detail-page .stats-grid .stat-card,body.munro-detail-page .munro-info-grid > div { padding:14px 12px !important; }
 body.munro-detail-page .stats-grid .stat-card strong { font-size:clamp(15px,4.5vw,20px) !important; }
 body.munro-detail-page .experience-grid { grid-template-columns:1fr !important; }
 body.munro-detail-page .munro-photo-grid { grid-template-columns:1fr !important; gap:12px; }
 body.munro-detail-page .munro-photo-grid img { height:auto; max-height:360px; object-fit:cover; }
}
@media(max-width:380px){ body.munro-detail-page .stats-grid,body.munro-detail-page .munro-info-grid { grid-template-columns:1fr !important; } }

/* Shared Munro detail refinements: no description in hero; comfortable rounded boxes. */
body.munro-detail-page .munro-detail-hero .munro-hero-divider,
body.munro-detail-page .munro-detail-hero .munro-hero-intro { display:none !important; }
body.munro-detail-page .munro-detail-section,
body.munro-detail-page .munro-linked-post { border-radius:18px !important; overflow:hidden; }
/* The About section's rich-content has its own white background in existing theme.
   Pad and round that inner panel so the letters never touch its edges. */
body.munro-detail-page .munro-detail-section > .rich-content {
 box-sizing:border-box !important; display:block; width:100% !important; max-width:100% !important;
 padding:clamp(20px,3.2vw,34px) !important; border-radius:16px !important;
 overflow-wrap:break-word; line-height:1.75 !important;
}
body.munro-detail-page .ww-munro-fact,
body.munro-detail-page .stats-grid .stat-card,
body.munro-detail-page .munro-info-grid > div { border-radius:13px !important; }
@media (max-width:600px) {
 body.munro-detail-page .munro-detail-section,body.munro-detail-page .munro-linked-post{border-radius:14px!important;}
 body.munro-detail-page .munro-detail-section > .rich-content{padding:18px!important;border-radius:12px!important;}
}

/* Dedicated About card: put the inset on the actual inner wrapper, not a competing outer rule. */
body.munro-detail-page .munro-detail .ww-munro-about-section {
  padding:0!important; border-radius:20px!important; background:transparent!important;
  overflow:visible!important;
}
body.munro-detail-page .munro-detail .ww-munro-about-section .ww-munro-about-inner {
  box-sizing:border-box!important; width:100%!important; max-width:100%!important;
  padding:clamp(28px,4.5vw,52px)!important; background:#fff!important;
  border-radius:20px!important; overflow:hidden!important;
}
body.munro-detail-page .munro-detail .ww-munro-about-section .ww-munro-about-copy {
  width:100%!important; max-width:none!important; background:transparent!important;
  padding:0!important; margin:0!important; border:0!important;
  line-height:1.8!important; overflow-wrap:break-word!important;
}
body.munro-detail-page .munro-detail .ww-munro-about-section .section-heading-row {
  padding:0!important; margin:0 0 24px!important;
}

/* All Munro detail pages: match At a glance inset to the About card. */
body.munro-detail-page .munro-detail .ww-munro-glance-section {
  box-sizing:border-box!important; padding:0!important;
  border-radius:20px!important; background:transparent!important; overflow:visible!important;
}
body.munro-detail-page .munro-detail .ww-munro-glance-section > .ww-munro-glance-inner {
  box-sizing:border-box!important; width:100%!important; max-width:100%!important;
  padding:clamp(28px,4.5vw,52px)!important; border-radius:20px!important;
  background:#fff!important; overflow:hidden!important;
}
body.munro-detail-page .munro-detail .ww-munro-glance-section .section-heading-row {
  padding:0!important; margin:0 0 24px!important;
}
body.munro-detail-page .munro-detail .ww-munro-glance-section .stats-grid {
  box-sizing:border-box!important; width:100%!important; max-width:100%!important;
}
@media(max-width:600px){
 body.munro-detail-page .munro-detail .ww-munro-glance-section > .ww-munro-glance-inner {
   padding:22px 18px!important; border-radius:14px!important;
 }
}

/* Match Stories from the hills alignment to At a glance heading note */
body.munro-detail-page .munro-detail .experience-grid .section-note,
body.munro-detail-page .munro-detail .section-experience .section-note,
body.munro-detail-page .munro-detail .section-heading-row .section-note{margin-left:auto!important;text-align:right!important;justify-self:end!important}
body.munro-detail-page .munro-detail .section-heading-row{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}

/* Experience subheading uses full section width; align handwritten note at right inset */
body.munro-detail-page .section-experience .experience-grid,body.munro-detail-page .section-experience .experience-copy{width:100%!important;max-width:none!important;}
body.munro-detail-page .section-experience .section-heading-row{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;max-width:none!important;gap:24px!important;}
body.munro-detail-page .section-experience .section-heading-row .section-note{display:block!important;flex:0 0 auto!important;margin:0 0 0 auto!important;text-align:right!important;max-width:none!important;}
@media(max-width:640px){body.munro-detail-page .section-experience .section-heading-row{flex-wrap:wrap!important;gap:6px!important}}
