/* Compact, locale-matched Free Practice header. Does not change library cards or filters. */
body[data-punto-free-practice-bar="1"] #main .fp-intro{
  padding-block:.65rem!important;
  border-bottom:1px solid #e3e0da;
}
body[data-punto-free-practice-bar="1"] #main .fp-head{
  display:flex;
  align-items:center;
  gap:.5rem .95rem;
  min-width:0;
}
body[data-punto-free-practice-bar="1"] #main .fp-head h1{
  flex:0 0 auto;
  margin:0!important;
  font-size:clamp(1.45rem,2.5vw,2rem)!important;
  line-height:1.18;
  color:#112039;
}
body[data-punto-free-practice-bar="1"] #main .fp-shortcuts{
  display:flex;
  gap:.4rem;
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  padding:.27rem .22rem;
}
body[data-punto-free-practice-bar="1"] #main .fp-shortcuts a{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  min-height:39px;
  padding:.35rem .62rem;
  border:1px solid #c9d7dc;
  border-radius:.45rem;
  background:#fff;
  color:#173655;
  font-size:.84rem;
  font-weight:750;
  line-height:1.2;
  text-decoration:none;
  white-space:nowrap;
}
body[data-punto-free-practice-bar="1"] #main .fp-shortcuts a:hover{
  background:#edf4f4;
  border-color:#75939a;
}
body[data-punto-free-practice-bar="1"] #main .fp-shortcuts a:focus-visible{
  outline:2px solid #266695;
  outline-offset:2px;
}
body[data-punto-free-practice-bar="1"] #main .fp-shortcuts .fp-primary{
  background:#12535b;
  border-color:#12535b;
  color:#fff;
}
body[data-punto-free-practice-bar="1"] #main .fp-shortcuts .fp-primary:hover{background:#0d4147;}
body[data-punto-free-practice-bar="1"] #main .pg28-library{padding-block-start:.8rem!important;}
body[data-punto-free-practice-bar="1"] #main :is(#pr-legacy-title,#pt68-resources-heading){scroll-margin-top:6rem;}
@media(max-width:1000px){
  body[data-punto-free-practice-bar="1"] #main .fp-head{display:block;}
  body[data-punto-free-practice-bar="1"] #main .fp-shortcuts{margin-block-start:.3rem;}
}
@media(max-width:600px){
  body[data-punto-free-practice-bar="1"] #main .fp-shortcuts a{min-height:44px;}
}

/* Featured journeys are available before the catalogue scripts run. */
.pg28 .fp-featured{padding-block:14px 0}
.pg28 .fp-featured h2{margin:0 0 8px;color:#15243b;font-size:1.125rem;line-height:1.3}
.pg28 .fp-feature-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.pg28 .fp-feature-list li{display:flex;min-width:0;margin:0}
.pg28 .fp-feature-list a{display:flex;flex:1;flex-direction:column;gap:3px;min-height:44px;padding:9px 11px;border:1px solid #d9e2e7;border-radius:10px;background:#fff;color:#124951;text-decoration:none;overflow-wrap:anywhere}
.pg28 .fp-feature-list a:hover{background:#edf5f3;border-color:#9dbfbb}
.pg28 .fp-feature-list a:focus-visible{outline:3px solid #16685e;outline-offset:2px}
.pg28 .fp-feature-list strong{font-size:.9rem;line-height:1.25}
.pg28 .fp-feature-detail{font-size:.78rem;line-height:1.35;color:#405470}
@media(max-width:760px){
 .pg28 .fp-feature-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
