
/* /library/css/general-copy-20261002/korean-ui.css */
/* Korean UI typography and line-breaking rules shared by every main page. */
html[lang="ko"] body {
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
}

html[lang="ko"] :where(h1, h2, h3, p, a, button, strong, b, span, small) {
  word-break: keep-all;
  line-break: strict;
}

html[lang="ko"] :where(.hero h1, .section h2) {
  text-wrap: balance;
}

html[lang="ko"] .side-label,
html[lang="ko"] .section-tag,
html[lang="ko"] .footer {
  font-size: 13px;
}

html[lang="ko"] .tiny-btn {
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}

html[lang="ko"] .side-topic span,
html[lang="ko"] .sample small,
html[lang="ko"] .eyebrow {
  font-size: 13px;
}

html[lang="ko"] .hero-actions a,
html[lang="ko"] .focus-item b {
  font-size: 15px;
}

html[lang="ko"] .focus-item span,
html[lang="ko"] .section-copy,
html[lang="ko"] .status {
  font-size: 14px;
  line-height: 1.55;
}

html[lang="ko"] .learning-card strong {
  max-width: 100%;
  font-size: 17px;
  white-space: nowrap;
}

html[lang="ko"] :where(.hero-actions a, .topbar a) {
  white-space: nowrap;
  text-align: center;
}

