/* =========================================================
   LOCAL RESPONSIVE GRID + UTILITIES
   Replaces the Bootstrap grid/utilities used by this page.
========================================================= */

:root {
  --shc-grid-gutter: 1rem;
  --shc-container-xl: 1140px;
}

/* Containers */
.container-xl,
.container-fluid,
.page-container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.container-xl {
  max-width: var(--shc-container-xl);
}

/* Responsive flex grid */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--shc-grid-gutter) * -0.5);
  margin-left: calc(var(--shc-grid-gutter) * -0.5);
}

.row > * {
  min-width: 0;
  max-width: 100%;
  padding-right: calc(var(--shc-grid-gutter) * 0.5);
  padding-left: calc(var(--shc-grid-gutter) * 0.5);
}

.col {
  flex: 1 0 0%;
}

.col-3 {
  flex: 0 0 auto;
  width: 25%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.333333%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.row-cols-1 > * {
  flex: 0 0 auto;
  width: 100%;
}

/* Small breakpoint: 576px */
@media (min-width: 576px) {
  .col-sm {
    flex: 1 0 0%;
  }

  .col-sm-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }

  .col-sm-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }

  .col-sm-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* Medium breakpoint: 768px */
@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
}

/* Large breakpoint: 992px */
@media (min-width: 992px) {
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* Spacing utilities */
.m-2 {
  margin: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

@media (min-width: 768px) {
  .mb-md-3 {
    margin-bottom: 1rem !important;
  }
}

.text-M-750 {
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 750;
  line-height: 1.3;
}

.capitilize {
  text-transform: capitalize;
}

/* Display, sizing, alignment, and typography utilities */
.d-block {
  display: block !important;
}

.w-100 {
  width: 100% !important;
}

.center,
.divCenter {
  text-align: center;
}

.right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-nowrap {
  white-space: nowrap;
}

.h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.h4 {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.4;
}

/* Lightweight form controls */
.input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 1%;
}

.input-group-prepend {
  display: flex;
}

.form-control {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border: 1px solid #aebfc8;
  border-radius: 8px;
  background: #fff;
  color: #243746;
  font: inherit;
  line-height: 1.4;
}

.form-control:focus {
  border-color: #00718a;
  outline: 3px solid rgba(0, 113, 138, 0.2);
  outline-offset: 1px;
}

.boldNote {
  font-weight: 800;
}

.boldNotes {
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-primary {
  border-color: #0a5d82;
  color: #0a5d82;
  background: #fff;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: #0a5d82;
  color: #fff;
}

.input-group .form-control {
  border-radius: 8px 0 0 8px;
}

.input-group-prepend .btn {
  margin-left: -1px;
}

.input-group-prepend .btn:last-child {
  border-radius: 0 8px 8px 0;
}

/* Carousel image support */
.carousel-container,
.carousel-inner,
.carousel-item {
  width: 100%;
}

.carousel-item {
  display: block;
}

/* Mobile safety */
@media (max-width: 575px) {
  .col-sm,
  .col-sm-5,
  .col-sm-7,
  .col-sm-12,
  .col-md-4,
  .col-md-6,
  .col-md-8,
  .col-lg-3,
  .col-lg-9,
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .input-group {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .input-group > .form-control {
    flex-basis: 100%;
    width: 100%;
    border-radius: 8px;
  }

  .input-group-prepend {
    width: 100%;
  }

  .input-group-prepend .btn {
    flex: 1 1 0;
    margin-left: 0;
  }

  .input-group-prepend .btn:first-child {
    border-radius: 8px 0 0 8px;
  }

  .input-group-prepend .btn:last-child {
    border-radius: 0 8px 8px 0;
  }
}

/* =========================================================
   BANNER ACTION BUTTON
========================================================= */

#dph-mycarousel {
  position: relative;
}

#dph-mycarousel .banner-action-btn {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto;
  min-height: 34px;
  padding: 0.35rem 1rem;
  border: 2px solid #fff;
  border-radius: 12px;
  background: rgba(10, 93, 130, 0.95);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#dph-mycarousel .banner-action-btn:hover {
  background: #00718a;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.34);
}

#dph-mycarousel .banner-action-btn:focus-visible {
  outline: 3px solid #f2d288;
  outline-offset: 3px;
}

#dph-mycarousel .banner-action-btn i {
  flex: 0 0 auto;
}

/* Tablet and smaller */
@media (max-width: 768px) {
  #dph-mycarousel .banner-action-btn {
    right: 0.75rem;
    bottom: 0.15rem;
    min-height: 34px;
    padding: 0.25rem 0.45rem;
    font-size: 0.85rem;
    gap: 0.4rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  #dph-mycarousel .banner-action-btn {
    right: 0.15rem;
    bottom: 0.15rem;

    width: auto;
    min-width: 0;
    height: auto;
    min-height: 34px;

    padding: 0.15rem 0.7rem;
    border-radius: 6px;

    font-size: 0.75rem;
    line-height: 1;
    gap: 0.35rem;
  }

  #dph-mycarousel .banner-action-btn span {
    position: static;

    width: auto;
    height: auto;
    padding: 0;
    margin: 0;

    overflow: visible;
    clip: auto;
    clip-path: none;

    white-space: nowrap;
  }

  #dph-mycarousel .banner-action-btn i {
    margin: 0;
    font-size: 0.9rem;
  }
}

/* ==========================================================
   Reusable Site Alert Bar
========================================================== */

.site-alert-bar,
.site-alert-bar * {
  box-sizing: border-box;
}

.site-alert-bar {
  width: min(1000px, 100%);
  margin: 0 auto;
  padding: 0.85rem 1rem;

  background: #0a5d82;
  color: #fff;
}

.site-alert-bar__inner {
  width: min(1160px, 100%);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;

  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.5;
}

.site-alert-bar__inner i {
  flex: 0 0 auto;

  color: #f2d288;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.site-alert-bar__inner p {
  margin: 0;
}

