.aruae-zaa-page {
  --zaa-line: var(--aruae-surface-line, rgba(255,255,255,.1));
}

.aruae-zaa-page .zaa-answer {
  max-width: 82ch;
  margin: 0;
  padding: clamp(1.4rem, 2.8vw, 2.25rem);
  border-left: 4px solid var(--aruae-ds-gold);
  background: var(--aruae-surface-panel, var(--aruae-ds-panel));
  color: var(--aruae-surface-copy, var(--aruae-ds-text));
  font-size: clamp(1.08rem, 1.45vw, 1.25rem);
  line-height: 1.7;
}

.aruae-zaa-page .zaa-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid var(--zaa-line);
  background: var(--zaa-line);
}

.aruae-zaa-page .zaa-card-grid > article {
  min-width: 0;
  padding: clamp(1.5rem, 2.7vw, 2.35rem);
  background: var(--aruae-surface-panel, var(--aruae-ds-panel));
  color: var(--aruae-surface-copy, var(--aruae-ds-text));
}

.aruae-zaa-page .zaa-card-grid > article > span,
.aruae-zaa-page .zaa-label {
  display: block;
  margin-bottom: .85rem;
  color: var(--aruae-surface-eyebrow, var(--aruae-ds-gold));
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.aruae-zaa-page .zaa-card-grid > article p {
  font-size: .95rem;
}

.aruae-zaa-page .zaa-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.aruae-zaa-page .zaa-sidecard {
  padding: clamp(1.6rem, 3vw, 2.7rem);
  border: 1px solid var(--zaa-line);
  background: var(--aruae-surface-panel, var(--aruae-ds-panel));
}

.aruae-zaa-page .zaa-sidecard ul {
  display: grid;
  gap: .75rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.aruae-zaa-page .zaa-sidecard li {
  padding-top: .75rem;
  border-top: 1px solid var(--zaa-line);
}

.aruae-zaa-page .zaa-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
  border-block: 1px solid var(--zaa-line);
}

.aruae-zaa-page .zaa-route > article {
  min-width: 0;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--zaa-line);
}

.aruae-zaa-page .zaa-route > article:last-child {
  border-right: 0;
}

.aruae-zaa-page .zaa-route strong {
  display: block;
  margin-bottom: .65rem;
}

.aruae-zaa-page .zaa-route p {
  font-size: .9rem;
}

.aruae-zaa-page .zaa-table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--zaa-line);
}

.aruae-zaa-page .zaa-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--aruae-surface-panel, var(--aruae-ds-panel));
}

.aruae-zaa-page .zaa-table th,
.aruae-zaa-page .zaa-table td {
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--zaa-line);
  border-bottom: 1px solid var(--zaa-line);
  text-align: left;
  vertical-align: top;
}

.aruae-zaa-page .zaa-table th:last-child,
.aruae-zaa-page .zaa-table td:last-child {
  border-right: 0;
}

