/* Breizh Cape 3.3.2 — final responsive cascade, deliberately loaded after theme.css. */
:root { --bc-header-height: 94px; }
html, body { width:100%; max-width:100%; overflow-x:hidden; }
body { min-width:320px; }
.bc-site-header { position:sticky; top:0; z-index:1000; }
.admin-bar .bc-site-header { top:32px; }
.bc-header-inner { position:relative; display:flex; align-items:center; justify-content:space-between; gap:clamp(10px,1.6vw,22px); }
.bc-brand { flex:0 1 220px; min-width:130px; }
.bc-brand-image, .bc-brand .custom-logo { display:block; width:100%; max-width:220px; max-height:74px; height:auto; object-fit:contain; }
.bc-primary-navigation { margin-left:auto; min-width:0; }
.bc-nav-list { display:flex; align-items:center; justify-content:flex-end; gap:clamp(10px,1.35vw,20px); margin:0; padding:0; list-style:none; }
.bc-nav-list li { position:relative; margin:0; padding:0; }
.bc-nav-list a { display:block; white-space:nowrap; font-size:clamp(.75rem,.86vw,.88rem); line-height:1.25; padding:12px 0; }
.bc-header-actions { flex:0 0 auto; display:flex; align-items:center; }
.bc-menu-toggle { display:none; }
.bc-primary-navigation .sub-menu { z-index:1002; }

/* Keep every homepage section in normal document flow; prevent wrapper overlap. */
.bc-home, .bc-home > * { position:relative; }
.bc-home { isolation:isolate; overflow-x:clip; }
.bc-home .bc-section { clear:both; width:100%; max-width:100%; height:auto; min-height:0; margin-block:0 !important; }
.bc-home .bc-section > .wp-block-group__inner-container,
.bc-home .bc-section .bc-container { box-sizing:border-box; }
.bc-home .bc-section .bc-container { width:min(1200px,calc(100% - 64px)); max-width:1200px; margin-inline:auto; }
.bc-home .wp-block-columns { margin-block:0; }
.bc-home .wp-block-column { min-width:0; }
.bc-home img { max-width:100%; }