.site-alert-bar__inner a {
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;

  background-image: linear-gradient(#f2d288, #f2d288);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;

  padding-bottom: 2px;
  transition:
    color 0.2s ease,
    background-size 0.2s ease;
}

.site-alert-bar__inner a:hover,
.site-alert-bar__inner a:focus {
  color: #003f5c !important;
  background-size: 100% 100%;
}

.site-alert-bar__inner a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 768px) {
  .site-alert-bar {
    padding: 0.8rem 1rem;
  }

  .site-alert-bar__inner {
    gap: 0.55rem;
    font-size: 0.9rem;
  }
}

/* ==========================================================
   Small Mobile
========================================================== */

@media (max-width: 480px) {
  .site-alert-bar {
    padding: 0.75rem;
  }

  .site-alert-bar__inner {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.55rem;

    text-align: center;
    font-size: 0.85rem;
    line-height: 1.45;
  }

  .site-alert-bar__inner i {
    margin-top: 0.15rem;
    font-size: 1.1rem;
  }

  .site-alert-bar__inner a {
    font-size: 0.75rem;
  }
}

/* ==========================================================
   Quick Links Section
========================================================== */

.quick-links-section,
.quick-links-section * {
  box-sizing: border-box;
}

.quick-links-section {
  width: min(1000px, 100%);
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Full-width visual container */
.quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 280px));
  justify-content: center;
  align-items: stretch;
  gap: 0.7rem;

  width: 100%;
  margin: 0 auto;
  padding: 0.75rem;

  background: linear-gradient(180deg, #f8fafc 0%, #f3f7fa 100%);
  border: 1px solid #dbe3ea;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}

/* ==========================================================
   Quick Link Card
========================================================== */

.quick-link-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
  max-width: 280px;
  min-height: 64px;
  height: 100%;
  margin: 0;
  padding: 0.65rem 1rem;

  background: #fff;
  border: 1px solid #d5dee6;
  border-radius: 10px;

  color: #0a5d82 !important;
  text-align: left;
  text-decoration: none !important;
  box-shadow: 0 3px 9px rgba(0, 43, 77, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    padding-right 0.22s ease;
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
  padding-right: 2rem;
  background: #fff;
  border-color: #0a5d82;
  color: #0a5d82 !important;
  text-decoration: none !important;

  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0, 43, 77, 0.13);
}

.quick-link-card:focus-visible {
  outline: 3px solid #f2d288;
  outline-offset: 3px;
}

/* ==========================================================
   Icon
========================================================== */

.quick-link-card__icon {
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  background: linear-gradient(180deg, #eef6fc 0%, #e5f0f8 100%);
  border: 1px solid #d5e5f1;
  border-radius: 10px;

  color: #0a5d82;
  font-size: 1.15rem;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.quick-link-card:hover .quick-link-card__icon,
.quick-link-card:focus-visible .quick-link-card__icon {
  background: #edf7ff;
  border-color: #bfd7eb;

  transform: scale(1.04);
  box-shadow: 0 5px 12px rgba(0, 91, 150, 0.1);
}

.clinic-card__hours-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85em;
  font-weight: 600;
}

/* ==========================================================
   Text
========================================================== */

.quick-link-card__text {
  flex: 1;
  min-width: 0;
  color: #0a5d82;
  font-size: 0.83rem;
  font-weight: 800;
  line-height: 1.3;
}

/* ==========================================================
   Arrow
========================================================== */

.quick-link-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.9rem;
  width: 7px;
  height: 7px;

  border-top: 2px solid #0a5d82;
  border-right: 2px solid #0a5d82;
  opacity: 0;
  pointer-events: none;
  transform: translate(-3px, -50%) rotate(45deg);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.quick-link-card:hover::after,
.quick-link-card:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%) rotate(45deg);
}

/* ==========================================================
   Tablet
========================================================== */

@media (max-width: 768px) {
  .quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 0.65rem;
    padding: 0.7rem;
  }

  .quick-link-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;

    width: 100%;
    max-width: none;
    min-height: 96px;

    padding: 0.7rem 0.5rem;

    text-align: center;
  }

  .quick-link-card:hover,
  .quick-link-card:focus-visible {
    padding-right: 0.5rem;
  }

  .quick-link-card:last-child {
    grid-column: auto;
    justify-self: stretch;
  }

  .quick-link-card__icon {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    font-size: 1.05rem;
  }

  .quick-link-card__text {
    width: 100%;

    font-size: 0.78rem;
    line-height: 1.25;
    text-align: center;
  }

  .quick-link-card::after {
    top: auto;
    right: 50%;
    bottom: 0.4rem;

    transform: translateX(50%) rotate(45deg);
  }

  .quick-link-card:hover::after,
  .quick-link-card:focus-visible::after {
    transform: translate(50%, 2px) rotate(45deg);
  }
}

/* ==========================================================
   Small Mobile
========================================================== */

@media (max-width: 480px) {
  .quick-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
  }

  .quick-link-card,
  .quick-link-card:last-child {
    grid-column: auto;
    justify-self: stretch;
  }

  .quick-link-card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;

    width: 100%;
    max-width: none;
    min-height: 88px;

    padding: 0.55rem 0.3rem;
    border-radius: 8px;

    text-align: center;
  }

  .quick-link-card:hover,
  .quick-link-card:focus-visible {
    padding-right: 0.3rem;
  }

  .quick-link-card__icon {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    border-radius: 8px;
    font-size: 0.95rem;
  }

  .quick-link-card__text {
    width: 100%;

    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;

    overflow-wrap: anywhere;
  }

  .quick-link-card::after {
    top: auto;
    right: 50%;
    bottom: 0.3rem;

    width: 5px;
    height: 5px;

    transform: translateX(50%) rotate(45deg);
  }

  .quick-link-card:hover::after,
  .quick-link-card:focus-visible::after {
    transform: translate(50%, 2px) rotate(45deg);
  }
}

/* ==========================================================
   Extra Small Mobile — Stack Cards
========================================================== */

