/* News listing and article pages */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(132px, 20vh, 200px) 0 clamp(72px, 11vh, 130px);
  background:
    radial-gradient(720px 440px at 84% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    linear-gradient(160deg, #14202f, var(--slate-950));
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.018) 0 2px, transparent 2px 16px);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
  font-family: var(--font-head);
  letter-spacing: .04em;
}
.page-hero .crumbs a { color: rgba(255,255,255,.72); }
.page-hero .crumbs a:hover { color: var(--accent-soft); }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero .eyebrow::before { background: var(--accent-soft); }
.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  color: #fff;
  margin: 18px 0 16px;
}
.page-hero p {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: rgba(255,255,255,.78);
  margin: 0;
  max-width: 52ch;
}

.news-list-section {
  padding: clamp(56px, 8vh, 104px) 0;
  background: var(--bg);
}
.news-list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(26px, 4vh, 44px);
}
.news-list-count {
  color: var(--ink-soft);
  font-family: var(--font-head);
  font-size: .95rem;
  letter-spacing: .02em;
}
.news-list-count b {
  color: var(--ink);
  font-weight: 600;
}
.news-list {
  display: flex;
  flex-direction: column;
}
.news-empty {
  margin: 0;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
}
.nl-item {
  display: grid;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  grid-template-columns: clamp(220px, 30%, 340px) 1fr;
  padding: clamp(22px, 3.4vw, 38px) 0;
  border-top: 1px solid var(--card-border);
  transition: color .2s var(--ease);
  animation: nl-rise .5s var(--ease) both;
}
.news-list .nl-item:last-child { border-bottom: 1px solid var(--card-border); }
@keyframes nl-rise {
  from { transform: translateY(16px); }
  to { transform: none; }
}
.nl-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16/11;
  background:
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--slate-500) 10%, transparent) 0 2px, transparent 2px 14px),
    var(--bg-alt);
}
.nl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.nl-item:hover .nl-photo img { transform: scale(1.05); }
.nl-body { min-width: 0; }
.nl-date {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nl-date::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.nl-title {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 12px 0 0;
  text-wrap: balance;
  transition: color .2s var(--ease);
}
.nl-item:hover .nl-title { color: var(--accent-strong); }
.nl-excerpt {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 12px 0 0;
  max-width: 64ch;
  text-wrap: pretty;
}
.nl-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--accent-strong);
  transition: gap .25s var(--ease);
}
.nl-more svg {
  width: 16px;
  height: 16px;
  transition: transform .25s var(--ease);
}
.nl-item:hover .nl-more { gap: 13px; }
.nl-item:hover .nl-more svg { transform: translateX(3px); }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: clamp(40px, 6vh, 72px);
  flex-wrap: wrap;
}
.pg-btn {
  min-width: 46px;
  height: 46px;
  padding: 0 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 13px;
  box-shadow: var(--card-shadow);
  transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s, opacity .2s;
}
.pg-btn svg {
  width: 18px;
  height: 18px;
}
.pg-btn:hover:not(:disabled):not([aria-current="page"]) {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border));
}
.pg-btn[aria-current="page"] {
  background: var(--accent-fill);
  color: var(--on-accent);
  border-color: transparent;
  cursor: default;
}
.pg-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
  box-shadow: none;
}
.pg-ellipsis {
  min-width: 30px;
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-head);
}
.pg-arrow span { display: none; }

.article-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(132px, 20vh, 200px) 0 0;
  background:
    radial-gradient(720px 440px at 84% -10%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%),
    linear-gradient(160deg, #14202f, var(--slate-950));
}
.article-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.article-hero .crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  font-family: var(--font-head);
  letter-spacing: .04em;
}
.article-hero .crumbs a { color: rgba(255,255,255,.72); }
.article-hero .crumbs a:hover { color: var(--accent-soft); }
.article-cat {
  display: inline-flex;
  align-items: center;
  margin: 26px 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-fill);
  padding: 6px 13px;
  border-radius: 7px;
}
.article-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  color: #fff;
  margin: 20px 0 0;
  max-width: 20ch;
  text-wrap: balance;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 clamp(36px, 6vh, 60px);
  color: rgba(255,255,255,.72);
  font-family: var(--font-head);
  font-size: .95rem;
}
.article-byline .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
}
.article-figure {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  transform: translateY(clamp(28px, 5vh, 56px));
}
.article-figure .frame {
  aspect-ratio: 16/8;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: 0 50px 90px -44px rgba(0,0,0,.6);
  background: var(--bg-alt);
}
.article-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  background: var(--bg);
  padding: clamp(72px, 10vh, 130px) 0 clamp(56px, 8vh, 96px);
}
.article-body .wrap { max-width: 720px; }
.article-prose > * + * { margin-top: 1.3em; }
.article-prose p {
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.75;
  text-wrap: pretty;
}
.article-prose .lead {
  font-size: 1.42rem;
  line-height: 1.55;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  letter-spacing: -.01em;
}
.article-prose h2 {
  font-size: 1.7rem;
  margin-top: 1.8em;
}
.article-prose ul {
  margin-top: 1.1em;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.article-prose li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.6;
}
.article-prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  rotate: 45deg;
}
.article-prose blockquote {
  margin: 1.8em 0;
  padding: 8px 0 8px 28px;
  border-left: 4px solid var(--accent);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -.01em;
}
.article-foot {
  max-width: 720px;
  margin: clamp(44px, 6vh, 64px) auto 0;
  padding: 0 var(--gutter);
}
.article-foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  box-shadow: var(--card-shadow);
  transition: transform .2s var(--ease), gap .25s, border-color .2s;
}
.article-back svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
  transition: transform .25s var(--ease);
}
.article-back:hover {
  transform: translateY(-2px);
  gap: 13px;
  border-color: color-mix(in srgb, var(--accent) 45%, var(--card-border));
}
.article-back:hover svg { transform: translateX(-3px); }
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article-share .lbl {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
  margin-right: 2px;
}
.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: var(--card-bg);
  color: var(--ink);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.share-btn svg {
  width: 18px;
  height: 18px;
}
.share-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-fill);
  color: var(--on-accent);
  border-color: transparent;
}
.share-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  background: var(--slate-900);
  color: #fff;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  z-index: 200;
}
.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 620px) {
  .nl-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .nl-photo { aspect-ratio: 16/10; }
  .pg-arrow span { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  .nl-item { animation: none; }
}
