/*
 * ATAST visual refinement layer.
 * Refined editorial healthcare direction for header, homepage, team, resources,
 * patient preparation, hearing aids and mobile presentation.
 */

:root {
  --at-vr-navy: #071d2b;
  --at-vr-ink: #0b2a37;
  --at-vr-teal: #2f9e94;
  --at-vr-mint: #eaf7f4;
  --at-vr-paper: #fffdf9;
  --at-vr-cream: #f6f1e8;
  --at-vr-line: rgba(7, 29, 43, .14);
  --at-vr-muted: #61737b;
  --at-vr-shadow: 0 24px 70px rgba(7, 29, 43, .11);
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.at-menu-open { overflow: hidden; }

/* Premium editorial header */
.at-editorial-header {
  position: sticky;
  top: 0;
  z-index: 9996;
  width: 100%;
  font-family: "Source Sans 3", sans-serif;
  transition: box-shadow .25s ease;
}

.admin-bar .at-editorial-header { top: 32px; }
.at-editorial-header.is-scrolled { box-shadow: 0 14px 44px rgba(7,29,43,.12); }

.at-editorial-topbar {
  overflow: hidden;
  max-height: 42px;
  background: var(--at-vr-navy);
  color: rgba(255,255,255,.82);
  transition: max-height .25s ease, opacity .25s ease;
}
.at-editorial-header.is-scrolled .at-editorial-topbar { max-height: 0; opacity: 0; }

.at-editorial-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.at-editorial-topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .015em;
}
.at-editorial-topbar-info,
.at-editorial-topbar-contact { display: flex; align-items: center; gap: 18px; }
.at-editorial-topbar a { color: #fff; text-decoration: none; }
.at-editorial-topbar a:hover { color: #9be5dd; }
.at-editorial-dot { width: 4px; height: 4px; border-radius: 50%; background: #55c6bb; }

.at-editorial-main {
  background: rgba(255,253,249,.96);
  border-bottom: 1px solid rgba(7,29,43,.09);
  backdrop-filter: blur(18px);
}
.at-editorial-main-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: minmax(190px, 290px) 1fr auto;
  align-items: center;
  gap: 28px;
}

.at-editorial-brand .custom-logo-link { display: inline-flex; align-items: center; }
.at-editorial-brand .custom-logo {
  width: min(260px, 100%);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}
.at-editorial-brand-name {
  display: inline-block;
  color: var(--at-vr-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 650;
  line-height: 1.05;
  text-decoration: none;
}

.at-editorial-nav ul { margin: 0; padding: 0; list-style: none; }
.at-editorial-nav #menu-item-646,
.at-editorial-mobile-nav #menu-item-646 { display: none; }
.at-editorial-nav > div > ul { display: flex; align-items: center; justify-content: flex-end; gap: 5px; }
.at-editorial-nav li { position: relative; }
.at-editorial-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 999px;
  color: #173844;
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.at-editorial-nav > div > ul > li > a:hover,
.at-editorial-nav > div > ul > .current-menu-item > a,
.at-editorial-nav > div > ul > .current-menu-ancestor > a {
  color: var(--at-vr-navy);
  background: var(--at-vr-mint);
}
.at-editorial-nav .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.at-editorial-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 245px;
  padding: 10px;
  border: 1px solid var(--at-vr-line);
  border-radius: 16px;
  background: rgba(255,253,249,.99);
  box-shadow: var(--at-vr-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.at-editorial-nav li:hover > .sub-menu,
.at-editorial-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.at-editorial-nav .sub-menu a { width: 100%; min-height: 42px; border-radius: 10px; }

.at-editorial-actions { display: flex; align-items: center; gap: 10px; }
.at-editorial-action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  border: 1px solid rgba(7,29,43,.16);
  border-radius: 999px;
  color: var(--at-vr-ink);
  background: transparent;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.at-editorial-action svg { width: 18px; height: 18px; }
.at-editorial-action.is-primary {
  border-color: #55c6bb;
  background: #55c6bb;
  color: var(--at-vr-navy);
  box-shadow: 0 12px 28px rgba(47,158,148,.18);
}
.at-editorial-action:hover { transform: translateY(-1px); }

.at-editorial-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--at-vr-line);
  border-radius: 50%;
  background: #fff;
  align-items: center;
  justify-content: center;
}
.at-editorial-menu-toggle span,
.at-editorial-menu-toggle::before,
.at-editorial-menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--at-vr-navy);
  transition: transform .2s ease, opacity .2s ease;
}
.at-editorial-menu-toggle span { margin: 4px 0; }
.at-editorial-menu-toggle[aria-expanded="true"] span { opacity: 0; }
.at-editorial-menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.at-editorial-menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.at-editorial-mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 9997;
  padding: 96px 24px 32px;
  background: rgba(7,29,43,.98);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  overflow-y: auto;
}
.at-editorial-mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.at-editorial-mobile-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
}
.at-editorial-mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.at-editorial-mobile-nav > div > ul > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.at-editorial-mobile-nav a {
  display: block;
  padding: 16px 0;
  color: #fff;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  font-weight: 650;
  text-decoration: none;
}
.at-editorial-mobile-nav .sub-menu { padding: 0 0 12px 18px; }
.at-editorial-mobile-nav .sub-menu a { padding: 8px 0; color: rgba(255,255,255,.72); font-family: "Source Sans 3", sans-serif; font-size: 1rem; }
.at-editorial-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.at-editorial-mobile-actions a { min-height: 52px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 800; text-decoration: none; }
.at-editorial-mobile-actions a:first-child { background: #55c6bb; color: var(--at-vr-navy); }
.at-editorial-mobile-actions a:last-child { border: 1px solid rgba(255,255,255,.28); color: #fff; }

/* Homepage hierarchy and compression */
.at-home-hero { min-height: auto !important; }
.at-home-hero-grid { padding-top: clamp(62px, 7vw, 96px) !important; padding-bottom: clamp(62px, 7vw, 94px) !important; }
.at-home-hero h1 { max-width: 10.4ch !important; }
.at-home-trust-strip { border-top: 1px solid rgba(255,255,255,.1); }
.at-home-trust-grid > div { min-height: 78px !important; padding-block: 14px !important; }
.at-home-section { padding-block: clamp(58px, 6vw, 86px) !important; }
.at-home-credibility { background: linear-gradient(180deg, #fffdf9, #f8f4ec); }
.at-home-credibility-grid { gap: clamp(34px, 5vw, 72px) !important; }
.at-home-trust-list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 !important; border-top: 1px solid var(--at-vr-line); }
.at-home-trust-item { padding: 20px 16px 20px 0 !important; border-bottom: 1px solid var(--at-vr-line); background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.at-home-google-panel { border-radius: 22px !important; box-shadow: var(--at-vr-shadow) !important; }
.at-home-concerns {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 7% 14%, rgba(47,158,148,.16), transparent 24%),
    radial-gradient(circle at 92% 84%, rgba(77,120,168,.13), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f3f8f7 100%);
}
.at-home-concerns::before,
.at-home-concerns::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(47,158,148,.14);
  border-radius: 50%;
}
.at-home-concerns::before { width: 360px; height: 360px; left: -190px; top: 120px; }
.at-home-concerns::after { width: 520px; height: 520px; right: -280px; bottom: -250px; }
.at-home-concerns .at-home-container { position: relative; z-index: 1; }
.at-home-concerns .at-home-section-head > p {
  padding: 18px 20px;
  border-left: 3px solid var(--at-vr-teal);
  border-radius: 0 16px 16px 0;
  background: rgba(255,255,255,.7);
  box-shadow: 0 12px 32px rgba(7,29,43,.05);
}
.at-home-concern-grid {
  gap: 24px !important;
  border: 0 !important;
}
.at-home-concern-card {
  --concern-accent: #2f9e94;
  --concern-soft: #e7f6f3;
  position: relative;
  display: flex !important;
  min-height: 340px;
  flex-direction: column;
  overflow: hidden;
  padding: 36px !important;
  border: 1px solid color-mix(in srgb, var(--concern-accent) 25%, transparent) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 88% 10%, color-mix(in srgb, var(--concern-accent) 18%, transparent), transparent 30%),
    linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--concern-soft) 72%, #fff) 100%) !important;
  box-shadow: 0 18px 48px rgba(7,29,43,.08) !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}
