/* =========================================================
   accessibility.css
   Global accessibility + content-new.php styling
   Last Updated: 02/17/2026
   Notes:
   - This file is intended to load LAST so it can override theme CSS.
   - Keep selectors scoped where possible to avoid theme-wide collisions.
   ========================================================= */


/* =========================================================
   GLOBAL ACCESSIBILITY
   ========================================================= */

/* Skip link (global) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #0e4c90;
  color: #fff;
  padding: 0.75em 1em;
  border-radius: 10px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus,
.skip-link:focus-visible {
  left: 1em;
  top: 1em;
}

/* Focus (modern + fallback) */
:focus {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
}

/* Prefer focus-visible when supported */
:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Helper for icon-only controls and non-visual labels */
.swv-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

/* =========================================================
   HEADER ACCESSIBILITY (WCAG 2.1 AA)
   ========================================================= */
.swv-header .swv-nav__list > li:hover > ul,
.swv-header .swv-nav__list > li:focus-within > ul {
  display: block;
}

.swv-header .swv-nav__list li ul li:hover > ul,
.swv-header .swv-nav__list li ul li:focus-within > ul {
  display: block;
}

.swv-header .swv-nav__list li ul a:focus,
.swv-header .swv-nav__list li ul a:focus-visible {
  background: #0e4c90;
  color: #ffffff;
  text-decoration: none;
}

.swv-header .swv-nav a:focus,
.swv-header .swv-nav a:focus-visible,
.swv-header .swv-header__icon-btn:focus,
.swv-header .swv-header__icon-btn:focus-visible,
.swv-header .swv-header__menu-toggle:focus,
.swv-header .swv-header__menu-toggle:focus-visible,
.swv-header .swv-header__search-form input:focus,
.swv-header .swv-header__search-form input:focus-visible,
.swv-header .swv-header__search-form button:focus,
.swv-header .swv-header__search-form button:focus-visible,
.swv-header__contact-list a:focus,
.swv-header__contact-list a:focus-visible,
.swv-header__utility-links a:focus,
.swv-header__utility-links a:focus-visible,
.swv-search__controls input:focus,
.swv-search__controls input:focus-visible,
.swv-search__controls button:focus,
.swv-search__controls button:focus-visible,
.swv-search__sort select:focus,
.swv-search__sort select:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
  text-decoration: none;
}

.sidebar nav a:focus,
.sidebar nav a:focus-visible,
.sidebar button:focus,
.sidebar button:focus-visible,
.sidebar-close-icon:focus,
.sidebar-close-icon:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .swv-header .swv-nav__list li ul {
    display: none;
  }

  .swv-header .swv-nav__list li:focus-within > ul,
  .swv-header .swv-nav__list li:hover > ul {
    display: block;
  }

  .swv-header__menu-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.42);
  }
}

/* =========================================================
   THEME CONSISTENCY LAYER (WCAG 2.1 AA SUPPORT)
   - Resolves cross-file conflicts in style/mobile/dev CSS
   - Excludes third-party bootstrap/bookstore by file policy
   ========================================================= */
:root {
  --swv-text-line-height: 1.5;
  --swv-text-letter-spacing: 0.01em;
  --swv-heading-line-height: 1.2;
  --swv-body-size: 1rem;
  --swv-small-size: 0.95rem;
  --swv-caption-size: 0.875rem;
  --swv-btn-bg: #0e4c90;
  --swv-btn-text: #ffffff;
  --swv-btn-hover-bg: #56c0e8;
  --swv-btn-hover-text: #0e4c90;
  --swv-btn-radius: 10px;
}

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

body,
p,
dd,
dt,
td,
th {
  font-size: var(--swv-body-size);
  line-height: var(--swv-text-line-height);
  letter-spacing: var(--swv-text-letter-spacing);
}

li {
  line-height: var(--swv-text-line-height);
  letter-spacing: var(--swv-text-letter-spacing);
}

/* Keep body copy in content regions neutral/black for readability consistency. */
.page-section li,
.page-section td,
.page-section th,
.sub li,
.sub td,
.sub th,
.about-page-content li,
.about-section-content li,
.about-page-content td,
.about-page-content th,
.about-section-content td,
.about-section-content th {
  color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: var(--swv-heading-line-height);
  letter-spacing: 0.01em;
}

input,
textarea,
select,
button {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

/* Legacy utility text classes: keep readable baseline */
.p-small {
  font-size: var(--swv-small-size) !important;
  line-height: var(--swv-text-line-height) !important;
}

.p-smaller {
  font-size: var(--swv-caption-size) !important;
  line-height: 1.45 !important;
}

/* Normalize overly tight or loose utility spacing values */
.tight {
  letter-spacing: -0.01em !important;
}

.loose {
  letter-spacing: 0.04em !important;
}

/* Refreshed header: improve readability consistency */
.swv-header__contact-list a,
.swv-header__utility-links a {
  font-size: var(--swv-caption-size) !important;
  line-height: 1.35 !important;
  letter-spacing: 0.01em !important;
}

.swv-header .swv-nav__list > li > a {
  font-size: 0.9rem !important;
  line-height: 1.25 !important;
  letter-spacing: 0.03em !important;
}

/* Search controls: keep text readable in all breakpoints */
.swv-search__controls input[type="search"],
.swv-search__controls button,
.swv-search__sort select {
  font-size: 1rem !important;
  line-height: 1.3 !important;
}

/* Keep "Sort by" label and select on one line. */
.swv-search__sort {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  align-self: center;
  gap: 0.55rem;
  margin: 0 !important;
}

.swv-search__sort label {
  display: inline-block !important;
  margin: 0 !important;
  line-height: 1.1;
  white-space: nowrap;
}

.swv-search__sort select {
  margin: 0 !important;
  width: auto !important;
  min-width: 7.4rem;
}

/* Unified button color/hover/focus treatment across theme */
button:not(.fc-button):not(.swv-header-search-btn),
input[type="submit"],
input[type="button"],
.btn,
a.inline-button-link,
a.home-button,
.swv-btn {
  background: var(--swv-btn-bg) !important;
  color: var(--swv-btn-text) !important;
  border: 1px solid var(--swv-btn-bg);
  border-radius: var(--swv-btn-radius);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.16s ease, box-shadow 0.2s ease;
}

button:not(.fc-button):not(.swv-header-search-btn):hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover,
a.inline-button-link:hover,
a.home-button:hover,
.swv-btn:hover {
  background: var(--swv-btn-hover-bg) !important;
  color: var(--swv-btn-hover-text) !important;
  border-color: var(--swv-btn-hover-bg) !important;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(11, 47, 87, 0.2);
}

button:not(.fc-button):not(.swv-header-search-btn):active,
input[type="submit"]:active,
input[type="button"]:active,
.btn:active,
a.inline-button-link:active,
a.home-button:active,
.swv-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(11, 47, 87, 0.2);
}

