/* ===== tokens.css ===== */
/* Design tokens — values measured from the live site's computed styles. */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/occ/cac/search/assets/fonts/noto-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Type */
  --font-body: 'Noto Sans', sans-serif;
  --font-brand: Montserrat, sans-serif;
  --font-banner: 'Open Sans', sans-serif;
  --font-footer: system-ui, sans-serif;

  /* Text colors */
  --color-body: #666276;
  --color-heading: #1f1b2d;
  --color-nav-link: #454056;
  --color-muted: #9691a4;
  --color-input-text: #666;
  --color-white: #fff;

  /* Brand / accents */
  --color-brand-dark: #233d4e; /* CAC banner */
  --color-hero-text: #223c4e;
  --color-info: #74899f; /* buttons */
  --color-primary: #fe802c; /* orange: breadcrumb active, reset filters, progress bar */
  --color-link: #0d6efd;
  --color-link-hover: #0b5ed7;
  --color-link-alt: #4a6f8a; /* landing-page nav links, "back to search" */
  --color-accent-bg: #e2ede5; /* card image tile, attribute cards */
  --color-slider: #002e6d;

  /* Badges */
  --color-badge-warning-bg: #fce3ba;
  --color-badge-warning-text: #855406;

  /* Borders / surfaces */
  --color-border: #efecf3;
  --color-border-input: #d5d2dc;
  --color-border-search-input: #e0e0e0;
  --color-checkbox-border: #bbb7c5;
  --color-disabled-bg: #f5f4f8;
  --color-track: #c6c6c6;
  --color-placeholder-disabled: #bdc1ca;

  /* Landing page section backgrounds */
  --color-section-2: rgb(237 232 225 / 0.49);
  --color-section-4: rgb(245 233 201 / 0.49);
  --color-section-5: rgb(251 245 229 / 0.12);

  /* Footer */
  --color-footer-bg: #2c2c2c;
  --color-footer-text: #c9c9c9;

  /* Effects */
  --shadow-sm: 0 2px 2px -2px rgb(31 27 45 / 0.08), 0 4px 12px 0 rgb(31 27 45 / 0.08);
  --shadow-input: 0 2px 4px rgb(0 0 0 / 0.05);
  --radius-sm: 4px;
  --radius: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Spacing scale (matches the 0.25rem steps used throughout) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 1rem;
  --sp-4: 1.5rem;
  --sp-5: 3rem;

  --gutter: 12px;

  /* Fluid heading scale below 1200px (matches Bootstrap's RFS output), fixed above. */
  --fs-h1: calc(1.375rem + 1.5vw);
  --fs-h2: calc(1.325rem + 0.9vw);
  --fs-h3: calc(1.3rem + 0.6vw);
  --fs-h4: calc(1.275rem + 0.3vw);
  --fs-display-5: calc(1.425rem + 2.1vw);
}

@media (min-width: 1200px) {
  :root {
    --fs-h1: 2.5rem;
    --fs-h2: 2rem;
    --fs-h3: 1.75rem;
    --fs-h4: 1.5rem;
    --fs-display-5: 3rem;
  }
}

/* ===== base.css ===== */
/* Reset + shared primitives. Only what the three pages actually use. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--color-link);
}

a:hover {
  color: var(--color-link-hover);
  cursor: pointer;
}

img,
svg {
  vertical-align: middle;
}

img {
  max-width: 100%;
}

hr {
  height: 0;
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
  opacity: 1;
}

ul {
  margin: 0;
  padding: 0;
}

button,
input,
select {
  font: inherit;
  color: inherit;
  margin: 0;
}

button {
  cursor: pointer;
}

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

/* Page container. The live theme ships two Bootstrap builds; the max-widths below are the ones
   that actually win in that cascade (540 at 576–599, 950 at 600–959, 1280 at 960–1279, 1900 above). */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.container--flush {
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 600px) {
  .container {
    max-width: 950px;
  }
}

@media (min-width: 960px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1900px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 2190px;
  }
}

@media (min-width: 2250px) {
  .container {
    max-width: 2250px;
  }
}

/* Inline SVG icons (replaces FontAwesome / finder-icons fonts) */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.575rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.btn:disabled,
.btn.is-disabled {
  pointer-events: none;
  opacity: 0.65;
}

.btn--lg {
  padding: 0.825rem 1.75rem;
}

.btn--info {
  color: var(--color-white);
  background: var(--color-info);
  border-color: var(--color-info);
}

.btn--info:hover {
  color: var(--color-white);
  background: #637489;
  border-color: #5d6d7f;
}

.btn--info:disabled,
.btn--info.is-disabled {
  color: #000;
}

.btn--outline-info {
  color: var(--color-info);
  background: transparent;
  border-color: var(--color-info);
}

.btn--outline-info:hover,
.btn--outline-info.is-active {
  color: var(--color-white);
  background: var(--color-info);
}

.btn--outline-primary {
  color: var(--color-primary);
  background: transparent;
  border-color: var(--color-primary);
}

.btn--outline-primary:hover {
  color: var(--color-white);
  background: var(--color-primary);
}

.btn--link {
  color: var(--color-body);
  background: transparent;
  border-color: transparent;
}

.btn--link:hover,
.btn--link:focus {
  color: var(--color-primary);
}

/* ---------- Form controls ---------- */
.form-label {
  display: inline-block;
  margin-bottom: 0.375rem;
  color: var(--color-heading);
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.575rem 1.125rem;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-nav-link);
  font-size: 1rem;
  line-height: 1.5;
  appearance: none;
}

.form-control::placeholder {
  color: var(--color-muted);
}

.form-control:focus {
  outline: 0;
  border-color: var(--color-info);
  box-shadow: 0 0 0 0.25rem rgb(116 137 159 / 0.25);
}

.form-control:disabled {
  background: var(--color-white);
  color: var(--color-placeholder-disabled);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  opacity: 0.4;
}

.form-control:disabled::placeholder {
  color: var(--color-placeholder-disabled);
}

/* Checkbox row (sidebar filters) */
.check {
  display: block;
  min-height: 1.5rem;
  margin-bottom: 0.375rem;
  padding-left: 1.5rem;
}

