.mort-action-cluster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nhs-home-page {
  --nhs-blue: #005eb8;
  --nhs-blue-dark: #003a78;
  --nhs-blue-soft: #e8f2fc;
  --nhs-ink: #0f172a;
  --nhs-muted: #526277;
  --nhs-border: #d8e3f0;
  --nhs-surface: #ffffff;
  --nhs-surface-soft: #f6f9fc;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 56px;
  color: var(--nhs-ink);
}

body.nhs-embed-mode .nhs-home-page {
  width: 100%;
  margin: 0;
  background: transparent !important;
}

.nhs-home-hero,
.nhs-home-card {
  background: var(--nhs-surface);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 48px -36px rgba(15, 23, 42, 0.55);
}

.nhs-home-hero {
  overflow: hidden;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(0, 94, 184, 0.18), transparent 32%),
    linear-gradient(180deg, #fafdff 0%, #f4f8fd 100%);
}

.nhs-home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 94, 184, 0.1);
  color: var(--nhs-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nhs-home-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--nhs-blue);
  box-shadow: 0 0 0 0 rgba(0, 94, 184, 0.38);
  animation: nhs-home-pulse-dot 2s infinite;
}

@keyframes nhs-home-pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 94, 184, 0.38);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 94, 184, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 94, 184, 0);
  }
}

.nhs-home-hero h1 {
  margin: 14px 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #08172d;
}

.nhs-home-hero p {
  max-width: 880px;
  margin: 0 0 14px;
  color: #314254;
  font-size: 16px;
  line-height: 1.72;
}

.nhs-home-lead {
  font-size: 17px;
}

.nhs-home-highlights {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.nhs-home-hero .nhs-home-highlights {
  margin-left: -14px;
  width: calc(100% + 14px);
}

.nhs-home-highlights li {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #113a60;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
}

.nhs-home-highlights li i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 18px;
  width: 18px;
  min-height: 18px;
  color: var(--nhs-blue);
  font-size: 18px;
  line-height: 1.1;
  overflow: visible;
}

.nhs-home-highlights li span {
  min-width: 0;
}

@media (max-width: 1240px) {
  .nhs-home-highlights {
    flex-wrap: wrap;
    gap: 12px 18px;
    overflow: visible;
  }

  .nhs-home-highlights li {
    flex: 0 1 calc(50% - 9px);
    white-space: normal;
  }
}

@media (max-width: 920px) {
  .nhs-home-highlights li {
    flex-basis: 100%;
  }
}

.nhs-home-calculator-shell {
  margin-top: 26px;
}

.nhs-home-country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.nhs-home-country-tabs,
.nhs-home-table-wrap {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nhs-home-country-tabs::-webkit-scrollbar,
.nhs-home-table-wrap::-webkit-scrollbar {
  display: none;
}

.nhs-home-country-tab {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--nhs-border);
  background: #fff;
  color: #23425f;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nhs-home-country-tab.is-active {
  border-color: var(--nhs-blue);
  background: var(--nhs-blue);
  color: #fff;
}

.nhs-home-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.nhs-home-card {
  padding: 22px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.nhs-home-results-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nhs-home-card h2,
.nhs-home-card h3 {
  margin-top: 0;
  color: #0b2039;
}

.nhs-home-card-head p,
.nhs-home-content-copy p,
.nhs-home-proof-card p,
.nhs-home-faq-card p {
  color: #415163;
  line-height: 1.72;
}

.nhs-home-content-copy,
.nhs-home-card-head,
.nhs-home-image-card > * {
  min-width: 0;
  max-width: 100%;
}

.nhs-home-content-copy h2,
.nhs-home-content-copy h3 {
  margin-top: 0;
  color: #0b2039;
}

.nhs-home-content-copy h3 {
  margin: 14px 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.nhs-home-content-copy h2 + h3 {
  margin-top: 14px;
}

.nhs-home-copy-list {
  margin: 0 0 16px 20px;
  padding: 0;
  color: #415163;
}

.nhs-home-copy-list li + li {
  margin-top: 8px;
}

.nhs-home-tool-links-card {
  margin-top: 22px;
}

.nhs-home-tool-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.nhs-home-tool-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #d8e3f0;
  background: #fbfdff;
  color: #123150;
  font-size: 14px;
  font-weight: 700;
}

.nhs-home-simple-table-wrap {
  margin: 12px 0 16px;
  border: 1px solid #dbe5f4;
  border-radius: 14px;
  background: #ffffff;
  overflow-x: hidden;
  overflow-y: hidden;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.nhs-home-simple-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 0;
}

.nhs-home-simple-table th,
.nhs-home-simple-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #e7eef7;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.nhs-home-simple-table thead th {
  background: #eef5fc;
  color: #123150;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nhs-home-simple-table tbody tr:last-child td {
  border-bottom: 0;
}

