/* news_tgn_0015 — SALMON COLUMNS (Financial Times inspired)
   Full-site salmon paper + newspaper mast (double rules) + title-first lead
   + Opinion/Depth dual columns + dense 3-col text-first field.
   Deliberately NOT Plinth Terrace (old square lead + 3 cells + 4-col field). */
:root {
  --n15-paper: #fff1e5;
  --n15-soft: #f2e0d0;
  --n15-ink: #0d0d0d;
  --n15-muted: #5c534c;
  --n15-accent: #990f3d;
  --n15-deep: #6b0a2b;
  --n15-panel: #fff1e5;
  --n15-rule: #0d0d0d;
  --n15-line: rgba(13, 13, 13, 0.14);
  --n15-font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --n15-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --n15-max: 1100px;
  --navbar-h: 110px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--n15-font-body);
  color: var(--n15-ink);
  background: var(--n15-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

@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;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

/* —— Salmon Mast (wordmark + double rules) —— */
.n15-mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--n15-panel);
}

.n15-mast.is-scrolled {
  box-shadow: 0 4px 16px rgba(13, 13, 13, 0.08);
}

.n15-mast__rules {
  height: 5px;
  border-top: 1px solid var(--n15-rule);
  border-bottom: 3px solid var(--n15-rule);
  background: transparent;
}

.n15-mast__rules--bot {
  border-top: 3px solid var(--n15-rule);
  border-bottom: 1px solid var(--n15-rule);
}

.n15-mast__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand actions"
    "menu menu";
  align-items: end;
  gap: 0.45rem 1.25rem;
  padding: 0.75rem 0 0.7rem;
}

.n15-mast__brandblock {
  grid-area: brand;
  justify-self: start;
  max-width: min(72vw, 24rem);
}

.n15-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--n15-font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.6vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--n15-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.n15-nav-logo {
  height: 28px;
  width: auto;
  max-width: 120px;
  max-height: 28px;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  object-position: left center;
}
.n15-nav-logo[hidden] {
  display: none;
}
.n15-nav-brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.n15-mast__tag {
  display: none;
}

.n15-mast__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  justify-self: end;
  align-self: start;
  min-height: 40px;
}

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

.n15-menu a {
  position: relative;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--n15-ink);
  padding: 0.25rem 0;
}

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

.n15-menu a:hover {
  color: var(--n15-accent);
}

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

.n15-menu a.is-active {
  color: var(--n15-accent);
}

.n15-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%;
  grid-area: menu;
}
@media (min-width: 900px) {
  .n15-nav-menus {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0 0 0.2rem 1.5rem;
  }
  .n15-nav-menus.n15-nav-menus--pending {
    visibility: hidden;
  }
}
.n15-menu.is-measuring {
  overflow: visible;
}
.n15-menu > li.is-overflow {
  display: none !important;
}
.n15-menu > li {
  flex: 0 0 auto;
  white-space: nowrap;
}
.n15-nav-more {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
}
.n15-nav-more[hidden] {
  display: none !important;
}
.n15-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: var(--n15-muted);
  white-space: nowrap;
  cursor: pointer;
}
.n15-nav-more-btn i {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}
.n15-nav-more.is-open .n15-nav-more-btn,
.n15-nav-more-btn:hover,
.n15-nav-more-btn:focus-visible {
  color: var(--n15-accent);
}
.n15-nav-more.has-active .n15-nav-more-btn {
  color: var(--n15-ink);
}
.n15-nav-more.is-open .n15-nav-more-btn i {
  transform: rotate(180deg);
}
.n15-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(--n15-line);
  background: var(--n15-panel);
  box-shadow: 0 12px 28px rgba(12, 18, 34, 0.14);
}
.n15-nav-more-panel[hidden] {
  display: none !important;
}
.n15-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(--n15-muted);
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.n15-nav-more-panel .nav-menu-item:hover,
.n15-nav-more-panel .nav-menu-item:focus-visible {
  background: rgba(13, 13, 13, 0.06);
  color: var(--n15-accent);
}
.n15-nav-more-panel .nav-menu-item.is-active {
  color: var(--n15-ink);
  background: rgba(13, 13, 13, 0.08);
}

.n1-nav-signin {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--n15-ink);
  border: 1px solid var(--n15-line);
  background: transparent;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.n1-nav-signin:hover {
  border-color: var(--n15-accent);
  color: var(--n15-accent);
}

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

