@charset "UTF-8";

body.theme-article-reader {
  --reader-accent: var(--accent, #3156d8);
  --reader-accent-rgb: var(--accent-rgb, 49, 86, 216);
  background: #f4f5f7;
  overflow-x: clip;
}

body.theme-article-reader .shell {
  max-width: 1440px;
}

body.theme-article-reader .side--brand-only {
  margin-bottom: 8px;
}

.article-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
}

.article-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--reader-accent);
  transition: width .08s linear;
}

.article-reader {
  --reader-font-size: 20px;
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 32px clamp(22px, 5vw, 72px) 58px;
  border: 1px solid #e0e4ea;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(23, 33, 51, .08);
  transition: transform .28s ease, max-width .28s ease, padding .28s ease;
}

.article-reader__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
  color: #8a929f;
  font-size: 13px;
  font-weight: 750;
}

.article-reader__breadcrumb a {
  color: var(--reader-accent);
  text-decoration: none;
}

.article-reader__header {
  position: relative;
  max-width: 900px;
  margin: 0 auto 38px;
  padding-bottom: 34px;
  border-bottom: 0;
}

.article-reader__kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.article-reader__kicker span,
.article-reader__kicker b {
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.article-reader__kicker span {
  background: var(--reader-accent);
  color: #fff;
}

.article-reader__kicker b {
  background: rgba(var(--reader-accent-rgb), .1);
  color: var(--reader-accent);
}

.article-reader__section {
  margin: 0 0 10px;
  color: var(--reader-accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
}

.article-reader__header h1 {
  max-width: 840px;
  margin: 0;
  color: #172133;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.045em;
  word-break: keep-all;
}

.article-reader [data-reader-translation][hidden] {
  display: none !important;
}

.article-reader__translated-title {
  max-width: 760px;
  margin: 15px 0 0;
  color: #485a73;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: -.02em;
  word-break: keep-all;
}

.article-reader__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: #7a8493;
  font-size: 13px;
  font-weight: 700;
}

.article-reader__meta span + span::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 12px 3px 0;
  border-radius: 50%;
  background: #b6bdc8;
}

.article-reader__dek {
  max-width: 760px;
  margin: 24px 0 0;
  color: #5e6878;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
}

.article-reader__tools {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-areas: "audio learning utility";
  align-items: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 12px;
  border: 1px solid #e2e7ee;
  border-radius: 12px;
  background: #fbfcfe;
}

.article-reader__tool-group {
  position: relative;
  display: grid;
  gap: 7px;
}

.article-reader__tool-group:not(:last-child)::after {
  display: none;
}

.article-reader__tool-label {
  color: #7b8494;
  font-size: 10px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: .04em;
}