.check__input {
  float: left;
  width: 14px;
  height: 14px;
  margin: 0.219rem 0 0 -1.313rem;
  border: 2px solid var(--color-checkbox-border);
  border-radius: 2.625px;
  background: var(--color-white);
  appearance: none;
  cursor: pointer;
  vertical-align: top;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.check__input:checked {
  background-color: var(--color-info);
  border-color: var(--color-info);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.check__input:focus-visible {
  outline: 2px solid var(--color-info);
  outline-offset: 1px;
}

.check__label {
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-body);
  cursor: pointer;
}

/* Toggle-button group (Has Vacancies, Part/Full Time, Accepts DWS Subsidy) */
.toggle-group {
  display: inline-flex;
  vertical-align: middle;
}

.toggle-group__input {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.toggle-group__label {
  padding: 0.425rem 1rem;
  border: 1px solid var(--color-info);
  border-radius: var(--radius);
  color: var(--color-info);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.toggle-group__label:hover {
  color: var(--color-white);
  background: var(--color-info);
}

.toggle-group__input:checked + .toggle-group__label {
  color: var(--color-white);
  background: var(--color-info);
}

.toggle-group__input:focus-visible + .toggle-group__label {
  box-shadow: 0 0 0 0.25rem rgb(116 137 159 / 0.5);
}

.toggle-group > .toggle-group__label + .toggle-group__input + .toggle-group__label,
.toggle-group > .toggle-group__input:not(:first-child) + .toggle-group__label {
  margin-left: -1px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.toggle-group > .toggle-group__label:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 0.4375em 0.75em;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
}

.badge--faded-warning {
  color: var(--color-badge-warning-text);
  background: var(--color-badge-warning-bg);
}

.badge--warning {
  color: var(--color-white);
  background: var(--color-badge-warning-text);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-white);
  border-radius: var(--radius-lg);
}

.card--shadow {
  box-shadow: var(--shadow-sm);
}

/* ---------- Progress bar (route loading indicator) ---------- */
.progress {
  display: flex;
  height: 1rem;
  margin-top: 0.5rem;
  border-radius: var(--radius);
  background: var(--color-border);
  overflow: hidden;
  visibility: hidden;
}

.progress.is-loading {
  visibility: visible;
}

.progress__bar {
  width: 100%;
  background-color: var(--color-primary);
  background-image: linear-gradient(
    45deg,
    rgb(255 255 255 / 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgb(255 255 255 / 0.15) 50%,
    rgb(255 255 255 / 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-stripes 1s linear infinite;
}

@keyframes progress-stripes {
  0% {
    background-position-x: 1rem;
  }
}

/* Turbo's own progress bar — keep it consistent with the brand */
.turbo-progress-bar {
  height: 3px;
  background-color: var(--color-primary);
}

/* ===== chrome.css ===== */
/* Shared page chrome: Utah.gov header slot, DWS navbar, CAC banner, DWS footer. */
/* Utah.gov fluid header is injected by secure.utah.gov/nav/fluidheader.js. Live hides it with
   d-sm-none d-md-block, which only hides the sm range (576–767px); phones still show it. */
@media (min-width: 576px) and (max-width: 959.98px) {
  #utahgovheader {
    display: none;
  }
}

/* ---------- DWS navbar ----------
   <768: collapsed behind the hamburger. 768–959: menu wraps under the logo as two full-width rows.
   ≥960: single line beside the logo (the logo shrinks first when space is tight). */
.dws-nav__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 1rem 0;
}

.dws-nav__brand {
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0.25rem 0;
}

.dws-nav__brand img {
  display: block;
  width: 239px;
  max-width: 100%;
  height: auto;
}

.dws-nav__toggle {
  display: block;
  margin-left: auto;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-heading);
  font-size: 1rem;
  line-height: 1;
}

.dws-nav__toggle .icon {
  width: 0.875em;
  height: 1em;
}

.dws-nav__menu {
  display: none;
  flex: 1 0 100%;
  flex-direction: column;
  align-items: stretch;
  margin: 0 calc(-1 * var(--gutter));
}

.dws-nav__menu.is-open {
  display: flex;
}

.dws-nav__list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 var(--gutter) 0 0;
  list-style: none;
}

.dws-nav__item {
  position: relative;
  margin-bottom: 0.375rem;
  padding: 0.125rem 1rem;
}

.dws-nav__link {
  display: block;
  padding: 0.5rem 0;
  color: var(--color-nav-link);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

.dws-nav__link:hover,
.dws-nav__link:focus {
  color: var(--color-link-hover);
}

.dws-nav__link .icon {
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.25rem;
}

/* Sign in dropdown */
.dws-nav__dropdown {
  position: static;
  z-index: 1000;
  display: none;
  min-width: 12rem;
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0;
  list-style: none;
  background: var(--color-white);
}

.dws-nav__item.is-open .dws-nav__dropdown {
  display: block;
}

.dws-nav__dropdown-item {
  display: block;
  padding: 0.375rem 1rem;
  color: var(--color-nav-link);
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
}

.dws-nav__dropdown-item:hover {
  color: var(--color-link-hover);
  background: var(--color-disabled-bg);
}

.dws-nav__dropdown-divider {
  margin: 0.5rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

/* Site search (magnifier + input) */
.dws-nav__search {
  position: relative;
  display: flex;
  align-items: center;
}

.dws-nav__search-btn {
  padding: 0.575rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: rgb(0 0 0 / 0.65);
  line-height: 1.5;
}

.dws-nav__search-btn:hover {
  color: #000;
}

.dws-nav__search-btn .icon {
  width: 20px;
  height: 16px;
}

/* Live keeps the site-search input permanently visible up to 768px; above that it pops open. */
.dws-nav__search-box {
  display: block;
  width: 60%;
}

@media (min-width: 768px) {
  .dws-nav__toggle {
    display: none;
  }

  .dws-nav__menu {
    display: flex;
  }

  .dws-nav__list {
    flex-direction: row;
    justify-content: flex-end;
  }

  .dws-nav__link {
    padding: 0.5rem;
  }

  .dws-nav__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    padding: 0.5rem 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
  }

  .dws-nav__search {
    flex-direction: row-reverse;
  }
}

@media (min-width: 768.02px) {
  .dws-nav__search-box {
    position: absolute;
    right: 2rem;
    z-index: 1000;
    display: none;
    width: 22rem;
  }

  .dws-nav__search-box.is-open {
    display: block;
  }
}

@media (min-width: 960px) {
  .dws-nav__bar {
    flex-wrap: nowrap;
  }

  /* Wide enough that the logo (flex-shrink) gives way first, like live between 960 and ~1200px. */
  .dws-nav__menu {
    flex: 1 0 760px;
  }

  .dws-nav__item {
    margin-bottom: 0;
    padding: 0;
  }

  .dws-nav__link {
    padding: 0.6875rem 1rem;
    font-size: 0.875rem;
  }
}

/* ---------- CAC banner ---------- */
.cac-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: var(--color-brand-dark);
  color: var(--color-white);
}

.cac-bar__brand,
.cac-bar__right {
  display: flex;
  flex: 1;
}

.cac-bar__brand {
  margin-left: 45px;
  text-decoration: none;
}

.cac-bar__brand-text {
  font-family: var(--font-brand);
  font-size: 26px;
  line-height: 1.5;
  color: var(--color-white);
}

.cac-bar__center {
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  margin: 0 auto;
}

.cac-bar__title {
  margin-right: 10px;
  font-family: var(--font-banner);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
}

.cac-bar__right {
  justify-content: flex-end;
  align-items: center;
}

.cac-bar__help {
  margin-right: 10px;
  font-family: var(--font-banner);
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-white);
  text-decoration: none;
}

.cac-bar__help:hover {
  color: #e6e6e6;
}

.cac-bar__logo {
  display: block;
  width: 32px;
  margin: 12px;
}

@media (max-width: 600px) {
  .cac-bar {
    flex-direction: column;
  }

  .cac-bar__center {
    display: none;
  }

  .cac-bar__brand,
  .cac-bar__right {
    width: 100%;
    margin: 0;
    justify-content: center;
    align-items: center;
  }
}

/* ---------- DWS footer ---------- */
.dws-footer {
  padding: 2rem 0;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  font-family: var(--font-footer);
}

.dws-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.dws-footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding: 1rem;
}

.dws-footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.dws-footer__col--center {
  align-items: center;
}

.dws-footer__col > * {
  width: 100%;
}

.dws-footer h2 {
  margin: 0 0 0.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-footer-text);
}

.dws-footer__group {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.dws-footer__input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #aaa;
  border-radius: 4px;
  background: var(--color-white);
  color: #000;
  font-size: 1rem;
  line-height: 1.5;
}

