/* ===== BOL Single Templates (Places) — Clean Build ===== */
/* Container + width safety */
body.single-places .bol-app,
body.single-places .bol-app__inner,
body.single-places .bol-single,
body.single-places .bol-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
body.single-places .bol-content, 
body.single-places .bol-content * { max-width: 100%; box-sizing: border-box; }
body.single-places { overflow-x: hidden; }

/* Headings/paragraphs never push viewport wider */
body.single-places .bol-content h1,
body.single-places .bol-content h2,
body.single-places .bol-content h3,
body.single-places .bol-content h4,
body.single-places .bol-content p {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Base single-column layout */
body.single-places .bol-grid { display: grid; grid-template-columns: 1fr; }
body.single-places .bol-main { grid-column: 1 / -1; }
body.single-places .bol-aside { display: none; }

/* Hero (background) */
.bol-hero--place {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  min-height: clamp(260px, 36vw, 480px);
  display: grid;
  place-items: center;
  margin-bottom: clamp(14px, 2.4vw, 28px);
}
.bol-hero--place .bol-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.25));
  border-radius: 14px;
}
.bol-hero--place .bol-hero__content {
  position: relative; text-align: center; color: #fff;
  display: grid; gap: 12px; padding: clamp(12px, 3vw, 24px); max-width: 900px;
}
.bol-hero--place .bol-title { color: #fff; }
.bol-hero--place .bol-subtitle { color: #f3f4f6; }

/* Breadcrumb spacing */
body.single-places .bol-breadcrumbs { margin: 12px 0 18px; }

/* Images sane by default */
body.single-places .bol-content img,
body.single-places .bol-content figure,
body.single-places .bol-content .wp-block-image {
  float: none !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border: 0;
}

/* Block alignments never overflow */
body.single-places .alignwide,
body.single-places .alignfull,
body.single-places .wp-block-group,
body.single-places .wp-block-embed {
  max-width: 100% !important;
}

/* --------------------------------------------
   MOBILE UX — Local Lakes & Local Species rails
   -------------------------------------------- */
@media (max-width: 767.98px) {
  /* Turn each into a horizontal snap-rail with 1-finger swipe */
  body.single-places .cb-related.cb-related--lakes,
  body.single-places .cb-related.cb-related--species {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    overscroll-behavior-x: contain !important;
    padding-bottom: 4px;
  }
  /* If shortcode outputs a UL wrapper, flatten it so LI act as items */
  body.single-places .cb-related.cb-related--lakes > ul,
  body.single-places .cb-related.cb-related--species > ul { display: contents !important; }

  /* Cell sizing (show ~1 card with slight peek) */
  body.single-places .cb-related.cb-related--lakes > *,
  body.single-places .cb-related.cb-related--lakes > ul > *,
  body.single-places .cb-related.cb-related--species > *,
  body.single-places .cb-related.cb-related--species > ul > * {
    flex: 0 0 86% !important;
    max-width: 86% !important;
    scroll-snap-align: start !important;
    float: none !important;
  }
}

/* ------------------------------------------------------
   Local Fishing Guides — vanilla slider (single-row flex)
   ------------------------------------------------------ */
.bol-guides-carousel { position: relative; width: 100%; margin: 12px 0 24px; }

/* Single row, no wrap; drag/swipe */
.bol-guides-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  padding-bottom: 2px;
  cursor: grab;
}
.bol-guides-track.is-dragging { cursor: grabbing; }

/* Hide native scrollbar */
.bol-guides-track::-webkit-scrollbar { display: none; }
.bol-guides-track { -ms-overflow-style: none; scrollbar-width: none; }

/* Slides per view: 1 / 3 / 5 */
.bol-guides-cell { scroll-snap-align: start; flex: 0 0 100%; max-width: 100%; }
@media (min-width: 768px){
  .bol-guides-cell { flex: 0 0 calc((100% - 2 * 16px) / 3); max-width: calc((100% - 2 * 16px) / 3); }
}
@media (min-width: 1200px){
  .bol-guides-cell { flex: 0 0 calc((100% - 4 * 16px) / 5); max-width: calc((100% - 4 * 16px) / 5); }
}

/* Ensure moved shortcode card fills the slide */
.bol-guides-cell > * { width: 100% !important; max-width: 100% !important; float: none !important; }
.bol-guides-track ul, .bol-guides-track li { list-style: none; margin: 0; padding: 0; }

/* Arrows */
.bol-guides-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px; height: 40px;
  border: none; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #111; font-size: 22px; line-height: 40px; text-align: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.bol-guides-prev { left: 8px; }
.bol-guides-next { right: 8px; }
.bol-guides-nav[hidden] { display: none !important; }

/* ------------------------------------------------------
   Right-edge overflow guards (Reviews slider, Form, About)
   ------------------------------------------------------ */
body.single-places .bol-content [class*="review"],
body.single-places .bol-content [class*="Review"],
body.single-places .bol-content .wp-block-group,
body.single-places .bol-content .wp-block-embed {
  max-width: 100% !important;
  overflow: hidden;
}

/* Shared single layouts */
.bol-hero img{width:100%;height:auto;display:block}
.bol-header{margin:16px 0 12px}
.bol-sub{color:#555;font-size:1rem;margin:.4rem 0 1rem}
.bol-stats{display:flex;gap:12px;flex-wrap:wrap;margin:0rem 0rem;color:#333}
.bol-chips{display:flex;gap:8px;flex-wrap:wrap;margin:.5rem 0 1rem}
.bol-chip{display:inline-block;padding:4px 8px;border:1px solid #e2e2e2;border-radius:999px;font-size:.85rem;background:#fafafa}
.bol-cta-row{display:flex;gap:12px;align-items:center;justify-content:flex-start}
.bol-mini-btn{border:1px solid #ddd;border-radius:8px;padding:6px 10px;text-decoration:none;font-size:.85rem}
.bol-reviews{margin:6px 0 8px}
.bol-related{margin:2rem 0}
.bol-related > h2{margin:0 0 .8rem 0;font-size:1.2rem}

/* Filters block spacing */
.bol-section.bol-filters { margin: 1rem 0 1.25rem; }

/* FAQ */
/* .bol-section.bol-faq { margin: 2rem 0; }
.bol-faq-list { display: grid; gap: 10px; }
.bol-faq-item summary { cursor: pointer; font-weight: 600; }
.bol-faq-answer { padding: 8px 0 0; }  */

/* Fix FAQ overflow on mobile */
.bol-faq .bol-section-body {
  max-width: 100%;
  overflow-x: hidden;
}

.bol-faq-item {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* .bol-faq-item summary,
.bol-faq-item .a {
  max-width: 100%;
  display: block;
} */

/* Seasonal Fishing Notes grid */
.bol-seasonal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  .bol-seasonal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .bol-seasonal-grid { grid-template-columns: repeat(3, 1fr); }
}
.bol-seasonal-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.bol-seasonal-month {
  font-weight: 700;
  margin-bottom: 6px;
}
.bol-seasonal-notes {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.45;
}

/* Seasonal Fishing Notes — responsive + no overflow */
.bol-seasonal-grid {
  display: grid;
  grid-template-columns: 1fr;                 /* mobile/tablet: single column */
  gap: 16px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

@media (min-width: 1024px) {
  .bol-seasonal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));  /* desktop: 2 wide */
  }
}

/* Make sure cards can't force the grid to expand horizontally */
.bol-seasonal-card {
  box-sizing: border-box;
  min-width: 0;
}

/* Prevent long words/URLs from pushing the card wider */
.bol-seasonal-notes {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* (Keeps your existing look) */
.bol-seasonal-card {
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}
.bol-seasonal-month {
  font-weight: 700;
  margin-bottom: 6px;
}
.bol-seasonal-notes {
  font-size: .95rem;
  color: #333;
  line-height: 1.45;
}

/* Hero with overlayed content */
.bol-hero { position: relative; }
.bol-hero--overlay img { width:100%; display:block; }
.bol-hero--overlay::after { content:""; position:absolute; inset:0; background: linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.bol-hero__content { position:absolute; inset:auto 0 38% 0; text-align:center; padding:0 16px; z-index:1; color:#fff; }
.bol-hero__title { margin:0 0 .3rem; font-size:clamp(1.6rem, 2.2vw + 1rem, 3rem); }
.bol-hero__tagline { margin:.25rem 0 .5rem; font-size:1rem; opacity:.95; }
.bol-hero__reviews { margin:.25rem 0 0; }

/* Breadcrumbs under hero */
.bol-breadcrumbs { margin: 10px 0 14px; }

/* Relationship fallback scroller */
.bol-rel-scroll { display:flex; gap:12px; overflow:auto; padding:2px 0 6px; scroll-snap-type:x mandatory; }
.bol-rel-card { min-width:220px; border:1px solid #e6e6e6; border-radius:12px; overflow:hidden; text-decoration:none; color:inherit; background:#fff; scroll-snap-align:start; }
.bol-rel-img img { width:100%; height:auto; display:block; aspect-ratio:4/3; object-fit:cover; }
.bol-rel-title { display:block; padding:8px 10px; font-weight:600; font-size:.95rem; }

/* FAQ */
/* .bol-section.bol-faq { margin: 2rem 0; }
.bol-faq-list { display:grid; gap:10px; }
.bol-faq-item summary { cursor:pointer; font-weight:600; }
.bol-faq-answer { padding:8px 0 0; }  */

/* Seasonal Fishing Notes — responsive + no overflow */
.bol-seasonal-grid { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; max-width: 100%; margin: 0; padding: 0; }
@media (min-width: 1024px) { .bol-seasonal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bol-seasonal-card { box-sizing: border-box; min-width: 0; border: 1px solid #e6e6e6; border-radius: 12px; padding: 12px; background: #fff; }
.bol-seasonal-month { font-weight: 700; margin-bottom: 6px; }
.bol-seasonal-notes { font-size: .95rem; color: #333; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; 
}

/* === BOL CTA buttons – harden sitewide === */
a.bol-btn,
a.bol-booknow-btn,
a.bol-cta-right-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 25px 15px 25px;
  border-radius: 9999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

a.bol-btn.bol-btn--primary,
a.bol-booknow-btn,
a.bol-cta-right-btn {
  background: #111;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}
a.bol-btn.bol-btn--primary:hover,
a.bol-booknow-btn:hover,
a.bol-cta-right-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}

/* Make sure CTAs stick bottom-right inside cards */
.bol-card__cta { margin-top: auto; display: flex; justify-content: flex-end; 
}

/* ===========================
   Lakes FAQ: remove caret ▾ and use big chevron like the rest of site
   Target: summary.bol-faq-q::after
   =========================== */

body.single-lakes summary.bol-faq-q{
  position: relative;
  padding-right: 44px; /* room for chevron */
  list-style: none !important;
}

/* Kill any native marker too (harmless) */
body.single-lakes summary.bol-faq-q::-webkit-details-marker{ display:none !important; }
body.single-lakes summary.bol-faq-q::marker{ content:"" !important; }

/* Replace the small caret with our big chevron */
body.single-lakes summary.bol-faq-q::after{
  content: "" !important;           /* overrides '▾' */
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  opacity: .75;
  margin-left: 0 !important;        /* overrides old spacing */
  font-size: 0 !important;          /* neutralize caret styling */
  line-height: 0 !important;
  transition: transform .2s ease, opacity .2s ease;
}

/* Open state rotation */
body.single-lakes details[open] > summary.bol-faq-q::after{
  transform: translateY(-50%) rotate(60deg);
  opacity: 1;
}