@media (max-width: 360px) {
  .quick-links {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.55rem;
  }

  .quick-link-card {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.55rem;

    min-height: 54px;
    padding: 0.5rem 1.8rem 0.5rem 0.6rem;

    text-align: left;
  }

  .quick-link-card:hover,
  .quick-link-card:focus-visible {
    padding-right: 1.8rem;
  }

  .quick-link-card__icon {
    flex: 0 0 34px;
  }

  .quick-link-card__text {
    font-size: 0.76rem;
    line-height: 1.25;
    text-align: left;
    overflow-wrap: normal;
  }

  .quick-link-card::after {
    top: 50%;
    right: 0.7rem;
    bottom: auto;

    transform: translate(-3px, -50%) rotate(45deg);
  }

  .quick-link-card:hover::after,
  .quick-link-card:focus-visible::after {
    transform: translate(0, -50%) rotate(45deg);
  }
}

/* =========================================================
   SEXUAL HEALTH CLINICS — PAGE REDESIGN
========================================================= */

:root {
  --shc-blue-dark: #0a5d82;
  --shc-blue: #00718a;
  --shc-aqua: #0097b2;
  --shc-aqua-light: #a8d5da;
  --shc-gold: #f2d288;
  --shc-green: #b6d99c;
  --shc-ink: #243746;
  --shc-muted: #5c6f7b;
  --shc-border: #d7e2e8;
  --shc-surface: #ffffff;
  --shc-surface-soft: #f4f9fb;
  --shc-danger: #a61b1b;
  --shc-radius: 16px;
  --shc-shadow: 0 10px 28px rgba(10, 93, 130, 0.1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

.visiting-clinic-copy p {
  font-size: clamp(0.88rem, 1.2vw, 0.92rem);
  line-height: 1.25;
  margin-top: 0;
}

.visiting-clinic-copy p + p {
  margin-top: 1rem;
}

.sexual-health-page {
  margin: 0;
  color: var(--shc-ink);
  background: #fff;
}

.sexual-health-page *,
.sexual-health-page *::before,
.sexual-health-page *::after {
  box-sizing: border-box;
}

.sexual-health-layout {
  width: min(1000px, 100%);
  margin: 0 auto;
}

.sexual-health-content {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.sexual-health-content > .row:first-child {
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #cfe0e8;
  border-left: 6px solid var(--shc-aqua);
  border-right: 6px solid var(--shc-aqua);
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fcfe 0%, #eef8fb 100%);
  box-shadow: 0 5px 18px rgba(10, 93, 130, 0.07);
}

.sexual-health-content > .row:first-child p {
  margin: 0;
  text-align: center;
  color: var(--shc-blue-dark);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  text-transform: capitalize;
  line-height: 1.45;
}

/* Section title bars */
.sexual-health-content .pod-torquise {
  margin: 2.25rem 0 1rem !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(
    135deg,
    var(--shc-blue-dark) 0%,
    var(--shc-blue) 100%
  ) !important;
  box-shadow: 0 7px 18px rgba(10, 93, 130, 0.16);
}

.sexual-health-content .pod-torquise .col {
  padding: 0 !important;
}

.sexual-health-content .pod-torquise h2 {
    margin: 0;
    padding: 0.8rem 1rem;
    color: #fff !important;
    background-color: var(--shc-blue-dark) !important;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-align: center;
}

/* Service cards */
#services-resources + div.row {
  display: none;
}

.sexual-health-content .pod-torquise:has(#services-resources) + .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 !important;
}

.sexual-health-content
  .pod-torquise:has(#services-resources)
  + .row
  > .col-md-6 {
  display: contents;
}

.sexual-health-content
  .pod-torquise:has(#services-resources)
  + .row
  > .col-md-6
  > .row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  gap: 0.9rem;
  margin: 0 !important;
  padding: 1rem;
  border: 1px solid var(--shc-border);
  border-radius: 14px;
  background: var(--shc-surface);
  box-shadow: 0 5px 16px rgba(0, 43, 77, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.sexual-health-content
  .pod-torquise:has(#services-resources)
  + .row
  > .col-md-6
  > .row:hover {
  border-color: #b9d5e1;
  box-shadow: var(--shc-shadow);
}

.sexual-health-content .pod-torquise:has(#services-resources) + .row .col-3,
.sexual-health-content .pod-torquise:has(#services-resources) + .row .col-9 {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
}

.sexual-health-content .pod-torquise:has(#services-resources) + .row .col-3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid #cfe2ea;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef8fb 0%, #e4f2f7 100%);
}

.sexual-health-content .pod-torquise:has(#services-resources) + .row img {
  width: 46px !important;
  height: 46px !important;
  max-width: 46px !important;
  object-fit: contain;
}

.sexual-health-content .pod-torquise:has(#services-resources) + .row p {
  margin: 0;
  line-height: 1.55;
  font-size: 0.88rem;
}

.sexual-health-content
  .pod-torquise:has(#services-resources)
  + .row
  .podtext-blue {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--shc-blue-dark) !important;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

/* Visiting / clinic type information rows */
.sexual-health-content .pod-intro-border {
  padding: 1rem 1.1rem !important;
  border: 0 !important;
  border-left: 6px solid var(--shc-aqua) !important;
  border-radius: 14px 0 0 14px;
  background: #edf8fb;
}

.sexual-health-content .pod-intro-border + [class*="col-"] {
  padding: 1rem 1.2rem !important;
  border: 1px solid var(--shc-border);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: #fff;
}

.sexual-health-content .pod-intro-border p {
  margin: 0;
  color: var(--shc-blue-dark) !important;
  font-size: 1.08rem !important;
  line-height: 1.35;
  text-align: left !important;
}

.sexual-health-content .pod-intro-border + [class*="col-"] p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   General Content Links
========================================================= */

.sexual-health-content a:not(.callout-btn) {
  color: var(--shc-blue) !important;
  font-weight: 800;
  text-decoration: none !important;

  background-image: linear-gradient(var(--shc-gold), var(--shc-gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;

  padding-bottom: 2px;

  transition:
    color 0.2s ease,
    background-size 0.2s ease,
    background-position 0.2s ease;
}

.sexual-health-content a:not(.callout-btn):hover,
.sexual-health-content a:not(.callout-btn):focus {
  color: var(--shc-blue-dark) !important;
  background-size: 100% 100%;
  background-position: 0 100%;
}

.sexual-health-content a:not(.callout-btn):focus-visible {
  outline: 3px solid var(--shc-gold);
  outline-offset: 3px;
}

/* Important callout */
.sexual-health-content .clinic-callout {
  margin: 1.25rem 0;
  border-radius: 16px;
  box-shadow: var(--shc-shadow);
}

/* =========================================================
   START: EXCEL-GENERATED CLINIC CARDS
   Two cards per row with a compact, readable hours schedule.
========================================================= */

/* =========================================================
   RESULTS GRID
========================================================= */

#clinic-locations,
#sorted-locations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;

  width: 100%;
  margin: 1.25rem 0 0;
  padding: 0;

  background: transparent;
  border: 0;
  box-shadow: none;
}

#clinic-locations[hidden],
#sorted-locations[hidden] {
  display: none !important;
}

#clinic-locations > .clinic-card,
#sorted-locations > .clinic-card {
  width: 100%;
  min-width: 0;
  max-width: none;

  margin: 0 !important;
  padding: 0;

  background: #fff;
}

/* =========================================================
   CARD SHELL
========================================================= */

.clinic-card {
  position: relative;
  isolation: isolate;

  display: flex;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  height: 100%;

  overflow: hidden;

  color: var(--shc-ink);
  background: #fff;
  border: 1px solid #cbdce3;
  border-radius: 14px;

  box-shadow: 0 5px 16px rgba(0, 43, 77, 0.07);
}

.clinic-card::before {
  content: "";

  position: absolute;
  inset: 0 0 auto;
  z-index: 2;

  height: 5px;

  background: var(--shc-aqua);
  pointer-events: none;
}

.clinic-card header,
.clinic-card section,
.clinic-card aside,
.clinic-card dl,
.clinic-card dt,
.clinic-card dd,
.clinic-card div {
  max-width: none;
}

.clinic-card dl,
.clinic-card dt,
.clinic-card dd {
  margin: 0;
}

/* =========================================================
   CARD HEADER
========================================================= */

.clinic-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;

  margin: 0;
  padding: 1.15rem 1rem 0.9rem;

  background: linear-gradient(180deg, #f8fcfd 0%, #f1f8fa 100%);

  border: 0;
  border-bottom: 1px solid #dce8ed;
}

.clinic-card__heading {
  min-width: 0;
}

.clinic-card__name {
  margin: 0;

  color: var(--shc-blue-dark);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.clinic-card__community {
  display: block;

  margin-top: 0.2rem;

  color: var(--shc-muted);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
}

/* =========================================================
   DISTANCE BADGE
========================================================= */

.clinic-card__distance {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  gap: 0.3rem;

  margin: 0;
  padding: 0.35rem 0.55rem;

  color: var(--shc-blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;

  background: #fff;
  border: 1px solid #c7dee6;
  border-radius: 999px;
}

.clinic-card__distance i {
  color: var(--shc-aqua);
}

/* =========================================================
   CONTACT INFORMATION
========================================================= */

.clinic-card__contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 0.75rem 0.9rem;

  margin: 0;
  padding: 1rem;

  background: #fff;
  border: 0;
  border-bottom: 1px solid #dce8ed;
}

.clinic-card__contact--address {
  grid-row: span 2;
}

.clinic-card__contact {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: flex-start;
  gap: 0.55rem;

  min-width: 0;
  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
}

.clinic-card__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  margin: 0;

  color: var(--shc-aqua);
  font-size: 0.88rem;

  background: #eef8fb;
  border: 1px solid #cfe4ea;
  border-radius: 8px;
}

.clinic-card__contact-content {
  min-width: 0;
  margin: 0;
  padding: 0;

  color: var(--shc-ink);
  font-size: 0.81rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.clinic-card__contact-label {
  display: block;
  margin: 0 0 0.15rem;

  color: var(--shc-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.clinic-card__contact-content > span,
.clinic-card__contact-content a {
  margin: 0;
}

.clinic-card__contact-content a {
  color: var(--shc-blue) !important;
  font-weight: 800;
  text-decoration: none !important;

  background-image: linear-gradient(var(--shc-gold), var(--shc-gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;

  padding-bottom: 2px;
}

.clinic-card__contact-content a:hover,
.clinic-card__contact-content a:focus {
  color: var(--shc-blue-dark) !important;
  background-size: 100% 100%;
}

.clinic-card__contact-content a:focus-visible {
  outline: 3px solid var(--shc-gold);
  outline-offset: 3px;
}

/* =========================================================
   CLINIC HOURS
   Single schedule list avoids awkward boxed tiles and keeps
   long time ranges aligned inside two-column clinic cards.
========================================================= */

.clinic-card__hours {
  flex: 1;

  margin: 0;
  padding: 1rem;

  background: #fff;
  border: 0;
}

.clinic-card__hours-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;

  margin: 0 0 0.65rem;
  padding: 0;

  border: 0;
}

.clinic-card__hours-heading i {
  color: var(--shc-aqua);
  font-size: 0.9rem;
}

.clinic-card__hours-heading h4 {
  margin: 0;

  color: var(--shc-blue-dark);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.clinic-card__hours-list {
  display: grid;
  grid-template-columns: 1fr;

  margin: 0;
  padding: 0;

  overflow: hidden;

  background: #f8fbfc;
  border: 1px solid #dce8ed;
  border-radius: 10px;
}

.clinic-card__hours-row {
  display: grid;
  grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: 0.75rem;

  padding: 0.25rem 0.75rem;

  border-bottom: 1px solid #e3ecef;
}

.clinic-card__hours-row dt {
  margin: 0;
  color: var(--shc-blue-dark);
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.4;
  border-top: 0px solid transparent;
}

.clinic-card__hours-row dd {
  min-width: 0;
  margin: 0;
  color: var(--shc-ink);
  font-size: 0.76rem;
  line-height: 1.45;
  border-top: 0px solid transparent;
}

/* =========================================================
   CLINIC HOURS — KEEP DESKTOP LAYOUT ON TABLET/MOBILE
========================================================= */

@media (max-width: 767px) {
  .clinic-card__hours-list {
    width: 100%;
    min-width: 0;
  }

  .clinic-card__hours-row {
    grid-template-columns: minmax(110px, 0.42fr) minmax(0, 1fr);
    gap: 0.75rem;

    width: 100%;
    min-width: 0;
  }

  .clinic-card__hours-row dt,
  .clinic-card__hours-row dd {
    min-width: 0;
    margin: 0;
  }

  .clinic-card__hours-row dt {
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  .clinic-card__hours-row dt::after {
    content: "";
    display: block;

    width: 38px;
    height: 3px;
    margin-top: 0.25rem;

    background: var(--shc-gold);
    border-radius: 999px;
  }

  .clinic-card__hours-row dd {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

/* =========================================================
   CLINIC NOTE
========================================================= */

.clinic-card__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  margin: auto 0 0;
  padding: 0.75rem 1rem;

  color: #614b16;
  font-size: 0.77rem;
  line-height: 1.45;
  text-align: left;

  background: #fff8e8;
  border: 0;
  border-top: 1px solid #ead7a8;
}

.clinic-card__note i {
  flex: 0 0 auto;
  margin: 0;
  color: #a66f00;
}

.clinic-card__note > div {
  min-width: 0;
}

.clinic-card__note span {
  display: inline;
}

.clinic-card__note a {
  display: inline-block;

  margin-left: 0.2rem;
  padding: 0;

  color: #765000 !important;
  font-weight: 800;
  text-decoration: underline !important;
  text-underline-offset: 2px;

  background: none !important;
  border: 0;
}

.clinic-card__note a:hover,
.clinic-card__note a:focus {
  color: #4f3500 !important;
  background: none !important;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 950px) {
  #clinic-locations,
  #sorted-locations {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .clinic-card__header {
    flex-direction: column;
    gap: 0.55rem;
  }

  .clinic-card__distance {
    align-self: flex-start;
  }

  .clinic-card__contact-grid {
    grid-template-columns: 1fr;
  }

  .clinic-card__contact--address {
    grid-row: auto;
  }
}

@media (max-width: 420px) {
  .clinic-card__header,
  .clinic-card__contact-grid,
  .clinic-card__hours,
  .clinic-card__note {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .clinic-card__contact {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .clinic-card__contact-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .clinic-card,
  .clinic-card * {
    transition: none !important;
  }
}

/* =========================================================
   END: EXCEL-GENERATED CLINIC CARDS
========================================================= */

/* Results panel */
.results-highlight {
  margin: 2.5rem 0 0 !important;
  padding: clamp(1.25rem, 3vw, 2rem) !important;
  border: 1px solid #b9dce4 !important;
  border-left: 8px solid var(--shc-aqua) !important;
  border-right: 0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #f8fcfe 0%, #edf8fb 100%) !important;
  box-shadow: var(--shc-shadow) !important;
}

.results-highlight h3 {
  color: var(--shc-blue-dark) !important;
  font-size: clamp(1.45rem, 3vw, 2rem) !important;
}

.results-highlight .turnaround {
  background: var(--shc-blue-dark) !important;
}

.results-highlight .portal-name {
  color: var(--shc-aqua) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .sexual-health-content .pod-torquise:has(#services-resources) + .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sexual-health-layout {
    padding-inline: 0.75rem;
  }

  .sexual-health-content .pod-intro-border,
  .sexual-health-content .pod-intro-border + [class*="col-"] {
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
    border: 1px solid var(--shc-border) !important;
  }

  .sexual-health-content .pod-intro-border {
    border-left: 6px solid var(--shc-aqua) !important;
    border-radius: 14px 14px 0 0;
    margin-bottom: 0;
  }

  .sexual-health-content .pod-intro-border + [class*="col-"] {
    border-top: 0 !important;
    border-radius: 0 0 14px 14px;
    padding: 0.25rem 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .sexual-health-layout {
    padding-inline: 0.5rem;
  }

  .sexual-health-content > .row:first-child {
    padding: 0.9rem;
  }

  .sexual-health-content
    .pod-torquise:has(#services-resources)
    + .row
    > .col-md-6
    > .row {
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 0.8rem;
  }

  .sexual-health-content .pod-torquise:has(#services-resources) + .row .col-3 {
    width: 50px;
    height: 50px;
  }

  .sexual-health-content .pod-torquise:has(#services-resources) + .row img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .quick-link-card,
  .quick-link-card__icon,
  .banner-action-btn,
  .sexual-health-content
    .pod-torquise:has(#services-resources)
    + .row
    > .col-md-6
    > .row {
    transition: none !important;
  }
}

/* =========================================================
   LOCATIONS AND HOURS — CONTENT LINKS
========================================================= */

.clinic-locations-section a:not(.clinic-update-strip > a) {
  color: var(--shc-blue) !important;
  font-weight: 800;
  text-decoration: none !important;

  background-image: linear-gradient(var(--shc-gold), var(--shc-gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;

  padding-bottom: 2px;

  transition:
    color 0.2s ease,
    background-size 0.2s ease,
    background-position 0.2s ease;
}

.clinic-locations-section a:not(.clinic-update-strip > a):hover,
.clinic-locations-section a:not(.clinic-update-strip > a):focus {
  color: var(--shc-blue-dark) !important;
  background-size: 100% 100%;
  background-position: 0 100%;
}

.clinic-locations-section a:not(.clinic-update-strip > a):focus-visible {
  outline: 3px solid var(--shc-gold);
  outline-offset: 3px;
}

/* =========================================================
   CLINIC INFORMATION NOTE
========================================================= */

.clinic-info-note {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.9rem;

  width: 100%;
  max-width: 950px;
  margin: 1.5rem auto 2rem;
  padding: 1rem 1.2rem;

  background: linear-gradient(135deg, #f8fcfe 0%, #eef8fb 100%);

  border: 1px solid var(--shc-border);
  border-left: 6px solid var(--shc-aqua);
  border-right: 6px solid var(--shc-aqua);
  border-radius: 14px;

  box-shadow: 0 5px 16px rgba(10, 93, 130, 0.08);
}

.clinic-info-note__icon {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;

  background: #fff;
  border: 1px solid #cfe2ea;
  border-radius: 12px;
  color: var(--shc-blue-dark);
  font-size: 1.25rem;
}

.clinic-info-note p {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;

  margin: 0;

  color: var(--shc-ink);
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;

  overflow-wrap: anywhere;
  word-break: normal;
}

.clinic-info-note a {
  display: inline;

  max-width: 100%;

  color: var(--shc-blue) !important;
  font-weight: 800;
  text-decoration: none !important;

  white-space: normal;
  overflow-wrap: anywhere;

  background-image: linear-gradient(var(--shc-gold), var(--shc-gold));

  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;

  padding-bottom: 2px;
}

/* =========================================================
   LOCATIONS AND HOURS — SIMPLIFIED LAYOUT
========================================================= */

.clinic-locations-section,
.clinic-locations-section * {
  box-sizing: border-box;
}

.clinic-locations-section {
  width: 100%;
  margin: 2.5rem auto 0;
}

/* =========================================================
   PRIMARY SECTION HEADING
========================================================= */

.clinic-locations-section > .section-heading {
  margin: 0 0 1rem;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    var(--shc-blue-dark) 0%,
    var(--shc-blue) 100%
  );

  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(10, 93, 130, 0.16);
}

.clinic-locations-section > .section-heading h2 {
    margin: 0;
    padding: 0.85rem 1rem;
    color: #fff !important;
    background-color: var(--shc-blue-dark) !important;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
}

/* =========================================================
   IMPORTANT UPDATE STRIP
========================================================= */

.clinic-update-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;

  margin: 0 0 1.75rem;
  padding: 0.9rem 1rem;

  background: #fff9ea;
  border: 1px solid #e3c56e;
  border-left: 5px solid #c98a00;
  border-radius: 10px;
}

.clinic-update-strip > i {
  color: #986500;
  font-size: 1.25rem;
}

.clinic-update-strip h3 {
  margin: 0 0 0.15rem;

  color: #704b00;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: capitalize;
}

.clinic-update-strip p {
  margin: 0;

  color: #5c4b23;
  font-size: 0.84rem;
  line-height: 1.45;
}

.clinic-update-strip > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 40px;
  padding: 0.55rem 0.8rem;

  background: var(--shc-blue-dark);
  border: 1px solid var(--shc-blue-dark);
  border-radius: 8px;

  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.clinic-update-strip > a:hover,
.clinic-update-strip > a:focus-visible {
  background: var(--shc-blue);
  color: #fff !important;
}

.clinic-update-strip > a:focus-visible {
  outline: 3px solid var(--shc-gold);
  outline-offset: 3px;
}

/* =========================================================
   GENERIC SUBSECTION HEADINGS
========================================================= */

.clinic-subheading {
  margin-bottom: 0.9rem;
}

.clinic-subheading h2 {
  margin: 0;
  text-transform: capitalize;
  color: var(--shc-blue-dark);
  font-size: clamp(1.12rem, 3vw, 1.4rem);
  font-weight: 800;
  line-height: 1.3;
}

.clinic-subheading--compact {
  margin-bottom: 0.65rem;
}

.section-title-accent {
  position: relative;
  margin: 0;
  padding-bottom: 0.75rem;
}

.section-title-accent::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;

  width: 84px;
  height: 4px;

  background: var(--shc-gold);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(214, 164, 57, 0.35);
}

/* =========================================================
   CARE OPTIONS
========================================================= */

.clinic-care-options {
  margin-bottom: 1.8rem;
}

.clinic-care-options__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  border-top: 1px solid var(--shc-border);
  border-bottom: 1px solid var(--shc-border);
}

.clinic-care-option {
  min-width: 0;
  padding: 1rem 1.15rem;
}

.clinic-care-option + .clinic-care-option {
  border-left: 1px solid var(--shc-border);
}

.clinic-care-option__title,
.clinic-access__title {
  display: flex;
  align-items: center;
  gap: 0.55rem;

  margin-bottom: 0.5rem;
}

.clinic-care-option__title i,
.clinic-access__title i {
  flex: 0 0 auto;

  color: var(--shc-aqua);
  font-size: 1rem;
}

.clinic-care-option h3,
.clinic-access h3,
.clinic-before-visit h3 {
  margin: 0;
  color: var(--shc-blue-dark);
  font-size: 1.04rem;
  text-transform: capitalize;
  font-weight: 800;
  line-height: 1.3;
}

.clinic-care-option p,
.clinic-access p,
.clinic-before-visit p {
  margin: 0 0 0.65rem;

  color: var(--shc-ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.clinic-care-option p:last-child,
.clinic-access p:last-child,
.clinic-before-visit p:last-child {
  margin-bottom: 0;
}

.clinic-care-option__meta {
  color: var(--shc-blue-dark) !important;
}

/* =========================================================
   PLAN YOUR VISIT
========================================================= */

.clinic-access {
  margin-bottom: 1.8rem;
}

.clinic-access__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

  background: #f7fafc;
  border: 1px solid var(--shc-border);
  border-radius: 12px;
}

.clinic-access__schedule,
.clinic-access__schedule-info {
  min-width: 0;
  padding: 1rem 1.15rem;
}

.clinic-access__schedule-info {
  border-left: 1px solid var(--shc-border);
}

.clinic-access__list {
  margin: 0 0 0.8rem;
  padding-left: 1.2rem;
}

.clinic-access__list li {
  margin-bottom: 0.4rem;

  color: var(--shc-ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.clinic-access__list li:last-child {
  margin-bottom: 0;
}

.clinic-schedule-links {
  margin: 0;
  padding-top: 0.75rem;

  border-top: 1px solid var(--shc-border);

  color: var(--shc-ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* =========================================================
   CLINIC LOCATOR
========================================================= */

.clinic-before-visit {
  margin-bottom: 1.5rem;
}

.clinic-before-visit .clinic-access__locator {
  min-width: 0;
  padding: 1rem 0 0;
  border: 0;
}

.clinic-access__locator label {
  display: block;

  margin: 0 0 0.35rem;

  color: var(--shc-ink);
  font-size: 0.84rem;
  font-weight: 700;
}

/* =========================================================
   IMPORTANT CLINIC NOTES
========================================================= */

.clinic-notes-line {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;

  border-top: 2px solid #d9a8a8;
}

.clinic-notes-line h3 {
  display: flex;
  align-items: center;
  gap: 0.45rem;

  margin: 0 0 0.5rem;

  color: #7e1717;
  font-size: 0.98rem;
  font-weight: 800;
}

.clinic-notes-line h3 i {
  color: var(--shc-danger);
}

.clinic-notes-line ul {
  margin: 0;
  padding-left: 1.2rem;
}

.clinic-notes-line li {
  margin-bottom: 0.45rem;

  color: #651414;
  font-size: 0.86rem;
  line-height: 1.5;
}

.clinic-notes-line li:last-child {
  margin-bottom: 0;
}

/* =========================================================
   RESPONSIVE LOCATIONS AND HOURS
========================================================= */

@media (max-width: 768px) {
  .clinic-update-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .clinic-update-strip > a {
    grid-column: 2;
    justify-self: start;
  }

  .clinic-care-options__grid,
  .clinic-access__grid {
    grid-template-columns: 1fr;
  }

  .clinic-care-option + .clinic-care-option,
  .clinic-access__schedule-info {
    border-left: 0;
    border-top: 1px solid var(--shc-border);
  }
}

@media (max-width: 480px) {
  .clinic-update-strip {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .clinic-update-strip > a {
    grid-column: auto;
    width: 100%;
  }

  .clinic-care-option,
  .clinic-access__schedule,
  .clinic-access__schedule-info {
    padding: 0.45rem;
  }

  .clinic-locator__controls {
    grid-template-columns: 1fr;
  }

  .clinic-locator__search,
  .clinic-locator__clear {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clinic-update-strip > a {
    transition: none;
  }
}

/* Highlight the six Sexual Health Service locations */
.clinic-location-highlight {
  margin: 1.2rem 0 2rem !important;
  padding: 1.15rem 1.25rem;

  background: linear-gradient(135deg, #f8fcfe 0%, #e8f6fa 100%);

  border: 1px solid #b9dce4;
  border-left: 6px solid var(--shc-aqua);
  border-right: 6px solid var(--shc-aqua);
  border-radius: 14px;

  box-shadow: 0 6px 18px rgba(10, 93, 130, 0.1);
}

.clinic-location-highlight p {
  margin: 0;
  color: var(--shc-blue-dark) !important;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.45;
}

.clinic-location-highlight__number {
  display: inline;
  color: var(--shc-blue-dark);
  font-weight: 800;
  white-space: nowrap;

  background-image: linear-gradient(var(--shc-gold), var(--shc-gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 4px;

  padding-bottom: 0.15rem;
}

@media (max-width: 480px) {
  .clinic-location-highlight {
    padding: 0.9rem;
  }
}

/* =========================================================
   TEST RESULTS
========================================================= */

.clinic-results-turnaround {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  margin: 0.8rem 0 !important;
  padding: 0.65rem 0.75rem;

  background: #eef8fb;
  border-left: 4px solid var(--shc-aqua);
  border-radius: 6px;
  font-weight: 700;
  color: var(--shc-blue-dark) !important;
}

.clinic-results-turnaround i {
  flex: 0 0 auto;
  color: var(--shc-aqua);
}

/* =========================================================
   CLINIC FINDER
========================================================= */

.clinic-finder,
.clinic-finder * {
  box-sizing: border-box;
}

.clinic-finder {
  width: 100%;
  margin: 0 0 2rem;
}

.clinic-finder .clinic-subheading {
  margin-bottom: 0.9rem;
}

/* =========================================================
   SEARCH PANEL
========================================================= */

.clinic-finder__search {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 1.25rem;

  width: 100%;
  min-width: 0;
  padding: 1.2rem;

  background: linear-gradient(135deg, #f7fcfe 0%, #edf8fb 100%);
  border: 1px solid #cfe0e8;
  border-left: 6px solid var(--shc-aqua);
  border-right: 6px solid var(--shc-aqua);
  border-radius: 14px 14px 0 0;

  box-shadow: 0 5px 16px rgba(10, 93, 130, 0.08);
}

.clinic-finder__search-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  min-width: 0;
}

.clinic-finder__search-icon {
  flex: 0 0 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  color: var(--shc-blue-dark);
  font-size: 1.15rem;

  background: #fff;
  border: 1px solid #cfe2ea;
  border-radius: 11px;
}

.clinic-finder__search-title > div,
.clinic-finder__form {
  min-width: 0;
}

.clinic-finder__search-title h3 {
  margin: 0 0 0.2rem;
  text-transform: capitalize;
  color: var(--shc-blue-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.clinic-finder__search-title p {
  margin: 0;

  color: var(--shc-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.clinic-locator__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: stretch;
  gap: 0.55rem;

  width: 100%;
}

.clinic-locator__controls input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0 !important;
  color: var(--shc-ink);
  font: inherit;

  background: #fff;
  border: 1px solid #aebfc8;
  border-radius: 8px;

}

.clinic-locator__controls input:focus {
  border-color: var(--shc-blue);
  outline: 3px solid rgba(0, 113, 138, 0.18);
  outline-offset: 1px;
}

.clinic-locator__search,
.clinic-locator__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;

  min-height: 44px;
  padding: 0.6rem 0.9rem;

  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;

  border-radius: 8px;
  cursor: pointer;
}

.clinic-locator__search {
  color: #fff;
  background: var(--shc-blue-dark);
  border: 1px solid var(--shc-blue-dark);
}

.clinic-locator__clear {
  color: var(--shc-blue-dark);
  background: #fff;
  border: 1px solid #aebfc8;
}

.clinic-locator__search:hover,
.clinic-locator__search:focus-visible {
  background: var(--shc-blue);
}

.clinic-locator__clear:hover,
.clinic-locator__clear:focus-visible {
  background: #eaf5f8;
}

.clinic-locator__search:focus-visible,
.clinic-locator__clear:focus-visible {
  outline: 3px solid var(--shc-gold);
  outline-offset: 2px;
}

.clinic-finder__help,
.clinic-locator__help {
  margin: 0.4rem 0 0;

  color: var(--shc-muted);
  font-size: 0.74rem;
  line-height: 1.4;
}

/* =========================================================
   COMPACT IMPORTANT CLINIC NOTES
========================================================= */

.clinic-finder__notice {
  margin: 0;
  padding: 0.9rem 1rem;

  background: #fffaf2;
  border: 1px solid #ead6aa;
  border-top: 0;
  border-radius: 0 0 14px 14px;

  box-shadow: 0 5px 16px rgba(112, 75, 0, 0.05);
}

.clinic-finder__notice-heading {
  display: flex;
  align-items: center;
  gap: 0.45rem;

  margin: 0 0 0.75rem;
  padding: 0 0 0.65rem;

  border-bottom: 2px solid #ead6aa;
}

.clinic-finder__notice-heading i {
  flex: 0 0 auto;

  color: #986500;
  font-size: 0.95rem;
}

.clinic-finder__notice-heading h3 {
  margin: 0;
  text-transform: capitalize;
  color: #704b00;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.clinic-finder__notice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.clinic-finder__notice-item {
  min-width: 0;
  padding: 0 1rem;
}

.clinic-finder__notice-item:first-child {
  padding-left: 0;
  border-right: 1px solid #eadfc6;
}

.clinic-finder__notice-item:last-child {
  padding-right: 0;
}

.clinic-finder__notice-label {
  display: inline-flex;
  align-items: center;

  padding: 0.2rem 0.45rem;

  color: #704b00;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;

  background: #fff1cb;
  border: 1px solid #ead6aa;
  border-radius: 999px;
}

.clinic-finder__notice-item p {
  min-width: 0;
  margin: 0.5rem 0 0;

  color: #5c4b23;
  font-size: 0.77rem;
  line-height: 1.45;

  overflow-wrap: anywhere;
}

.clinic-finder__notice-item strong {
  color: #704b00;
  font-weight: 800;
}

/* =========================================================
   CLINIC FINDER RESPONSIVE
========================================================= */

@media (max-width: 800px) {
  .clinic-finder__search {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

@media (max-width: 650px) {
  .clinic-finder__notice-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .clinic-finder__notice-item,
  .clinic-finder__notice-item:first-child,
  .clinic-finder__notice-item:last-child {
    padding: 0 0 0.7rem;
    border-right: 0;
    border-bottom: 1px solid #eadfc6;
  }

  .clinic-finder__notice-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .clinic-finder__search {
    padding: 1rem;
  }

  .clinic-finder__notice {
    padding: 0.85rem;
  }

  .clinic-finder__search-title {
    align-items: flex-start;
  }

  .clinic-finder__search-icon {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  .clinic-locator__controls {
    grid-template-columns: 1fr 1fr;
  }

  .clinic-locator__controls input {
    grid-column: 1 / -1;
  }

  .clinic-locator__search,
  .clinic-locator__clear {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .clinic-locator__controls {
    grid-template-columns: 1fr;
  }

  .clinic-locator__controls input {
    grid-column: auto;
  }
}

/* =========================================================
   LA HEALTH PORTAL MESSAGE HIGHLIGHT
========================================================= */

.portal-message-highlight {
  position: relative;
  margin: 1.25rem 0;
  padding: 1rem 1.15rem 1rem 3.25rem;

  color: #243746;
  background: linear-gradient(135deg, #fffaf0 0%, #fff4d8 100%);
  border: 1px solid #e4c66f;
  border-left: 6px solid #f2b632;
  border-radius: 12px;

  box-shadow: 0 5px 16px rgba(97, 75, 22, 0.1);
}

.portal-message-highlight::before {
  content: "\f073";
  position: absolute;
  top: 1rem;
  left: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 1.55rem;
  height: 1.55rem;

  color: #765000;
  font-family: "Font Awesome 6 Free";
  font-size: 1rem;
  font-weight: 900;
}

.portal-message-highlight a {
  font-weight: 800;
}

.portal-message-highlight > :first-child {
  margin-top: 0;
}

.portal-message-highlight > :last-child {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .portal-message-highlight {
    padding: 2.75rem 0.9rem 0.9rem;
  }

  .portal-message-highlight::before {
    top: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================================================
   VISITING THE CLINIC — CONSISTENT ROW ALIGNMENT
========================================================= */

.clinic-info-row {
  align-items: stretch;
  margin-right: 0;
  margin-left: 0;
}

.clinic-info-row > [class*="col-"] {
  min-width: 0;
}

.clinic-info-row__heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.clinic-info-row__heading p {
  width: 100%;
  margin: 0;
  text-align: left !important;
}

.clinic-info-row__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.clinic-info-row__content p {
  margin: 0;
  font-size: clamp(0.88rem, 1.2vw, 0.92rem);
  line-height: 1.55;
}

.clinic-info-row__content p + p {
  margin-top: 0.9rem;
}

/* Keep the animated portal paragraph aligned with surrounding copy */
.clinic-info-row__content #highlight-effect {
  width: 100%;
  margin-top: 0.9rem;
  margin-bottom: 0;
}

/* Remove unexpected spacing from the first and last paragraphs */
.clinic-info-row__content p:first-child {
  margin-top: 0;
}

.clinic-info-row__content p:last-child {
  margin-bottom: 0;
}

/* Make both sides appear as one connected row */
.clinic-info-row .pod-intro-border {
  padding: 1rem 1.1rem !important;
  border-left: 6px solid var(--shc-aqua) !important;
  border-radius: 14px 0 0 14px;
}

.clinic-info-row .pod-intro-border + .visiting-clinic-copy {
  padding: 1rem 1.2rem !important;
  border: 1px solid var(--shc-border);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: #fff;
}

/* =========================================================
   TABLET AND MOBILE
========================================================= */

@media (max-width: 767px) {
  .clinic-info-row {
    display: block;
  }

  .clinic-info-row .pod-intro-border,
  .clinic-info-row .pod-intro-border + .visiting-clinic-copy {
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
  }

  .clinic-info-row .pod-intro-border {
    border: 1px solid var(--shc-border) !important;
    border-left: 6px solid var(--shc-aqua) !important;
    border-radius: 14px 14px 0 0;
  }

  .clinic-info-row .pod-intro-border + .visiting-clinic-copy {
    border: 1px solid var(--shc-border);
    border-top: 0;
    border-radius: 0 0 14px 14px;
  }
}