.dws-footer__button {
  padding: 0.5rem 1rem;
  border: 0;
  border-radius: 4px;
  background: #6c757d;
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.dws-footer__button:hover {
  background: #5a6268;
}

.dws-footer__translate {
  width: 100%;
  text-align: center;
}

/* Placeholder shown until Google's widget is loaded (same box as .goog-te-combo below) */
.translate-placeholder__powered {
  margin-top: 0.5rem;
  color: var(--color-footer-text);
  font-size: 0.9rem;
  text-align: center;
}

.translate-placeholder__powered span {
  font-weight: 700;
}

/* Google Translate widget restyle (identical intent to live) */
.goog-te-combo {
  appearance: none;
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem 2rem 0.5rem 0.75rem !important;
  border: 1px solid #888 !important;
  border-radius: 4px !important;
  background: #fff !important;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%232c2c2c' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1rem !important;
  color: #2c2c2c !important;
  font-family: var(--font-footer) !important;
  font-size: 1rem !important;
  cursor: pointer;
}

.goog-te-combo:focus {
  outline: none;
  border-color: #bbb !important;
  box-shadow: 0 0 0 2px rgb(44 44 44 / 0.2);
}

.goog-te-gadget {
  /* live's 0.5rem top margin collapses into the heading's bottom margin; flex items don't collapse */
  margin-top: 0;
  color: var(--color-footer-text);
  font-family: var(--font-footer);
  font-size: 0.9rem;
  text-align: center;
}

.goog-te-gadget span {
  display: inline-flex !important;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
}

.goog-te-gadget img {
  display: inline-block !important;
  width: auto !important;
  height: 14px !important;
  vertical-align: middle;
}

.goog-logo-link {
  color: var(--color-footer-text) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

.dws-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
  list-style: none;
}

.dws-footer__social li {
  margin-bottom: 0.25rem;
}

.dws-footer__social img {
  width: 32px;
  height: 32px;
}

.dws-footer h2.dws-footer__follow {
  margin-top: 1rem;
  font-weight: 500;
}

.dws-footer__follow a {
  color: var(--color-footer-text);
  text-decoration: underline;
}

.dws-footer__bottom {
  margin-top: 2rem;
  font-size: 0.9rem;
  text-align: center;
}

.dws-footer__bottom a {
  margin: 0 0.25rem;
  color: var(--color-footer-text);
  text-decoration: none;
}

.dws-footer__bottom a:hover {
  text-decoration: underline;
}

.dws-footer__ajc {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.dws-footer__ajc img {
  height: 1.5rem;
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .dws-footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dws-footer__col {
    align-items: center;
  }

  .dws-footer__translate {
    margin-top: 0.5rem;
  }

  .dws-footer__social {
    justify-content: center;
  }
}

/* ===== search-form.css ===== */
/* "Three ways to search" form — shared by the landing page (stacked) and the programs list (inline). */
.search-form {
  --search-gap: 1rem;
  --search-small-gap: 0.5rem;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: stretch;
  gap: var(--search-gap);
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.search-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--search-gap);
}

.search-form--stacked .search-form__row {
  gap: 0;
}

.search-form__item {
  width: 100%;
  margin-bottom: 1rem;
  text-align: left;
}

/* Every control starts at the same y: labels are one fixed-height line. */
.search-form__item > .form-label {
  display: block;
  height: 1.5rem;
  margin-bottom: 0.375rem;
  overflow: hidden;
  white-space: nowrap;
}

.search-form__item--submit {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 0;
}

.search-form__group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.search-form__control {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.575rem 0.75rem 0.575rem 1.125rem;
  border: 1px solid var(--color-border-search-input);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-input-text);
  box-shadow: var(--shadow-input);
  transition: none;
}

.search-form__control--zip {
  border-radius: var(--radius-sm);
}

.search-form__control:disabled {
  color: var(--color-placeholder-disabled);
  opacity: 0.65;
}

.search-form__control:disabled::placeholder {
  color: var(--color-placeholder-disabled);
}

/* X clear buttons sit inside the input's right edge, so showing one never changes the input's width. */
.search-form__group--clearable .search-form__control {
  padding-right: 2.25rem;
}

.search-form__clear {
  position: absolute;
  top: 50%;
  right: 0.25rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.search-form__clear:hover {
  color: var(--color-heading);
}

.search-form__clear strong {
  font-weight: 900;
}

.search-form__clear[hidden] {
  display: none;
}

.search-form__clear:disabled {
  color: transparent;
  pointer-events: none;
}

.search-form__submit {
  min-width: 100%;
}

/* Inline form: the button is the same height as the inputs beside it. */
.search-form:not(.search-form--stacked) .search-form__submit {
  padding-top: 0.575rem;
  padding-bottom: 0.575rem;
}

/* Distance dropdown (programs list only) */
.search-form__item--distance .dropdown {
  position: relative;
  width: 100%;
}

.dropdown__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.575rem 0.75rem 0.575rem 1.125rem;
  border: 1px solid var(--color-border-search-input);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-body);
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  white-space: nowrap;
  box-shadow: var(--shadow-input);
}

.dropdown__toggle .icon {
  width: 0.6em;
  height: 0.6em;
  margin-left: 0.4em;
}

.dropdown__toggle:disabled {
  background: var(--color-disabled-bg);
  color: rgb(102 98 118 / 0.75);
  cursor: not-allowed;
  opacity: 0.65;
}

.dropdown__menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  margin: 1rem 0;
  padding: 0.5rem 0;
  list-style: none;
  border-radius: var(--radius-md);
  background: var(--color-heading);
  box-shadow: var(--shadow-sm);
}

.dropdown.is-open .dropdown__menu {
  display: block;
}

.dropdown__item {
  display: block;
  width: 100%;
  padding: 0.375rem 1rem;
  border: 0;
  background: transparent;
  color: #dee2e6;
  font-size: 0.875rem;
  text-align: left;
  white-space: nowrap;
}

.dropdown__item:hover,
.dropdown__item:focus {
  color: var(--color-white);
  background: rgb(255 255 255 / 0.15);
}

.dropdown__item.is-active {
  color: var(--color-white);
  background: var(--color-info);
}

@media (min-width: 1280px) {
  .dropdown__toggle {
    min-width: 100%;
  }
}

@media (min-width: 600px) and (max-width: 1279.98px) {
  .search-form:not(.search-form--stacked) .search-form__row {
    grid-template-columns: 2fr 1fr;
  }

  .search-form:not(.search-form--stacked) .search-form__item--submit {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1280px) {
  .search-form:not(.search-form--stacked) .search-form__row {
    grid-template-columns: minmax(0, 4fr) 7.5rem minmax(0, 4fr) minmax(8.5rem, 2fr) auto;
  }

  /* The button lines up with the controls row (label height + gap) instead of floating mid-row. */
  .search-form:not(.search-form--stacked) .search-form__item--submit {
    padding-top: calc(1.5rem + 0.375rem);
  }

  .search-form:not(.search-form--stacked) .search-form__submit {
    min-width: 10.25rem;
  }
}

@media (min-width: 600px) and (max-width: 1279.98px) {
  .search-form:not(.search-form--stacked) .search-form__item--submit {
    padding-top: 0;
  }
}

@media (max-width: 599.98px) {
  .search-form__item > .form-label,
  .search-form__group,
  .search-form__item--distance .dropdown {
    padding-left: var(--search-small-gap);
  }
}

/* Address suggestions: our own list (Places API New) or Google's .pac-container (legacy fallback) */
.pac-list {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1001;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--color-border-search-input);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  overflow: hidden;
}

.pac-list[hidden] {
  display: none;
}

.pac-list__item {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-heading);
  line-height: 1.5;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pac-list__item:first-child {
  border-top: 0;
}

.pac-list__item:hover,
.pac-list__item.is-active {
  background: var(--color-disabled-bg);
}

.pac-list__secondary {
  color: var(--color-muted);
}