button:not(.fc-button):not(.swv-header-search-btn):disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled,
.btn[aria-disabled="true"],
.swv-btn[aria-disabled="true"] {
  opacity: 0.65;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  button:not(.fc-button):not(.swv-header-search-btn),
  input[type="submit"],
  input[type="button"],
  .btn,
  a.inline-button-link,
  a.home-button,
  .swv-btn {
    transition: none !important;
    transform: none !important;
  }
}

/* Back-to-top control: crisp circular control with strong contrast and focus visibility. */
#back-to-top {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 2px solid #0e4c90;
  border-radius: 999px;
  background: #0e4c90 !important;
  color: #ffffff !important;
  text-align: center;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(11, 47, 87, 0.3);
  right: 5.25rem;
  bottom: 5.25rem;
}

#back-to-top:hover {
  background: #0e4c90 !important;
  border-color: #0e4c90 !important;
}

#back-to-top:focus,
#back-to-top:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}

#back-to-top i {
  font-size: 1.05rem;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

@media (max-width: 768px) {
  #back-to-top {
    right: 5rem;
    bottom: 4.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #back-to-top {
    transition: none !important;
  }
}

/* Resolve legacy mobile header text-crowding rule in dev-mobile.css */
.header-top .col-8 ul li {
  line-height: 1.2 !important;
}

/* Mobile guardrails for refreshed header/nav to avoid overflow from desktop mega-menu rules */
@media (max-width: 900px) {
  .swv-header {
    overflow: visible;
  }

  .swv-header__utility-inner,
  .swv-header__main {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .swv-header__search-form {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .swv-header .swv-nav__list > li > ul.is-long-menu,
  .swv-header .swv-nav__list > li > ul.sub-menu.is-long-menu {
    display: none;
    width: 100% !important;
    max-width: 100% !important;
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-auto-columns: auto;
    gap: 0;
  }

  .swv-header .swv-nav__list > li:hover > ul.is-long-menu,
  .swv-header .swv-nav__list > li:hover > ul.sub-menu.is-long-menu,
  .swv-header .swv-nav__list > li:focus-within > ul.is-long-menu,
  .swv-header .swv-nav__list > li:focus-within > ul.sub-menu.is-long-menu {
    display: block;
  }

  .swv-header .swv-nav__list > li > ul::before {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .swv-search__form {
    padding: 0.8rem;
  }

  .swv-search__meta {
    gap: 0.6rem;
  }
}


/* =========================================================
   CONTENT-NEW (Cards/Banners + Sub boxes)
   If these classes are used across the site, consider
   prefixing them in markup later to avoid collisions.
   ========================================================= */

/* Banner layout */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25em;
}

.banner-card {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

.banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.banner-content {
  position: absolute;
  inset: auto 1em 1em 1em;
  color: #fff;
}

.banner-title {
  display: block;
  font-weight: 800;
  font-size: 1.1em;
  margin-bottom: 0.35em;
}

.banner-cta {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
}

/* Sub boxes nav */
.sub-boxes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75em;
}

.sub-box-link {
  display: block;
  padding: 0.9em 1em;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  text-decoration: none;
  background: #fff;
}

.sub-box-link:hover {
  text-decoration: underline;
}

/* Resource lists */
.resource-list {
  margin-top: 1em;
}

/* Responsive for banner + sub boxes */
@media (max-width: 900px) {
  .banner-grid,
  .sub-boxes-list {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   HERO + SECTION CARDS (content-new.php)
   Uses: .swv-hero, .swv-anchors
   ========================================================= */

/* Hero (default, no background image) */
.swv-hero {
  padding: 2.75rem 0;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(135deg, rgba(14,76,144,0.10), rgba(86,192,232,0.10));
}

/* Hero with background image (if you add it later) */
.swv-hero.swv-hero--has-image {
  position: relative;
  min-height: 35rem;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 0;
}

.swv-hero.swv-hero--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.54) 0%,
    rgba(0,0,0,0.46) 45%,
    rgba(0,0,0,0.52) 100%
  );
}

.swv-hero.swv-hero--has-image .swv-hero-grid,
.swv-hero.swv-hero--has-image .swv-hero-content {
  position: relative;
  z-index: 1;
}

.swv-hero.swv-hero--has-image .swv-hero-content {
  background: rgba(0, 0, 0, 0.62);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.24);
  max-width: 78ch;
  padding: clamp(1rem, 0.8rem + 0.8vw, 1.5rem);
}

.swv-hero.swv-hero--has-image .swv-hero-title,
.swv-hero.swv-hero--has-image .swv-hero-intro,
.swv-hero.swv-hero--has-image .swv-hero-intro p {
  color: #ffffff;
}

.swv-hero.swv-hero--has-image .swv-hero-intro a {
  color: #ffffff;
  text-decoration: underline;
}

.swv-hero.swv-hero--has-image .swv-hero-content :is(h1, h2, h3, h4, h5, h6, p, li, span, strong, em) {
  color: #ffffff;
}

.swv-hero.swv-hero--has-image .swv-hero-content a:not(.swv-btn):not(.swv-degree-track-nav__link) {
  color: #ffffff;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.swv-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.swv-hero--with-media .swv-hero-grid {
  grid-template-columns: 1.25fr 0.75fr;
}

.swv-hero-content {
  min-width: 0;
}

.swv-hero-media {
  margin: 0;
  justify-self: end;
}

.swv-hero-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.swv-hero-kicker {
  margin: 0 0 .6rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .8rem;
  color: #0e4c90;
}

.swv-hero-title {
  margin: 0 0 .5rem;
  font-size: 2.25rem;
  line-height: 1.15;
}

