:root {
  --korea-editorial-ink: #1d2420;
  --korea-editorial-deep: #184a38;
  --korea-editorial-muted: #59645c;
  --korea-editorial-gold: #aa7d2a;
  --korea-editorial-paper: #fffdf7;
  --korea-editorial-soft: #efe6d7;
  --korea-editorial-line: #d5c8b3;
  --korea-editorial-flame: #98271f;
  --korea-editorial-green: #dce6dc;
  --korea-editorial-blue: #173c32;
}

/* Editorial palette derived from the Corée du Nord pillar page. */
.hero,
.meta,
.layout {
  background: var(--korea-editorial-paper) !important;
}

.hero h1 {
  color: var(--korea-editorial-deep) !important;
}

.hero h1 em {
  color: var(--korea-editorial-gold) !important;
}

.hero .sub {
  color: var(--korea-editorial-ink) !important;
  font-weight: 450 !important;
}

.body h2 {
  border-top-color: var(--korea-editorial-gold) !important;
  color: var(--korea-editorial-deep) !important;
}

.body h3,
.body .kicker {
  color: var(--korea-editorial-deep) !important;
}

/* The pillar keeps its complete directory as a compact editorial index. */
.pillar-directory > a.card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--korea-editorial-line) !important;
  border-top: 4px solid var(--korea-editorial-gold) !important;
  border-radius: 6px !important;
  background: var(--korea-editorial-paper) !important;
  box-shadow: 0 4px 14px rgb(29 36 32 / 9%) !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease !important;
}

.pillar-directory > a.card::before {
  z-index: 4;
  background: var(--korea-editorial-flame) !important;
}

.pillar-directory .card__media {
  position: relative;
  display: block !important;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  background: var(--korea-editorial-deep);
}

.pillar-directory .card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.98) !important;
  transform: scale(1);
  transition: filter 0.3s ease, transform 0.3s ease !important;
}

.pillar-directory .card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.05rem 1.1rem 1.15rem;
  background: var(--korea-editorial-paper);
  transition: background-color 0.25s ease;
}

.pillar-directory .card__body > span {
  margin-top: auto;
  padding-top: 0.75rem;
  color: var(--korea-editorial-deep) !important;
}

.pillar-directory > a.card:hover,
.pillar-directory > a.card:focus-visible {
  border-color: var(--korea-editorial-gold) !important;
  background: #e7ede2 !important;
  box-shadow: 0 14px 32px rgb(24 74 56 / 18%), 0 0 0 1px rgb(170 125 42 / 28%) !important;
  transform: translateY(-4px) !important;
}

.pillar-directory > a.card:hover .card__media img,
.pillar-directory > a.card:focus-visible .card__media img {
  filter: saturate(1.04) contrast(1.04) !important;
  transform: scale(1.055);
}

.pillar-directory > a.card:hover .card__body,
.pillar-directory > a.card:focus-visible .card__body {
  background: #e7ede2;
}

.pillar-directory > a.card:hover h3,
.pillar-directory > a.card:focus-visible h3,
.pillar-directory > a.card:hover .card__body > span,
.pillar-directory > a.card:focus-visible .card__body > span {
  color: var(--korea-editorial-flame) !important;
}

.pillar-directory > a.card:focus-visible {
  outline: 2px solid var(--korea-editorial-gold) !important;
  outline-offset: 4px;
}

/* Cover image: the same restrained light treatment as the related cards. */
.article-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--korea-editorial-line) !important;
  border-top: 3px solid var(--korea-editorial-gold) !important;
  border-radius: 0 !important;
  background: var(--korea-editorial-flame) !important;
  box-shadow: 0 4px 16px rgb(34 25 16 / 10%) !important;
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.article-cover::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--korea-editorial-flame);
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s ease;
}

.article-cover img {
  mix-blend-mode: normal;
  filter: saturate(0.86) contrast(0.98) !important;
  transform: scale(1);
  transition: filter 0.3s ease, transform 0.3s ease, mix-blend-mode 0s !important;
}