.nhs-home-proof-list {
  margin: 0 0 18px 20px;
  padding: 0;
  color: #415163;
}

.nhs-home-proof-list li + li {
  margin-top: 8px;
}

.nhs-home-form-section + .nhs-home-form-section {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #ebf1f8;
}

.nhs-home-form-section > h3:first-child,
.nhs-home-card > h2:first-child,
.nhs-home-card > h3:first-child,
.nhs-home-content-copy > h2:first-child,
.nhs-home-content-copy > h3:first-child {
  margin-top: 0;
}

.nhs-home-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.nhs-home-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.nhs-home-field > span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a6c80;
}

.nhs-home-field input,
.nhs-home-field select {
  min-height: 46px;
  width: 100%;
  border: 1px solid #cad7e7;
  border-radius: 12px;
  background: #fff;
  color: #102031;
  font-size: 15px;
  padding: 0 14px;
}

.nhs-home-field select {
  background-position:
    calc(100% - var(--rp-select-chevron-right, 20px)) 50%,
    calc(100% - var(--rp-select-chevron-right-inner, 15px)) 50%;
  padding-right: var(--rp-select-padding-right, 40px);
}

.nhs-home-field input:focus,
.nhs-home-field select:focus,
.nhs-home-country-tab:focus-visible,
.nhs-home-toggle:focus-visible,
.nhs-home-faq-item summary:focus-visible {
  outline: 2px solid rgba(0, 94, 184, 0.25);
  outline-offset: 2px;
}

.nhs-home-field.is-disabled {
  opacity: 0.46;
}

.nhs-home-field.is-disabled > span {
  opacity: 0.82;
}

.nhs-home-field input:disabled,
.nhs-home-field select:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
  color: rgba(16, 32, 49, 0.58);
  border-color: rgba(0, 94, 184, 0.14);
}

.nhs-home-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.nhs-home-section-head h3,
.nhs-home-card-head h2,
.nhs-home-proof-card h2 {
  margin: 0;
}

.nhs-home-section-head p {
  margin: 0;
  color: var(--nhs-blue);
  font-weight: 700;
}

.nhs-home-toggle {
  border: 0;
  background: transparent;
  color: var(--nhs-blue);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.nhs-home-inline-warning {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f1d08f;
  background: #fff7e5;
  color: #9a5d00;
  font-size: 14px;
  line-height: 1.5;
}

.nhs-home-range-wrap input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--nhs-blue) 0%, var(--nhs-blue) var(--range-progress, 0%), #c9d9f2 var(--range-progress, 0%), #c9d9f2 100%);
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 94, 184, 0.06);
}

.nhs-home-range-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: transparent;
}

.nhs-home-range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-top: -7px;
  background: var(--nhs-blue);
  border: 3px solid #ffffff;
  box-shadow: 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-home-range-wrap input[type="range"]::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #c9d9f2;
}

.nhs-home-range-wrap input[type="range"]::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--nhs-blue);
}

.nhs-home-range-wrap input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--nhs-blue);
  box-shadow: 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-home-range-wrap input[type="range"]:focus-visible {
  outline: none;
}

.nhs-home-range-wrap input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.18), 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-home-range-wrap input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.18), 0 8px 18px rgba(0, 94, 184, 0.28);
}

.nhs-home-results-top {
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--nhs-blue-dark) 0%, var(--nhs-blue) 100%);
  color: #fff;
}