.pac-container {
  font-family: var(--font-body);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ===== search.css ===== */
/* Landing page: hero + marketing sections. */
.page {
  display: block;
  width: 100%;
}

.nowrap {
  white-space: nowrap;
}

.link-alt {
  display: block;
  color: var(--color-link-alt);
  text-decoration: none;
}

.link-alt:hover {
  color: var(--color-link-hover);
}

.icon--external {
  width: 20px;
  height: 16px;
  margin-left: 0.125rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

.hero > picture,
.hero__content {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  padding: 0;
}

.hero__heading {
  margin: 0 0 3rem;
  padding: 0;
  color: var(--color-hero-text);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.5;
}

.hero__line {
  font-size: var(--fs-display-5);
  line-height: 1.2;
}

.hero__highlight {
  padding: 0.25rem 0.5rem;
  color: var(--color-white);
  background: var(--color-hero-text);
}

.hero__search {
  width: 100%;
  padding: 1rem 0.5rem;
}

@media (min-width: 600px) {
  .hero__search {
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero__content {
    padding: 3rem;
  }

  .hero__heading {
    padding: 0 1rem 1rem;
  }
}

@media (min-width: 992px) {
  .hero__search {
    margin-top: 3rem;
  }
}

@media (min-width: 1200px) {
  .hero__search {
    width: 50%;
  }
}

@media (min-width: 1400px) {
  .hero__search {
    width: 41.6667%;
  }
}

/* ---------- Shared two-column marketing rows ----------
   Columns stack below 960px, split 2/3 + 1/3 from 960px, and 1/2 + 1/2 from 1280px. */
.intro__row,
.feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 calc(-1 * var(--gutter));
}

.intro__text,
.intro__graphic,
.feature__text,
.feature__media {
  flex: 0 0 auto;
  width: 100%;
  padding: 0 var(--gutter);
}

.feature__media {
  display: flex;
  justify-content: center;
  text-align: center;
}

.feature__media img {
  max-width: 100%;
  height: auto;
}

/* .feature__media img is shared across images with different intrinsic ratios; height:auto above
   overrides their HTML width/height attributes, so restore an explicit box per image (matches each
   image's real width x height) to avoid lazy-load layout shift. */
.feature__media img[src*='map-example'] {
  aspect-ratio: 407 / 285;
}

.feature__media img[src*='accepts-dws-subsidy-checkbox'] {
  aspect-ratio: 618 / 72;
}

.feature__media img[src*='workforce-services-child-care-logo'] {
  width: 100%;
  max-width: 392px;
  height: auto;
}

.feature__heading {
  margin-bottom: 1rem;
  font-size: var(--fs-h4);
  font-weight: 400;
  line-height: 1.2;
}

.feature__heading--lg {
  font-size: var(--fs-h3);
}

/* ---------- Intro ---------- */
.intro {
  padding: 0.25rem;
  background: var(--color-section-2);
}

.intro__heading {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.intro hr {
  margin: 0;
}

.intro__text {
  text-align: left;
}

.intro__graphic {
  display: flex;
  justify-content: center;
  text-align: center;
}

.intro__graphic-img {
  max-height: 10rem;
}

/* ---------- Features ---------- */
.features {
  padding-top: 1.5rem;
}

.features__title {
  margin-bottom: 1.5rem;
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.feature--quality {
  margin-right: 0;
  margin-left: 0;
  padding: 3rem;
  background: var(--color-section-5);
}

.feature__image-link {
  display: block;
}

.feature__image-link:hover {
  opacity: 0.9;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.quality-grid__cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-height: 7rem;
  overflow: hidden;
}

.quality-grid__cell img {
  /* Fixed (not percentage/auto) dimensions so the browser can reserve the box before the
     lazy-loaded image downloads, instead of depending on the parent's own intrinsic height. */
  width: 7rem;
  height: 7rem;
  object-fit: contain;
}

.feature-band {
  padding: 0.25rem;
}

.feature-band--map {
  background: var(--color-section-2);
}

.feature-band--filters {
  margin-top: 1.5rem;
  padding: 0;
}

.feature-band--info {
  background: var(--color-section-4);
}

/* Live nests a second .row here, which insets both columns by a gutter. */
.feature--info {
  align-items: flex-start;
  padding: 0 var(--gutter);
}

.feature__text {
  text-align: center;
}

.feature__text--start,
.feature__text--info {
  text-align: left;
}

/* Below 960px the image comes first in these rows (order-1 / order-2 on live). */
.feature__media--first {
  order: 1;
}

.feature__text--map,
.feature__text--info {
  order: 2;
}

.feature__text--map {
  padding-top: 3rem;
}

.feature__text--filters {
  margin: 3rem 0;
}

/* Subsidy callout */
.subsidy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  min-height: 275px;
  margin: 0 auto;
  padding: 10px;
  background: linear-gradient(180deg, rgb(243 242 240 / 0.33), rgb(198 194 184 / 0.33)), #fff;
}

.subsidy__img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 80%;
  padding: 25px;
  border-radius: var(--radius);
  background: var(--color-white);
}

.subsidy__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.subsidy__text {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 10px;
  text-align: center;
}

.subsidy__text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.subsidy__link {
  display: block;
}

@media (min-width: 481px) {
  .subsidy {
    min-height: 350px;
    padding: 15px;
  }

  .subsidy__img {
    max-width: 95%;
    padding: 45px;
  }

  .subsidy__text {
    padding: 15px;
  }
}

@media (min-width: 768px) {
  .feature-band--filters {
    padding: 3rem;
  }

  .intro__text,
  .feature__text--end {
    padding-left: 3rem;
  }

  .feature__text--map {
    padding: 3rem 0.25rem 0.25rem 3rem;
  }

  .subsidy {
    padding: 20px;
  }

  .subsidy__img {
    max-width: 700px;
  }

  .subsidy__text {
    padding: 20px;
  }

  .subsidy__text p {
    font-size: 1.1rem;
  }
}

@media (min-width: 960px) {
  .intro,
  .feature-band {
    padding: 3rem;
  }

  .intro__text,
  .feature__text {
    width: 66.6667%;
  }

  .intro__graphic,
  .feature__media {
    width: 33.3333%;
  }

  .intro__graphic {
    display: block;
  }

  .intro__text,
  .feature__text--end {
    text-align: right;
  }

  .feature__text--start,
  .feature__text--filters {
    text-align: left;
  }

  .feature__text--map,
  .feature__text--info {
    order: 1;
  }

  .feature__media--first {
    order: 2;
  }

  .feature__text--map {
    padding: 0.25rem 0.25rem 0.25rem 3rem;
  }

  .feature__text--filters {
    margin: 0;
  }
}

@media (min-width: 1280px) {
  .intro__text,
  .intro__graphic,
  .feature__text,
  .feature__media {
    width: 50%;
  }
}

/* ===== programs-list.css ===== */
/* Programs list: responsive grid (filter | search/results | map), sidebar filters, program cards. */

/* ---------- Page grid ---------- */
.list-page {
  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-template-columns: 1fr;
  grid-template-areas:
    'header'
    'search'
    'main';
  gap: 10px;
  width: 100%;
  transition: grid-template-columns 0.5s ease-in-out;
}

.list-page--map-only {
  grid-template-areas:
    'header'
    'search'
    'map';
}

.list-page__header {
  grid-area: header;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.list-page__search {
  grid-area: search;
  padding: 0 0.5rem;
}

.list-page__results {
  grid-area: main;
  position: relative;
  padding-bottom: 3rem;
  overflow: hidden;
}

.list-page__map {
  grid-area: map;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

@supports (height: 100dvh) {
  .list-page__map {
    height: 100dvh;
  }
}

.list-page--map-only .list-page__results,
.list-page:not(.list-page--map-only) .list-page__map {
  display: none;
}

.filter-panel {
  grid-area: filter;
}

@media (min-width: 600px) {
  .list-page {
    grid-template-columns: 1fr 1.5fr;
    grid-template-areas:
      'header header'
      'search search'
      'main map';
  }

  .list-page--map-only {
    grid-template-columns: 1fr;
    grid-template-areas:
      'header'
      'search'
      'map';
  }

  .list-page:not(.list-page--map-only) .list-page__map {
    display: block;
  }
}

@media (min-width: 960px) {
  /* Never shorter than the viewport, so a smaller result set can't yank the page up. */
  .list-page__results {
    min-height: 100vh;
  }

  .list-page {
    grid-template-columns: 310px 1fr 364px;
    grid-template-areas:
      'header header header'
      'filter search search'
      'filter main map';
  }

  .list-page--map-only {
    grid-template-columns: 310px 1fr 364px;
    grid-template-areas:
      'header header header'
      'filter search search'
      'filter map map';
  }
}

@media (min-width: 1280px) {
  .list-page__search {
    padding: 0 1rem 0 3rem;
  }
}

@media (min-width: 1200px) {
  .list-page__results {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 1400px) {
  .list-page__results {
    padding-right: 3rem;
    padding-left: 3rem;
  }
}

@media (min-width: 1920px) {
  .list-page,
  .list-page--map-only {
    grid-template-columns: 310px 1fr 540px;
  }
}

/* ---------- Search column ---------- */
.list-page__disclaimer {
  margin-bottom: 1.25rem;
}

.list-page__form {
  margin-bottom: 0.25rem;
  padding: 1rem 0;
}

@media (min-width: 600px) {
  .list-page__form {
    padding: 0;
  }
}

@media (min-width: 992px) {
  .list-page__form {
    margin-top: 3rem;
  }
}

.breadcrumb {
  margin-bottom: 1rem;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  line-height: 1.5;
}

.breadcrumb__item {
  margin-bottom: 0.25rem;
}

.breadcrumb__item a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb__item a:hover {
  color: var(--color-primary);
}

.breadcrumb__item + .breadcrumb__item {
  padding-left: 10px;
}

.breadcrumb__item + .breadcrumb__item::before {
  display: inline-block;
  width: 0.5em;
  height: 0.8em;
  margin-right: 10px;
  content: '';
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3e%3cpath fill='%239691a4' d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3e%3c/svg%3e")
    center / contain no-repeat;
}

.breadcrumb__item.is-active {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .breadcrumb {
    padding-top: 0.5rem;
  }
}

.list-page__toolbar {
  padding-bottom: 1rem;
}

.list-page__count {
  margin: 0 0 0.5rem;
  padding: 0 0.5rem;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
}

.list-page__print {
  padding: 0 1rem;
  font-size: var(--fs-h4);
}

.list-page__print-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-nav-link);
  line-height: 1;
}

.list-page__print-btn:hover {
  color: var(--color-link-hover);
}

.list-page__print-btn .icon {
  width: 30px;
  height: 24px;
}

.view-toggle {
  flex-shrink: 0;
}

.view-toggle__btn {
  padding: 0.575rem 0;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-body);
  font-weight: 700;
  line-height: 1.5;
}

.view-toggle__btn:hover {
  color: var(--color-primary);
}

.view-toggle__btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.view-toggle__btn .icon {
  width: 20px;
  height: 16px;
}

.view-toggle__sep {
  padding: 0 0.25rem;
}

@media (min-width: 576px) {
  .list-page__toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .list-page__count {
    margin-bottom: 0;
  }

  .view-toggle__btn {
    padding: 0.25rem 0;
  }

  .view-toggle__sep {
    padding: 0 0.5rem;
  }
}

@media (min-width: 600px) {
  .list-page__toolbar {
    padding-bottom: 1.5rem;
  }
}

/* ---------- Results ---------- */
.program-cards {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition: opacity 0.15s ease;
}

.list-page__results.is-loading .program-cards {
  opacity: 0.5;
  pointer-events: none;
}

.results-end {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--color-muted);
}

.results-end__spinner {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0.25em solid var(--color-primary);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

.results-end__spinner[hidden] {
  display: none;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Program card ---------- */
.program-card {
  cursor: default;
  transition: box-shadow 0.25s ease-in-out;
  /* Large result sets: skip layout/paint for cards far off screen. */
  content-visibility: auto;
  contain-intrinsic-size: auto 270px;
}

.program-card.is-selected,
.program-card:hover {
  box-shadow:
    0 0.125rem 0.125rem -0.125rem rgb(31 27 45 / 0.08),
    0 0.5rem 1rem 0 rgb(31 27 45 / 0.12);
}

.program-card__row {
  display: flex;
  flex-wrap: wrap;
}

.program-card__tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--color-accent-bg);
}

.program-card__tile-img {
  display: block;
  width: 100%;
  padding: 3rem 3rem 0;
}

.program-card__tile-img--photo {
  height: 100%;
  padding: 0;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.program-card__tile-label {
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
  font-weight: 700;
  text-align: center;
}

.program-card__body {
  width: 100%;
  padding: 1.25rem;
}

.program-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  padding: 1rem 0 0 1rem;
}

.program-card__badge[hidden] {
  display: none;
}

.program-card__badge .badge {
  display: table;
}

.program-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.program-card__name,
.program-card__phone {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.2;
}

.program-card__name {
  padding-top: 0.25rem;
}

.program-card__link {
  color: var(--color-link);
  text-decoration: none;
}

.program-card__link:hover {
  text-decoration: underline;
}

.program-card__phone-link {
  display: block;
  color: var(--color-nav-link);
  text-decoration: none;
}

.program-card__phone-link:hover {
  color: var(--color-link-hover);
}

.program-card__qrl {
  width: 60px;
  height: 60px;
}

.program-card__qrl[hidden] {
  display: none;
}

.program-card__address {
  margin-bottom: 0.5rem;
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.program-card__rule {
  margin: 0;
}

.program-card__message {
  color: var(--color-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.program-card__meta {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.5;
}

.program-card__meta-item {
  display: flex;
  align-items: center;
  margin-right: 0.5rem;
  white-space: nowrap;
}

.program-card__meta-item:first-child {
  padding-right: 0.25rem;
}

.program-card__meta-item .icon {
  margin-right: 0.25rem;
  opacity: 0.7;
}

@media (min-width: 1280px) {
  .program-card__row {
    flex-wrap: nowrap;
  }

  .program-card__tile {
    width: 33.3333%;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .program-card__tile-img--photo {
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }

  .program-card__body {
    width: 66.6667%;
  }
}

/* ---------- Map ---------- */
.program-map {
  width: 100%;
  height: 50rem;
  max-height: 100%;
  background: #e5e3df;
}

.program-map__notice {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  color: var(--color-muted);
  text-align: center;
}

.map-info {
  position: relative;
  padding: 0 10px 10px;
  color: #171a1f;
  overflow: hidden;
}

.map-info__title {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.map-info__title a,
.map-info__phone a {
  color: var(--color-nav-link);
  text-decoration: none;
}

.map-info__title a:hover,
.map-info__phone a:hover {
  color: var(--color-link-hover);
}

.map-info__phone {
  margin: 0;
  font-family: var(--font-banner);
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
}

.map-info__address {
  margin: 0;
  font-family: var(--font-banner);
  font-size: 12px;
  line-height: 20px;
}

.map-info__rule {
  width: 100%;
  height: 0;
  margin-top: 5px;
  border-top: 1px solid #bdc1ca;
}

/* ---------- Filter sidebar ---------- */
.filter-fab {
  position: fixed;
  top: 20%;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 0 5px 5px 0;
  background: rgb(35 61 78 / 0.8);
  color: var(--color-white);
  font-size: 24px;
  transform: translateY(-70%);
}

.filter-fab[hidden] {
  display: none;
}

.filter-panel {
  background: var(--color-white);
  color: #000;
}

.filter-panel__scroll {
  height: 100%;
}

.filter-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem 1rem;
}

.filter-panel__title {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.filter-panel__close {
  padding: 0.25rem;
  border: 0;
  background: transparent;
  color: var(--color-heading);
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.6;
}

.filter-panel__close:hover {
  opacity: 1;
}

.filter-panel__body {
  padding: 1.25rem 1.5rem;
}

.filter-group {
  margin-bottom: 0.5rem;
  padding-bottom: 1.5rem;
}

.filter-group__title {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.2;
}

.filter-group__title--rates {
  padding-bottom: 1.5rem;
}

.filter-group__info {
  color: var(--color-heading);
  text-decoration: none;
}

.filter-group__info .icon {
  width: 22.5px;
  height: 18px;
}

.filter-group__info:hover {
  color: var(--color-link-hover);
}

.filter-group__info--inline {
  margin: 0 0.5rem;
  vertical-align: middle;
}

.filter-group__scroll {
  height: 11rem;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(0 0 0 / 0.3) transparent;
}

.filter-panel__reset {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
}

.filter-panel__reset .icon {
  margin: -3px 0.5rem 0 0;
}

/* Schools typeahead + selected pills */
.school-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0 0 0.5rem;
  list-style: none;
  font-size: 0.875rem;
}

.school-pills:empty {
  margin: 0;
}

.school-pills__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 0;
  border-radius: 50rem;
  background: var(--color-info);
  color: var(--color-white);
  font-size: 0.875rem;
  line-height: 1.5;
}

.school-pills__btn:hover {
  background: #637489;
}

.school-search {
  display: flex;
  align-items: stretch;
  width: calc(100% - 1.5rem);
}

.school-search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.575rem 1.125rem;
  border: 1px solid #ced4da;
  border-right: 0;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  color: var(--color-input-text);
  box-shadow: none;
}

.school-search__clear {
  width: 49px;
  margin-left: -1px;
  padding: 0.575rem 1.5rem;
  border: 1px solid #ced4da;
  border-left: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--color-white);
  color: var(--color-body);
  font-weight: 700;
  line-height: 1.5;
}

.school-search__clear strong {
  font-weight: 900;
}

.school-search__clear:hover {
  background: #6c757d;
  color: var(--color-white);
}

.school-search__clear.is-inactive {
  background: #fefefb;
  color: transparent;
  pointer-events: none;
}

/* Dual-thumb rate slider */
.range__slider {
  position: relative;
  height: 20px;
  margin: 40px 2rem 0 1.5rem;
  padding-bottom: 20px;
}

.range__track,
.range__fill {
  position: absolute;
  top: 50%;
  height: 0.4rem;
  transform: translateY(-50%);
}

.range__track {
  width: 100%;
  background: var(--color-track);
}

.range__fill {
  background: var(--color-slider);
}

.range__thumb {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-slider);
  border-radius: 50%;
  background: var(--color-white);
  cursor: grab;
  touch-action: none;
  transform: translate(-50%, -50%);
}

.range__thumb:active {
  cursor: grabbing;
}

.range__thumb:focus-visible {
  outline: 2px solid var(--color-info);
  outline-offset: 2px;
}

.range__tooltip {
  position: absolute;
  top: -35px;
  left: 50%;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--color-slider);
  color: var(--color-white);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.2);
  transform: translateX(-50%);
  pointer-events: none;
}