/* Lift each theme color from the lower-left while keeping the image area white. */
.hero {
  background:
    linear-gradient(90deg, transparent 0 43%, #fff 54% 100%),
    radial-gradient(ellipse 72% 105% at 10% 100%, rgba(var(--accent-rgb), .24) 0%, rgba(var(--accent-rgb), .12) 40%, transparent 72%),
    #fff;
}

.hero::after {
  display: none;
}

html[lang="ko"] .hero-portrait-rotator,
html[lang="ko"] .hero-portrait-rotator::before {
  background: #fff;
}

/* One shared First Weekly logo across every edition. */
html[lang="ko"] .brand {
  min-width: 210px;
  height: 76px;
  display: block;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  background-image: none;
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 266px 75px;
  box-shadow: none;
  color: transparent;
  filter: none;
  font-size: 0;
  mix-blend-mode: normal;
  overflow: hidden;
}

html[lang="ko"] .brand .brand-mark {
  display: none;
}

/* Phonics is a shared learning program, so distinguish it from age-level colors. */
html[lang="ko"] .topbar a[href^="phonics.php"]::before {
  background: #ef5350;
  box-shadow: 0 0 0 1px rgba(198, 40, 40, .14);
}

html[lang="ko"] .topbar a.active[href^="phonics.php"] {
  border-color: #d84343;
  background: linear-gradient(135deg, #ff8a80, #ef5350 58%, #e53935);
  color: #fff;
  box-shadow: 0 8px 20px rgba(198, 40, 40, .22);
}

html[lang="ko"] .topbar a.active[href^="phonics.php"]::before {
  background: #fff;
  box-shadow: none;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-panel-toggle {
  background: linear-gradient(150deg, #eafbf1, #d4f5e2 54%, #bdecce);
  color: #173f2b;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-panel-toggle.is-open {
  background: #fff;
  color: #173f2b;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] {
  --phonics-rainbow: linear-gradient(110deg, #ff6b6b 0%, #ffd43b 34%, #51cf66 67%, #339af0 100%);
  --phonics-rainbow-soft: linear-gradient(110deg, rgba(255, 107, 107, .14), rgba(255, 212, 59, .16) 34%, rgba(81, 207, 102, .14) 67%, rgba(51, 154, 240, .14));
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .hero {
  background:
    linear-gradient(90deg, transparent 0 43%, #fff 55% 100%),
    radial-gradient(circle at 2% 100%, rgba(255, 107, 107, .2), transparent 34%),
    radial-gradient(circle at 24% 100%, rgba(255, 212, 59, .21), transparent 38%),
    radial-gradient(circle at 43% 100%, rgba(81, 207, 102, .18), transparent 36%),
    radial-gradient(circle at 56% 100%, rgba(51, 154, 240, .2), transparent 37%),
    #fff;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] :where(.sample, .hero-actions .primary) {
  border-color: transparent;
  background: var(--phonics-rainbow);
  color: #18223a;
  box-shadow: 0 9px 24px rgba(51, 154, 240, .18);
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .sample {
  color: #fff;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .sample small {
  color: #fff;
  opacity: .92;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] :where(.tiny-btn, .hero-actions .secondary, .program-stage__external, .path-chooser__close, .program-stage__close) {
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--phonics-rainbow) border-box;
  color: #18223a;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] :where(.eyebrow, .path-chooser) {
  border-color: transparent;
  background: var(--phonics-rainbow-soft);
  color: #18223a;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] :where(.side-topic span, .focus-item b, .section-tag, .path-chooser__head span, .path-choice i) {
  background: var(--phonics-rainbow);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] :where(.focus-item, .learning-card, .path-choice) {
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--phonics-rainbow-soft) border-box;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .learning-card:hover,
html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .path-choice:hover {
  background: linear-gradient(#fff, #fff) padding-box, var(--phonics-rainbow) border-box;
  box-shadow: 0 12px 26px rgba(51, 154, 240, .13);
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .learning-card.is-selected {
  border-color: transparent;
  background: var(--phonics-rainbow-soft);
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .program-stage__title span {
  background: conic-gradient(#ff6b6b 0 25%, #ffd43b 25% 50%, #51cf66 50% 75%, #339af0 75% 100%);
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-toolbar {
  border: 1px solid transparent;
  background: linear-gradient(rgba(255, 255, 255, .97), rgba(255, 255, 255, .97)) padding-box, var(--phonics-rainbow) border-box;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-toolbar__status {
  background: conic-gradient(#ff6b6b 0 25%, #ffd43b 25% 50%, #51cf66 50% 75%, #339af0 75% 100%);
  box-shadow: 0 0 0 3px rgba(51, 154, 240, .12);
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-toggle {
  border: 1px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--phonics-rainbow) border-box;
  color: #18223a;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-toolbar.is-drawing .fw-annotation-toggle {
  border-color: transparent;
  background: var(--phonics-rainbow);
  color: #18223a;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] :where(.fw-annotation-tool.is-active, .fw-annotation-size.is-active) {
  border-color: transparent;
  background: var(--phonics-rainbow-soft);
  color: #18223a;
  box-shadow: inset 0 0 0 1px rgba(24, 34, 58, .09);
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-color.is-active {
  outline: 2px solid #18223a;
  outline-offset: 1px;
  box-shadow: none;
}

html[lang="ko"] body.theme-kinder[style*="--accent:#2e5bff"] .fw-annotation-divider {
  background: var(--phonics-rainbow);
  opacity: .42;
}

@media (max-width: 460px) {
  html[lang="ko"] .hero h1 {
    font-size: clamp(30px, 9.2vw, 36px);
    line-height: 1.18;
    letter-spacing: -1.6px;
  }
}

/* Mobile: keep every menu logo optically consistent and make age tabs swipe cleanly. */
@media (max-width: 1180px) {
  html[lang="ko"] body .side > .brand {
    background-size: 174px auto;
  }
}

@media (max-width: 820px) {
  html[lang="ko"] .topbar {
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  html[lang="ko"] .topbar::-webkit-scrollbar {
    display: none;
  }

  html[lang="ko"] .topbar > a {
    scroll-snap-align: start;
  }
}

/* Desktop: place the brand in the utility row and align account controls with
   the age-navigation controls. Mobile keeps the original stacked layout. */
@media (min-width: 1181px) {
  html[lang="ko"] body.has-top-utility .side > .brand {
    position: absolute;
    top: -56px;
    left: 0;
    width: 226px;
    height: 44px;
    background-size: 174px auto;
  }

  html[lang="ko"] body.theme-video.has-top-utility .side > .brand {
    background-size: 154px auto;
  }

  html[lang="ko"] body.theme-teens.has-top-utility .side > .brand {
    background-size: 145px auto;
  }

  html[lang="ko"] body.has-top-utility .side > .side-card:first-of-type {
    min-height: 73px;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 20px;
  }

  html[lang="ko"] body.has-top-utility .side > .side-card:first-of-type .side-label {
    display: none;
  }

  html[lang="ko"] body.has-top-utility .side > .side-card:first-of-type .account-row {
    width: 100%;
  }

  html[lang="ko"] body.has-top-utility .side > .side-card:first-of-type .tiny-btn {
    min-height: 50px;
    border-radius: 14px;
  }
}


/* /library/css/general-copy-20261002/top-utility-menu.css */
.top-utility-wrap {
  width: 100%;
  max-width: 1500px;
  min-height: 52px;
  margin: 0 auto;
  padding: 6px 22px 0;
}

.top-utility-menu {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 8px 6px;
}

.top-utility-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
}

.top-utility-menu button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5f6d82;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.top-utility-language {
  flex: 0 0 auto;
  padding-inline: 14px !important;
  background: rgba(49, 86, 216, .08) !important;
  color: #3156d8 !important;
}

.top-utility-language svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.top-utility-language:hover {
  background: rgba(49, 86, 216, .15) !important;
}

.top-utility-menu button:hover {
  background: #eaf0ff;
  color: #2e5bff;
}

.top-utility-menu button:active {
  transform: translateY(1px);
}

.top-utility-menu button:focus-visible {
  outline: 3px solid rgba(46, 91, 255, .28);
  outline-offset: 1px;
}

.top-utility-menu button[data-utility-action="free-sample"] {
  margin-left: 4px;
  padding-inline: 13px;
  background: #3156d8;
  color: #fff;
  box-shadow: 0 5px 13px rgba(49, 86, 216, .2);
}

.top-utility-menu button[data-utility-action="free-sample"]:hover {
  background: #2449c7;
  color: #fff;
}

body.has-top-utility .shell {
  padding-top: 12px;
}

@media (max-width: 640px) {
  .top-utility-wrap {
    min-height: 0;
    padding: 8px 12px 0;
  }

  .top-utility-menu {
    min-height: 0;
    display: block;
    overflow: visible;
    padding: 0 0 8px;
  }

  .top-utility-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-left: 0;
  }

  .top-utility-language-picker,
  .top-utility-language {
    width: 100%;
  }

  .top-utility-menu button {
    min-height: 33px;
    min-width: 0;
    padding: 7px 4px;
    font-size: 11px;
  }

  .top-utility-menu button[data-utility-action="free-sample"] {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-utility-menu button {
    transition: none;
  }
}

.top-utility-language-picker {
  position: relative;
  z-index: 220;
}

.top-utility-language > b {
  margin-left: 2px;
  font-size: 10px;
  transition: transform .18s ease;
}

.top-utility-language[aria-expanded="true"] > b {
  transform: rotate(180deg);
}

.top-utility-language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 230;
  width: 220px;
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid #dce4f0;
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 45px rgba(28, 53, 88, .18);
  backdrop-filter: blur(16px);
}

.top-utility-language-menu[hidden] {
  display: none !important;
}

.top-utility-menu .top-utility-language-menu button {
  width: 100%;
  min-height: 40px;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 10px;
  background: transparent;
  color: #34435a;
  font-size: 13px;
  text-align: left;
}

.top-utility-menu .top-utility-language-menu button b {
  color: #3156d8;
  opacity: 0;
}

.top-utility-menu .top-utility-language-menu button:hover {
  background: #eef3ff;
}

.top-utility-menu .top-utility-language-menu button.is-active {
  background: #eaf0ff;
  color: #2449c7;
}

.top-utility-menu .top-utility-language-menu button.is-active b {
  opacity: 1;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .brand {
  direction: ltr;
}

html[dir="rtl"] .top-utility-actions {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .top-utility-language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .top-utility-menu .top-utility-language-menu button {
  text-align: right;
}

html[dir="rtl"] :where(.section-head, .category-news-intro, .video-curriculum-head) {
  direction: rtl;
}

/* Keep the age banner artwork on the right while Arabic copy reads RTL on the
   colored left side. Inheriting RTL on the flex container swapped both zones. */
html[dir="rtl"] .common-news-banner {
  direction: ltr;
}

html[dir="rtl"] .common-news-banner__copy {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .common-news-banner__copy > * {
  direction: rtl;
  text-align: right;
}

@media (max-width: 640px) {
  .top-utility-language-menu {
    position: fixed;
    top: 48px;
    right: 12px;
    left: auto;
    width: min(260px, calc(100vw - 24px));
  }

  html[dir="rtl"] .top-utility-language-menu {
    right: auto;
    left: 12px;
  }
}


/* /library/css/site-shell.css */


body:is(.theme-teens, .teens-unified) {
  --accent: #6F5AD7;
  --accent-rgb: 111, 90, 215;
  --soft: #F1EEFF;
  --ink: #172133;
  --muted: #667085;
  --line: #d8dde5;
  --page: #f4f5f7;
  background: var(--page);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
}

/* The Teens layout is the shared site frame; only the age color changes. */
body.teens-unified.theme-phonics-sky {
  --accent: #2e5bff;
  --accent-rgb: 46, 91, 255;
  --soft: #eaf0ff;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky {
  --page: #f4f5f7 !important;
  background: var(--page) !important;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar {
  border: 0;
  border-radius: 0;
  background: rgba(244, 245, 247, .97);
  box-shadow: none;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar a {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c5565;
  box-shadow: none;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar a.active[href^="phonics.php"] {
  border: 0;
  background: var(--soft);
  color: var(--accent);
  box-shadow: none;
}

html[lang="ko"] body.teens-unified.theme-phonics-sky .topbar a::before {
  display: none !important;
}

body.teens-unified.theme-kinder:not(.theme-phonics-sky) {
  --accent: #E05A47;
  --accent-rgb: 224, 90, 71;
  --soft: #FFF1ED;
}

body.teens-unified.theme-kids {
  --accent: #1387B8;
  --accent-rgb: 19, 135, 184;
  --soft: #EAF7FC;
}

body.teens-unified.theme-junior {
  --accent: #238A68;
  --accent-rgb: 35, 138, 104;
  --soft: #EAF7F2;
}

body.teens-unified.theme-general {
  --accent: #3E7185;
  --accent-rgb: 62, 113, 133;
  --soft: #EDF5F7;
}

body.teens-unified.theme-video {
  --accent: #087f8c;
  --accent-rgb: 8, 127, 140;
  --soft: #e7f6f7;
}

body.teens-unified.theme-home {
  --accent: #334155;
  --accent-rgb: 51, 65, 85;
  --soft: #f1f5f9;
}

body.teens-unified.theme-reading-test {
  --accent: #b23a48;
  --accent-rgb: 178, 58, 72;
  --soft: #fbecef;
}

body.teens-unified.theme-mypage {
  --accent: #4a4fa3;
  --accent-rgb: 74, 79, 163;
  --soft: #eff0fa;
}

body:is(.theme-teens, .teens-unified) a,
body:is(.theme-teens, .teens-unified) button {
  -webkit-tap-highlight-color: transparent;
}

body:is(.theme-teens, .teens-unified) a:focus-visible,
body:is(.theme-teens, .teens-unified) button:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb), .25);
  outline-offset: 3px;
}

body:is(.theme-teens, .teens-unified) .top-utility-wrap {
  max-width: 1400px;
  min-height: 64px;
  padding: 10px 24px 6px;
  border-bottom: 0;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu {
  min-height: 48px;
  padding: 0;
}

body:is(.theme-teens, .teens-unified) .top-utility-actions {
  gap: 4px;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button {
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #475467;
  font-size: 12.5px;
  font-weight: 750;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button:hover {
  background: #f1f3f6;
  color: var(--ink);
}

body:is(.theme-teens, .teens-unified) .top-utility-priority-links {
  display: flex;
  align-items: center;
  padding: 3px 4px;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  background: #f7f8fa;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button {
  min-height: 32px;
  padding: 7px 9px;
  border-radius: 6px;
  background: transparent;
  color: #344054;
  font-size: 11.5px;
  font-weight: 750;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button + button {
  margin-left: 1px;
  border-left: 1px solid #d8dde5;
  border-radius: 0 6px 6px 0;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 800;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account--signup {
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account--login {
  margin-left: 2px;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account:hover,
body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account:focus-visible {
  background: var(--soft);
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"] {
  margin-left: 4px;
  padding-inline: 15px;
  border-radius: 8px;
  background: var(--accent);
  box-shadow: none;
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"]:hover {
  background: #b9245c;
}

body:is(.theme-teens, .teens-unified) .top-utility-language {
  margin-left: 2px;
  border: 0 !important;
  background: #f5f6f8 !important;
  color: #434c5d !important;
}

body:is(.theme-teens, .teens-unified) .top-utility-language:hover {
  background: #ebeef2 !important;
}

body:is(.theme-teens, .teens-unified) .top-utility-language-menu {
  border: 1px solid #cfd4dc;
  border-radius: 2px;
  background-color: #fff;
  background-image: none;
  box-shadow: 0 18px 40px rgba(23, 33, 51, .13);
  backdrop-filter: none;
}

body:is(.theme-teens, .teens-unified) .shell {
  max-width: 1400px;
  display: block;
  padding: 18px 24px 64px;
}

body:is(.theme-teens, .teens-unified).has-top-utility .shell {
  padding-top: 18px;
}

body:is(.theme-teens, .teens-unified) .side {
  gap: 18px;
}

body.teens-unified .side--brand-only > :not(.brand) {
  display: none !important;
}

@media (min-width: 1181px) {
  body:is(.theme-teens, .teens-unified) .side--brand-only {
    width: 100%;
    height: 0;
    min-height: 0;
    margin: 0;
  }
}

body:is(.theme-teens, .teens-unified) .side-card {
  padding: 12px 4px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) .side-label {
  margin-bottom: 8px;
  color: #7b8494;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .side-card--account,
body:is(.theme-teens, .teens-unified) .side-card--account {
  display: block !important;
}

body:is(.theme-teens, .teens-unified) .side-card--account .account-row {
  width: 100%;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side .side-label--group,
body:is(.theme-teens, .teens-unified) .side-label--group {
  min-height: 18px;
  display: flex !important;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #30394a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.01em;
  white-space: nowrap;
}

body:is(.theme-teens, .teens-unified) .side-label--group::before {
  width: 3px;
  height: 16px;
  flex: 0 0 auto;
  background: var(--accent);
  content: "";
}

body:is(.theme-teens, .teens-unified) .side-label--group > span {
  color: var(--accent);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

body:is(.theme-teens, .teens-unified) .side-topic-kicker {
  display: block;
  margin-bottom: 5px;
  color: #7b8494;
  font-family: Pretendard, "Noto Sans KR", sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

body:is(.theme-teens, .teens-unified) .side-card--topic {
  padding: 14px;
}

body:is(.theme-teens, .teens-unified) .side-card--topic + .sample {
  margin-top: 0;
}

body:is(.theme-teens, .teens-unified) .side-card--account,
body:is(.theme-teens, .teens-unified) .side-card--topic {
  border: 1px solid #d6dbe3;
  background: #fff;
}

body:is(.theme-teens, .teens-unified) .side-card--account {
  padding: 14px;
}

body:is(.theme-teens, .teens-unified) .account-row {
  gap: 8px;
}

body:is(.theme-teens, .teens-unified) .tiny-btn {
  min-height: 46px;
  border: 1px solid #aeb6c2;
  border-radius: 2px;
  background: #fff;
  color: #30394a;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .tiny-btn:hover,
body:is(.theme-teens, .teens-unified) .tiny-btn:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

body:is(.theme-teens, .teens-unified) .tiny-btn:last-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .tiny-btn:last-child:hover,
body:is(.theme-teens, .teens-unified) .tiny-btn:last-child:focus-visible {
  border-color: #b9245c;
  background: #b9245c;
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .tiny-btn.is-selected {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

body:is(.theme-teens, .teens-unified) .side-topic {
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.03em;
}

body:is(.theme-teens, .teens-unified) .side-topic span {
  margin-top: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .01em;
}

body:is(.theme-teens, .teens-unified) .sample {
  position: relative;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px 46px 14px 18px;
  border-radius: 2px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition: background .18s ease, transform .18s ease;
}

body:is(.theme-teens, .teens-unified) .sample::after {
  position: absolute;
  top: 50%;
  right: 18px;
  font-size: 18px;
  line-height: 1;
  content: "→";
  transform: translateY(-50%);
}

body:is(.theme-teens, .teens-unified) .sample:hover,
body:is(.theme-teens, .teens-unified) .sample:focus-visible {
  background: #b9245c;
  transform: translateY(-1px);
}

body:is(.theme-teens, .teens-unified) .sample small {
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  opacity: .82;
}

body:is(.theme-teens, .teens-unified) .topbar {
  position: sticky;
  top: 8px;
  z-index: 30;
  min-height: 82px;
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(244, 245, 247, .97);
  box-shadow: none;
  backdrop-filter: none;
}

body:is(.theme-teens, .teens-unified) .topbar a {
  position: relative;
  min-width: 0;
  min-height: 81px;
  flex: 1 1 0;
  padding: 0 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #4c5565;
  font-size: 16px;
  font-weight: 780;
  box-shadow: none;
  transition: color .16s ease, background .16s ease;
}

body:is(.theme-teens, .teens-unified) .topbar a::before {
  display: none;
}

body:is(.theme-teens, .teens-unified) .topbar a::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: var(--accent);
  content: "";
  opacity: 0;
}

body:is(.theme-teens, .teens-unified) .topbar a:hover,
body:is(.theme-teens, .teens-unified) .topbar a:focus-visible {
  background: #eceef2;
  color: var(--ink);
}

body:is(.theme-teens, .teens-unified) .topbar a.active {
  background: var(--soft);
  color: var(--accent);
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) .topbar a.active::after {
  opacity: 1;
}

body.teens-unified .home-compact-banner {
  height: 244px;
  min-height: 244px;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: 28px 38px;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: linear-gradient(
    96deg,
    #b41950 0%,
    #c02661 64%,
    #dd6e9a 78%,
    #f1b8cd 88%,
    #fae8ef 95%,
    #fff 100%
  );
  box-shadow: none;
  color: #fff;
}

body.teens-unified .home-compact-banner::after {
  display: none;
}

body.teens-unified .home-compact-banner__copy {
  gap: 7px;
}

body.teens-unified .home-compact-banner__copy > span {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

body.teens-unified .home-compact-banner__copy strong {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.05em;
}

body.teens-unified .home-compact-banner__copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.6;
}

body:is(.theme-teens, .teens-unified) .common-news-area {
  gap: 18px;
}

body:is(.theme-teens, .teens-unified) .common-news-banner--teens {
  --banner-from: #b41950;
  --banner-mid: #bd1f5d;
}

body:is(.theme-teens, .teens-unified) .common-news-banner {
  height: 244px;
  min-height: 244px;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 32px;
  padding: 28px 38px;
  border: 0;
  border-top: 4px solid var(--accent);
  border-radius: 0;
  background: linear-gradient(
    96deg,
    var(--banner-from) 0%,
    var(--banner-mid) 65%,
    color-mix(in srgb, var(--banner-mid) 72%, #fff) 78%,
    color-mix(in srgb, var(--banner-mid) 52%, #fff) 86%,
    color-mix(in srgb, var(--banner-mid) 30%, #fff) 92%,
    color-mix(in srgb, var(--banner-mid) 12%, #fff) 97%,
    #fff 100%
  );
  box-shadow: none;
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .common-news-banner::after {
  display: none;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy {
  gap: 7px;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy > span {
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy strong,
body:is(.theme-teens, .teens-unified) .common-news-banner__copy h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 3.1vw, 46px);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -.05em;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__copy p {
  color: rgba(255, 255, 255, .9);
  font-size: 14px;
  line-height: 1.6;
  opacity: 1;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__link {
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 14px;
  border: 1px solid #fff;
  border-radius: 2px;
  background: #fff;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

body:is(.theme-teens, .teens-unified) .common-news-banner__link:hover,
body:is(.theme-teens, .teens-unified) .common-news-banner__link:focus-visible {
  background: var(--ink);
  color: #fff;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck {
  width: 280px;
  height: 212px;
  justify-self: center;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck--single::before,
body:is(.theme-teens, .teens-unified) .edition-cover-deck--single::after {
  display: none;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single[data-cover-index] {
  top: 4px;
  left: 62px;
  width: 150px;
  height: 202px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(29px);
  transition: none;
}

body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single.is-current {
  opacity: 1;
  transform: translateY(29px);
  animation: teens-cover-rise 3.6s cubic-bezier(.22, .68, .18, 1) both;
}

@keyframes teens-cover-rise {
  0% {
    opacity: 0;
    transform: translateY(118px);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(29px);
  }
}

@keyframes teens-cover-rise-mobile {
  0% {
    opacity: 0;
    transform: translateY(72px);
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body:is(.theme-teens, .teens-unified) .common-reader-services {
  min-height: 88px;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 12px;
  padding: 8px 12px;
  border: 0;
  border-radius: 12px;
  background: #eceff3;
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__heading {
  padding: 12px 18px 12px 0;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__heading > span {
  color: var(--accent);
  font-size: 10px;
  letter-spacing: .13em;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__heading h2 {
  margin-top: 4px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links {
  height: 100%;
  gap: 8px;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links button {
  min-height: 68px;
  padding: 12px 16px;
  border: 1px solid #d6dbe3;
  border-radius: 8px;
  background: #fff;
  color: #414a5a;
  font-size: 14px;
  font-weight: 780;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links button:hover,
body:is(.theme-teens, .teens-unified) .common-reader-services__links button:focus-visible {
  border-color: var(--accent);
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
}

body:is(.theme-teens, .teens-unified) .common-reader-services__links button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: none;
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section {
  min-height: 720px;
  margin-top: 34px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section:not(:has(.category-news-panel))::after {
  display: block;
  padding: 42px 0;
  color: #747d8c;
  font-size: 14px;
  content: "이번 주 기사를 불러오는 중입니다.";
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section .section-head {
  display: none;
}

body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section .section-copy {
  color: #667085;
  font-size: 15px;
  text-align: left;
}

body:is(.theme-teens, .teens-unified) .category-news-panel {
  padding-bottom: 24px;
}

body:is(.theme-teens, .teens-unified) .category-news-intro {
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 18px 0 24px;
  border-top: 0;
  border-bottom: 0;
}

body:is(.theme-teens, .teens-unified) .category-news-intro div {
  gap: 4px;
}

body:is(.theme-teens, .teens-unified) .category-news-intro span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

body:is(.theme-teens, .teens-unified) .category-news-intro h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: -.055em;
}

body:is(.theme-teens, .teens-unified) .category-news-intro > b {
  margin-left: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #596273;
  font-size: 14px;
  font-weight: 700;
}

body:is(.theme-teens, .teens-unified) .category-news-resources {
  gap: 6px !important;
  margin-left: auto;
}

body:is(.theme-teens, .teens-unified) .category-news-resource-button {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #3e4757;
  font-size: 14px;
  font-weight: 780;
  text-shadow: none;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}

body:is(.theme-teens, .teens-unified) .category-news-resource-button:nth-child(n) {
  border: 1px solid #cfd4dc;
  background: transparent;
  box-shadow: none;
  color: #3e4757;
  text-shadow: none;
}

body:is(.theme-teens, .teens-unified) .category-news-resource-button:hover,
body:is(.theme-teens, .teens-unified) .category-news-resource-button:focus-visible,
body:is(.theme-teens, .teens-unified) .category-news-resource-button.is-selected {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: none;
  color: #fff;
  filter: none;
  transform: none;
}

body:is(.theme-teens, .teens-unified) .category-news-grid {
  gap: 44px 24px;
  padding-top: 28px;
}

body:is(.theme-teens, .teens-unified) .category-news-card {
  overflow: visible;
  padding: 14px;
  border: 1px solid #d6dbe3;
  border-radius: 0;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .category-news-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(23, 33, 51, .08);
  transform: translateY(-2px);
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead {
  min-height: 380px;
  padding: 14px;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-wide {
  grid-template-columns: minmax(210px, .9fr) minmax(0, 1.1fr);
}

body:is(.theme-teens, .teens-unified) .category-news-image {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #e4e7ec;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-image,
body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-image {
  min-height: 260px;
}

body:is(.theme-teens, .teens-unified) .category-news-image img {
  filter: saturate(.9) contrast(1.02);
}

body:is(.theme-teens, .teens-unified) .category-news-card:hover .category-news-image img {
  transform: scale(1.012);
}

body:is(.theme-teens, .teens-unified) .category-news-copy {
  padding: 18px 4px 4px;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy {
  justify-content: center;
  padding: 26px 2px 26px 28px;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-copy {
  padding: 18px 4px 18px 22px;
}

body:is(.theme-teens, .teens-unified) .category-news-meta {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -.02em;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 {
  font-size: 22px;
  line-height: 1.13;
}

body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy h3 {
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.05;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 a {
  display: block;
  max-width: 100%;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  overflow-wrap: normal;
  word-break: normal;
}

body:is(.theme-teens, .teens-unified) .category-news-copy h3 a:hover,
body:is(.theme-teens, .teens-unified) .category-news-copy h3 a:focus-visible {
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .category-news-excerpt {
  margin: 13px 0 18px;
  color: #5f6878;
  font-size: 14px;
  line-height: 1.7;
}

body:is(.theme-teens, .teens-unified) .category-news-action {
  min-height: 0;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
  transition: color .16s ease;
}

body:is(.theme-teens, .teens-unified) .category-news-action:hover,
body:is(.theme-teens, .teens-unified) .category-news-action:focus-visible {
  border: 0;
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  transform: none;
}

body:is(.theme-teens, .teens-unified) .footer {
  margin-top: 42px;
  padding: 18px 0 0;
  border-top: 1px solid #cfd4dc;
  color: #737c8b;
  text-align: left;
}

body.teens-unified .footer {
  display: none;
}

body:is(.theme-teens, .teens-unified) .commercial-footer {
  max-width: 1400px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 14px 36px;
  margin: 0 auto;
  padding: 34px 24px 42px;
  border-top: 1px solid #cfd4dc;
  background-color: inherit;
  background-image: none;
  color: #596273;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__brand,
body:is(.theme-teens, .teens-unified) .commercial-footer__links {
  background-color: transparent;
  background-image: none;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__brand strong {
  display: block;
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.03em;
}

body:is(.theme-teens, .teens-unified) .brand__common-logo {
  display: block;
  width: 164px;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
  transform: translateY(4px);
}

.site-mobile-brand { display: none; }

@media (min-width: 761px) {
  html[lang="ko"] body .site-mobile-brand { display: none !important; }
}

body:is(.theme-teens, .teens-unified) .commercial-footer__logo {
  display: block;
  width: 164px;
  height: 42px;
  max-width: 100%;
  margin: 0 0 2px;
  object-fit: contain;
  background: transparent;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__brand p,
body:is(.theme-teens, .teens-unified) .commercial-footer__notice,
body:is(.theme-teens, .teens-unified) .commercial-footer__copyright {
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__links {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__links button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #cfd4dc;
  border-radius: 6px;
  background: #fff;
  color: #3e4757;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__links button:hover,
body:is(.theme-teens, .teens-unified) .commercial-footer__links button:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

body:is(.theme-teens, .teens-unified) .commercial-footer__notice,
body:is(.theme-teens, .teens-unified) .commercial-footer__copyright {
  grid-column: 1 / -1;
}

body:is(.theme-teens, .teens-unified) .commercial-footer__copyright {
  margin-top: -6px;
  color: #7a8290;
}

body:is(.theme-teens, .teens-unified) .commercial-action-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  max-width: min(380px, calc(100vw - 32px));
  padding: 13px 16px;
  border-left: 4px solid var(--accent);
  background: var(--ink);
  box-shadow: 0 14px 34px rgba(23, 33, 51, .2);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .16s ease, transform .16s ease;
}

body:is(.theme-teens, .teens-unified) .commercial-action-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1181px) {
  body:is(.theme-teens, .teens-unified) .edition-cover-deck {
    transform: translate(-138px, -22px) scale(1.58);
    transform-origin: center center;
  }

  body:is(.theme-teens, .teens-unified) .side {
    gap: 0;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .brand {
    top: -75px;
    left: 0;
    width: 210px;
    height: 50px;
    background-position: left center;
    background-size: 164px auto;
    margin-bottom: 18px;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .side-card:first-of-type {
    min-height: 108px;
    padding: 14px;
    border: 1px solid #d6dbe3;
    border-bottom: 0;
    border-radius: 0;
  }

  body:is(.theme-teens, .teens-unified) .side-card--topic {
    border-top: 1px solid #e3e6eb;
    border-bottom: 0;
  }

  body:is(.theme-teens, .teens-unified) .side-card--topic + .sample {
    min-height: 84px;
    border-radius: 0;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified).has-top-utility .side > .side-card:first-of-type .tiny-btn {
    min-height: 44px;
    border-radius: 0;
  }
}

@media (min-width: 901px) and (max-width: 1450px) {
  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead {
    grid-column: span 12;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(2),
  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(3) {
    grid-column: span 6;
  }

  body:is(.theme-teens, .teens-unified) .category-news-copy h3 {
    font-size: clamp(32px, 3.4vw, 42px);
  }
}

@media (max-width: 1180px) {
  body:is(.theme-teens, .teens-unified) .shell {
    display: block;
    padding-top: 12px;
  }

  body:is(.theme-teens, .teens-unified) .side {
    position: static;
    display: grid;
    grid-template-columns: 220px minmax(220px, 1fr) 220px;
    gap: 0 18px;
    margin-bottom: 18px;
    border-bottom: 0;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified) .side > .brand {
    position: static;
    width: 210px;
    min-width: 0;
    height: 64px;
    background-position: left center;
    background-size: 164px auto;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type {
    min-height: 64px;
    padding: 8px 0;
    border-top: 0;
    border-bottom: 0;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2) {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  body:is(.theme-teens, .teens-unified) .side > .sample {
    grid-column: 3;
    grid-row: 2;
    align-self: center;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    top: 0;
  }
}

@media (max-width: 900px) {
  body:is(.theme-teens, .teens-unified) .topbar {
    overflow-x: auto;
    padding: 0 10px;
    scrollbar-width: none;
  }

  body:is(.theme-teens, .teens-unified) .topbar a {
    min-width: 104px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner {
    height: auto;
    min-height: 260px;
    grid-template-columns: minmax(0, 1fr) 210px;
    padding: 32px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner::after {
    right: 226px;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck {
    width: 190px;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single[data-cover-index] {
    left: 30px;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services {
    grid-template-columns: 1fr;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__heading {
    padding: 15px 0;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button:first-child {
    border-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-intro {
    flex-wrap: wrap;
  }

  body:is(.theme-teens, .teens-unified) .category-news-resources {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide {
    grid-column: span 6;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  body:is(.theme-teens, .teens-unified) .top-utility-wrap {
    padding-inline: 16px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu {
    min-height: 0;
    overflow: visible;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-actions {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-priority-links {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button,
  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-priority-links button + button {
    width: 100%;
    margin-left: 0;
    border-left: 0;
    border-radius: 6px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"] {
    grid-column: span 2;
    width: 100%;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-language-picker {
    grid-column: span 2;
    width: 100%;
    min-width: 0;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account {
    grid-column: span 2;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu button {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
  }

  body:is(.theme-teens, .teens-unified) .top-utility-menu .top-utility-account--login,
  body:is(.theme-teens, .teens-unified) .top-utility-menu button[data-utility-action="free-sample"] {
    margin-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .shell,
  body:is(.theme-teens, .teens-unified).has-top-utility .shell {
    padding: 8px 16px 40px;
  }

  body:is(.theme-teens, .teens-unified) .side {
    grid-template-columns: 1fr 160px;
    gap: 0 12px;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified) .side > .brand {
    width: 100%;
    height: 54px;
    background-size: 150px auto;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2) {
    display: block;
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 14px 0;
  }

  body:is(.theme-teens, .teens-unified) .side > .sample {
    min-height: 60px;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-bottom: 16px;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    margin-right: -16px;
    margin-left: -16px;
    padding: 0 16px;
    background: #fff;
    scroll-snap-type: x proximity;
  }

  body:is(.theme-teens, .teens-unified) .topbar a {
    min-height: 60px;
    font-size: 14px;
    scroll-snap-align: center;
  }

  body:is(.theme-teens, .teens-unified) .topbar {
    min-height: 60px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 24px 26px;
  }

  body.teens-unified .home-compact-banner {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 30px 24px 26px;
  }

  body.teens-unified .home-compact-banner__copy strong {
    font-size: 36px;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner::after {
    display: none;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner__copy strong,
  body:is(.theme-teens, .teens-unified) .common-news-banner__copy h1 {
    font-size: 36px;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck {
    width: 140px;
    height: 182px;
    justify-self: end;
    margin-right: 6px;
    transform: none !important;
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single[data-cover-index] {
    top: 0;
    left: 0;
    width: 135px;
    height: 182px;
    box-shadow: none;
    transform: translateY(0);
  }

  body:is(.theme-teens, .teens-unified) .edition-cover-deck--single .edition-cover--single.is-current {
    transform: translateY(0);
    animation-name: teens-cover-rise-mobile;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button {
    min-height: 58px;
    border-top: 0;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button:nth-child(odd) {
    border-left: 0;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  body:is(.theme-teens, .teens-unified) #learning-menu.category-newspaper-section {
    min-height: 520px;
    margin-top: 28px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-intro {
    align-items: flex-start;
  }

  body:is(.theme-teens, .teens-unified) .category-news-resources {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body:is(.theme-teens, .teens-unified) .category-news-resource-button {
    width: 100%;
  }

  body:is(.theme-teens, .teens-unified) .category-news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide {
    grid-column: auto;
    display: block;
    min-height: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-image,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-image,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-image {
    height: 210px;
    min-height: 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy,
  body:is(.theme-teens, .teens-unified) .category-news-card.is-wide .category-news-copy,
  body:is(.theme-teens, .teens-unified) .category-news-copy {
    padding: 18px 0 0;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card.is-lead .category-news-copy h3 {
    font-size: 31px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) {
    min-height: 176px;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 0;
    padding: 10px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-image {
    width: 132px;
    height: 100%;
    min-height: 156px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-copy {
    min-width: 0;
    justify-content: center;
    padding: 4px 2px 4px 14px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-meta {
    margin-bottom: 6px;
    font-size: 10px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-copy h3 {
    font-size: 19px;
    line-height: 1.15;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-excerpt {
    margin: 8px 0 10px;
    font-size: 13px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
  }

  body:is(.theme-teens, .teens-unified) .category-news-card:nth-child(n+4) .category-news-action {
    min-height: 0;
    padding: 0;
    font-size: 13px;
  }

  body:is(.theme-teens, .teens-unified) .category-news-copy h3 a {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  body:is(.theme-teens, .teens-unified) .footer {
    margin-top: 30px;
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 16px 34px;
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer__links button {
    min-height: 44px;
    padding: 0 8px;
  }

  body:is(.theme-teens, .teens-unified) .commercial-action-toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  body:is(.theme-teens, .teens-unified) .side {
    grid-template-columns: 1fr;
  }

  html[lang="ko"] body:is(.theme-teens, .teens-unified) .side > .brand,
  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type,
  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2),
  body:is(.theme-teens, .teens-unified) .side > .sample {
    grid-column: 1;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:first-of-type {
    grid-row: 2;
  }

  body:is(.theme-teens, .teens-unified) .side > .side-card:nth-of-type(2) {
    grid-row: 3;
  }

  body:is(.theme-teens, .teens-unified) .side > .sample {
    grid-row: 4;
  }

  body:is(.theme-teens, .teens-unified) .common-news-banner__copy strong,
  body:is(.theme-teens, .teens-unified) .common-news-banner__copy h1 {
    font-size: 32px;
  }

  body.teens-unified .home-compact-banner__copy strong {
    font-size: 32px;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links,
  body:is(.theme-teens, .teens-unified) .category-news-resources {
    grid-template-columns: 1fr;
  }

  body:is(.theme-teens, .teens-unified) .commercial-footer__links {
    grid-template-columns: 1fr;
  }

  body:is(.theme-teens, .teens-unified) .common-reader-services__links button {
    border-left: 0;
  }
}

.topbar a[href^="index.php"]:not(.active)::before {
  background: #21418f;
}

body:is(.theme-teens, .teens-unified) .topbar a.active[href^="index.php"] {
  background: #eaf0ff;
  color: #21418f;
}

body:is(.theme-teens, .teens-unified) .topbar a.active[href^="index.php"]::after {
  background: #21418f;
}

body.theme-home {
  --accent: #21418f;
  --accent-rgb: 33, 65, 143;
  --soft: #eaf0ff;
}

body.theme-home.teens-unified .home-compact-banner {
  border-top-color: #21418f;
  background: linear-gradient(
    96deg,
    #17356b 0%,
    #21418f 64%,
    #3156d8 78%,
    #9eb4e6 88%,
    #eaf0ff 95%,
    #fff 100%
  );
}

@media (prefers-reduced-motion: reduce) {
  body:is(.theme-teens, .teens-unified) *,
  body:is(.theme-teens, .teens-unified) *::before,
  body:is(.theme-teens, .teens-unified) *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* 20261001-BYKIDS-NAV-COLORS-V1: each top-level service keeps its own configured identity colour. */
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger {
  color: var(--accent) !important;
  font-weight: 850;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:focus-visible,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:focus-visible {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active::after,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active::after {
  background: var(--accent) !important;
  opacity: 1;
}

/* 20261001-BYKIDS-NAV-INTERACTION-V1: neutral at rest; age/service colour on hover, focus, and selection. */
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger {
  color: #4c5565 !important;
  font-weight: 780;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a:focus-visible,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:hover,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:focus-visible {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active::after,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active::after {
  background: var(--accent) !important;
  opacity: 1;
}

/* 20261001-BYKIDS-NAV-INTERACTION-V2: neutral at rest; age/service colour on hover, focus, and selection. */
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger {
  color: #4c5565 !important;
  font-weight: 780;
}

html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > a:hover:not(.active),
html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > a:focus-visible:not(.active),
html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:hover:not(.active),
html[lang="ko"] body:has(.consumer-header):is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger:focus-visible:not(.active) {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active {
  background: var(--soft) !important;
  color: var(--accent) !important;
}

html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > a.active::after,
html[lang="ko"] body:is(.theme-teens, .teens-unified) .topbar > .topbar__group > .topbar__trigger.active::after {
  background: var(--accent) !important;
  opacity: 1;
}