.nhs-home-results-toolbar {
  position: absolute;
  top: -32px;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.nhs-home-embed-slot {
  display: flex;
  justify-content: flex-end;
  width: auto;
}

.nhs-home-embed-slot .calculist-embed-toolbar {
  margin: 0;
}

.nhs-home-embed-slot .calculist-embed-toolbar.is-standalone {
  padding-top: 0;
}

.nhs-home-embed-slot .calculist-embed-trigger {
  min-height: 0;
}

@media (max-width: 900px) {
  .nhs-home-results-card {
    gap: 12px;
  }

  .nhs-home-results-toolbar {
    position: static;
    margin-bottom: 12px;
  }

  .nhs-home-embed-slot {
    width: 100%;
  }
}

.nhs-home-results-label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

.nhs-home-results-value {
  margin: 8px 0;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nhs-home-results-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.nhs-home-results-list {
  margin-top: 16px;
}

.nhs-home-results-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf2f8;
  font-size: 15px;
}

.nhs-home-results-row span {
  color: #55687c;
}

.nhs-home-results-row strong {
  color: #0d2239;
}

.nhs-home-results-row strong.is-negative,
.nhs-home-rates-grid strong.is-negative,
.nhs-home-mobile-net strong.is-negative {
  color: #c62828;
}

.nhs-home-action-cluster .mort-action-btn-secondary,
.nhs-home-action-cluster .mort-action-btn-outline {
  border-color: rgba(0, 94, 184, 0.28);
  color: var(--nhs-blue);
}

.nhs-home-action-cluster .mort-action-btn-secondary .mort-action-icon,
.nhs-home-action-cluster .mort-action-btn-outline .mort-action-icon {
  color: var(--nhs-blue);
  background: rgba(0, 94, 184, 0.08);
}

.nhs-home-action-cluster .mort-action-btn-secondary:hover,
.nhs-home-action-cluster .mort-action-btn-secondary:focus-visible,
.nhs-home-action-cluster .mort-action-btn-outline:hover,
.nhs-home-action-cluster .mort-action-btn-outline:focus-visible {
  border-color: var(--nhs-blue);
  color: var(--nhs-blue-dark);
  background: rgba(0, 94, 184, 0.04);
}

.nhs-home-results-row-total {
  border-top: 1px solid #dce7f2;
  margin-top: 4px;
}

.nhs-home-results-row-total span,
.nhs-home-results-row-total strong {
  color: #0a2040;
}

.nhs-home-rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.nhs-home-rates-grid article {
  padding: 14px;
  border-radius: 14px;
  background: var(--nhs-surface-soft);
  border: 1px solid #e5edf6;
}

.nhs-home-rates-grid span {
  display: block;
  color: #5b6c80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nhs-home-rates-grid strong {
  display: block;
  margin-top: 6px;
  color: var(--nhs-blue-dark);
  font-size: 22px;
}

.nhs-home-action-cluster {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.nhs-home-action-cluster .mort-action-btn {
  min-width: 0;
  padding-inline: 10px;
}

.nhs-home-action-cluster .mort-action-label {
  white-space: nowrap;
}

.nhs-home-results-footnote,
.nhs-home-mobile-net {
  margin: 14px 0 0;
  color: #5a6c80;
  font-size: 13px;
  line-height: 1.6;
}

.nhs-home-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 24px;
  min-width: 0;
}

.nhs-home-table-card {
  grid-column: 1 / -1;
}

.nhs-home-content-card-wide {
  grid-column: 1 / -1;
}

.nhs-home-table-wrap + .nhs-home-table-wrap {
  margin-top: 20px;
}

.nhs-home-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.nhs-home-table-wrap h3 {
  margin: 0;
}

.nhs-home-table-mobile-label {
  margin: 0;
  color: var(--nhs-blue);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.nhs-home-table-wrap {
  margin-top: 12px;
  border: 1px solid #dbe5f4;
  background: #ffffff;
  border-radius: 14px;
  padding: 10px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.nhs-home-table-mobile-nav {
  display: none;
}

.nhs-home-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  min-width: 0;
  background: #fff;
}

.nhs-home-table thead th {
  background: #eef5fc;
  color: #123150;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nhs-home-table th,
.nhs-home-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e7eef7;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.5;
}

.nhs-home-table td {
  white-space: nowrap;
}

.nhs-home-table tbody tr:last-child td {
  border-bottom: 0;
}

.nhs-home-col-mobile-switch {
  display: none;
}

.nhs-home-mobile-value {
  display: inline-block;
  width: 100%;
  will-change: transform, opacity;
}

.nhs-home-image-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.nhs-home-image-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: #eef4fa;
  display: block;
}

.nhs-maternity-image-wrap {
  margin: 0 0 16px;
  max-width: 100%;
  overflow: hidden;
}

.nhs-maternity-image-wrap img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--nhs-border);
}

.nhs-home-lightbox-trigger {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

body.nhs-embed-mode .nhs-home-lightbox-trigger {
  cursor: default;
  pointer-events: none;
}

.nhs-home-lightbox-trigger img {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.nhs-home-lightbox-trigger:hover img,
.nhs-home-lightbox-trigger:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -28px rgba(15, 23, 42, 0.7);
}

.nhs-home-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: grid;
  place-items: center;
  padding: 24px;
}

.nhs-home-lightbox[hidden] {
  display: none;
}

.nhs-home-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 22, 0.76);
  backdrop-filter: blur(4px);
}

.nhs-home-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 18px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 36px 80px -42px rgba(0, 0, 0, 0.8);
  overflow-y: auto;
  overflow-x: hidden;
  touch-action: pinch-zoom;
}

.nhs-home-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0b2039;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nhs-home-lightbox-media {
  display: grid;
  justify-items: center;
  overflow: hidden;
}

.nhs-home-lightbox-figure {
  display: grid;
  justify-items: center;
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.nhs-home-lightbox-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 14px;
  background: #f4f8fd;
  touch-action: pinch-zoom;
}

.nhs-home-lightbox-figure img,
#nhs-home-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #f4f8fd;
  touch-action: pinch-zoom;
}