.swv-hero-intro {
  max-width: 100ch;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Optional hero buttons */
.swv-hero-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.swv-btn {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 10px;
  background: #0e4c90;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(14,76,144,0.25);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.swv-btn:hover {
  background: #56c0e8;
  color: #0b111c;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  transform: translateY(-1px);
}

/* If hero has background image, invert button style for contrast */
.swv-hero.swv-hero--has-image .swv-btn {
  background: #ffffff;
  color: #0b111c;
  border-color: #ffffff;
}

.swv-hero.swv-hero--has-image .swv-btn:hover {
  background: #0e4c90;
  color: #ffffff;
  border-color: #0e4c90;
}

.swv-hero.swv-hero--has-image .swv-btn:focus-visible {
  outline: 3px solid #ffbf47;
  outline-offset: 3px;
}


/* =========================================================
   ANCHOR “SECTION CARDS”
   Uses: <nav class="swv-anchors"> ... <ul class="swv-anchors__list">
   ========================================================= */

.swv-anchors {
  padding: 1.75rem 0 0;
  padding-bottom: 1.75rem;
  background: #ffffff;
}

/* Strong reset so theme UL rules don’t leak in */
.swv-anchors ul.swv-anchors__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swv-anchors__title {
  margin: 0 0 0.75rem;
  color: #0e4c90;
  font-size: 1.2rem;
  line-height: 1.25;
}

.swv-anchors__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 24px;
}

.swv-anchors__item {
  min-width: 0;
}

.swv-anchors__link {
  display: flex;
  align-items: center;
  min-height: 52px;

  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;

  background: #ffffff;
  color: #0e4c90;
  font-weight: 800;
  text-decoration: none;

  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.swv-anchors__link:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transform: translateY(-1px);
  text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .swv-hero.swv-hero--has-image {
    min-height: 24rem;
    padding: 2.25rem 0;
  }

  .swv-anchors__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .swv-hero.swv-hero--has-image {
    min-height: 20rem;
    padding: 2rem 0;
  }

  .swv-anchors__list {
    grid-template-columns: 1fr;
  }
}
/* =========================================================
   PROGRAMS INDEX (content-programs-new.php)
   ========================================================= */

.swv-programs-page {
  background:
    radial-gradient(circle at 8% 8%, rgba(86, 192, 232, 0.18), transparent 44%),
    radial-gradient(circle at 95% 12%, rgba(14, 76, 144, 0.16), transparent 40%),
    linear-gradient(180deg, #f6f9fe 0%, #edf3fa 100%);
}

.swv-programs-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #d5deea;
  padding: 3.5rem 0 2.5rem;
}

.swv-programs-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
}

.swv-programs-kicker {
  margin: 0 0 0.6rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
  background: rgba(0, 0, 0, 0.45);
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.swv-programs-title {
  margin: 0 0 0.8rem;
  color: #0c2238;
  font-size: clamp(1.9rem, 1.3vw + 1.3rem, 2.75rem);
  line-height: 1.1;
}

.swv-programs-intro,
.swv-programs-intro p {
  margin-top: 0.85rem;
  color: #1d3449;
  max-width: 72ch;
  line-height: 1.65;
}

.swv-programs-hero__actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.swv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.swv-btn--primary {
  background: #0e4c90;
  color: #ffffff;
}

.swv-btn--primary:hover {
  background: #0a3a71;
  text-decoration: none;
}

.swv-btn--ghost {
  background: #ffffff;
  border-color: #0e4c90;
  color: #0e4c90;
}

.swv-btn--ghost:hover {
  background: #e9f2ff;
  text-decoration: none;
}

.swv-btn:focus,
.swv-btn:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
}

