.nl {
  --nl-navy: #0A2540;
  --nl-navy-2: #1B3A5C;
  --nl-teal: #1F8A8C;
  --nl-teal-dark: #17696B;
  --nl-sky: #E3F1F1;
  --nl-ground: #F4F7F8;
  --nl-line: #DDE3E6;
  --nl-muted: #56616B;
  --nl-text-2: #3A4552;
  --nl-ok-bg: #E0F2EF; --nl-ok: #0F4F50;
  --nl-ko-bg: #FDECEA; --nl-ko: #7A1A12;
  background: var(--nl-ground);
}

.nl :where(a:not(.btn)) { color: var(--nl-teal-dark); }
.nl :where(a:not(.btn)):hover { color: var(--nl-navy); }

.nl-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding-inline: 1.5rem; border-radius: 999px; font-weight: 600; transition: background-color .15s, border-color .15s, color .15s; }
.nl .btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--nl-navy);
  --bs-btn-border-color: var(--nl-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nl-teal-dark);
  --bs-btn-hover-border-color: var(--nl-teal-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0F4F50;
  --bs-btn-active-border-color: #0F4F50;
  --bs-btn-focus-shadow-rgb: 31, 138, 140;
}
.nl .btn-outline-primary {
  --bs-btn-color: var(--nl-navy);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: var(--nl-navy);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--nl-navy);
  --bs-btn-hover-border-color: var(--nl-navy);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--nl-teal-dark);
  --bs-btn-active-border-color: var(--nl-teal-dark);
  --bs-btn-focus-shadow-rgb: 31, 138, 140;
}
.nl .btn:focus-visible { outline: 3px solid var(--nl-teal); outline-offset: 2px; }

.nl-eyebrow { font-size: 1rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nl-muted); }
.nl-muted { color: var(--nl-muted); }
.nl-tag { align-self: flex-start; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nl-navy); background: var(--nl-sky); padding: .375rem .75rem; border-radius: 999px; }
.nl-rte p:last-child { margin-bottom: 0; }

