:root {
  --udn-bg: #050607;
  --udn-panel: rgba(12, 18, 25, 0.84);
  --udn-panel-strong: rgba(16, 24, 34, 0.94);
  --udn-line: rgba(148, 163, 184, 0.18);
  --udn-text: #f7fafc;
  --udn-muted: #94a3b8;
  --udn-accent: #45d4ff;
  --udn-accent-soft: rgba(69, 212, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 70% 0%, rgba(69, 212, 255, 0.13), transparent 34rem),
    linear-gradient(180deg, #07090d 0%, var(--udn-bg) 42%, var(--udn-bg) 100%);
  color: var(--udn-text);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

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

a:hover {
  color: var(--udn-accent);
}

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

.udn-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.udn-skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 1000;
  background: var(--udn-accent);
  color: #001018;
  padding: 10px 14px;
  border-radius: 8px;
}

.udn-skip-link:focus {
  left: 8px;
}

.udn-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 6, 7, 0.84);
  backdrop-filter: blur(18px);
}

.udn-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}

.udn-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.udn-logo-mark {
  display: block;
  width: 136px;
  height: auto;
  flex: 0 0 auto;
}

.udn-brand-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.udn-brand-tagline {
  display: block;
  color: var(--udn-muted);
  font-size: 12px;
}

.udn-primary-nav ul,
.udn-site-footer ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.udn-primary-nav a {
  display: inline-flex;
  border-radius: 8px;
  padding: 10px 12px;
  color: #cbd5e1;
  font-size: 14px;
}

.udn-primary-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.udn-header-tip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  border: 1px solid var(--udn-accent);
  border-radius: 8px;
  color: #cffafe;
  font-size: 14px;
  font-weight: 800;
  padding: 9px 12px;
}

.udn-header-tip::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-radius: 999px;
  background: var(--udn-accent);
}

.udn-menu-toggle {
  display: none;
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 10px 12px;
}

.udn-hero {
  padding: 64px 0 48px;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
}

.udn-hero-grid,
.udn-section-grid,
.udn-layout-with-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.udn-hero h1,
.udn-page-head h1,
.udn-single h1 {
  margin: 22px 0;
  max-width: 860px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.udn-hero p,
.udn-page-head p,
.udn-single-summary {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.7;
}

.udn-search-form {
  display: flex;
  gap: 8px;
  max-width: 680px;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: var(--udn-panel);
  backdrop-filter: blur(18px);
}

.udn-search-form input,
.udn-form input,
.udn-form select,
.udn-form textarea {
  width: 100%;
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 13px 14px;
}

.udn-search-form input {
  border: 0;
  background: transparent;
}

.udn-search-form button,
.udn-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--udn-accent);
  color: #001018;
  cursor: pointer;
  font-weight: 800;
  padding: 12px 16px;
}