.article-cover:hover {
  border-color: var(--korea-editorial-gold) !important;
  box-shadow: 0 16px 40px rgb(152 39 31 / 22%), 0 0 0 1px rgb(170 125 42 / 34%) !important;
  transform: translateY(-3px);
}

.article-cover:hover::before {
  transform: scaleX(1);
}

.article-cover:hover img {
  mix-blend-mode: luminosity;
  filter: saturate(1.06) contrast(1.04) !important;
  transform: scale(1.025);
}

/* Contents and navigation blocks. */
@media (width >= 961px) {
  .layout {
    max-width: 1280px !important;
    grid-template-columns: minmax(0, 1fr) 350px !important;
    gap: 3.25rem !important;
  }

  .side,
  .side .sb {
    width: 100%;
    min-width: 0;
  }
}

.side .sb {
  border: 1px solid var(--korea-editorial-line) !important;
  border-top: 4px solid var(--korea-editorial-gold) !important;
  background: var(--korea-editorial-paper) !important;
  box-shadow: 0 8px 22px rgb(34 25 16 / 8%) !important;
}

.side .st {
  border: 0 !important;
  border-bottom: 3px solid var(--korea-editorial-flame) !important;
  background: var(--korea-editorial-green) !important;
  color: var(--korea-editorial-deep) !important;
  letter-spacing: 0 !important;
}

.verdict > .vt {
  border: 0 !important;
  border-bottom: 3px solid var(--korea-editorial-gold) !important;
  background: var(--korea-editorial-deep) !important;
  color: #fff8ea !important;
  letter-spacing: 0 !important;
}

.related > .boxt,
.nextbox > .boxt {
  border: 1px solid var(--korea-editorial-line) !important;
  border-bottom: 3px solid var(--korea-editorial-gold) !important;
  background: #f2eadc !important;
  color: var(--korea-editorial-deep) !important;
  letter-spacing: 0 !important;
}

.side .toc a {
  background: var(--korea-editorial-paper) !important;
  color: #4b3a2b !important;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease !important;
}

.side .toc a:hover,
.side .toc a:focus-visible,
.side .toc a[aria-current="location"] {
  background: #e4ece1 !important;
  color: var(--korea-editorial-ink) !important;
  box-shadow: inset 4px 0 0 var(--korea-editorial-flame);
  outline: none;
}

.side .toc span {
  color: var(--korea-editorial-gold) !important;
}

.side .toc a:hover span,
.side .toc a:focus-visible span,
.side .toc a[aria-current="location"] span {
  color: var(--korea-editorial-flame) !important;
}

.side .note a {
  color: var(--korea-editorial-deep) !important;
  text-decoration-color: rgb(170 125 42 / 55%);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.side .note a:hover,
.side .note a:focus-visible {
  color: var(--korea-editorial-flame) !important;
}

/* Illustrated related links in the sidebar. */
.side .related-list {
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem;
  background: var(--korea-editorial-paper);
}

.side a.related-item {
  position: relative;
  display: grid !important;
  min-height: 112px;
  grid-template-columns: 112px minmax(0, 1fr);
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--korea-editorial-line) !important;
  border-left: 3px solid var(--korea-editorial-gold) !important;
  background: var(--korea-editorial-paper) !important;
  box-shadow: 0 2px 8px rgb(32 28 26 / 8%) !important;
  transform: none !important;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease !important;
}

.side a.related-item::before {
  z-index: 4;
  background: var(--korea-editorial-flame) !important;
}

.related-item__media {
  display: block;
  min-height: 112px;
  overflow: hidden;
  isolation: isolate;
  background: var(--korea-editorial-flame);
}

.related-item__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: saturate(0.84) contrast(0.98);
  transform: scale(1);
  transition: filter 0.25s ease, transform 0.25s ease, mix-blend-mode 0s;
}

.related-item__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.7rem 0.75rem;
  transition: background-color 0.22s ease;
}

.side .related-tag {
  margin-bottom: 0.2rem;
  color: var(--korea-editorial-flame) !important;
  font-size: 0.59rem !important;
  line-height: 1.25;
}

