:root {
  --article-black: #050506;
  --article-panel: rgba(13, 14, 16, .9);
  --article-panel-soft: rgba(255, 255, 255, .025);
  --article-line: rgba(239, 231, 220, .14);
  --article-line-soft: rgba(239, 231, 220, .08);
  --article-cream: #efe7dc;
  --article-muted: #c2b5a7;
  --article-faint: #958879;
  --article-pink: #df7e9e;
  --article-gold: #b0875c;
  --article-ui: var(--tr-font-body);
  --article-display: var(--tr-font-display);
  --article-brand: var(--tr-font-display);
}

body {
  background:
    radial-gradient(70% 46% at 88% -8%, rgba(223, 126, 158, .15), transparent 62%),
    radial-gradient(44% 38% at 4% 38%, rgba(176, 135, 92, .06), transparent 70%),
    var(--article-black);
  color: var(--article-cream);
  font-family: var(--article-ui);
  font-size: var(--tr-body-size);
  line-height: 1.6;
  overflow-x: hidden;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
}

.atlas-nav {
  min-height: 96px;
  padding: 16px 0;
  gap: 28px;
}

.atlas-brand {
  position: relative;
  flex: 0 1 auto;
  gap: 16px;
  min-width: 0;
  isolation: isolate;
}

.atlas-brand::before,
.atlas-brand::after,
.atlas-brand > img {
  display: none !important;
  content: none !important;
}

.atlas-brand .mono {
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
}

.atlas-brand .brand-text {
  display: block;
  min-width: 0;
}

.atlas-brand .wordmark {
  display: block;
  color: var(--article-cream);
  font-family: var(--article-brand);
  font-size: 25px;
  font-weight: 600;
  line-height: .82;
  letter-spacing: .16em;
  white-space: nowrap;
}