.nl-body { margin: 0; background: #F4F7F8; }
.nl-issue { background: #fff; border-bottom: 1px solid var(--nl-line); }
.nl-logo { display: inline-block; line-height: 0; }
.nl-logo img { height: 64px; width: auto; }
.nl-title { margin: 0; font-size: 2.5rem; line-height: 1.15; font-weight: 700; color: var(--nl-navy); }
.nl-issue__number { font-size: 4rem; font-weight: 700; line-height: 1; color: var(--nl-navy); }
.nl-issue .nl-eyebrow { color: var(--nl-teal-dark); }

.nl-footer { background: #fff; border-top: 4px solid var(--nl-teal); color: var(--nl-muted); font-size: .875rem; padding-bottom: 0; }
.nl-footer__bottom { background: var(--nl-ground); border-top: 1px solid var(--nl-line); }
.nl-social__link { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--nl-line); color: var(--nl-navy); text-decoration: none; transition: border-color .15s, background-color .15s; }
.nl-social__link:hover, .nl-social__link:focus-visible { border-color: var(--nl-navy); background: var(--nl-ground); }

.nl-nav { background: var(--nl-navy); position: sticky; top: 0; z-index: 10; }
.nl-nav__list { display: flex; gap: .25rem; overflow-x: auto; }
.nl-nav__list a { display: block; padding: 1rem .875rem; color: #fff; text-decoration: none; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; }
.nl-nav__list a:hover, .nl-nav__list a:focus-visible { color: #fff; border-bottom-color: var(--nl-teal); }
.nl-nav__list a.is-accent { color: #8FD3D2; }

.nl-section { padding: 4.5rem 0; scroll-margin-top: 3.5rem; }
.nl > .nl-section:nth-of-type(odd) { background: #fff; }
.nl > .nl-section:nth-of-type(even) { --nl-fade: var(--nl-ground); }
.nl > .nl-section.nl-section--blue { background: var(--nl-sky); }
.nl-section__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.nl-section__title { margin: 0; color: var(--nl-navy); font-weight: 700; display: flex; align-items: center; gap: 1rem; }
.nl-section__title::before { content: ""; width: 8px; height: 2rem; border-radius: 4px; background: var(--nl-teal); }
.nl-top { font-size: .875rem; color: var(--nl-muted); }

.nl-author img { border-radius: 1rem; }
.nl-lead { font-size: 1.625rem; line-height: 1.4; font-weight: 600; color: var(--nl-navy); margin-bottom: 1.5rem; }

.nl-featured { background: #fff; border: 1px solid var(--nl-line); border-radius: 1.25rem; overflow: hidden; }
.nl-featured__img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.nl-featured__title { font-size: 1.75rem; line-height: 1.25; color: var(--nl-navy); font-weight: 700; }

.nl-card { position: relative; background: #fff; border: 1px solid var(--nl-line); border-radius: 1rem; overflow: hidden; display: flex; flex-direction: column; }
.nl-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nl-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: .625rem; flex-grow: 1; }
.nl-card__title { font-size: 1.25rem; line-height: 1.3; font-weight: 700; color: var(--nl-navy); margin: 0; }
.nl-card__title a { color: inherit; text-decoration: none; }
.nl-card:hover .nl-card__title a, .nl-card__title a:focus-visible { text-decoration: underline; }
.nl-card--row { flex-direction: row; gap: 0; }
.nl-card--row > img { width: 120px; aspect-ratio: 3 / 4; flex-shrink: 0; margin: 1.5rem 0 1.5rem 1.5rem; border-radius: .5rem; }

.nl-event { background: #fff; border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: .625rem; }
.nl-event__date { color: var(--nl-muted); font-weight: 600; font-size: .875rem; }
.nl-event__date span { font-size: 1.875rem; font-weight: 700; color: var(--nl-navy); margin-right: .25rem; }

.nl-more { margin-top: auto; align-self: flex-start; min-height: 44px; padding: .5rem 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--nl-teal-dark); cursor: pointer; }
.nl-more:hover, .nl-more:focus-visible { color: var(--nl-navy); text-decoration: underline; }

.nl-expand__body { max-height: 16rem; overflow: hidden; position: relative; }
.nl-expand__body::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5rem; background: linear-gradient(rgba(255, 255, 255, 0), var(--nl-fade, #fff)); pointer-events: none; }
.nl-expand.is-open .nl-expand__body { max-height: none; }
.nl-expand.is-open .nl-expand__body::after { display: none; }
.nl-expand__less, .nl-expand.is-open .nl-expand__more { display: none; }
.nl-expand.is-open .nl-expand__less { display: inline; }

.nl-modal .modal-content { border: 0; border-radius: 1.25rem; }
.nl-modal .modal-header { padding: 1.75rem 2rem 0; border-bottom: 0; gap: 1.5rem; }
.nl-modal .modal-body { padding: 1.5rem 2rem 2rem; }
.nl-modal__title { font-size: 1.75rem; line-height: 1.25; font-weight: 700; color: var(--nl-navy); margin: 0; }
.nl-moreinfo { border-top: 1px solid var(--nl-line); padding-top: 1rem; }

.nl-linkgroup { padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--nl-line); }
.nl-linkgroup:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.nl-linkgroup__zone { font-size: .875rem; font-weight: 700; color: var(--nl-muted); margin-bottom: .5rem; }

.nl-content { display: flex; flex-direction: column; gap: 1.5rem; max-width: 52rem; }
.nl-figure { margin: 0; }

.nl-quiz__notice { background: var(--nl-ok-bg); border: 1px solid var(--nl-teal-dark); color: var(--nl-ok); border-radius: .75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.nl-q { background: #fff; border: 1px solid var(--nl-line); border-radius: 1rem; padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.nl-q legend { float: left; width: 100%; font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--nl-navy); margin-bottom: .5rem; }
.nl-q__opt { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .625rem 1rem; border: 1px solid var(--nl-line); border-radius: .625rem; cursor: pointer; }
.nl-q__opt:hover { border-color: var(--nl-navy); }
.nl-q__opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--nl-navy); }
.nl-q__badge { font-size: .875rem; font-weight: 700; }
.nl-q__opt.is-correct { border-color: var(--nl-teal-dark); background: var(--nl-ok-bg); color: var(--nl-ok); }
.nl-q__opt.is-wrong { border-color: #B42318; background: var(--nl-ko-bg); color: var(--nl-ko); }
.nl-q__opt.is-dim { color: var(--nl-muted); cursor: default; }
.nl-q__feedback { margin: .25rem 0 0; font-weight: 600; }
.nl-q__feedback:empty { display: none; }
.nl-q__feedback.is-ok { color: var(--nl-ok); }
.nl-q__feedback.is-ko { color: var(--nl-ko); }
.nl-q__explain { margin-top: .5rem; padding: 1rem 1.25rem; border-radius: .625rem; background: var(--nl-ground); color: var(--nl-text-2); font-size: 1rem; line-height: 1.55; }
.nl-q__explain a { word-break: break-word; }

.nl-score { position: sticky; top: 4.5rem; background: var(--nl-navy); color: #fff; border-radius: 1rem; padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.nl-score p { color: #fff; }
.nl-score .nl-eyebrow { color: #8FD3D2; }
.nl-score__value { margin: 0; font-size: 3rem; font-weight: 700; line-height: 1; }
.nl-score__value small { font-size: 1.125rem; font-weight: 400; color: #D5DEE3; }
.nl-score__bar { height: 8px; border-radius: 4px; background: var(--nl-navy-2); overflow: hidden; }
.nl-score__bar span { display: block; width: 0; height: 100%; background: var(--nl-teal); transition: width .3s; }

@media (max-width: 991.98px) {
  .nl-score { position: static; }
}
@media (max-width: 767.98px) {
  .nl-section { padding: 3rem 0; }
  .nl-title { font-size: 1.75rem; }
  .nl-issue__number { font-size: 3rem; }
  .nl-lead { font-size: 1.3125rem; }
  .nl-featured__title { font-size: 1.375rem; }
}