.side .related-item-title {
  overflow-wrap: anywhere;
  color: var(--korea-editorial-ink) !important;
  font-size: 0.82rem !important;
  line-height: 1.3 !important;
}

.side a.related-item:hover,
.side a.related-item:focus-visible {
  border-color: var(--korea-editorial-flame) !important;
  background: #e7ede2 !important;
  box-shadow: 0 10px 24px rgb(24 74 56 / 20%), 0 0 0 1px rgb(170 125 42 / 34%) !important;
  transform: translateY(-2px) !important;
}

.side a.related-item:hover .related-item__content,
.side a.related-item:focus-visible .related-item__content {
  background: #e7ede2;
}

.side a.related-item:hover .related-item__media img,
.side a.related-item:focus-visible .related-item__media img {
  mix-blend-mode: luminosity;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.06);
}

.side a.related-item:hover .related-item-title,
.side a.related-item:focus-visible .related-item-title {
  color: var(--korea-editorial-flame) !important;
}

.side a.related-item:focus-visible {
  outline: 2px solid var(--korea-editorial-flame) !important;
  outline-offset: 3px;
}

/* Verdict. */
.verdict {
  border: 1px solid var(--korea-editorial-line) !important;
  border-left: 5px solid var(--korea-editorial-flame) !important;
  background: var(--korea-editorial-soft) !important;
  box-shadow: 0 9px 24px rgb(34 25 16 / 8%) !important;
}

.verdict .vc {
  background: var(--korea-editorial-soft) !important;
}

.verdict .vc p {
  color: #3f3024 !important;
}

/* Related articles remain individual cards inside an unframed section. */
.related {
  margin: 2.8rem 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.related > .boxc {
  padding: 1rem 0 0 !important;
  background: transparent !important;
}

.related .cards {
  margin: 0 !important;
  gap: 1rem !important;
}

.related .cards > a.card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--korea-editorial-line) !important;
  border-top: 3px solid var(--korea-editorial-gold) !important;
  background: var(--korea-editorial-paper) !important;
  box-shadow: 0 3px 12px rgb(34 25 16 / 8%) !important;
  transform: none !important;
  transition: background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease !important;
}

.related .cards > a.card::before {
  z-index: 4;
  background: var(--korea-editorial-gold) !important;
}

.related .card__media {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
  background: var(--korea-editorial-flame) !important;
}

.related .card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: saturate(0.82) contrast(0.97) !important;
  transform: scale(1) !important;
  transition: filter 0.28s ease, transform 0.28s ease, mix-blend-mode 0s !important;
}

.related .card__tag {
  position: absolute;
  z-index: 2;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--korea-editorial-ink) !important;
  color: #f2eadc !important;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background-color 0.24s ease, color 0.24s ease !important;
}

.related .card__body h3 {
  margin: 0 0 0.35rem !important;
  color: var(--korea-editorial-ink) !important;
  font-family: var(--serif, Georgia, serif) !important;
  font-size: 1.1rem !important;
  line-height: 1.25 !important;
  transition: color 0.24s ease !important;
}

.related .card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.2rem;
  background: var(--korea-editorial-paper);
  transition: background-color 0.24s ease, box-shadow 0.24s ease;
}

.related .card__body p {
  margin: 0 !important;
  color: var(--korea-editorial-muted) !important;
  font-family: var(--codex-sans, Arial, sans-serif) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.58 !important;
}

.related .card__body > span {
  display: inline-block;
  margin-top: auto;
  padding-top: 0.7rem;
  color: var(--korea-editorial-deep) !important;
  font-size: 0.72rem;
  font-weight: 800;
  transition: color 0.24s ease !important;
}

.related .cards > a.card:hover,
.related .cards > a.card:focus-visible {
  border-color: var(--korea-editorial-gold) !important;
  background: #e7ede2 !important;
  box-shadow: 0 18px 42px rgb(24 74 56 / 24%), 0 0 0 2px rgb(170 125 42 / 36%) !important;
  transform: translateY(-5px) scale(1.008) !important;
}

.related .cards > a.card:hover .card__body,
.related .cards > a.card:focus-visible .card__body {
  background: #e7ede2;
  box-shadow: inset 0 10px 24px rgb(170 125 42 / 10%);
}

