/* news_tgn_0011 — HIGHLIGHTS MAST */
:root {
  --n11-paper: #f6f6f6;
  --n11-ink: #121212;
  --n11-muted: #5c5c5c;
  --n11-accent: #052962;
  --n11-section: #c70000;
  --n11-soft: #eaeaea;
  --n11-panel: #ffffff;
  --n11-line: rgba(18, 18, 18, 0.14);
  --n11-font-display: "Instrument Serif", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --n11-font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --n11-mast-h: 64px;
  --n11-max: 1180px;
  --navbar-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--n11-font-body);
  color: var(--n11-ink);
  background: var(--n11-paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 64px;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.n11-container,
.container {
  width: min(100% - 2rem, var(--n11-max));
  margin-inline: auto;
}

/* —— Ad —— */
.n11-ad-slot {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  margin: 1rem 0;
  width: 100%;
}

.n11-ad-slot .container,
.n11-ad-slot .ad-container,
.container .n11-ad-slot .container,
.container .n11-ad-slot .ad-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.n11-ad-slot .banner-ad,
.n11-ad-slot .ad-content,
.n11-ad-slot iframe,
.n11-ad-slot ins {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* —— Sticky head (home: highlights + mast) —— */
.n11-sticky-head {
  position: sticky;
  top: 0;
  z-index: 50;
}

.n11-sticky-head .n11-mast {
  position: relative;
  top: auto;
}

.n11-sticky-head.is-scrolled .n11-mast {
  box-shadow: 0 2px 10px rgba(5, 41, 98, 0.22);
}

/* —— Highlights strip —— */
.n11-highlights {
  background: var(--n11-soft);
  border-bottom: 1px solid var(--n11-line);
}

.n11-highlights__inner {
  display: flex;
  align-items: baseline;
  gap: 0.85rem 1.25rem;
  padding: 0.45rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.n11-highlights__inner::-webkit-scrollbar {
  display: none;
}

.n11-highlights__label {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n11-section);
  white-space: nowrap;
}

.n11-highlights__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: baseline;
  gap: 0;
  min-width: 0;
}

.n11-highlights__list li {
  display: flex;
  align-items: baseline;
  flex: 0 0 auto;
}

.n11-highlights__list li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.85em;
  margin: 0 0.85rem;
  background: var(--n11-line);
  align-self: center;
  flex: 0 0 auto;
}

.n11-highlights__list a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--n11-ink);
  line-height: 1.3;
  max-width: 16rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n11-highlights__list a:hover {
  color: var(--n11-accent);
}

/* —— Blue left-brand mast —— */
.n11-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--n11-accent);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: box-shadow 0.2s ease;
}

.n11-mast.is-scrolled {
  box-shadow: 0 2px 10px rgba(5, 41, 98, 0.28);
}

.n11-mast__inner {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: 3.5rem;
  padding: 0.55rem 0;
}

.n11-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 1 auto;
  font-family: var(--n11-font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  max-width: min(52vw, 18rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.n11-nav-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  max-height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.n11-nav-logo[hidden] {
  display: none;
}
.n11-nav-brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n11-brand:hover {
  color: #fff;
  opacity: 0.92;
}

.n11-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.15rem 1.1rem;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  width: max-content;
}

.n11-menu a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.25rem 0;
}

.n11-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.n11-menu a:hover {
  color: #fff;
}

.n11-menu a:hover::after,
.n11-menu a.is-active::after {
  transform: scaleX(1);
}

.n11-menu a.is-active {
  color: #fff;
}

