/* K676 + K677 home-only release (30-11). Ported verbatim from the landings train 23-11/24-11 (train2311 home.css + k597-home.css + k684.css);
   linked only by index.html, after k597-home.css. K651/K683/K678 are not in this release. */
/* K677 FINAL option B (K677_HERO_SPEC.md «FINAL 23-11»): whole H1 600; first phrase --on-dark-2, second white */
.hv4 h1{font-weight:600}
.hz-a{color:#C9D3F2}
.hz-b{color:#FFFFFF}
.hv4 h1{text-wrap:balance}
.hz{white-space:nowrap}
.hz-z{display:inline-block;height:.7em;width:auto;aspect-ratio:68.9484/49.03;vertical-align:baseline;margin-right:-.005em;color:#A9C0FF;overflow:visible}
.hz-t{font-size:0}
/* train fidelity stage landings2311: the font-size:0 «Z» keeps no line box (H1 height = text lines only) */
.hz-t{line-height:0}
.hz-z{display:inline;padding:0;margin-block:0}
/* K676 v2 programme-card line (K676_CARD_LINES.md «v2 board and build spec», designer 23-11) */
.pb-d{grid-area:d;display:block;margin:0;font-size:14px;line-height:20px;font-weight:500;letter-spacing:0;color:#535F82;min-height:40px;margin-right:-16px;text-wrap:balance}
.pb-name{grid-template-areas:"n go" "d d" "w w"}
.hpc-cfa .pb-d{margin-right:0;margin-top:8px}
@media (min-width:1024px){
  .pb-name{grid-template-areas:"n w go" "d d .";row-gap:12px}
  .pb-d{font-size:15px;min-height:0;margin-right:0;padding-left:46px}
  .pb-br{display:none}
  .hpc-cfa .pb-d{padding-left:0;margin-top:0}
}
/* k597 fidelity pins for the new elements (train k597-home.css, generated from the K676/K677 boards); desktop .pb-d height:20px -> min-height:20px (designer GO condition 30-11) */
@media (min-width:1024px){
body[data-page="home"] #h1 .hz-a{font-size:60px!important;line-height:64px!important;font-weight:600!important;color:rgb(201, 211, 242)!important;letter-spacing:-2.1px!important}
body[data-page="home"] #h1 .hz-b{font-size:60px!important;line-height:64px!important;font-weight:600!important;color:rgb(255, 255, 255)!important;letter-spacing:-2.1px!important}
body[data-page="home"] #h1 svg.hz-z{height:42px!important;color:rgb(169, 192, 255)!important}
body[data-page="home"] #programas .pb-row .pb-d{font-size:15px!important;line-height:20px!important;font-weight:500!important;color:rgb(83, 95, 130)!important;letter-spacing:0px!important;min-height:20px!important;padding-left:46px!important}
body[data-page="home"] #programas .hpc-cfa .pb-d{font-size:15px!important;line-height:20px!important;font-weight:500!important;color:rgb(83, 95, 130)!important;min-height:20px!important}
}
@media (max-width:767.98px){
body[data-page="home"] #h1 .hz-a{font-size:34px!important;line-height:40px!important;font-weight:600!important;color:rgb(201, 211, 242)!important;letter-spacing:-1.19px!important}
body[data-page="home"] #h1 .hz-b{font-size:34px!important;line-height:40px!important;font-weight:600!important;color:rgb(255, 255, 255)!important;letter-spacing:-1.19px!important}
body[data-page="home"] #h1 svg.hz-z{height:23.8px!important;color:rgb(169, 192, 255)!important}
body[data-page="home"] #programas .pb-row .pb-d{font-size:14px!important;line-height:20px!important;font-weight:500!important;color:rgb(83, 95, 130)!important;letter-spacing:0px!important}
body[data-page="home"] #programas .hpc-cfa .pb-d{font-size:14px!important;line-height:20px!important;font-weight:500!important;color:rgb(83, 95, 130)!important}
}
/* designer ruling 30-11: the 40 px height pin only from 390 (below, the line may take 3 lines and the row grows; .pb-d keeps min-height 40) */
@media (min-width:390px) and (max-width:767.98px){
body[data-page="home"] #programas .pb-row .pb-d{height:40px!important}
body[data-page="home"] #programas .hpc-cfa .pb-d{height:40px!important}
}
/* designer 24-11 (K677 H1 <= 4 lines at 1104-1280), range widened by the designer ruling 30-11 (K592 H1 rule carried into this rebase): from 1024 to
   1160 (ruling 30-11 #2: absorbs the 15 px classic scrollbar) the H1 takes the kit h1 pair 48/52 (the #h1 line box too); targets <= 4 lines at 1104-1280, <= 5 at 1024-1103, subline gap >= 24 */
@media (min-width:1024px) and (max-width:1160px){body[data-page="home"] #h1{line-height:52px!important}body[data-page="home"] #h1 .hz-a,body[data-page="home"] #h1 .hz-b{font-size:48px!important;line-height:52px!important}}
/* OVERFLOW FIX 1024-1375, the ONLY other change taken from the 24-11 landings train (designer ruling 30-11; reviewed with the train, verbatim):
   LANDINGS TRAIN (coordinator 23-11): the home scrolled sideways at 1024-1375 (offers panel fixed 560 px beside the club text = 1336 px
   row). Below 1376 the panel may shrink to its column; the shared admission end card sizes from its content (as Empresas, K678 #10). */
@media (max-width:1375.98px){body[data-page="home"] .hm-of{max-width:100%;flex:0 1 560px;min-width:0}body[data-page="home"] .hm-cl>*{min-width:0}}
/* K678 shared admission CSS, ONLY these two rules (designer ruling 30-11 #1, verbatim from the 24-11 train): the adm-row columns and the adm-br width */
@media (min-width:1024px){body:is([data-page="soy-una-empresa"],[data-page="home"]) .adm-row{grid-template-columns:repeat(3,minmax(0,300px) 44px) minmax(0,1fr)}body:is([data-page="soy-una-empresa"],[data-page="home"]) .adm-br{width:min(988px,calc(100% - 44px))}}
/* LANDINGS TRAIN: the home's admission end card («adm-end-h») takes the same place as Empresas' closing line below 1376 (under gate 3, K678 #9 pattern) */
@media (min-width:1024px) and (max-width:1375.98px){body[data-page="home"] .adm-end-h{grid-column:5/6;grid-row:2;margin-top:16px}}