.related .cards > a.card:hover .card__media img,
.related .cards > a.card:focus-visible .card__media img {
  mix-blend-mode: luminosity;
  filter: saturate(1.05) contrast(1.04) !important;
  transform: scale(1.04) !important;
}

.related .cards > a.card:hover .card__tag,
.related .cards > a.card:focus-visible .card__tag {
  background: var(--korea-editorial-gold) !important;
  color: var(--korea-editorial-ink) !important;
}

.related .cards > a.card:hover .card__body h3,
.related .cards > a.card:focus-visible .card__body h3,
.related .cards > a.card:hover .card__body > span,
.related .cards > a.card:focus-visible .card__body > span {
  color: var(--korea-editorial-flame) !important;
}

.related .cards > a.card:focus-visible {
  outline: 2px solid var(--korea-editorial-gold) !important;
  outline-offset: 4px;
}

/* Illustrated continuation teaser. */
.nextbox {
  margin: 2.8rem 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nextbox > .boxc {
  padding: 1rem 0 0 !important;
  background: transparent !important;
}

.next-teaser {
  display: grid;
  min-height: 220px;
  grid-template-columns: minmax(190px, 38%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--korea-editorial-line);
  border-top: 3px solid var(--korea-editorial-gold);
  background: var(--korea-editorial-paper);
  box-shadow: 0 4px 16px rgb(34 25 16 / 10%);
  color: var(--korea-editorial-ink);
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.next-teaser__media {
  display: block;
  min-height: 220px;
  overflow: hidden;
  isolation: isolate;
  background: var(--korea-editorial-flame);
}

.next-teaser__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transform: scale(1);
  transition: filter 0.28s ease, transform 0.28s ease, mix-blend-mode 0s;
}

.next-teaser__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 1.45rem 1.55rem;
}

.next-teaser__eyebrow {
  margin-bottom: 0.45rem;
  color: var(--korea-editorial-gold);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.next-teaser__title {
  overflow-wrap: anywhere;
  color: var(--korea-editorial-ink);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.next-teaser__summary {
  margin-top: 0.65rem;
  color: var(--korea-editorial-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.next-teaser__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--korea-editorial-deep);
  font-size: 0.75rem;
  font-weight: 800;
}

.next-teaser__arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.24s ease;
}

.next-teaser:hover,
.next-teaser:focus-visible {
  border-color: var(--korea-editorial-gold);
  box-shadow: 0 15px 36px rgb(24 74 56 / 20%), 0 0 0 1px rgb(170 125 42 / 30%);
  transform: translateY(-3px);
}

.next-teaser:hover .next-teaser__media img,
.next-teaser:focus-visible .next-teaser__media img {
  mix-blend-mode: luminosity;
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.04);
}

.next-teaser:hover .next-teaser__title,
.next-teaser:focus-visible .next-teaser__title,
.next-teaser:hover .next-teaser__cta,
.next-teaser:focus-visible .next-teaser__cta {
  color: var(--korea-editorial-flame);
}

.next-teaser:hover .next-teaser__arrow,
.next-teaser:focus-visible .next-teaser__arrow {
  transform: translateX(4px);
}

.next-teaser:focus-visible {
  outline: 2px solid var(--korea-editorial-gold);
  outline-offset: 4px;
}

/* Share and subscribe action band. */
.end-actions[data-korea-end-actions]:empty {
  display: none;
}

.end-actions {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 0;
  max-height: 160px;
  aspect-ratio: 2048 / 768;
  margin: 2.6rem 0;
  isolation: isolate;
  border: 1px solid transparent !important;
  border-radius: 6px !important;
  transition: border-color 0.26s ease, box-shadow 0.26s ease, transform 0.26s ease;
}

.end-actions::before {
  position: absolute;
  z-index: 4;
  top: -1px;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--korea-editorial-gold);
  content: "";
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s ease;
}

.end-actions__bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  border-radius: 6px;
  background-color: var(--korea-editorial-flame);
  background-image: url("../image-abonnement2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: normal;
  transition: filter 0.35s ease;
}