.n11-nav-menus {
  display: none;
  position: relative;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: 1.1rem;
  min-width: 0;
  height: 100%;
}
@media (min-width: 900px) {
  .n11-nav-menus {
    display: flex;
  }
  .n11-nav-menus.n11-nav-menus--pending {
    visibility: hidden;
  }
}
.n11-menu.is-measuring {
  overflow: visible;
}
.n11-menu > li.is-overflow {
  display: none !important;
}
.n11-menu > li {
  flex: 0 0 auto;
  white-space: nowrap;
}
.n11-nav-more {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}
.n11-nav-more[hidden] {
  display: none !important;
}
.n11-nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  border: 0;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  cursor: pointer;
}
.n11-nav-more-btn i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.n11-nav-more.is-open .n11-nav-more-btn,
.n11-nav-more-btn:hover,
.n11-nav-more-btn:focus-visible {
  color: #fff;
}
.n11-nav-more.has-active .n11-nav-more-btn {
  color: #fff;
}
.n11-nav-more.is-open .n11-nav-more-btn i {
  transform: rotate(180deg);
}
.n11-nav-more-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 70;
  min-width: 12rem;
  max-width: min(18rem, 70vw);
  max-height: min(60vh, 22rem);
  overflow-y: auto;
  padding: 0.4rem;
  border-radius: 0.5rem;
  border: 1px solid var(--n11-line);
  background: var(--n11-panel);
  box-shadow: 0 12px 28px rgba(12, 18, 34, 0.14);
}
.n11-nav-more-panel[hidden] {
  display: none !important;
}
.n11-nav-more-panel .nav-menu-item {
  display: block;
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--n11-muted);
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.n11-nav-more-panel .nav-menu-item:hover,
.n11-nav-more-panel .nav-menu-item:focus-visible {
  background: rgba(18, 18, 18, 0.06);
  color: var(--n11-accent);
}
.n11-nav-more-panel .nav-menu-item.is-active {
  color: var(--n11-ink);
  background: rgba(18, 18, 18, 0.08);
}

.n11-mast__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.n1-nav-signin {
  font-size: 0.8125rem;
  font-weight: 650;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.n1-nav-signin:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.n1-nav-user {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.n1-nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.n1-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.n1-nav-user-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.28);
}

.n1-nav-logout {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
}

.n1-nav-logout:hover {
  color: #fff;
}

.n11-icon-btn,
.search-trigger {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
}

.n11-icon-btn:hover,
.search-trigger:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile bottom nav */
.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--n11-panel);
  border-top: 1px solid var(--n11-line);
  padding: 0.25rem 0 calc(0.25rem + env(safe-area-inset-bottom));
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.mobile-nav-menu.is-logged-in {
  grid-template-columns: repeat(6, 1fr);
}

.mobile-nav-user-pair {
  display: contents;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  min-height: 52px;
  font-size: 0.65rem;
  font-weight: 650;
  color: var(--n11-muted);
  background: transparent;
  border: 0;
  width: 100%;
  cursor: pointer;
}