/* Hero: single image layer, editable transparent copy layer. */
.bc-home .bc-hero { position:relative; z-index:1; overflow:visible; padding:0 !important; margin:0 !important; }
.bc-home .bc-hero-grid.wp-block-columns { position:relative; display:grid !important; grid-template-columns:minmax(0,1fr) !important; gap:0 !important; min-height:clamp(540px,55vw,720px); margin:0 !important; padding:0 !important; }
.bc-home .bc-hero-grid > .wp-block-column:nth-child(2) { position:absolute !important; inset:0 !important; z-index:0; width:100% !important; height:100% !important; margin:0 !important; padding:0 !important; }
.bc-home .bc-hero-media, .bc-home .bc-hero-image, .bc-home .bc-hero-image figure { position:absolute !important; inset:0 !important; display:block; width:100% !important; height:100% !important; margin:0 !important; padding:0 !important; overflow:hidden; }
.bc-home .bc-hero-image img { display:block; width:100% !important; height:100% !important; max-width:none; object-fit:cover; object-position:center 54%; border:0; border-radius:0 !important; box-shadow:none !important; filter:none !important; opacity:1 !important; }
.bc-home .bc-hero-grid > .wp-block-column:first-child { position:relative; z-index:2; display:flex !important; align-items:center; width:min(1200px,calc(100% - 64px)) !important; max-width:1200px; min-height:clamp(540px,55vw,720px); margin:0 auto !important; padding:42px 0 !important; background:transparent !important; }
.bc-home .bc-hero-copy, .bc-home .bc-hero-copy > .bc-hero-panel { width:min(690px,62%); max-width:690px; margin:0 !important; padding:0 !important; background:transparent !important; border:0 !important; border-radius:0 !important; box-shadow:none !important; backdrop-filter:none !important; }
.bc-home .bc-hero-copy .bc-eyebrow, .bc-home .bc-hero-copy h1, .bc-home .bc-hero-copy .bc-lead, .bc-home .bc-hero-copy > p, .bc-home .bc-hero-copy a { color:#fff !important; text-shadow:0 2px 5px rgba(0,0,0,.72),0 1px 2px rgba(0,0,0,.5) !important; }
.bc-home .bc-hero-copy h1 { font-size:clamp(2.8rem,5.6vw,5.2rem); line-height:1; }
.bc-home .bc-hero-copy .bc-lead { max-width:580px; font-size:clamp(1rem,1.35vw,1.2rem); line-height:1.55; }
.bc-home .bc-hero-copy .wp-block-buttons { display:flex; flex-wrap:wrap; gap:12px; }
.bc-home .bc-hero-copy .wp-block-button.is-style-outline .wp-block-button__link { color:#fff !important; border-color:#fff !important; background:rgba(7,38,58,.18) !important; }

/* Separator uses its exact native 2172:230 proportions, not a clipped pseudo-wave. */
.bc-home .bc-breton-wave { display:block !important; position:relative; z-index:2; width:100% !important; height:auto !important; aspect-ratio:2172 / 230; margin:0 !important; padding:0 !important; overflow:hidden; background-image:url('../images/breizh-cape-wave-divider.webp') !important; background-repeat:no-repeat !important; background-position:center center !important; background-size:100% 100% !important; }
.bc-home .bc-breton-wave > * { display:none !important; }

/* Four highlights and regular split sections. */
.bc-home .bc-trust-section { position:relative; z-index:1; padding:24px 0 36px !important; background:#fffaf1; }
.bc-home .bc-trust-row.wp-block-columns { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0 !important; }
.bc-home .bc-trust-row > .wp-block-column { min-width:0; margin:0 !important; }
.bc-home .bc-trust-item { min-height:120px; height:100%; padding:16px !important; text-align:center; border:0 !important; border-right:1px solid rgba(30,57,67,.14) !important; background:transparent !important; }
.bc-home .bc-trust-item:last-child { border-right:0 !important; }
.bc-home .bc-split.wp-block-columns { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(28px,5vw,68px) !important; }
.bc-home .bc-split > .wp-block-column { min-width:0; margin:0 !important; }
.bc-home .bc-split .wp-block-image, .bc-home .bc-split .wp-block-image img { display:block; width:100%; margin:0 !important; }
.bc-home .bc-split .wp-block-image img { aspect-ratio:16/9; object-fit:cover; }
.bc-home .bc-home-stay-section { padding:clamp(40px,5.5vw,76px) 0 !important; }

/* Restaurant image and text meet edge-to-edge on desktop. */
.bc-home .bc-feature-section { padding:0 !important; margin:0 !important; background:#062d43 !important; }
.bc-home .bc-feature-section .bc-container { width:100% !important; max-width:none !important; }
.bc-home .bc-feature-band.wp-block-columns { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 !important; align-items:stretch; margin:0 !important; }
.bc-home .bc-feature-band > .wp-block-column { min-width:0; margin:0 !important; padding:0 !important; }
.bc-home .bc-feature-band .bc-photo, .bc-home .bc-feature-band .bc-photo img { display:block; width:100% !important; height:100% !important; min-height:400px; margin:0 !important; object-fit:cover; }
.bc-home .bc-feature-band .bc-feature-content { display:flex; flex-direction:column; justify-content:center; min-height:400px; height:auto; padding:clamp(30px,5vw,68px) !important; }

/* Adventure cards and footer never inherit forced heights from columns. */
.bc-home .bc-home-belowfold .wp-block-columns { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px !important; margin-top:24px !important; }
.bc-home .bc-home-belowfold .wp-block-column, .bc-home .bc-content-card { min-width:0; height:auto; min-height:0; }
.bc-home .bc-content-card { padding:24px; }

@media (max-width:1050px) {
  .bc-header-inner { min-height:82px; }
  .bc-brand { flex-basis:190px; }
  .bc-brand-image, .bc-brand .custom-logo { max-width:190px; }
  .bc-menu-toggle { display:block !important; margin-left:auto; }
  .bc-primary-navigation { display:none !important; position:absolute !important; top:100%; left:0; right:0; z-index:1001; margin:0 !important; padding:10px 24px 22px !important; background:#fffaf1 !important; border-bottom:1px solid #ded3c2; box-shadow:0 12px 25px rgba(0,0,0,.10); }
  .bc-primary-navigation.is-open { display:block !important; }
  .bc-nav-list { display:grid !important; grid-template-columns:1fr; gap:0 !important; }
  .bc-nav-list a { display:block; white-space:normal; padding:12px 0 !important; border-bottom:1px solid rgba(30,57,67,.1); font-size:.95rem !important; }
  .bc-nav-list .sub-menu { display:block !important; position:static !important; min-width:0; padding:0 0 0 18px !important; border:0 !important; box-shadow:none !important; background:transparent !important; }
  .bc-header-actions { margin-left:0; }
  .bc-home .bc-hero-copy, .bc-home .bc-hero-copy > .bc-hero-panel { width:min(680px,72%); }
  .bc-home .bc-trust-section .bc-container, .bc-home .bc-home-stay-section .bc-container, .bc-home .bc-home-belowfold .bc-container { width:calc(100% - 48px); }
}
@media (max-width:760px) {
  .bc-header-inner { min-height:72px; gap:10px; }
  .bc-brand { flex:0 1 175px; }
  .bc-brand-image, .bc-brand .custom-logo { max-width:170px; max-height:60px; }
  .bc-header-actions { display:none !important; }
  .bc-home .bc-hero-grid.wp-block-columns { min-height:clamp(560px,145vw,680px); }
  .bc-home .bc-hero-grid > .wp-block-column:first-child { width:calc(100% - 36px) !important; min-height:clamp(560px,145vw,680px); padding:28px 0 !important; }
  .bc-home .bc-hero-copy, .bc-home .bc-hero-copy > .bc-hero-panel { width:100% !important; max-width:560px; }
  .bc-home .bc-hero-copy h1 { font-size:clamp(2.35rem,9vw,3.5rem); }
  .bc-home .bc-hero-copy .bc-lead { font-size:1rem; }
  .bc-home .bc-breton-wave { aspect-ratio:2172 / 230; }
  .bc-home .bc-trust-section { padding:14px 0 26px !important; }
  .bc-home .bc-trust-section .bc-container, .bc-home .bc-home-stay-section .bc-container, .bc-home .bc-home-belowfold .bc-container { width:calc(100% - 34px); }
  .bc-home .bc-trust-row.wp-block-columns { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bc-home .bc-trust-item { min-height:112px; padding:14px 8px !important; border-bottom:1px solid rgba(30,57,67,.14) !important; }
  .bc-home .bc-trust-item:nth-child(2n) { border-right:0 !important; }
  .bc-home .bc-trust-item:nth-child(n+3) { border-bottom:0 !important; }
  .bc-home .bc-home-stay-section { padding:36px 0 !important; }
  .bc-home .bc-split.wp-block-columns { display:flex !important; flex-direction:column; align-items:stretch; gap:20px !important; }
  .bc-home .bc-split > .wp-block-column { width:100% !important; max-width:none !important; }
  .bc-home .bc-feature-band.wp-block-columns { display:flex !important; flex-direction:column; gap:0 !important; }
  .bc-home .bc-feature-band > .wp-block-column { width:100% !important; height:auto !important; min-height:0 !important; }
  .bc-home .bc-feature-band .bc-photo, .bc-home .bc-feature-band .bc-photo img { height:auto !important; min-height:0 !important; max-height:none !important; }
  .bc-home .bc-feature-band .bc-photo img { aspect-ratio:16/9; }
  .bc-home .bc-feature-band .bc-feature-content { min-height:0 !important; height:auto !important; padding:30px 24px 34px !important; }
  .bc-home .bc-home-belowfold { padding:38px 0 !important; }
  .bc-home .bc-home-belowfold .wp-block-columns { grid-template-columns:minmax(0,1fr) !important; gap:14px !important; margin-top:18px !important; }
  .bc-home .bc-section { min-height:0 !important; height:auto !important; }
}
@media (max-width:390px) {
  .bc-home .bc-hero-grid.wp-block-columns, .bc-home .bc-hero-grid > .wp-block-column:first-child { min-height:570px; }
  .bc-home .bc-hero-copy h1 { font-size:clamp(2.15rem,8.8vw,2.7rem); }
  .bc-home .bc-trust-item p:nth-child(2) strong { font-size:.94rem; }
}
