/* The growth article uses the shared reading harness inside the archive modal. */
.archive-viewer.is-studio-growth {
  padding: min(3vh, 1.5rem) clamp(0.5rem, 2vw, 1.5rem);
}

.is-studio-growth .archive-viewer-content {
  width: 100%;
  max-width: 74rem;
  height: 92vh;
  height: 92dvh;
  max-height: 92vh;
  max-height: 92dvh;
  overflow: hidden;
  background: #f5f8fb;
  box-shadow: 0 1.5rem 5rem rgba(5, 20, 34, 0.3);
}

.is-studio-growth .archive-viewer-header {
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  background: #f0f5fa;
}

.is-studio-growth .archive-viewer-meta {
  flex: 1 1 28rem;
}

.is-studio-growth .archive-viewer-header h2 {
  max-width: 48rem;
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.is-studio-growth .archive-viewer-nav {
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-inline-start: auto;
}

.is-studio-growth .archive-viewer-navbtn,
.is-studio-growth .archive-viewer-close {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
}

.is-studio-growth .archive-viewer-close {
  border: 1px solid var(--panel-border);
  border-radius: 0.375rem;
}

.is-studio-growth .archive-viewer-count {
  min-width: 0;
  padding-inline: 0.3rem;
  font-variant-numeric: tabular-nums;
}

/* Reuse the page's existing toggle, with its original handlers and state. */
.is-studio-growth .archive-viewer-nav .lang-toggle {
  position: static;
  flex: 0 0 auto;
  height: 2.5rem;
  margin-inline-end: 0.4rem;
  box-shadow: none;
  backdrop-filter: none;
}

.is-studio-growth .lang-toggle button {
  min-width: 2.5rem;
  padding-inline: 0.625rem;
}

.is-studio-growth .lang-toggle button.active {
  background: #09657b;
}

.is-studio-growth .archive-viewer-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0;
  overscroll-behavior: contain;
  scroll-padding-block: 1rem;
  background: #f5f8fb;
}

.studio-growth {
  --content-rail: 14rem;
  --content-layout-gap: 2.5rem;
  --content-font-body: 1.0625rem;
  --content-leading-body: 1.78;
  --content-rule: #cad5df;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1rem, 3vw, 2.5rem) 5rem;
  color: #1a2a3a;
  text-align: left;
  overflow-wrap: break-word;
}

.studio-growth[lang="en"] {
  --content-prose: 44rem;
  --content-leading-body: 1.72;
}

.studio-growth :where(p, li, dt, dd, h3, h4) {
  word-break: normal;
  overflow-wrap: break-word;
}

.studio-growth[lang="ko"] :where(p, li, dt, dd, h3, h4, th, td) {
  word-break: keep-all;
}

.studio-growth-intro {
  /* Match the main grid column even before the rail begins. */
  width: min(var(--content-prose), calc(100% - var(--content-rail) - var(--content-layout-gap)));
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--content-rule);
}

.studio-growth-layout {
  grid-template-columns: minmax(0, var(--content-prose)) var(--content-rail);
  margin-top: 2rem;
}

