/* BALANCE FIT BOARD — COACHES · AGENDA Y VALORES V1.0.0 */
#bfb-coaches-page .bfb-coaches-page__hero-inner{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,365px);
  align-items:end;
  gap:clamp(24px,4vw,65px);
}
/* Compatibilidad con la versión del hero en la que shell y hero-inner comparten el mismo elemento. */
#bfb-coaches-page .bfb-coaches-page__shell.bfb-coaches-page__hero-inner{
  width:min(calc(100% - (var(--co-gutter) * 2)),var(--co-max));
  margin-inline:auto;
}
#bfb-coaches-page .bfb-coaches-page__next-training-slot{
  position:relative;
  right:auto;
  bottom:auto;
  width:100%;
  min-width:0;
  margin:0;
}
#bfb-coaches-page .bfb-coaches-page__next-training-card{
  width:100%;
}
#bfb-coaches-page .bfb-coaches-page__next-training-card--empty{
  background:rgba(44,44,44,.88);
}
#bfb-coaches-page .bfb-coaches-page__next-training-address{
  margin:10px 0 0;
  color:rgba(244,241,234,.74);
  font-size:11px;
  line-height:1.55;
}
#bfb-coaches-page .bfb-coaches-page__pricing{
  background:var(--co-paper,#F4F1EA);
  color:var(--co-dark,#2C2C2C);
}
#bfb-coaches-page .bfb-coaches-page__pricing-head{
  max-width:880px;
  margin-bottom:48px;
}
#bfb-coaches-page .bfb-coaches-page__pricing-head h2{
  max-width:780px;
}
#bfb-coaches-page .bfb-coaches-page__pricing-head>p:last-child{
  max-width:620px;
  color:rgba(44,44,44,.68);
  font-size:15px;
}
#bfb-coaches-page .bfb-coaches-page__pricing-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
#bfb-coaches-page .bfb-coaches-page__pricing-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:320px;
  padding:clamp(28px,4vw,48px);
  border:1px solid rgba(44,44,44,.17);
  border-radius:26px;
  background:#DDD7C9;
}
#bfb-coaches-page .bfb-coaches-page__pricing-card--featured{
  background:#6F7865;
  border-color:#6F7865;
  color:#F4F1EA;
}
#bfb-coaches-page .bfb-coaches-page__pricing-index{
  margin-bottom:28px;
  font-size:10px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.73;
}
#bfb-coaches-page .bfb-coaches-page__pricing-card h3{
  max-width:550px;
  margin:0 0 12px;
  font-size:clamp(18px,2vw,27px);
  font-weight:600;
  line-height:1.15;
  letter-spacing:-.035em;
}
#bfb-coaches-page .bfb-coaches-page__pricing-subtitle{
  margin:0;
  font-size:14px;
  opacity:.78;
}
#bfb-coaches-page .bfb-coaches-page__pricing-price{
  margin:auto 0 0;
  padding-top:44px;
  font-family:var(--co-display,'Poppins',sans-serif);
  font-size:clamp(42px,5vw,66px);
  font-weight:600;
  letter-spacing:-.065em;
  line-height:1;
  white-space:nowrap;
}
#bfb-coaches-page .bfb-coaches-page__pricing-caption{
  margin:12px 0 0;
  font-size:12px;
  opacity:.75;
}
#bfb-coaches-page .bfb-coaches-page__pricing-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  padding-top:28px;
}
#bfb-coaches-page .bfb-coaches-page__pricing-footer>p{
  max-width:480px;
  margin:0;
  color:rgba(44,44,44,.68);
  font-size:13px;
}
#bfb-coaches-page .bfb-coaches-page__pricing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
@media(max-width:1100px){
  #bfb-coaches-page .bfb-coaches-page__hero-inner{grid-template-columns:1fr;}
  #bfb-coaches-page .bfb-coaches-page__next-training-slot{
    position:relative;
    width:min(100%,520px);
    margin-top:25px;
  }
  #bfb-coaches-page .bfb-coaches-page__pricing-footer{
    align-items:flex-start;
    flex-direction:column;
  }
}
@media(max-width:760px){
  #bfb-coaches-page .bfb-coaches-page__next-training-slot{width:100%;}
  #bfb-coaches-page .bfb-coaches-page__pricing-grid{grid-template-columns:1fr;}
  #bfb-coaches-page .bfb-coaches-page__pricing-card{min-height:290px;border-radius:22px;}
  #bfb-coaches-page .bfb-coaches-page__pricing-actions{width:100%;flex-direction:column;}
  #bfb-coaches-page .bfb-coaches-page__pricing-actions .bfb-coaches-page__btn{width:100%;}
  #bfb-coaches-page .bfb-coaches-page__pricing-price{white-space:normal;}
}
/* Prioridad sobre las reglas del CSS maestro aunque WordPress lo cargue después. */
#bfb-coaches-page .bfb-coaches-page__hero-inner .bfb-coaches-page__next-training-slot{
  position:relative!important;
  right:auto!important;
  bottom:auto!important;
  width:100%!important;
  margin:0!important;
}