.nhs-home-lightbox-caption {
  margin-top: 12px;
  width: 100%;
  color: #415163;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.nhs-home-lightbox-figure figcaption,
#nhs-home-lightbox-title {
  margin-top: 12px;
  width: 100%;
  color: #415163;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 600;
}

.nhs-home-faq-card,
.nhs-home-proof-card {
  margin-top: 24px;
}

.nhs-home-faq-list {
  display: grid;
  gap: 12px;
}

.nhs-home-faq-item {
  border: 1px solid #d8e3f0;
  border-radius: 14px;
  background: #fbfdff;
  padding: 0 16px;
}

.nhs-home-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  color: #0b2039;
}

.nhs-home-faq-item summary::-webkit-details-marker {
  display: none;
}

.nhs-home-faq-item p {
  margin: 0 0 16px;
}

@media (max-width: 1040px) {
  .nhs-home-calc-grid,
  .nhs-home-content-grid {
    grid-template-columns: 1fr;
  }

  .nhs-home-tool-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nhs-home-page {
    width: min(100% - 20px, 1180px);
    margin: 18px auto 40px;
  }

  .nhs-home-hero,
  .nhs-home-card {
    padding: 18px;
  }

  .nhs-home-form-grid,
  .nhs-home-rates-grid {
    grid-template-columns: 1fr;
  }

  .nhs-home-tool-links {
    grid-template-columns: 1fr;
  }

  .nhs-home-highlights {
    gap: 10px;
    overflow: visible;
  }

  .nhs-home-highlights li {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }

  .nhs-home-country-tab {
    flex: 0 0 auto;
  }

  .nhs-home-country-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .nhs-home-results-row {
    align-items: flex-start;
    gap: 8px;
  }

  .nhs-home-results-row span {
    max-width: 55%;
  }

  .nhs-home-results-row strong {
    text-align: right;
  }

  .nhs-home-action-cluster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nhs-home-action-cluster .mort-action-label {
    font-size: 14px;
  }

  .nhs-home-table-wrap {
    padding: 9px 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    touch-action: pan-y;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .nhs-home-table {
    min-width: 0;
  }

  .nhs-home-table-head {
    margin-bottom: 10px;
  }

  .nhs-home-col-band {
    width: 32%;
  }

  .nhs-home-col-years-exp {
    width: 24%;
  }

  .nhs-home-col-desktop {
    display: none !important;
  }

  .nhs-home-col-mobile-switch {
    display: table-cell !important;
    width: 44%;
  }

  .nhs-home-table th.nhs-home-col-band,
  .nhs-home-table td.nhs-home-col-band,
  .nhs-home-table th.nhs-home-col-years-exp,
  .nhs-home-table td.nhs-home-col-years-exp {
    display: table-cell !important;
  }

  .nhs-home-table th.nhs-home-col-mobile-switch,
  .nhs-home-table td.nhs-home-col-mobile-switch {
    padding-left: 28px;
  }

  .nhs-home-table-mobile-nav {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .nhs-home-table-mobile-dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 2px;
  }

  .nhs-home-table-mobile-dot {
    appearance: none;
    -webkit-appearance: none;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    padding: 0;
    border-radius: 50%;
    border: 0;
    background: #d4ddec;
    opacity: 0.9;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  }

  .nhs-home-table-mobile-dot.is-active {
    background: var(--nhs-blue);
    opacity: 1;
    transform: scale(1.1);
  }

  .nhs-home-col-mobile-switch {
    transition: opacity 0.18s ease;
  }

  .nhs-home-lightbox {
    padding: 14px;
  }

  .nhs-home-lightbox-dialog {
    width: min(100vw - 28px, 1120px);
    max-height: calc(100vh - 28px);
    padding: 14px;
  }

  .nhs-home-lightbox-media img {
    max-height: calc(100vh - 110px);
  }

  .nhs-home-simple-table.is-mobile-switch .nhs-home-simple-col-hidden {
    display: none;
  }

  .nhs-home-simple-table.is-mobile-switch .nhs-home-simple-col-fixed,
  .nhs-home-simple-table.is-mobile-switch .nhs-home-simple-col-switch {
    display: table-cell;
  }

  .nhs-home-simple-table.is-mobile-switch .nhs-home-simple-col-fixed {
    width: 40%;
  }

  .nhs-home-simple-table.is-mobile-switch .nhs-home-simple-col-switch {
    width: 60%;
  }
}

@media (max-width: 520px) {
  .nhs-home-hero h1 {
    font-size: 2rem;
  }

  .nhs-home-hero p {
    font-size: 15px;
    line-height: 1.65;
  }

  .nhs-home-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nhs-home-action-cluster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nhs-home-lightbox-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }
}