.swv-programs-hero__panel {
  border: 1px solid #c8d4e3;
  border-radius: 16px;
  background: linear-gradient(160deg, #0e4c90, #0a365f 68%);
  box-shadow: 0 14px 30px rgba(9, 23, 38, 0.22);
  padding: 1.25rem;
}

.swv-programs-panel__title {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
}

.swv-programs-panel__stat {
  margin: 1rem 0 0.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.swv-programs-panel__number {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.swv-programs-panel__label {
  color: #cde6ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.swv-programs-panel__text {
  margin: 0;
  color: #deedff;
  line-height: 1.5;
}

.swv-programs-toolbar {
  margin-top: 1.2rem;
  border: 1px solid #d5deea;
  border-radius: 16px;
  background: #ffffff;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 20px rgba(19, 45, 71, 0.07);
}

.swv-programs-toolbar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.swv-programs-directory-title {
  margin: 0;
  color: #0e4c90;
  font-size: 1.45rem;
}

.swv-programs-count {
  margin: 0;
  color: #2d4258;
  font-weight: 700;
}

.swv-programs-search {
  max-width: 42rem;
}

.swv-programs-search__label {
  display: block;
  margin: 0 0 0.4rem;
  color: #142f49;
  font-weight: 700;
}

.swv-programs-search__input {
  width: 100%;
  min-height: 48px;
  border: 2px solid #9fb2c8;
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  color: #0e2235;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.swv-programs-search__input:focus,
.swv-programs-search__input:focus-visible {
  border-color: #0e4c90;
  outline: 3px solid #0e4c90;
  outline-offset: 2px;
}

.swv-programs-search__help {
  margin: 0;
  color: #2a4159;
  font-size: 0.92rem;
}

.swv-programs-directory {
  padding-top: 1.15rem;
  padding-bottom: 0.8rem;
}

.swv-programs-nav {
  width: 100%;
}

.swv-programs-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.swv-programs-item {
  margin: 0;
}

.swv-program-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 230px;
  padding: 1.05rem;
  border: 1px solid #cad6e5;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(86, 192, 232, 0.12), transparent 45%),
    #ffffff;
  box-shadow: 0 2px 0 rgba(10, 22, 35, 0.03);
}

.swv-program-card__type {
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  background: #e7f1ff;
  color: #0a396d;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.34rem 0.62rem;
}

.swv-program-card__title {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.28;
}

.swv-program-card__title-link {
  color: #0f2740;
  text-decoration: none;
}

.swv-program-card__title-link:hover {
  text-decoration: underline;
}

.swv-program-card__desc {
  margin: 0;
  color: #23384d;
  line-height: 1.5;
}

.swv-program-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: #0e4c90;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.swv-program-card__cta:hover {
  color: #093765;
}

.swv-program-card__title-link:focus,
.swv-program-card__title-link:focus-visible,
.swv-program-card__cta:focus,
.swv-program-card__cta:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
  border-radius: 4px;
}

.swv-programs-empty {
  margin: 1rem 0 0;
  border: 1px solid #cbd7e6;
  border-radius: 10px;
  background: #ffffff;
  color: #1e3449;
  padding: 0.8rem 1rem;
}

.swv-programs-banners {
  padding-top: 0.8rem;
  padding-bottom: 2.5rem;
}

.swv-programs-banners-title {
  margin: 0 0 0.75rem;
  color: #0e4c90;
}

.swv-programs-banners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.swv-programs-banner-card {
  display: grid;
  grid-template-columns: minmax(120px, 170px) minmax(0, 1fr);
  align-items: stretch;
  border: 1px solid #c8d4e2;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.swv-programs-banner-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swv-programs-banner-card__content {
  padding: 0.85rem 0.95rem;
}

.swv-programs-banner-card__title {
  margin: 0 0 0.5rem;
  color: #0f2740;
  font-size: 1.02rem;
  line-height: 1.3;
}

.swv-programs-banner-card__link {
  color: #0e4c90;
  font-weight: 800;
  text-decoration: underline;
}

.swv-programs-banner-card__link:focus,
.swv-programs-banner-card__link:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (max-width: 1060px) {
  .swv-programs-hero__grid {
    grid-template-columns: 1fr;
  }

  .swv-programs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .swv-programs-hero {
    padding-top: 2.4rem;
    padding-bottom: 1.9rem;
  }

  .swv-programs-toolbar {
    padding: 0.9rem;
  }

  .swv-programs-grid,
  .swv-programs-banners-grid {
    grid-template-columns: 1fr;
  }

  .swv-programs-banner-card {
    grid-template-columns: 1fr;
  }

  .swv-programs-banner-card__img {
    max-height: 190px;
  }
}

/* =========================================================
   ALL PROGRAMS INDEX (content-all-programs-new.php)
   ========================================================= */

.swv-all-programs-page .swv-hero {
  margin-bottom: 0;
}

.swv-all-programs-page {
  background: #ffffff;
  padding-bottom: 3rem;
}

.swv-all-programs-page .swv-hero.swv-hero--no-image {
  background: linear-gradient(135deg, rgba(14,76,144,0.10), rgba(86,192,232,0.10));
}

.swv-all-programs-page .swv-hero.swv-hero--has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.swv-all-programs-toolbar {
  margin-top: 1.5rem;
  padding: 1.65rem 1.5rem;
}

.swv-all-programs-toolbar__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.swv-all-programs-summary {
  border: 1px solid #cad6e5;
  border-radius: 12px;
  background: linear-gradient(165deg, #0e4c90, #56c0e8 75%);
  color: #ffffff;
  padding: 1.2rem 1.2rem;
  min-height: 100%;
}

.swv-all-programs-summary__title {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
}

.swv-all-programs-summary__total {
  margin: 0.55rem 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
}

.swv-all-programs-summary__breakdown p {
  margin: 0.25rem 0 0;
  color: #deebfb;
  line-height: 1.35;
}

.swv-all-programs-summary__breakdown strong {
  color: #ffffff;
}

.swv-all-programs-section {
  background: #ffffff;
  padding-top: 2rem;
  padding-bottom: 1.75rem;
}

.swv-all-programs-section__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.swv-all-programs-section__head h2 {
  margin: 0;
  color: #0e4c90;
  font-size: 1.5rem;
}

.swv-all-programs-section__count {
  margin: 0;
  color: #334b64;
  font-weight: 700;
}

.swv-all-programs-grid {
  align-items: stretch;
  gap: 1.35rem 1.35rem;
}

.swv-all-program-card {
  overflow: hidden;
  padding: 0;
  min-height: 0;
}

.swv-all-program-card__image {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-bottom: 1px solid #d9e2ee;
}

.swv-all-program-card__content {
  padding: 0.95rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.swv-all-program-card .swv-program-card__desc {
  margin: 0;
}

.swv-all-program-card .swv-program-card__cta {
  margin-top: auto;
}

@media (max-width: 980px) {
  .swv-all-programs-toolbar__grid {
    grid-template-columns: 1fr;
  }

  .swv-all-programs-summary {
    max-width: 360px;
  }
}

@media (max-width: 760px) {
  .swv-all-program-card__image {
    height: 188px;
  }

  .swv-all-programs-section__head h2 {
    font-size: 1.35rem;
  }
}

/* =========================================================
   NARROW CONTENT WRAPPER (program pages only)
   ========================================================= */

.swv-page-narrow {
  margin-left: 20%;
  margin-right: 20%;
  width: 60%;
}

@media (max-width: 1200px) {
  .swv-page-narrow {
    margin-left: 14%;
    margin-right: 14%;
    width: 72%;
  }
}

@media (max-width: 900px) {
  .swv-page-narrow {
    margin-left: 8%;
    margin-right: 8%;
    width: 84%;
  }
}

@media (max-width: 760px) {
  .swv-page-narrow {
    margin-left: 5%;
    margin-right: 5%;
    width: 90%;
  }
}

/* =========================================================
   DEGREE DETAILS NEW (content-degree-details-new.php)
   ========================================================= */

.swv-degree-detail-page {
  background: #ffffff;
  padding-bottom: 3rem;
}

.swv-degree-detail-page .swv-hero {
  margin-bottom: 0;
}

.swv-degree-main {
  padding-top: 1.5rem;
}

.swv-degree-back-link {
  margin: 0 0 1rem;
}

.swv-degree-back-link a {
  color: #0e4c90;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.swv-degree-track-nav {
  margin-top: 1rem;
}

.swv-degree-track-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.swv-degree-track-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 2px solid #c3d3e6;
  border-radius: 999px;
  background: #ffffff;
  color: #0e4c90;
  font-weight: 800;
  text-decoration: none;
  padding: 0.5rem 1rem;
}

.swv-degree-track-nav__link:hover {
  background: #e8f3ff;
  text-decoration: none;
}

.swv-degree-track-nav__link.is-active,
.swv-degree-track-nav__link[aria-current="page"] {
  border-color: #0e4c90;
  background: #0e4c90;
  color: #ffffff;
}

.swv-degree-track-nav__link:focus,
.swv-degree-track-nav__link:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
}

.swv-degree-track-section {
  margin-top: 1rem;
}

.swv-degree-track-section__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.swv-degree-track-section__head h2 {
  margin: 0;
  color: #0e4c90;
  font-size: 1.5rem;
}

.swv-degree-track-section__badge {
  margin: 0;
  border-radius: 999px;
  background: #e7f1ff;
  color: #0a396d;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
}

.swv-degree-content-card {
  border: 1px solid #cad7e5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(10, 22, 35, 0.03);
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
}

.swv-degree-content-card h3 {
  margin: 0 0 0.5rem;
  color: #0e4c90;
}

.swv-degree-richtext {
  color: #0e4c90;
  line-height: 1.65;
}

.swv-degree-richtext p:first-child {
  margin-top: 0;
}

.swv-degree-resource-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.swv-degree-resource-list li {
  margin: 0;
}

.swv-degree-resource-list a {
  display: block;
  min-height: 44px;
  border: 1px solid #d4dfec;
  border-radius: 10px;
  background: #f9fbff;
  color: #0e4c90;
  font-weight: 700;
  text-decoration: none;
  padding: 0.65rem 0.8rem;
}

.swv-degree-resource-list a:hover {
  background: #e8f3ff;
  text-decoration: underline;
}

.swv-degree-resource-list a:focus,
.swv-degree-resource-list a:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: 3px;
}