.at-home-concern-hearing { --concern-accent: #168f91; --concern-soft: #e4f6f4; }
.at-home-concern-speech { --concern-accent: #4d78a8; --concern-soft: #edf3fa; }
.at-home-concern-apd { --concern-accent: #7b6ab0; --concern-soft: #f1eef8; }
.at-home-concern-vestibular { --concern-accent: #c98555; --concern-soft: #fbf0e8; }
.at-home-concern-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -92px;
  right: -70px;
  border: 1px solid color-mix(in srgb, var(--concern-accent) 28%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 24px color-mix(in srgb, var(--concern-accent) 5%, transparent);
  transition: transform .35s ease;
}
.at-home-concern-card::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 0;
  height: 5px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--concern-accent), color-mix(in srgb, var(--concern-accent) 35%, transparent));
  transform: scaleX(.38);
  transform-origin: left;
  transition: transform .28s ease;
}
.at-home-concern-card:hover {
  transform: translateY(-8px) !important;
  border-color: color-mix(in srgb, var(--concern-accent) 48%, transparent) !important;
  box-shadow: 0 28px 70px rgba(7,29,43,.14) !important;
}
.at-home-concern-card:hover::before { transform: scale(1.12) translate(-8px, 8px); }
.at-home-concern-card:hover::after { transform: scaleX(1); }
.at-home-concern-card .at-home-icon {
  width: 64px;
  height: 64px;
  border: 0 !important;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--concern-accent), color-mix(in srgb, var(--concern-accent) 72%, #071d2b)) !important;
  color: #fff !important;
  font-size: 1.38rem;
  box-shadow: 0 14px 30px color-mix(in srgb, var(--concern-accent) 25%, transparent);
}
.at-home-card-number {
  top: 22px !important;
  right: 28px !important;
  color: var(--concern-accent) !important;
  font-family: "Fraunces", Georgia, serif;
  font-size: 3.35rem !important;
  font-weight: 700 !important;
  line-height: 1;
  letter-spacing: -.05em !important;
  opacity: .16;
}
.at-home-concern-card h3 { margin-top: 38px !important; max-width: 18ch; }
.at-home-concern-card p { color: #536b75; }
.at-home-concern-card .at-home-card-link {
  align-self: flex-start;
  margin-top: auto !important;
  padding: 10px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--concern-accent) 10%, #fff);
  color: var(--concern-accent) !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.at-home-concern-card:hover .at-home-card-link {
  background: var(--concern-accent);
  color: #fff !important;
  transform: translateX(3px);
}
.at-home-not-sure { display: none !important; }
.at-finder-section { padding-top: 0 !important; background: #fff !important; }
.at-finder-shell {
  max-width: 1160px;
  margin-inline: auto;
  border: 0 !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 90% 10%, rgba(85,198,187,.17), transparent 26%),
    var(--at-vr-navy) !important;
  color: #fff;
  box-shadow: var(--at-vr-shadow) !important;
}
.at-finder-intro :is(h2,p), .at-finder-intro strong { color: #fff !important; }
.at-finder-kicker { color: #9be5dd !important; }
.at-finder-disclaimer { border-color: rgba(255,255,255,.16) !important; background: rgba(255,255,255,.07) !important; color: rgba(255,255,255,.78) !important; }
.at-finder-workspace { background: #fffdf9 !important; }
.at-home-integrated { padding-bottom: 40px !important; }
.at-home-journey { padding-top: 32px !important; background: linear-gradient(180deg, #fff, #f8f4ec); }
.at-home-journey-grid > div { border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--at-vr-line) !important; box-shadow: none !important; background: transparent !important; }
.at-home-team-preview { background: var(--at-vr-paper); }
.at-home-team-placeholder {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 80% 15%, rgba(85,198,187,.25), transparent 26%),
    linear-gradient(140deg, #0b2a37, #123f4c) !important;
  color: #fff;
}
.at-home-team-placeholder strong,
.at-home-team-placeholder p { color: #fff !important; }
.at-home-team-initials { gap: 10px !important; }
.at-home-team-initials span {
  width: 78px !important;
  height: 78px !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.35rem !important;
}
.at-home-team-initials span:first-child { width: 120px !important; height: 120px !important; background: #55c6bb !important; color: var(--at-vr-navy) !important; }
.at-home-patient-info { padding-top: 58px !important; }
.at-home-info-grid { gap: 0 !important; border-top: 1px solid var(--at-vr-line); border-bottom: 1px solid var(--at-vr-line); }
.at-home-info-grid > div { padding: 28px 22px !important; border: 0 !important; border-right: 1px solid var(--at-vr-line) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.at-home-info-grid > div:last-child { border-right: 0 !important; }
.at-home-prep-cta { margin-top: 34px !important; border-radius: 22px !important; }

/* About page: lead profile plus supporting editorial roster */
.teamx-cards { grid-template-columns: repeat(12, 1fr) !important; gap: 18px !important; }
.teamx-card { grid-column: span 4; border-radius: 18px !important; padding: 24px !important; box-shadow: none !important; }
.teamx-card:first-child {
  grid-column: span 7;
  grid-row: span 2;
  padding: clamp(30px, 4vw, 48px) !important;
  background: linear-gradient(145deg, var(--at-vr-navy), #123f4c) !important;
  color: #fff;
}
.teamx-card:nth-child(2) { grid-column: span 5; }
.teamx-card:first-child :is(h3,p), .teamx-card:first-child .teamx-role { color: #fff !important; }
.teamx-card:first-child .teamx-initial { min-height: 270px; background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.14); }
.teamx-card:first-child .teamx-initial span { color: #9be5dd !important; font-size: clamp(5rem, 11vw, 9rem) !important; }
.teamx-card:not(:first-child) .teamx-initial { height: 160px !important; border-radius: 14px !important; }
.teamx-card:not(:first-child) .teamx-initial span { font-size: 3.4rem !important; }
.teamx-card .teamx-tags { margin-top: 18px !important; }
.teamx-card .teamx-tags span { border: 1px solid rgba(47,158,148,.18); background: transparent !important; }
.teamx-read { align-self: flex-start; border-radius: 999px !important; }
.teamx-paths { grid-template-columns: repeat(2, 1fr) !important; gap: 0 !important; border-top: 1px solid var(--at-vr-line); }
.teamx-path { border: 0 !important; border-bottom: 1px solid var(--at-vr-line) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.teamx-path:nth-child(odd) { border-right: 1px solid var(--at-vr-line) !important; }
.teamx-path:last-child { grid-column: 1 / -1; border-right: 0 !important; }

/* Hearing aids: four-chapter editorial flow */
.ha4-retailer-wrap { background: linear-gradient(180deg, #f7f3eb, #fff) !important; }
.ha4-brand-grid { gap: 0 !important; border: 1px solid var(--at-vr-line); border-radius: 18px; overflow: hidden; }
.ha4-brand { min-height: 100px !important; border: 0 !important; border-right: 1px solid var(--at-vr-line) !important; border-radius: 0 !important; box-shadow: none !important; }
.ha4-brand:last-child { border-right: 0 !important; }
.ha4-family { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
.ha4-device { display: grid !important; grid-template-columns: .86fr 1.14fr; align-items: center; border-radius: 18px !important; box-shadow: none !important; }
.ha4-device img { height: 270px !important; }
.ha4-path { gap: 0 !important; border-top: 1px solid var(--at-vr-line); border-bottom: 1px solid var(--at-vr-line); }
.ha4-card { min-height: 220px; border: 0 !important; border-right: 1px solid var(--at-vr-line) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.ha4-card:last-child { border-right: 0 !important; }
.ha4-dark { margin-block: 68px !important; padding-block: 82px !important; background: radial-gradient(circle at 88% 15%, rgba(85,198,187,.2), transparent 28%), var(--at-vr-navy) !important; }
.ha4-dark .ha4-feature { border-color: rgba(255,255,255,.14) !important; background: rgba(255,255,255,.07) !important; color: #fff; box-shadow: none !important; }
.ha4-dark .ha4-feature strong { color: #fff !important; }
.ha4-timeline { position: relative; gap: 0 !important; border-top: 1px solid var(--at-vr-line); }
.ha4-step { border: 0 !important; border-right: 1px solid var(--at-vr-line) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.ha4-step:last-child { border-right: 0 !important; }
.ha4-faqs { gap: 0 !important; border-top: 1px solid var(--at-vr-line); }
.ha4-faq { border: 0 !important; border-bottom: 1px solid var(--at-vr-line) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.at-ha-guide { border-radius: 26px !important; box-shadow: var(--at-vr-shadow) !important; }

/* Resource hub: compact filters and consistent imagery */
.at-resources-tools {
  display: grid !important;
  grid-template-columns: minmax(260px, .8fr) 1.4fr auto;
  align-items: end;
  gap: 18px !important;
  padding: 22px !important;
  border-radius: 18px !important;
}
.at-resources-filter-controls { display: grid; gap: 8px !important; }
.at-resources-filter-label { display: none !important; }
.at-resources-filter-group { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.at-resource-filter { white-space: nowrap; }
.at-resources-featured-image img,
.at-resources-article-image img { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center !important; }
.at-resources-featured-image { aspect-ratio: 4 / 3; }
.at-resources-article-image { aspect-ratio: 16 / 10; }
.at-resources-article-card { box-shadow: none !important; }

/* Patient preparation centre: sticky navigation and native accordions */
.at-prep-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}
.at-prep-sidebar {
  position: sticky;
  top: 118px;
  padding: 22px;
  border: 1px solid var(--at-vr-line);
  border-radius: 18px;
  background: #fff;
}
.at-prep-sidebar strong { display: block; margin-bottom: 12px; color: var(--at-vr-ink); font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; }
.at-prep-sidebar a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(7,29,43,.08); color: #38515b; font-weight: 700; text-decoration: none; }
.at-prep-sidebar a:hover { color: var(--at-vr-teal); }
.at-prep-sidebar .at-prep-button { width: 100%; margin-top: 18px; }
.at-prep-content-stack { display: grid; gap: 36px; }
.at-prep-editorial-section { scroll-margin-top: 130px; }
.at-prep-editorial-section > header { margin-bottom: 20px; }
.at-prep-editorial-section > header h2 { max-width: 18ch; margin: 8px 0 12px; }
.at-prep-accordion-group { border-top: 1px solid var(--at-vr-line); }
.at-prep-accordion {
  border-bottom: 1px solid var(--at-vr-line);
  background: transparent;
}
.at-prep-accordion summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 48px 22px 0;
  color: var(--at-vr-ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}
.at-prep-accordion summary::-webkit-details-marker { display: none; }
.at-prep-accordion summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--at-vr-line);
  border-radius: 50%;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.35rem;
}
.at-prep-accordion[open] summary::after { content: "−"; background: var(--at-vr-mint); }
.at-prep-accordion-body { padding: 0 46px 26px 0; }
.at-prep-accordion-body p { margin: 0 0 14px; color: var(--at-vr-muted); }
.at-prep-accordion-body ul { margin: 0; padding-left: 22px; color: #38515b; }
.at-prep-accordion-body li { margin: 8px 0; }
.at-prep-checklist { grid-template-columns: repeat(2, 1fr) !important; }
.at-prep-alert { border-radius: 16px !important; }

/* Service-page consistency */
:is(.audx,.stx,.vstx,.apdx,.hvx,.ha4,.phshow,.otx,.skx,.sgx,.ewx) :is([class$="-image"],[class$="-img"],[class$="-photo"]) {
  border-radius: 18px !important;
}
:is(.audx,.stx,.vstx,.apdx,.hvx,.ha4,.phshow,.otx,.skx,.sgx,.ewx) :is([class$="-image"],[class$="-img"],[class$="-photo"]) img {
  border-radius: 12px !important;
}
:is(.audx,.stx,.vstx,.apdx,.hvx,.ha4,.phshow,.otx,.skx,.sgx,.ewx) :is(.audx-section,.stx-section,.vstx-section,.apdx-section,.hvx-section,.ha4-section,.phshow-section,.otx-section,.skx-section,.sgx-section,.ewx-section) {
  border-top: 1px solid rgba(7,29,43,.07);
}

/* Controlled motion */
@media (prefers-reduced-motion: no-preference) {
  .at-home-hero-copy > *,
  .at-home-hero-visual { animation: at-vr-rise .65s both; }
  .at-home-hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .at-home-hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .at-home-hero-copy > *:nth-child(4) { animation-delay: .2s; }
  .at-home-hero-visual { animation-delay: .12s; }
}
@keyframes at-vr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1180px) {
  .at-editorial-main-inner { grid-template-columns: minmax(180px, 240px) 1fr auto; gap: 16px; }
  .at-editorial-nav a { padding-inline: 9px; font-size: .88rem; }
  .at-editorial-action.is-secondary { display: none; }
}

@media (max-width: 991px) {
  .admin-bar .at-editorial-header { top: 46px; }
  .at-editorial-topbar { display: none; }
  .at-editorial-main-inner { min-height: 74px; grid-template-columns: 1fr auto; }
  .at-editorial-brand .custom-logo { max-height: 48px; width: min(240px, 72vw); }
  .at-editorial-nav, .at-editorial-actions { display: none; }
  .at-editorial-menu-toggle { display: flex; flex-direction: column; }
  .at-home-trust-list { grid-template-columns: 1fr; }
  .at-home-trust-grid {
    grid-template-columns: repeat(5, minmax(220px, 1fr)) !important;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .at-home-trust-grid::-webkit-scrollbar { display: none; }
  .at-home-trust-service { scroll-snap-align: start; }
  .at-home-concern-grid { grid-template-columns: 1fr 1fr !important; }
  .at-home-concern-card { min-height: 320px; }
  .teamx-card, .teamx-card:first-child, .teamx-card:nth-child(2) { grid-column: span 6; grid-row: auto; }
  .teamx-card:first-child { grid-column: 1 / -1; }
  .ha4-family { grid-template-columns: 1fr !important; }
  .at-resources-tools { grid-template-columns: 1fr !important; align-items: stretch; }
  .at-prep-layout { grid-template-columns: 1fr; }
  .at-prep-sidebar { position: static; display: none; }
}

@media (max-width: 767px) {
  .at-editorial-shell { width: min(100% - 28px, 1240px); }
  .at-home-hero h1 { font-size: clamp(3rem, 14vw, 4.35rem) !important; }
  .at-home-concern-grid { grid-template-columns: 1fr !important; }
  .at-home-concern-card { min-height: 300px; padding: 28px !important; }
  .at-home-concern-card::after { left: 28px; right: 28px; }
  .at-home-card-number { top: 18px !important; right: 22px !important; font-size: 2.8rem !important; }
  .at-home-concern-card .at-home-icon { width: 56px; height: 56px; }
  .at-home-concerns .at-home-section-head > p { padding: 16px 18px; }
  .at-home-info-grid { grid-template-columns: 1fr 1fr !important; }
  .at-home-info-grid > div:nth-child(2) { border-right: 0 !important; }
  .at-home-info-grid > div { border-bottom: 1px solid var(--at-vr-line) !important; }
  .teamx-card, .teamx-card:first-child, .teamx-card:nth-child(2) { grid-column: 1 / -1; }
  .teamx-paths { grid-template-columns: 1fr !important; }
  .teamx-path { border-right: 0 !important; }
  .ha4-device { grid-template-columns: 1fr !important; }
  .ha4-brand-grid { grid-template-columns: 1fr 1fr !important; }
  .ha4-brand:nth-child(2) { border-right: 0 !important; }
  .ha4-brand { border-bottom: 1px solid var(--at-vr-line) !important; }
  .ha4-path, .ha4-timeline { grid-template-columns: 1fr !important; }
  .ha4-card, .ha4-step { border-right: 0 !important; border-bottom: 1px solid var(--at-vr-line) !important; }
  .at-prep-checklist { grid-template-columns: 1fr !important; }
  .at-prep-accordion summary { padding-right: 46px; }
  .at-prep-accordion-body { padding-right: 0; }
  .at-resources-filter-group { margin-inline: -4px; padding-inline: 4px; }
  .at-mobile-action-bar { z-index: 9994 !important; }
  .ht-ctc-chat { bottom: 86px !important; }
  #tawkchat-container, iframe[title*="chat" i] { bottom: 82px !important; }
}

@media (max-width: 480px) {
  .at-editorial-mobile-actions { grid-template-columns: 1fr; }
  .at-home-info-grid { grid-template-columns: 1fr !important; }
  .at-home-info-grid > div { border-right: 0 !important; }
}

/* Brand-card contrast protection.
 * Dark editorial bands may contain light product cards. Keep the surrounding
 * section copy light, while restoring readable dark text inside those cards.
 */
.phshow-band .phshow-product {
  color: var(--at-vr-ink) !important;
}
.phshow-band .phshow-product h3,
.otx-family-wrap .otx-family h3,
.skx-family-wrap .skx-family h3,
.sgx-family h3 {
  color: var(--at-vr-ink) !important;
}
.phshow-band .phshow-product p,
.phshow-band .phshow-product .phshow-text,
.otx-family-wrap .otx-family p,
.otx-family-wrap .otx-family .otx-text,
.skx-family-wrap .skx-family p,
.skx-family-wrap .skx-family .skx-text,
.sgx-family p,
.sgx-family .sgx-text {
  color: var(--at-vr-muted) !important;
}
.phshow-band .phshow-product strong,
.otx-family-wrap .otx-family strong,
.skx-family-wrap .skx-family strong,
.sgx-family strong {
  opacity: 1 !important;
}

@media print {
  .at-editorial-header, .at-site-footer, .at-mobile-action-bar, .at-prep-sidebar, .at-prep-actions { display: none !important; }
  .at-prep-accordion[open] .at-prep-accordion-body { display: block !important; }
  .at-prep-accordion { break-inside: avoid; }
}