.end-actions__overlay {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, transparent 32%, rgb(255 250 240 / 16%) 53%, rgb(255 250 240 / 34%) 100%);
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.end-actions__inner {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 0.6rem 0 42%;
}

@media (width >= 961px) {
  .end-actions {
    width: calc(100% + 40px + 3.25rem + 350px);
    max-width: calc(100% + 40px + 3.25rem + 350px);
    margin-left: -40px;
  }
}

@keyframes korea-end-actions-glow {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgb(170 125 42 / 50%), 0 0 26px 2px rgb(24 74 56 / 28%), inset 0 0 36px rgb(170 125 42 / 10%);
  }

  50% {
    box-shadow: 0 0 0 1px rgb(170 125 42 / 75%), 0 0 34px 4px rgb(24 74 56 / 40%), inset 0 0 46px rgb(170 125 42 / 16%);
  }
}

.end-actions:hover,
.end-actions:focus-within {
  border-color: var(--korea-editorial-gold) !important;
  box-shadow: 0 15px 38px rgb(24 74 56 / 20%), 0 0 0 1px rgb(170 125 42 / 28%) !important;
  transform: translateY(-3px);
}

.end-actions:hover::before,
.end-actions:focus-within::before {
  transform: scaleX(1);
}

.end-actions:hover .end-actions__bg,
.end-actions:focus-within .end-actions__bg {
  background-blend-mode: luminosity;
  filter: saturate(1.08) contrast(1.04) brightness(1.03);
  animation: korea-end-actions-glow 2.6s ease-in-out infinite;
}

.end-actions:hover .end-actions__overlay,
.end-actions:focus-within .end-actions__overlay {
  opacity: 0.78;
}

.end-actions .editorial-share__menu {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.end-actions .editorial-share__toggle {
  display: inline-flex;
  height: 46px;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 6px;
  background: var(--korea-editorial-flame);
  box-shadow: 0 0 0 rgb(200 130 26 / 0%);
  color: #fff;
  cursor: pointer;
  font-family: var(--codex-sans, Arial, sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  list-style: none;
  white-space: nowrap;
  transition: background 0.22s ease, box-shadow 0.25s ease, transform 0.22s ease;
}

.end-actions .editorial-share__toggle::-webkit-details-marker {
  display: none;
}

.end-actions .editorial-share__toggle:hover,
.end-actions .editorial-share__menu[open] .editorial-share__toggle {
  background: #174837;
  box-shadow: 0 6px 22px rgb(200 130 26 / 45%), 0 0 0 1px rgb(255 255 255 / 12%);
  transform: translateY(-2px);
}

.end-actions .editorial-share__mark,
.end-actions .editorial-share__mark svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.end-actions .editorial-share__chevron {
  color: #fff;
  font-size: 0.85rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.end-actions .editorial-share__menu[open] .editorial-share__chevron {
  opacity: 1;
  transform: rotate(90deg);
}

.share-panel {
  position: absolute;
  z-index: 6;
  top: calc(100% + 0.55rem);
  right: 0;
  width: min(310px, calc(100vw - 48px));
  padding: 0.9rem;
  border: 1px solid var(--korea-editorial-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(15 20 25 / 20%);
}

.share-panel__text {
  width: 100%;
  min-height: 82px;
  resize: none;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--korea-editorial-line);
  border-radius: 4px;
  background: #faf8f4;
  color: var(--korea-editorial-ink);
  font-family: inherit;
  font-size: 0.72rem;
  line-height: 1.4;
}

.share-panel__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

.share-panel__copy {
  min-width: 0;
  height: 36px;
  flex: 1;
  padding: 0 0.55rem;
  border: 1px solid #55636d;
  border-radius: 4px;
  background: #faf6ee;
  color: #1c2b36;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.share-panel__copy:hover {
  background: #1c2b36;
  color: #fff;
}

.share-panel__copy.is-copied {
  border-color: #1a8068;
  background: #1a8068;
  color: #fff;
}

.share-panel__status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.share-panel__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #1c2b36;
  color: #fff;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.share-panel__icon svg {
  width: 15px;
  height: 15px;
}

.share-panel__icon:hover,
.share-panel__icon:focus-visible {
  box-shadow: 0 4px 14px rgb(200 130 26 / 50%);
  transform: translateY(-2px);
}

.editorial-newsletter-menu {
  flex-shrink: 0;
}

.newsletter-panel__label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--korea-editorial-ink);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.newsletter-panel__form {
  display: flex;
  gap: 0.4rem;
}

.newsletter-panel__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--korea-editorial-line);
  border-radius: 4px;
  background: #faf8f4;
  color: var(--korea-editorial-ink);
  font-family: inherit;
  font-size: 0.72rem;
}