.range__inputs {
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.range__input-group {
  display: flex;
  align-items: stretch;
  width: 50%;
}

.range__input-group:first-child {
  padding-right: 0.5rem;
}

.range__input-group:last-child {
  padding-left: 0.5rem;
}

.range__prefix {
  display: flex;
  align-items: center;
  padding: 0.5rem;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--color-white);
  color: var(--color-body);
  text-align: center;
}

.range__input {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: -1px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  appearance: textfield;
}

.range__input::-webkit-inner-spin-button,
.range__input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.range__dash {
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .range__slider {
    width: 100%;
    margin: 40px 0 0;
  }
}

/* Off-canvas behavior below the 3-column layout */
@media (max-width: 959.98px) {
  .filter-panel {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1045;
    width: 21rem;
    max-width: 100%;
    padding: 0 1rem;
    box-shadow: var(--shadow-sm);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
  }

  .filter-panel.is-open {
    transform: none;
    visibility: visible;
  }

  .filter-panel__scroll {
    overflow-y: auto;
  }

  .list-page.is-filter-open ~ dws-footer {
    display: none;
  }
}

@media (min-width: 960px) {
  .filter-fab,
  .filter-panel__header {
    display: none;
  }

  .filter-panel {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 0 1rem;
    overflow-y: auto;
    scrollbar-width: none;
    box-shadow: var(--shadow-sm);
  }

  .filter-panel__body {
    padding: 0;
  }

  @supports (height: 100dvh) {
    .filter-panel {
      height: 100dvh;
    }
  }

  .filter-panel::-webkit-scrollbar {
    display: none;
  }

  .filter-panel__scroll {
    padding-top: 1px;
  }
}