.aruae-zaa-page .zaa-table th {
  background: var(--aruae-ds-ink);
  color: var(--aruae-ds-ivory) !important;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.aruae-zaa-page .zaa-table td {
  color: var(--aruae-surface-copy, var(--aruae-ds-text));
  font-size: .92rem;
}

/* The legacy theme applies pale zebra rows with high-specificity selectors.
   Keep these page-scoped decision tables in one explicit dark contrast context. */
.aruae-zaa-page .zaa-table tbody td,
.aruae-zaa-page .zaa-table tbody tr:nth-child(odd) td {
  background: var(--aruae-ds-panel, #131d33) !important;
  color: #c6cfdd !important;
}

.aruae-zaa-page .zaa-table tbody tr:nth-child(even) td {
  background: var(--aruae-ds-panel-hi, #18243d) !important;
}

.aruae-zaa-page .zaa-table tbody td:first-child {
  color: var(--aruae-ds-ivory, #f3f1ea) !important;
  font-weight: 500;
}

.aruae-zaa-page .zaa-table tbody tr:hover td {
  background: #1d2b48 !important;
  color: var(--aruae-ds-ivory, #f3f1ea) !important;
}

.aruae-zaa-page .zaa-stop {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 1.8rem;
  padding: 1.5rem;
  border: 1px solid rgba(192,57,43,.48);
  background: rgba(192,57,43,.08);
}

.aruae-zaa-page .zaa-stop > strong {
  color: var(--aruae-ds-alert-lt, #e2836f);
}

.aruae-zaa-page .zaa-media-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.aruae-zaa-page .zaa-media-pair figure {
  margin: 0;
  padding: .75rem;
  border: 1px solid var(--zaa-line);
  background: var(--aruae-surface-panel, var(--aruae-ds-panel));
}

.aruae-zaa-page .zaa-media-pair img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.aruae-zaa-page .zaa-media-pair figcaption {
  padding: .9rem .25rem .2rem;
  color: var(--aruae-surface-muted, var(--aruae-ds-text-dim));
  font-size: .83rem;
}

.aruae-zaa-page .aruae-ds-faq details {
  background: transparent;
}

.aruae-zaa-page .aruae-ds-surface--light .aruae-ds-faq {
  border-color: var(--zaa-line);
}

.aruae-zaa-page .aruae-ds-surface--light .aruae-ds-faq details {
  border-color: var(--zaa-line);
}

.aruae-zaa-page .aruae-ds-surface--light .aruae-ds-faq summary {
  color: var(--aruae-ds-ink);
}

.aruae-zaa-page .aruae-ds-surface--light .aruae-ds-faq-answer {
  color: #4a5668;
}

/* These two advisor posts already contain a controlled image inside the custom
   hero. Suppress only the theme-level duplicate featured image above it. */
body.postid-35765 #post-35765 > .post-inner > .post-thumbnail,
body.postid-35671 #post-35671 > .post-inner > .post-thumbnail {
  display: none !important;
}

/* The legacy single-post template adds a large social-share table after the
   article. Its labels and most icons no longer render, leaving an isolated
   email envelope inside an empty band. Remove that obsolete template footer
   only on the two advisor posts in this cluster. */
body.postid-35765 #post-35765 .entry-footer,
body.postid-35671 #post-35671 .entry-footer,
body.postid-35765 #post-35765 .social-share-block,
body.postid-35671 #post-35671 .social-share-block {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.aruae-zaa-donor {
  clear: both;
  padding: clamp(3.5rem, 7vw, 6rem) 1.25rem;
  border-block: 1px solid rgba(201,162,39,.28);
  background: #0a1120;
  color: #c6cfdd;
}

.aruae-zaa-donor__inner {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.aruae-zaa-donor__eyebrow {
  margin: 0 0 .85rem;
  color: #c9a227 !important;
  font-size: .72rem !important;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.aruae-zaa-donor h2 {
  margin: 0 0 1rem;
  color: #f3f1ea !important;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.aruae-zaa-donor p {
  max-width: 880px;
  color: #c6cfdd !important;
  font-size: 1rem;
  line-height: 1.75;
}

.aruae-zaa-donor a {
  color: #e3c874 !important;
  font-weight: 500;
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

.aruae-zaa-donor a:hover,
.aruae-zaa-donor a:focus-visible {
  color: #fff !important;
}

@media (max-width: 900px) {
  .aruae-zaa-page .zaa-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aruae-zaa-page .zaa-route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aruae-zaa-page .zaa-route > article:nth-child(2) { border-right: 0; }
  .aruae-zaa-page .zaa-route > article:nth-child(-n+2) { border-bottom: 1px solid var(--zaa-line); }
  .aruae-zaa-page .zaa-split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .aruae-zaa-page .zaa-card-grid,
  .aruae-zaa-page .zaa-route,
  .aruae-zaa-page .zaa-media-pair { grid-template-columns: 1fr; }
  .aruae-zaa-page .zaa-route > article { border-right: 0; border-bottom: 1px solid var(--zaa-line); }
  .aruae-zaa-page .zaa-route > article:last-child { border-bottom: 0; }
  .aruae-zaa-page .zaa-stop { grid-template-columns: 1fr; }
  .aruae-zaa-page .aruae-ds-actions { width: 100%; }
  .aruae-zaa-page .aruae-ds-btn { width: 100%; }
}