.atlas-brand .est {
  display: block;
  margin-top: 7px;
  color: var(--article-faint);
  font-family: var(--article-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .34em;
  line-height: 1.2;
  white-space: nowrap;
}

.atlas-tools {
  justify-content: flex-end;
  min-width: 0;
}

.atlas-tools a {
  min-height: 44px;
  padding: 9px 14px;
  border-color: var(--article-line-soft);
  background: rgba(255, 255, 255, .018);
  color: var(--article-muted);
  font-family: var(--article-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.atlas-tools a:hover,
.atlas-tools a:focus-visible {
  border-color: rgba(223, 126, 158, .6);
  color: var(--article-cream);
}

.atlas-tools a[aria-current] {
  background: linear-gradient(180deg, #f6a4bd, #e07a9d);
  border-color: transparent;
  color: #1a0d12;
}

.atlas-hero {
  padding: clamp(58px, 7vw, 86px) 0 58px;
  border-color: var(--article-line);
  background:
    linear-gradient(108deg, rgba(176, 135, 92, .05), transparent 42%),
    radial-gradient(45% 100% at 100% 0%, rgba(223, 126, 158, .08), transparent 72%);
}

.kicker {
  display: block;
  max-width: 100%;
  color: var(--article-pink);
  font-family: var(--article-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.45;
  overflow-wrap: normal;
  text-wrap: balance;
  text-transform: uppercase;
  word-break: normal;
}

.atlas-hero h1 {
  max-width: 920px;
  margin: 17px 0 18px;
  color: var(--article-cream);
  font-family: var(--article-display);
  font-size: clamp(44px, 6.5vw, 78px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.atlas-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--article-muted);
  font-family: var(--article-ui);
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.65;
}

.atlas-meta {
  gap: 10px 22px;
  margin-top: 25px;
  color: var(--article-faint);
  font-family: var(--article-ui);
  font-size: 12px;
  line-height: 1.4;
}

.atlas-meta span {
  color: var(--article-muted);
}

.atlas-article {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  align-items: start;
  gap: clamp(38px, 6vw, 76px);
  padding: 58px 0 78px;
}

.atlas-copy {
  min-width: 0;
  max-width: 760px;
}

.atlas-copy h2 {
  margin: 46px 0 15px;
  color: var(--article-cream);
  font-family: var(--article-display);
  font-size: clamp(31px, 3.4vw, 43px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.atlas-copy h2:first-child {
  margin-top: 0;
}

.atlas-copy p,
.atlas-callout {
  max-width: 68ch;
  color: #d8ccbe;
  font-family: var(--article-ui);
  font-size: clamp(17px, 1.15vw, 18px);
  line-height: 1.78;
}

.atlas-copy p {
  margin: 0 0 21px;
}

.atlas-copy strong,
.atlas-callout strong {
  color: var(--article-cream);
  font-weight: 700;
}

.atlas-callout {
  margin: 32px 0;
  padding: 19px 22px;
  border: 1px solid var(--article-line-soft);
  border-left: 3px solid var(--article-pink);
  background:
    linear-gradient(100deg, rgba(223, 126, 158, .09), transparent 78%),
    var(--article-panel);
  overflow-wrap: anywhere;
}

.atlas-aside {
  position: sticky;
  top: 22px;
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
  padding: 21px;
  border: 1px solid var(--article-line);
  border-radius: 16px;
  background:
    linear-gradient(150deg, rgba(223, 126, 158, .08), transparent 48%),
    var(--article-panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .2);
}

.atlas-aside > * {
  min-width: 0;
}

.atlas-aside > .kicker {
  margin: 0 0 13px;
  font-size: 13px;
  letter-spacing: .13em;
  line-height: 1.45;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.atlas-aside > strong {
  display: block;
  margin: 0;
  color: var(--article-cream);
  font-family: var(--article-display);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.13;
  text-wrap: balance;
}

.atlas-aside > p {
  margin: 12px 0 9px;
  color: var(--article-muted);
  font-family: var(--article-ui);
  font-size: 15px;
  line-height: 1.6;
}

.atlas-aside > a {
  display: flex;
  align-items: flex-start;
  min-height: 44px;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--article-line-soft);
  color: var(--article-pink);
  font-family: var(--article-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.38;
  overflow-wrap: anywhere;
  text-decoration: none;
  white-space: normal;
}

.atlas-aside > a:hover,
.atlas-aside > a:focus-visible {
  color: var(--article-cream);
}

.atlas-foot {
  padding: 28px 0 42px;
  border-top-color: var(--article-line);
  color: var(--article-faint);
  font-family: var(--article-ui);
  font-size: 12px;
  line-height: 1.5;
}

.atlas-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 9px;
}

.atlas-foot a:hover,
.atlas-foot a:focus-visible {
  color: var(--article-cream);
}

@media (max-width: 980px) {
  .atlas-nav {
    align-items: flex-start;
  }

  .atlas-tools {
    padding-top: 4px;
  }
}

@media (max-width: 780px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .atlas-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    padding: 18px 0 20px;
  }

  .atlas-tools {
    justify-content: flex-start;
    padding-top: 0;
  }

  .atlas-tools a {
    flex: 0 1 auto;
    min-height: 46px;
  }

  .atlas-hero {
    padding: 50px 0 45px;
  }

  .atlas-hero h1 {
    font-size: clamp(42px, 11vw, 58px);
  }

  .atlas-article {
    grid-template-columns: 1fr;
    gap: 29px;
    padding: 43px 0 60px;
  }

  .atlas-aside {
    position: static;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .atlas-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atlas-tools a:last-child {
    grid-column: 1 / -1;
  }

  .atlas-callout {
    padding: 17px 18px;
  }
}

/* Keep the article on the shared type roles and keep the action rail inside
   its track, including long localized link labels and visible focus rings. */
body,
button,
input,
textarea,
select {
  font-family: var(--tr-font-body, var(--article-ui));
}

.atlas-hero h1,
.atlas-copy h2,
.atlas-aside > strong,
.article-steps li::before {
  font-family: var(--tr-font-display, var(--article-display));
}

@media (min-width: 1041px) {
  .atlas-article {
    grid-template-columns: minmax(0, var(--article-measure)) minmax(0, var(--article-rail));
    justify-content: center;
  }
}

.atlas-article > .atlas-copy,
.atlas-article > .atlas-aside {
  min-width: 0;
}

.atlas-article > .atlas-aside {
  align-self: start;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  min-inline-size: 0;
  box-sizing: border-box;
  overflow: visible;
}

.atlas-aside > .kicker,
.atlas-aside > strong,
.atlas-aside > p,
.atlas-aside > a {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.atlas-aside > a {
  align-items: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Final article finish: the complete identity stays visible; the reading rail
   supports the page without becoming a second, competing article. */
:root {
  --article-measure: 70ch;
  --article-rail: 272px;
  --article-gap: clamp(36px, 5.5vw, 76px);
}

body,
button,
input,
textarea,
select {
  font-family: var(--article-ui);
}

.atlas-brand::before,
.atlas-brand::after {
  display: none !important;
  content: none !important;
}

.atlas-brand > img,
.atlas-brand .mono {
  display: block !important;
  width: 74px;
  height: 74px;
  flex: 0 0 74px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(223, 126, 158, .34));
  mix-blend-mode: screen;
}

.atlas-nav {
  align-items: center;
  min-width: 0;
}

.atlas-brand,
.atlas-brand .brand-text {
  min-width: 0;
}

.atlas-tools {
  min-width: 0;
  justify-content: flex-end;
}

.atlas-tools a {
  min-height: 44px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.atlas-hero h1,
.atlas-copy h2,
.atlas-aside > strong {
  text-wrap: balance;
}

.atlas-hero p,
.atlas-copy p,
.atlas-callout,
.atlas-aside > p {
  text-wrap: pretty;
}

.atlas-article {
  grid-template-columns: minmax(0, 1fr) minmax(240px, var(--article-rail));
  column-gap: var(--article-gap);
  align-items: start;
}

.atlas-copy {
  width: 100%;
  max-width: var(--article-measure);
}

.atlas-copy p,
.atlas-callout {
  max-width: var(--article-measure);
}

.atlas-copy h2 {
  margin-block: clamp(42px, 5vw, 58px) 16px;
}

.atlas-copy h2:first-child {
  margin-top: 0;
}

.atlas-copy figure {
  margin: 30px 0;
}

.atlas-copy figure img {
  display: block;
  width: auto;
  max-height: 560px;
  margin-inline: auto;
  border-radius: 14px;
}

.atlas-aside {
  width: 100%;
  max-width: var(--article-rail);
  box-sizing: border-box;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .2);
}

.atlas-aside > .kicker {
  margin-bottom: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.atlas-aside > strong {
  display: block;
  margin: 0;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.14;
}

.atlas-aside > p {
  margin: 13px 0 11px;
  font-size: 15px;
  line-height: 1.62;
}

.atlas-aside > a {
  display: flex;
  min-height: 46px;
  align-items: center;
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--article-line-soft);
  line-height: 1.38;
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .atlas-nav {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .atlas-tools {
    width: 100%;
    justify-content: flex-start;
  }

  .atlas-article {
    grid-template-columns: minmax(0, 1fr) minmax(220px, var(--article-rail));
    column-gap: 30px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .atlas-brand > img,
  .atlas-brand .mono {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .atlas-nav {
    gap: 17px;
  }

  .atlas-tools {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .atlas-tools a {
    min-height: 46px;
  }

  .atlas-article {
    grid-template-columns: 1fr;
    row-gap: 32px;
    padding-block: 44px 62px;
  }

  .atlas-aside {
    position: static;
    max-width: none;
  }
}

@media (max-width: 520px) {
  .atlas-tools a:last-child {
    grid-column: 1 / -1;
  }

  .atlas-copy p,
  .atlas-callout {
    font-size: 17px;
    line-height: 1.72;
  }
}

/* Wave 7 practical-article finish: one visible lockup, one reading column and
   one action rail across EN, PL and ES. The rail is guidance, not a second
   stream of editorial copy. */
.atlas-brand > span {
  display: block;
  min-width: 0;
}

.atlas-brand strong {
  display: block;
  max-width: 15ch;
  overflow-wrap: normal;
}

.atlas-brand small {
  display: block;
  max-width: 28ch;
  overflow-wrap: normal;
}

.atlas-nav {
  align-items: center;
}

.atlas-article > .atlas-copy,
.atlas-article > .atlas-aside {
  align-self: start;
  min-width: 0;
}

.atlas-article > .atlas-aside {
  display: grid;
  align-content: start;
  gap: 0;
  height: max-content;
  justify-self: stretch;
  place-self: start stretch;
}

.atlas-article > .atlas-aside > a {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 46px;
  overflow-wrap: anywhere;
  justify-self: stretch;
  text-align: left;
}

.atlas-article > .atlas-aside > a:first-of-type {
  margin-top: 3px;
}

@media (max-width: 1040px) and (min-width: 761px) {
  .atlas-article {
    column-gap: 34px;
  }

  .atlas-aside {
    max-width: 250px;
  }
}

@media (max-width: 760px) {
  .atlas-nav {
    align-items: stretch;
  }

  .atlas-brand {
    align-self: flex-start;
  }

  .atlas-article > .atlas-aside {
    width: 100%;
    max-width: none;
  }
}

/* Practical reading elements shared by the five EN/PL/ES patient guides. */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  max-width: calc(100vw - 24px);
  padding: 12px 16px;
  border: 1px solid var(--article-pink);
  border-radius: 8px;
  background: var(--article-cream);
  color: #1a0d12;
  font-family: var(--article-ui);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

#mainContent:focus {
  outline: none;
}

.article-checklist,
.article-steps {
  max-width: var(--article-measure);
  margin: 22px 0 28px;
  padding: 0;
  color: #d8ccbe;
  font-family: var(--article-ui);
  font-size: clamp(16px, 1.08vw, 18px);
  line-height: 1.68;
  list-style: none;
}

.article-checklist li,
.article-steps li {
  position: relative;
  margin: 0;
  padding: 14px 0 14px 42px;
  border-top: 1px solid var(--article-line-soft);
}

.article-checklist li:last-child,
.article-steps li:last-child {
  border-bottom: 1px solid var(--article-line-soft);
}

.article-checklist li::before {
  position: absolute;
  top: 15px;
  left: 5px;
  width: 23px;
  height: 23px;
  border: 1px solid rgba(223, 126, 158, .48);
  border-radius: 50%;
  color: var(--article-pink);
  content: "✓";
  font-size: 13px;
  font-weight: 800;
  line-height: 21px;
  text-align: center;
}

.article-steps {
  counter-reset: article-step;
}

.article-steps li {
  counter-increment: article-step;
}

.article-steps li::before {
  position: absolute;
  top: 14px;
  left: 2px;
  color: var(--article-pink);
  content: counter(article-step, decimal-leading-zero);
  font-family: var(--article-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.article-checklist strong,
.article-steps strong {
  color: var(--article-cream);
}

.article-inline-link {
  color: #ef9bb7;
  text-decoration-color: rgba(239, 155, 183, .52);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.article-inline-link:hover,
.article-inline-link:focus-visible {
  color: var(--article-cream);
  text-decoration-color: var(--article-pink);
}

.article-source-note {
  margin-top: 32px !important;
  padding-top: 18px;
  border-top: 1px solid var(--article-line-soft);
  color: var(--article-faint) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

@media (max-width: 520px) {
  .atlas-hero {
    padding-block: 44px 40px;
  }

  .atlas-hero h1 {
    font-size: clamp(38px, 11.5vw, 52px);
  }

  .atlas-copy h2 {
    margin-top: 38px;
    font-size: clamp(29px, 9vw, 37px);
  }

  .article-checklist,
  .article-steps {
    font-size: 16px;
    line-height: 1.65;
  }

  .article-checklist li,
  .article-steps li {
    padding-block: 13px;
    padding-left: 38px;
  }
}

/* Practical-guide finish: keep the reading voice calm and make the action rail
   feel like part of the editorial system rather than a separate utility card. */
.atlas-copy h2 {
  max-inline-size: 24ch;
  font-family: var(--tr-font-display, var(--article-display));
  font-kerning: normal;
}

.atlas-copy p,
.article-steps,
.article-checklist,
.atlas-aside > p,
.atlas-aside > a {
  font-family: var(--tr-font-body, var(--article-ui));
}

.article-steps,
.article-checklist {
  margin-block: 24px 32px;
}

.article-steps li,
.article-checklist li {
  background: linear-gradient(90deg, rgba(223, 126, 158, .045), transparent 72%);
}

.atlas-aside {
  padding: 24px 22px 20px;
  border-top: 2px solid rgba(223, 126, 158, .58);
  background:
    linear-gradient(160deg, rgba(223, 126, 158, .12), transparent 52%),
    var(--article-panel);
}

.atlas-aside::before {
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 0 14px;
  background: linear-gradient(90deg, var(--article-pink), rgba(223, 126, 158, 0));
  content: "";
}

.atlas-aside > strong {
  max-inline-size: 16ch;
  font-family: var(--tr-font-display, var(--article-display));
  font-kerning: normal;
}

.atlas-aside > p {
  max-inline-size: 30ch;
  margin-bottom: 14px;
}

.atlas-aside > a {
  padding-block: 12px;
  color: #ef9bb7;
  font-size: 13.5px;
  letter-spacing: .01em;
}

.atlas-aside > a:hover,
.atlas-aside > a:focus-visible {
  color: var(--article-cream);
}

@media (max-width: 520px) {
  .atlas-copy h2 {
    max-inline-size: none;
  }

  .atlas-aside {
    padding: 21px 18px 17px;
  }

  .atlas-aside > strong {
    max-inline-size: 20ch;
  }
}
