/* BDH carnet — single Vestige 25828 in staging theme preview only. */
.bdh-v2 .bdh-pilot-carnet{max-width:540px;margin:18px 0 0;padding:14px 0 2px;border-top:1px solid #e3dcd4}
.bdh-v2 .bdh-pilot-carnet .bdh-pilot-carnet-title{font-family:Inter,Arial,sans-serif;font-size:11px;line-height:1.4;font-weight:700;letter-spacing:.115em;text-transform:uppercase;color:#3d5664;margin:0 0 11px}
.bdh-v2 .bdh-pilot-states{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:9px;width:100%}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state,.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite{display:flex;align-items:center;justify-content:center;flex-direction:row;gap:7px;box-sizing:border-box;width:100%;min-width:0;min-height:50px;padding:9px 7px;border:1px solid #d8d1c9;border-radius:13px;background:#fffdfa;color:#132532!important;font:600 13px/1.28 Inter,Arial,sans-serif;text-align:center;text-decoration:none;white-space:normal;cursor:pointer;box-shadow:none;transition:border-color .15s,background-color .15s,color .15s}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state .material-icons{font-size:21px;line-height:1;flex:none}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite .bdh-bookmark-icon{font-size:24px;line-height:1;flex:none}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite .action-label{font-size:inherit;line-height:inherit}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state[aria-pressed="true"]{background:#eff7f6;color:#086e75!important;border-color:#086e75}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite:is(.bookmarked,.is-favorite){background:#fff2ee;color:#b7241d!important;border-color:#b7241d;box-shadow:none}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite:is(.bookmarked,.is-favorite) .bdh-bookmark-icon{color:inherit}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state:disabled{opacity:.65;cursor:not-allowed}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state:focus-visible,.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite:focus-visible{outline:3px solid #086e75;outline-offset:3px}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state:not(:disabled):hover,.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite:hover{border-color:#086e75;background:#eff7f6}
.bdh-v2 .bdh-pilot-states .bdh-pilot-login-note,.bdh-v2 .bdh-pilot-states .bdh-pilot-feedback{grid-column:1/-1;margin:0;color:#3d5664;font-size:12px;line-height:1.5}
.bdh-v2 .bdh-pilot-states .bdh-pilot-login-note{margin-top:3px}
.bdh-v2 .bdh-pilot-states .bdh-pilot-login-note a{color:#086e75;text-decoration:underline;text-underline-offset:2px}
.bdh-v2 .bdh-pilot-states .bdh-pilot-feedback:empty{display:none}
@media(max-width:490px){
.bdh-v2 .bdh-pilot-states{gap:8px}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state,.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite{flex-direction:column;gap:5px;min-height:65px;padding:9px 3px;font-size:12px}
}
@media(prefers-color-scheme:dark){
.bdh-v2 .bdh-pilot-carnet{border-top-color:#4a433d}
.bdh-v2 .bdh-pilot-carnet .bdh-pilot-carnet-title{color:#c7bdb2}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state,.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite{background:#24211e;color:#f4efe8!important;border-color:#514942}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state[aria-pressed="true"]{background:#203537;color:#b2e2db!important;border-color:#6caaa7}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite:is(.bookmarked,.is-favorite){background:#382622;color:#f2a69b!important;border-color:#bb655c}
.bdh-v2 .bdh-pilot-states>.bdh-pilot-state:not(:disabled):hover,.bdh-v2 .bdh-pilot-states>.bdh-pilot-favorite:hover{background:#2b3432;border-color:#6caaa7}
.bdh-v2 .bdh-pilot-states .bdh-pilot-login-note,.bdh-v2 .bdh-pilot-states .bdh-pilot-feedback{color:#c6bcb2}
.bdh-v2 .bdh-pilot-states .bdh-pilot-login-note a{color:#b2e2db}
}

/* Desktop: the pilot carnet spans both hero columns beneath copy + image.
   Mobile retains the already approved three-button presentation beneath the title. */
@media (min-width:781px){
  .bdh-v2 .bdh-hero.bdh-hero--carnet{
    grid-template-areas:"copy media" "carnet carnet";
    row-gap:24px;
    margin-bottom:30px!important;
    padding-bottom:0!important;
  }
  /* Keep readable, balanced spacing above both the article and the sidebar. */
  .bdh-v2 .bdh-hero--carnet + .bdh-grid .bdh-story{
    padding-top:0;
  }
  .bdh-v2 .bdh-hero--carnet:has(> .bdh-related-walks-hero){
    grid-template-areas:"copy media" "carnet carnet" "walk walk";
  }
  .bdh-v2 .bdh-hero--carnet > .bdh-pilot-carnet{
    grid-area:carnet;
    width:100%;
    max-width:none;
    box-sizing:border-box;
    margin:0;
    padding:0;
    border:0;
  }
  /* First approved desktop layout: three equally sized full-width buttons. */
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    align-items:stretch;
    gap:14px;
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    border:0;
    background:none;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states > .bdh-pilot-state,
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states > .bdh-pilot-favorite{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:10px;
    box-sizing:border-box;
    width:100%;
    min-width:0;
    max-width:none;
    min-height:54px;
    padding:8px 16px;
    border:1px solid #d8d1c9;
    border-radius:20px;
    background:#fffdfa;
    box-shadow:none;
    font-size:15px;
    font-weight:600;
    line-height:1.25;
    text-align:center;
    white-space:normal;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states .material-icons,
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states .bdh-bookmark-icon{
    display:inline-block;
    flex:none;
    width:auto;
    height:auto;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:inherit;
    font-size:24px;
    line-height:1;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states .bdh-pilot-state[aria-pressed="true"]{
    background:#eff7f6;
    color:#086e75!important;
    border-color:#086e75;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states .bdh-pilot-favorite:is(.bookmarked,.is-favorite){
    background:#fff2ee;
    color:#b7241d!important;
    border-color:#b7241d;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states > .bdh-pilot-login-note,
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states > .bdh-pilot-feedback{
    padding:4px 12px 0;
    text-align:left;
  }
}
@media (min-width:781px) and (prefers-color-scheme:dark){
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states > .bdh-pilot-state,
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states > .bdh-pilot-favorite{
    background:#24211e;
    color:#f4efe8!important;
    border-color:#514942;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states .bdh-pilot-state[aria-pressed="true"]{
    background:#203537;
    color:#b2e2db!important;
    border-color:#6caaa7;
  }
  .bdh-v2 .bdh-hero--carnet .bdh-pilot-states .bdh-pilot-favorite:is(.bookmarked,.is-favorite){
    background:#382622;
    color:#f2a69b!important;
    border-color:#bb655c;
  }
}
@supports (anchor-name:--bdh-cover) and (position-anchor:--bdh-cover){
  @media (min-width:781px){
    /* Room for the evidence/date cards anchored below the photograph. */
    .bdh-v2 .bdh-hero--carnet:has(.bdh-documentation-summary) > .bdh-pilot-carnet{
      margin-top:54px;
    }
  }
}
@media (max-width:780px){
  .bdh-v2 .bdh-hero--carnet > .bdh-pilot-carnet{
    order:2;
    align-self:stretch;
    width:auto;
    max-width:none;
    box-sizing:border-box;
    margin:12px 20px 0;
    padding:14px 0 2px;
  }
}


