.dom-senior-page-frame {
  --ds-paper: #f5f0e7;
  --ds-surface: #fffdf8;
  --ds-ink: #202521;
  --ds-soft: #5d625d;
  --ds-night: #1b2b25;
  --ds-night-soft: #2e4139;
  --ds-ivory: #fff9ee;
  --ds-accent: #bc9a61;
  --ds-accent-strong: #7c6235;
  --ds-line: rgba(32, 37, 33, 0.13);
  --ds-shadow: 0 22px 60px rgba(24, 34, 29, 0.11);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  color: var(--ds-ink);
  background: var(--ds-paper);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.dom-senior-page-frame,
.dom-senior-page-frame * {
  box-sizing: border-box;
  min-width: 0;
}

.page main:has(> .dom-senior-page-frame) {
  padding: 0;
  background: var(--ds-paper);
}

.ds-theme--home {
  --ds-night: #193029;
  --ds-night-soft: #314b41;
  --ds-accent: #c3a16b;
  --ds-accent-strong: #826638;
}

.ds-theme--senior {
  --ds-night: #30272c;
  --ds-night-soft: #4a3d44;
  --ds-accent: #c5a77a;
  --ds-accent-strong: #755d42;
}

.ds-page {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 72px)));
  margin: 0 auto;
  padding: 22px 0 92px;
  overflow-wrap: anywhere;
}

.ds-page img,
.ds-page figure,
.ds-page section,
.ds-page article,
.ds-page nav {
  max-width: 100%;
}

.ds-page a,
.ds-page button,
.ds-page summary {
  -webkit-tap-highlight-color: transparent;
}

.ds-page a:focus-visible,
.ds-page button:focus-visible,
.ds-page summary:focus-visible {
  outline: 3px solid var(--ds-accent-strong) !important;
  outline-offset: 4px !important;
}

.ds-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 4px 9px;
  margin: 0 0 18px;
  color: var(--ds-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
}

.ds-breadcrumbs a,
.ds-breadcrumbs [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.ds-breadcrumbs a {
  color: var(--ds-ink);
  text-decoration: underline;
  text-decoration-color: rgba(32, 37, 33, 0.3);
  text-underline-offset: 4px;
}

.ds-breadcrumbs a:hover {
  text-decoration-color: var(--ds-accent-strong);
}

.ds-breadcrumbs [aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ds-eyebrow,
.ds-topic,
.ds-short-answer__label,
.ds-important-label {
  margin: 0;
  color: var(--ds-accent-strong);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ds-hub-hero,
.ds-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(255, 249, 238, 0.09);
  border-radius: 3px 34px 3px 3px;
  background: var(--ds-night);
  box-shadow: var(--ds-shadow);
}

.ds-hub-hero {
  min-height: 540px;
}

.ds-hub-hero__copy,
.ds-article-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 82px);
}

.ds-hub-hero .ds-eyebrow,
.ds-article-hero .ds-eyebrow,
.ds-short-answer__label {
  color: var(--ds-accent);
}

.ds-hub-hero h1,
.ds-article-hero h1 {
  margin: 13px 0 22px;
  color: var(--ds-ivory);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.ds-hub-hero h1 {
  max-width: 700px;
  font-size: clamp(50px, 6.4vw, 82px);
}

.ds-hub-hero__lead {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 249, 238, 0.82);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.ds-hub-hero__count {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--ds-accent) 44%, transparent);
  color: var(--ds-ivory);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.55;
}

.ds-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.ds-jumps a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 249, 238, 0.28);
  color: var(--ds-ivory);
  font-size: 12px;
  font-weight: 720;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ds-jumps a:hover {
  border-color: var(--ds-accent);
  background: var(--ds-ivory);
  color: var(--ds-night);
}

.ds-hub-hero__media,
.ds-article-hero__media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #d8d0c2;
}

.ds-hub-hero__media::after,
.ds-article-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(24, 36, 31, 0.18), transparent 34%);
}

.ds-hub-hero__media img,
.ds-article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ds-catalog {
  margin-top: clamp(58px, 8vw, 104px);
  scroll-margin-top: 104px;
}

.ds-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ds-line);
}