.swv-degree-extras {
  margin-top: 1.25rem;
}

.swv-degree-extras h2 {
  margin: 0 0 0.85rem;
  color: #0e4c90;
}

.swv-degree-extras-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

@media (max-width: 900px) {
  .swv-degree-resource-list,
  .swv-degree-extras-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   EMPLOYEE DIRECTORY (snippet-new-directory-update.php)
   ========================================================= */

.swv-directory-page {
  padding-bottom: 3rem;
  padding-top: 1.25rem;
}

.swv-directory-shell {
  width: 90% !important;
  max-width: 1700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.swv-directory-main {
  padding-top: 0.5rem;
}

.swv-directory-filters-wrap {
  border: 1px solid #cad7e7;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 41, 69, 0.08);
  padding: 1.15rem 1.1rem;
}

.swv-directory-filter-title {
  margin: 0;
  color: #0e4c90;
  font-size: 1.45rem;
}

.swv-directory-filter-help {
  margin: 0.5rem 0 1rem;
  color: #203a53;
  line-height: 1.5;
}

.swv-directory-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.swv-directory-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: #0e4c90;
  font-weight: 800;
}

.swv-directory-input {
  width: 100%;
  min-height: 48px;
  border: 2px solid #9eb4cc;
  border-radius: 10px;
  color: #0c243a;
  background: #ffffff;
  padding: 0.65rem 0.7rem;
  font-size: 1rem;
}

.swv-directory-input:focus,
.swv-directory-input:focus-visible {
  border-color: #0e4c90;
}

.swv-directory-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.swv-directory-noscript {
  margin: 0.4rem 0 0;
  color: #304b63;
}

.swv-directory-results-count {
  margin: 0.9rem 0 0;
  color: #163350;
  font-weight: 700;
}

.swv-directory-results-wrap {
  margin-top: 1.15rem;
}

.swv-directory-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
}

.swv-directory-card {
  width: auto !important;
  float: none !important;
  border: 1px solid #c8d7e8;
  border-radius: 14px;
  background:
    radial-gradient(circle at top right, rgba(86, 192, 232, 0.13), transparent 45%),
    #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.swv-directory-card__image-link {
  display: block;
}

.swv-directory-card__image-link:focus,
.swv-directory-card__image-link:focus-visible {
  outline: 3px solid #0e4c90;
  outline-offset: -3px;
}

.swv-directory-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #d5e0ec;
}