.udn-button-secondary {
  border: 1px solid var(--udn-line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.udn-button-ghost {
  background: transparent;
  color: #cbd5e1;
}

.udn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.udn-card,
.udn-featured-card,
.udn-ad-slot,
.udn-newsletter,
.udn-filter-panel,
.udn-single,
.udn-form {
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: var(--udn-panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.udn-card,
.udn-featured-card,
.udn-filter-panel,
.udn-single,
.udn-form {
  padding: 24px;
}

.udn-featured-card {
  background: var(--udn-panel-strong);
}

.udn-featured-card h2 {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
}

.udn-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.udn-card-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.udn-card-grid-span {
  grid-column: 1 / -1;
}

.udn-story-card h2,
.udn-card h2 {
  font-size: 21px;
  line-height: 1.28;
}

.udn-story-card p,
.udn-card p,
.udn-content,
.udn-definition-list {
  color: var(--udn-muted);
  line-height: 1.7;
}

.udn-card-meta,
.udn-card-tags,
.udn-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.udn-card-footer {
  justify-content: space-between;
  margin-top: 18px;
  border-top: 1px solid var(--udn-line);
  padding-top: 16px;
  color: var(--udn-muted);
  font-size: 13px;
}

.udn-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
}

.udn-evidence {
  border-color: rgba(69, 212, 255, 0.4);
  background: var(--udn-accent-soft);
  color: #cffafe;
}

.udn-kicker {
  color: var(--udn-accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.udn-page-head,
.udn-section-grid,
.udn-newsletter,
.udn-single {
  margin-block: 48px;
}

.udn-section-heading {
  margin-bottom: 20px;
}

.udn-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.udn-stat-grid div {
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 18px;
}

.udn-stat-grid strong {
  display: block;
  font-size: 28px;
}

.udn-stat-grid span {
  color: var(--udn-muted);
  font-size: 12px;
}

.udn-ad-slot {
  display: grid;
  min-height: 120px;
  place-items: center;
  gap: 6px;
  border-style: solid;
  background:
    linear-gradient(135deg, rgba(94, 234, 212, 0.08), transparent 46%),
    var(--udn-panel);
  color: var(--udn-muted);
  padding: 18px;
  text-align: center;
}

.udn-ad-slot strong {
  display: block;
  color: var(--udn-text);
  text-transform: capitalize;
}

.udn-ad-slot img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 7px;
}

.udn-ad-label {
  color: var(--udn-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.udn-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--udn-line);
  border-radius: 8px;
}

.udn-claims-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  text-align: left;
}

.udn-claims-table th,
.udn-claims-table td {
  border-bottom: 1px solid var(--udn-line);
  padding: 16px;
  vertical-align: top;
}

.udn-claims-table th {
  color: var(--udn-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.udn-claims-dashboard,
.udn-evidence-ladder {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.udn-evidence-ladder {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.udn-claim-stat,
.udn-evidence-ladder article,
.udn-claim-card {
  border: 1px solid var(--udn-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.udn-claim-stat,
.udn-evidence-ladder article {
  padding: 15px;
}

.udn-claim-stat strong {
  display: block;
  color: #111827;
  font-size: 30px;
}

.udn-claim-stat span,
.udn-evidence-ladder p {
  display: block;
  margin: 5px 0 0;
  color: var(--udn-muted);
  font-size: 13px;
  line-height: 1.45;
}

.udn-evidence-ladder strong {
  display: block;
  color: #111827;
}

.udn-claims-ledger {
  display: grid;
  gap: 14px;
}

.udn-claim-card {
  overflow: hidden;
}

.udn-claim-card header {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid var(--udn-line);
  background: linear-gradient(180deg, #fff, #f8fbff);
  padding: 16px;
}

.udn-claim-media {
  display: grid;
  width: 112px;
  height: 82px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: linear-gradient(135deg, #10243a, #0f766e);
  color: #fff;
  font-weight: 900;
}

.udn-claim-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.udn-claim-card .udn-badge {
  white-space: nowrap;
}

.udn-claim-card h2 {
  margin: 8px 0 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.15;
}

.udn-claim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.udn-claim-grid > div {
  border-right: 1px solid var(--udn-line);
  border-bottom: 1px solid var(--udn-line);
  padding: 15px 16px;
}

.udn-claim-grid b {
  display: block;
  margin-bottom: 6px;
  color: var(--udn-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.udn-claim-grid p {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.udn-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.udn-take-hero {
  position: relative;
  overflow: hidden;
  background: #081422;
  color: #fff;
}

.udn-take-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 34, 0.96), rgba(8, 20, 34, 0.72) 45%, rgba(8, 20, 34, 0.28)),
    radial-gradient(circle at 72% 28%, rgba(94, 234, 212, 0.22), transparent 26%),
    #081422;
  content: "";
}

.udn-take-hero .udn-shell {
  position: relative;
  display: grid;
  min-height: 430px;
  align-content: end;
  padding-block: 46px;
}

.udn-kicker {
  margin: 0 0 12px;
  color: #5eead4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.udn-take-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
}

.udn-take-hero p:not(.udn-kicker) {
  max-width: 680px;
  margin: 16px 0 0;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.6;
}

.udn-take-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding-block: 28px;
}

.udn-take-main {
  display: grid;
  gap: 16px;
}

.udn-take-lead,
.udn-take-empty,
.udn-take-card,
.udn-take-rail section {
  overflow: hidden;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.udn-take-empty {
  padding: clamp(24px, 4vw, 42px);
}

.udn-take-empty h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.udn-take-empty p {
  max-width: 700px;
  color: #475569;
  font-size: 18px;
  line-height: 1.65;
}

.udn-take-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.udn-take-lead img,
.udn-take-card img,
.udn-take-fallback {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  background:
    radial-gradient(circle at 36% 38%, rgba(94, 234, 212, 0.45), transparent 20%),
    linear-gradient(135deg, #10243a, #0f766e);
  object-fit: cover;
}

.udn-take-lead > div {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.udn-take-lead h2 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.udn-take-lead p,
.udn-take-card p,
.udn-take-rail p {
  color: #475569;
  line-height: 1.6;
}

.udn-take-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.udn-take-card img,
.udn-take-card .udn-take-fallback {
  height: 170px;
  min-height: 170px;
}

.udn-take-card div,
.udn-take-rail section {
  padding: 16px;
}

.udn-take-card h3 {
  margin: 8px 0;
  font-size: 22px;
  line-height: 1.15;
}

.udn-take-rail {
  display: grid;
  align-content: start;
  gap: 16px;
  position: sticky;
  top: 76px;
}

.udn-take-rail h2 {
  margin: 0 0 12px;
  font-size: 19px;
}

.udn-take-rail a {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fbff;
  font-weight: 900;
  padding: 10px;
}

.udn-newsletter form {
  display: flex;
  gap: 8px;
}

.udn-newsletter input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 13px 14px;
}

.udn-form {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.udn-form label {
  display: grid;
  gap: 8px;
  color: #cbd5e1;
}

.udn-success {
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  padding: 14px;
}

.udn-timeline {
  display: grid;
  gap: 18px;
}

.udn-timeline-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.udn-timeline-item > span {
  color: var(--udn-accent);
  font-weight: 800;
}

.udn-definition-list {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 10px 18px;
}

.udn-definition-list dt {
  color: #fff;
  font-weight: 800;
}

.udn-policy-list {
  display: grid;
  gap: 12px;
}

.udn-policy-list p {
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.udn-site-footer {
  margin-top: 60px;
  border-top: 1px solid var(--udn-line);
  padding: 40px 0;
}

.udn-footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.udn-site-footer p,
.udn-site-footer a {
  color: var(--udn-muted);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 900px) {
  .udn-menu-toggle {
    display: inline-flex;
  }

  .udn-primary-nav {
    display: none;
    position: absolute;
    inset: 61px 16px auto;
    border: 1px solid var(--udn-line);
    border-radius: 8px;
    background: var(--udn-panel-strong);
    padding: 10px;
  }

  .udn-primary-nav.is-open {
    display: block;
  }

  .udn-primary-nav ul,
  .udn-site-footer ul {
    display: grid;
    gap: 4px;
  }

  .udn-header-tip {
    margin-left: auto;
  }

  .udn-hero-grid,
  .udn-section-grid,
  .udn-layout-with-sidebar,
  .udn-newsletter,
  .udn-footer-grid {
    grid-template-columns: 1fr;
  }

  .udn-card-grid,
  .udn-card-grid-two {
    grid-template-columns: 1fr;
  }

  .udn-search-form,
  .udn-newsletter form {
    flex-direction: column;
  }

  .udn-timeline-item,
  .udn-definition-list {
    grid-template-columns: 1fr;
  }
}

/* News-index direction: brighter, denser, and built for large link volume. */
:root {
  --udn-bg: #f5f7fb;
  --udn-panel: #ffffff;
  --udn-panel-strong: #ffffff;
  --udn-line: #d9e1ec;
  --udn-text: #111827;
  --udn-muted: #64748b;
  --udn-accent: #1d4ed8;
  --udn-accent-soft: #eff6ff;
}

body {
  background: var(--udn-bg);
  color: var(--udn-text);
}

.udn-site-header {
  border-bottom-color: var(--udn-line);
  background: rgba(255, 255, 255, 0.96);
}

.udn-brand-title,
.udn-primary-nav a,
.udn-card h2,
.udn-featured-card h2,
.udn-index-head h1,
.udn-index-panel h2,
.udn-link-row h3,
.udn-mini-list strong {
  color: #111827;
}

.udn-brand-tagline,
.udn-primary-nav a,
.udn-site-footer p,
.udn-site-footer a,
.udn-card p,
.udn-story-card p {
  color: var(--udn-muted);
}

.udn-primary-nav a:hover {
  background: #f1f5f9;
  color: #111827;
}

.udn-index-head {
  border-bottom: 1px solid var(--udn-line);
  background: #fff;
  padding: 22px 0;
}

.udn-index-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: end;
}

.udn-index-head h1 {
  max-width: 900px;
  margin: 8px 0 10px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
}

.udn-index-head p {
  max-width: 780px;
  margin: 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.6;
}

.udn-index-status,
.udn-index-panel,
.udn-link-row,
.udn-ad-slot {
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
}

.udn-index-status {
  padding: 14px;
}

.udn-index-status > strong,
.udn-index-status > span {
  display: flex;
  justify-content: space-between;
}

.udn-index-status > span {
  margin-top: -20px;
  color: var(--udn-muted);
  justify-content: flex-end;
}

.udn-index-status div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 0;
  margin-top: 16px;
  text-align: center;
}

.udn-index-status b {
  font-size: 24px;
}

.udn-index-status small {
  color: var(--udn-muted);
}

.udn-search-form {
  max-width: none;
  border-color: #cbd5e1;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.udn-search-form input {
  color: #111827;
}

.udn-search-form button,
.udn-button {
  background: #111827;
  color: #fff;
}

.udn-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.udn-quick-links a {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 11px;
}

.udn-index-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
  padding-top: 22px;
}

.udn-article-first {
  grid-template-columns: minmax(0, 940px);
  justify-content: center;
}

.udn-article-first .udn-index-side {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.udn-index-main,
.udn-index-side {
  display: grid;
  align-content: start;
  gap: 22px;
}

.udn-index-panel {
  overflow: hidden;
}

.udn-index-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--udn-line);
  padding: 13px 16px;
}

.udn-index-panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.udn-index-panel-head a,
.udn-source-link {
  color: #1d4ed8;
  font-weight: 800;
}

.udn-source-link {
  align-self: center;
  justify-self: end;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 9px 10px;
  text-align: center;
}

.udn-source-link:hover {
  border-color: #1d4ed8;
  background: #eff6ff;
}

.udn-link-stream,
.udn-mini-list {
  display: grid;
}

.udn-link-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 112px;
  gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--udn-line);
  border-radius: 0;
  box-shadow: none;
  padding: 18px 20px;
}

.udn-link-row h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.udn-link-row p {
  margin: 8px 0 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.udn-link-source {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.udn-link-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
}

.udn-badge,
.udn-evidence {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a8a;
}

.udn-index-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.udn-mini-list a {
  display: block;
  border-bottom: 1px solid var(--udn-line);
  padding: 13px 16px;
}

.udn-mini-list span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.udn-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--udn-line);
}

.udn-topic-grid a {
  background: #fff;
  color: #334155;
  font-weight: 700;
  padding: 10px 12px;
}

.udn-topic-grid a:hover,
.udn-mini-list a:hover,
.udn-link-row:hover {
  background: #f8fafc;
}

.udn-evidence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}

@media (max-width: 900px) {
  .udn-index-title-grid,
  .udn-index-layout,
  .udn-index-columns,
  .udn-article-first .udn-index-side,
  .udn-link-row {
    grid-template-columns: 1fr;
  }

  .udn-source-link {
    justify-self: start;
  }

  .udn-index-status > span {
    margin-top: 4px;
    justify-content: flex-start;
  }
}

/* News front-page reset inspired by modern aggregator layouts. */
.udn-news-mast {
  border-bottom: 1px solid var(--udn-line);
  background: #fff;
}

.udn-news-mast-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  padding: 20px 0;
}

.udn-news-mast h1 {
  max-width: 820px;
  margin: 0;
  color: #111827;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.04;
}

.udn-news-mast p:not(.udn-kicker) {
  max-width: 780px;
  margin: 10px 0 0;
  color: #334155;
  font-size: 17px;
  line-height: 1.55;
}

.udn-news-search {
  align-self: end;
}

.udn-news-search .udn-search-form {
  margin: 0;
}

.udn-trend-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-top: 1px solid #edf1f6;
  padding: 10px 0;
}

.udn-trend-bar a {
  white-space: nowrap;
  border: 1px solid var(--udn-line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  padding: 7px 10px;
}

.udn-news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 340px;
  gap: 20px;
  padding: 22px 0;
}

.udn-news-main,
.udn-news-rail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.udn-news-panel,
.udn-lead-story,
.udn-insight-grid article,
.udn-newsletter {
  border: 1px solid var(--udn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.udn-news-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e2e8f0;
  padding: 13px 16px;
}

.udn-news-panel-head h2 {
  margin: 0;
  color: #111827;
  font-size: 18px;
}

.udn-news-panel-head a {
  color: #174ea6;
  font-weight: 900;
}

.udn-lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 18px;
  padding: 20px;
}

.udn-lead-story h2 {
  margin: 8px 0 10px;
  color: #111827;
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.05;
}

.udn-lead-story p,
.udn-news-row p,
.udn-insight-grid p,
.udn-newsletter p {
  color: #475569;
  line-height: 1.55;
}

.udn-lead-story aside {
  border-left: 1px solid #e2e8f0;
  padding-left: 18px;
}

.udn-lead-story aside strong {
  display: block;
  color: #111827;
  font-size: 28px;
}

.udn-news-feed {
  display: grid;
}

.udn-news-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 96px;
  gap: 16px;
  border-bottom: 1px solid var(--udn-line);
  padding: 16px;
}

.udn-news-row:hover {
  background: #f8fafc;
}

.udn-news-row h3 {
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1.22;
}

.udn-news-row p {
  margin: 7px 0 0;
  font-size: 15px;
}

.udn-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.udn-insight-grid article {
  padding: 16px;
}

.udn-insight-grid h3 {
  margin: 0 0 8px;
  color: #111827;
}

.udn-insight-grid p {
  margin: 0;
}

.udn-newsletter {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #111827;
  color: #fff;
  padding: 16px;
}

.udn-newsletter div {
  flex: 1;
}

.udn-newsletter p {
  margin: 5px 0 0;
  color: #cbd5e1;
}

.udn-newsletter input {
  min-width: 180px;
  border: 0;
  border-radius: 6px;
  padding: 11px;
}

.udn-newsletter button {
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font-weight: 900;
  padding: 11px 13px;
}

@media (max-width: 900px) {
  .udn-news-mast-inner,
  .udn-news-layout,
  .udn-lead-story,
  .udn-news-row,
  .udn-insight-grid {
    grid-template-columns: 1fr;
  }

  .udn-lead-story aside {
    border-left: 0;
    border-top: 1px solid #e2e8f0;
    padding: 14px 0 0;
  }

  .udn-newsletter {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Current-cycle UFO news skin: richer than the plain index, without exposing backend plumbing. */
body {
  background: #eef3f8;
}

.udn-site-header {
  border-bottom-color: #19314a;
  background: #02060b;
  color: #fff;
}

.udn-brand-title {
  color: #fff;
}

.udn-brand-tagline {
  color: #9fb3c8;
}

.udn-primary-nav a {
  color: #dbeafe;
}

.udn-primary-nav a:hover {
  background: #10243a;
  color: #fff;
}

.udn-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.udn-menu-toggle {
  display: inline-flex;
  grid-column: 1;
  grid-row: 1;
  border-color: #36506a;
  background: #10243a;
  color: #fff;
}

.udn-brand {
  grid-column: 2;
  justify-self: center;
}

.udn-primary-nav {
  grid-column: 3;
}

.udn-live-watch {
  overflow: hidden;
  border-bottom: 1px solid #19314a;
  background: #0e2033;
  color: #dbeafe;
}

.udn-live-watch .udn-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 8px 0;
  white-space: nowrap;
}

.udn-live-watch strong {
  color: #5eead4;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.udn-live-watch a {
  color: #e5edf6;
  font-size: 13px;
}

.udn-ticker-window {
  overflow: hidden;
}

.udn-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: max-content;
  animation: udnTicker 44s linear infinite;
}

.udn-live-watch:hover .udn-ticker-track {
  animation-play-state: paused;
}

.udn-ticker-track a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: #5eead4;
}

@keyframes udnTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.udn-feature-carousel {
  display: grid;
  gap: 14px;
  padding: 22px 0 0;
}

.udn-carousel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: end;
}

.udn-carousel-head h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
}