.ds-section-heading h2,
.ds-related h2 {
  margin: 5px 0 0;
  color: var(--ds-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 600;
  line-height: 1;
}

.ds-section-heading > p {
  margin: 0;
  color: var(--ds-soft);
  font-size: 13px;
  font-weight: 650;
}

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

.ds-card {
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: 2px 22px 2px 2px;
  background: var(--ds-surface);
  box-shadow: 0 10px 28px rgba(29, 36, 31, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ds-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.ds-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd5c8;
}

.ds-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.ds-card__content {
  display: flex;
  min-height: 270px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 25px 22px;
}

.ds-card__title {
  margin: 9px 0 12px;
  color: var(--ds-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 2.4vw, 33px);
  font-weight: 650;
  line-height: 1.04;
}

.ds-card__description {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ds-soft);
  font-size: 14px;
  line-height: 1.62;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.ds-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--ds-accent-strong);
  font-size: 13px;
  font-weight: 760;
}

.ds-card:hover,
.ds-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--ds-shadow);
}

.ds-card:hover .ds-card__media img,
.ds-card:focus-within .ds-card__media img {
  transform: scale(1.035);
}

.ds-article-hero {
  min-height: 500px;
}

.ds-article-hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 5.6vw, 70px);
}

.ds-short-answer {
  max-width: 640px;
  margin-top: 8px;
  padding: 22px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--ds-accent) 45%, transparent);
}

.ds-short-answer > p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 249, 238, 0.84);
  font-size: 16px;
  line-height: 1.62;
}

.ds-reading-layout {
  display: grid;
  grid-template-columns: minmax(190px, 238px) minmax(0, 790px);
  justify-content: center;
  gap: clamp(42px, 7vw, 90px);
  margin-top: clamp(54px, 8vw, 94px);
}

.ds-reading-nav {
  align-self: start;
  position: sticky;
  top: 92px;
}

.ds-backlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--ds-ink);
  font-size: 13px;
  font-weight: 720;
  line-height: 1.45;
  text-decoration: none;
}

.ds-backlink:hover {
  color: var(--ds-accent-strong);
}

.ds-toc {
  margin-top: 20px;
  border-top: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
}

.ds-toc summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ds-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 760;
  list-style: none;
}

.ds-toc summary::-webkit-details-marker {
  display: none;
}

.ds-toc[open] summary span {
  transform: rotate(45deg);
}

.ds-toc ol {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.ds-toc li + li {
  margin-top: 9px;
}

.ds-toc a {
  display: block;
  padding-left: 15px;
  color: var(--ds-soft);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}

.ds-toc a:hover {
  color: var(--ds-accent-strong);
}

.ds-body {
  color: var(--ds-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.65vw, 20px);
  line-height: 1.78;
}

.ds-body > p:first-child {
  margin-top: 0;
  color: #333a35;
  font-size: 1.08em;
}

.ds-content-section {
  margin-top: 52px;
  padding-top: 42px;
  border-top: 1px solid var(--ds-line);
  scroll-margin-top: 96px;
}

.ds-body h2 {
  margin: 0 0 24px;
  color: var(--ds-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 4.3vw, 49px);
  font-weight: 620;
  line-height: 1.05;
  letter-spacing: -0.018em;
}

.ds-body h3 {
  margin: 34px 0 14px;
  color: var(--ds-ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 760;
  line-height: 1.35;
}

.ds-body p,
.ds-body ul,
.ds-body ol,
.ds-table-wrap {
  margin: 0 0 22px;
}

.ds-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--ds-line);
  border-radius: 2px 16px 2px 2px;
  background: var(--ds-surface);
  box-shadow: 0 8px 24px rgba(29, 36, 31, 0.045);
  -webkit-overflow-scrolling: touch;
}

.ds-table-wrap:focus-visible {
  outline: 3px solid var(--ds-accent-strong);
  outline-offset: 3px;
}

.ds-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-family: "Manrope", "Segoe UI", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

.ds-table-wrap th,
.ds-table-wrap td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--ds-line);
  text-align: left;
  vertical-align: top;
}

.ds-table-wrap th {
  color: var(--ds-ink);
  background: color-mix(in srgb, var(--ds-accent) 14%, var(--ds-surface));
  font-weight: 760;
}

.ds-table-wrap tbody tr:last-child td {
  border-bottom: 0;
}

.ds-body strong {
  color: #15231d;
  font-weight: 700;
}

.ds-body ul,
.ds-body ol {
  padding-left: 0;
  list-style: none;
  counter-reset: ds-ordered;
}

.ds-body li {
  position: relative;
  margin: 0 0 13px;
  padding-left: 35px;
}

.ds-body ul li::before {
  position: absolute;
  top: 0.74em;
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ds-accent-strong);
  content: "";
}

.ds-body ol li {
  counter-increment: ds-ordered;
}