.swv-directory-card__image-fallback {
  min-height: 220px;
  border-bottom: 1px solid #d5e0ec;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0e4c90;
  background: linear-gradient(135deg, #edf4fb, #dfeaf8);
}

.swv-directory-card__content {
  padding: 0.9rem 0.95rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.swv-directory-page .swv-directory-card p {
  margin: 0 !important;
  line-height: 1.25 !important;
}

.swv-directory-card__name {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
}

.swv-directory-card__name a {
  color: #0f2740;
  text-decoration: none;
}

.swv-directory-card__name a:hover {
  text-decoration: underline;
}

.swv-directory-card__title {
  margin: 0;
  line-height: 1.25;
  color: #173553;
  font-weight: 700;
}

.swv-directory-card__meta {
  margin: 0;
  color: #213a52;
  line-height: 1.3;
}

.swv-directory-card__contacts {
  margin: 0.05rem 0 0;
  line-height: 1.25;
  color: #0e4c90;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.35rem;
}

.swv-directory-card__contacts a {
  color: #0e4c90;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.1em;
  overflow-wrap: anywhere;
  word-break: break-word;
  min-width: 0;
}

.swv-directory-card__contacts a:hover {
  color: #0a3a70;
}

.swv-directory-empty {
  margin: 0;
  border: 1px solid #cad7e6;
  border-radius: 10px;
  background: #ffffff;
  padding: 0.75rem 0.95rem;
  color: #1f3a53;
}

@media (max-width: 1060px) {
  .swv-directory-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swv-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .swv-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .swv-directory-main {
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }

  .swv-directory-filter-grid,
  .swv-directory-grid {
    grid-template-columns: 1fr;
  }

  .swv-directory-filters-wrap {
    padding: 1rem 0.85rem;
  }
}

/* =========================================================
   EMPLOYEE DETAIL (snippet-employee-info-new.php)
   ========================================================= */

.swv-employee-page {
  background: #ffffff;
  padding-bottom: 3rem;
}

.swv-employee-main {
  padding-top: 1.4rem;
}

.swv-employee-hero-meta {
  display: block;
}

.swv-employee-hero-meta.is-in-hero {
  margin-top: 0.75rem;
}

.swv-employee-hero-meta.is-in-hero .swv-employee-hero-meta__kicker {
  margin: 0;
  color: #cfe7ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swv-employee-hero-meta.is-in-hero .swv-employee-hero-meta__name {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 1vw + 1rem, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
}

.swv-employee-hero-meta.is-in-hero .swv-employee-hero-meta__title {
  margin: 0.45rem 0 0;
  color: #deedff;
  font-weight: 600;
  line-height: 1.35;
}

.swv-employee-hero-meta.is-fallback {
  margin: 0 0 0.95rem;
  border: 1px solid #c8d8ea;
  border-radius: 14px;
  background: linear-gradient(128deg, #0e4c90, #0a365f 72%);
  box-shadow: 0 12px 20px rgba(9, 22, 38, 0.17);
  padding: 0.95rem 1rem 1rem;
}

.swv-employee-hero-meta.is-fallback .swv-employee-hero-meta__kicker {
  margin: 0;
  color: #cfe7ff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swv-employee-hero-meta.is-fallback .swv-employee-hero-meta__name {
  margin: 0.35rem 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 1vw + 1rem, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
}

.swv-employee-hero-meta.is-fallback .swv-employee-hero-meta__title {
  margin: 0.45rem 0 0;
  color: #deedff;
  font-weight: 600;
  line-height: 1.35;
}

.swv-employee-back {
  margin: 0 0 1rem;
}

.swv-employee-back a {
  color: #0e4c90;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.swv-employee-empty {
  border: 1px solid #cad7e6;
  border-radius: 12px;
  background: #ffffff;
  padding: 1rem;
}

.swv-employee-empty h2 {
  margin: 0 0 0.45rem;
  color: #12304d;
}

.swv-employee-empty p {
  margin: 0;
}

.swv-employee-profile {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.swv-employee-profile__summary {
  position: sticky;
  top: 1rem;
}

.swv-employee-profile__image {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #d5dfea;
  box-shadow: 0 8px 18px rgba(14, 34, 54, 0.12);
  display: block;
}

.swv-employee-profile__card {
  margin-top: 0.75rem;
  border: 1px solid #cad7e6;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem;
}

.swv-employee-profile__name {
  margin: 0;
  color: #12304d;
  font-size: 1.4rem;
  line-height: 1.2;
}

.swv-employee-profile__title {
  margin: 0.4rem 0 0.65rem;
  color: #1f3b56;
  font-weight: 700;
}

.swv-employee-profile__meta {
  margin: 0;
}

.swv-employee-profile__meta dt {
  margin: 0.55rem 0 0.15rem;
  color: #123a60;
  font-weight: 800;
}

.swv-employee-profile__meta dd {
  margin: 0;
  color: #0e4c90;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.swv-employee-profile__meta a {
  color: #0e4c90;
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.swv-employee-profile__meta a:hover {
  color: #0a3b72;
}

.swv-employee-profile__details {
  display: grid;
  gap: 0.85rem;
}

.swv-employee-section {
  border: 1px solid #cad7e5;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 0 rgba(10, 22, 35, 0.03);
  padding: 0.95rem 1rem;
}

.swv-employee-section h2 {
  margin: 0 0 0.5rem;
  color: #0e4c90;
  font-size: 1.3rem;
  line-height: 1.2;
}

.swv-employee-section__content {
  color: #0e4c90;
  line-height: 1.55;
}

.swv-employee-section__content > :first-child {
  margin-top: 0;
}

.swv-employee-section__content > :last-child {
  margin-bottom: 0;
}

.swv-employee-no-details {
  border: 1px solid #cad7e6;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.95rem 1rem;
}

.swv-employee-no-details h2 {
  margin: 0 0 0.4rem;
  color: #0e4c90;
  font-size: 1.2rem;
}

.swv-employee-no-details p {
  margin: 0;
  color: #1f3a53;
  line-height: 1.45;
}

@media (max-width: 960px) {
  .swv-employee-profile {
    grid-template-columns: 1fr;
  }

  .swv-employee-profile__summary {
    position: static;
  }
}

/* =========================================================
   HOME PAGE REFRESH (content-home-new.php)
   ========================================================= */
.swv-home {
  background: #f7fbff;
  color: #0e4c90;
}

.swv-home a {
  color: #0e4c90;
}

.swv-home .hero {
  margin-bottom: 0;
}

/* Homepage hero text/button layout (desktop baseline). */
.swv-home .hero .hero-box {
  width: min(86%, 48rem);
}

.swv-home .hero .hero-heading {
  font-size: clamp(1.4rem, 1.3vw + 1rem, 2.2rem);
  line-height: 1.15;
}

.swv-home .hero .hero-desc {
  width: min(100%, 42rem);
  margin-right: 0;
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.2rem);
  line-height: 1.35;
}

.swv-home .hero .btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

/* Target the homepage CTA anchor (not button) for reliable scaling. */
.swv-home .hero .btn-group .inline-button-link {
  margin-right: 0;
  padding: 0.55rem 0.9rem;
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem);
  line-height: 1.2;
  text-align: center;
}

.swv-home__accessibility-note {
  background: #eef4f8;
  padding: 1rem 0;
}

.swv-home__accessibility-card {
  background: #ffffff;
  border: 1px solid #d4dbe2;
  border-left: 5px solid #56c0e8;
  border-radius: 10px;
  padding: 0.9rem 1rem;
}

.swv-home__accessibility-card h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: #133a63;
}

.swv-home__accessibility-card p {
  margin: 0;
}

.swv-home__accessibility-card a {
  font-weight: 700;
  text-underline-offset: 2px;
}

.swv-home__accessibility-card a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.swv-home__quick-links {
  background: #ffffff;
  border-bottom: 1px solid #d8e5f2;
}

.swv-home__quick-links-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.55rem 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.swv-home__quick-links-nav a {
  display: block;
  min-height: 2.8rem;
  padding: 0.7rem 0.95rem;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  background: #eef4fb;
  border: 1px solid #c6d9ee;
  color: #0e4c90;
}

.swv-home__quick-links-nav a:hover {
  background: #dce9f8;
  text-decoration: none;
}

.swv-home__section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.swv-home__section-head h2 {
  margin: 0;
  color: #0e4c90;
  font-size: clamp(1.5rem, 1.4vw + 1.05rem, 2.2rem);
  line-height: 1.2;
}

.swv-home__section-head p {
  margin: 0;
  color: #0e4c90;
  max-width: 65ch;
}

.swv-home__view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  border: 1px solid #0e4c90;
  background: #0e4c90;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.swv-home__view-all:hover {
  background: #56c0e8;
  border-color: #56c0e8;
  color: #0e4c90 !important;
  text-decoration: none;
}

.swv-home__outcomes,
.swv-home__pathways,
.swv-home__feed-section,
.swv-home__next-steps {
  padding: 2.1rem 0;
}

.swv-home__outcomes-grid,
.swv-home__pathways-grid,
.swv-home__next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.swv-home__outcome-card,
.swv-home__pathway-card,
.swv-home__next-card {
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(14, 76, 144, 0.08);
}

.swv-home__outcome-kicker {
  margin: 0 0 0.3rem;
  color: #0e4c90;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.swv-home__outcome-value {
  margin: 0 0 0.5rem;
  color: #0e4c90;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
}

.swv-home__outcome-detail,
.swv-home__pathway-card p,
.swv-home__next-card p {
  margin: 0 0 0.75rem;
  color: #0e4c90;
}

.swv-home__pathway-card h3,
.swv-home__next-card h3 {
  margin: 0 0 0.45rem;
  color: #0e4c90;
  font-size: 1.16rem;
}

.swv-home__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  text-decoration: none;
}

.swv-home__card-link:hover {
  text-decoration: underline;
}

.swv-home__announcements {
  position: relative;
  background:
    radial-gradient(circle at 12% 8%, rgba(86, 192, 232, 0.16), transparent 42%),
    radial-gradient(circle at 85% 14%, rgba(14, 76, 144, 0.14), transparent 38%),
    #f3f8fe;
  border-top: 1px solid #d8e5f2;
  border-bottom: 1px solid #d8e5f2;
}

.swv-home__announcements .announcements {
  position: relative;
  z-index: 1;
}