.n1-nav-user-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
}

.n1-nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--n15-soft);
  color: var(--n15-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  overflow: hidden;
}

.n1-nav-user-name {
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 7rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.n1-nav-user-divider {
  width: 1px;
  height: 18px;
  background: var(--n15-line);
}

.n1-nav-logout {
  border: 0;
  background: transparent;
  color: var(--n15-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 40px;
  padding: 0.25rem 0.4rem;
  font-size: 0.75rem;
}

.n1-nav-logout:hover {
  color: var(--n15-accent);
}

.n15-icon-btn {
  border: 1px solid var(--n15-line);
  background: transparent;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--n15-ink);
}

.n15-icon-btn:hover {
  border-color: var(--n15-accent);
  color: var(--n15-accent);
}

@media (min-width: 900px) {
  .n15-mast__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand menu actions";
    align-items: end;
  }
}

/* —— Section chrome —— */
.n15-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.15rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--n15-rule);
}

.n15-section-head__title,
.n15-section-head h2 {
  margin: 0;
  font-family: var(--n15-font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.n15-view-all {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--n15-accent);
  white-space: nowrap;
}

.n15-view-all:hover {
  color: var(--n15-deep);
}

.n15-flag {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--n15-accent);
}

.n15-flag--on-ink {
  color: #f5c4d4;
}

.n15-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--n15-muted);
}

.n15-meta .cat {
  color: var(--n15-accent);
  font-weight: 650;
}

.n15-link-title {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size 0.28s ease, color 0.2s ease;
}

a:hover .n15-link-title,
.n15-link-title:hover {
  color: var(--n15-accent);
  background-size: 100% 1.5px;
}

/* —— Lead (title first, image below, heavy rules) —— */
.n15-leadblock {
  padding: 0.75rem 0 1.75rem;
}

.n15-lead {
  display: block;
  padding: 1.15rem 0 1.35rem;
  border-top: 3px solid var(--n15-rule);
  border-bottom: 1px solid var(--n15-rule);
  box-shadow:
    inset 0 1px 0 var(--n15-rule),
    0 1px 0 var(--n15-rule);
}

.n15-lead__title {
  margin: 0 0 0.95rem;
  font-family: var(--n15-font-display);
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 100%;
}

.n15-lead__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n15-soft);
  margin: 0 0 0.95rem;
}

.n15-lead__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.n15-lead__dek {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  max-width: 100%;
  color: var(--n15-ink);
}

/* —— More (ruled secondary under lead) —— */
.n15-more {
  margin-top: 0.25rem;
}

.n15-more > article,
.n15-opinion__list > li > article {
  display: contents;
}

.n15-more__item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--n15-rule);
}

.n15-more__title {
  margin: 0;
  font-family: var(--n15-font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.n15-more__dek {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  color: var(--n15-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n15-more__media {
  width: 110px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--n15-soft);
  flex-shrink: 0;
}

.n15-more__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 640px) {
  .n15-more__media {
    width: 140px;
  }
}

/* —— Opinion / Depth dual columns —— */
.n15-opinion {
  padding: 0.5rem 0 1.75rem;
  background: var(--n15-paper);
}

.n15-opinion__grid {
  display: grid;
  gap: 1.5rem;
}

.n15-opinion__spine {
  display: none;
}

.n15-opinion__list > li + li {
  border-top: 1px solid var(--n15-line);
}

.n15-opinion__item {
  display: block;
  padding: 0.95rem 0;
}

.n15-opinion__title {
  margin: 0;
  font-family: var(--n15-font-display);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.n15-opinion__dek {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--n15-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .n15-opinion__grid {
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 1.75rem;
  }

  .n15-opinion__spine {
    display: block;
    width: 1px;
    background: var(--n15-rule);
    align-self: stretch;
  }
}

/* —— Columns (3-col dense text-first) —— */
.n15-columns {
  padding: 0.5rem 0 2rem;
}

.n15-columns__grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--n15-rule);
}

.n15-columns__grid > article {
  display: contents;
}

.n15-col {
  display: block;
  padding: 1.1rem 0 1.2rem;
  border-bottom: 1px solid var(--n15-line);
}

.n15-col__title {
  margin: 0;
  font-family: var(--n15-font-display);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.n15-col__dek {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--n15-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.n15-col__media {
  margin-top: 0.7rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--n15-soft);
}

.n15-col__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 641px) {
  .n15-columns__grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }

  .n15-col {
    border-bottom: 1px solid var(--n15-line);
  }
}

