/* Short homepage: manifesto, static constraint teaser and four signposts. */

.home-signposts {
  padding-block: var(--space-8);
  background: var(--white);
}

.home-signposts h2 {
  margin: 0 0 var(--space-6);
  color: var(--navy);
}

.home-signpost-grid {
  display: grid;
  gap: var(--space-5);
}

.home-signpost {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-2);
  min-height: calc(var(--control-height) + var(--space-8));
  padding: var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  text-decoration: none;
}

.home-signpost h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-signpost p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-mid);
}

.home-signpost:hover {
  background: var(--ice-faint);
}

.home-story-more {
  color: var(--text-mid);
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--space-1);
}

.home-story-more:hover {
  color: var(--navy);
}

.mb-patient-home .home-story-depth,
.mb-patient-home .gcr-home-teaser {
  padding-block: var(--space-8);
}

.gcr-home-teaser .gcr-teaser-labels {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-on-dark);
  font-size: var(--type-small);
  line-height: 1.4;
}

.gcr-home-teaser .gcr-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.care-first-facts {
  margin-block: var(--space-4) var(--space-5);
  font-size: var(--type-body);
  line-height: 1.5;
  color: var(--text-mid);
}

.footer-authority-links {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-5);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  border-top: 1px solid var(--border);
  font-size: var(--type-small);
  letter-spacing: 0.02em;
  color: var(--text-on-dark);
}

.footer-authority-links a {
  color: inherit;
  text-decoration: none;
}

body.mb-patient-home .home-light-hero .hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}

body.mb-patient-home .care-first-facts,
body.mb-patient-home .home-trust,
body.mb-patient-home .home-quote figcaption {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.home-trust {
  margin: var(--space-5) 0 0;
  font-size: var(--type-small);
  line-height: 1.5;
  color: var(--text-mid);
}

.home-trust a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--space-1);
}

.home-quote {
  max-width: 36rem;
  margin: var(--space-6) 0 0;
}

.home-quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--type-card);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.home-quote figcaption {
  margin-top: var(--space-4);
  font-size: var(--type-small);
  line-height: 1.5;
  color: var(--text-mid);
}

.home-quote figcaption a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--space-1);
}

.home-recognise,
.home-steps,
.home-signposts {
  padding-block: var(--space-8);
}

.home-recognise {
  background: var(--white);
}

body.mb-patient-home .home-recognise h2,
body.mb-patient-home .home-steps h2,
body.mb-patient-home .home-signposts h2 {
  margin: 0 0 var(--space-5);
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
}

.home-recognise p {
  max-width: 40rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
}

.home-recognise .home-help {
  margin-top: var(--space-6);
  color: var(--text-mid);
}

.home-help a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: var(--space-1);
}

.home-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

body.mb-patient-home .home-chips li {
  display: flex;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--type-small) !important;
  font-weight: 500;
  line-height: 1.4 !important;
}

.home-chips a {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: var(--type-small);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  text-decoration: none;
}

.home-chips a:hover {
  background: var(--ice-faint);
}

.home-steps {
  background: var(--ice-faint);
}

.home-step-list {
  display: grid;
  gap: var(--space-6);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: home-step;
}

.home-step-list li {
  display: grid;
  gap: var(--space-2);
}

.home-step-list li::before {
  counter-increment: home-step;
  content: counter(home-step);
  font-family: var(--font-display);
  font-size: var(--type-card);
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
}

.home-step-list h3,
.home-step-list p {
  margin: 0;
  font-family: var(--font-body);
}

.home-step-list h3 {
  font-weight: 600;
  letter-spacing: -0.01em;
}

.home-step-list p {
  font-size: var(--type-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-mid);
}

.home-steps .gcr-teaser-actions {
  margin-top: var(--space-6);
}

.home-steps .home-story-more {
  display: inline-block;
  margin-top: var(--space-4);
}

body.mb-patient-home footer.mb-site-footer {
  padding: var(--space-7) var(--space-6) var(--space-6);
  font-family: var(--font-body);
  line-height: 1.6;
}

body.mb-patient-home .mb-site-footer .mb-footer-grid {
  gap: var(--space-6);
}

body.mb-patient-home .mb-site-footer h2,
body.mb-patient-home .mb-site-footer p,
body.mb-patient-home .mb-site-footer address,
body.mb-patient-home .mb-site-footer a {
  font-family: var(--font-body);
}

body.mb-patient-home .mb-site-footer h2 {
  margin-bottom: var(--space-4);
  font-size: var(--type-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

body.mb-patient-home .mb-site-footer ul {
  gap: var(--space-3);
}

.home-booking-pill {
  display: none;
}

.home-signpost:focus-visible,
.home-chips a:focus-visible,
.home-booking-pill:focus-visible,
.home-trust a:focus-visible,
.home-help a:focus-visible,
.gcr-home-teaser .gcr-teaser-actions a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: var(--space-1);
}

@media (min-width: 800px) {
  .home-signpost-grid,
  .home-step-list {
    grid-template-columns: 1fr 1fr;
  }

  body.mb-patient-home .mb-site-footer .mb-footer-grid {
    gap: var(--space-7);
  }
}

@media (min-width: 1100px) {
  .home-step-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .home-signposts {
    padding-bottom: calc(var(--control-height) + var(--space-8));
  }

  .home-booking-pill {
    display: flex;
    position: fixed;
    z-index: 40;
    left: var(--space-4);
    right: calc(var(--control-height) + var(--space-7));
    bottom: max(var(--space-4), env(safe-area-inset-bottom));
    align-items: center;
    justify-content: center;
    min-height: var(--control-height);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-pill);
    background: var(--blue);
    color: var(--on-brand);
    font-size: var(--type-small);
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }

  body.mb-patient-home {
    padding-bottom: calc(var(--control-height) + var(--space-7));
  }

  body.mb-menu-open .home-booking-pill,
  .home-booking-pill[hidden],
  body:has(#__mb_panel.mbopen) .home-booking-pill {
    display: none;
  }
}