.mobile-nav-link i {
  font-size: 1rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--n11-accent);
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none;
  }
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 41, 98, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.search-overlay.active {
  display: flex;
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.search-form {
  width: min(100%, 560px);
}

.search-input-wrapper {
  display: flex;
  background: var(--n11-panel);
  border: 2px solid var(--n11-accent);
}

.search-input {
  flex: 1;
  border: 0;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  background: transparent;
  color: var(--n11-ink);
  outline: none;
}

.search-submit {
  border: 0;
  background: var(--n11-accent);
  color: #fff;
  padding: 0 1.1rem;
  cursor: pointer;
}

.search-submit:hover {
  background: #031c42;
}

/* —— Shared —— */
.n11-section-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.n11-section-kicker__title,
.n11-section-kicker h2 {
  margin: 0;
  font-family: var(--n11-font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.n11-section-kicker--bar {
  align-items: stretch;
  border-top: 4px solid var(--n11-section);
  padding-top: 0.65rem;
}

.n11-section-kicker--bar h2 {
  color: var(--n11-section);
  font-family: var(--n11-font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.n11-view-all {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--n11-accent);
  white-space: nowrap;
}

.n11-view-all:hover {
  color: var(--n11-section);
}

.n11-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin-top: 0.55rem;
  font-size: 0.8125rem;
  color: var(--n11-muted);
}

.n11-meta .cat {
  color: var(--n11-section);
  font-weight: 700;
}

.n11-link-title {
  background-image: linear-gradient(var(--n11-accent), var(--n11-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: background-size 0.28s ease;
}

.n11-link-title:hover {
  background-size: 100% 2px;
}

.n11-eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--n11-section);
}

@keyframes n11-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.is-pending {
  opacity: 0;
  transform: translateY(12px);
}

.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* —— Splash —— */
.n11-splash {
  padding: 1.5rem 0 2rem;
  background: var(--n11-panel);
  border-bottom: 1px solid var(--n11-line);
}

.n11-splash__grid {
  display: grid;
  gap: 1.5rem;
}

.n11-splash__lead {
  display: grid;
  gap: 1rem;
  animation: n11-rise 0.55s ease-out both;
}

.n11-splash__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--n11-soft);
}

.n11-splash__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n11-splash__title {
  margin: 0.4rem 0 0.7rem;
  font-family: var(--n11-font-display);
  font-size: clamp(1.9rem, 4.4vw, 2.85rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.n11-splash__deck {
  margin: 0;
  color: var(--n11-muted);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.55;
}

.n11-splash__trails:empty {
  display: none;
}

.n11-splash__trails {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--n11-line);
}

.n11-splash__trails > article {
  display: contents;
}

.n11-highlights__list > li > article {
  display: contents;
}

.n11-trail {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--n11-line);
}

.n11-trail .n11-meta {
  margin-top: 0;
}

.n11-trail__title {
  margin: 0.25rem 0 0.35rem;
  font-family: var(--n11-font-display);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n11-trail__summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--n11-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 900px) {
  .n11-splash__grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: 0 2rem;
    align-items: start;
  }

  .n11-splash__trails {
    border-top: 0;
    border-left: 1px solid var(--n11-line);
    padding-left: 1.5rem;
  }

  .n11-trail:first-child {
    padding-top: 0;
  }
}

/* —— Front (colored section + cards) —— */
.n11-front {
  padding: 2rem 0;
  background: var(--n11-paper);
}

.n11-front__grid {
  display: grid;
  gap: 1.5rem 1.25rem;
}

.n11-front__grid > article {
  display: contents;
}

.n11-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--n11-soft);
  margin-bottom: 0.65rem;
}

.n11-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.n11-card:hover .n11-card__media img {
  transform: scale(1.03);
}

.n11-card .n11-meta {
  margin-top: 0;
}

.n11-card__title {
  margin: 0.3rem 0 0.4rem;
  font-family: var(--n11-font-display);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n11-card__summary {
  margin: 0;
  font-size: 0.9rem;
  color: var(--n11-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .n11-front__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .n11-front__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* —— Dense secondary —— */
.n11-dense {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--n11-line);
}

.n11-dense:nth-of-type(even) {
  background: var(--n11-soft);
}

.n11-dense__list {
  display: grid;
  gap: 0;
}

.n11-dense__list > article {
  display: contents;
}

.n11-dense-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 0.75rem 0.9rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--n11-line);
}

.n11-dense-item:not(:has(.n11-dense-item__media)) {
  grid-template-columns: 1fr;
}

.n11-dense-item:last-child {
  border-bottom: 0;
}

.n11-dense-item__media {
  width: 88px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--n11-soft);
}

.n11-dense-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n11-dense-item__body .n11-meta {
  margin-top: 0;
}

.n11-dense-item__title {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--n11-font-display);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n11-dense-item__summary {
  margin: 0;
  font-size: 0.85rem;
  color: var(--n11-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 720px) {
  .n11-dense__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.75rem;
  }

  .n11-dense-item {
    border-bottom: 1px solid var(--n11-line);
  }
}

@media (min-width: 1024px) {
  .n11-dense__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .n11-dense-item {
    grid-template-columns: 96px 1fr;
  }

  .n11-dense-item__media {
    width: 96px;
  }
}