.ds-body ol li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  color: var(--ds-accent-strong);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.78em;
  font-weight: 800;
  content: counter(ds-ordered, decimal-leading-zero);
}

.ds-content-section--important {
  margin-right: -24px;
  margin-left: -24px;
  padding: 34px 24px 12px;
  border: 1px solid color-mix(in srgb, var(--ds-accent) 54%, transparent);
  border-left: 5px solid var(--ds-accent-strong);
  background: color-mix(in srgb, var(--ds-accent) 11%, var(--ds-surface));
}

.ds-important-label {
  margin-bottom: 10px !important;
}

.ds-next-step {
  margin-top: 54px;
  padding: 29px 32px;
  border-radius: 2px 22px 2px 2px;
  color: var(--ds-ivory);
  background: var(--ds-night);
  box-shadow: var(--ds-shadow);
}

.ds-next-step .ds-eyebrow {
  color: var(--ds-accent);
}

.ds-next-step > p:last-child {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.6;
}

.ds-related {
  min-width: 0;
  max-width: 100%;
  margin-top: 72px;
  padding-top: 42px;
  border-top: 1px solid var(--ds-line);
}

.ds-related__grid {
  display: grid;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.ds-related__grid > a {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ds-line);
  border-radius: 2px 16px 2px 2px;
  color: var(--ds-ink);
  background: var(--ds-surface);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ds-related img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: var(--ds-paper);
}

.ds-related__grid > a > span {
  display: flex;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 17px;
}

.ds-related small,
.ds-related strong {
  display: block;
}

.ds-related small {
  margin-bottom: 8px;
  color: var(--ds-accent-strong);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ds-related strong {
  margin-bottom: 20px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.ds-related__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ds-ivory);
  background: var(--ds-night);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1;
}

.ds-related__grid > a:hover,
.ds-related__grid > a:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--ds-shadow);
}

.ds-related__grid > a:focus-visible {
  outline: 3px solid var(--ds-accent-strong);
  outline-offset: 3px;
}

.ds-back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 249, 238, 0.2);
  border-radius: 50%;
  color: var(--ds-ivory);
  background: var(--ds-night);
  box-shadow: var(--ds-shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.ds-back-to-top[hidden] {
  display: none;
}

.ds-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .ds-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .ds-hub-hero,
  .ds-article-hero {
    grid-template-columns: 1fr;
  }

  .ds-hub-hero__media,
  .ds-article-hero__media {
    min-height: 430px;
  }

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

  .ds-reading-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ds-reading-nav {
    position: static;
  }

  .ds-toc {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .ds-page {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .ds-breadcrumbs {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 2px;
  }

  .ds-breadcrumbs a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .ds-breadcrumbs [aria-current="page"] {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .ds-hub-hero,
  .ds-article-hero {
    border-radius: 2px 24px 2px 2px;
  }

  .ds-hub-hero__copy,
  .ds-article-hero__copy {
    padding: 28px 22px 32px;
  }

  .ds-hub-hero h1 {
    font-size: clamp(43px, 14vw, 62px);
  }

  .ds-article-hero h1 {
    font-size: clamp(35px, 10.5vw, 47px);
  }

  .ds-hub-hero__media,
  .ds-article-hero__media {
    min-height: 300px;
  }

  .ds-jumps {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ds-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .ds-grid {
    grid-template-columns: 1fr;
  }

  .ds-related {
    margin-top: 54px;
    padding-top: 32px;
  }

  .ds-related__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .ds-related__grid > a {
    min-height: 0;
  }

  .ds-related img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .ds-related__grid > a > span {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 18px;
  }

  .ds-related small {
    margin-bottom: 6px;
  }

  .ds-related strong {
    font-size: clamp(18px, 5.6vw, 22px);
    line-height: 1.12;
  }

  .ds-card__content {
    min-height: 0;
  }

  .ds-reading-layout {
    margin-top: 46px;
  }

  .ds-body {
    font-size: 18px;
    line-height: 1.72;
  }

  .ds-table-wrap {
    margin-right: -2px;
    margin-left: -2px;
  }

  .ds-table-wrap table {
    min-width: 540px;
    font-size: 14px;
  }

  .ds-table-wrap th,
  .ds-table-wrap td {
    padding: 13px 14px;
  }

  .ds-content-section {
    margin-top: 42px;
    padding-top: 34px;
  }

  .ds-content-section--important {
    margin-right: -10px;
    margin-left: -10px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .ds-next-step {
    padding: 25px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ds-page *,
  .ds-page *::before,
  .ds-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