/* FORMACIONES / AGENDA DE TODAS LAS EDICIONES FUTURAS — V1.1.0 */
#bfb-coaches-page .bfb-formaciones__dates{background:var(--co-cream,#DDD7C9);}
#bfb-coaches-page .bfb-formaciones__dates-head{max-width:950px;margin-bottom:48px;}
#bfb-coaches-page .bfb-formaciones__dates-head>p:last-child{max-width:660px;color:rgba(44,44,44,.72);}
#bfb-coaches-page .bfb-formaciones__events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
#bfb-coaches-page .bfb-formaciones__event{display:flex;flex-direction:column;min-width:0;padding:clamp(24px,3.5vw,43px);border:1px solid rgba(44,44,44,.16);border-radius:24px;background:var(--co-paper,#F4F1EA);}
#bfb-coaches-page .bfb-formaciones__event--next{border-color:rgba(111,120,101,.5);}
#bfb-coaches-page .bfb-formaciones__event-top{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 15px;margin-bottom:26px;}
#bfb-coaches-page .bfb-formaciones__event-index{color:var(--co-green,#6F7865);font-size:10px;font-weight:800;letter-spacing:.14em;}
#bfb-coaches-page .bfb-formaciones__event-status{padding:7px 11px;border:1px solid rgba(44,44,44,.2);border-radius:999px;font-size:10px;font-weight:700;}
#bfb-coaches-page .bfb-formaciones__event-status.is-open{border-color:rgba(111,120,101,.28);color:var(--co-green,#6F7865);background:rgba(111,120,101,.09);}
#bfb-coaches-page .bfb-formaciones__event-date{display:block;margin-bottom:12px;color:var(--co-dark,#2C2C2C);font-family:var(--co-display,'Poppins',sans-serif);font-size:clamp(23px,3vw,37px);font-weight:600;letter-spacing:-.045em;line-height:1.13;}
#bfb-coaches-page .bfb-formaciones__event h3{margin:0 0 23px;font-size:clamp(17px,1.8vw,22px);line-height:1.3;font-weight:600;}
#bfb-coaches-page .bfb-formaciones__event-meta{display:flex;flex-wrap:wrap;gap:8px 12px;margin-top:auto;padding-top:20px;border-top:1px solid rgba(44,44,44,.14);color:rgba(44,44,44,.77);font-size:12px;line-height:1.55;}
#bfb-coaches-page .bfb-formaciones__event-meta span:not(:last-child)::after{content:'·';padding-left:12px;color:rgba(44,44,44,.35);}
#bfb-coaches-page .bfb-formaciones__event-address,#bfb-coaches-page .bfb-formaciones__event-generation{margin:10px 0 0;color:rgba(44,44,44,.68);font-size:12px;}
#bfb-coaches-page .bfb-formaciones__event-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:51px;margin-top:26px;padding:0 20px;border:1px solid var(--co-dark,#2C2C2C);border-radius:999px;background:var(--co-dark,#2C2C2C);color:var(--co-paper,#F4F1EA)!important;text-decoration:none!important;font-size:12px;font-weight:700;transition:background .2s ease,border-color .2s ease;}
#bfb-coaches-page .bfb-formaciones__event-cta:hover{background:var(--co-green,#6F7865);border-color:var(--co-green,#6F7865);}
#bfb-coaches-page .bfb-formaciones__empty{max-width:650px;padding:clamp(24px,4vw,45px);border:1px solid rgba(44,44,44,.13);border-radius:24px;background:var(--co-paper,#F4F1EA);}
#bfb-coaches-page .bfb-formaciones__empty h3{margin:0 0 12px;font-size:25px;}
#bfb-coaches-page .bfb-formaciones__empty p{margin:0 0 25px;color:rgba(44,44,44,.7);}
#bfb-coaches-page .bfb-formaciones__load-error{padding:20px;}
@media(max-width:860px){#bfb-coaches-page .bfb-formaciones__events-grid{grid-template-columns:1fr;}}
@media(max-width:760px){#bfb-coaches-page .bfb-formaciones__event{border-radius:20px;}#bfb-coaches-page .bfb-formaciones__event-date{font-size:clamp(25px,7vw,34px);}#bfb-coaches-page .bfb-formaciones__event-top{margin-bottom:20px;}}