/* —— Newsletter —— */
.n11-news {
  padding: 2.5rem 0;
  background: var(--n11-accent);
  color: #f6f6f6;
}

.n11-news__inner {
  display: grid;
  gap: 1.25rem;
}

.n11-news__title {
  margin: 0 0 0.4rem;
  font-family: var(--n11-font-display);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.n11-news__text {
  margin: 0;
  color: rgba(246, 246, 246, 0.78);
  max-width: 28rem;
}

.n11-news__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: flex-start;
}

.n11-news__form input[type="email"] {
  flex: 1 1 220px;
  min-height: 48px;
  border: 1px solid rgba(246, 246, 246, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0.65rem 0.9rem;
}

.n11-news__form input::placeholder {
  color: rgba(246, 246, 246, 0.5);
}

.n11-news__form button {
  min-height: 48px;
  border: 0;
  background: #fff;
  color: var(--n11-accent);
  font-weight: 700;
  padding: 0 1.15rem;
  cursor: pointer;
}

.n11-news__form button:hover {
  background: var(--n11-soft);
}

.newsletter-status {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: rgba(246, 246, 246, 0.78);
}

@media (min-width: 768px) {
  .n11-news__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
  }
}

/* —— Footer —— */
.n11-footer {
  padding: 2.5rem 0 2rem;
  background: var(--n11-ink);
  color: rgba(246, 246, 246, 0.82);
  border-top: 0;
}

.n11-footer__grid {
  display: grid;
  gap: 1.75rem;
}

.n11-footer__brand {
  display: inline-block;
  font-family: var(--n11-font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  color: #fff;
}

.n11-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.n11-footer__social a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(246, 246, 246, 0.7);
}

.n11-footer__social a:hover {
  color: #fff;
  border-color: #fff;
}

.n11-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.n11-footer__links a {
  font-size: 0.85rem;
  color: rgba(246, 246, 246, 0.7);
  font-weight: 600;
}

.n11-footer__links a:hover {
  color: #fff;
}

.n11-footer__copy {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  color: rgba(246, 246, 246, 0.55);
}

@media (min-width: 768px) {
  .n11-footer__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

/* —— Detail —— */
.n11-article {
  padding: 1.5rem 0 3rem;
}

.n11-article__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--n11-section);
  margin-bottom: 0.65rem;
}

.n11-article__title {
  margin: 0 0 0.85rem;
  font-family: var(--n11-font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: none;
}

.n11-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--n11-muted);
  margin-bottom: 1.5rem;
}

.n11-article__cover {
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n11-soft);
  margin-bottom: 1.75rem;
}

.n11-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n11-article__body {
  max-width: none;
  width: 100%;
  font-size: 1.05rem;
  line-height: 1.7;
}

.n11-article__body p {
  margin: 0 0 1.15rem;
}

.n11-article__body img {
  margin: 1.25rem 0;
}

.n11-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 0.5rem;
  max-width: none;
}

.n11-share a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--n11-line);
  background: var(--n11-panel);
  color: var(--n11-muted);
}

.n11-share a:hover {
  color: var(--n11-accent);
  border-color: var(--n11-accent);
}

.n11-related {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--n11-line);
  max-width: none;
}

.n11-related h2 {
  margin: 0 0 1rem;
  font-family: var(--n11-font-display);
  font-size: 1.45rem;
  font-weight: 400;
}

/* —— Category / pages —— */
.n11-page {
  padding: 1.75rem 0 3rem;
}