.newsletter-panel__submit {
  flex-shrink: 0;
  height: 36px;
  padding: 0 0.7rem;
  border: 1px solid #55636d;
  border-radius: 4px;
  background: #faf6ee;
  color: #1c2b36;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.newsletter-panel__submit:hover {
  background: #1c2b36;
  color: #fff;
}

.newsletter-panel__success {
  display: none;
  margin-top: 0.5rem;
  color: #1a8068;
  font-size: 0.7rem;
  font-weight: 600;
}

.newsletter-panel__form.is-sent {
  display: none;
}

.newsletter-panel__form.is-sent ~ .newsletter-panel__success {
  display: block;
}

.newsletter-panel__error {
  margin-top: 0.5rem;
  color: #b3261e;
  font-size: 0.7rem;
}

@media (width <= 700px) {
  .newsletter-panel__form {
    flex-wrap: wrap;
  }

  .newsletter-panel__input {
    flex: 1 1 100%;
  }
}

.end-actions__subscribe {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.4rem;
}

.ea-btn {
  display: inline-flex;
  height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 1rem;
  border-radius: 6px;
  font-family: var(--codex-sans, Arial, sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ea-btn--plain {
  border: 1px solid #b8801f;
  background: #d9a63a;
  color: #2a1c05;
}

.ea-btn--plain:hover,
.ea-btn--plain:focus-visible {
  border-color: #1c2b36;
  background: #1c2b36;
  box-shadow: 0 6px 18px rgb(28 43 54 / 30%);
  color: #fff;
  transform: translateY(-2px);
}


.end-actions :is(.editorial-share__toggle, .ea-btn, .share-panel__copy, .share-panel__icon):focus-visible {
  outline: 2px solid var(--korea-editorial-gold);
  outline-offset: 3px;
}

@media (width <= 700px) {
  .end-actions {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
  }

  .end-actions__overlay {
    background: rgb(255 250 240 / 88%);
  }

  .end-actions__inner {
    position: relative;
    inset: auto;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    padding: 1.35rem 1rem;
  }

  .end-actions .editorial-share__menu,
  .end-actions .editorial-share__toggle,
  .end-actions__subscribe {
    width: 100%;
  }

  .end-actions .editorial-share__toggle {
    height: 50px;
    justify-content: center;
  }

  .share-panel {
    position: static;
    width: 100%;
    margin-top: 0.6rem;
  }

  .ea-btn--plain {
    flex: 1;
  }

  .next-teaser {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .next-teaser__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .next-teaser__body {
    padding: 1.2rem;
  }
}

@media (701px <= width <= 820px) {
  .side .related-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (hover: none) {
  .article-cover:active,
  .related .cards > a.card:active,
  .next-teaser:active,
  .end-actions:active {
    border-color: var(--korea-editorial-gold) !important;
    box-shadow: 0 10px 28px rgb(24 74 56 / 18%) !important;
  }

  .related .cards > a.card:active .card__body {
    background: #e7ede2;
  }

  .side a.related-item:active {
    border-color: var(--korea-editorial-flame) !important;
    background: #e7ede2 !important;
    box-shadow: 0 8px 20px rgb(24 74 56 / 18%) !important;
  }

  .side a.related-item:active .related-item__media img {
    mix-blend-mode: luminosity;
    filter: saturate(1.04) contrast(1.03);
  }

  .article-cover:active::before,
  .end-actions:active::before {
    transform: scaleX(1);
  }

  .article-cover:active img,
  .related .cards > a.card:active .card__media img,
  .next-teaser:active .next-teaser__media img,
  .end-actions:active .end-actions__bg {
    mix-blend-mode: luminosity;
    filter: saturate(1.04) contrast(1.03) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-cover,
  .article-cover::before,
  .article-cover img,
  .related .cards > a.card,
  .related .card__body,
  .side a.related-item,
  .related-item__media img,
  .related .card__media img,
  .next-teaser,
  .next-teaser__media img,
  .end-actions,
  .end-actions::before,
  .end-actions__bg,
  .end-actions__overlay {
    transition: none !important;
  }

  .end-actions:hover .end-actions__bg,
  .end-actions:focus-within .end-actions__bg {
    animation: none !important;
  }
}

@media print {
  .end-actions {
    display: none !important;
  }
}

.ge-nudge {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: -120px;
  z-index: 500;
  max-width: 400px;
  margin: 0 auto;
  padding: 1rem 2.6rem 1rem 1.2rem;
  border-radius: 14px;
  background: #14243a;
  color: #fff;
  box-shadow: 0 14px 34px rgb(10 12 20 / 32%);
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

.ge-nudge.is-visible {
  bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
  opacity: 1;
}

.ge-nudge__close {
  position: absolute;
  top: 0.4rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 60%);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.ge-nudge__close:hover {
  color: #fff;
}

.ge-nudge__text {
  margin: 0 0 0.65rem;
  font-size: 0.84rem;
  font-weight: 500;
}

.ge-nudge__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #fff;
  color: #14243a;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.ge-nudge__cta:hover {
  opacity: 0.85;
}

@media (width <= 480px) {
  .ge-nudge {
    left: 0.6rem;
    right: 0.6rem;
    max-width: none;
  }

  .ge-nudge.is-visible {
    bottom: calc(4rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ge-nudge {
    transition: none !important;
  }
}


/* --- Calibrage editorial : intertitres + sources (Claude, 2026-09-06) ---
   Intertitres ramenes a un calibre de presse : moins dominants, plus
   credibles, sans casser la lecture. Sources documentaires compactees. */
.body h2,
h2 {
  font-size: clamp(1.32rem, 2.15vw, 1.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.16 !important;
}

.body .sources {
  font-size: 0.75rem !important;
  line-height: 1.62 !important;
}
.body .sources p {
  margin-bottom: 0 !important;
  font-size: 0.75rem !important;
  line-height: 1.62 !important;
}
.body .sources h3 {
  margin: 0 0 0.5rem !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--codex-accent-dark, #244d7d) !important;
}
.body .sources strong {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Mur d'abonnement — opt-in via [data-geopolo-gate]. Le script ajoute
   .geopolo-gated sur le conteneur article quand le marqueur existe,
   puis .geopolo-gate-open en plus si l'abonnement est actif. Verrouille
   tout ce qui suit le marqueur dans .body (sinon la fin de l'article
   fuite sous le mur). */
.body [data-geopolo-gate] ~ *:not(.related):not(.end-actions):not(.author):not(.nextbox) { display: none; }
.geopolo-gated .tags,
.geopolo-gated .wordcount,
.geopolo-gated .notes { display: none; }
.geopolo-gate-open .body [data-geopolo-gate] ~ * { display: revert; }
.geopolo-gate-open .body [data-geopolo-gate] { display: none; }
.geopolo-gate-open .tags,
.geopolo-gate-open .wordcount,
.geopolo-gate-open .notes { display: revert; }
.geopolo-paywall { margin: 2.6rem 0; padding: 2rem 1.8rem; border: 1px solid #c9c9c9; border-top: 3px solid #7b5054; background: #faf6f6; text-align: center; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.geopolo-paywall__text { margin: 0 0 1.1rem; color: #5d5d5d; font-size: .95rem; line-height: 1.6; }
.geopolo-paywall__cta { display: inline-block; padding: .8rem 1.8rem; background: #7b5054; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border-radius: 3px; transition: background .2s ease; }
.geopolo-paywall__cta:hover, .geopolo-paywall__cta:focus-visible { background: #61373b; }