@media (min-width: 1025px) {
  .n15-columns__grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1.75rem;
  }

  .n15-col {
    padding-right: 0.25rem;
  }
}

/* —— Newsletter —— */
.n15-news {
  padding: 2.25rem 0;
  background: var(--n15-ink);
  color: #fff1e5;
}

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

.n15-news__title {
  margin: 0 0 0.45rem;
  font-family: var(--n15-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.n15-news__text {
  margin: 0;
  color: rgba(255, 241, 229, 0.78);
  max-width: 32rem;
}

.n15-news__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.n15-news__form input[type="email"] {
  flex: 1 1 12rem;
  min-height: 44px;
  border: 1px solid rgba(255, 241, 229, 0.35);
  background: transparent;
  color: #fff1e5;
  padding: 0.5rem 0.85rem;
}

.n15-news__form input[type="email"]::placeholder {
  color: rgba(255, 241, 229, 0.5);
}

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

.n15-news__form button:hover {
  background: var(--n15-deep);
}

.n15-news__form .newsletter-status {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.85rem;
  color: #f5c4d4;
}

@media (min-width: 768px) {
  .n15-news__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
  }
}

/* —— Footer —— */
.n15-footer {
  padding: 2.5rem 0 2rem;
  background: var(--n15-paper);
  border-top: 3px solid var(--n15-rule);
}

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

.n15-footer__brand {
  display: inline-block;
  font-family: var(--n15-font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

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

.n15-footer__social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n15-line);
  color: var(--n15-ink);
}

.n15-footer__social a:hover {
  border-color: var(--n15-accent);
  color: var(--n15-accent);
}

.n15-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.n15-footer__links a {
  font-size: 0.88rem;
  color: var(--n15-muted);
}

.n15-footer__links a:hover {
  color: var(--n15-accent);
}

.n15-footer__copy {
  margin: 1.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--n15-line);
  font-size: 0.8rem;
  color: var(--n15-muted);
}

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

/* —— Detail —— */
.n15-article {
  padding: 1.5rem 0 2.5rem;
}

.n15-article__cat {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--n15-accent);
}

.n15-article__title {
  margin: 0 0 0.75rem;
  font-family: var(--n15-font-display);
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 22ch;
}

.n15-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  align-items: center;
  font-size: 0.88rem;
  color: var(--n15-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--n15-rule);
}

.n15-share {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.n15-share a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--n15-line);
}

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

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

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

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

.n15-article__body p {
  margin: 0 0 1.1rem;
}

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

.n15-related {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 3px solid var(--n15-rule);
}