.studio-growth-rail {
  top: 1rem;
  max-height: calc(var(--studio-growth-scroll-height, 75vh) - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding: 0.125rem 0.5rem 0.5rem;
}

.studio-growth-toc summary {
  padding: 0.5rem 0 0.75rem;
  color: #34485c;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.studio-growth-toc nav > a {
  display: grid;
  grid-template-columns: 1.55rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: baseline;
  padding: 0.625rem 0.25rem;
  border-top: 1px solid var(--content-rule);
  color: #465b70;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
}

.studio-growth-toc nav > a > span {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
}

.studio-growth-company-nav {
  display: grid;
  gap: 0.125rem;
  padding: 0 0.25rem 0.7rem 2.25rem;
}

.studio-growth-company-nav a {
  padding-block: 0.3rem;
  color: #465b70;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-decoration: none;
}

.studio-growth-toc a:hover,
.studio-growth-toc a[aria-current="location"] {
  color: #09657b;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.studio-growth-toc a[aria-current="location"] {
  font-weight: 700;
}

.studio-growth .content-section:first-child {
  margin-top: 0;
}

.studio-growth .content-section__header {
  margin-bottom: 1.5rem;
}

.studio-growth .content-section__header h3 {
  font-size: clamp(1.3rem, 1.1rem + 0.5vw, 1.625rem);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.studio-growth .content-subsection {
  margin-top: 2.75rem;
}

.studio-growth h4 {
  margin: 0 0 1rem;
  font-size: 1.1875rem;
  line-height: 1.5;
}

.studio-growth .content-section > h4 {
  margin-top: 2.5rem;
}

.studio-growth-fx {
  margin-block: 1.5rem;
  border-block: 1px solid var(--content-rule);
}

.studio-growth-fx > summary {
  min-height: 2.75rem;
  padding: 0.625rem 0.25rem;
  color: #34485c;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
}

.studio-growth-fx[open] > summary {
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--content-rule);
}

.studio-growth-fx[open] {
  padding-bottom: 0.5rem;
}

.studio-growth :where(p, ul, ol, dl) {
  margin-block: 0 var(--content-paragraph-gap);
}

.studio-growth :where(ul, ol) {
  padding-inline-start: 1.4em;
}

.studio-growth li + li {
  margin-top: 0.55rem;
}

.studio-growth a {
  color: #09657b;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.studio-growth a:hover {
  color: #064653;
}

.studio-growth .studio-growth-meta,
.studio-growth .studio-growth-sources {
  color: #465b70;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.studio-growth .studio-growth-meta {
  margin-bottom: 1.5rem;
}

.studio-growth .studio-growth-sources {
  margin-top: 1.5rem;
}

.studio-growth-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  overscroll-behavior-x: contain;
}

.studio-growth table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.65;
}

.studio-growth caption {
  padding-bottom: 0.75rem;
  font-weight: 700;
  text-align: left;
}

.studio-growth :where(th, td) {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid var(--content-rule);
  vertical-align: top;
  text-align: left;
  overflow-wrap: break-word;
}

.studio-growth th {
  background: #e9eff5;
  font-weight: 700;
}

.studio-growth tbody th {
  background: transparent;
}

.is-studio-growth :where(button, a, summary, [tabindex]):focus-visible {
  outline: 2px solid #09657b;
  outline-offset: 3px;
}

.studio-growth :where(section, .content-subsection) {
  scroll-margin-block-start: 1rem;
}

@media (max-width: 62.5rem) {
  .studio-growth-intro,
  .studio-growth-layout {
    width: min(100%, var(--content-prose));
    margin-inline: auto;
  }

  .studio-growth-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .studio-growth-rail {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    margin-bottom: 2rem;
  }

  .studio-growth-toc {
    border-bottom: 1px solid var(--content-rule);
  }

  .studio-growth-toc summary {
    min-height: 2.75rem;
  }

  .studio-growth-toc nav {
    padding-bottom: 1rem;
  }

  .studio-growth-toc nav > a {
    min-height: 2.75rem;
  }

  .studio-growth-company-nav a {
    padding-block: 0.5rem;
  }
}

@media (max-width: 40rem) {
  .is-studio-growth .archive-viewer-content {
    border-radius: 0.5rem;
  }

  .is-studio-growth .archive-viewer-header {
    gap: 0.65rem;
    padding: 0.8rem 1rem;
  }

  .is-studio-growth .archive-viewer-meta {
    flex-basis: 100%;
  }

  .is-studio-growth .archive-viewer-nav {
    width: 100%;
    gap: 0.25rem;
  }

  .is-studio-growth .archive-viewer-nav .lang-toggle {
    margin-inline-end: auto;
  }

  .studio-growth {
    --content-font-body: 1rem;
    padding-bottom: 3.5rem;
  }
}

@media (forced-colors: active) {
  .studio-growth-toc a[aria-current="location"],
  .studio-growth a {
    color: LinkText;
  }
}