.swv-home__announcements .announcement-container {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #d8e5f2;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(14, 76, 144, 0.1);
  margin-bottom: 0.9rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 0;
}

.swv-home__announcements .announce-card {
  background: transparent;
  min-width: 0;
}

.swv-home__announcements .announce-main {
  padding: 1.05rem 1.1rem;
}

.swv-home__announcements .announce-main::before {
  content: "Latest Announcement";
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: #e7f1fb;
  color: #0e4c90;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.swv-home__announcements .announce-title {
  margin: 0 0 0.6rem;
  color: #0e4c90;
  font-size: 1.2rem;
}

.swv-home__announcements .announce-description,
.swv-home__announcements .announce-description p {
  color: #0e4c90;
}

.swv-home__announcements .announcements .slider-arrow {
  background: #0e4c90;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 999px;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.swv-home__announcements .announcements .slider-arrow:hover {
  background: #56c0e8;
  color: #0e4c90;
}

.swv-home__announcements .announce-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.swv-home__announce-feature-list {
  display: grid;
  gap: 3rem;
  width: 64%;
  max-width: 64%;
}

.swv-home__announce-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  padding: 0.8rem 0;
}

.swv-home__announce-feature.is-reversed {
  grid-template-columns: 1fr 1fr;
}

.swv-home__announce-feature.is-reversed .swv-home__announce-media {
  order: 2;
}

.swv-home__announce-feature.is-reversed .swv-home__announce-content {
  order: 1;
}

.swv-home__announce-media img,
.swv-home__announce-media-placeholder {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 360px;
  border-radius: 10px;
  border: 1px solid #d8e5f2;
  overflow: hidden;
  background: #ffffff;
}