.n15-related h2 {
  margin: 0 0 1.15rem;
  font-family: var(--n15-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

/* —— Category / page —— */
.n15-page {
  padding: 1.5rem 0 2.5rem;
}

.n15-page__title {
  margin: 0 0 0.45rem;
  font-family: var(--n15-font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* —— Category button + drawer —— */
.n15-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(--n15-line);
  background: var(--n15-panel);
  color: var(--n15-ink);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}

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

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

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

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

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

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

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

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

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

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

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

.n15-cat-drawer__link:hover,
.n15-cat-drawer__link.is-active {
  color: var(--n15-deep);
  background: rgba(153, 15, 61, 0.08);
}

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

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

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

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

/* —— Motion —— */
[data-n15-tile].is-pending {
  opacity: 0;
  transform: translateY(14px);
}

[data-n15-tile].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.n15-lead.is-pending .n15-lead__title {
  opacity: 0;
  transform: translateY(10px);
}

.n15-lead.is-in .n15-lead__title {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

  [data-n15-tile].is-pending,
  [data-n15-tile].is-in,
  .n15-lead.is-pending .n15-lead__title,
  .n15-lead.is-in .n15-lead__title,
  .n15-lead__media img,
  .n15-col__media img,
  .n15-more__media img,
  .n15-link-title {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    background-size: 0 1.5px;
  }
}

/* —— Mobile nav / search / back-to-top —— */
.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--n15-panel);
  border-top: 1px solid var(--n15-line);
  display: none;
}

.mobile-nav-menu {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  margin: 0;
  padding: 0.2rem 0 calc(0.2rem + env(safe-area-inset-bottom, 0));
  list-style: none;
}

.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-width: 56px;
  min-height: 52px;
  font-size: 0.65rem;
  font-weight: 650;
  color: var(--n15-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0.25rem;
}

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

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

@media (max-width: 899px) {
  .mobile-nav {
    display: block;
  }
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 13, 13, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

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

.search-form {
  width: min(100%, 36rem);
}

.search-input-wrapper {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid rgba(255, 241, 229, 0.55);
  padding-bottom: 0.5rem;
}

.search-input {
  flex: 1;
  border: 0;
  background: transparent;
  color: #fff1e5;
  font-size: 1.35rem;
  min-height: 48px;
  outline: none;
}

.search-input::placeholder {
  color: rgba(255, 241, 229, 0.55);
}

.search-submit {
  border: 0;
  background: transparent;
  color: #fff1e5;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Back to top — override common/ads.css teal pill */
.n15-back-to-top.back-to-top {
  right: 1rem !important;
  bottom: 5.5rem !important;
  z-index: 55 !important;
  width: 44px !important;
  height: 44px !important;
  border: 1px solid var(--n15-line) !important;
  border-radius: 0 !important;
  background: var(--n15-ink) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(13, 13, 13, 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;
}

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

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

.n15-back-to-top.back-to-top:hover {
  background: var(--n15-accent) !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: 0 8px 20px rgba(153, 15, 61, 0.35) !important;
}

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

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

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

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

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

/* —— Legal / static pages —— */
.n15-legal,
.legal-content {
  width: min(100% - 2rem, 42rem);
  margin: 2rem auto 3rem;
  line-height: 1.7;
}

.n15-legal h1,
.legal-content h1 {
  font-family: var(--n15-font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.n15-legal a,
.legal-content a {
  color: var(--n15-accent);
}

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

.detail-favorite-btn:hover {
  border-color: var(--n15-accent);
  color: var(--n15-accent);
}

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

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

/* content-link-marker */
.n15-article__body a {
  color: #990f3d;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 1px;
  text-decoration-thickness: 1px;
  background-image: linear-gradient(transparent 57%, #f7d4e0 57%);
  background-repeat: no-repeat;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  cursor: pointer;
}
.n15-article__body a:hover {
  color: #77082d;
  background-image: linear-gradient(transparent 57%, #f1bccf 57%);
}
/* /content-link-marker */

/* detail-content-images */
.n15-article__body figure,
.n15-article__body picture {
  display: block;
  max-width: 100%;
  margin: 1.25rem auto;
  text-align: center;
}
.n15-article__body img {
  display: block;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 1.25rem auto;
  background: #f4f4f4;
  object-fit: contain;
}
.n15-article__body figure img,
.n15-article__body picture img {
  margin-top: 0;
  margin-bottom: 0;
}
.n15-article__body img.detail-img-broken {
  object-fit: fill;
}

/* Mobile article content collapse */
.description-toggle-btn {
    display: none;
}

@media (max-width: 768px) {
    .description-collapse-section {
        display: flex;
        flex-direction: column;
    }

    .description-collapse-section .description-text-wrap {
        position: relative;
        overflow: hidden;
        transition: max-height 0.35s ease;
        width: 100%;
    }

    .description-collapse-section .description-text-wrap.is-collapsed {
        max-height: 180px;
        -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
    }

    .description-collapse-section .description-text-wrap.is-expanded {
        max-height: 8000px;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .description-collapse-section .description-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        margin-top: 0.5rem;
        padding: 10px 14px;
        border: 1px solid currentColor;
        border-radius: 0.75rem;
        background: transparent;
        color: inherit;
        font-family: inherit;
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        cursor: pointer;
    }

    .description-collapse-section .description-toggle-btn::after {
        content: '';
        flex-shrink: 0;
        width: 7px;
        height: 7px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-1px);
    }

    .description-collapse-section .description-toggle-btn[aria-expanded='true']::after {
        transform: rotate(-135deg) translateY(1px);
    }

    .description-collapse-section .description-toggle-btn[hidden] {
        display: none !important;
    }
}

