:root{
  --nhs-blue:#005eb8;
  --nhs-dark-blue:#003087;
  --nhs-black:#212b32;
  --nhs-grey-1:#4c6272;
  --nhs-grey-3:#aeb7bd;
  --nhs-grey-4:#d8dde0;
  --nhs-grey-5:#edf1f5;
  --nhs-green:#007f3b;
  --nhs-green-dark:#005a2b;
  --nhs-yellow:#ffb81c;
  --focus:#212b32;
  --ink:var(--nhs-black);
  --ink-soft:var(--nhs-grey-1);
  --line:var(--nhs-grey-4);
  --bg:#ffffff;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:Arial,Helvetica,"Liberation Sans",sans-serif;
  font-size:1.0625rem;line-height:1.5;
}
[hidden]{display:none !important}
a{color:var(--nhs-blue);text-decoration:underline;text-underline-offset:.15em}
a:hover{color:var(--nhs-dark-blue);text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.skip{position:absolute;left:-9999px;top:0;background:var(--nhs-blue);color:#fff;padding:.85rem 1.25rem;z-index:99;font-weight:700}
.skip:focus{left:.5rem;top:.5rem}
.wrap{max-width:60rem;margin:0 auto;padding:0 1.15rem}

.service-strip{
  background:var(--nhs-grey-5);color:var(--nhs-grey-1);
  font-size:.9rem;padding:.5rem 0;border-bottom:1px solid var(--line);
}

header.site{background:var(--nhs-blue);color:#fff;padding:1.5rem 0 1.6rem}
.site-name{margin:0;font-size:clamp(1.5rem,4vw,2rem);line-height:1.2;font-weight:700}
.site-sub{margin:.35rem 0 0;color:#d9e6f2;font-size:1rem}
.status{
  display:inline-flex;align-items:center;gap:.55rem;
  margin-top:1rem;padding:.45rem .9rem;
  background:#fff;color:var(--nhs-green-dark);
  border:2px solid var(--nhs-green);font-weight:700;font-size:.95rem;
}
.status .dot{width:.6rem;height:.6rem;background:var(--nhs-green);flex:none}

.notice{
  background:var(--nhs-grey-5);border-left:8px solid var(--nhs-blue);
  padding:1.15rem 1.25rem;margin:1.75rem 0 0;
}
.notice p{margin:0;max-width:70ch}
.notice p + p{margin-top:.65rem}

main{padding:1.75rem 0 2.5rem}
h1{font-size:clamp(1.6rem,4.5vw,2.25rem);line-height:1.2;margin:.25rem 0 .9rem;font-weight:700}
h2{font-size:clamp(1.2rem,3vw,1.45rem);line-height:1.25;margin:2.4rem 0 .6rem;font-weight:700}
h3{font-size:1.15rem;margin:0 0 .5rem;color:var(--nhs-blue);font-weight:700}
p{margin:0 0 .9rem;max-width:62ch}
.lede{font-size:1.15rem;color:var(--ink-soft);max-width:60ch}

.actions{
  list-style:none;margin:1.75rem 0 0;padding:0;
  display:grid;gap:1.25rem;
  grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));
}
.card{
  background:#fff;border:1px solid var(--nhs-grey-3);
  padding:1.15rem 1.15rem 1.25rem;
  display:flex;flex-direction:column;
  border-top:4px solid var(--nhs-blue);
}
.card p{margin:0 0 .9rem;color:var(--ink-soft);font-size:1rem;flex:1}
.card .action{
  font-weight:700;display:inline-block;padding:.65rem 0;
  min-height:44px;overflow-wrap:anywhere;
}
.card .action.tel{
  display:block;background:var(--nhs-green);color:#fff;
  text-decoration:none;padding:.8rem 1.1rem;text-align:center;
  min-height:48px;border-bottom:4px solid var(--nhs-green-dark);
  font-weight:700;
}
.card .action.tel:hover{background:var(--nhs-green-dark);color:#fff}
.card .action.tel .num{font-size:1.15rem;display:block;letter-spacing:.01em;margin-top:.2rem}

.block{border-top:1px solid var(--line);margin-top:2.2rem;padding-top:.4rem}
.block h2{margin-top:1.6rem}

.hours{list-style:none;margin:0 0 1rem;padding:0;max-width:26rem}
.hours li{display:flex;justify-content:space-between;gap:1rem;padding:.55rem 0;border-bottom:1px solid var(--line)}
.hours li:last-child{border-bottom:0}
.hours .day{font-weight:700}
.hours .time{white-space:nowrap}

.urgent{
  border-left:8px solid var(--nhs-yellow);
  background:#fffbea;padding:1.3rem 1.25rem 1.1rem;margin-top:1.5rem;
}
.urgent h2{margin:0 0 .75rem}
.urgent p{max-width:64ch}
.urgent strong{font-size:1.05rem}
.urgent .num{font-size:1.2rem;font-weight:700;white-space:nowrap}

footer.site{
  background:var(--nhs-grey-5);border-top:4px solid var(--nhs-blue);
  padding:1.6rem 0 2rem;font-size:.95rem;color:var(--ink-soft);
}
footer.site p{max-width:70ch}

@media (max-width:30rem){
  .card .action.tel{width:100%}
}
@media print{
  header.site{background:#fff;color:#000;border-bottom:2px solid #000}
  .service-strip,.status{color:#000}
  .skip{display:none}
  a[href^="tel"]::after,a[href^="mailto"]::after{content:" (" attr(href) ")";font-size:.85em}
}