.udn-feature-main {
  display: grid;
  grid-template-columns: minmax(320px, 1.08fr) minmax(0, 0.92fr);
  overflow: hidden;
  border: 1px solid #cdd8e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.udn-feature-image-link,
.udn-feature-image,
.udn-feature-card-image {
  display: block;
  overflow: hidden;
  background-color: #10243a;
  background-position: center;
  background-size: cover;
}

.udn-feature-image-link img,
.udn-feature-image img,
.udn-feature-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.udn-feature-image-link {
  min-height: 380px;
}

.udn-feature-image {
  width: 100%;
  min-height: 100%;
}

.udn-feature-image.is-fallback,
.udn-feature-card-image.is-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(8, 20, 34, 0.82), rgba(12, 116, 132, 0.72)),
    radial-gradient(circle at 28% 28%, rgba(94, 234, 212, 0.9), transparent 22%),
    #10243a;
  color: #fff;
  font-weight: 900;
}

.udn-feature-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(20px, 4vw, 38px);
}

.udn-feature-copy h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
}

.udn-feature-copy p {
  margin: 0;
  color: #40516a;
  font-size: 17px;
  line-height: 1.55;
}

.udn-feature-copy .udn-button {
  justify-self: start;
  background: #111827;
  color: #fff;
}

.udn-feature-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.udn-feature-card {
  overflow: hidden;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.udn-feature-card-image {
  min-height: 132px;
  height: 132px;
}

.udn-feature-card > div {
  padding: 12px;
}

.udn-feature-card h3 {
  margin: 8px 0 0;
  color: #111827;
  font-size: 17px;
  line-height: 1.18;
}

.udn-news-mast {
  border-bottom-color: #cbd5e1;
  background: linear-gradient(135deg, #10243a 0%, #142f4a 48%, #064e5f 100%);
  color: #fff;
}

.udn-news-mast h1 {
  color: #fff;
}

.udn-news-mast p:not(.udn-kicker) {
  color: #dbeafe;
}

.udn-news-mast .udn-kicker {
  color: #7dd3fc;
}

.udn-news-search .udn-search-form {
  border-color: rgba(219, 234, 254, 0.2);
  background: rgba(8, 20, 34, 0.62);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.udn-news-search .udn-search-form input {
  border: 1px solid #38546d;
  border-radius: 7px;
  background: #fff;
}

.udn-news-search .udn-search-form button,
.udn-newsletter button {
  background: #5eead4;
  color: #062024;
}

.udn-trend-bar {
  border-top-color: rgba(219, 234, 254, 0.16);
}

.udn-trend-bar a {
  border-color: #d5dee9;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.04);
}

.udn-news-panel,
.udn-lead-story,
.udn-insight-grid article,
.udn-newsletter {
  border-color: #d5dee9;
  border-radius: 10px;
}

.udn-lead-story {
  grid-template-columns: 240px minmax(0, 1fr) 230px;
}

.udn-lead-story::before {
  content: "UFO/UAP";
  display: none;
  place-items: center;
  min-height: 100%;
  border-radius: 8px;
  background:
    radial-gradient(circle at 30% 25%, #5eead4 0 7%, transparent 8%),
    radial-gradient(circle at 70% 65%, #fbbf24 0 5%, transparent 6%),
    linear-gradient(135deg, #0f2742, #14506a);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.udn-lead-thumb {
  display: grid;
  min-height: 100%;
  place-items: center;
  background-color: #0f2742;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.udn-lead-thumb.is-fallback {
  background:
    radial-gradient(circle at 30% 25%, #5eead4 0 7%, transparent 8%),
    radial-gradient(circle at 70% 65%, #fbbf24 0 5%, transparent 6%),
    linear-gradient(135deg, #0f2742, #14506a);
}

.udn-story-thumb {
  display: grid;
  width: 96px;
  height: 74px;
  min-height: 74px;
  overflow: hidden;
  place-items: center;
  border-radius: 8px;
  background-color: #10243a;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-weight: 900;
}

.udn-story-thumb img,
.udn-mini-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.udn-story-thumb.is-fallback {
  background: linear-gradient(135deg, #10243a, #0f766e);
}

.udn-lead-story h2 {
  font-size: clamp(29px, 4vw, 38px);
}

.udn-lead-story aside strong {
  font-size: 18px;
}

.udn-badge,
.udn-evidence {
  border-color: #99f6e4;
  background: #ecfeff;
  color: #115e59;
}

.udn-news-row {
  grid-template-columns: 86px minmax(0, 1fr) 82px;
}

.udn-news-row:hover {
  background: #f8fbff;
}

.udn-feed-count {
  color: #64748b;
  font-size: 13px;
}

.udn-news-rail {
  position: sticky;
  top: 76px;
  max-height: none;
  overflow: visible;
}

.udn-mini-media {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.udn-mini-thumb {
  display: grid;
  width: 58px;
  height: 46px;
  overflow: hidden;
  place-items: center;
  border-radius: 7px;
  background-color: #10243a;
  background-position: center;
  background-size: cover;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.udn-mini-thumb.is-fallback {
  background: linear-gradient(135deg, #10243a, #0f766e);
}

.udn-single-image {
  display: block;
  min-height: min(440px, 52vw);
  margin: -24px -24px 22px;
  overflow: hidden;
  background-color: #10243a;
  background-position: center;
  background-size: cover;
}

.udn-single-image img {
  display: block;
  width: 100%;
  height: min(440px, 52vw);
  object-fit: cover;
}

.udn-single-image.is-fallback {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(8, 20, 34, 0.9), rgba(12, 116, 132, 0.72)),
    radial-gradient(circle at 26% 28%, rgba(94, 234, 212, 0.85), transparent 22%),
    #10243a;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.udn-back-link {
  display: inline-flex;
  margin-bottom: 14px;
  color: #174ea6;
  font-size: 14px;
  font-weight: 900;
}

.udn-single h1 {
  max-width: 860px;
  margin: 14px 0;
  color: #111827;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.06;
}

.udn-single .udn-content h2 {
  margin: 22px 0 8px;
  color: #111827;
  font-size: 20px;
}

.udn-share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 16px 0 18px;
}

.udn-share-row span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.udn-share-row a {
  border: 1px solid #d5dee9;
  border-radius: 999px;
  background: #f8fbff;
  color: #174ea6;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 10px;
}

.udn-source-excerpt {
  margin: 20px 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.udn-source-excerpt h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.udn-source-excerpt p {
  max-width: 780px;
  margin: 0 0 18px;
  color: #27364a;
  font-size: 18px;
  line-height: 1.64;
}

.udn-source-excerpt small {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-weight: 800;
}

.udn-explore-story {
  margin-top: 28px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.udn-explore-story h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 18px;
}

.udn-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.udn-link-grid a {
  display: block;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #f8fbff;
  color: #174ea6;
  font-size: 14px;
  font-weight: 900;
  padding: 11px 12px;
}

.udn-link-grid a:hover {
  border-color: #0b65c2;
  background: #eff6ff;
}

.udn-related-stories {
  margin-block: 28px;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  padding: 0 0 14px;
}

.udn-related-stories .udn-feature-track {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 14px;
}

.udn-comments {
  margin-block: 28px 48px;
  border: 1px solid #d5dee9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  padding: 0 18px 20px;
}

.udn-comments-toggle summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin: 0 -18px;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid #e2e8f0;
  padding: 16px 18px;
}

.udn-comments-toggle summary::-webkit-details-marker {
  display: none;
}

.udn-comments-title {
  color: #111827;
  font-size: 22px;
  font-weight: 900;
}

.udn-comments-count {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.udn-comments-action {
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fbff;
  color: #174ea6;
  font-size: 13px;
  font-weight: 900;
  padding: 8px 11px;
}

.udn-comments-hide,
.udn-comments-toggle[open] .udn-comments-show {
  display: none;
}

.udn-comments-toggle[open] .udn-comments-hide {
  display: inline;
}

.udn-comments-body {
  padding-top: 18px;
}

.udn-comment-empty,
.udn-comment-note {
  max-width: 760px;
  color: #475569;
  line-height: 1.6;
}

.udn-comment-list {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.udn-comment-list .comment {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fbff;
  padding: 16px;
}

.udn-comment-list .comment-meta,
.udn-comment-list .reply {
  font-size: 13px;
  font-weight: 800;
}

.udn-comment-list .comment-content {
  color: #27364a;
  line-height: 1.65;
}

.comment-respond {
  margin-top: 20px;
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.comment-respond h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 22px;
}

.comment-form {
  display: grid;
  gap: 12px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  color: #334155;
  font-weight: 800;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font: inherit;
  padding: 12px;
}

.comment-form .form-submit input {
  width: auto;
  border: 0;
  background: #111827;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding-inline: 16px;
}

.udn-comment-trap {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}

.udn-source-link:hover {
  border-color: #0b65c2;
  background: #eff6ff;
}

.udn-newsletter {
  background: #0b1726;
}

.udn-evidence-guide {
  display: grid;
  gap: 8px;
  padding: 12px;
}

.udn-evidence-guide a {
  display: block;
  border: 1px solid #d5dee9;
  border-radius: 8px;
  background: #f8fbff;
  padding: 10px;
}

.udn-evidence-guide strong {
  display: block;
  color: #0f2742;
}

.udn-evidence-guide span {
  display: block;
  margin-top: 3px;
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .udn-carousel-head,
  .udn-feature-main,
  .udn-feature-track,
  .udn-claims-dashboard,
  .udn-evidence-ladder,
  .udn-claim-grid,
  .udn-claim-card header {
    grid-template-columns: 1fr;
  }

  .udn-claim-media {
    width: 100%;
    height: 160px;
  }

  .udn-live-watch .udn-shell,
  .udn-news-row {
    grid-template-columns: 1fr;
  }

  .udn-news-rail {
    position: static;
    max-height: none;
  }

  .udn-feature-image-link {
    min-height: 220px;
  }

  .udn-lead-story {
    grid-template-columns: 1fr;
  }

  .udn-lead-story::before {
    display: none;
  }

  .udn-lead-thumb {
    min-height: 160px;
  }

  .udn-related-stories .udn-feature-track {
    grid-template-columns: 1fr;
  }

  .udn-link-grid {
    grid-template-columns: 1fr;
  }
}

/* Day/night theme controls. */
html[data-udn-theme="light"] body {
  background: #eef3f8;
  color: #111827;
}

html[data-udn-theme="dark"] body {
  background:
    radial-gradient(circle at 72% 0%, rgba(69, 212, 255, 0.1), transparent 34rem),
    #05080d;
  color: #e5edf6;
}

.udn-header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 14px;
}

.udn-brand {
  grid-column: 1;
  justify-self: start;
}

.udn-primary-nav {
  grid-column: 2;
  justify-self: end;
}

.udn-menu-toggle {
  display: none;
}

.udn-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 11px 7px 8px;
}

.udn-theme-toggle-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #fef3c7);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.udn-logo-stack {
  display: block;
  position: relative;
  width: 136px;
  height: 36px;
  flex: 0 0 auto;
  overflow: hidden;
}

.udn-logo-stack .udn-logo-mark {
  position: absolute;
  inset: 0;
  width: 136px;
  height: auto;
}

.udn-logo-mark-dark {
  display: none;
}

html[data-udn-theme="dark"] .udn-logo-mark-light {
  display: none;
}

html[data-udn-theme="dark"] .udn-logo-mark-dark {
  display: block;
}

html[data-udn-theme="light"] .udn-site-header {
  border-bottom-color: #d5dee9;
  background: rgba(255, 255, 255, 0.96);
  color: #111827;
}

html[data-udn-theme="light"] .udn-brand-title,
html[data-udn-theme="light"] .udn-primary-nav a {
  color: #111827;
}

html[data-udn-theme="light"] .udn-brand-tagline {
  color: #64748b;
}

html[data-udn-theme="light"] .udn-primary-nav a:hover {
  background: #eff6ff;
  color: #174ea6;
}

html[data-udn-theme="dark"] .udn-site-header {
  border-bottom-color: #19314a;
  background: #02060b;
  color: #fff;
}

html[data-udn-theme="dark"] .udn-brand-title,
html[data-udn-theme="dark"] .udn-primary-nav a {
  color: #f8fafc;
}

html[data-udn-theme="dark"] .udn-brand-tagline,
html[data-udn-theme="dark"] .udn-live-watch a {
  color: #9fb3c8;
}

html[data-udn-theme="dark"] .udn-primary-nav a:hover {
  background: #10243a;
  color: #fff;
}

html[data-udn-theme="dark"] .udn-theme-toggle {
  border-color: #334155;
  background: #0f172a;
  color: #e5edf6;
}

html[data-udn-theme="dark"] .udn-theme-toggle-dot {
  background: linear-gradient(135deg, #38bdf8, #1e3a8a);
}

html[data-udn-theme="dark"] .udn-live-watch {
  border-bottom-color: #19314a;
  background: #0e2033;
}

html[data-udn-theme="dark"] .udn-carousel-head h1,
html[data-udn-theme="dark"] .udn-news-panel-head h2,
html[data-udn-theme="dark"] .udn-index-head h1,
html[data-udn-theme="dark"] .udn-index-panel h2,
html[data-udn-theme="dark"] .udn-card h2,
html[data-udn-theme="dark"] .udn-feature-copy h2,
html[data-udn-theme="dark"] .udn-feature-card h3,
html[data-udn-theme="dark"] .udn-story-card h2,
html[data-udn-theme="dark"] .udn-link-row h3,
html[data-udn-theme="dark"] .udn-claim-card h2,
html[data-udn-theme="dark"] .udn-related-stories h2 {
  color: #f8fafc;
}

html[data-udn-theme="dark"] .udn-news-panel,
html[data-udn-theme="dark"] .udn-lead-story,
html[data-udn-theme="dark"] .udn-card,
html[data-udn-theme="dark"] .udn-feature-main,
html[data-udn-theme="dark"] .udn-feature-card,
html[data-udn-theme="dark"] .udn-index-panel,
html[data-udn-theme="dark"] .udn-index-status,
html[data-udn-theme="dark"] .udn-link-row,
html[data-udn-theme="dark"] .udn-claim-card,
html[data-udn-theme="dark"] .udn-claim-stat,
html[data-udn-theme="dark"] .udn-evidence-ladder article,
html[data-udn-theme="dark"] .udn-single,
html[data-udn-theme="dark"] .udn-related-stories .udn-feature-card,
html[data-udn-theme="dark"] .udn-comments,
html[data-udn-theme="dark"] .udn-search-card,
html[data-udn-theme="dark"] .udn-filter-panel {
  border-color: #21364d;
  background: #0b1420;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

html[data-udn-theme="dark"] .udn-story-row,
html[data-udn-theme="dark"] .udn-mini-list a,
html[data-udn-theme="dark"] .udn-news-panel-head,
html[data-udn-theme="dark"] .udn-index-panel-head,
html[data-udn-theme="dark"] .udn-claim-grid > div,
html[data-udn-theme="dark"] .udn-claim-card header {
  border-color: #21364d;
}

html[data-udn-theme="dark"] .udn-story-row:hover,
html[data-udn-theme="dark"] .udn-mini-list a:hover {
  background: #0f1d2d;
}

html[data-udn-theme="dark"] .udn-card p,
html[data-udn-theme="dark"] .udn-story-card p,
html[data-udn-theme="dark"] .udn-feature-copy p,
html[data-udn-theme="dark"] .udn-link-row p,
html[data-udn-theme="dark"] .udn-content,
html[data-udn-theme="dark"] .udn-story-summary p,
html[data-udn-theme="dark"] .udn-comment-empty,
html[data-udn-theme="dark"] .udn-comment-note,
html[data-udn-theme="dark"] .udn-comment-list .comment-content,
html[data-udn-theme="dark"] .udn-index-head p,
html[data-udn-theme="dark"] .udn-mini-list span,
html[data-udn-theme="dark"] .udn-claim-grid p,
html[data-udn-theme="dark"] .udn-site-footer p {
  color: #b7c6d8;
}

html[data-udn-theme="dark"] .udn-comment-list .comment {
  border-color: #21364d;
  background: #0f1d2d;
}

html[data-udn-theme="dark"] .comment-respond {
  border-top-color: #21364d;
}

html[data-udn-theme="dark"] .comment-respond h3,
html[data-udn-theme="dark"] .comment-form label,
html[data-udn-theme="dark"] .udn-comments-title {
  color: #f8fafc;
}

html[data-udn-theme="dark"] .udn-comments-toggle summary {
  border-bottom-color: #21364d;
}

html[data-udn-theme="dark"] .udn-comments-action {
  border-color: #3b5f86;
  background: #0f1d2d;
  color: #93c5fd;
}

html[data-udn-theme="dark"] .udn-site-footer {
  border-top-color: #21364d;
  background: #08111c;
}

html[data-udn-theme="dark"] input,
html[data-udn-theme="dark"] textarea,
html[data-udn-theme="dark"] select {
  border-color: #334155;
  background: #07111d;
  color: #e5edf6;
}

html[data-udn-theme="dark"] .udn-topic-grid,
html[data-udn-theme="dark"] .udn-topic-grid a,
html[data-udn-theme="dark"] .udn-brief,
html[data-udn-theme="dark"] .udn-watchlist,
html[data-udn-theme="dark"] .udn-trend-grid,
html[data-udn-theme="dark"] .udn-trend-grid a {
  border-color: #21364d;
  background: #0b1420;
  color: #e5edf6;
}

html[data-udn-theme="dark"] .udn-topic-grid {
  background: #21364d;
}

html[data-udn-theme="dark"] .udn-topic-grid a:hover,
html[data-udn-theme="dark"] .udn-trend-grid a:hover {
  background: #0f1d2d;
}

html[data-udn-theme="dark"] .udn-topic-grid strong,
html[data-udn-theme="dark"] .udn-brief h2,
html[data-udn-theme="dark"] .udn-brief h3,
html[data-udn-theme="dark"] .udn-watchlist strong,
html[data-udn-theme="dark"] .udn-trend-grid strong {
  color: #f8fafc;
}

html[data-udn-theme="dark"] .udn-topic-grid span,
html[data-udn-theme="dark"] .udn-brief p,
html[data-udn-theme="dark"] .udn-watchlist p,
html[data-udn-theme="dark"] .udn-trend-grid span {
  color: #b7c6d8;
}

html[data-udn-theme="dark"] .udn-source-link {
  border-color: #3b5f86;
  background: #0f1d2d;
  color: #93c5fd;
}

html[data-udn-theme="dark"] .udn-source-link:hover {
  background: #172a40;
  color: #dbeafe;
}

@media (max-width: 900px) {
  .udn-header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .udn-brand {
    grid-column: 1;
  }

  .udn-theme-toggle {
    grid-column: 2;
  }

  .udn-menu-toggle {
    display: inline-flex;
    grid-column: 3;
  }

  .udn-primary-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .udn-header-tip {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Final publishing polish: compact header, sticky rails, stronger homepage lead, and newsroom footer. */
.udn-header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 12px;
  overflow: visible;
}

.udn-logo-stack {
  width: 118px;
  height: 32px;
}

.udn-logo-stack .udn-logo-mark {
  width: 118px;
}

.udn-primary-nav {
  min-width: 0;
}

.udn-primary-nav ul {
  justify-content: flex-end;
  gap: 4px;
  white-space: nowrap;
}

.udn-primary-nav a {
  padding: 8px 9px;
  font-size: 14px;
  font-weight: 800;
}

.udn-theme-toggle {
  padding: 7px 9px;
}

.udn-news-rail,
.udn-take-rail {
  position: sticky;
  top: 88px;
  align-self: start;
  height: max-content;
  max-height: calc(100vh - 104px);
  overflow: auto;
  scrollbar-width: thin;
}

.udn-feature-carousel {
  padding: 34px 0 18px;
}

.udn-carousel-head {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  margin-bottom: 4px;
}

.udn-carousel-head h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  letter-spacing: 0;
}

.udn-feature-main {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  min-height: 440px;
}

.udn-feature-image-link {
  min-height: 440px;
}

.udn-feature-copy {
  padding: clamp(26px, 3.5vw, 44px);
}

.udn-feature-copy h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.03;
}

.udn-feature-card-image {
  height: 148px;
}

.udn-feature-card h3 {
  font-size: 18px;
}

.udn-site-footer {
  margin-top: 56px;
  border-top: 1px solid #d5dee9;
  background: #fff;
  padding: 0;
}

.udn-footer-grid {
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 28px;
  padding: 34px 0 22px;
}

.udn-footer-brand h2 {
  margin: 0;
  font-size: 20px;
}

.udn-footer-brand p {
  max-width: 520px;
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.55;
}

.udn-footer-column {
  display: grid;
  gap: 7px;
  align-content: start;
}

.udn-footer-column h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.udn-footer-column a {
  color: #174ea6;
  font-weight: 900;
}

.udn-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #e2e8f0;
  padding: 16px 0 24px;
  color: #64748b;
  font-size: 13px;
}

html[data-udn-theme="dark"] .udn-site-footer {
  border-top-color: #21364d;
  background: #08111c;
}

html[data-udn-theme="dark"] .udn-footer-column h3,
html[data-udn-theme="dark"] .udn-footer-brand h2 {
  color: #f8fafc;
}

html[data-udn-theme="dark"] .udn-footer-bottom {
  border-top-color: #21364d;
  color: #9fb3c8;
}

@media (max-width: 1180px) {
  .udn-brand-tagline,
  .udn-theme-toggle-text {
    display: none;
  }

  .udn-logo-stack {
    width: 104px;
    height: 28px;
  }

  .udn-logo-stack .udn-logo-mark {
    width: 104px;
  }

  .udn-primary-nav a {
    padding: 7px 8px;
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .udn-news-rail,
  .udn-take-rail {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .udn-carousel-head,
  .udn-feature-main,
  .udn-feature-track,
  .udn-footer-grid {
    grid-template-columns: 1fr;
  }

  .udn-feature-image-link {
    min-height: 240px;
  }

  .udn-footer-bottom {
    display: grid;
  }
}

/* Disclose-style simplification: the homepage should read like a news front page. */
.udn-feature-carousel {
  width: min(1040px, calc(100% - 32px));
  gap: 18px;
  padding-top: 26px;
}

.udn-carousel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.udn-carousel-head h1 {
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 52px);
}

.udn-feature-main {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.udn-feature-image-link {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: #111827;
}

.udn-feature-copy {
  display: block;
  padding: 12px 0 0;
}

.udn-feature-copy .udn-link-meta,
.udn-feature-copy .udn-button {
  margin-top: 12px;
}

.udn-feature-copy h2 {
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
}

.udn-feature-copy p {
  max-width: 700px;
  margin-top: 14px;
  font-size: 17px;
}

.udn-feature-track {
  max-width: 1040px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.udn-feature-card {
  border-radius: 6px;
  box-shadow: none;
}

.udn-feature-card-image {
  height: 132px;
}

.udn-news-layout {
  width: min(1040px, calc(100% - 32px));
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
}

.udn-news-panel,
.udn-feature-card {
  border-color: rgba(100, 116, 139, 0.26);
}

.udn-news-row {
  grid-template-columns: 92px minmax(0, 1fr) auto;
  padding: 14px 0;
  margin-inline: 16px;
}

.udn-news-row:last-child {
  border-bottom: 0;
}

.udn-news-row h3 {
  font-size: 20px;
}

.udn-news-row p {
  max-width: 720px;
}

.udn-source-link {
  align-self: center;
}

.udn-insight-grid,
.udn-newsletter {
  display: none;
}

html[data-udn-theme="dark"] .udn-feature-main {
  background: transparent;
  box-shadow: none;
}

html[data-udn-theme="dark"] .udn-feature-copy h2,
html[data-udn-theme="dark"] .udn-feature-copy p {
  color: #e5edf6;
}

/* Final homepage guardrails: keep the news lead compact in both themes. */
.udn-live-watch {
  overflow: hidden;
}

.udn-ticker-window {
  overflow: hidden;
}

.udn-feature-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  max-width: none;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #cdd8e7;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
}

.udn-feature-image-link {
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background: #10243a;
}

.udn-feature-image-link img,
.udn-feature-image img,
.udn-feature-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

html[data-udn-theme="dark"] .udn-feature-main,
html[data-udn-theme="dark"] .udn-feature-card {
  border-color: #21364d;
  background: #0b1420;
  color: #e5edf6;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

@media (max-width: 900px) {
  .udn-carousel-head {
    display: grid;
  }

  .udn-feature-track,
  .udn-news-layout,
  .udn-news-row {
    grid-template-columns: 1fr;
  }

  .udn-news-row {
    margin-inline: 14px;
  }
}

/* Final navigation and image contract: compact news header, stable thumbnails. */
.udn-site-header {
  overflow: visible;
}

.udn-header-inner {
  position: relative;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center;
  overflow: visible;
}

.udn-menu-toggle {
  display: inline-grid !important;
  grid-column: 1 !important;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #334155;
  border-radius: 5px;
  background: #02060b;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.udn-menu-line,
.udn-menu-line::before,
.udn-menu-line::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.udn-menu-line {
  position: relative;
}

.udn-menu-line::before,
.udn-menu-line::after {
  content: "";
  position: absolute;
  left: 0;
}

.udn-menu-line::before {
  top: -6px;
}

.udn-menu-line::after {
  top: 6px;
}

.udn-brand {
  grid-column: 2 !important;
  justify-self: center !important;
}

.udn-primary-nav {
  display: none !important;
  position: absolute !important;
  z-index: 80;
  top: calc(100% + 8px);
  left: 0;
  width: min(280px, calc(100vw - 32px));
  border: 1px solid #24384f;
  border-radius: 0;
  background: #02060b;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.38);
  padding: 8px;
}

.udn-primary-nav.is-open {
  display: block !important;
}

.udn-primary-nav ul {
  display: grid !important;
  gap: 0 !important;
  justify-content: stretch !important;
}

.udn-primary-nav li {
  margin: 0;
}

.udn-primary-nav a {
  display: block;
  border-bottom: 1px solid #14243a;
  border-radius: 0;
  color: #e5edf6 !important;
  font-size: 14px;
  font-weight: 900;
  padding: 13px 12px !important;
}

.udn-primary-nav li:last-child a {
  border-bottom: 0;
}

.udn-primary-nav a:hover {
  background: #10243a;
  color: #fff !important;
}

.udn-theme-toggle {
  grid-column: 3 !important;
  justify-self: end;
}

.udn-header-tip {
  display: none !important;
}

html[data-udn-theme="light"] .udn-menu-toggle {
  border-color: #cbd5e1;
  background: #fff;
  color: #111827;
}

html[data-udn-theme="light"] .udn-primary-nav {
  border-color: #d5dee9;
  background: #fff;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

html[data-udn-theme="light"] .udn-primary-nav a {
  border-bottom-color: #e2e8f0;
  color: #111827 !important;
}

html[data-udn-theme="light"] .udn-primary-nav a:hover {
  background: #eff6ff;
  color: #174ea6 !important;
}

.udn-news-row {
  grid-template-columns: 118px minmax(0, 1fr) 86px !important;
  gap: 16px !important;
  align-items: start !important;
}

.udn-news-layout {
  align-items: start !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 340px) !important;
}

.udn-news-main,
.udn-news-rail {
  min-width: 0;
}

.udn-news-rail,
.udn-take-rail {
  position: sticky !important;
  top: 88px !important;
  max-height: none !important;
  overflow: visible !important;
}

.udn-story-thumb {
  display: block !important;
  width: 112px !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 8px !important;
  background-color: #10243a !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.udn-story-thumb.is-fallback {
  display: grid !important;
  place-items: center;
  color: #fff;
}

.udn-mini-thumb {
  display: block !important;
  width: 64px !important;
  height: 48px !important;
  min-height: 0 !important;
  border-radius: 7px !important;
  background-color: #10243a !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

.udn-mini-thumb.is-fallback {
  display: grid !important;
  place-items: center;
}

.udn-mini-media {
  grid-template-columns: 64px minmax(0, 1fr) !important;
}

.udn-news-rail .udn-news-panel {
  overflow: visible;
}

.udn-news-rail .udn-mini-list {
  display: grid;
}

@media (max-width: 900px) {
  .udn-header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
  }

  .udn-brand {
    justify-self: start !important;
  }

  .udn-header-tip {
    display: none;
  }

  .udn-news-row {
    grid-template-columns: 96px minmax(0, 1fr) !important;
  }

  .udn-story-thumb {
    width: 92px !important;
  }

  .udn-news-row .udn-source-link {
    grid-column: 2;
    justify-self: start;
  }

  .udn-news-rail,
  .udn-take-rail {
    position: static !important;
  }

  .udn-comments-toggle summary {
    grid-template-columns: 1fr;
  }
}

/* Disclose-style news wall homepage: one lead story plus 27 fresh article tiles. */
.udn-disclose-home {
  min-height: 100vh;
  background: #141414;
  color: #f8fafc;
  padding-bottom: 52px;
}

.udn-disclose-shell {
  width: min(960px, calc(100% - 28px));
  margin-inline: auto;
}

.udn-disclose-ticker {
  border-bottom: 1px solid #242424;
  background: #070707;
}

.udn-disclose-ticker-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 34px;
  overflow: hidden;
}

.udn-disclose-ticker strong {
  color: #5eead4;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.udn-disclose-ticker-window {
  overflow: hidden;
}

.udn-disclose-ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: max-content;
  animation: udnDiscloseTicker 58s linear infinite;
}

.udn-disclose-ticker-track a {
  color: #e5e7eb;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.udn-disclose-ticker-track a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 999px;
  background: #5eead4;
  vertical-align: middle;
}

@keyframes udnDiscloseTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.udn-disclose-wall {
  padding-top: 26px;
}

.udn-disclose-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
}

.udn-disclose-lead-image,
.udn-disclose-card a {
  display: block;
  color: inherit;
}

.udn-disclose-lead-thumb,
.udn-disclose-card-thumb {
  display: block;
  overflow: hidden;
  background: #0b1119;
}

.udn-disclose-lead-thumb {
  width: 100%;
  height: 100%;
  min-height: 330px;
}

.udn-disclose-lead-thumb img,
.udn-disclose-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.udn-disclose-lead-thumb.is-fallback,
.udn-disclose-card-thumb.is-fallback {
  display: grid;
  place-items: center;
  color: #cbd5e1;
  font-weight: 900;
}

.udn-disclose-lead-copy {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  background: #111827;
  padding: clamp(18px, 3vw, 30px);
}

.udn-disclose-label,
.udn-disclose-card-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  background: #a41917;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.udn-disclose-label {
  margin-bottom: 12px;
  padding: 8px 10px;
}

.udn-disclose-lead h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: 0;
  line-height: 0.96;
}

.udn-disclose-meta {
  margin-top: 14px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 800;
}

.udn-disclose-read {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  border: 1px solid #374151;
  background: #070707;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 13px;
}

.udn-disclose-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.udn-disclose-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #0f172a;
}

.udn-disclose-card a {
  min-height: 100%;
}

.udn-disclose-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.udn-disclose-card-label {
  position: absolute;
  top: 8px;
  left: 8px;
  max-width: calc(100% - 16px);
  padding: 6px 8px;
}

.udn-disclose-card h2 {
  min-height: 80px;
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.12;
  padding: 12px;
}

.udn-disclose-card:hover img,
.udn-disclose-lead:hover img {
  transform: scale(1.035);
}

.udn-disclose-card img,
.udn-disclose-lead img {
  transition: transform 180ms ease;
}

html[data-udn-theme="light"] .udn-disclose-home {
  background: #f1f5f9;
  color: #111827;
}

html[data-udn-theme="light"] .udn-disclose-ticker {
  border-bottom-color: #d5dee9;
  background: #fff;
}

html[data-udn-theme="light"] .udn-disclose-ticker-track a {
  color: #1f2937;
}

html[data-udn-theme="light"] .udn-disclose-lead-copy,
html[data-udn-theme="light"] .udn-disclose-card {
  background: #fff;
  color: #111827;
}

html[data-udn-theme="light"] .udn-disclose-lead h1,
html[data-udn-theme="light"] .udn-disclose-card h2 {
  color: #111827;
}

html[data-udn-theme="light"] .udn-disclose-read {
  border-color: #d5dee9;
  background: #111827;
}

@media (min-width: 1260px) {
  .udn-disclose-card-label {
    top: 169px;
  }
}

@media (max-width: 760px) {
  .udn-disclose-shell {
    width: min(100% - 20px, 520px);
  }

  .udn-disclose-ticker-inner,
  .udn-disclose-lead {
    grid-template-columns: 1fr;
  }

  .udn-disclose-lead-thumb,
  .udn-disclose-lead-copy {
    min-height: 0;
  }

  .udn-disclose-lead-thumb {
    aspect-ratio: 16 / 10;
  }

  .udn-disclose-grid {
    grid-template-columns: 1fr;
  }

  .udn-disclose-card-label {
    top: 8px;
  }
}

/* Final logo/share correction: use the supplied UDN image cleanly and keep sharing compact. */
.udn-brand {
  gap: 10px;
}

.udn-brand-copy {
  display: none !important;
}

.udn-logo-stack {
  display: block !important;
  position: relative !important;
  width: 184px !important;
  height: 52px !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  border: 0 !important;
  background: transparent !important;
}

.udn-logo-stack .udn-logo-mark {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 184px !important;
  height: 52px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: translate(-50%, -50%) !important;
}

.udn-logo-mark-dark {
  display: none !important;
}

html[data-udn-theme="dark"] .udn-logo-mark-light {
  display: none !important;
}

html[data-udn-theme="dark"] .udn-logo-mark-dark,
html[data-udn-theme="light"] .udn-logo-mark-light {
  display: block !important;
}

html[data-udn-theme="light"] .udn-logo-mark-dark {
  display: none !important;
}

.udn-share-row {
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  max-width: 100% !important;
  margin: 10px 0 8px !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
}

.udn-share-row::-webkit-scrollbar {
  display: none;
}

.udn-share-row span {
  flex: 0 0 auto !important;
  margin-right: 2px !important;
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.udn-share-row a {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 28px !important;
  border: 1px solid #d5dee9 !important;
  border-radius: 999px !important;
  background: #f8fbff !important;
  color: #174ea6 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  padding: 0 8px !important;
  text-transform: uppercase !important;
}

html[data-udn-theme="dark"] .udn-share-row a {
  border-color: #334155 !important;
  background: #0f1d2d !important;
  color: #dbeafe !important;
}

@media (max-width: 700px) {
  .udn-header-inner {
    min-height: 58px;
    padding-block: 6px;
  }

  .udn-logo-stack {
    width: 178px !important;
    height: 48px !important;
  }

  .udn-logo-stack .udn-logo-mark {
    width: 178px !important;
    height: 48px !important;
  }

  .udn-share-row {
    margin-top: 8px !important;
    padding-bottom: 1px !important;
  }
}

/* Disclose-style article actions: no giant share block under the headline. */
.udn-single > .udn-share-row,
.udn-single .udn-card-tags {
  display: none !important;
}

.udn-article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.udn-article-actions .udn-button,
.udn-article-actions .udn-action-link {
  min-height: 30px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  padding: 9px 12px;
  text-transform: none;
}

.udn-article-actions .udn-action-link {
  border: 1px solid #1f3a56;
  background: #0f1d2d;
  color: #e5edf6;
}

html[data-udn-theme="light"] .udn-article-actions .udn-action-link {
  border-color: #d5dee9;
  background: #f8fbff;
  color: #174ea6;
}