.article-reader__tool-options {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-reader__tool-group--audio {
  grid-area: audio;
}

.article-reader__tool-group--audio .article-reader__tool-options {
  flex-wrap: nowrap;
}

.article-reader__tool-group--utility {
  grid-area: utility;
  justify-self: end;
}

.article-reader__tool-group--learning-view {
  grid-area: learning;
  min-width: 0;
}

.article-reader__tool-group--learning-view .article-reader__tool-options {
  flex-wrap: nowrap;
}

.article-reader__tools button,
.article-reader__tools a {
  min-width: 39px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #fff;
  color: #465063;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.article-reader__tools .article-reader__newspaper {
  gap: 6px;
  border-color: rgba(var(--reader-accent-rgb), .42);
  background: #fff;
  color: var(--reader-accent);
}

.article-reader__tools .article-reader__word-cover-toggle {
  min-width: 82px;
  gap: 6px;
  border-color: #167bea;
  background: #fff;
  color: #176fd0;
}

.article-reader__tools .article-reader__word-cover-toggle:hover,
.article-reader__tools .article-reader__word-cover-toggle:focus-visible,
.article-reader__tools .article-reader__word-cover-toggle.is-active {
  border-color: #167bea;
  background: linear-gradient(110deg, #2c75ea, #14bfc3);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 126, 205, .22);
}

.article-reader__word-cover-toggle span:first-child {
  font-size: 12px;
}

.article-reader__cover-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-reader__speed-control {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
}

.article-reader__tools .article-reader__speed-listening {
  min-width: 82px;
  gap: 6px;
  border-color: #167bea;
  background: linear-gradient(110deg, #2c75ea, #14bfc3);
  color: #fff;
  box-shadow: 0 8px 20px rgba(30, 126, 205, .22);
}

.article-reader__speed-listening span {
  font-size: 10px;
}

.article-reader__tools .article-reader__speed-listening:hover,
.article-reader__tools .article-reader__speed-listening:focus-visible,
.article-reader__tools .article-reader__speed-listening.is-active {
  border-color: #0f9e8f;
  background: linear-gradient(110deg, #236ddd, #0eb49f);
  color: #fff;
}

.article-reader__speed-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  bottom: calc(100% + 8px);
  width: min(420px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5px;
  padding: 8px;
  border: 1px solid #cbd8e8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(35, 56, 82, .18);
}

.article-reader__speed-menu[hidden] {
  display: none;
}

.article-reader__tools .article-reader__speed-menu button {
  min-width: 0;
  min-height: 48px;
  padding: 6px 4px;
  border-radius: 7px;
  color: #176fd0;
  font-size: 11px;
  line-height: 1.25;
  white-space: normal;
}

.article-reader__tools .article-reader__speed-menu button:hover,
.article-reader__tools .article-reader__speed-menu button:focus-visible,
.article-reader__tools .article-reader__speed-menu button.is-active {
  border-color: #176fd0;
  background: #176fd0;
  color: #fff;
}

.article-reader__lecture-speed-control .article-reader__speed-menu {
  right: 0;
  left: auto;
}

.article-reader__tools .article-reader__lecture-speed-menu button {
  color: #7041d0;
}

.article-reader__tools .article-reader__lecture-speed-menu button:hover,
.article-reader__tools .article-reader__lecture-speed-menu button:focus-visible,
.article-reader__tools .article-reader__lecture-speed-menu button.is-active {
  border-color: #7041d0;
  background: #7041d0;
  color: #fff;
}

@media (max-width: 600px) {
  .article-reader__article-speed-control .article-reader__speed-menu {
    left: -36px;
  }

  .article-reader__lecture-speed-control .article-reader__speed-menu {
    width: min(290px, calc(100vw - 32px));
  }
}

.article-reader__tools .article-reader__article-listen {
  min-width: 98px;
  gap: 5px;
  border-color: rgba(22, 123, 234, .42);
  background: #f5f9ff;
  color: #176fd0;
}

.article-reader__article-listen [data-reader-article-audio-icon] {
  width: 16px;
  font-size: 16px;
  line-height: 1;
}

.article-reader__tools .article-reader__article-listen:hover,
.article-reader__tools .article-reader__article-listen:focus-visible,
.article-reader__tools .article-reader__article-listen.is-playing,
.article-reader__tools .article-reader__article-listen.is-paused {
  border-color: #176fd0;
  background: #176fd0;
  color: #fff;
}

.article-reader__tools .article-reader__article-listen.is-playing {
  box-shadow: 0 8px 20px rgba(23, 111, 208, .2);
}

.article-reader__tools .article-reader__audio-lecture {
  min-width: 132px;
  gap: 5px;
  border-color: rgba(122, 77, 219, .4);
  background: #faf7ff;
  color: #7041d0;
}

.article-reader__audio-lecture [data-reader-audio-lecture-icon] {
  width: 16px;
  font-size: 16px;
  line-height: 1;
}

.article-reader__tools .article-reader__audio-lecture:hover,
.article-reader__tools .article-reader__audio-lecture:focus-visible,
.article-reader__tools .article-reader__audio-lecture.is-playing,
.article-reader__tools .article-reader__audio-lecture.is-paused {
  border-color: #7041d0;
  background: #7041d0;
  color: #fff;
}

.article-reader__tools .article-reader__audio-lecture.is-playing {
  box-shadow: 0 8px 20px rgba(112, 65, 208, .22);
}

.article-reader__tool-group--utility .article-reader__tool-options {
  gap: 4px;
}

.article-reader__tool-group--utility .article-reader__print {
  position: relative;
  margin-left: 3px;
}

.article-reader__tool-group--utility .article-reader__print::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: -5px;
  width: 1px;
  background: #e3e7ed;
}

.article-reader__tool-group--learning-view .article-reader__tool-options {
  gap: 4px;
}

.article-reader__tool-group--learning-view .article-reader__tool-options > * {
  min-height: 36px;
  padding-inline: 6px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 10px;
}

.article-reader__tool-group--learning-view .article-reader__tool-options > * + * {
  margin-left: 0;
}

.article-reader__tools .article-reader__translation-toggle.is-active {
  border-color: var(--reader-accent);
  background: var(--reader-accent);
  color: #fff;
}

.article-reader__tools .article-reader__translation-toggle {
  gap: 6px;
}

.article-reader__audio-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-reader__newspaper span {
  font-size: 17px;
  line-height: 1;
}

.article-reader__tools button:hover,
.article-reader__tools button:focus-visible,
.article-reader__tools a:hover,
.article-reader__tools a:focus-visible {
  border-color: var(--reader-accent);
  color: var(--reader-accent);
}

.article-reader__sections {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.article-reader__section-card {
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: linear-gradient(180deg, #fff, #fafbfc);
  box-shadow: none;
}

.article-reader__section-photo {
  width: min(100%, 800px);
  overflow: hidden;
  margin: 0 auto;
  background: #e8edf4;
}

.article-reader__section-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 53 / 30;
  object-fit: cover;
}

.article-reader__section-photo figcaption {
  padding: 10px 12px;
  background: #172133;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
}

.article-reader__section-photo figcaption:empty {
  display: none;
}

.article-reader__section-copy {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 30px) clamp(24px, 6vw, 68px) clamp(38px, 6vw, 70px);
}

.article-reader__section-copy > span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(var(--reader-accent-rgb), .1);
  color: var(--reader-accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
}

.article-reader__section-copy h2 {
  margin: 10px 0 17px;
  color: #202b3d;
  font-size: 19px;
  letter-spacing: -.025em;
}

.article-reader__section-copy p {
  margin: 0 0 1.35em;
  color: #28384d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--reader-font-size);
  line-height: 1.88;
}

.article-reader__section-copy p:last-child {
  margin-bottom: 0;
}

.article-reader__section-copy .article-reader__english-paragraph:has(+ .article-reader__translation:not([hidden])) {
  margin-bottom: .72em;
}

.article-reader__section-copy .article-reader__translation {
  position: relative;
  margin: 0 0 1.55em;
  padding: 18px 20px 18px 46px;
  border: 1px solid rgba(var(--reader-accent-rgb), .18);
  border-radius: 12px;
  background: rgba(var(--reader-accent-rgb), .055);
  color: #405066;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  font-size: max(16px, calc(var(--reader-font-size) - 2px));
  font-weight: 520;
  line-height: 1.78;
  letter-spacing: -.018em;
  word-break: keep-all;
}

.article-reader__section-copy .article-reader__translation::before {
  content: "해석";
  position: absolute;
  top: 20px;
  left: 13px;
  color: var(--reader-accent);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: .06em;
}

.article-reader__lookup-word {
  appearance: none;
  display: inline;
  padding: 0;
  border: 0;
  border-radius: .18em;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  vertical-align: baseline;
  cursor: pointer;
  transition: box-shadow .14s ease;
}

.article-reader__lookup-word:not(.article-reader__keyword):hover {
  background: rgba(var(--reader-accent-rgb), .09);
  box-shadow: 0 0 0 .1em rgba(var(--reader-accent-rgb), .09);
}

.article-reader__lookup-word:focus-visible {
  outline: 3px solid rgba(var(--reader-accent-rgb), .25);
  outline-offset: 2px;
}

.article-reader__lookup-word.is-word-covered {
  border-radius: .2em;
  background: #34465b;
  color: transparent !important;
  box-shadow: inset 0 0 0 1px rgba(12, 26, 43, .22), 0 .08em .18em rgba(12, 26, 43, .16);
  text-decoration-color: transparent !important;
  text-shadow: none !important;
}

.article-reader__lookup-word.is-word-covered * {
  color: transparent !important;
  text-decoration-color: transparent !important;
  text-shadow: none !important;
  transition: none !important;
}

.article-reader__lookup-word.is-word-covered:hover,
.article-reader__lookup-word.is-word-covered:focus-visible {
  background: #40566f;
  box-shadow: inset 0 0 0 2px rgba(20, 110, 210, .38), 0 .08em .18em rgba(12, 26, 43, .2);
}

.article-reader__keyword {
  border-radius: 0;
  color: var(--reader-accent);
  font-weight: 800;
  text-decoration-line: underline;
  text-decoration-color: var(--reader-accent);
  text-decoration-thickness: .11em;
  text-underline-offset: .17em;
}

.article-reader__keyword:hover,
.article-reader__keyword:focus-visible {
  text-decoration-thickness: .16em;
}

.article-reader__sentence {
  position: relative;
  border-radius: .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: background-color .22s ease, box-shadow .22s ease;
}

.article-reader__sentence.is-lecture-current {
  background-color: rgba(var(--reader-accent-rgb), .1);
  box-shadow: inset 0 -.16em 0 rgba(var(--reader-accent-rgb), .48);
}

.article-reader__sentence.is-lecture-reading {
  background-color: rgba(var(--reader-accent-rgb), .18);
  box-shadow: inset 0 -.24em 0 rgba(var(--reader-accent-rgb), .82), 0 0 0 2px rgba(var(--reader-accent-rgb), .16);
}

.article-reader__sentence.is-lecture-current::before {
  content: "➜";
  position: absolute;
  left: -1.65em;
  top: -.04em;
  color: var(--reader-accent);
  font-family: Arial, sans-serif;
  font-size: .92em;
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 2px 9px rgba(var(--reader-accent-rgb), .24);
  animation: article-lecture-arrow 1.05s ease-in-out infinite alternate;
}

body.is-lecture-following-paused .article-reader__sentence.is-lecture-current::before {
  animation-play-state: paused;
}

.article-reader__spoken-word.is-grammar-focus,
.article-reader__lookup-word.is-grammar-focus {
  color: #c91f42 !important;
  background: rgba(201, 31, 66, .1);
  box-shadow: inset 0 -.14em 0 rgba(201, 31, 66, .62);
  text-decoration-color: #c91f42 !important;
  text-decoration-thickness: .13em;
  text-underline-offset: .16em;
}

.article-reader__spoken-word.is-grammar-pulse,
.article-reader__lookup-word.is-grammar-pulse {
  animation: article-grammar-focus-pulse .78s ease-in-out 3;
}

body.is-lecture-following-paused .is-grammar-pulse {
  animation-play-state: paused;
}

.article-reader__inline-grammar {
  width: min(760px, calc(100% - 1rem));
  margin: 1rem 0 1.2rem .2rem;
  padding: 15px 16px;
  display: grid;
  gap: 12px;
  box-sizing: border-box;
  border: 1px solid rgba(201, 31, 66, .3);
  border-left: 5px solid #c91f42;
  border-radius: 14px;
  color: #263752;
  background: #fff7f9;
  box-shadow: 0 12px 28px rgba(84, 26, 46, .1);
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  animation: article-grammar-panel-in .26s ease-out both;
}

.article-reader__inline-grammar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-reader__inline-grammar-heading b {
  color: #c91f42;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .11em;
}

.article-reader__inline-grammar-heading small {
  color: #7d4152;
  font-size: 11px;
  font-weight: 800;
}

.article-reader__inline-grammar-body {
  display: grid;
  gap: 9px;
}

.article-reader__inline-grammar-item {
  padding: 10px 12px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(201, 31, 66, .16);
  border-radius: 11px;
  background: #fff;
}

.article-reader__inline-grammar-item > span:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.article-reader__inline-grammar-item b {
  color: #b71838;
  font-size: 14px;
}

.article-reader__inline-grammar-item em {
  color: #c91f42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-underline-offset: .16em;
}

.article-reader__inline-grammar-item .article-reader__grammar-structure,
.article-reader__inline-grammar-item .article-reader__grammar-explanation {
  display: block;
}

.article-reader__inline-grammar-item .article-reader__grammar-structure {
  color: #5f2c3b;
  font-size: 12px;
  font-weight: 900;
}

.article-reader__inline-grammar-item .article-reader__grammar-explanation {
  color: #46566d;
  font-size: 12px;
}

.article-reader__inline-grammar-detail {
  min-height: 36px;
  justify-self: end;
  padding: 0 14px;
  border: 1px solid #c91f42;
  border-radius: 999px;
  color: #fff;
  background: #c91f42;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.article-reader__inline-grammar-detail:hover,
.article-reader__inline-grammar-detail:focus-visible {
  color: #9e1530;
  outline: 3px solid rgba(201, 31, 66, .18);
  outline-offset: 2px;
  background: #fff;
}

.article-reader__lecture-script-toggle {
  display: none;
  min-height: 2.05rem;
  margin: .18rem .28rem .18rem .55rem;
  padding: 0 .72rem;
  border: 1px solid rgba(244, 123, 66, .55);
  border-radius: 999px;
  color: #e7652f;
  background: #fff8f3;
  vertical-align: .12em;
  cursor: pointer;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: .7rem;
  font-weight: 900;
  line-height: 1;
}

body.is-lecture-following .article-reader__sentence.is-lecture-current + .article-reader__lecture-script-toggle {
  width: fit-content;
  margin: .35rem 0 .72rem .55rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-reader__lecture-script-toggle:hover,
.article-reader__lecture-script-toggle:focus-visible {
  color: #fff;
  border-color: #ef7139;
  outline: none;
  background: #ef7139;
}

.article-reader__lecture-script-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(780px, calc(100dvh - 32px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  color: #172743;
  background: #fff;
  box-shadow: 0 28px 80px rgba(20, 28, 58, .28);
}

.article-reader__lecture-script-dialog::backdrop {
  background: rgba(18, 25, 50, .62);
  backdrop-filter: blur(4px);
}

.article-reader__lecture-script-card {
  max-height: min(780px, calc(100dvh - 32px));
  padding: 24px;
  overflow-y: auto;
}

.article-reader__lecture-script-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e3e7f0;
}

.article-reader__lecture-script-card > header span {
  color: var(--reader-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .12em;
}

.article-reader__lecture-script-card > header h2 {
  margin: 5px 0 0;
  color: #172743;
  font-size: 24px;
  letter-spacing: -.04em;
}

.article-reader__lecture-script-card > header button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid #dce2ec;
  border-radius: 50%;
  color: #4e5c73;
  background: #f6f8fb;
  cursor: pointer;
  font-size: 22px;
}

.article-reader__lecture-script-count {
  margin: 16px 0 10px;
  color: var(--reader-accent);
  font-size: 12px;
  font-weight: 900;
}

.article-reader__lecture-script-card > section {
  margin-top: 10px;
  padding: 15px 16px;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
  background: #f8f9fc;
}

.article-reader__lecture-script-card > section > span {
  color: #69758b;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .09em;
}

.article-reader__lecture-script-card > section > p {
  margin: 8px 0 0;
  color: #233652;
  font-size: 16px;
  line-height: 1.7;
}

.article-reader__lecture-script-card > section > p[lang="en"] {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.article-reader__lecture-script-focus {
  padding: .02em .12em .06em;
  border-radius: .22em;
  color: #b71838;
  background: rgba(201, 31, 66, .11);
  box-shadow: inset 0 -.13em 0 rgba(201, 31, 66, .55);
  font-weight: 800;
}

.article-reader__lecture-script-keywords > div {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-reader__lecture-script-keywords > div > span {
  padding: 8px 10px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(var(--reader-accent-rgb), .24);
  border-radius: 10px;
  background: #fff;
}

.article-reader__lecture-script-keywords b { color: var(--reader-accent); font-size: 14px; }
.article-reader__lecture-script-keywords small { color: #56667e; font-size: 12px; }
.article-reader__lecture-script-grammar {
  border-color: rgba(201, 31, 66, .28) !important;
  background: #fff7f9 !important;
}

.article-reader__lecture-script-grammar > span {
  color: #b71838 !important;
}

.article-reader__lecture-script-grammar > div {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.article-reader__lecture-grammar-item {
  padding: 12px 13px;
  border: 1px solid rgba(201, 31, 66, .18);
  border-radius: 11px;
  background: #fff;
}

.article-reader__lecture-grammar-item > header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
}

.article-reader__lecture-grammar-item > header b {
  color: #a91432;
  font-size: 14px;
}

.article-reader__lecture-grammar-item > header em {
  color: #c91f42;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-underline-offset: .16em;
}

.article-reader__lecture-grammar-item .article-reader__grammar-structure {
  margin: 8px 0 0;
  color: #663143;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.55;
}

.article-reader__lecture-grammar-item .article-reader__grammar-explanation {
  margin: 5px 0 0;
  color: #42536b;
  font-size: 13px;
  line-height: 1.65;
}

.article-reader__lecture-script-empty { color: #78849a; font-size: 13px; }
.article-reader__lecture-script-note { margin: 14px 2px 0; color: #7c8799; font-size: 11px; line-height: 1.55; }

@keyframes article-lecture-arrow {
  from { transform: translateX(-2px); opacity: .72; }
  to { transform: translateX(3px); opacity: 1; }
}

@keyframes article-grammar-focus-pulse {
  0%, 100% {
    color: #c91f42;
    background: rgba(201, 31, 66, .1);
    box-shadow: inset 0 -.14em 0 rgba(201, 31, 66, .62);
  }
  50% {
    color: #fff;
    background: #c91f42;
    box-shadow: 0 0 0 .2em rgba(201, 31, 66, .2);
  }
}

@keyframes article-grammar-panel-in {
  from { transform: translateY(-7px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.article-reader__keyword:focus-visible {
  border-radius: 2px;
  outline: 3px solid rgba(var(--reader-accent-rgb), .25);
  outline-offset: 3px;
}

.article-reader__spoken-word {
  margin: 0 -.03em;
  padding: .05em .08em .08em;
  border-radius: .24em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  transition: color 90ms linear, background-color 90ms linear, box-shadow 90ms linear;
}

.article-reader__spoken-word.is-audio-active {
  color: #10265e;
  background: #ffe45f;
  box-shadow: 0 0 0 .13em rgba(255, 190, 32, .25), 0 .1em .3em rgba(122, 76, 0, .2);
  text-decoration-color: #10265e;
  animation: article-reader-word-flash var(--reader-word-duration, .45s) ease-out 1;
}

@keyframes article-reader-word-flash {
  0% {
    color: #fff;
    background: #1769e0;
    box-shadow: 0 0 0 .22em rgba(23, 105, 224, .22);
  }
  42% {
    color: #10265e;
    background: #fff48c;
  }
  100% {
    color: #10265e;
    background: #ffe45f;
    box-shadow: 0 0 0 .13em rgba(255, 190, 32, .25), 0 .1em .3em rgba(122, 76, 0, .2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-reader__sentence {
    transition: none;
  }

  .article-reader__sentence.is-lecture-current::before {
    animation: none;
  }

  .article-reader__spoken-word {
    transition: none;
  }

  .article-reader__spoken-word.is-audio-active {
    animation: none;
  }

  .article-reader__spoken-word.is-grammar-pulse,
  .article-reader__lookup-word.is-grammar-pulse,
  .article-reader__inline-grammar {
    animation: none;
  }
}

@media (max-width: 600px) {
  .article-reader__lecture-script-card { padding: 18px; }
  .article-reader__lecture-script-card > header h2 { font-size: 21px; }
  .article-reader__lecture-script-card > section > p[lang="en"] { font-size: 16px; }
  .article-reader__inline-grammar { width: 100%; margin-left: 0; padding: 13px; }
  .article-reader__inline-grammar-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
}

@media print {
  .article-reader__lecture-script-toggle,
  .article-reader__inline-grammar,
  .article-reader__lecture-script-dialog { display: none !important; }
}

body.is-article-word-modal-open {
  overflow: hidden;
}

body.is-article-print-options-open {
  overflow: hidden;
}

.article-print-options[hidden] {
  display: none !important;
}

.article-print-options {
  position: fixed;
  z-index: 760;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.article-print-options__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(15, 24, 41, .66);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.article-print-options__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  padding: 42px;
  border: 1px solid rgba(var(--reader-accent-rgb), .25);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 24, 41, .3);
}

.article-print-options__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid #d7deea;
  border-radius: 50%;
  color: #26354a;
  background: #fff;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.article-print-options__eyebrow {
  color: var(--reader-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.article-print-options__dialog h2 {
  margin: 9px 48px 8px 0;
  color: #172133;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
}

.article-print-options__dialog > p {
  margin: 0;
  color: #617086;
  font-size: 14px;
  line-height: 1.65;
}

.article-print-options__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.article-print-options__choices > button {
  min-width: 0;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 19px 17px;
  border: 1px solid #d9e1ec;
  border-radius: 15px;
  color: #26354a;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.article-print-options__choices > button:hover,
.article-print-options__choices > button:focus-visible {
  border-color: var(--reader-accent);
  outline: 3px solid rgba(var(--reader-accent-rgb), .14);
  outline-offset: 2px;
}

.article-print-options__choices > button:disabled {
  opacity: .58;
  cursor: wait;
}

.article-print-options__choice-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--reader-accent);
  background: rgba(var(--reader-accent-rgb), .1);
  font-size: 24px;
}

.article-print-options__choices strong,
.article-print-options__choices small {
  display: block;
}

.article-print-options__choices strong {
  color: #1c2b40;
  font-size: 15px;
  line-height: 1.35;
}

.article-print-options__choices small {
  margin-top: 5px;
  color: #738095;
  font-size: 12px;
  line-height: 1.5;
}

.article-print-options__dialog .article-print-options__status {
  min-height: 22px;
  margin-top: 18px;
  color: var(--reader-accent);
  font-size: 12px;
  font-weight: 750;
}

@media (max-width: 620px) {
  .article-print-options__dialog {
    padding: 34px 20px 26px;
    border-radius: 18px;
  }

  .article-print-options__choices {
    grid-template-columns: 1fr;
  }
}

.article-word-modal[hidden] {
  display: none !important;
}

.article-word-modal [hidden] {
  display: none !important;
}

.article-word-modal {
  position: fixed;
  z-index: 720;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.article-word-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(15, 24, 41, .66);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.article-word-modal__card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(760px, calc(100dvh - 44px));
  display: grid;
  grid-template-columns: 1fr;
  overflow: auto;
  border: 1px solid rgba(var(--reader-accent-rgb), .28);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 24, 41, .3);
}

.article-word-modal__card:has(.article-word-modal__media:not([hidden])) {
  width: min(920px, 100%);
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
}

.article-word-modal__media {
  min-height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  border-right: 1px solid rgba(var(--reader-accent-rgb), .16);
  background: #fff;
}

.article-word-modal__media img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 720px) {
  .article-word-modal__card:has(.article-word-modal__media:not([hidden])) {
    grid-template-columns: 1fr;
  }

  .article-word-modal__media {
    min-height: 0;
    max-height: 42dvh;
    padding: 18px 24px 0;
    border-right: 0;
  }
}

.article-word-modal__close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 1px solid rgba(var(--reader-accent-rgb), .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: #26354a;
  font: inherit;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.article-word-modal__close:hover,
.article-word-modal__close:focus-visible {
  border-color: var(--reader-accent);
  color: var(--reader-accent);
  outline: none;
}

.article-word-modal__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(34px, 7vw, 64px) 54px;
}

.article-word-modal__eyebrow {
  color: var(--reader-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
}

.article-word-modal__copy h2 {
  margin: 12px 0 24px;
  color: #172133;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.article-word-modal__copy h2.is-long-word {
  font-size: clamp(38px, 4.7vw, 54px);
}

.article-word-modal__meaning {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--reader-accent);
  background: rgba(var(--reader-accent-rgb), .08);
}

.article-word-modal__meaning span {
  color: #7a8493;
  font-size: 11px;
  font-weight: 850;
}

.article-word-modal__meaning strong {
  color: #26354a;
  font-size: 22px;
  line-height: 1.4;
}

.article-word-modal__speak {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 24px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: var(--reader-accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}

.article-word-modal__speak:hover,
.article-word-modal__speak:focus-visible {
  filter: brightness(.94);
  outline: 3px solid rgba(var(--reader-accent-rgb), .25);
  outline-offset: 3px;
}

.article-word-modal__speak span {
  font-size: 20px;
}

.article-word-modal__audio-status {
  min-height: 38px;
  margin: 13px 0 0;
  color: #778294;
  font-size: 12px;
  line-height: 1.55;
}

.article-learning-tab {
  position: fixed;
  z-index: 170;
  top: 50%;
  left: 0;
  width: 60px;
  height: 168px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 0 11px;
  border: 0;
  border-radius: 0 21px 21px 0;
  color: #fff;
  background: var(--reader-accent);
  box-shadow: 8px 10px 24px rgba(var(--reader-accent-rgb), .26);
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity .2s ease, transform .25s ease;
}

.article-learning-tab__label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.article-learning-tab__arrow {
  display: block;
  margin-left: -2px;
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
}

.article-learning-drawer {
  position: fixed;
  z-index: 300;
  inset: 0 auto 0 0;
  width: clamp(286px, 20vw, 320px);
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.1dvh, 10px);
  padding: max(18px, env(safe-area-inset-top)) 18px max(14px, env(safe-area-inset-bottom));
  overflow: hidden;
  color: #fff;
  border-right: 3px solid var(--reader-accent);
  background:
    radial-gradient(circle at 0 0, rgba(var(--reader-accent-rgb), .72), transparent 44%),
    linear-gradient(155deg, color-mix(in srgb, var(--reader-accent) 62%, #111833), #111833 76%);
  box-shadow: 22px 0 52px rgba(var(--reader-accent-rgb), .25);
  transform: translateX(-102%);
  transition: transform .28s ease;
}

body.is-article-learning-menu-open .article-learning-drawer {
  transform: translateX(0);
}

body.is-article-learning-menu-open .article-learning-tab {
  opacity: 0;
  pointer-events: none;
  transform: translate(-14px, -50%);
}

.article-learning-drawer__header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 6px;
}

.article-learning-drawer__header span {
  color: color-mix(in srgb, var(--reader-accent) 42%, #fff);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .14em;
}

.article-learning-drawer__header h2 {
  margin: 5px 0 0;
  font-size: 24px;
}

.article-learning-drawer__header button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #c7cde0;
  background: rgba(255, 255, 255, .05);
  font-size: 24px;
  cursor: pointer;
}

.article-learning-drawer__header button:hover,
.article-learning-drawer__header button:focus-visible {
  border-color: var(--reader-accent);
  background: rgba(var(--reader-accent-rgb), .28);
}

.article-learning-drawer__reading,
.article-learning-drawer__stages button {
  width: 100%;
  min-width: 0;
  display: grid;
  align-items: center;
  border: 0;
  border-radius: 13px;
  color: #aeb7d2;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.article-learning-drawer__reading {
  flex: 0 0 auto;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: rgba(var(--reader-accent-rgb), .13);
}

.article-learning-drawer__reading > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(var(--reader-accent-rgb), .22);
}

.article-learning-drawer__reading div,
.article-learning-drawer__stages button div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.article-learning-drawer__reading b,
.article-learning-drawer__stages button b {
  color: #e5e8f2;
  font-size: 14px;
}

.article-learning-drawer__reading small,
.article-learning-drawer__stages button small {
  overflow: hidden;
  color: #7883a6;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-learning-drawer__stages {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(8, minmax(58px, 1fr));
  gap: clamp(3px, .75dvh, 7px);
  align-content: stretch;
  overflow-y: auto;
  padding: 2px 0;
  scrollbar-width: thin;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}

.article-learning-drawer__stages button {
  min-height: 58px;
  grid-template-columns: 44px minmax(0, 1fr) 15px;
  gap: 11px;
  padding: 9px 12px;
}

@media (max-height: 720px) {
  .article-learning-drawer {
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .article-learning-drawer__header {
    margin-bottom: 2px;
  }

  .article-learning-drawer__header h2 {
    margin-top: 2px;
    font-size: 20px;
  }

  .article-learning-drawer__header button {
    width: 34px;
    height: 34px;
  }

  .article-learning-drawer__reading {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 8px 10px;
  }

  .article-learning-drawer__reading > span,
  .article-learning-drawer__stages button > span {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .article-learning-drawer__stages {
    grid-template-rows: repeat(8, minmax(50px, 1fr));
    gap: 2px;
  }

  .article-learning-drawer__stages button {
    min-height: 50px;
    grid-template-columns: 38px minmax(0, 1fr) 12px;
    gap: 9px;
    padding: 6px 10px;
  }
}

.article-learning-drawer__stages button > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(var(--reader-accent-rgb), .2);
  font-size: 11px;
  font-weight: 950;
}

.article-learning-drawer__stages button > i {
  color: #596483;
  font-style: normal;
}

.article-learning-drawer__reading:hover,
.article-learning-drawer__stages button:hover {
  color: #fff;
  background: rgba(var(--reader-accent-rgb), .24);
}

.article-learning-drawer__reading.is-active,
.article-learning-drawer__stages button.is-active {
  color: #fff;
  background: linear-gradient(105deg, color-mix(in srgb, var(--reader-accent) 76%, #fff), var(--reader-accent));
  box-shadow: 0 11px 26px rgba(var(--reader-accent-rgb), .38);
}

.article-learning-drawer__reading.is-active b,
.article-learning-drawer__reading.is-active small,
.article-learning-drawer__stages button.is-active b,
.article-learning-drawer__stages button.is-active small,
.article-learning-drawer__stages button.is-active > i {
  color: #fff;
}

.article-learning-drawer__reading.is-active > span,
.article-learning-drawer__stages button.is-active > span {
  background: rgba(255, 255, 255, .17);
}

.article-learning-player {
  display: none;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.article-reader.is-learning-active {
  max-width: 1200px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-reader.is-learning-active > :not(.article-learning-player) {
  display: none !important;
}

.article-reader.is-learning-active .article-learning-player {
  display: block;
}

.article-learning-player__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #10162f;
}

.article-learning-player__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.article-learning-player__close {
  display: none;
}

body.is-article-dictation-active {
  overflow: hidden;
}

body.is-article-dictation-active .article-learning-player {
  position: fixed;
  z-index: 2100;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background: #e6e8eb;
}

body.is-article-dictation-active .article-learning-player__frame {
  width: 100%;
  height: 100dvh;
  min-height: 0;
  aspect-ratio: auto;
  background: #e6e8eb;
}

body.is-article-dictation-active .article-learning-player__close {
  position: fixed;
  z-index: 2110;
  top: 14px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(16, 22, 47, .35);
  border-radius: 2px;
  color: #fff;
  background: #172033;
  box-shadow: 0 8px 24px rgba(17, 25, 42, .2);
  font: 800 13px/1 "Pretendard", "Noto Sans KR", sans-serif;
  cursor: pointer;
}

body.is-article-dictation-active .article-learning-player__close span {
  font-size: 20px;
  font-weight: 400;
}

body.is-article-dictation-active .article-learning-player__close:hover,
body.is-article-dictation-active .article-learning-player__close:focus-visible {
  color: #172033;
  background: #fffdf8;
}

body.is-article-learning-active .article-progress,
body.is-article-learning-active .commercial-footer {
  display: none;
}

@media (min-width: 1200px) {
  body.is-article-learning-menu-open .article-reader {
    transform: translateX(clamp(118px, 9vw, 154px));
  }
}

.article-reader__finish {
  max-width: 760px;
  margin: 54px auto 0;
  padding: 34px;
  border: 1px solid rgba(var(--reader-accent-rgb), .16);
  background: rgba(var(--reader-accent-rgb), .055);
  text-align: center;
}

.article-reader__finish span {
  color: var(--reader-accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
}

.article-reader__finish h2 {
  margin: 12px 0 18px;
  color: #202a3a;
  font-size: 21px;
}

.article-reader__finish a,
.article-reader__back {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  padding: 0 18px;
  border-radius: 5px;
  background: var(--reader-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.article-reader__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 980px;
  margin: 50px auto 0;
  padding-top: 28px;
  border-top: 1px solid #dfe3e9;
}

.article-reader__pager-link,
.article-reader__pager-empty {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 23px;
  border: 1px solid #dfe3e9;
  color: #273245;
  text-decoration: none;
}

.article-reader__pager-link.is-next,
.article-reader__pager-empty.is-next {
  align-items: flex-end;
  text-align: right;
}

.article-reader__pager-link span {
  margin-bottom: 7px;
  color: var(--reader-accent);
  font-size: 11px;
  font-weight: 900;
}

.article-reader__pager-link strong {
  max-width: 380px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.3;
}

.article-reader__pager-link:hover {
  border-color: var(--reader-accent);
  background: rgba(var(--reader-accent-rgb), .035);
}

.article-reader__pager-empty {
  color: #9aa2ad;
  font-size: 12px;
}

.article-reader--missing {
  min-height: 480px;
  display: grid;
  place-content: center;
  text-align: center;
}

.article-reader--missing h1 {
  margin: 6px 0 10px;
  font-size: 42px;
}

.article-reader--missing p {
  color: #6e7888;
}

@media (max-width: 820px) {
  .article-word-modal {
    align-items: end;
    padding: 12px;
  }

  .article-word-modal__card {
    width: 100%;
    max-height: calc(100dvh - 24px);
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .article-word-modal__copy {
    padding: 32px 26px 28px;
  }

  .article-word-modal__copy h2 {
    margin-bottom: 19px;
    font-size: clamp(40px, 13vw, 58px);
  }

  .article-reader {
    margin-bottom: 30px;
    padding: 24px 20px 36px;
    border-inline: 0;
    box-shadow: none;
  }

  .article-reader__breadcrumb {
    margin-bottom: 30px;
  }

  .article-reader__header h1 {
    font-size: clamp(38px, 12vw, 58px);
  }

  .article-reader__tools {
    grid-template-columns: 1fr;
    grid-template-areas:
      "audio"
      "utility"
      "learning";
    align-items: stretch;
    gap: 15px;
    padding: 15px;
  }

  .article-reader__tool-group {
    flex: 1 1 auto;
  }

  .article-reader__tool-group:not(:last-child)::after {
    display: none;
  }

  .article-reader__tool-group--audio,
  .article-reader__tool-group--utility,
  .article-reader__tool-group--learning-view {
    width: 100%;
    justify-self: stretch;
  }

  .article-reader__tool-group--audio .article-reader__tool-options,
  .article-reader__tool-group--learning-view .article-reader__tool-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-reader__tool-group--audio .article-reader__tool-options > *,
  .article-reader__tool-group--learning-view .article-reader__tool-options > * {
    width: 100%;
    min-width: 0;
  }

  .article-reader__speed-control > button {
    width: 100%;
    min-width: 0;
  }

  .article-reader__tool-group--utility .article-reader__tool-options {
    width: fit-content;
    max-width: 100%;
  }

  .article-reader__sections {
    --reader-font-size: 18px;
  }

  .article-reader__section-photo img {
    aspect-ratio: 53 / 30;
  }

  .article-reader__section-copy {
    padding: 28px 20px 38px;
  }

  .article-learning-drawer {
    width: min(82vw, 340px);
    padding: 16px 14px 14px;
    gap: 6px;
  }

  .article-learning-drawer__header {
    margin-bottom: 4px;
  }

  .article-learning-drawer__reading {
    min-height: 58px;
    padding: 9px 10px;
  }

  .article-learning-drawer__stages {
    flex: 0 1 auto;
    grid-template-rows: repeat(8, 58px);
    gap: 5px;
    align-content: start;
  }

  .article-learning-drawer__stages button {
    min-height: 58px;
    padding: 7px 10px;
  }

  .article-learning-player__frame {
    height: min(82dvh, 760px);
    min-height: 620px;
    aspect-ratio: auto;
  }

  .article-reader.is-learning-active {
    margin-bottom: 20px;
    padding: 0;
  }

  .article-reader__pager {
    grid-template-columns: 1fr;
  }

  .article-reader__pager-link.is-next,
  .article-reader__pager-empty.is-next {
    align-items: flex-start;
    text-align: left;
  }
}

@media (min-width: 821px) and (max-width: 1180px) {
  .article-learning-drawer {
    width: min(340px, calc(100vw - 72px));
    padding: 18px 16px 16px;
    gap: 6px;
  }

  .article-learning-drawer__stages {
    flex: 0 1 auto;
    grid-template-rows: repeat(8, 60px);
    gap: 5px;
    align-content: start;
  }

  .article-learning-drawer__stages button {
    min-height: 60px;
  }
}

/* PC and tablet learning services occupy the full viewport. */
@media screen and (min-width: 768px) {
  body.is-article-learning-active {
    overflow: hidden;
  }

  body.is-article-learning-active .article-reader {
    transform: none !important;
  }

  body.is-article-learning-active .article-learning-tab,
  body.is-article-learning-active .article-learning-drawer {
    visibility: hidden;
    pointer-events: none;
  }

  body.is-article-learning-active .article-learning-player {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: block;
    width: 100vw;
    height: 100dvh;
    overflow: hidden;
    background: #fff;
  }

  body.is-article-learning-active .article-learning-player__frame {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    aspect-ratio: auto;
    background: #fff;
  }

  body.is-article-learning-active .article-learning-player__close {
    position: fixed;
    z-index: 10010;
    top: 14px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(16, 22, 47, .28);
    border-radius: 8px;
    color: #fff;
    background: #172033;
    box-shadow: 0 8px 24px rgba(17, 25, 42, .18);
    font: 800 13px/1 "Pretendard", "Noto Sans KR", sans-serif;
    cursor: pointer;
  }

  body.is-article-learning-active .article-learning-player__close:hover,
  body.is-article-learning-active .article-learning-player__close:focus-visible {
    color: #172033;
    background: #fff;
  }
}

@page {
  size: A4 portrait;
  margin: 14mm 15mm 16mm;
}

@media print {
  .side,
  .topbar,
  .top-utility-wrap,
  .commercial-footer,
  .article-progress,
  .article-learning-tab,
  .article-learning-drawer,
  .article-learning-player,
  .article-card-news,
  .article-print-options,
  .article-reader__breadcrumb,
  .article-reader__tools,
  .article-reader__audio-status,
  .article-reader__finish,
  .article-reader__pager,
  .article-word-modal {
    display: none !important;
  }

  html,
  body {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
  }

  body.theme-article-reader,
  body.theme-article-reader .shell,
  body.theme-article-reader .workspace,
  .article-reader__header,
  .article-reader__sections,
  .article-reader__section-card,
  .article-reader__section-photo,
  .article-reader__section-copy,
  .article-reader__section-copy .article-reader__translation,
  .article-reader {
    background: #fff !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  body.theme-article-reader * {
    text-shadow: none !important;
  }

  body.article-print--without-images .article-reader__section-photo {
    display: none !important;
  }

  body.article-print--with-images .article-reader__section-photo {
    display: block !important;
  }

  .article-reader__lookup-word,
  .article-reader__keyword {
    background: transparent !important;
    color: inherit;
    box-shadow: none !important;
  }

  .article-reader__spoken-word,
  .article-reader__spoken-word.is-audio-active {
    color: inherit;
    background: transparent !important;
    box-shadow: none;
    animation: none;
  }

  .article-reader {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .article-reader__header {
    max-width: none;
    margin: 0 0 8mm;
    padding: 0 0 6mm;
    border-color: #aeb5bf;
  }

  .article-reader__header h1 {
    max-width: none;
    color: #111 !important;
    font-size: 28pt;
    line-height: 1.08;
  }

  .article-reader__kicker span,
  .article-reader__kicker b,
  .article-reader__section-copy > span {
    border: 1px solid #aeb5bf;
    color: #111 !important;
    background: #fff !important;
  }

  .article-reader__section,
  .article-reader__translated-title,
  .article-reader__meta,
  .article-reader__dek,
  .article-reader__section-copy h2,
  .article-reader__section-copy p,
  .article-reader__section-copy .article-reader__translation {
    color: #111 !important;
  }

  .article-reader__sections {
    display: block;
    max-width: none;
    margin: 0;
  }

  .article-reader__section-card {
    overflow: visible;
    border: 0;
    break-inside: auto;
    page-break-inside: auto;
  }

  .article-reader__section-card + .article-reader__section-card {
    margin-top: 8mm;
  }

  .article-reader__section-photo {
    margin: 0 0 5mm;
    border: 1px solid #c7ccd3;
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .article-reader__section-photo img {
    width: 100%;
    max-height: 92mm;
    object-fit: contain;
    background: #fff !important;
  }

  .article-reader__section-photo figcaption {
    padding: 2mm 3mm;
    border-top: 1px solid #c7ccd3;
    color: #111 !important;
    background: #fff !important;
  }

  .article-reader__section-copy {
    max-width: none;
    margin: 0;
    padding: 0 0 7mm;
  }

  body.article-print--without-images .article-reader__section-copy {
    padding-top: 0;
  }

  .article-reader__section-copy > span,
  .article-reader__section-copy h2 {
    break-after: avoid;
    page-break-after: avoid;
  }

  .article-reader__section-copy h2 {
    margin: 3mm 0 4mm;
    font-size: 15pt;
  }

  .article-reader__section-copy p {
    margin-bottom: 4mm;
    font-size: 11pt;
    line-height: 1.56;
    orphans: 3;
    widows: 3;
  }

  .article-reader__section-copy .article-reader__translation {
    padding: 4mm;
    border: 1px solid #b8bec7;
    border-radius: 0;
    font-size: 10pt;
    line-height: 1.55;
  }

  .article-reader__section-copy .article-reader__translation::before {
    display: none;
  }
}

/* Larger article tools across every newspaper edition. */
.article-reader__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 16px;
  padding: 20px 18px;
  align-items: flex-end;
}
.article-reader__tools .article-reader__tool-label { font-size: 13px; line-height: 1.3; }
.article-reader__tools .article-reader__tool-group { gap: 9px; }
.article-reader__tools .article-reader__tool-group--audio { order: 1; }
.article-reader__tools .article-reader__tool-group--learning-view { order: 2; flex: 1 1 440px; }
.article-reader__tools .article-reader__tool-group--utility { order: 3; margin-left: auto; }
.article-reader__tools .article-reader__tool-options { gap: 7px; flex-wrap: wrap; }
.article-reader .article-reader__tools .article-reader__tool-options button,
.article-reader .article-reader__tools .article-reader__tool-options a { min-height: 48px; min-width: 48px; padding: 0 13px; font-size: 15px; }
@media (max-width: 760px) {
  .article-reader__tools { padding: 16px; gap: 18px; }
  .article-reader__tools .article-reader__tool-group--learning-view { flex-basis: 100%; }
  .article-reader__tools .article-reader__tool-group--utility { margin-left: 0; }
  .article-reader .article-reader__tools .article-reader__tool-options button,
  .article-reader .article-reader__tools .article-reader__tool-options a { font-size: 14px; padding-inline: 10px; }
}

/* Keep font sizing and print beside the article breadcrumb. */
.article-reader__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.article-reader__topline .article-reader__breadcrumb { margin: 0; flex: 1 1 220px; }
.article-reader__topline .article-reader__tool-group--utility {
  width: auto;
  flex: 0 0 auto;
  margin-left: auto;
  gap: 7px;
}
.article-reader__topline .article-reader__tool-label { font-size: 12px; line-height: 1.3; text-align: right; }
.article-reader__topline .article-reader__tool-options { gap: 7px; }
.article-reader__topline button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d8dde5;
  border-radius: 8px;
  background: #fff;
  color: #465063;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}
.article-reader__topline button:hover { background: #f2f5f9; border-color: #9daabc; }
.article-reader__topline button:focus-visible { outline: 2px solid var(--reader-accent); outline-offset: 3px; }
.article-reader__topline .article-reader__print { margin-left: 0; }
.article-reader__topline .article-reader__print::before { display: none; }
@media (max-width: 760px) {
  .article-reader__topline { gap: 12px; margin-bottom: 24px; }
  .article-reader__topline .article-reader__breadcrumb { flex-basis: 100%; }
  .article-reader__topline button { min-height: 44px; min-width: 44px; font-size: 14px; }
}
@media print { .article-reader__topline { display: none !important; } }

.article-reader__help {
  position: fixed;
  z-index: 100000;
  box-sizing: border-box;
  width: max-content;
  max-width: min(320px, calc(100vw - 16px));
  padding: 10px 13px;
  border-radius: 8px;
  background: #26364b;
  color: #fff;
  font: 500 14px/1.6 Arial, "Noto Sans KR", sans-serif;
  word-break: keep-all;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 14px #17213326;
  pointer-events: none;
}
.article-reader__help[hidden] { display: none; }
@media print { .article-reader__help { display: none !important; } }

/* Shared learning-menu geometry. Teens/General is the canonical size for all editions.
   Edition styles may change colour/artwork, not these layout dimensions. */
body.theme-article-reader{--fw-menu-width:clamp(286px,20vw,320px);--fw-menu-padding:max(18px,env(safe-area-inset-top)) 18px max(14px,env(safe-area-inset-bottom));--fw-menu-gap:clamp(6px,1.1dvh,10px);--fw-menu-row:58px;--fw-menu-row-gap:clamp(3px,.75dvh,7px);--fw-menu-row-padding:9px 12px;--fw-menu-icon:42px;--fw-menu-column:44px;--fw-menu-inner-gap:11px}
body.theme-article-reader #article-learning-drawer{width:var(--fw-menu-width)!important;max-width:none!important;padding:var(--fw-menu-padding)!important;gap:var(--fw-menu-gap)!important;border-radius:0!important;box-sizing:border-box}
body.theme-article-reader #article-learning-drawer :is(.article-learning-drawer__stages,.kinder-picture-menu){display:grid!important;flex:0 1 auto!important;min-height:0!important;grid-template-columns:1fr!important;grid-template-rows:none!important;grid-auto-rows:var(--fw-menu-row)!important;gap:var(--fw-menu-row-gap)!important;align-content:start!important;overflow-y:auto!important;margin:0!important;padding:2px 0!important;scrollbar-gutter:stable;scrollbar-width:thin}
body.theme-article-reader #article-learning-drawer :is(.article-learning-drawer__stages,.kinder-picture-menu) button{min-height:var(--fw-menu-row)!important;padding:var(--fw-menu-row-padding)!important;column-gap:var(--fw-menu-inner-gap)!important;border-radius:13px!important;box-sizing:border-box}
body.theme-article-reader #article-learning-drawer .kinder-picture-menu button{grid-template-columns:var(--fw-menu-column) minmax(0,1fr)!important;grid-template-rows:auto auto!important;row-gap:3px!important}
body.theme-article-reader #article-learning-drawer .kinder-picture-menu img{width:var(--fw-menu-icon)!important;height:var(--fw-menu-icon)!important;margin:0!important}
body.theme-article-reader #article-learning-drawer .kinder-picture-menu b{font-size:14px!important;letter-spacing:normal!important}body.theme-article-reader #article-learning-drawer .kinder-picture-menu small{font-size:10px!important}
body.theme-article-reader #article-learning-drawer .article-learning-drawer__header{margin-bottom:8px!important}
body.theme-article-reader #article-learning-drawer .article-learning-drawer__header span{font-size:10px!important}
body.theme-article-reader #article-learning-drawer .article-learning-drawer__header h2{font-size:24px!important;margin:5px 0 0!important}
body.theme-article-reader #article-learning-drawer .article-learning-drawer__reading{min-height:0!important;padding:12px!important;margin:0!important;border-radius:13px!important}
@media(max-height:720px){body.theme-article-reader{--fw-menu-padding:max(12px,env(safe-area-inset-top)) 18px max(10px,env(safe-area-inset-bottom));--fw-menu-row:50px;--fw-menu-row-gap:2px;--fw-menu-row-padding:6px 10px;--fw-menu-icon:36px;--fw-menu-column:38px;--fw-menu-inner-gap:9px}body.theme-article-reader #article-learning-drawer .article-learning-drawer__header h2{font-size:20px!important;margin-top:2px!important}body.theme-article-reader #article-learning-drawer .article-learning-drawer__reading{padding:8px 10px!important}}
@media(max-width:820px){body.theme-article-reader{--fw-menu-width:min(82vw,340px);--fw-menu-padding:16px 14px 14px;--fw-menu-gap:6px;--fw-menu-row:58px;--fw-menu-row-gap:5px;--fw-menu-row-padding:7px 10px}body.theme-article-reader #article-learning-drawer :is(.article-learning-drawer__stages,.kinder-picture-menu){flex:0 1 auto!important;grid-template-rows:repeat(8,58px)!important;align-content:start!important}body.theme-article-reader #article-learning-drawer .article-learning-drawer__reading{min-height:58px!important;padding:9px 10px!important}}
@media(min-width:821px) and (max-width:1180px){body.theme-article-reader{--fw-menu-width:min(340px,calc(100vw - 72px));--fw-menu-padding:18px 16px 16px;--fw-menu-gap:6px;--fw-menu-row:60px;--fw-menu-row-gap:5px}body.theme-article-reader #article-learning-drawer :is(.article-learning-drawer__stages,.kinder-picture-menu){flex:0 1 auto!important;grid-template-rows:repeat(8,60px)!important;align-content:start!important}}

/* Shared article player: one viewport owner, across every edition and orientation. */
html body.is-article-learning-active { overflow: hidden !important; }
html body.is-article-learning-active > .article-learning-player {
  position: fixed !important; inset: 0 !important; z-index: 10000 !important;
  display: flex !important; flex-direction: column; box-sizing: border-box;
  width: 100% !important; height: 100dvh !important; max-width: none !important;
  margin: 0 !important; padding: 52px 0 0 !important; overflow: hidden !important;
  background: #f5f7fb; transform: none !important;
}
html body.is-article-learning-active > .article-learning-player > .article-learning-player__frame {
  display: flex; flex: 1 1 0; width: 100% !important; height: auto !important;
  min-width: 0 !important; min-height: 0 !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important; aspect-ratio: auto !important;
}
html body.is-article-learning-active > .article-learning-player iframe {
  display: block !important; flex: 1 1 0; align-self: stretch;
  width: 100% !important; height: 100% !important; min-width: 0 !important;
  max-width: none !important; max-height: none !important; border: 0; margin: 0;
}
html body.is-article-learning-active > .article-learning-player > .article-learning-player__close {
  display: inline-flex !important; position: absolute !important; inset: 6px 12px auto auto !important;
  min-height: 40px !important; height: 40px; z-index: 10010 !important;
}
/* Keep the player's own board; hide the duplicate belonging to the article. */
html body.is-article-learning-active > [id^="fw-annotation-"] { display: none !important; }

/* Balanced article hierarchy across editions; scoped to the reading header only. */
@media screen {
 body.theme-article-reader .article-reader__header h1 {
   font-size: clamp(42px, 6vw, 76px) !important;
   line-height: 1.02;
   letter-spacing: -.045em;
 }
 body.theme-article-reader .article-reader__breadcrumb { margin-bottom: 28px; }
 body.theme-article-reader .article-reader__kicker { margin-bottom: 10px; flex-wrap: wrap; }
 body.theme-article-reader .article-reader__kicker span,
 body.theme-article-reader .article-reader__kicker b {
   font-size: 13px; min-height: 32px; padding: 0 12px; letter-spacing: .04em;
 }
 body.theme-article-reader .article-reader__section {
   font-size: 17px; line-height: 1.4; margin-bottom: 10px;
   color: #36465b;
   color: color-mix(in srgb, var(--reader-accent) 70%, #172133);
 }
}
@media screen and (max-width: 650px) {
 body.theme-article-reader .article-reader__header h1 {font-size: clamp(38px, 12vw, 58px) !important;}
 body.theme-article-reader .article-reader__breadcrumb {margin-bottom: 22px;}
 body.theme-article-reader .article-reader__section {font-size: 16px;}
}