@media (min-width: 992px) {
  .filter-panel {
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
  }

  .filter-panel__body {
    padding: 1.5rem 0;
  }
}

/* Hidden iframe used to print results */
.print-frame {
  position: absolute;
  width: 0;
  height: 0;
  border: 0;
  visibility: hidden;
}

@media print {
  .filter-panel,
  .filter-fab,
  .list-page__map,
  .list-page__search,
  dws-navbar,
  dws-footer,
  #utahgovheader {
    display: none !important;
  }

  .list-page {
    display: block;
  }
}

/* ===== program-detail.css ===== */
/* Program detail: photo carousel, info card, map, attribute cards. */
.detail-page {
  display: block;
  width: 100%;
}

.detail {
  margin-bottom: 1.5rem;
  padding: 0 var(--gutter);
}

.detail__back {
  margin-bottom: 0.5rem;
}

.detail__back-link {
  color: var(--color-link-alt);
  text-decoration: underline;
}

.detail__back-link:hover {
  color: var(--color-link-hover);
}

.detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* Single column: photos, map, info card, attributes, then About (same order as live). */
.detail__gallery {
  grid-row: 1;
}

.detail__map {
  grid-row: 2;
}

.detail__info {
  grid-row: 3;
}

.detail__attributes {
  grid-row: 4;
}

.detail__about {
  grid-row: 5;
}

.detail__gallery {
  position: relative;
  display: flex;
  flex-direction: column;
}

.detail__title {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 1.5rem;
}

.detail__qrl {
  align-self: center;
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}

.detail__qrl[hidden] {
  display: none;
}

.detail__name {
  margin-bottom: 0.5rem;
  font-size: var(--fs-h2);
  line-height: 1.2;
}

/* Space is reserved while the program loads so the page doesn't jump when data arrives. */
.detail__gallery-placeholder {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-accent-bg);
}

.detail__name:empty,
.detail__card-name:empty {
  min-height: 1.2em;
}

.is-loading .detail__attribute-cards {
  min-height: 40rem;
}

.hours-grid__time:empty::before {
  content: '\00a0';
}

/* ---------- Carousel ---------- */
.carousel__stage {
  position: relative;
  overflow: hidden;
  outline-offset: -2px;
}

.carousel__stage:focus-visible {
  outline: 2px solid var(--color-info);
}

.carousel__inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel__slide {
  display: none;
  width: 100%;
}

.carousel__slide.is-active {
  display: block;
}

.carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: var(--color-accent-bg);
}

.carousel__slide img.is-loaded {
  aspect-ratio: auto;
  background: none;
}

.carousel__indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: 0 15% 1rem;
  padding: 0;
  list-style: none;
}

.carousel__indicator {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px;
  height: 3px;
  margin: 0 3px;
  padding: 0;
  border: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  background: var(--color-white);
  background-clip: padding-box;
  opacity: 0.5;
  transition: opacity 0.6s ease;
}

.carousel__indicator.is-active {
  opacity: 1;
}

.carousel__control {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.carousel__control:hover,
.carousel__control:focus {
  opacity: 0.9;
}

.carousel__control--prev {
  left: 0;
}

.carousel__control--next {
  right: 0;
}

.carousel__control .icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 0 2px rgb(0 0 0 / 0.4));
}

.carousel__thumbs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -7px 1.5rem;
  padding: 7px 0;
  list-style: none;
}

.carousel__thumb {
  flex: 1 1 0;
  padding: 7px;
}

@media (min-width: 600px) {
  .carousel__thumb {
    flex: 0 0 20%;
  }
}

.carousel__thumb img {
  display: block;
  width: 100%;
  min-height: 4rem;
  border: 1px solid transparent;
  background: var(--color-accent-bg);
  border-radius: var(--radius-md);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.carousel__thumb.is-active img,
.carousel__thumb img:hover {
  opacity: 1;
}

.detail__no-photos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 20rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-accent-bg);
}

