@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/SourceSans3VF-Upright.otf.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
/* Metrics divided by the 0.94 fallback scale: 1024/940 and 400/940. */
@font-face {
  font-family: "Source Sans 3 Fallback";
  src: local("Arial");
  size-adjust: 94%;
  ascent-override: 108.94%;
  descent-override: 42.55%;
  line-gap-override: 0%;
}
:root {
  --site-font: "Source Sans 3", "Source Sans 3 Fallback", Arial, sans-serif;
  --site-color-text: #212b32;
  --site-color-secondary: #4c6272;
  --site-color-blue: #005eb8;
  --site-color-dark-blue: #003087;
  --site-color-white: #ffffff;
  --site-color-grey: #f0f4f5;
  --site-color-border: #d8dde0;
  --site-color-green: #007f3b;
  --site-color-shadow: #00401e;
  --site-color-name: #000000;
  --site-color-red: #d5281b;
  --site-color-yellow: #ffeb3b;
  --site-space-1: 4px;
  --site-space-2: 8px;
  --site-space-3: 16px;
  --site-space-4: 24px;
  --site-space-5: 32px;
  --site-space-6: 40px;
  --site-space-7: 48px;
  --site-space-8: 56px;
  --site-space-9: 64px;
}
html, body, button, input, select, textarea { font-family: var(--site-font); }
body { background: var(--site-color-grey); color: var(--site-color-text); font-size: 16px; line-height: 24px; }
/* The design system's bold face carries its 600 headings; Source Sans 3 needs 700 for the same visual weight. */
h1, h2, h3, h4 { font-weight: 700; }
h1 { font-size: 32px; line-height: 40px; margin-bottom: 40px; }
h2 { font-size: 24px; line-height: 32px; margin-bottom: 16px; }
h3 { font-size: 20px; line-height: 28px; margin-bottom: 16px; }
h4 { font-size: 18px; line-height: 28px; }
p, ul, ol { font-size: inherit; line-height: inherit; margin-bottom: 16px; }
a, a:visited { color: var(--site-color-blue); }
a:hover { color: var(--site-color-dark-blue); }
.site-header { background: var(--site-color-white); }
.site-header__inner { box-sizing: border-box; padding: 20px 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.site-brand { display: flex; align-items: center; gap: 16px; }
.site-brand__name { color: var(--site-color-name); font-size: 22px; line-height: 23px; font-weight: 700; margin: 0; }
.site-brand__strapline { color: var(--site-color-blue); font-size: 15px; line-height: 21px; font-weight: 700; margin: 8px 0 0; }
.site-logo { width: 47px; height: 35px; flex: none; color: var(--site-color-blue); }
.site-header--large .site-logo { width: 100px; height: 100px; }
.site-search { display: flex; height: 40px; }
.site-search input { min-width: 0; width: 100%; border: 1px solid var(--site-color-secondary); padding: 8px; font-size: 16px; line-height: 24px; }
.site-search button { width: 40px; flex: none; border: 0; background: var(--site-color-blue); color: var(--site-color-white); }
.site-icon { width: 24px; height: 24px; vertical-align: middle; }
.site-nav { background: var(--site-color-blue); }
.site-nav ul { margin: 0; display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; padding: 0; margin-bottom: 0; }
.site-nav li { margin: 0; }
.site-nav a { display: block; padding: 12px 0; color: var(--site-color-white); font-size: 16px; line-height: 24px; }
.site-nav a:hover, .site-tile:hover, .site-linklist a:hover { background-color: var(--site-color-dark-blue); color: var(--site-color-white); }
.site-breadcrumb { background: var(--site-color-white); }
/* The library hides the breadcrumb list below 641px (it shows a back link instead); the spec keeps the Home link. */
.site-breadcrumb .nhsuk-breadcrumb__list { display: block; }
.site-breadcrumb .nhsuk-breadcrumb { padding: 12px 0; font-size: 16px; line-height: 24px; }
.site-alert { background: var(--site-color-yellow); text-align: center; }
.site-alert--compact { padding: 16px; }
.site-alert--roomy { padding: 32px; }
.site-alert h2 { font-size: 32px; line-height: 40px; }
.site-section { padding: 32px 0; }
.site-section--white { background: var(--site-color-white); }
.site-banner-panel { background: var(--site-color-blue); color: var(--site-color-white); }
.site-banner-panel__inner { box-sizing: border-box; min-height: 260px; padding: 40px; position: relative; }
.site-banner-panel h1 { color: inherit; margin-bottom: 16px; max-width: 480px; }
/* A hero photo covers the band under a dark-blue wash that keeps the white text at AA contrast. */
.site-banner-panel--photo { position: relative; isolation: isolate; }
.site-banner-panel__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.site-banner-panel--photo::before { content: ""; position: absolute; inset: 0; background: rgba(0, 48, 135, 0.78); z-index: -1; }
.site-banner-panel p { font-size: 20px; line-height: 28px; }
.site-banner-panel__inner::after { content: ""; position: absolute; bottom: -16px; border-top: 16px solid var(--site-color-blue); border-left: 16px solid transparent; border-right: 16px solid transparent; }
.site-band { background-color: var(--site-color-dark-blue); background-image: var(--site-band-image, none); background-position: center; background-size: cover; padding: 24px 0; }
.site-grid, .site-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.site-tile { display: block; border: 1px solid rgba(255, 255, 255, 0.4); padding: 24px; background: var(--site-color-blue); color: var(--site-color-white); text-decoration: none; }
.site-tile:visited { color: var(--site-color-white); }
.site-tile h2, .site-tile h3 { color: inherit; font-size: 20px; line-height: 28px; text-decoration: underline; margin-bottom: 16px; }
.site-tile p { margin: 0; }
.site-picture { display: block; width: 100%; height: auto; margin-bottom: 24px; color: var(--site-color-border); background: var(--site-color-dark-blue); }
.site-card { border: 0; border-bottom: 1px solid var(--site-color-border); padding: 24px; box-sizing: border-box; margin-bottom: 16px; }
.site-card p, .site-tile p { white-space: pre-line; }
.site-card h2, .site-card h3 { font-size: 20px; line-height: 28px; }
.site-content { padding-top: 40px; padding-bottom: 40px; }
.site-content ul:not([class]) { padding-left: 20px; }
.site-content .nhsuk-inset-text { padding: 16px; margin: 40px 0; }
.site-meta { margin-top: 56px; color: var(--site-color-secondary); font-size: 16px; line-height: 24px; }
.site-table { margin-bottom: 40px; table-layout: fixed; }
.site-table th, .site-table td { width: 50%; padding: 8px 0; font-size: 16px; line-height: 24px; border-bottom: 1px solid var(--site-color-border); }
.site-table th { font-weight: 600; }
.site-emergency { color: var(--site-color-red); font-weight: 700; }
.site-emergency a { color: inherit; }
.site-quick__text { flex: 1 0 100%; margin: 0; text-align: left; }
.site-quick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.site-pill { border-radius: 9999px; padding: 11px 21px; font-size: 16px; line-height: 24px; background: var(--site-color-blue); box-shadow: none; }
.site-pill--outline { background: var(--site-color-white); border-color: var(--site-color-blue); }
.site-pill--outline, .site-pill--outline:visited { color: var(--site-color-blue); }
/* The library's button hover and active states are more specific and turn green. */
.nhsuk-button.site-pill:hover, .nhsuk-button.site-pill:active { background: var(--site-color-dark-blue); color: var(--site-color-white); }
.nhsuk-button.site-pill--outline:hover, .nhsuk-button.site-pill--outline:active { background: var(--site-color-grey); color: var(--site-color-dark-blue); }
.site-linklist { display: grid; list-style: none; padding: 0; margin: 0; }
.site-linklist li { margin: 2px; }
.site-linklist a { display: flex; justify-content: space-between; padding: 12px 16px; background: var(--site-color-blue); color: var(--site-color-white); }
.site-linklist a { text-decoration: none; }
.site-linklist a::after { content: "›"; margin-left: 8px; font-size: 28px; line-height: 24px; }
.site-action { margin-top: 24px; }
.site-action .nhsuk-action-link__link { font-size: 18px; line-height: 28px; }
.site-action svg { position: absolute; left: 0; top: 2px; width: 24px; height: 24px; color: var(--site-color-green); }
.site-news article { border-bottom: 1px solid var(--site-color-border); padding-bottom: 32px; margin-bottom: 32px; }
.site-news h3 { font-size: 24px; line-height: 32px; margin-bottom: 4px; }
.site-news p { margin-bottom: 8px; }
.site-date { font-size: 16px; line-height: 24px; }
.site-pagination { text-align: right; }
.site-footer { display: block; border-top: 4px solid var(--site-color-blue); background: var(--site-color-border); margin: 0; padding: 24px 0; font-size: 16px; line-height: 24px; }
.site-footer a, .site-footer a:visited { color: var(--site-color-dark-blue); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-block; padding: 8px 0; }
.site-footer__bottom { margin-top: 48px; }
.site-footer address { font-style: normal; font-size: inherit; line-height: inherit; }
/* Keep the design system's yellow focus and black underline on themed links. */
:root a:focus, :root button:focus, :root input:focus { background-color: var(--site-color-yellow); color: var(--site-color-name); outline: 3px solid var(--site-color-yellow); box-shadow: 0 -2px var(--site-color-yellow), 0 4px var(--site-color-name); text-decoration: none; }
@media (min-width: 641px) {
  body { font-size: 19px; line-height: 28px; }
  h1 { font-size: 48px; line-height: 56px; margin-bottom: 48px; }
  h2 { font-size: 32px; line-height: 40px; margin-bottom: 24px; }
  h3 { font-size: 24px; line-height: 32px; margin-bottom: 24px; }
  h4 { font-size: 22px; line-height: 32px; }
  p, ul, ol { margin-bottom: 24px; }
  .site-header__inner { flex-direction: row; align-items: flex-start; }
  .site-search { width: clamp(244px, 25vw, 279px); flex: none; }
  .site-nav ul { flex-wrap: nowrap; justify-content: space-between; gap: 16px; overflow-x: auto; }
  .site-nav a { white-space: nowrap; padding: 16px 0; }
  .site-nav .site-nav__home { display: none; }
  .site-breadcrumb .nhsuk-breadcrumb { padding: 14px 0; }
  .site-header--large ~ .site-breadcrumb .nhsuk-breadcrumb { padding: 20px 0 21px; }
  .site-banner-panel__inner { min-height: 320px; }
  .site-banner-panel p { font-size: 24px; line-height: 32px; }
  .site-band { padding: 32px 0; }
  .site-tile, .site-card { padding: 32px; }
  .site-tile h2, .site-tile h3, .site-card h2, .site-card h3 { font-size: 24px; line-height: 32px; }
  .site-content, .site-section { padding-top: 48px; padding-bottom: 48px; }
  .site-content .nhsuk-inset-text { padding: 24px; margin: 48px 0; }
  .site-table { margin-bottom: 48px; }
  .site-table th, .site-table td { font-size: 19px; line-height: 28px; padding: 16px 0; }
  .site-linklist a { padding: 12px 24px; }
  .site-action { margin-top: 24px; }
.site-action .nhsuk-action-link__link { font-size: 22px; line-height: 32px; }
  .site-action svg { width: 32px; height: 32px; top: 0; }
  .site-footer { padding: 32px 0; }
  .site-footer li a { padding: 12px 0; }
}
@media (min-width: 769px) {
  .site-grid, .site-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .site-tiles--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-card { margin-bottom: 32px; }
  .site-linklist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .site-footer__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* A real image keeps practice band photos compatible with the site's CSP. */
.site-band { position: relative; isolation: isolate; }
.site-band__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }

/* Imported elements share the same responsive layout as the built-in pages. */
.site-section--grey,
.site-section--page { background: var(--site-color-grey); }
.site-section--yellow { background: var(--site-color-yellow); }
.site-section--blue { background: var(--site-color-blue); color: var(--site-color-white); }
.site-section--blue a:where(:not(.site-frame *)),
.site-section--blue .site-tone--blue:where(:not(.site-frame *)) { color: inherit; }
.site-section--blue .site-card { color: var(--site-color-text); }
.site-section--blue .site-card a { color: var(--site-color-blue); }
.site-tile a { color: var(--site-color-white); }
.site-text--center { text-align: center; }
.site-tone--blue { color: var(--site-color-blue); }
.site-stars { display: flex; gap: 4px; color: var(--site-color-blue); }
.site-stars svg { width: 24px; height: 24px; }
.site-card--quote h3 { font-weight: 700; }
.site-button--outline { border: 2px solid currentColor; }
.site-social { display: flex; flex-wrap: wrap; gap: 8px; }
.site-social a { border: 2px solid currentColor; border-radius: 24px; padding: 8px 16px; }
.site-table-scroll { max-width: 100%; overflow-x: auto; }
.site-section .site-grid > *,
.site-section .site-tiles > * { min-width: 0; overflow-wrap: anywhere; }
.site-section .site-quick { justify-content: center; gap: 8px; flex-wrap: wrap; }
@media (min-width: 769px) {
  .site-tiles--two, .site-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.site-section--blue .site-card .nhsuk-button { color: var(--site-color-white); }
.site-section { overflow-wrap: anywhere; }
.site-section--white.site-band { background-color: var(--site-color-white); }

/* A single card spans the row; the original shows it full width. */
@media (min-width: 769px) {
  .site-grid--1, .site-tiles--one { grid-template-columns: minmax(0, 1fr); }
}
/* The hero spans the full width of the page. */
.site-section--hero { padding: 0; background: var(--site-color-blue); }
.site-section--hero + .site-section { padding-top: 48px; }
/* Sections without a colour of their own sit on the page grey, separated by a thin rule. */
.site-section--page { border-top: 1px solid var(--site-color-border); }
/* In-page section headings are larger than card headings. */
.site-section > .nhsuk-width-container > h2 { font-size: 32px; line-height: 40px; }
@media (min-width: 641px) {
  .site-section > .nhsuk-width-container > h2 { font-size: 36px; line-height: 44px; }
}
/* A testimonial's quote is a bold line above its body, not a large heading. */
.site-card--quote h3 { font-size: 19px; line-height: 28px; margin-bottom: 8px; }
/* The outline button is a black-text rounded pill. */
.site-button--outline { border: 2px solid var(--site-color-text); border-radius: 9999px; box-shadow: none; color: var(--site-color-text); background: var(--site-color-white); }
.site-button--outline:visited { color: var(--site-color-text); }
/* Link lists fill column by column, as the original does. */
@media (min-width: 769px) {
  .site-linklist:not(.site-social) { display: block; column-count: 2; column-gap: 32px; }
  .site-linklist:not(.site-social) li { break-inside: avoid; }
}
/* The footer's "Providing NHS services" mark. */
.site-nhs-logo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 0 0 16px; font-size: 16px; font-weight: 600; }
/* The outline pill is one thin black border: drop the secondary button's blue ring and shadow. */
.site-button--outline::before, .site-button--outline::after { content: none; display: none; }
.site-button--outline:focus:not(:focus-visible) { background-color: var(--site-color-white); color: var(--site-color-text); outline: 0; box-shadow: none; }
.site-button--outline:focus-visible { outline: 3px solid var(--site-color-yellow); outline-offset: 0; background-color: var(--site-color-yellow); box-shadow: 0 0 0 4px var(--site-color-name); }
.site-brand { color: inherit; text-decoration: none; }
.site-brand:hover .site-brand__name { text-decoration: underline; }

.site-frame { padding: 32px; }
.site-frame--white { background: var(--site-color-white); color: var(--site-color-text); }
.site-frame--grey, .site-frame--page { background: var(--site-color-grey); color: var(--site-color-text); }
.site-frame--yellow { background: var(--site-color-yellow); color: var(--site-color-text); }
.site-frame--blue { background: var(--site-color-blue); color: var(--site-color-white); }
.site-frame--blue a, .site-frame--blue .site-tone--blue { color: inherit; }