.swv-home__announce-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.swv-home__announce-media-placeholder {
  background: #d7d7d0;
  color: #2f2f2f;
  font-weight: 700;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.swv-home__announce-content {
  background: transparent;
  padding: 0.3rem 0 0.3rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.swv-home__announce-feature.is-reversed .swv-home__announce-content {
  padding: 0.3rem 1rem 0.3rem 0;
}

.swv-home__announce-content h3 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.15;
}

.swv-home__announce-content h3 a {
  color: #000000;
  text-decoration: none;
}

.swv-home__announce-content h3 a:hover,
.swv-home__announce-content h3 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.swv-home__announce-excerpt {
  margin-bottom: 1rem;
}

.swv-home__announce-cta {
  margin-top: auto;
  display: inline-block;
  background: #e8e8e8;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}

.swv-home__announce-cta::after {
  content: " \2192";
}

.swv-home__announce-cta:focus-visible,
.swv-home__announce-content h3 a:focus-visible {
  outline: 3px solid #000;
  outline-offset: 2px;
}

.swv-home__announce-feature,
.swv-home__announce-content {
  overflow: hidden;
}

.swv-home__feed-section {
  background: #f7fbff;
}

.swv-home__feed-section--alt {
  background: #f2f7fd;
  border-top: 1px solid #d8e5f2;
  border-bottom: 1px solid #d8e5f2;
}

.swv-home__card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.swv-home__feed-card {
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.swv-home__feed-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.swv-home__feed-body {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.swv-home__feed-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}

.swv-home__feed-body h3 a {
  color: #0e4c90;
  text-decoration: none;
}

.swv-home__feed-body h3 a:hover {
  text-decoration: underline;
}

.swv-home__feed-date {
  margin: 0;
  color: #0e4c90;
  font-size: 0.9rem;
  font-weight: 600;
}

.swv-home__blog-feature {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 14px;
  padding: 1rem;
}

.swv-home__blog-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.swv-home__blog-content h3 {
  margin: 0 0 0.5rem;
}

.swv-home__blog-content h3 a {
  color: #0e4c90;
  text-decoration: none;
}

.swv-home__blog-content h3 a:hover {
  text-decoration: underline;
}

.swv-home__empty {
  padding: 0.95rem 1rem;
  border: 1px solid #d8e5f2;
  border-radius: 10px;
  background: #ffffff;
  color: #0e4c90;
}

@media (max-width: 1200px) {
  .swv-home__card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .swv-home__announce-feature-list {
    width: 100%;
    max-width: 100%;
  }

  .swv-home__announce-feature,
  .swv-home__announce-feature.is-reversed {
    grid-template-columns: 1fr;
  }

  .swv-home__announce-feature.is-reversed .swv-home__announce-media,
  .swv-home__announce-feature.is-reversed .swv-home__announce-content {
    order: initial;
  }

  .swv-home__announce-content,
  .swv-home__announce-feature.is-reversed .swv-home__announce-content {
    padding: 0.75rem 0 0;
  }

  .swv-home__announce-media img,
  .swv-home__announce-media-placeholder {
    max-height: 260px;
  }
}

@media (max-width: 980px) {
  /* Give the hero more vertical room on tablets/small laptops. */
  .swv-home .hero .back-img-wrapper {
    aspect-ratio: 21 / 8;
  }

  .swv-home .hero .back-img {
    object-fit: cover !important;
    object-position: center center;
  }

  .swv-home .hero .hero-box {
    top: auto;
    bottom: clamp(0.5rem, 2.6vw, 1.25rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 36rem);
    text-align: center;
  }

  .swv-home .hero .hero-desc {
    width: 100%;
  }

  .swv-home__quick-links-nav ul,
  .swv-home__outcomes-grid,
  .swv-home__pathways-grid,
  .swv-home__next-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swv-home__blog-feature {
    grid-template-columns: 1fr;
  }

  .swv-home__announcements .announcement-container {
    grid-template-columns: 1fr;
  }

  .swv-home__announcements .announce-image img {
    min-height: 180px;
  }
}

@media (max-width: 680px) {
  /* Phone-specific hero typography and CTA sizing. */
  .swv-home .hero .back-img-wrapper {
    aspect-ratio: 5 / 2;
  }

  .swv-home .hero .hero-box {
    top: auto;
    bottom: 0.45rem;
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    padding: 0.35rem 0.25rem;
  }

  .swv-home .hero .hero-heading {
    font-size: clamp(1.1rem, 4.3vw, 1.45rem);
  }

  .swv-home .hero .hero-desc {
    font-size: 0.9rem;
    line-height: 1.3;
    padding-bottom: 0.45rem;
  }

  .swv-home .hero .btn-group .inline-button-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.62rem;
    max-width: 100%;
    white-space: normal;
  }

  .swv-home__quick-links-nav ul,
  .swv-home__outcomes-grid,
  .swv-home__pathways-grid,
  .swv-home__card-grid,
  .swv-home__next-grid {
    grid-template-columns: 1fr;
  }

  .swv-home__section-head {
    align-items: flex-start;
  }
}

/* Contact Form 7: accessible, modern baseline (WCAG 2.1 AA friendly). */
.page-section .wpcf7 {
  --swv-form-bg: #ffffff;
  --swv-form-text: #0e4c90;
  --swv-form-border: #0e4c90;
  --swv-form-border-soft: #9fb3c8;
  --swv-form-focus: #ffbf47;
  --swv-form-error: #b42318;
  --swv-form-error-bg: #fef3f2;
  --swv-form-success-bg: #ecfdf3;
  --swv-form-success-border: #027a48;
  --swv-form-brand: #0e4c90;
  --swv-form-brand-hover: #0e4c90;
  max-width: 56rem;
  margin: 1.25rem 0 2rem;
  padding: clamp(1rem, 2.6vw, 1.6rem);
  background: var(--swv-form-bg);
  border: 1px solid #d5e1ec;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(11, 55, 104, 0.08);
}

.page-section .wpcf7 form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.page-section .wpcf7 form > p {
  margin: 0;
}

.page-section .wpcf7 form > p:nth-last-child(2),
.page-section .wpcf7 form > p:last-child,
.page-section .wpcf7 .wpcf7-response-output,
.page-section .wpcf7 .screen-reader-response {
  grid-column: 1 / -1;
}

.page-section .wpcf7 label {
  display: block;
  margin: 0;
  color: var(--swv-form-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-section .wpcf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.45rem;
}

.page-section .wpcf7 input[type="text"],
.page-section .wpcf7 input[type="email"],
.page-section .wpcf7 input[type="tel"],
.page-section .wpcf7 input[type="date"],
.page-section .wpcf7 input[type="url"],
.page-section .wpcf7 input[type="number"],
.page-section .wpcf7 select,
.page-section .wpcf7 textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.66rem 0.78rem;
  border: 2px solid var(--swv-form-border-soft);
  border-radius: 0.62rem;
  background: #ffffff;
  color: #0e4c90;
  font: inherit;
  line-height: 1.35;
}

.page-section .wpcf7 textarea {
  min-height: 9.5rem;
  resize: vertical;
}

.page-section .wpcf7 input::placeholder,
.page-section .wpcf7 textarea::placeholder {
  color: #0e4c90;
  opacity: 1;
}

.page-section .wpcf7 input:hover,
.page-section .wpcf7 select:hover,
.page-section .wpcf7 textarea:hover {
  border-color: var(--swv-form-border);
}

.page-section .wpcf7 input:focus,
.page-section .wpcf7 input:focus-visible,
.page-section .wpcf7 select:focus,
.page-section .wpcf7 select:focus-visible,
.page-section .wpcf7 textarea:focus,
.page-section .wpcf7 textarea:focus-visible {
  border-color: var(--swv-form-brand);
  outline: 3px solid var(--swv-form-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(14, 76, 144, 0.16);
}

.page-section .wpcf7 input[aria-invalid="true"],
.page-section .wpcf7 select[aria-invalid="true"],
.page-section .wpcf7 textarea[aria-invalid="true"] {
  border-color: var(--swv-form-error);
  background: var(--swv-form-error-bg);
}

.page-section .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 0.4rem;
  color: var(--swv-form-error);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
}

.page-section .wpcf7 .wpcf7-submit {
  min-height: 2.8rem;
  min-width: 10rem;
  padding: 0.66rem 1.2rem;
  border: 2px solid var(--swv-form-brand);
  border-radius: 999px;
  background: var(--swv-form-brand);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.page-section .wpcf7 .wpcf7-submit:hover {
  background: var(--swv-form-brand-hover);
  border-color: var(--swv-form-brand-hover);
}

.page-section .wpcf7 .wpcf7-submit:focus,
.page-section .wpcf7 .wpcf7-submit:focus-visible {
  outline: 3px solid var(--swv-form-focus);
  outline-offset: 3px;
}

.page-section .wpcf7 .wpcf7-spinner {
  margin-left: 0.6rem;
}

.page-section .wpcf7 .wpcf7-response-output {
  margin: 0.25rem 0 0;
  padding: 0.85rem 1rem;
  border: 2px solid #0e4c90;
  border-radius: 0.62rem;
  background: #f8fafc;
  color: #0e4c90;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.4;
}

.page-section .wpcf7 form.sent .wpcf7-response-output {
  border-color: var(--swv-form-success-border);
  background: var(--swv-form-success-bg);
  color: #034e31;
}

.page-section .wpcf7 form.invalid .wpcf7-response-output,
.page-section .wpcf7 form.failed .wpcf7-response-output,
.page-section .wpcf7 form.aborted .wpcf7-response-output {
  border-color: var(--swv-form-error);
  background: var(--swv-form-error-bg);
  color: #7a271a;
}

/* The complaint form reads best with the final message field full width. */
.page-id-1900 .wpcf7 form > p:nth-child(6) {
  grid-column: 1 / -1;
}

@media (max-width: 860px) {
  .page-section .wpcf7 form {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .page-id-1900 .wpcf7 form > p:nth-child(6) {
    grid-column: 1;
  }
}

/* IT Help Desk form keeps Bootstrap-like wrappers inside CF7. */
.page-id-19524 .page-section .wpcf7 form {
  display: block;
}

.page-id-19524 .page-section .wpcf7 .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.page-id-19524 .page-section .wpcf7 .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0 0 1rem;
}

.page-id-19524 .page-section .wpcf7 .col-4,
.page-id-19524 .page-section .wpcf7 .col-6 {
  width: auto;
  max-width: none;
}

.page-id-19524 .page-section .wpcf7 .col-6 {
  grid-column: 1 / -1;
}

.page-id-19524 .page-section .wpcf7 .container > p {
  margin: 0.25rem 0 0;
}

.page-id-19524 .page-section .wpcf7 input#submit {
  width: auto;
  min-width: 11rem;
}

/* Accelerated Nursing inquiry: keep submit button from spanning full form width */
.page-id-29283 .page-section .wpcf7[data-wpcf7-id="28744"] input#submit,
.page-id-29283 .page-section .wpcf7[data-wpcf7-id="28744"] .wpcf7-submit {
  width: auto;
  min-width: 11rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: inline-block;
}

@media (max-width: 860px) {
  .page-id-19524 .page-section .wpcf7 .row {
    grid-template-columns: 1fr;
  }

  .page-id-19524 .page-section .wpcf7 .col-6 {
    grid-column: 1;
  }
}