.detail__no-photos-img {
  width: 50%;
  max-width: 320px;
  padding: 3rem 3rem 0;
}

.detail__no-photos-label {
  margin: 0.5rem 0 1.25rem;
  font-weight: 700;
  text-align: center;
}

/* ---------- Info card ---------- */
.detail__info {
  margin-bottom: 0;
  padding-bottom: 3rem;
}

.detail__badges {
  padding: 0;
  text-align: center;
}

.detail__badge {
  margin: 0 0.5rem 0.5rem 0;
}

.detail__badge[hidden] {
  display: none;
}

.detail__card {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.detail__card-body {
  margin: 0 -0.5rem;
  padding: 1.25rem;
}

.detail__card-name {
  margin-bottom: 0.5rem;
  font-size: 1.58rem;
  font-weight: 400;
  line-height: 1.2;
}

.detail__rating {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.25rem;
}

.detail__rating img[hidden] {
  display: none;
}

.detail__rating-text {
  margin: 0 0 1.25rem 0.25rem;
  padding-left: 0.5rem;
}

.detail__contact {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

.detail__contact-row,
.detail__hours-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--gutter));
}

.detail__contact-row {
  margin-bottom: 1rem;
}

.detail__contact-col,
.detail__hours-col {
  width: 100%;
  padding: 0 var(--gutter);
}

.detail__label {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}

.detail__phone {
  display: inline-flex;
  align-items: flex-start;
  padding: 0;
  color: var(--color-nav-link);
  font-size: 1.33rem;
  line-height: 1.5;
  text-decoration: none;
}

.detail__phone:hover {
  color: var(--color-link-hover);
}

.detail__contact-list {
  display: flex;
  flex-wrap: wrap;
  margin: -0.25rem calc(-1 * var(--gutter)) 0;
  list-style: none;
}

.detail__contact-item {
  width: 100%;
  margin: 0.25rem 0;
  padding: 0 var(--gutter);
}

.detail__address,
.detail__website,
.detail__email {
  display: block;
  color: var(--color-nav-link);
  text-decoration: none;
}

.detail__address:hover,
.detail__website:hover,
.detail__email:hover {
  color: var(--color-link-hover);
}

.detail__address--static {
  cursor: default;
}

.detail__address--static:hover {
  color: var(--color-nav-link);
}

.detail__website[hidden] {
  display: none;
}

.detail__website .icon {
  margin-right: 0.25rem;
}

.detail__hours-block {
  margin-bottom: 1rem;
  padding-top: 1rem;
}

.detail__hours-col--hours {
  order: 2;
}