.n11-page__title {
  margin: 0 0 0.5rem;
  font-family: var(--n11-font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.n11-page__desc {
  margin: 0 0 1.25rem;
  color: var(--n11-muted);
  max-width: 40rem;
}

/* —— Category button + drawer —— */
.n11-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--n11-line);
  background: var(--n11-panel);
  color: var(--n11-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

.n11-cat-btn i {
  color: var(--n11-accent);
}

.n11-cat-btn:hover {
  border-color: var(--n11-accent);
  color: var(--n11-accent);
}

.n11-cat-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(18, 18, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.n11-cat-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.n11-cat-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1201;
  width: min(100%, 20rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--n11-panel);
  border-left: 1px solid var(--n11-line);
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.n11-cat-drawer.is-open {
  transform: translateX(0);
}

.n11-cat-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--n11-line);
}

.n11-cat-drawer__head h2 {
  margin: 0;
  font-family: var(--n11-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.n11-cat-drawer__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n11-line);
  background: var(--n11-soft);
  color: var(--n11-ink);
  cursor: pointer;
}

.n11-cat-drawer__list {
  flex: 1;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 0.85rem 1.25rem;
  list-style: none;
  -webkit-overflow-scrolling: touch;
}

.n11-cat-drawer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--n11-line);
  color: var(--n11-ink);
  font-weight: 600;
}

.n11-cat-drawer__link:hover,
.n11-cat-drawer__link.is-active {
  color: var(--n11-accent);
  background: rgba(5, 41, 98, 0.08);
}

.n11-cat-drawer__link.is-active {
  border-left: 3px solid var(--n11-accent);
  padding-left: calc(0.75rem - 3px);
}

body.n11-cat-drawer-open {
  overflow: hidden;
}

.n11-empty {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--n11-muted);
}

.n11-empty h2 {
  font-family: var(--n11-font-display);
  color: var(--n11-ink);
}

/* Favorite button */
.detail-favorite-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--n11-line);
  background: var(--n11-panel);
  color: var(--n11-ink);
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 650;
  min-height: 36px;
}

.detail-favorite-btn__icon {
  width: 16px;
  height: 16px;
}

.detail-favorite-btn[aria-pressed="true"] {
  border-color: var(--n11-accent);
  color: var(--n11-accent);
}

.detail-favorite-btn__spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--n11-line);
  border-top-color: var(--n11-accent);
  border-radius: 50%;
  animation: n11-spin 0.6s linear infinite;
}

.detail-favorite-btn[aria-busy="true"] .detail-favorite-btn__spinner {
  display: inline-block;
}

.detail-favorite-btn[aria-busy="true"] .detail-favorite-btn__icon {
  display: none;
}

@keyframes n11-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Back to top — override common/ads.css teal pill */
.n11-back-to-top.back-to-top {
  right: 1rem !important;
  bottom: 5rem !important;
  z-index: 55 !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--n11-line) !important;
  border-radius: 0 !important;
  background: var(--n11-ink) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(18, 18, 18, 0.22) !important;
  opacity: 0;
  visibility: hidden;
  display: grid !important;
  place-items: center;
  cursor: pointer;
  backdrop-filter: none !important;
  font-size: inherit !important;
  transition: opacity 0.2s ease, visibility 0.2s ease, background 0.2s ease, transform 0.2s ease !important;
}

.n11-back-to-top.back-to-top.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.n11-back-to-top.back-to-top:not(.show) {
  transform: none !important;
}

.n11-back-to-top.back-to-top:hover {
  background: var(--n11-accent) !important;
  transform: none !important;
  box-shadow: 0 8px 20px rgba(5, 41, 98, 0.28) !important;
}

.n11-back-to-top.back-to-top:active {
  transform: none !important;
}

.n11-back-to-top.back-to-top::before {
  display: none !important;
  animation: none !important;
}

@media (min-width: 768px) {
  .n11-back-to-top.back-to-top {
    bottom: 1.5rem !important;
  }
}

/* Lift above cookie banner when visible */
body.cookie-banner-visible .n11-back-to-top.back-to-top {
  bottom: calc(0.75rem + var(--cookie-banner-h, 140px)) !important;
  z-index: 10001 !important;
}

@media (min-width: 768px) {
  body.cookie-banner-visible .n11-back-to-top.back-to-top {
    bottom: calc(1rem + var(--cookie-banner-h, 140px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .n11-splash__lead,
  .n11-card__media img,
  .n11-link-title,
  .is-pending,
  .is-in {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