.detail__hours-col--capacity {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail__label--hours {
  text-align: center;
}

.hours-grid {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
}

.hours-grid__row {
  display: contents;
}

.hours-grid__day {
  padding-right: 10px;
  text-align: right;
}

.hours-grid__time {
  text-align: left;
}

.detail__capacity {
  margin: 0 0 1rem;
  list-style: none;
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: center;
}

.detail__capacity li {
  margin: 0 0.5rem 0.25rem 0;
  padding-right: 0.25rem;
}

/* ---------- About ---------- */
.detail__about .detail__label {
  margin-bottom: 1rem;
}

.detail__message {
  white-space: pre-line;
}

/* ---------- Map ---------- */
.program-map--detail {
  height: 253px;
  max-height: none;
}

/* ---------- Attributes ---------- */
.detail__licensing-btn {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

.detail__licensing-note {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.detail__licensing-note .icon {
  margin: -4px 0.5rem 0 0;
  vertical-align: middle;
}

.detail__licensing-note-link {
  text-decoration: none;
}

.attr-card {
  margin-bottom: 1.5rem;
  background: var(--color-accent-bg);
}

.attr-card__body {
  padding: 1.25rem;
}

.attr-card__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.2;
}

.attr-card__list {
  display: flex;
  flex-wrap: wrap;
  margin: -0.5rem calc(-1 * var(--gutter)) 0;
  list-style: none;
}

.attr-card__item {
  width: 100%;
  margin: 0.5rem 0 0.25rem;
  padding: 0 var(--gutter);
}

.attr-card__icon {
  width: 18px;
  height: 18px;
  margin: -4px 0.5rem 0 0;
  vertical-align: middle;
}

.detail__licensed-since {
  display: flex;
  min-height: 25px;
  margin-bottom: 1.5rem;
  list-style: none;
  font-size: 0.875rem;
}

.detail__licensed-since[hidden] {
  display: none;
}

.detail__licensed-since li {
  margin-right: 1rem;
  padding-right: 1rem;
}

.detail__disclaimer {
  padding: 0 var(--gutter);
  font-size: 0.875rem;
  font-style: italic;
}

@media (min-width: 600px) {
  .detail__card {
    padding: 0.5rem 1.5rem;
  }

  .detail__contact-item {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .detail__contact-item--address {
    padding-left: 1.5rem;
  }

  .detail__info {
    margin-bottom: 1.5rem;
  }
}

@media (min-width: 960px) {
  .detail__badges,
  .detail__contact,
  .detail__label--hours {
    text-align: left;
  }

  .detail__contact-col,
  .detail__hours-col {
    width: 50%;
  }

  .detail__hours-col--hours {
    order: 1;
  }

  .detail__hours-col--capacity {
    order: 2;
  }

  .attr-card__item {
    width: 50%;
  }
}

@media (min-width: 769px) {
  .detail__grid {
    grid-template-columns: 7fr 5fr;
  }

  .detail__gallery {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .detail__info {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .detail__map {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .detail__attributes {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
  }

  .detail__about {
    grid-column: 1 / 2;
    grid-row: 4;
  }
}

@media (min-width: 992px) {
  .detail {
    padding-bottom: 3rem;
  }

  .detail__grid {
    padding-top: 0.5rem;
  }
}

@media (min-width: 1280px) {
  .detail {
    margin-bottom: 3rem;
  }
}

/* ===== landing-search-refresh.css =====
   CAC public-search brand and landing-page refresh. Kept in the primary stylesheet to avoid an
   additional render-blocking request. */

/* Workforce Services + Care About Childcare header lockup */
.dws-nav__brand {
  display: flex;
  align-items: center;
}

.dws-nav__brand::after {
  content: '';
  box-sizing: content-box;
  flex: none;
  width: 108px;
  height: 46px;
  margin-left: 24px;
  padding-left: 24px;
  border-left: 2px solid #141f48;
  background: url('/occ/cac/search/assets/img/cac-wordmark.svg') right center / 108px auto no-repeat;
}

/* The CAC name now lives in the header lockup, so this is a page-title bar. */
.cac-bar {
  justify-content: space-between;
  align-items: center;
  column-gap: 1rem;
  padding: 0.7rem clamp(1rem, 4vw, 3rem);
  font-family: var(--font-body);
}

.cac-bar__brand {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cac-bar__center {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
}

.cac-bar__title {
  margin: 0;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.cac-bar__right {
  flex: 0 0 auto;
  width: auto;
  margin: 0;
}

.cac-bar__help {
  margin: 0;
  font-family: inherit;
  font-size: 0.95rem;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-underline-offset: 0.25em;
}

.cac-bar__help:hover {
  color: var(--color-white);
  text-decoration-color: currentcolor;
}

.cac-bar__right > a[aria-hidden='true'] {
  display: none;
}

/* Search actions are distinct from the grey-blue filter controls. */
.search-form__submit.btn--info,
.search-form__submit.btn--info:disabled {
  border-color: var(--color-brand-dark);
  background: var(--color-brand-dark);
  color: var(--color-white);
  opacity: 1;
}

.search-form__submit.btn--info:hover:not(:disabled) {
  border-color: #1a3040;
  background: #1a3040;
  color: var(--color-white);
}

.search-form__submit.btn--info:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Landing hero */
.hero__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3em;
  font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero__heading br {
  display: none;
}

.hero__line {
  padding-left: 0.42em;
  font-size: inherit;
  line-height: inherit;
}

.hero__highlight {
  padding: 0.1em 0.42em 0.22em;
  border-radius: 3px;
  white-space: nowrap;
}

/* Subsidy panel */
.feature-band--filters .subsidy {
  min-height: 0;
  gap: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 12px;
}

.feature-band--filters .subsidy__img {
  width: 100%;
  max-width: none;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 4vw, 2rem);
  border-radius: 8px;
  box-shadow: 0 1px 0 var(--color-border);
}

.feature-band--filters .subsidy__img img {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  border-radius: 0;
}

.feature-band--filters .subsidy__text {
  position: static;
  max-width: 32ch;
  padding: 0;
}

.feature-band--filters .subsidy__link {
  display: inline;
}

@media (min-width: 600px) {
  .hero {
    grid-template-rows: auto auto;
    background: var(--color-section-2);
  }

  .hero__content {
    display: contents;
  }

  .hero > picture {
    position: relative;
    display: block;
    grid-area: 1 / 1;
  }

  .hero > picture::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgb(255 255 255 / 0.82) 0%,
      rgb(255 255 255 / 0.45) 32%,
      transparent 58%
    );
  }

  .hero__image {
    height: max(220px, 40vh);
    object-fit: cover;
    object-position: center 35%;
  }

  .hero__heading {
    z-index: 1;
    grid-area: 1 / 1;
    align-self: start;
    margin: 0;
    padding: clamp(1.5rem, 5vw, 3.5rem) 0 0 clamp(1.5rem, 5vw, 4rem);
  }

  .hero__search {
    position: relative;
    z-index: 2;
    grid-area: 2 / 1;
    width: 100%;
    max-width: calc(1140px + 3rem);
    margin: -1.75rem auto 0;
    padding: 0 1.5rem 2.5rem;
  }

  .hero .search-form {
    padding: 1.25rem 1.5rem 1.5rem;
    border: 0;
    border-radius: 12px;
    box-shadow:
      0 10px 30px rgb(34 60 78 / 0.14),
      0 1px 0 var(--color-border);
  }

  .hero .search-form--stacked .search-form__row {
    position: relative;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
    align-items: center;
    padding-top: 2.1rem;
  }

  .hero .search-form__item {
    margin-bottom: 0;
  }

  .hero .search-form__item--address > .form-label {
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    color: var(--color-hero-text);
    font-weight: 700;
  }

  .hero .search-form__item--program,
  .hero .search-form__item--zip {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 0.75rem;
  }

  .hero .search-form__item--program > .form-label,
  .hero .search-form__item--zip > .form-label {
    height: auto;
    margin: 0;
    padding: 0;
    color: var(--color-body);
    font-size: 0.85rem;
  }

  .hero .search-form__control,
  .hero .search-form__submit {
    height: 46px;
  }

  .hero .search-form__item--submit {
    padding-top: 0;
  }

  .hero .search-form__submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    padding-block: 0;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (min-width: 960px) {
  .hero__search {
    margin-top: -2.4rem;
  }

  .hero .search-form--stacked .search-form__row {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(0, 0.95fr) auto;
    gap: 0.75rem;
  }

  .hero .search-form__submit {
    min-width: 9rem;
  }
}

@media (max-width: 959.98px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 42%);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(0.75rem, 3vw, 1.5rem);
    padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 1.5rem) 0;
    background: var(--color-section-2);
  }

  .hero__content {
    display: contents;
  }

  .hero__heading {
    grid-area: 1 / 1;
    align-self: center;
    margin: 0;
    padding: 0;
  }

  .hero > picture {
    position: relative;
    display: block;
    grid-area: 1 / 2;
    margin-right: calc(-1 * clamp(1rem, 4vw, 1.5rem));
  }

  .hero > picture::after {
    content: none;
  }

  .hero__image {
    width: 100%;
    height: auto;
    max-height: 300px;
    aspect-ratio: 1;
    border-radius: 0;
    object-fit: cover;
    object-position: 100% 30%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 28%),
      linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 28%),
      linear-gradient(to bottom, transparent 0%, #000 14%, #000 82%, transparent 100%);
    mask-composite: intersect;
  }

  .hero__search {
    grid-area: 2 / 1 / 3 / 3;
    width: 100%;
    max-width: none;
    margin: clamp(1rem, 3vw, 1.5rem) 0 0;
    padding: 0 0 2rem;
  }

  .intro,
  .feature-band {
    padding: clamp(2rem, 6vw, 3rem) clamp(1rem, 4vw, 2rem);
  }

  .feature-band--info .feature {
    row-gap: 1.25rem;
  }

  .feature-band--info .feature__media img {
    width: min(100%, 260px);
    height: auto;
    margin-inline: auto;
  }

  .feature-band--info .feature__text {
    text-align: center;
  }

  .feature-band--info .feature__heading {
    max-width: 50ch;
    margin-inline: auto;
    font-size: clamp(1.2rem, 1rem + 1vw, 1.45rem);
    line-height: 1.3;
    text-wrap: balance;
  }

  .feature-band--info .feature__text p {
    max-width: 46ch;
    margin-inline: auto;
  }
}

@media (min-width: 600px) and (max-width: 959.98px) {
  .cac-bar__title {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 599.98px) {
  .dws-nav__brand img {
    width: 150px;
    height: auto;
  }

  .dws-nav__brand::after {
    width: 84px;
    height: 36px;
    margin-left: 14px;
    padding-left: 14px;
    background-size: 84px auto;
  }

  .cac-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 0.75rem;
    padding-block: 0.6rem;
  }

  .cac-bar__center {
    display: flex;
    order: 0;
    flex: 1 1 auto;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .cac-bar__right {
    order: 1;
    flex: 0 0 auto;
    width: auto;
  }

  .cac-bar__title {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .cac-bar__help {
    display: block;
    width: 40px;
    height: 40px;
    margin: -8px -8px -8px 0;
    border: 0;
    border-radius: 0;
    background-color: var(--color-white);
    font-size: 0;
    text-decoration: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z'/%3E%3C/svg%3E")
      center / 24px 24px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 18h2v-2h-2v2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4z'/%3E%3C/svg%3E")
      center / 24px 24px no-repeat;
  }

  .cac-bar__help:hover {
    background-color: rgb(255 255 255 / 0.8);
  }

  .cac-bar__right:focus-within {
    border-radius: 50%;
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 38%);
  }

  .hero__heading {
    font-size: clamp(1.4rem, 0.8rem + 3.2vw, 2rem);
  }

  .hero__search {
    padding-bottom: 1.5rem;
  }

  .hero .search-form {
    padding: 1rem 1rem 1.25rem;
    border: 0;
    border-radius: 12px;
    box-shadow:
      0 10px 30px rgb(34 60 78 / 0.14),
      0 1px 0 var(--color-border);
  }

  .hero .search-form__item {
    margin-bottom: 0;
  }

  .hero .search-form__item > .form-label,
  .hero .search-form__group {
    padding-left: 0;
  }

  .hero .search-form__item--address > .form-label {
    height: auto;
    margin-bottom: 0.6rem;
    color: var(--color-hero-text);
    font-weight: 700;
  }

  .hero .search-form__item--program > .form-label,
  .hero .search-form__item--zip > .form-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: auto;
    margin: 0.3rem 0;
    color: var(--color-body);
    font-size: 0.85rem;
  }

  .hero .search-form__item--program > .form-label::before,
  .hero .search-form__item--program > .form-label::after,
  .hero .search-form__item--zip > .form-label::before,
  .hero .search-form__item--zip > .form-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border-input);
  }

  .hero .search-form__control {
    height: 46px;
  }

  .hero .search-form__item--submit {
    margin-top: 1rem;
  }

  .hero .search-form__submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 100%;
    height: 48px;
    padding-block: 0;
    line-height: 1;
  }
}
