@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=El+Messiri:wght@500;600;700&family=Manrope:wght@400;500;700;800&family=Noto+Naskh+Arabic:wght@500;700&display=swap");

:root {
  --ink: #f7f1df;
  --muted: #bdc9b8;
  --line: rgba(215, 181, 98, 0.28);
  --paper: #061a12;
  --surface: #0c261b;
  --soft: #102f22;
  --brick: #d7b562;
  --brick-dark: #8a6829;
  --teal: #0f4b35;
  --gold: #d7b562;
  --green: #123c2b;
  --ivory: #fff8e8;
  --stone: #d7c8a5;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --font-display: "Cormorant Garamond", "Noto Naskh Arabic", Georgia, serif;
  --font-body: "Manrope", "Noto Naskh Arabic", Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(215, 181, 98, 0.18), transparent 32rem),
    linear-gradient(180deg, #061a12 0%, #0b2419 52%, #061a12 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.5;
}

h1,
h2,
h3,
.brand strong,
.latest-item strong,
.stack-list strong,
.project-card h3,
.story-card h3,
.mini-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 10;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
}

.site-header {
  background: rgba(6, 26, 18, 0.96);
  border-bottom: 1px solid var(--line);
}

.utility-bar {
  background: #03100b;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 13px;
}

.utility-inner,
.masthead,
.admin-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.utility-inner {
  min-height: 38px;
  justify-content: flex-end;
}

.utility-actions,
.admin-actions,
.form-actions,
.row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-button,
.admin-link,
.ghost-button,
.nav-pill,
.search-form button,
.newsletter-form button,
.login-box button,
.post-form button,
.row-actions button {
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-body);
}

.lang-button {
  min-height: 28px;
  padding: 4px 10px;
  background: rgba(215, 181, 98, 0.09);
  color: var(--ivory);
}

.lang-button.is-active {
  background: var(--gold);
  color: #061a12;
}

.admin-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--gold);
  color: #061a12;
  font-weight: 800;
}

.masthead {
  padding-block: 28px;
}

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

.brand-mark {
  width: 58px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  background: linear-gradient(145deg, #102f22, #061a12);
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 14px;
}

.site-header .brand-mark {
  width: 125px;
  height: 114px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
}

.site-header .brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.5));
}

.brand strong {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 0.95;
  letter-spacing: 0;
}

.brand-title {
  display: inline-flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.18em;
  font-family: "El Messiri", "Noto Naskh Arabic", Georgia, serif !important;
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.brand-word {
  display: inline-flex;
  white-space: nowrap;
}

.brand-initial {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(225, 191, 99, 0.28);
}

.brand small {
  display: block;
  margin-top: 6px;
  max-width: 720px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.4;
}

.search-form {
  width: min(460px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  overflow: hidden;
  background: rgba(255, 248, 232, 0.96);
}

.search-form input,
.newsletter-form input {
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  background: transparent;
  color: #061a12;
  outline: none;
  font-family: var(--font-body);
}

.search-form button,
.newsletter-form button,
.login-box button,
.post-form button {
  min-height: 44px;
  padding: 0 16px;
  background: linear-gradient(135deg, #d7b562, #f2d68a);
  color: #061a12;
  font-weight: 800;
}

.search-form button {
  border-radius: 0;
}

.nav-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 26, 18, 0.94);
  backdrop-filter: blur(10px);
}

.nav-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
  padding-block: 10px;
}

.nav-pill {
  flex: 0 1 auto;
  min-height: 36px;
  padding: 0 14px;
  background: rgba(215, 181, 98, 0.06);
  color: var(--ivory);
  border-color: var(--line);
}

.nav-pill.is-active {
  background: var(--gold);
  color: #061a12;
  border-color: var(--gold);
}

.nav-pill:hover,
.nav-pill:focus-visible {
  background: var(--gold);
  color: #061a12;
  border-color: var(--gold);
  outline: 0;
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.9fr);
  gap: 28px;
  padding-block: 34px;
}

.lead-card,
.story-card,
.mini-card,
.latest-panel,
.rail-section,
.newsletter-block,
.login-box,
.post-form,
.admin-list-panel,
.admin-post-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.lead-card {
  overflow: hidden;
  box-shadow: var(--shadow);
  border-color: rgba(215, 181, 98, 0.48);
}

.lead-card .lead-link {
  display: block;
  min-height: 560px;
}

.lead-media {
  position: relative;
  min-height: 560px;
}

.lead-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 12, 8, 0.86) 0%, rgba(2, 12, 8, 0.28) 42%, rgba(2, 12, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(2, 12, 8, 0.68), transparent 62%);
}

.fx-hero-shade {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(1, 10, 7, 0.98) 0%, rgba(1, 10, 7, 0.82) 38%, rgba(1, 10, 7, 0.36) 70%, transparent 100%);
}

.fx-ticker-slot {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  direction: ltr;
}

.fx-ticker {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  padding-inline: 16px;
  overflow: hidden;
  background: rgba(1, 17, 11, 0.9);
  color: var(--ivory);
  font-family: var(--font-body);
}

.fx-ticker-label {
  position: relative;
  z-index: 1;
  padding-inline-end: 16px;
  color: var(--gold);
  font-size: 14px;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 0 11px rgba(226, 195, 105, 0.62);
}

.fx-ticker-window {
  min-width: 0;
  overflow: hidden;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.fx-ticker-window::-webkit-scrollbar {
  display: none;
}

.fx-ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: fx-ticker-scroll 42s linear infinite;
}

.fx-ticker-group {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-inline: 18px 22px;
  white-space: nowrap;
}

.fx-rate {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

.fx-rate strong {
  color: #f6df9d;
  font-size: 13px;
  letter-spacing: 0;
}

.fx-trend {
  font-style: normal;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 8px currentColor;
}

.fx-trend.is-up {
  color: #54f0a0;
}

.fx-trend.is-down {
  color: #ff5e68;
}

.fx-ticker-time {
  padding-inline-start: 14px;
  color: rgba(255, 248, 232, 0.72);
  font-size: 10px;
  white-space: nowrap;
}

.fx-ticker.is-empty {
  grid-template-columns: max-content 1fr;
}

.fx-ticker-message {
  color: rgba(255, 248, 232, 0.72);
  font-size: 11px;
}

@keyframes fx-ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

.lead-card img {
  width: 100%;
  height: 560px;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.lead-card-content {
  position: absolute;
  inset-inline: 0;
  top: clamp(58px, 5vw, 70px);
  bottom: auto;
  z-index: 3;
  padding: clamp(22px, 4vw, 36px);
  background: transparent;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-card h1,
.article-header h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.58);
}

.lead-card p,
.article-header p {
  max-width: 66ch;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 17px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 12px;
}

.post-meta span {
  display: inline-flex;
  align-items: center;
}

.post-meta span:not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-inline-start: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.latest-panel {
  padding: 20px;
  align-self: start;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--ink);
}

.section-heading.compact {
  margin-bottom: 12px;
}

.section-heading h2,
.rail-section h2,
.form-section h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.section-heading p,
#resultCount {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
}

.latest-list,
.stack-list {
  display: grid;
}

.latest-item,
.stack-list a {
  display: grid;
  gap: 4px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.latest-item:last-child,
.stack-list a:last-child {
  border-bottom: 0;
}

.latest-item span,
.stack-list span,
.mini-card span {
  color: var(--brick);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.latest-item strong,
.stack-list strong {
  font-size: 19px;
  line-height: 1.14;
}

.latest-item small {
  color: var(--muted);
  font-family: var(--font-body);
}

.latest-item {
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.latest-item > img {
  width: 118px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(215, 181, 98, 0.3);
}

.latest-item > .latest-item-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: none;
}

.latest-item-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 921px) {
  .latest-panel {
    min-height: 360px;
    padding: 15px 16px;
  }

  .latest-panel .latest-list {
    height: 100%;
  }

  .latest-item {
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 14px;
    min-height: 103px;
    padding-block: 11px;
  }

  .latest-item > img {
    width: 136px;
  }

  .latest-item-copy > span {
    font-size: 11px;
  }

  .latest-item-copy strong {
    font-size: 17px;
    line-height: 1.1;
  }

  .latest-item-copy small {
    font-size: 12px;
  }
}

.intelligence-band {
  padding-block: 34px;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(15, 75, 53, 0.28), transparent 34%, rgba(215, 181, 98, 0.08)),
    #071d14;
}

.intelligence-heading {
  border-bottom-color: rgba(215, 181, 98, 0.86);
}

.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  gap: 22px;
}

.weather-desk,
.crypto-desk {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(215, 181, 98, 0.42);
  background: rgba(4, 25, 17, 0.9);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.weather-desk {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #041911;
}

.weather-desk::before {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  z-index: 0;
  background-image: var(--weather-image);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.38) 16%, #000 50%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.38) 16%, #000 50%);
  transition: opacity 220ms ease;
}

.weather-desk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, #041911 0%, rgba(4, 25, 17, 0.88) 32%, rgba(4, 25, 17, 0.34) 66%, rgba(4, 25, 17, 0.16) 100%);
}

.weather-desk[data-weather-scene="rain"]::before,
.weather-desk[data-weather-scene="storm"]::before {
  opacity: 0.84;
}

.weather-desk[data-weather-scene="night"]::before {
  opacity: 0.92;
}

.weather-desk > * {
  position: relative;
  z-index: 2;
}

.desk-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.desk-header span {
  display: block;
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.desk-header h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1;
}

.desk-header small {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.weather-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 20px;
  border-block: 1px solid var(--line);
}

.weather-tab {
  min-width: 0;
  min-height: 42px;
  padding: 6px 8px;
  overflow: hidden;
  border: 0;
  border-inline-end: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.weather-tab:last-child {
  border-inline-end: 0;
}

.weather-tab:hover,
.weather-tab:focus-visible,
.weather-tab.is-active {
  background: var(--gold);
  color: #061a12;
  outline: 0;
}

.weather-current {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.82fr);
  align-items: center;
  gap: 20px;
}

.weather-primary {
  display: flex;
  align-items: center;
  gap: 18px;
}

.weather-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  min-width: 82px;
  height: 82px;
  color: #f3cd62;
  font-size: 58px;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(243, 205, 98, 0.35));
}

.weather-primary small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.weather-primary strong {
  display: block;
  margin-block: 2px;
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}

.weather-primary sup {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 16px;
}

.weather-primary p {
  margin: 6px 0 0;
  color: var(--stone);
  font-size: 13px;
}

.weather-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  border-block: 1px solid var(--line);
}

.weather-metrics div {
  min-width: 0;
  padding: 12px 8px;
  border-inline-end: 1px solid var(--line);
  text-align: center;
}

.weather-metrics div:last-child {
  border-inline-end: 0;
}

.weather-metrics dt {
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.weather-metrics dd {
  margin: 3px 0 0;
  color: var(--ivory);
  font-size: 14px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.forecast-strip {
  display: block;
  margin-top: 20px;
  overflow: hidden;
  border-block: 1px solid rgba(215, 181, 98, 0.62);
  background: rgba(2, 20, 13, 0.86);
  box-shadow: inset 0 1px 12px rgba(84, 240, 160, 0.07), 0 0 16px rgba(215, 181, 98, 0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.forecast-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: forecast-scroll 34s linear infinite;
}

.forecast-group {
  display: flex;
  flex: none;
}

.forecast-day {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 8px;
  flex: 0 0 146px;
  width: 146px;
  min-width: 146px;
  min-height: 52px;
  padding: 12px 10px;
  border-inline-end: 1px solid var(--line);
}

.forecast-day:last-child {
  border-inline-end: 0;
}

.forecast-day span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.forecast-day i {
  font-size: 21px;
  font-style: normal;
}

.forecast-day strong,
.forecast-day small {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.forecast-day small {
  color: var(--muted);
}

@keyframes forecast-scroll {
  to {
    transform: translateX(-50%);
  }
}

.crypto-list {
  display: grid;
}

.crypto-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(90px, auto) 164px 76px;
  align-items: center;
  gap: 12px;
  min-height: 67px;
  border-top: 1px solid var(--line);
}

.crypto-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.crypto-coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-width: 36px;
  height: 36px;
  overflow: hidden;
  border: 1px solid rgba(215, 181, 98, 0.78);
  background: rgba(255, 248, 232, 0.08);
  box-shadow: inset 0 0 0 2px rgba(4, 25, 17, 0.45), 0 0 12px rgba(215, 181, 98, 0.15);
}

.crypto-coin img {
  width: 30px;
  min-width: 30px;
  height: 30px;
  object-fit: contain;
}

.crypto-symbol-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
}

.crypto-identity div,
.crypto-price {
  display: grid;
  min-width: 0;
}

.crypto-identity strong,
.crypto-price strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crypto-identity small,
.crypto-price small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
}

.crypto-price {
  text-align: end;
}

.crypto-price strong,
.crypto-change {
  font-variant-numeric: tabular-nums;
}

.crypto-chart {
  display: block;
  width: 164px;
  height: 54px;
  overflow: visible;
}

.crypto-chart-line {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px currentColor);
}

.crypto-chart-empty {
  display: block;
  width: 164px;
  height: 1px;
  background: var(--line);
}

.crypto-change {
  justify-self: end;
  font-size: 12px;
  white-space: nowrap;
}

.crypto-change.is-up {
  color: #54f0a0;
}

.crypto-change.is-down {
  color: #ff6670;
}

.dashboard-empty {
  display: grid;
  min-height: 280px;
  margin: 0;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.market-band,
.section-band {
  padding-block: 34px;
  background: rgba(16, 47, 34, 0.74);
  border-block: 1px solid var(--line);
}

.project-carousel {
  position: relative;
  padding-inline: 28px;
}

.project-window {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  user-select: none;
}

.project-window::-webkit-scrollbar {
  display: none;
}

.project-window.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.project-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 54px) / 4);
  grid-template-columns: none;
  gap: 18px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 181, 98, 0.42);
  border-radius: 8px;
  background: rgba(6, 26, 18, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  scroll-snap-align: start;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  border-color: rgba(215, 181, 98, 0.72);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  transform: translateY(-2px);
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(215, 181, 98, 0.24);
}

.project-card-body {
  display: grid;
  gap: 8px;
  padding: 15px;
}

.project-card span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.06;
}

.project-card small {
  color: var(--stone);
  font-family: var(--font-body);
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 14px;
}

.project-carousel.is-single-project {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
}

.project-carousel.is-single-project .project-window {
  overflow: visible;
  cursor: auto;
  user-select: auto;
}

.project-grid.is-single-project {
  display: block;
}

.project-grid.is-single-project .project-card-link {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(310px, 0.58fr);
  color: inherit;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  touch-action: manipulation;
}

.project-grid.is-single-project .project-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 0;
  border-inline-end: 1px solid rgba(215, 181, 98, 0.24);
  background: #03130d;
}

.project-grid.is-single-project .project-card-body {
  align-content: center;
  gap: 13px;
  padding: clamp(26px, 4vw, 52px);
}

.project-grid.is-single-project .project-card h3 {
  font-size: clamp(31px, 3.5vw, 50px);
  line-height: 0.98;
  text-wrap: balance;
}

.project-grid.is-single-project .project-card p {
  font-size: 16px;
  line-height: 1.58;
}

.project-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card-cta b {
  font-size: 20px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.project-card-link:hover .project-card-cta b,
.project-card-link:focus-visible .project-card-cta b {
  transform: translateX(4px);
}

.project-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(215, 181, 98, 0.7);
  border-radius: 999px;
  background: rgba(3, 16, 11, 0.88);
  color: var(--gold);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.project-nav:hover,
.project-nav:focus-visible {
  background: var(--gold);
  color: #061a12;
}

.project-nav-prev {
  inset-inline-start: 0;
}

.project-nav-next {
  inset-inline-end: 0;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  gap: 28px;
  padding-block: 38px;
}

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

.story-card {
  overflow: hidden;
}

.story-card a,
.mini-card a {
  display: grid;
  height: 100%;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.story-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.story-card h3,
.mini-card h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
}

.story-card p,
.mini-card p {
  margin: 0;
  color: var(--stone);
  font-family: var(--font-body);
}

.read-link {
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 800;
}

.rail {
  display: grid;
  align-content: start;
  gap: 18px;
}

.rail-section {
  padding: 18px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: min(470px, 100%);
}

.newsletter-form input {
  flex: 1 1 280px;
  min-height: 44px;
  border-radius: 6px;
  background: var(--ivory);
}

.subscribe-band {
  position: relative;
  overflow: hidden;
  padding-block: 42px;
  background:
    linear-gradient(135deg, rgba(2, 38, 29, 0.96), rgba(5, 88, 63, 0.98) 54%, rgba(3, 48, 37, 0.96)),
    #064431;
  color: var(--ivory);
}

.subscribe-band::before,
.subscribe-band::after {
  content: "";
  position: absolute;
  top: -28px;
  bottom: -28px;
  width: min(36vw, 520px);
  opacity: 0.62;
  background-image:
    radial-gradient(circle, transparent 0 13px, rgba(242, 214, 138, 0.9) 14px 17px, transparent 18px),
    radial-gradient(circle, rgba(242, 214, 138, 0.96) 0 4px, transparent 5px);
  background-size: 38px 38px, 114px 114px;
  background-position: 0 0, 19px 19px;
  pointer-events: none;
}

.subscribe-band::before {
  inset-inline-start: -42px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 100%);
}

.subscribe-band::after {
  inset-inline-end: -42px;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, transparent 100%);
}

.subscribe-inner {
  position: relative;
  z-index: 1;
  min-height: 116px;
  display: grid;
  place-items: center;
  gap: 16px;
  text-align: center;
}

.subscribe-inner h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
  line-height: 1.35;
}

.subscribe-inner .newsletter-form button {
  min-width: 92px;
  background: linear-gradient(135deg, #d7b562, #f4dc93);
  color: #052318;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.subscribe-inner .form-status {
  min-height: 18px;
  margin: 0;
  color: var(--stone);
}

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

.mini-card {
  overflow: hidden;
}

.mini-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mini-card div {
  padding: 16px;
}

.site-footer {
  padding-block: 24px 20px;
  border-top: 2px solid rgba(215, 181, 98, 0.72);
  background: #03100b;
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer p,
.footer-links {
  color: var(--stone);
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--stone);
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-links button:hover,
.footer-links button:focus-visible {
  color: var(--gold);
  outline: 0;
}

.footer-copyright {
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid rgba(215, 181, 98, 0.22);
  text-align: center;
  font-size: 11px;
}

.newsletter-privacy-note {
  width: min(720px, 100%);
  margin: 10px auto 0;
  color: rgba(244, 239, 221, 0.72);
  font-size: 11px;
  line-height: 1.55;
  text-align: center;
}

.newsletter-privacy-note button {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

.newsletter-privacy-note button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 160ms ease;
}

.legal-modal.is-open {
  opacity: 1;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 5, 3, 0.84);
  cursor: default;
  backdrop-filter: blur(3px);
}

.legal-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(920px, 100%);
  max-height: min(860px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid rgba(215, 181, 98, 0.65);
  background:
    linear-gradient(180deg, rgba(215, 181, 98, 0.055), transparent 180px),
    #071d14;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.64);
  direction: ltr;
  text-align: left;
  transform: translateY(14px) scale(0.985);
  transition: transform 180ms ease;
}

.legal-modal.is-open .legal-modal-dialog {
  transform: translateY(0) scale(1);
}

.legal-modal-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 94px;
  padding: 22px 26px 18px 30px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.32);
  background: #05170f;
}

.legal-modal-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-modal-header h2 {
  margin: 0;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
}

.legal-modal-close {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: -4px 0 0 auto;
  padding: 0 0 3px;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: var(--gold);
  color: #04130d;
  font-family: Arial, sans-serif;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

.legal-modal-close:hover {
  background: var(--ivory);
}

.legal-modal-close:focus-visible,
.legal-modal-body:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -4px;
}

.legal-modal-body {
  min-height: 0;
  padding: 0 clamp(24px, 5vw, 58px) 48px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--gold) #0a2419;
  scroll-padding-top: 24px;
}

.legal-modal-lock {
  overflow: hidden;
}

.legal-copy {
  width: min(760px, 100%);
  margin: 0 auto;
  color: rgba(244, 239, 221, 0.88);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.78;
}

.legal-copy a {
  color: #efd680;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-copy a:hover,
.legal-copy a:focus-visible {
  color: #fff5cf;
}

.legal-effective-date {
  margin: 0 calc(-1 * clamp(24px, 5vw, 58px)) 0;
  padding: 15px clamp(24px, 5vw, 58px);
  border-bottom: 1px solid rgba(215, 181, 98, 0.18);
  color: rgba(244, 239, 221, 0.58);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.legal-lead {
  margin: 0;
  padding: clamp(28px, 5vw, 46px) 0;
  border-bottom: 1px solid rgba(215, 181, 98, 0.25);
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
}

.legal-copy section {
  padding: 28px 0;
  border-bottom: 1px solid rgba(215, 181, 98, 0.2);
}

.legal-copy section:last-child {
  border-bottom: 0;
}

.legal-copy h3 {
  margin: 0 0 12px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.12;
}

.legal-copy p {
  margin: 0 0 15px;
}

.legal-copy p:last-child {
  margin-bottom: 0;
}

.legal-copy ul {
  margin: 0 0 15px;
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 9px;
}

.legal-details {
  display: grid;
  gap: 0;
  margin: 0 0 20px;
  border: 1px solid rgba(215, 181, 98, 0.28);
}

.legal-details > div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 18px;
  padding: 13px 15px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.18);
}

.legal-details > div:last-child {
  border-bottom: 0;
}

.legal-details dt {
  color: rgba(244, 239, 221, 0.58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-details dd {
  margin: 0;
  color: var(--ivory);
  overflow-wrap: anywhere;
}

.legal-placeholder {
  display: inline-block;
  padding: 1px 6px;
  border: 1px dashed rgba(239, 214, 128, 0.7);
  color: #efd680;
  letter-spacing: 0.08em;
}

.legal-notice {
  margin: 28px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(215, 181, 98, 0.08);
  color: rgba(244, 239, 221, 0.84);
}

.legal-storage-table {
  margin: 18px 0;
  border: 1px solid rgba(215, 181, 98, 0.28);
}

.legal-storage-row {
  display: grid;
  grid-template-columns: minmax(155px, 0.7fr) 1.5fr 1fr;
  gap: 16px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.18);
  font-size: 12px;
  line-height: 1.55;
}

.legal-storage-row:last-child {
  border-bottom: 0;
}

.legal-storage-heading {
  background: rgba(215, 181, 98, 0.09);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-storage-row code {
  color: #efd680;
  overflow-wrap: anywhere;
}

.cookie-setting-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.cookie-setting-card h3,
.cookie-setting-card p {
  margin-bottom: 6px;
}

.cookie-setting-card > strong {
  min-width: 105px;
  color: #efd680;
  font-size: 12px;
  text-align: right;
}

.cookie-setting-card.is-disabled {
  opacity: 0.72;
}

.cookie-setting-switch {
  display: grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 9px;
  color: var(--ivory);
  cursor: pointer;
}

.cookie-setting-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-setting-switch span {
  position: relative;
  width: 48px;
  height: 26px;
  border: 1px solid rgba(215, 181, 98, 0.5);
  background: #102e21;
}

.cookie-setting-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: rgba(244, 239, 221, 0.72);
  transition: transform 150ms ease, background 150ms ease;
}

.cookie-setting-switch input:checked + span {
  background: rgba(215, 181, 98, 0.26);
}

.cookie-setting-switch input:checked + span::after {
  background: var(--gold);
  transform: translateX(22px);
}

.cookie-setting-switch input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.cookie-setting-switch b {
  font-size: 12px;
}

.cookie-settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 26px;
}

.legal-primary-button,
.legal-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--gold);
  border-radius: 0;
  font: 700 12px/1.2 var(--font-body);
  cursor: pointer;
  text-decoration: none;
}

.legal-primary-button {
  background: var(--gold);
  color: #04130d !important;
}

.legal-secondary-button {
  background: transparent;
  color: var(--gold);
}

.legal-primary-button:hover,
.legal-primary-button:focus-visible,
.legal-secondary-button:hover,
.legal-secondary-button:focus-visible {
  outline: 0;
  background: var(--ivory);
  color: #04130d;
}

.cookie-settings-status {
  min-height: 24px;
  margin-top: 14px !important;
  color: #efd680;
  font-weight: 700;
}

.rss-subscribe-panel {
  margin-top: 0;
}

.legal-feed-link {
  display: block;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid rgba(215, 181, 98, 0.32);
  background: #04160f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.legal-inline-button {
  width: fit-content;
}

@media (max-width: 640px) {
  .legal-modal {
    align-items: end;
    padding: 0;
  }

  .legal-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-width: 1px 0 0;
  }

  .legal-modal-header {
    min-height: 82px;
    padding: 17px 16px 15px 19px;
  }

  .legal-modal-header h2 {
    font-size: clamp(28px, 9vw, 37px);
  }

  .legal-modal-close {
    width: 42px;
    height: 42px;
  }

  .legal-modal-body {
    padding-inline: 19px;
    padding-bottom: max(38px, env(safe-area-inset-bottom));
  }

  .legal-copy {
    font-size: 14px;
    line-height: 1.7;
  }

  .legal-effective-date {
    margin-inline: -19px;
    padding-inline: 19px;
  }

  .legal-details > div,
  .legal-storage-row,
  .cookie-setting-card {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .legal-storage-heading {
    display: none;
  }

  .legal-storage-row span:last-child::before {
    content: "Duration: ";
    color: rgba(244, 239, 221, 0.52);
    font-weight: 700;
  }

  .cookie-setting-card > strong {
    text-align: left;
  }

  .cookie-settings-actions,
  .legal-primary-button,
  .legal-secondary-button,
  .legal-inline-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-modal,
  .legal-modal-dialog,
  .cookie-setting-switch span::after {
    transition: none;
  }
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 5, 0.78);
}

.modal-panel {
  position: relative;
  width: min(940px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  margin: 14px auto;
  overflow: auto;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal-lock {
  overflow: hidden;
}

.modal-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  float: inline-end;
  width: 42px;
  height: 42px;
  margin: 12px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #061a12;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.article-header img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-header > div {
  padding: clamp(22px, 4vw, 42px);
}

.article-body {
  padding: 0 clamp(22px, 4vw, 42px) 44px;
  font-size: 20px;
}

.article-body p {
  margin: 0 0 20px;
}

.empty-state,
.form-status {
  color: var(--muted);
  font-family: var(--font-body);
}

.is-rtl .brand,
.is-rtl .utility-inner,
.is-rtl .masthead,
.is-rtl .footer-grid {
  direction: rtl;
}

.is-rtl .search-form {
  direction: rtl;
}

.is-rtl .post-meta {
  direction: rtl;
}

.admin-body {
  background:
    radial-gradient(circle at 10% 0%, rgba(215, 181, 98, 0.18), transparent 28rem),
    #061a12;
  font-family: var(--font-body);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 26, 18, 0.96);
}

.admin-topbar-inner {
  padding-block: 16px;
}

.admin-body.auth-pending .admin-topbar,
.admin-body.auth-pending .admin-shell {
  visibility: hidden;
}

.admin-body.is-authenticated .admin-topbar-inner {
  justify-content: center;
  padding-block: 6px;
}

.admin-body.is-authenticated .compact-brand {
  display: none;
}

.admin-body.is-authenticated .admin-actions {
  justify-content: center;
  width: 100%;
}

.admin-body.is-authenticated #logoutButton {
  min-width: 150px;
  min-height: 38px;
  border-color: var(--gold);
  font-weight: 800;
}

.admin-body.is-authenticated .admin-shell {
  padding-top: 18px;
}

.compact-brand .brand-mark {
  width: 40px;
  height: 40px;
}

.compact-brand strong {
  font-size: 24px;
}

.admin-shell {
  padding-block: 28px;
}

.login-panel {
  min-height: calc(100vh - 130px);
  display: grid;
  place-items: center;
}

.login-box {
  width: min(420px, 100%);
  display: grid;
  gap: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.login-box h1,
.admin-heading h1 {
  margin: 0;
  font-family: var(--font-display);
}

.login-box input,
.post-form input,
.post-form select,
.post-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--ivory);
  color: #061a12;
  padding: 11px 12px;
  outline: none;
}

.login-box input:focus,
.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus,
.search-form input:focus,
.newsletter-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(23, 109, 114, 0.16);
}

.cms-panel {
  display: grid;
  gap: 22px;
}

.admin-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.eyebrow {
  letter-spacing: 0;
}

.admin-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-mode-switch {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-mode-switch button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 248, 232, 0.08);
  color: var(--ivory);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 900;
}

.admin-mode-switch button.is-active {
  background: var(--gold);
  color: #061a12;
  border-color: var(--gold);
}

.admin-manager {
  display: block;
}

.admin-stats span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 248, 232, 0.08);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.post-form {
  display: grid;
  gap: 18px;
  padding: 20px;
}

.form-section {
  display: grid;
  gap: 10px;
}

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

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-row input {
  width: auto;
}

.ghost-button {
  min-height: 40px;
  padding: 0 14px;
  background: rgba(255, 248, 232, 0.08);
  color: var(--ivory);
  border-color: var(--line);
}

.danger-button {
  background: rgba(138, 35, 35, 0.18);
  color: #ffd1c6;
  border-color: rgba(255, 160, 140, 0.4);
}

.admin-list-panel {
  padding: 18px;
}

.admin-post-list {
  display: grid;
  gap: 12px;
}

.admin-post-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
}

.admin-subscriber-item {
  grid-template-columns: 1fr;
}

.admin-post-item img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.admin-post-item div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.admin-post-item strong,
.admin-post-item small {
  overflow-wrap: anywhere;
}

.admin-post-item span,
.admin-post-item small {
  color: var(--muted);
  font-size: 12px;
}

.admin-list-subheading {
  margin-bottom: 12px;
}

.admin-list-title-row,
.admin-import-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.admin-list-title-row .admin-list-subheading {
  margin: 2px 0 12px;
}

.admin-result-count {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.admin-filter-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-filter-bar label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.admin-filter-bar .admin-filter-search {
  grid-column: 1 / -1;
}

.admin-filter-bar input,
.admin-filter-bar select {
  width: 100%;
  min-width: 0;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(3, 18, 12, 0.68);
  color: var(--ivory);
  padding: 0 10px;
  font: inherit;
  outline: none;
}

.admin-filter-bar input:focus,
.admin-filter-bar select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(215, 181, 98, 0.12);
}

.admin-library-item {
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 98px;
  padding: 9px 0;
  border: 0;
  border-bottom: 1px solid rgba(215, 181, 98, 0.2);
  background: transparent;
}

.admin-library-item img {
  width: 76px;
  height: 76px;
}

.admin-library-meta {
  display: flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px !important;
}

.admin-library-meta > span,
.admin-library-meta > time {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-library-meta > * + * {
  position: relative;
}

.admin-library-meta > * + *::before {
  content: "";
  position: absolute;
  inset-inline-start: -6px;
  top: 50%;
  width: 2px;
  height: 2px;
  background: rgba(215, 181, 98, 0.65);
}

.admin-library-secondary {
  color: rgba(255, 249, 232, 0.58) !important;
}

.admin-library-item .row-actions {
  display: flex;
  grid-auto-flow: initial;
  grid-template-columns: none;
  gap: 7px;
  margin-top: 4px;
}

.admin-list-pagination {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.admin-list-pagination span {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.admin-list-pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.admin-banner-list {
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.admin-banner-item button {
  min-height: 32px;
  border: 1px solid var(--line);
  background: rgba(215, 181, 98, 0.12);
  color: var(--ivory);
  cursor: pointer;
}

.admin-content-badge,
.admin-post-item .admin-content-badge {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-banner-empty {
  display: grid;
  gap: 3px;
  min-height: 72px;
  align-content: center;
  padding: 12px;
  border: 1px dashed var(--line);
}

.admin-banner-empty span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-import-panel {
  padding: 22px;
}

.admin-import-header {
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.admin-import-header h2 {
  margin: 3px 0 4px;
  font-family: var(--font-display);
  font-size: clamp(25px, 3vw, 36px);
}

.admin-import-header p,
.admin-import-empty p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.admin-import-header code,
.admin-import-empty code {
  color: var(--gold);
}

.admin-import-actions {
  display: flex;
  flex: 0 0 auto;
}

.admin-import-actions button {
  min-height: 42px;
  white-space: nowrap;
}

.admin-import-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0 4px;
  border-block: 1px solid var(--line);
}

.admin-import-summary span {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 52px;
  padding: 12px;
  border-inline-end: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.admin-import-summary span:last-child {
  border-inline-end: 0;
}

.admin-import-summary strong {
  color: var(--ivory);
  font-size: 18px;
}

.admin-import-list {
  display: grid;
}

.admin-import-item {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 112px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(215, 181, 98, 0.2);
}

.admin-import-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-import-state span {
  width: 7px;
  height: 7px;
  background: #d4a84d;
}

.admin-import-item.is-ready .admin-import-state {
  color: #73e3a3;
}

.admin-import-item.is-ready .admin-import-state span {
  background: #4ed58a;
  box-shadow: 0 0 8px rgba(78, 213, 138, 0.5);
}

.admin-import-item.is-published .admin-import-state span {
  background: rgba(255, 249, 232, 0.42);
}

.admin-import-item.is-invalid .admin-import-state {
  color: #ffac9d;
}

.admin-import-item.is-invalid .admin-import-state span {
  background: #e96855;
}

.admin-import-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-import-copy > strong,
.admin-import-copy > small {
  overflow-wrap: anywhere;
}

.admin-import-copy > small {
  color: rgba(255, 249, 232, 0.48);
  font-size: 11px;
}

.admin-import-copy > a {
  width: fit-content;
  color: var(--gold);
  font-size: 11px;
  text-decoration: none;
}

.admin-import-copy > a:hover,
.admin-import-copy > a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-import-command button {
  min-width: 96px;
  min-height: 38px;
}

.admin-import-command button:disabled {
  opacity: 0.4;
}

.admin-import-issues {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 3px 0 0;
  padding: 0;
  color: #ffac9d;
  font-size: 11px;
  list-style: none;
}

.admin-import-empty {
  padding: 34px 0 12px;
  text-align: center;
}

.admin-import-empty p {
  margin: 8px auto 0;
}

.admin-import-failure-report {
  margin: 14px 0 18px;
  padding: 14px;
  border: 1px solid rgba(233, 104, 85, 0.72);
  background: rgba(80, 15, 12, 0.42);
  color: var(--ivory);
}

.admin-import-failure-report h3,
.admin-import-failure-report > p {
  margin: 0 0 10px;
}

.admin-import-failure {
  border-top: 1px solid rgba(255, 172, 157, 0.28);
  padding-top: 10px;
}

.admin-import-failure summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  color: #ffac9d;
}

.admin-import-failure summary span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
}

.admin-import-failure dl {
  display: grid;
  gap: 5px;
  margin: 12px 0;
  font-size: 12px;
}

.admin-import-failure dl > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
}

.admin-import-failure dt {
  color: var(--gold);
  font-weight: 800;
}

.admin-import-failure dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-import-failure pre {
  max-height: 360px;
  margin: 0;
  padding: 12px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: #ffd9d2;
  font: 11px/1.55 Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
  word-break: break-word;
  direction: ltr;
  text-align: left;
}

.row-actions button {
  min-height: 32px;
  padding: 0 10px;
  border-color: var(--line);
  background: rgba(255, 248, 232, 0.08);
  color: var(--ivory);
}

@media (max-width: 920px) {
  .masthead,
  .lead-layout,
  .content-layout,
  .editor-layout,
  .intelligence-grid {
    grid-template-columns: 1fr;
  }

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

  .search-form {
    width: 100%;
  }

  .lead-card .lead-link,
  .lead-media {
    min-height: auto;
  }

  .lead-card img {
    height: 520px;
    min-height: 520px;
  }

  .project-grid,
  .mini-grid {
    grid-template-columns: none;
  }

  .project-grid {
    grid-auto-columns: calc((100% - 18px) / 2);
  }

  .project-carousel {
    padding-inline: 22px;
  }

  .admin-import-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-import-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-import-summary span:nth-child(2) {
    border-inline-end: 0;
  }

  .admin-import-summary span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .admin-import-item {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .admin-import-command {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1180px);
  }

  .lead-card img {
    height: 470px;
    min-height: 470px;
  }

  .site-header .brand-mark {
    width: 107px;
    height: 99px;
  }

  .footer-grid,
  .admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .nav-pill {
    justify-content: center;
    width: 100%;
    padding-inline: 8px;
  }

  .story-grid,
  .project-grid,
  .mini-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: none;
    grid-auto-columns: 100%;
  }

  .project-carousel {
    padding-inline: 0;
  }

  .project-nav {
    top: 132px;
  }

  .lead-layout,
  .content-layout,
  .intelligence-band,
  .market-band,
  .section-band,
  .subscribe-band {
    padding-block: 22px;
  }

  .subscribe-band::before,
  .subscribe-band::after {
    width: 48vw;
    opacity: 0.38;
  }

  .subscribe-inner {
    min-height: 172px;
    gap: 14px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    flex: 0 0 auto;
    width: 100%;
  }

  .lead-card h1,
  .article-header h1 {
    max-width: 100%;
    font-size: 34px;
    overflow-wrap: anywhere;
  }

  .lead-card-content {
    top: 68px;
    padding-inline: 18px;
  }

  .fx-ticker {
    grid-template-columns: max-content minmax(0, 1fr);
    min-height: 48px;
    padding-inline: 10px;
  }

  .fx-ticker-label {
    max-width: 112px;
    padding-inline-end: 10px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
  }

  .fx-ticker-time {
    display: none;
  }

  .fx-ticker-group {
    gap: 16px;
    padding-inline: 12px 16px;
  }

  .fx-rate {
    gap: 4px;
    font-size: 13px;
  }

  .weather-desk,
  .crypto-desk {
    padding: 16px;
  }

  .desk-header h3 {
    font-size: 24px;
  }

  .weather-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weather-tab {
    border-bottom: 1px solid var(--line);
  }

  .weather-tab:nth-child(even) {
    border-inline-end: 0;
  }

  .weather-tab:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .weather-current {
    grid-template-columns: 1fr;
  }

  .weather-primary {
    justify-content: center;
  }

  .forecast-day {
    grid-template-columns: 1fr auto auto auto;
    gap: 6px;
    text-align: start;
  }

  .crypto-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    min-height: 0;
    padding-block: 11px;
  }

  .crypto-chart,
  .crypto-chart-empty {
    grid-column: 1;
    width: 100%;
  }

  .crypto-change {
    grid-column: 2;
    grid-row: 2;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .admin-post-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-post-item img {
    width: 76px;
    height: 76px;
  }

  .admin-filter-bar {
    grid-template-columns: 1fr;
  }

  .admin-filter-bar .admin-filter-search {
    grid-column: auto;
  }

  .admin-import-panel {
    padding: 15px;
  }

  .admin-import-actions {
    width: 100%;
  }

  .admin-import-actions button {
    flex: 1;
    min-width: 0;
    white-space: normal;
  }

  .admin-import-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .admin-import-command {
    grid-column: 1;
  }

  .admin-import-command button {
    width: 100%;
  }
}

/* Compact, quiet search treatment for the masthead. */
@media (min-width: 761px) {
  .search-form {
    width: min(350px, 32vw);
    border-color: rgba(215, 181, 98, 0.42);
    background: rgba(255, 248, 232, 0.045);
    box-shadow: inset 0 0 0 1px rgba(255, 248, 232, 0.025);
  }

  .search-form input {
    padding: 9px 12px;
    color: var(--ivory);
    font-size: 13px;
  }

  .search-form input::placeholder {
    color: rgba(244, 239, 222, 0.58);
  }

  .search-form button {
    min-height: 36px;
    padding-inline: 13px;
    border-inline-start: 1px solid rgba(215, 181, 98, 0.42);
    background: rgba(215, 181, 98, 0.14);
    color: var(--gold);
    font-size: 12px;
  }

  .search-form:focus-within {
    border-color: var(--gold);
    background: rgba(255, 248, 232, 0.075);
  }
}

@media (max-width: 760px) {
  .masthead .search-form {
    display: none;
  }

  .latest-item {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .latest-item > img {
    width: 112px;
  }
}

/* Keep the three live boxes airy and aligned with the editorial column. */
@media (min-width: 1051px) {
  .intelligence-layout {
    align-items: stretch;
  }

  .intelligence-live-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    height: 100%;
  }

  .intelligence-live-column .crypto-desk,
  .intelligence-live-column .asset-market-strip {
    margin-top: 0;
  }
}

/* Country-led navigation with three editorial desks per market. */
.site-nav-menu,
.site-nav-menu .nav-scroll {
  width: 100%;
}

.country-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.country-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

.country-trigger::after {
  content: "";
  position: absolute;
  inset: auto 8px 1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.country-trigger > i {
  width: 0;
  height: 0;
  margin-top: 3px;
  border-inline: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 160ms ease;
}

.country-menu:hover .country-trigger,
.country-menu:focus-within .country-trigger,
.country-menu.is-open .country-trigger {
  color: var(--gold);
}

.country-menu:hover .country-trigger::after,
.country-menu:focus-within .country-trigger::after,
.country-menu.is-open .country-trigger::after {
  transform: scaleX(1);
}

.country-menu:hover .country-trigger > i,
.country-menu:focus-within .country-trigger > i,
.country-menu.is-open .country-trigger > i {
  transform: rotate(180deg);
}

.country-submenu {
  position: absolute;
  top: calc(100% - 1px);
  bottom: auto;
  inset-inline: 0 auto;
  z-index: 30;
  display: none;
  min-width: 143px;
  padding: 7px;
  border: 1px solid rgba(255, 248, 232, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 48%),
    rgba(3, 20, 14, 0.76);
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.48),
    inset 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}

.country-menu:hover .country-submenu,
.country-menu:focus-within .country-submenu,
.country-menu.is-open .country-submenu {
  display: grid;
}

.country-submenu a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 11px;
  border-bottom: 1px solid rgba(255, 248, 232, 0.08);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.country-submenu a:last-child {
  border-bottom: 0;
}

.country-submenu a:hover,
.country-submenu a:focus-visible {
  background: rgba(255, 248, 232, 0.09);
  color: var(--gold);
  outline: 0;
}

@media (max-width: 760px) {
  .site-nav-menu .nav-scroll {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .country-menu {
    display: grid;
    width: 100%;
  }

  .country-menu:hover:not(.is-open) .country-submenu,
  .country-menu:focus-within:not(.is-open) .country-submenu {
    display: none;
  }

  .site-nav-menu .country-trigger {
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    padding-inline: 10px;
    text-align: start;
  }

  .country-trigger::after {
    inset-inline: 10px;
  }

  .country-submenu {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
    margin: 2px 0 7px;
    padding: 4px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 58%),
      rgba(3, 20, 14, 0.68);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  }

  .country-menu.is-open .country-submenu {
    display: grid;
  }

  .country-submenu a {
    justify-content: center;
    min-width: 0;
    border-bottom: 0;
    border-inline-end: 1px solid rgba(255, 248, 232, 0.08);
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .country-submenu a:last-child {
    border-inline-end: 0;
  }
}

/* Shared empty template for the ten country/category landing pages. */
.section-placeholder-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(215, 181, 98, 0.08), transparent 260px),
    #061a12;
}

.section-placeholder-page .masthead {
  min-height: 116px;
}

.section-placeholder-main {
  display: grid;
  min-height: calc(100vh - 150px);
  place-items: center;
  padding-block: 48px;
}

.section-placeholder {
  padding: clamp(38px, 8vw, 92px) 0;
  border-block: 2px solid var(--gold);
  text-align: center;
}

.section-placeholder-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-placeholder h1 {
  max-width: 19ch;
  margin: 0 auto;
  color: var(--ivory);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
}

.section-placeholder-page.is-rtl .section-placeholder h1 {
  font-family: "Noto Naskh Arabic", Georgia, serif;
  line-height: 1.18;
}

@media (max-width: 760px) {
  .section-placeholder-page .masthead {
    min-height: 92px;
  }

  .section-placeholder-main {
    min-height: calc(100vh - 126px);
    padding-block: 26px;
  }

  .section-placeholder {
    padding-block: 44px;
  }

  .section-placeholder h1 {
    font-size: 38px;
  }
}

/* Unified region and main-section navigation. */
.unified-nav {
  position: relative;
}

.mobile-nav-toggle {
  display: none;
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav-menu .nav-scroll {
  flex: 1 1 auto;
  gap: clamp(6px, 1vw, 14px);
  padding-block: 8px;
}

.site-nav-menu .nav-pill {
  min-height: 34px;
  padding-inline: 10px;
}

.nav-group-divider {
  flex: 0 0 1px;
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.site-nav-menu .topic-nav {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 24px;
  padding: 0;
}

.site-nav-menu .topic-button {
  min-height: 34px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.site-nav-menu .topic-button:not(.is-active) {
  color: #e8dcc0;
}

.site-nav-menu .topic-button:hover,
.site-nav-menu .topic-button:focus-visible,
.site-nav-menu .topic-button.is-active {
  color: var(--gold);
}

@media (max-width: 760px) {
  .nav-bar {
    position: relative;
  }

  .unified-nav {
    width: 100%;
  }

  .mobile-nav-toggle {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    color: var(--ivory);
    font-family: var(--font-body);
    cursor: pointer;
  }

  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus-visible {
    color: var(--gold);
    outline: 0;
  }

  .mobile-nav-toggle strong {
    margin-inline-start: 10px;
    font-size: 13px;
  }

  .mobile-nav-icon {
    display: grid;
    gap: 3px;
    width: 17px;
  }

  .mobile-nav-icon i {
    display: block;
    width: 17px;
    height: 1px;
    background: currentColor;
  }

  .mobile-nav-chevron {
    margin-inline-start: auto;
    color: var(--gold);
    font-size: 18px;
    line-height: 1;
    transition: transform 160ms ease;
  }

  .unified-nav.is-open .mobile-nav-chevron {
    transform: rotate(180deg);
  }

  .site-nav-menu {
    display: none;
    padding: 4px 0 12px;
    border-top: 1px solid rgba(215, 181, 98, 0.24);
  }

  .unified-nav.is-open .site-nav-menu {
    display: grid;
    gap: 10px;
  }

  .site-nav-menu .nav-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
    padding: 0;
  }

  .site-nav-menu .nav-pill {
    width: 100%;
    min-height: 36px;
    padding-inline: 10px;
    text-align: start;
  }

  .nav-group-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }

  .site-nav-menu .topic-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .site-nav-menu .topic-button {
    width: 100%;
    min-height: 38px;
    padding-inline: 8px;
  }
}

/* Two restrained, counter-moving global-market rows. */
.intelligence-live-column {
  padding-top: 0;
}

.intelligence-live-column .weather-desk {
  margin-top: 0;
}

.asset-marquee-rows {
  overflow: hidden;
}

.asset-marquee-row {
  overflow: hidden !important;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.asset-marquee-row::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.asset-marquee-row + .asset-marquee-row {
  border-top: 1px solid rgba(215, 181, 98, 0.24);
}

.asset-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.asset-marquee-row.is-left .asset-marquee-track {
  animation: asset-scroll-left 34s linear infinite;
}

.asset-marquee-row.is-right .asset-marquee-track {
  transform: translateX(-50%);
  animation: asset-scroll-right 38s linear infinite;
}

.asset-marquee-group {
  display: flex;
  flex: none;
}

.asset-marquee-group .asset-quote,
.intelligence-live-column .asset-marquee-group .asset-quote,
.intelligence-live-column .asset-marquee-group .asset-quote:nth-child(n + 4),
.intelligence-live-column .asset-marquee-group .asset-quote:nth-child(n + 8),
.intelligence-live-column .asset-marquee-group .asset-quote:last-child {
  grid-column: auto;
  flex: 0 0 142px;
  width: 142px;
  min-height: 82px;
  border-bottom: 0;
}

@keyframes asset-scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes asset-scroll-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 640px) {
  .asset-marquee-group .asset-quote,
  .intelligence-live-column .asset-marquee-group .asset-quote,
  .intelligence-live-column .asset-marquee-group .asset-quote:nth-child(n + 4),
  .intelligence-live-column .asset-marquee-group .asset-quote:nth-child(n + 8),
  .intelligence-live-column .asset-marquee-group .asset-quote:last-child {
    flex-basis: 136px;
    width: 136px;
  }
}

/* Readability and three-row live-market refinements. */
.intelligence-live-column .weather-desk {
  min-height: 440px;
}

.intelligence-live-column .weather-desk::before {
  inset: 0;
  background-position: center bottom;
  background-size: 110% auto;
  opacity: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.72) 42%, #000 62%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 18%, rgba(0, 0, 0, 0.72) 42%, #000 62%, #000 100%);
}

.intelligence-live-column .weather-desk::after {
  background: linear-gradient(180deg, #041911 0%, rgba(4, 25, 17, 0.84) 34%, rgba(4, 25, 17, 0.2) 68%, rgba(4, 25, 17, 0.08) 100%);
}

.intelligence-live-column .desk-header h3 {
  font-size: 25px;
}

.intelligence-live-column .desk-header span,
.intelligence-live-column .desk-header small {
  font-size: 9px;
}

.intelligence-live-column .weather-tab {
  min-height: 38px;
  font-size: 8px;
}

.intelligence-live-column .weather-primary small {
  font-size: 10px;
}

.intelligence-live-column .weather-primary strong {
  font-size: 48px;
}

.intelligence-live-column .weather-primary p {
  font-size: 11px;
}

.intelligence-live-column .weather-metrics dt {
  font-size: 8px;
}

.intelligence-live-column .weather-metrics dd {
  font-size: 13px;
}

.intelligence-live-column .forecast-day {
  min-height: 46px;
}

.intelligence-live-column .forecast-day span,
.intelligence-live-column .forecast-day strong,
.intelligence-live-column .forecast-day small {
  font-size: 9px;
}

.intelligence-live-column .forecast-day i {
  font-size: 18px;
}

.intelligence-live-column .crypto-row {
  grid-template-columns: minmax(94px, 1fr) 74px 120px 61px;
  min-height: 58px;
}

.intelligence-live-column .crypto-coin {
  width: 31px;
  min-width: 31px;
  height: 31px;
}

.intelligence-live-column .crypto-coin img {
  width: 27px;
  min-width: 27px;
  height: 27px;
}

.intelligence-live-column .crypto-identity strong,
.intelligence-live-column .crypto-price strong {
  font-size: 12px;
}

.intelligence-live-column .crypto-identity small,
.intelligence-live-column .crypto-price small {
  font-size: 9px;
}

.intelligence-live-column .crypto-chart {
  width: 120px;
  height: 46px;
}

.intelligence-live-column .crypto-change {
  font-size: 10px;
}

.intelligence-live-column .asset-strip-header strong {
  font-size: 11px;
}

.intelligence-live-column .asset-strip-header small {
  font-size: 9px;
}

.intelligence-live-column .asset-quote {
  min-height: 82px;
  padding: 9px;
}

.intelligence-live-column .asset-quote:nth-child(n + 8) {
  grid-column: span 4;
}

.intelligence-live-column .asset-medallion {
  width: 30px;
  height: 30px;
  font-size: 10px;
}

.intelligence-live-column .asset-quote-name strong {
  font-size: 10px;
}

.intelligence-live-column .asset-quote-name small,
.intelligence-live-column .asset-quote-value small {
  font-size: 8px;
}

.intelligence-live-column .asset-quote-value strong {
  font-size: 13px;
}

.intelligence-live-column .asset-quote-change {
  font-size: 9px;
}

.property-pulse-status {
  margin: 0 0 8px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 11px;
  text-align: end;
}

.property-pulse-status:empty {
  display: none;
}

.property-pulse-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 30px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--gold);
}

.property-pulse-topline .pulse-sources {
  align-items: baseline;
  justify-content: flex-start;
  padding: 6px 0;
  border-top: 0;
}

@media (min-width: 641px) {
  .property-pulse-topline .pulse-sources > span,
  .property-pulse-topline .pulse-sources > a {
    position: relative;
    top: 4px;
  }
}

.property-pulse-topline .pulse-sources strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
}

.property-pulse-topline .property-pulse-status {
  flex: none;
  margin: 0;
  white-space: nowrap;
}

.property-pulse-grid > .pulse-sources {
  display: none;
}

.property-pulse-topline + .property-pulse-grid {
  border-top: 0;
}

.pulse-source-title {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
}

@media (max-width: 640px) {
  .intelligence-live-column .weather-desk {
    min-height: 470px;
  }

  .intelligence-live-column .weather-desk::before {
    inset: 0 -12% 0;
    background-position: center bottom;
    background-size: auto 70%;
  }

  .intelligence-live-column .crypto-row {
    grid-template-columns: minmax(88px, 1fr) 66px 94px 52px;
  }

  .intelligence-live-column .crypto-chart {
    width: 94px;
  }

  .intelligence-live-column .asset-quote,
  .intelligence-live-column .asset-quote:nth-child(n + 4),
  .intelligence-live-column .asset-quote:nth-child(n + 8),
  .intelligence-live-column .asset-quote:last-child {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .property-pulse-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    padding-block: 6px;
  }

  .property-pulse-topline .pulse-sources {
    flex-wrap: wrap;
    padding: 0;
  }

  .property-pulse-topline .property-pulse-status {
    margin-top: 5px;
    white-space: normal;
  }
}

/* Magazine layout for editorial news and compact live intelligence. */
.intelligence-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(430px, 0.96fr);
  align-items: start;
  gap: 22px;
}

.intelligence-editorial {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.intelligence-editorial-list {
  display: grid;
  gap: 10px;
}

.intelligence-news-row {
  border: 1px solid rgba(215, 181, 98, 0.35);
  background: #123326;
}

.intelligence-news-row a {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 104px;
  color: var(--ivory);
}

.intelligence-news-row img {
  width: 150px;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}

.intelligence-news-row a > span {
  display: grid;
  align-content: center;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
}

.intelligence-news-row strong {
  font-size: 18px;
  line-height: 1.1;
}

.intelligence-news-row .post-meta {
  font-size: 9px;
}

.intelligence-news-row p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.intelligence-news-row:hover strong,
.intelligence-news-row:focus-within strong {
  color: var(--gold);
}

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

.intelligence-news-tile {
  min-width: 0;
  border-top: 2px solid var(--gold);
  background: #0a281c;
}

.intelligence-news-tile a {
  display: block;
  color: var(--ivory);
}

.intelligence-news-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.intelligence-news-tile a > span,
.intelligence-news-tile a > strong,
.intelligence-news-tile a > small,
.intelligence-news-tile a > p {
  display: block;
  margin-inline: 10px;
}

.intelligence-news-tile a > span {
  margin-top: 9px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.intelligence-news-tile a > strong {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.15;
}

.intelligence-news-tile a > small {
  margin-top: 6px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 8px;
}

.intelligence-news-tile a > p {
  display: -webkit-box;
  margin-top: 7px;
  margin-bottom: 11px;
  overflow: hidden;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.intelligence-news-tile:hover strong,
.intelligence-news-tile:focus-within strong {
  color: var(--gold);
}

.intelligence-live-column {
  min-width: 0;
}

.intelligence-live-column .intelligence-heading {
  margin-bottom: 10px;
  padding-bottom: 7px;
}

.intelligence-live-column .intelligence-heading h2 {
  font-size: 20px;
}

.intelligence-live-column .weather-desk,
.intelligence-live-column .crypto-desk {
  padding: 16px;
  box-shadow: none;
}

.intelligence-live-column .desk-header {
  margin-bottom: 12px;
}

.intelligence-live-column .desk-header h3 {
  font-size: 22px;
}

.intelligence-live-column .weather-tabs {
  margin-bottom: 12px;
}

.intelligence-live-column .weather-tab {
  min-height: 34px;
  padding-inline: 4px;
  font-size: 7px;
}

.intelligence-live-column .weather-current {
  grid-template-columns: minmax(0, 1fr) minmax(190px, 1fr);
  gap: 12px;
}

.intelligence-live-column .weather-primary {
  gap: 10px;
}

.intelligence-live-column .weather-icon {
  width: 54px;
  min-width: 54px;
  height: 54px;
  font-size: 42px;
}

.intelligence-live-column .weather-primary small {
  font-size: 9px;
}

.intelligence-live-column .weather-primary strong {
  font-size: 43px;
}

.intelligence-live-column .weather-primary p {
  margin-top: 3px;
  font-size: 10px;
}

.intelligence-live-column .weather-metrics div {
  padding: 8px 5px;
}

.intelligence-live-column .weather-metrics dt {
  font-size: 7px;
}

.intelligence-live-column .weather-metrics dd {
  font-size: 11px;
}

.intelligence-live-column .forecast-strip {
  margin-top: 30px;
}

.intelligence-live-column .forecast-day {
  flex-basis: 114px;
  width: 114px;
  min-width: 114px;
  min-height: 42px;
  gap: 5px;
  padding: 8px 7px;
}

.intelligence-live-column .forecast-day span,
.intelligence-live-column .forecast-day strong,
.intelligence-live-column .forecast-day small {
  font-size: 8px;
}

.intelligence-live-column .forecast-day i {
  font-size: 16px;
}

.intelligence-live-caption {
  margin: 0;
  padding: 9px 10px;
  border-bottom: 1px solid var(--gold);
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 9px;
  text-align: end;
}

.intelligence-live-column .crypto-desk {
  margin-top: 10px;
}

.intelligence-live-column .crypto-row {
  grid-template-columns: minmax(88px, 1fr) 68px 112px 56px;
  gap: 7px;
  min-height: 52px;
}

.intelligence-live-column .crypto-coin {
  width: 28px;
  min-width: 28px;
  height: 28px;
}

.intelligence-live-column .crypto-coin img {
  width: 24px;
  min-width: 24px;
  height: 24px;
}

.intelligence-live-column .crypto-identity strong,
.intelligence-live-column .crypto-price strong {
  font-size: 10px;
}

.intelligence-live-column .crypto-chart {
  width: 112px;
  height: 42px;
}

.intelligence-live-column .crypto-change {
  font-size: 9px;
}

.intelligence-live-column .asset-market-strip {
  margin-top: 10px;
}

.intelligence-live-column .asset-strip-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.intelligence-live-column .asset-quote {
  grid-column: span 4;
  min-height: 72px;
  padding: 8px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.2);
}

.intelligence-live-column .asset-quote:nth-child(n + 4) {
  grid-column: span 3;
  border-bottom: 0;
}

.intelligence-live-column .asset-quote-name strong {
  font-size: 9px;
}

.intelligence-live-column .asset-quote-value strong {
  font-size: 11px;
}

.intelligence-live-column .asset-quote-change {
  font-size: 8px;
}

@media (max-width: 1050px) {
  .intelligence-layout {
    grid-template-columns: 1fr;
  }

  .intelligence-live-column {
    order: -1;
  }

  .intelligence-editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .intelligence-news-row a {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .intelligence-news-row img {
    width: 116px;
  }

  .intelligence-news-row strong {
    font-size: 14px;
  }

  .intelligence-news-row p {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .intelligence-editorial-grid {
    grid-template-columns: 1fr;
  }

  .intelligence-news-tile a {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
  }

  .intelligence-news-tile img {
    grid-row: 1 / 5;
    width: 124px;
    height: 100%;
    min-height: 126px;
  }

  .intelligence-live-column .weather-current {
    grid-template-columns: 1fr;
  }

  .intelligence-live-column .crypto-row {
    grid-template-columns: minmax(84px, 1fr) 62px 92px 49px;
    gap: 4px;
  }

  .intelligence-live-column .crypto-chart {
    width: 92px;
  }

  .intelligence-live-column .asset-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intelligence-live-column .asset-quote,
  .intelligence-live-column .asset-quote:nth-child(n + 4) {
    grid-column: auto;
  }

  .intelligence-live-column .asset-quote:last-child {
    grid-column: 1 / -1;
  }
}

/* Full-width commodities and equity-index quote strip. */
.asset-market-strip {
  margin-top: 20px;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(215, 181, 98, 0.44);
  background:
    linear-gradient(90deg, rgba(215, 181, 98, 0.08), transparent 28%, rgba(36, 107, 76, 0.14) 72%, rgba(215, 181, 98, 0.06)),
    #03160f;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.asset-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-inline: 14px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.22);
}

.asset-strip-header strong {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.asset-strip-header small {
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 9px;
}

.asset-strip-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.asset-quote {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-areas:
    "mark name"
    "mark value"
    "mark change";
  align-content: center;
  min-width: 0;
  min-height: 86px;
  padding: 10px 11px;
  border-inline-end: 1px solid rgba(215, 181, 98, 0.22);
}

.asset-quote:last-child {
  border-inline-end: 0;
}

.asset-medallion {
  grid-area: mark;
  align-self: center;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(242, 214, 138, 0.76);
  border-radius: 50%;
  background: linear-gradient(145deg, #f0d17b, #8c671b);
  color: #061a12;
  font-family: Georgia, serif;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(215, 181, 98, 0.18);
}

.asset-quote.is-silver .asset-medallion {
  border-color: #e4e8e6;
  background: linear-gradient(145deg, #f2f4f3, #7f8984);
}

.asset-quote.is-oil .asset-medallion {
  background: linear-gradient(145deg, #3a463f, #060a08);
  color: var(--gold);
}

.asset-quote:is(.is-sp500, .is-nasdaq, .is-dow, .is-dax) .asset-medallion {
  background: linear-gradient(145deg, #174e38, #071a12);
  color: var(--gold);
}

.asset-quote-name {
  grid-area: name;
  min-width: 0;
}

.asset-quote-name strong,
.asset-quote-name small,
.asset-quote-value strong,
.asset-quote-value small {
  display: block;
}

.asset-quote-name strong {
  overflow: hidden;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-quote-name small,
.asset-quote-value small {
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 8px;
}

.asset-quote-value {
  grid-area: value;
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 0;
}

.asset-quote-value strong {
  overflow: hidden;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.15;
  text-overflow: ellipsis;
}

.asset-quote-change {
  grid-area: change;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 800;
}

.asset-quote-change.is-up {
  color: #5ef0a0;
}

.asset-quote-change.is-down {
  color: #ff6f76;
}

.asset-strip-empty {
  margin: 0;
  padding: 14px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .asset-strip-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .asset-quote {
    border-bottom: 1px solid rgba(215, 181, 98, 0.18);
  }
}

@media (max-width: 640px) {
  .asset-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asset-quote {
    min-height: 78px;
  }

  .asset-quote:last-child {
    grid-column: 1 / -1;
  }
}

/* In-page article route: the site header remains visible. */
#main.is-reading > :not(.article-page) {
  display: none;
}

.article-page {
  padding-block: 26px 48px;
  border-top: 1px solid rgba(215, 181, 98, 0.24);
  background: #071d14;
}

.article-page[hidden] {
  display: none;
}

.article-page-shell {
  position: relative;
}

.article-page .article-reader-layout {
  padding: 0;
}

.article-more-recommendations {
  margin-top: 38px;
  padding: 20px 0 4px;
  border-top: 2px solid var(--gold);
  background: transparent;
  color: var(--ivory);
}

.article-more-heading {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.3);
  text-align: left;
}

.is-rtl .article-more-heading {
  text-align: right;
}

.article-more-heading span {
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-more-heading h2 {
  margin: 0;
  color: var(--gold);
  font-size: 25px;
}

.article-more-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
}

.article-more-grid .reader-rail-card,
.article-more-grid .reader-rail-card.is-compact {
  grid-template-columns: 112px minmax(0, 1fr);
  margin: 0;
  padding: 0;
  border-bottom: 0;
  color: var(--ivory);
}

.article-more-grid .reader-rail-card img,
.article-more-grid .reader-rail-card.is-compact img {
  width: 112px;
  height: 78px;
}

.article-more-grid .reader-rail-card strong {
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.25;
}

.article-more-grid .reader-rail-card small,
.article-more-grid .reader-empty {
  color: var(--stone);
}

.article-more-grid .reader-rail-card:hover strong,
.article-more-grid .reader-rail-card:focus-visible strong {
  color: var(--gold);
}

.article-more-grid > .reader-empty {
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .article-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .article-page {
    padding-block: 16px 30px;
  }

  .article-page .article-reader-layout {
    padding: 0;
  }

  .article-more-recommendations {
    margin-top: 28px;
    padding: 16px 0 0;
  }

  .article-more-grid {
    grid-template-columns: 1fr;
  }

  .article-more-grid .reader-rail-card,
  .article-more-grid .reader-rail-card.is-compact {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .article-more-grid .reader-rail-card img,
  .article-more-grid .reader-rail-card.is-compact img {
    width: 108px;
    height: 76px;
  }
}

/* Editorial topics sit directly below the regional filter. */
.topic-nav-bar {
  border-top: 1px solid rgba(215, 181, 98, 0.13);
  border-bottom: 1px solid rgba(215, 181, 98, 0.42);
  background: #03130d;
}

.topic-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  padding-block: 2px;
}

.topic-button {
  position: relative;
  min-width: 0;
  min-height: 38px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: rgba(255, 249, 232, 0.78);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  cursor: pointer;
  transition: color 160ms ease;
}

.topic-button::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.topic-button:hover,
.topic-button:focus-visible,
.topic-button.is-active {
  background: transparent;
  color: var(--gold);
  outline: 0;
}

.topic-button:hover::after,
.topic-button:focus-visible::after,
.topic-button.is-active::after {
  transform: scaleX(1);
}

/* Regions remain the primary filter, with quieter unselected items. */
.nav-scroll {
  gap: clamp(8px, 1.4vw, 18px);
}

.nav-pill {
  position: relative;
  padding-inline: 10px;
  border-color: transparent;
  background: transparent;
}

.nav-pill:not(.is-active):hover,
.nav-pill:not(.is-active):focus-visible {
  border-color: transparent;
  background: transparent;
  color: var(--gold);
}

/* Live property registry strip. */
.property-pulse-band {
  padding-block: 24px 20px;
  border-block: 1px solid var(--line);
  background: #041a12;
}

.property-pulse-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.property-pulse-heading span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.property-pulse-heading h2 {
  margin: 3px 0 0;
  color: var(--ivory);
  font-size: 26px;
}

.property-pulse-heading p {
  margin: 0;
  color: var(--stone);
  font-size: 12px;
}

.property-pulse-grid {
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--line);
  background: rgba(15, 45, 32, 0.52);
}

.pulse-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pulse-metric {
  min-width: 0;
  padding: 16px;
  border-inline-end: 1px solid var(--line);
}

.pulse-metric:last-child {
  border-inline-end: 0;
}

.pulse-metric > span,
.pulse-metric > small {
  display: block;
  color: var(--stone);
  font-size: 11px;
  line-height: 1.25;
}

.pulse-metric > span {
  min-height: 2.5em;
  text-transform: uppercase;
}

.pulse-metric > strong {
  display: block;
  margin-block: 7px 5px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.pulse-change.is-up {
  color: #62f2a4;
}

.pulse-change.is-down {
  color: #ff7777;
}

.pulse-sources {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 8px 12px;
  border-top: 1px solid rgba(215, 181, 98, 0.18);
  color: var(--stone);
  font-size: 10px;
}

.pulse-sources a:hover,
.pulse-sources a:focus-visible {
  color: var(--gold);
}

.pulse-empty {
  margin: 0;
  padding: 22px 16px;
  color: var(--stone);
}

@media (max-width: 920px) {
  .topic-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    display: grid;
    gap: 0 18px;
  }

  .topic-button:nth-child(-n + 4) {
    border-bottom: 0;
  }

  .pulse-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pulse-metric {
    border-bottom: 1px solid var(--line);
  }

  .pulse-metric:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .topic-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topic-button {
    border-bottom: 0;
  }

  .property-pulse-heading {
    display: block;
  }

  .property-pulse-heading p {
    margin-top: 7px;
  }

  .pulse-metrics {
    grid-template-columns: 1fr;
  }

  .pulse-metric,
  .pulse-metric:last-child {
    grid-column: auto;
    border-inline-end: 0;
    border-bottom: 1px solid var(--line);
  }

  .pulse-metric:last-child {
    border-bottom: 0;
  }

  .pulse-sources {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* Editorial article reader. */
.modal-panel {
  width: min(1240px, calc(100% - 20px));
  max-height: calc(100vh - 16px);
  margin: 8px auto;
  border: 1px solid rgba(215, 181, 98, 0.42);
  background: #071d14;
}

.modal-close {
  position: sticky;
  top: 12px;
  z-index: 6;
  display: block;
  float: none;
  width: 38px;
  height: 38px;
  margin: 12px 12px -50px auto;
  border: 1px solid var(--gold);
  border-radius: 0;
  background: #e2c36f;
  font-size: 25px;
}

.is-rtl .modal-close {
  margin-inline: 12px auto;
}

.article-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 34px;
  padding: 38px 40px 54px;
}

.article-reader-main {
  min-width: 0;
}

.article-reader-header {
  padding: 0 52px 17px 0;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(215, 181, 98, 0.34);
}

.is-rtl .article-reader-header {
  padding-right: 0;
  padding-left: 52px;
}

.article-reader-topic {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.article-reader-header h1 {
  max-width: 100%;
  margin: 8px 0 13px;
  color: var(--ivory);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  text-shadow: none;
}

@media (min-width: 641px) {
  .article-reader-header h1.is-title-long {
    font-size: clamp(38px, 3.1vw, 46px);
    line-height: 1.05;
  }

  .article-reader-header h1.is-title-extra-long {
    font-size: clamp(34px, 2.7vw, 40px);
    line-height: 1.08;
  }
}

.article-reader-header .post-meta {
  color: rgba(255, 249, 232, 0.72);
}

.article-reader-header .article-meta-line {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(5px, 0.8vw, 10px);
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(9px, 0.9vw, 12px);
}

.article-meta-line .article-meta-author {
  min-width: 0;
  overflow: hidden;
  color: var(--ivory);
  font-weight: 800;
  text-overflow: ellipsis;
}

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.article-share > strong {
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
}

.article-share > div {
  display: flex;
  gap: 5px;
}

.share-button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: filter 150ms ease, transform 150ms ease;
}

.share-button svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.7;
}

.share-button.is-email {
  background: #c99720;
}

.share-button.is-email svg {
  fill: none;
}

.share-button.is-facebook {
  background: #315bb4;
}

.share-button.is-x {
  background: #111;
}

.share-button.is-x svg {
  fill: none;
  stroke-width: 2.3;
}

.share-button.is-linkedin {
  background: #0a66c2;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.share-button.is-whatsapp {
  background: #1fa855;
}

.share-button.is-whatsapp svg circle {
  fill: none;
  stroke-width: 1.7;
}

.share-button:hover,
.share-button:focus-visible {
  filter: brightness(1.18);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 12px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 12px;
}

.article-byline strong {
  color: var(--ivory);
}

.article-reader-lead {
  max-width: 72ch;
  margin: 22px 0;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.55;
}

.article-reader-cover {
  margin: 0 0 24px;
}

.article-reader-cover img {
  display: block;
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.article-reader-cover.is-project-cover img {
  aspect-ratio: 1506 / 1045;
  object-fit: contain;
  background: #03130d;
}

.article-reader-main .article-body {
  max-width: 74ch;
  padding: 0;
  color: rgba(255, 249, 232, 0.9);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
}

.article-reader-main .article-body p {
  margin: 0 0 22px;
}

.article-reader-main .article-body .article-subheading {
  margin: 32px 0 12px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.16;
  text-wrap: balance;
}

.article-supplementary-media {
  max-width: 74ch;
  margin-top: 34px;
}

.article-supplementary-media.is-inline {
  margin: 28px 0 30px;
}

.article-supplementary-media figure {
  margin: 0;
}

.article-supplementary-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(215, 181, 98, 0.28);
  background: #03130d;
}

.article-supplementary-media figcaption {
  margin-top: 9px;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .project-grid.is-single-project .project-card-link {
    grid-template-columns: 1fr;
  }

  .project-grid.is-single-project .project-card img {
    height: auto;
    min-height: 0;
    border-inline-end: 0;
    border-bottom: 1px solid rgba(215, 181, 98, 0.24);
  }

  .project-grid.is-single-project .project-card-body {
    padding: 24px 20px 28px;
  }
}

.article-source-note {
  max-width: 74ch;
  margin-top: 28px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 181, 98, 0.2);
  color: rgba(255, 249, 232, 0.48);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}

.article-source-note .article-source-label {
  margin-inline-end: 4px;
  color: rgba(215, 181, 98, 0.72);
  font-weight: 700;
}

.article-source-note .article-source-label-ar {
  display: none;
}

html[lang^="ar"] .article-source-note .article-source-label-en,
.is-rtl .article-source-note .article-source-label-en {
  display: none;
}

html[lang^="ar"] .article-source-note .article-source-label-ar,
.is-rtl .article-source-note .article-source-label-ar {
  display: inline;
}

.article-source-note a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.article-source-note a:hover,
.article-source-note a:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-reader-main .article-body p:first-child::first-letter {
  float: inline-start;
  margin: 8px 7px 0 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.72;
}

.is-rtl .article-reader-main .article-body p:first-child::first-letter {
  margin-right: 0;
  margin-left: 7px;
}

.article-reader-rail {
  position: sticky;
  top: 18px;
  align-self: start;
  min-width: 0;
}

.reader-rail-section {
  margin-bottom: 28px;
}

.reader-rail-section h2 {
  margin: 0 0 12px;
  padding: 9px 0 8px;
  border-top: 4px solid var(--gold);
  border-bottom: 1px solid rgba(215, 181, 98, 0.35);
  color: var(--ivory);
  font-size: 19px;
  line-height: 1.1;
}

.reader-rail-list {
  display: grid;
  gap: 14px;
}

.reader-rail-card {
  display: grid;
  gap: 8px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.28);
  color: var(--ivory);
}

.reader-rail-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  border-radius: 0;
}

.reader-rail-card > span {
  display: grid;
  gap: 5px;
}

.reader-rail-card strong {
  font-size: 16px;
  line-height: 1.15;
}

.reader-rail-card small {
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 10px;
}

.reader-rail-card:hover strong,
.reader-rail-card:focus-visible strong {
  color: var(--gold);
}

.reader-politics-section {
  padding-top: 14px;
  border-top: 4px solid #89908c;
}

.reader-politics-section h2 {
  border-top: 0;
}

.reader-rail-card.is-compact {
  grid-template-columns: 94px minmax(0, 1fr);
  align-items: start;
}

.reader-rail-card.is-compact img {
  height: 68px;
  aspect-ratio: auto;
}

.reader-rail-card.is-compact strong {
  font-size: 14px;
}

.reader-empty {
  margin: 0;
  padding: 14px 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 12px;
}

@media (max-width: 920px) {
  .article-reader-layout {
    grid-template-columns: 1fr;
    padding: 28px 24px 44px;
  }

  .article-reader-rail {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .reader-rail-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reader-politics-section {
    padding-top: 0;
  }

  .reader-rail-card.is-compact {
    grid-template-columns: 1fr;
  }

  .reader-rail-card.is-compact img {
    height: auto;
    aspect-ratio: 16 / 8.8;
  }
}

@media (max-width: 640px) {
  .modal-panel {
    width: 100%;
    max-height: 100vh;
    min-height: 100vh;
    margin: 0;
    border: 0;
  }

  .modal-close {
    top: 8px;
    margin-top: 8px;
  }

  .article-reader-layout {
    gap: 26px;
    padding: 20px 16px 36px;
  }

  .article-reader-header {
    padding-right: 42px;
  }

  .is-rtl .article-reader-header {
    padding-right: 0;
    padding-left: 42px;
  }

  .article-reader-header h1 {
    font-size: 32px;
    line-height: 1.06;
  }

  .article-reader-lead {
    font-size: 17px;
  }

  .article-reader-cover img {
    aspect-ratio: 4 / 3;
  }

  .article-reader-main .article-body {
    font-size: 16px;
  }

  .article-reader-rail,
  .reader-rail-list {
    grid-template-columns: 1fr;
  }

  .reader-rail-card,
  .reader-rail-card.is-compact {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .reader-rail-card img,
  .reader-rail-card.is-compact img {
    height: 80px;
    aspect-ratio: auto;
  }
}

.news-strip-band {
  padding-block: 26px 30px;
  border-block: 1px solid rgba(215, 181, 98, 0.42);
  background: #061a12;
}

.news-strip-band-alt {
  background: #0a281c;
}

.news-strip-heading {
  margin-bottom: 13px;
  padding-bottom: 8px;
  border-bottom: 3px solid rgba(215, 181, 98, 0.88);
}

.news-strip-heading h2 {
  margin: 0;
  color: var(--ivory);
  font-size: 20px;
  text-transform: uppercase;
}

.news-strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.news-strip-card {
  min-width: 0;
  border: 1px solid rgba(215, 181, 98, 0.4);
  border-top-width: 3px;
  background: rgba(4, 25, 17, 0.94);
}

.news-strip-card a {
  display: grid;
  grid-template-rows: 118px minmax(0, 1fr);
  height: 100%;
  color: inherit;
}

.news-strip-card img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}

.news-strip-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
}

.news-strip-card-body span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.news-strip-card-body h3 {
  margin: 5px 0 7px;
  color: var(--ivory);
  font-size: 18px;
  line-height: 1.05;
}

.news-strip-card-body small {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 9px;
}

.news-strip-card-body p {
  margin: 9px 0 0;
  color: var(--stone);
  font-size: 12px;
  line-height: 1.38;
}

.news-strip-card a:hover h3,
.news-strip-card a:focus-visible h3 {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .news-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .news-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .news-strip-grid {
    grid-template-columns: 1fr;
  }

  .news-strip-card a {
    grid-template-columns: 128px minmax(0, 1fr);
    grid-template-rows: minmax(132px, auto);
  }

  .news-strip-card img {
    height: 100%;
    min-height: 132px;
  }

  .news-strip-card-body p {
    display: none;
  }
}

/* Coin logos intentionally keep their circular form in the sharp-corner theme. */
.crypto-coin,
.crypto-coin img {
  border-radius: 50% !important;
  clip-path: circle(50%);
}

/* Sharp corners and editorial news layout */
img,
.lead-card,
.story-card,
.mini-card,
.latest-panel,
.rail-section,
.rail-ad,
.newsletter-block,
.project-card,
.search-form,
.lang-button,
.admin-link,
.ghost-button,
.nav-pill,
.newsletter-form input,
.login-box,
.post-form,
.admin-list-panel,
.admin-post-item,
.modal-panel,
.login-box input,
.post-form input,
.post-form select,
.post-form textarea,
.admin-stats span,
.admin-post-item img {
  border-radius: 0 !important;
}

@media (min-width: 921px) {
  .lead-layout {
    align-items: start;
  }

  .lead-card {
    height: var(--lead-visual-height, 460px);
    min-height: var(--lead-visual-height, 460px);
  }

  .lead-card .lead-link,
  .lead-media,
  .lead-card img {
    height: 100%;
    min-height: 0;
  }

  .lead-card img {
    object-fit: cover;
  }
}

.property-news-block {
  grid-template-columns: minmax(0, 2fr) minmax(300px, 0.86fr);
  align-items: start;
}

.property-news-block > div {
  min-width: 0;
}

.property-news-block .section-heading {
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 3px solid rgba(215, 181, 98, 0.88);
}

.property-news-block .section-heading h2,
.property-news-rail h2 {
  text-transform: uppercase;
}

.property-news-block #resultCount {
  display: none;
}

.property-news-block .story-grid {
  grid-template-columns: 1fr;
  gap: 18px;
}

.story-card-featured {
  border: 0;
  background: transparent;
}

.story-card-featured a {
  position: relative;
  display: block;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(215, 181, 98, 0.42);
}

.story-card-featured img {
  width: 100%;
  height: min(42vw, 500px);
  min-height: 430px;
  object-fit: cover;
}

.story-card-featured .story-card-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 8px;
  padding: clamp(18px, 3vw, 30px);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(2, 12, 8, 0.9) 28%, rgba(2, 12, 8, 0.96));
}

.story-card-featured h3 {
  max-width: 20ch;
  margin-inline: auto;
  color: var(--ivory);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.story-card-featured p {
  max-width: 72ch;
  margin-inline: auto;
  color: var(--stone);
}

.story-card-featured .post-meta {
  justify-content: center;
  color: var(--ivory);
}

.story-card-row {
  background: rgba(255, 248, 232, 0.06);
}

.story-card-row a {
  display: grid;
  grid-template-columns: minmax(190px, 31%) minmax(0, 1fr);
  min-height: 168px;
}

.story-card-row img {
  width: 100%;
  height: 100%;
  min-height: 168px;
  aspect-ratio: auto;
  object-fit: cover;
}

.story-card-row .story-card-body {
  align-content: center;
  gap: 8px;
  padding: 14px 18px;
}

.story-card-row h3 {
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.06;
}

.story-card-row p {
  font-size: 15px;
}

.property-news-rail {
  gap: 24px;
}

.rail-ad {
  min-height: 202px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(215, 181, 98, 0.44);
  border-top: 4px solid rgba(215, 181, 98, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.12), rgba(255, 248, 232, 0.03)),
    rgba(6, 26, 18, 0.86);
  text-align: center;
}

.rail-ad span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.rail-ad strong {
  max-width: 15ch;
  color: var(--ivory);
  font-size: 26px;
  line-height: 1.02;
}

.rail-ad small {
  max-width: 26ch;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 13px;
}

.rail-feature-section {
  padding: 12px 10px 4px;
  border-top: 4px solid rgba(215, 181, 98, 0.72);
}

.rail-card-featured {
  display: grid;
  gap: 10px;
  padding-block: 10px 14px;
}

.rail-card-featured img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.rail-card-featured strong {
  font-size: 22px;
  line-height: 1.08;
}

.rail-card-featured small {
  color: var(--muted);
  font-family: var(--font-body);
}

.banner-empty {
  min-height: 160px;
  display: grid;
  place-items: center;
  margin: 0;
  text-align: center;
}

@media (max-width: 920px) {
  .property-news-block {
    grid-template-columns: 1fr;
  }

  .story-card-featured img {
    height: 430px;
  }
}

@media (max-width: 640px) {
  .story-card-featured a {
    min-height: 360px;
  }

  .story-card-featured img {
    height: 360px;
    min-height: 360px;
  }

  .story-card-featured h3 {
    font-size: 28px;
  }

  .story-card-row a {
    grid-template-columns: 1fr;
  }

  .story-card-row img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

/* Continuous editorial flow: main stories, full-width briefs, then more stories. */
.property-news-block {
  display: block;
  padding: 0;
}

.property-news-segment {
  position: relative;
  border-top: 1px solid rgba(215, 181, 98, 0.34);
}

.property-news-segment-top {
  padding-block: 34px 20px;
  background: rgba(3, 16, 11, 0.18);
}

.property-news-segment-lower {
  padding-block: 22px 30px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.34);
  background:
    linear-gradient(90deg, rgba(15, 75, 53, 0.2), rgba(16, 47, 34, 0.46) 50%, rgba(15, 75, 53, 0.2)),
    rgba(6, 26, 18, 0.5);
}

.property-news-segment-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(286px, 0.82fr);
  gap: 16px 20px;
  align-items: start;
}

.property-news-segment-grid-top {
  grid-template-areas:
    "main rail-top"
    "strip-one strip-one";
}

.property-news-segment-grid-lower {
  grid-template-areas:
    "continuation rail-lower"
    "strip-two strip-two";
}

.property-news-main {
  grid-area: main;
}

.property-news-rail-top {
  grid-area: rail-top;
}

#newsStripSection1 {
  grid-area: strip-one;
}

.property-news-continuation {
  grid-area: continuation;
}

@media (min-width: 641px) {
  .property-news-continuation .story-card-row a {
    min-height: 144px;
  }

  .property-news-continuation .story-card-row img {
    min-height: 144px;
  }

  .property-news-continuation .story-card-row .story-card-body {
    gap: 5px;
    padding: 10px 14px;
  }

  .property-news-continuation .story-card-row h3 {
    font-size: clamp(19px, 2vw, 25px);
  }

  .property-news-continuation .story-card-row p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

.property-news-rail-lower {
  grid-area: rail-lower;
}

#newsStripSection2 {
  grid-area: strip-two;
}

.news-strip-break {
  min-width: 0;
  padding-block: 11px 14px;
  border-block: 1px solid rgba(215, 181, 98, 0.52);
  background: #071d14;
}

.news-strip-break-alt {
  background: #092219;
}

.news-strip-break .news-strip-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.news-strip-break .news-strip-card {
  border: 0;
  border-inline-end: 1px solid rgba(215, 181, 98, 0.28);
  background: transparent;
}

.news-strip-break .news-strip-card:last-child {
  border-inline-end: 0;
}

.news-strip-break .news-strip-card a {
  grid-template-rows: 106px minmax(0, 1fr);
}

.news-strip-break .news-strip-card img {
  height: 106px;
}

.news-strip-break .news-strip-card-body {
  padding: 10px 12px 8px;
}

.news-strip-break .news-strip-card-body h3 {
  margin-block: 4px 6px;
  font-size: 16px;
  line-height: 1.08;
}

.news-strip-break .news-strip-card-body p {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.34;
}

.property-news-rail {
  gap: 16px;
}

.property-news-rail-top .rail-ad {
  min-height: 160px;
  padding: 16px;
}

.property-news-rail .rail-feature-section {
  padding: 9px 9px 3px;
}

.property-news-rail .rail-card-featured {
  gap: 7px;
  padding-block: 8px 10px;
}

.property-news-rail-top .rail-card-featured img {
  aspect-ratio: 16 / 8.6;
}

.property-news-rail-lower .rail-card-featured img {
  aspect-ratio: 16 / 9;
}

.property-news-rail .rail-card-featured strong {
  font-size: 20px;
}

@media (max-width: 1100px) {
  .news-strip-break .news-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .property-news-segment-grid {
    grid-template-columns: 1fr;
  }

  .property-news-segment-grid-top {
    grid-template-areas:
      "main"
      "rail-top"
      "strip-one";
  }

  .property-news-segment-grid-lower {
    grid-template-areas:
      "continuation"
      "rail-lower"
      "strip-two";
  }

  .property-news-segment-top {
    padding-block: 28px 18px;
  }

  .property-news-segment-lower {
    padding-block: 20px 26px;
  }
}

@media (max-width: 760px) {
  .news-strip-break .news-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .news-strip-break .news-strip-grid {
    grid-template-columns: 1fr;
  }

  .news-strip-break .news-strip-card {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(215, 181, 98, 0.28);
  }

  .news-strip-break .news-strip-card:last-child {
    border-bottom: 0;
  }

  .news-strip-break .news-strip-card a {
    grid-template-columns: 124px minmax(0, 1fr);
    grid-template-rows: minmax(126px, auto);
  }

  .news-strip-break .news-strip-card img {
    height: 100%;
    min-height: 126px;
  }
}

.rail-ad {
  padding: 0;
}

.property-news-rail-top .rail-ad {
  padding: 0;
}

.rail-ad > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 100%;
  padding: 16px;
  color: inherit;
  text-align: center;
}

.rail-ad > a strong {
  max-width: 18ch;
  font-size: 22px;
}

.rail-ad > a p,
.rail-card-featured p {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0;
  overflow: hidden;
  color: var(--stone);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.rail-ad > a:hover strong,
.rail-ad > a:focus-visible strong,
.rail-card-featured:hover strong,
.rail-card-featured:focus-visible strong {
  color: var(--gold);
}

.property-news-rail .rail-feature-section {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.property-news-rail .stack-list,
.property-news-rail .rail-card-featured {
  min-height: 0;
  height: 100%;
}

.property-news-rail-lower .stack-list,
.property-news-rail-lower .rail-card-featured {
  height: auto;
}

.property-news-rail-lower .rail-card-featured {
  align-content: start;
  grid-template-rows: auto auto auto auto;
}

.property-news-rail-lower .rail-card-featured p {
  min-height: 0;
}

.editors-pick-list .rail-card-featured.is-compact {
  grid-template-columns: minmax(88px, 36%) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 9px;
  padding-block: 10px;
}

.editors-pick-list .rail-card-featured.is-compact img {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 100%;
  height: 100%;
  min-height: 108px;
  aspect-ratio: auto;
}

.editors-pick-list .rail-card-featured.is-compact strong,
.editors-pick-list .rail-card-featured.is-compact p,
.editors-pick-list .rail-card-featured.is-compact small {
  grid-column: 2;
}

.editors-pick-list .rail-card-featured.is-compact strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 17px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.editors-pick-list .rail-card-featured.is-compact p {
  font-size: 11px;
}

.editors-pick-list .rail-card-featured.is-compact small {
  font-size: 11px;
}

@media (min-width: 921px) {
  .property-news-segment-grid-top {
    align-items: stretch;
  }

  .property-news-main .story-grid {
    height: 100%;
    gap: 14px;
    grid-template-rows: minmax(380px, 1fr);
    grid-auto-rows: 136px;
  }

  .property-news-main .story-card-featured a,
  .property-news-main .story-card-featured img {
    height: 100%;
    min-height: 380px;
  }

  .property-news-main .story-card-featured h3 {
    font-size: clamp(28px, 3.4vw, 42px);
  }

  .property-news-main .story-card-row a,
  .property-news-main .story-card-row img {
    height: 100%;
    min-height: 136px;
  }

  .property-news-main .story-card-row .story-card-body {
    gap: 5px;
    padding: 10px 14px;
  }

  .property-news-main .story-card-row h3 {
    font-size: clamp(19px, 2vw, 25px);
  }

  .property-news-main .story-card-row p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .property-news-segment-grid-lower {
    align-items: stretch;
  }

  .property-news-rail-top {
    align-self: stretch;
    align-content: stretch;
    grid-template-rows: minmax(0, 1fr);
  }

  .property-news-rail-top .editors-pick-list {
    height: 100%;
    align-content: space-between;
  }

  .property-news-rail-lower {
    align-self: stretch;
    align-content: stretch;
  }

  .property-news-rail-lower .rail-feature-section {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    height: 100%;
  }

  .property-news-rail-lower .editors-pick-list {
    height: 100%;
    align-content: space-between;
  }

}

/* Compact subscription band. */
.subscribe-band {
  padding-block: 20px;
}

.subscribe-inner {
  min-height: 0;
  gap: 9px;
}

.subscribe-inner .form-status {
  min-height: 0;
}

.subscribe-inner .form-status:empty {
  display: none;
}

.subscribe-inner .newsletter-form input,
.subscribe-inner .newsletter-form button {
  min-height: 40px;
}

/* Gold ring field for the project carousel, fading into emerald. */
.market-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 38, 27, 0.96), rgba(16, 47, 34, 0.82) 34%, rgba(16, 47, 34, 0.82) 66%, rgba(6, 38, 27, 0.96)),
    #102f22;
}

.market-band::before,
.market-band::after {
  content: "";
  position: absolute;
  top: -44px;
  bottom: -44px;
  z-index: 0;
  width: min(35vw, 500px);
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, transparent 0 13px, rgba(242, 214, 138, 0.9) 14px 17px, transparent 18px),
    radial-gradient(circle, rgba(242, 214, 138, 0.95) 0 4px, transparent 5px);
  background-size: 38px 38px, 114px 114px;
  background-position: 0 0, 19px 19px;
}

.market-band::before {
  inset-inline-start: -54px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 44%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 44%, transparent 100%);
}

.market-band::after {
  inset-inline-end: -54px;
  -webkit-mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.7) 44%, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.7) 44%, transparent 100%);
}

.market-band > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 640px) {
  .subscribe-band {
    padding-block: 16px;
  }

  .subscribe-inner {
    min-height: 0;
    gap: 10px;
  }

  .market-band::before,
  .market-band::after {
    width: 58vw;
    opacity: 0.2;
  }
}

/* Final live-column sizing overrides. */
.intelligence-live-column .desk-header h3 {
  font-size: 25px;
}

.intelligence-live-column .desk-header span {
  font-size: 11px;
}

.intelligence-live-column .desk-header small {
  font-size: 10px;
}

.intelligence-live-column .weather-tab {
  min-height: 40px;
  font-size: 10px;
}

.intelligence-live-column .weather-primary small {
  font-size: 12px;
}

.intelligence-live-column .weather-primary strong {
  font-size: 52px;
}

.intelligence-live-column .weather-primary p {
  font-size: 13px;
}

.intelligence-live-column .weather-metrics dt {
  font-size: 10px;
}

.intelligence-live-column .weather-metrics dd {
  font-size: 15px;
}

.intelligence-live-column .forecast-day {
  flex-basis: 126px;
  width: 126px;
  min-width: 126px;
  min-height: 48px;
  gap: 6px;
}

.intelligence-live-column .forecast-day span,
.intelligence-live-column .forecast-day strong,
.intelligence-live-column .forecast-day small {
  font-size: 11px;
}

.intelligence-live-column .forecast-day i {
  font-size: 19px;
}

.intelligence-live-column .crypto-row {
  grid-template-columns: minmax(94px, 1fr) 74px 120px 61px;
  min-height: 58px;
}

.intelligence-live-column .crypto-coin {
  width: 31px;
  min-width: 31px;
  height: 31px;
}

.intelligence-live-column .crypto-coin img {
  width: 27px;
  min-width: 27px;
  height: 27px;
}

.intelligence-live-column .crypto-identity strong,
.intelligence-live-column .crypto-price strong {
  font-size: 12px;
}

.intelligence-live-column .crypto-chart {
  width: 120px;
  height: 46px;
}

.intelligence-live-column .crypto-change {
  font-size: 10px;
}

.intelligence-live-column .asset-quote {
  min-height: 82px;
  padding: 9px;
}

.intelligence-live-column .asset-quote:nth-child(n + 8) {
  grid-column: span 4;
}

.intelligence-live-column .asset-quote-name strong {
  font-size: 10px;
}

.intelligence-live-column .asset-quote-value strong {
  font-size: 13px;
}

.intelligence-live-column .asset-quote-change {
  font-size: 9px;
}

@media (max-width: 640px) {
  .intelligence-live-column .crypto-row {
    grid-template-columns: minmax(88px, 1fr) 66px 94px 52px;
  }

  .intelligence-live-column .crypto-chart {
    width: 94px;
  }

  .intelligence-live-column .asset-quote,
  .intelligence-live-column .asset-quote:nth-child(n + 4),
  .intelligence-live-column .asset-quote:nth-child(n + 8),
  .intelligence-live-column .asset-quote:last-child {
    grid-column: auto;
  }
}

@media (min-width: 1051px) {
  .intelligence-layout {
    align-items: stretch;
  }

  .intelligence-live-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    height: 100%;
  }

  .intelligence-live-column .crypto-desk,
  .intelligence-live-column .asset-market-strip {
    margin-top: 0;
  }
}

/* Keep the nested mobile menu vertical after earlier navigation breakpoints. */
@media (max-width: 760px) {
  .site-nav-menu .nav-scroll {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-nav-menu .country-trigger {
    min-height: 38px;
  }
}

/* Compact masthead: language controls sit directly above the search field. */
.site-header .utility-bar[hidden] {
  display: none !important;
}

.site-header .masthead {
  gap: 24px;
  padding-block: 17px;
}

.masthead-tools {
  display: grid;
  flex: 0 1 350px;
  width: min(350px, 32vw);
  justify-items: end;
  align-content: center;
  gap: 8px;
}

.masthead-language {
  justify-content: flex-end;
}

.masthead-tools .search-form {
  width: 100%;
  margin-top: 3px;
}

/* Four clearly identified editorial desks on the home page. */
.home-desk-label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-bottom: 16px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-desk-label::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 181, 98, 0.82), rgba(215, 181, 98, 0.08));
}

.lead-layout .home-desk-label-latest {
  grid-column: 1 / -1;
  margin-bottom: -8px;
}

.intelligence-band .home-desk-label {
  margin-bottom: 18px;
}

.property-news-segment-grid-top {
  grid-template-areas:
    "desk desk"
    "main rail-top"
    "strip-one strip-one";
}

.property-news-segment-grid-lower {
  grid-template-areas:
    "desk desk"
    "continuation rail-lower"
    "strip-two strip-two";
}

.property-news-desk-label {
  grid-area: desk;
  margin-bottom: 0;
}

.desk-empty-state {
  min-height: 150px;
  display: grid;
  place-items: center;
  padding: 24px;
  border-block: 1px solid rgba(215, 181, 98, 0.28);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 920px) {
  .masthead-tools {
    flex-basis: auto;
    width: 100%;
  }

  .property-news-segment-grid-top {
    grid-template-areas:
      "desk"
      "main"
      "rail-top"
      "strip-one";
  }

  .property-news-segment-grid-lower {
    grid-template-areas:
      "desk"
      "continuation"
      "rail-lower"
      "strip-two";
  }
}

@media (max-width: 760px) {
  .site-header .masthead {
    gap: 7px;
    padding-block: 10px;
  }

  .masthead-tools {
    justify-items: end;
    margin-top: -4px;
  }

  .masthead-language {
    width: auto;
  }

  .home-desk-label {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .lead-layout .home-desk-label-latest {
    margin-bottom: -4px;
  }
}

/* Long lead headlines scale into the fixed front-page cover without clipping. */
.lead-card h1 {
  max-width: 18ch;
  font-size: clamp(36px, 4.35vw, 56px);
  line-height: 1;
}

.lead-card.is-title-long h1 {
  max-width: 24ch;
  font-size: clamp(31px, 3.15vw, 42px);
  line-height: 1.04;
}

.lead-card.is-title-extra-long h1 {
  max-width: 28ch;
  font-size: clamp(27px, 2.65vw, 36px);
  line-height: 1.08;
}

.lead-card.is-title-long .lead-card-content,
.lead-card.is-title-extra-long .lead-card-content {
  top: 58px;
  padding-block: 24px 20px;
}

.lead-card.is-title-long p,
.lead-card.is-title-extra-long p {
  max-width: 72ch;
  margin-block: 12px 10px;
  font-size: 15px;
  line-height: 1.45;
}

/* Country/topic pages use a CNN-inspired 1:2:1 editorial news rhythm. */
.country-submenu a.is-active,
.country-submenu a[aria-current="page"] {
  background: rgba(215, 181, 98, 0.13);
  color: var(--gold);
}

.section-news-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(215, 181, 98, 0.05), transparent 260px),
    var(--paper);
}

.section-news-feed {
  padding-block: 28px 48px;
}

.section-news-feed > .container {
  width: min(1360px, calc(100% - 48px));
}

.section-topic-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-topic-heading::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 181, 98, 0.84), rgba(215, 181, 98, 0.06) 82%, transparent);
}

.section-news-page.is-rtl .section-topic-heading::after {
  background: linear-gradient(270deg, rgba(215, 181, 98, 0.84), rgba(215, 181, 98, 0.06) 82%, transparent);
}

.section-news-cycle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
  grid-template-areas: "left center right";
  gap: clamp(22px, 2.25vw, 34px);
  margin-bottom: 30px;
  padding-block: 22px 32px;
  border-block: 1px solid rgba(215, 181, 98, 0.28);
}

.section-news-cycle.is-tinted {
  background: linear-gradient(90deg, transparent, rgba(22, 72, 50, 0.12) 50%, transparent);
}

.section-cycle-left {
  grid-area: left;
}

.section-cycle-center {
  grid-area: center;
  min-width: 0;
  padding-inline: clamp(18px, 2vw, 28px);
  border-inline: 1px solid rgba(215, 181, 98, 0.22);
}

.section-cycle-right {
  grid-area: right;
}

.section-cycle-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
}

.section-cycle-card {
  min-width: 0;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.26);
  background: transparent;
}

.section-cycle-card:last-child {
  border-bottom: 0;
}

.section-cycle-card a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

.section-cycle-card img {
  display: block;
  order: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section-cycle-card-heading {
  order: 2;
  min-width: 0;
  padding-top: 10px;
}

.section-cycle-card h2 {
  margin: 6px 0 7px;
  color: var(--ivory);
  font-size: 18px;
  line-height: 1.13;
  overflow-wrap: break-word;
  text-wrap: balance;
  transition: color 160ms ease;
}

.section-cycle-card a:hover h2,
.section-cycle-card a:focus-visible h2 {
  color: var(--gold);
}

.section-cycle-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.section-cycle-summary {
  display: -webkit-box;
  order: 3;
  overflow: hidden;
  margin: 8px 0 0;
  color: var(--stone);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.section-cycle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
}

.section-cycle-meta i {
  font-style: normal;
}

.section-cycle-card.is-lead {
  padding-bottom: 20px;
}

.section-cycle-card.is-lead .section-cycle-card-heading {
  order: 1;
  padding: 0 0 15px;
}

.section-cycle-card.is-lead img {
  order: 2;
  aspect-ratio: 3 / 2;
}

.section-cycle-card.is-lead h2 {
  max-width: 100%;
  margin-block: 8px 9px;
  font-size: clamp(29px, 2.75vw, 40px);
  line-height: 1.06;
}

.section-cycle-card.is-lead small {
  font-size: 12px;
}

.section-cycle-card.is-lead .section-cycle-summary {
  max-width: 68ch;
  margin-top: 13px;
  font-size: 15px;
  line-height: 1.5;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.section-cycle-card.is-side .section-cycle-summary {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.section-cycle-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(215, 181, 98, 0.28);
}

.section-cycle-card.is-mini {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.24);
}

.section-cycle-card.is-mini a {
  display: grid;
  grid-template-columns: minmax(104px, 0.8fr) minmax(0, 1.2fr);
  grid-template-areas:
    "image heading"
    "image summary";
  gap: 0 12px;
  align-items: stretch;
}

.section-cycle-card.is-mini img {
  grid-area: image;
  height: 100%;
  min-height: 126px;
  aspect-ratio: auto;
}

.section-cycle-card.is-mini .section-cycle-card-heading {
  grid-area: heading;
  padding-top: 0;
}

.section-cycle-card.is-mini h2 {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.16;
}

.section-cycle-card.is-mini .section-cycle-summary {
  grid-area: summary;
  align-self: start;
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.section-news-cycle.has-1 {
  grid-template-columns: minmax(0, 680px);
  grid-template-areas: "center";
  justify-content: center;
}

.section-news-cycle.has-1 .section-cycle-left,
.section-news-cycle.has-1 .section-cycle-right {
  display: none;
}

.section-news-cycle.has-1 .section-cycle-center {
  padding-inline: 0;
  border-inline: 0;
}

.section-news-cycle.has-2,
.section-news-cycle.has-3,
.section-news-cycle.has-4 {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  grid-template-areas: "left center";
}

.section-news-cycle.has-2 .section-cycle-right,
.section-news-cycle.has-3 .section-cycle-right,
.section-news-cycle.has-4 .section-cycle-right {
  display: none;
}

.section-news-cycle.has-2 .section-cycle-center,
.section-news-cycle.has-3 .section-cycle-center,
.section-news-cycle.has-4 .section-cycle-center {
  padding-inline-end: 0;
  border-inline-end: 0;
}

.section-news-empty {
  min-height: 280px;
  display: grid;
  place-items: center;
  border-block: 1px solid rgba(215, 181, 98, 0.34);
  color: var(--muted);
  text-align: center;
}

.section-news-page.is-rtl .section-cycle-card h2 {
  font-family: "Noto Naskh Arabic", Georgia, serif;
  line-height: 1.2;
}

@media (max-width: 980px) {
  .section-news-cycle,
  .section-news-cycle.has-2,
  .section-news-cycle.has-3,
  .section-news-cycle.has-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "center center"
      "left right";
  }

  .section-news-cycle.has-1 {
    grid-template-columns: 1fr;
    grid-template-areas: "center";
  }

  .section-news-cycle.has-2 .section-cycle-right,
  .section-news-cycle.has-3 .section-cycle-right,
  .section-news-cycle.has-4 .section-cycle-right {
    display: flex;
  }

  .section-news-cycle.has-2 .section-cycle-right:empty,
  .section-news-cycle.has-3 .section-cycle-right:empty,
  .section-news-cycle.has-4 .section-cycle-right:empty {
    display: none;
  }

  .section-cycle-center,
  .section-news-cycle.has-2 .section-cycle-center,
  .section-news-cycle.has-3 .section-cycle-center,
  .section-news-cycle.has-4 .section-cycle-center {
    padding: 0 0 24px;
    border-inline: 0;
    border-bottom: 1px solid rgba(215, 181, 98, 0.26);
  }
}

@media (max-width: 640px) {
  .section-news-feed {
    padding-block: 18px 28px;
  }

  .section-news-feed > .container {
    width: min(100% - 28px, 1360px);
  }

  .section-topic-heading {
    margin-bottom: 10px;
    font-size: 11px;
  }

  .section-news-cycle,
  .section-news-cycle.has-2,
  .section-news-cycle.has-3,
  .section-news-cycle.has-4 {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
    gap: 18px;
    margin-bottom: 22px;
    padding-block: 16px 22px;
  }

  .section-cycle-center {
    padding-bottom: 18px;
  }

  .section-cycle-card.is-lead h2 {
    max-width: 100%;
    font-size: clamp(28px, 9vw, 36px);
    line-height: 1.06;
  }

  .section-cycle-card.is-lead .section-cycle-summary {
    font-size: 14px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .section-cycle-center-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
  }

  .section-cycle-card.is-mini a {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .section-cycle-card.is-mini img {
    min-height: 102px;
  }

  .section-cycle-column {
    gap: 13px;
  }

  .section-cycle-card.is-side {
    padding-bottom: 13px;
  }

  .section-cycle-card.is-side a {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-areas:
      "image heading";
    gap: 12px;
    align-items: start;
  }

  .section-cycle-card.is-side img {
    grid-area: image;
  }

  .section-cycle-card.is-side .section-cycle-card-heading {
    grid-area: heading;
    padding-top: 0;
  }

  .section-cycle-card.is-side h2 {
    margin-top: 4px;
    font-size: 17px;
  }

  .section-cycle-card.is-side .section-cycle-summary {
    display: none;
  }

  .lead-card.is-title-long h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.05;
  }

  .lead-card.is-title-extra-long h1 {
    max-width: 100%;
    font-size: 27px;
    line-height: 1.08;
  }

  .lead-card.is-title-long .lead-card-content,
  .lead-card.is-title-extra-long .lead-card-content {
    top: 60px;
    padding: 18px;
  }

  .lead-card.is-title-long p,
  .lead-card.is-title-extra-long p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .section-cycle-card.is-mini a {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 0 10px;
  }

  .section-cycle-card.is-mini img {
    min-height: 96px;
  }
}

/* Mobile live data and masthead refinements. */
@media (max-width: 760px) {
  .site-header .masthead {
    position: relative;
    align-items: flex-start;
  }

  .site-header .brand {
    width: 100%;
    align-items: flex-start;
  }

  .site-header .brand-mark {
    margin-top: 34px;
  }

  .site-header .brand > span:last-child {
    min-width: 0;
    padding-top: 34px;
  }

  .site-header .brand small {
    width: 230px;
    max-width: 100%;
  }

  .masthead-tools {
    position: absolute;
    z-index: 4;
    top: 4px;
    right: 0;
    width: auto;
    margin: 0;
    display: block;
  }

  .masthead-language {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
}

@media (max-width: 640px) {
  .intelligence-live-column .crypto-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "identity price change"
      "chart chart chart";
    gap: 4px 10px;
    min-height: 0;
    padding-block: 10px;
  }

  .intelligence-live-column .crypto-identity {
    grid-area: identity;
  }

  .intelligence-live-column .crypto-price {
    grid-area: price;
  }

  .intelligence-live-column .crypto-chart,
  .intelligence-live-column .crypto-chart-empty {
    grid-area: chart;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 48px;
  }

  .intelligence-live-column .crypto-change {
    grid-area: change;
    align-self: center;
    justify-self: end;
  }

  /* Keep the mobile skyline below the moving forecast strip. */
  .intelligence-live-column .weather-desk {
    padding-bottom: 150px;
  }

  .intelligence-live-column .forecast-strip {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
  }
}

/* Keep every clickable article title consistent across all editorial layouts. */
:is(a[data-open], .section-cycle-card > a) :is(h1, h2, h3, strong) {
  transition: color 160ms ease;
}

:is(a[data-open], .section-cycle-card > a):hover :is(h1, h2, h3, strong),
:is(a[data-open], .section-cycle-card > a):focus-visible :is(h1, h2, h3, strong) {
  color: var(--gold);
}

:is(a[data-open], .section-cycle-card > a):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Premium editorial system — preserves every existing news and data widget. */
:root {
  --premium-surface: rgba(12, 38, 27, 0.9);
  --premium-surface-raised: rgba(17, 50, 36, 0.94);
  --premium-line: rgba(215, 181, 98, 0.34);
  --premium-line-strong: rgba(215, 181, 98, 0.7);
  --premium-glow: 0 22px 56px rgba(0, 0, 0, 0.3);
  --premium-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  --premium-ease: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body {
  background:
    radial-gradient(circle at 8% 2%, rgba(215, 181, 98, 0.1), transparent 30rem),
    radial-gradient(circle at 92% 24%, rgba(25, 96, 67, 0.16), transparent 34rem),
    linear-gradient(180deg, #04140e 0%, #082219 45%, #04150f 100%);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1220px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom-color: rgba(215, 181, 98, 0.2);
  background: rgba(3, 18, 12, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(18px) saturate(125%);
}

.site-header .masthead {
  max-height: 170px;
  overflow: hidden;
  transition:
    max-height 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
    padding 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 180ms ease;
}

body.is-scrolled .site-header .masthead {
  max-height: 0;
  padding-block: 0;
  opacity: 0;
  pointer-events: none;
}

body.is-scrolled .site-header {
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38);
}

.nav-bar {
  position: relative;
  top: auto;
  border-top-color: rgba(215, 181, 98, 0.18);
  background: rgba(3, 18, 12, 0.82);
  backdrop-filter: none;
}

.brand-title {
  letter-spacing: -0.025em;
}

.brand small {
  letter-spacing: 0.025em;
}

.masthead-tools {
  flex: 0 0 auto;
  width: auto;
  gap: 0;
}

.site-nav-menu .nav-scroll {
  width: auto;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-search-form {
  flex: 0 1 320px;
  width: min(320px, 26vw);
  margin-inline-start: auto;
  border-radius: 6px;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
}

.nav-search-form input {
  padding: 7px 10px;
  font-size: 12px;
}

.masthead-tools .search-form,
.nav-search-form {
  border-color: rgba(215, 181, 98, 0.52);
  background: rgba(4, 29, 20, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(255, 248, 232, 0.025),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

.masthead-tools .search-form:focus-within,
.nav-search-form:focus-within {
  border-color: var(--gold);
  background: rgba(7, 38, 27, 0.98);
}

.masthead-tools .search-form input,
.nav-search-form input {
  color: var(--ivory);
  caret-color: var(--gold);
}

.masthead-tools .search-form input::placeholder,
.nav-search-form input::placeholder {
  color: rgba(255, 248, 232, 0.54);
}

.masthead-tools .search-form button,
.nav-search-form button {
  min-height: 34px;
  padding-inline: 10px;
  border-color: var(--gold);
  background: var(--gold);
  color: #061a12;
  font-size: 16px;
  font-weight: 400;
}

.nav-language-menu {
  position: relative;
  flex: 0 0 auto;
  margin-inline-end: 2px;
  padding-inline-end: 12px;
  border-inline-end: 1px solid rgba(215, 181, 98, 0.34);
}

.nav-language-trigger {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(215, 181, 98, 0.06);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-language-trigger:hover,
.nav-language-trigger:focus-visible,
.nav-language-menu.is-open .nav-language-trigger {
  border-color: var(--gold);
  background: var(--gold);
  color: #061a12;
  outline: 0;
}

.nav-language-trigger > i {
  width: 6px;
  height: 6px;
  margin-inline-start: 1px;
  border-inline-end: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.nav-language-menu.is-open .nav-language-trigger > i {
  transform: translateY(2px) rotate(225deg);
}

.nav-language-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  display: none;
  min-width: 148px;
  padding: 5px;
  border: 1px solid rgba(215, 181, 98, 0.62);
  background: rgba(3, 22, 15, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.nav-language-menu.is-open .nav-language-options {
  display: grid;
}

.nav-language-option {
  min-height: 36px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 13px;
  text-align: start;
  cursor: pointer;
}

.nav-language-option:hover,
.nav-language-option:focus-visible {
  background: rgba(215, 181, 98, 0.12);
  color: var(--gold);
  outline: 0;
}

.nav-language-option.is-active {
  background: var(--gold);
  color: #061a12;
}

@media (min-width: 761px) and (max-width: 900px) {
  .site-nav-menu {
    gap: 8px;
  }

  .site-nav-menu .nav-scroll {
    gap: 4px;
  }

  .nav-search-form {
    width: 120px;
    flex-basis: 120px;
  }

  .nav-language-menu {
    padding-inline-end: 7px;
  }

}

@media (max-width: 760px) {
  .nav-search-form {
    width: 100%;
    flex: none;
    margin: 6px 0 0;
  }

  .nav-search-form input {
    min-height: 40px;
    font-size: 16px;
  }

  .nav-search-form button {
    min-height: 40px;
  }

  .nav-language-menu {
    width: 100%;
    margin: 2px 0 0;
    padding: 8px 0 0;
    border-inline-start: 0;
    border-inline-end: 0;
    border-top: 1px solid rgba(215, 181, 98, 0.24);
  }

  .nav-language-trigger {
    width: 100%;
    min-height: 40px;
    justify-content: flex-start;
    padding-inline: 10px;
    background: rgba(215, 181, 98, 0.06);
  }

  .nav-language-trigger > i {
    margin-inline-start: auto;
    margin-inline-end: 3px;
  }

  .nav-language-options {
    position: static;
    width: 100%;
    margin-top: 5px;
    box-shadow: none;
  }
}

.search-form button,
.newsletter-form button {
  transition: filter var(--premium-ease), transform var(--premium-ease);
}

.search-form button:hover,
.search-form button:focus-visible,
.newsletter-form button:hover,
.newsletter-form button:focus-visible {
  filter: brightness(1.07);
  outline: 2px solid var(--ivory);
  outline-offset: -4px;
}

.home-desk-label,
.section-topic-heading {
  margin-bottom: 20px;
  letter-spacing: 0.12em;
}

.home-desk-label {
  margin-bottom: 10px;
}

.lead-layout .home-desk-label-latest {
  margin-bottom: -14px;
}

.intelligence-band .home-desk-label {
  margin-bottom: 10px;
}

.property-news-desk-label {
  margin-bottom: -10px;
}

.home-desk-label::after,
.section-topic-heading::after {
  height: 2px;
  opacity: 0.82;
}

.lead-layout {
  gap: 24px 30px;
  padding-block: 32px 48px;
}

.lead-card,
.latest-panel,
.story-card,
.mini-card,
.rail-section,
.intelligence-news-row,
.intelligence-news-tile,
.news-strip-card,
.project-card {
  border-color: var(--premium-line);
  background: var(--premium-surface);
  box-shadow: var(--premium-shadow);
}

.lead-card {
  border-top: 3px solid var(--gold);
  box-shadow: var(--premium-glow);
}

.lead-media::before {
  background:
    linear-gradient(180deg, rgba(1, 10, 7, 0.8) 0%, rgba(1, 10, 7, 0.12) 38%, rgba(1, 10, 7, 0.93) 100%),
    linear-gradient(90deg, rgba(1, 10, 7, 0.64), transparent 68%);
}

.lead-card-content h1 {
  letter-spacing: -0.025em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.68);
}

.latest-panel {
  border-top: 3px solid var(--gold);
  background:
    linear-gradient(145deg, rgba(215, 181, 98, 0.07), transparent 36%),
    var(--premium-surface);
}

.latest-item {
  position: relative;
  padding-inline: 8px;
  transition: background var(--premium-ease), transform var(--premium-ease);
}

.latest-item:hover,
.latest-item:focus-visible {
  background: rgba(215, 181, 98, 0.07);
  transform: translateX(3px);
}

.intelligence-band,
.property-news-segment,
.section-band,
.market-band {
  position: relative;
}

.intelligence-band {
  padding-block: 34px 52px;
  background:
    linear-gradient(180deg, rgba(18, 60, 42, 0.34), rgba(4, 20, 14, 0.28)),
    rgba(4, 20, 14, 0.66);
}

.intelligence-layout {
  gap: 28px;
}

.intelligence-editorial-list {
  gap: 14px;
}

.intelligence-news-row,
.intelligence-news-tile {
  overflow: hidden;
  transition:
    border-color var(--premium-ease),
    box-shadow var(--premium-ease),
    transform var(--premium-ease);
}

.intelligence-news-row:hover,
.intelligence-news-row:focus-within,
.intelligence-news-tile:hover,
.intelligence-news-tile:focus-within {
  border-color: var(--premium-line-strong);
  box-shadow: var(--premium-glow);
  transform: translateY(-2px);
}

:is(.weather-desk, .crypto-desk, .asset-market-strip) {
  border-color: rgba(215, 181, 98, 0.44);
  box-shadow: var(--premium-glow);
}

.property-pulse-band {
  padding-block: 32px 28px;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 181, 98, 0.08), transparent 30rem),
    rgba(3, 18, 12, 0.86);
}

.property-pulse-grid {
  border-top-width: 3px;
  background: rgba(14, 45, 32, 0.72);
  box-shadow: var(--premium-shadow);
}

.pulse-metric {
  transition: background var(--premium-ease);
}

.pulse-metric:hover {
  background: rgba(215, 181, 98, 0.06);
}

.market-band,
.section-band {
  padding-block: 50px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2 {
  letter-spacing: -0.025em;
}

.project-card {
  overflow: hidden;
  border-top: 2px solid rgba(215, 181, 98, 0.74);
}

.property-news-segment-top,
.property-news-segment-lower {
  padding-block: 36px 38px;
}

.property-news-segment-grid {
  gap: 24px 28px;
}

.story-card-featured,
.story-card-row,
.rail-feature-section,
.news-strip-break {
  box-shadow: var(--premium-shadow);
}

.story-card-featured a {
  border-top: 3px solid var(--gold);
}

.story-card-featured .story-card-overlay {
  padding-bottom: clamp(24px, 3.4vw, 38px);
  background: linear-gradient(180deg, transparent, rgba(1, 10, 7, 0.84) 24%, rgba(1, 10, 7, 0.98));
}

.story-card-featured h3 {
  letter-spacing: -0.025em;
}

.story-card-row {
  overflow: hidden;
  background: var(--premium-surface-raised);
  transition:
    border-color var(--premium-ease),
    box-shadow var(--premium-ease),
    transform var(--premium-ease);
}

.story-card-row:hover,
.story-card-row:focus-within {
  border-color: var(--premium-line-strong);
  box-shadow: var(--premium-glow);
  transform: translateY(-2px);
}

.rail-feature-section {
  border-top-width: 3px;
  background:
    linear-gradient(160deg, rgba(215, 181, 98, 0.06), transparent 42%),
    rgba(5, 24, 17, 0.9);
}

.rail-feature-section > h2 {
  letter-spacing: 0.02em;
}

.rail-card-featured,
.news-strip-card a,
.mini-card a,
.reader-rail-card {
  transition: background var(--premium-ease), transform var(--premium-ease);
}

.rail-card-featured:hover,
.rail-card-featured:focus-visible {
  background: rgba(215, 181, 98, 0.055);
  transform: translateY(-2px);
}

.news-strip-break {
  padding-block: 16px 18px;
  border-color: rgba(215, 181, 98, 0.42);
}

.news-strip-card a:hover,
.news-strip-card a:focus-visible,
.mini-card a:hover,
.mini-card a:focus-visible {
  background: rgba(215, 181, 98, 0.055);
}

.subscribe-band {
  position: relative;
  overflow: hidden;
  padding-block: 52px;
  background:
    radial-gradient(circle at 50% 120%, rgba(215, 181, 98, 0.18), transparent 32rem),
    linear-gradient(135deg, #08291d, #03130d);
}

.subscribe-band::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(215, 181, 98, 0.24);
  pointer-events: none;
}

.subscribe-inner {
  position: relative;
  z-index: 1;
}

.subscribe-inner h2 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  text-wrap: balance;
}

.newsletter-form {
  margin-top: 24px;
  box-shadow: var(--premium-glow);
}

.site-footer {
  background: #020d09;
}

.footer-grid {
  gap: 12px;
  padding-block: 6px 12px;
}

/* Unified editorial image treatment and restrained motion. */
:is(a[data-open], .section-cycle-card > a, .project-card) {
  overflow: hidden;
}

:is(a[data-open], .section-cycle-card > a, .project-card) img {
  transform: scale(1.001);
  filter: saturate(0.92) contrast(1.035);
  transition: transform 620ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 320ms ease, opacity 240ms ease;
}

:is(a[data-open], .section-cycle-card > a, .project-card):hover img,
:is(a[data-open], .section-cycle-card > a, .project-card):focus-within img {
  transform: scale(1.035);
  filter: saturate(1.02) contrast(1.055);
}

.premium-ui img.premium-media {
  opacity: 0.28;
}

.premium-ui img.premium-media.is-loaded {
  opacity: 1;
}

/* Premium article reader. */
.reading-progress {
  position: fixed;
  z-index: 120;
  inset: 0 0 auto;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

body.is-reading .reading-progress {
  opacity: 1;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #98752f, #f0d58a);
  box-shadow: 0 0 12px rgba(215, 181, 98, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 90ms linear;
}

.is-rtl .reading-progress span {
  transform-origin: right center;
}

.article-page {
  padding-block: 42px 64px;
  background:
    radial-gradient(circle at 82% 8%, rgba(215, 181, 98, 0.08), transparent 32rem),
    #061b13;
}

.article-page .article-reader-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 48px;
}

.article-reader-header {
  padding: 22px 0 24px;
  border-top: 3px solid var(--gold);
}

.article-reader-header h1 {
  max-width: 100%;
  margin-top: 14px;
  font-size: clamp(42px, 5.1vw, 68px);
  letter-spacing: -0.035em;
}

.article-reader-header .article-meta-line {
  padding-top: 4px;
  letter-spacing: 0.02em;
}

.article-reading-content {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.article-reading-column {
  min-width: 0;
}

.article-reading-content .article-share {
  position: sticky;
  top: 92px;
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 24px 0 0;
}

.article-reading-content .article-share > strong {
  max-width: 40px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
}

.article-reading-content .article-share > div {
  display: grid;
  gap: 7px;
}

.article-reading-content .share-button {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
}

.article-reader-lead {
  max-width: 66ch;
  margin: 26px 0;
  padding-inline-start: 18px;
  border-inline-start: 2px solid rgba(215, 181, 98, 0.76);
  color: #fff9e8;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 600;
  line-height: 1.6;
}

.article-reader-cover {
  position: relative;
  margin-bottom: 32px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(215, 181, 98, 0.42);
}

.article-reader-cover img {
  box-shadow: var(--premium-glow);
}

.article-reader-main .article-body {
  max-width: 68ch;
  color: rgba(255, 249, 232, 0.88);
  font-size: 18px;
  line-height: 1.84;
}

.article-reader-main .article-body p {
  margin-bottom: 25px;
}

.article-reader-main .article-body .article-subheading {
  margin-top: 42px;
  padding-top: 10px;
  border-top: 1px solid rgba(215, 181, 98, 0.24);
  font-size: clamp(25px, 2.4vw, 32px);
}

.article-reader-rail {
  top: 86px;
}

.reader-rail-section {
  padding: 14px;
  border: 1px solid rgba(215, 181, 98, 0.28);
  background: rgba(4, 23, 16, 0.68);
  box-shadow: var(--premium-shadow);
}

.reader-rail-section h2 {
  border-top-width: 3px;
}

.reader-rail-card {
  overflow: hidden;
}

.article-more-recommendations {
  margin-top: 54px;
  padding-top: 26px;
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .article-page .article-reader-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .article-reader-rail {
    position: static;
  }

  .reader-rail-section {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .site-header .masthead {
    max-height: 138px;
  }

  body.is-scrolled .site-header .masthead {
    max-height: 0;
  }

  .lead-layout,
  .intelligence-band,
  .market-band,
  .section-band,
  .property-news-segment-top,
  .property-news-segment-lower {
    padding-block: 22px 30px;
  }

  .property-news-segment-grid {
    gap: 18px;
  }

  .subscribe-band {
    padding-block: 40px;
  }

  .article-page {
    padding-block: 24px 40px;
  }

  .article-reader-header {
    padding-top: 14px;
  }

  .article-reader-header h1 {
    max-width: none;
    font-size: clamp(34px, 10vw, 46px);
  }

  .article-reading-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-reading-content .article-share {
    position: static;
    display: flex;
    justify-content: space-between;
    justify-items: initial;
    margin: 16px 0 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(215, 181, 98, 0.22);
  }

  .article-reading-content .article-share > strong {
    max-width: none;
    writing-mode: initial;
    transform: none;
  }

  .article-reading-content .article-share > div {
    display: flex;
  }

  .article-reader-lead {
    padding-inline-start: 14px;
    font-size: 17px;
  }

  .article-reader-main .article-body {
    font-size: 16px;
    line-height: 1.76;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 22px, 1220px);
  }

  .subscribe-band::before {
    inset: 7px;
  }

  .article-reading-content .share-button {
    width: 31px;
    height: 31px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .site-header .masthead,
  :is(a[data-open], .section-cycle-card > a, .project-card) img,
  .premium-ui img.premium-media,
  .reading-progress span {
    transition: none;
  }

  :is(a[data-open], .section-cycle-card > a, .project-card):hover img,
  :is(a[data-open], .section-cycle-card > a, .project-card):focus-within img {
    transform: none;
  }
}

/* Final newsletter ornament geometry after the premium layer. */
.subscribe-band::before,
.subscribe-band::after {
  inset: -28px auto;
  width: min(36vw, 520px);
  border: 0;
  opacity: 0.62;
  background-repeat: repeat;
}

.subscribe-band::before {
  inset-inline-start: -42px;
  inset-inline-end: auto;
}

.subscribe-band::after {
  inset-inline-start: auto;
  inset-inline-end: -42px;
}

@media (max-width: 760px) {
  .subscribe-band::before,
  .subscribe-band::after {
    width: 48vw;
    opacity: 0.38;
  }
}

/* Final editorial micro-polish. */
:is(
  .lead-card-content h1,
  .latest-item strong,
  .intelligence-news-row strong,
  .intelligence-news-tile strong,
  .story-card h3,
  .rail-card-featured strong,
  .news-strip-card h3,
  .mini-card h3,
  .reader-rail-card strong,
  .section-cycle-card h2
) {
  letter-spacing: -0.018em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead-card-content h1,
.story-card-featured h3,
.article-reader-header h1 {
  letter-spacing: -0.032em;
}

.latest-item strong,
.intelligence-news-row strong,
.story-card-row h3,
.rail-card-featured strong {
  line-height: 1.12;
}

.post-meta {
  gap: 7px;
  color: rgba(215, 200, 165, 0.78);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.post-meta > span:first-child {
  color: var(--gold);
  font-weight: 800;
}

.post-meta span:not(:last-child)::after {
  width: 3px;
  height: 3px;
  margin-inline-start: 7px;
  background: rgba(215, 181, 98, 0.68);
}

.article-meta-line .article-meta-author {
  letter-spacing: 0;
}

.home-desk-label::after,
.section-topic-heading::after {
  opacity: 0.62;
}

.story-card-row,
.intelligence-news-row,
.rail-feature-section {
  border-color: rgba(215, 181, 98, 0.28);
}

.story-card-featured,
.lead-card,
.property-pulse-grid {
  border-color: rgba(215, 181, 98, 0.64);
}

/* Warm editorial grading returns to a natural image on interaction. */
:is(a[data-open], .section-cycle-card > a, .project-card) img {
  filter: sepia(0.07) saturate(0.88) contrast(1.045) brightness(0.97);
}

:is(a[data-open], .section-cycle-card > a, .project-card):hover img,
:is(a[data-open], .section-cycle-card > a, .project-card):focus-within img {
  filter: sepia(0) saturate(1.01) contrast(1.055) brightness(1);
}

img.premium-media.is-portrait-source {
  object-position: 50% 24%;
}

:is(.lead-card, .story-card-featured) img.premium-media.is-wide-source,
.article-reader-cover img.premium-media.is-wide-source {
  object-position: 50% 42%;
}

.latest-item img.premium-media.is-wide-source,
.story-card-row img.premium-media.is-wide-source,
.reader-rail-card img.premium-media.is-wide-source {
  object-position: 50% 46%;
}

/* Sections keep a quiet alternating rhythm without changing their content. */
.market-band {
  background:
    linear-gradient(180deg, rgba(215, 181, 98, 0.035), transparent 48%),
    rgba(3, 18, 12, 0.22);
}

/* The sole project feature keeps the supplied presentation artwork fully visible. */
.project-grid.is-single-project .project-card img,
.project-grid.is-single-project .project-card:hover img,
.project-grid.is-single-project .project-card:focus-within img {
  transform: none;
  filter: none;
}

.section-band {
  background:
    linear-gradient(135deg, rgba(19, 63, 44, 0.22), transparent 58%),
    rgba(6, 26, 18, 0.5);
}

.property-news-segment-lower {
  background:
    linear-gradient(90deg, rgba(15, 75, 53, 0.13), rgba(16, 47, 34, 0.34) 50%, rgba(15, 75, 53, 0.13)),
    rgba(6, 26, 18, 0.46);
}

/* One-time, restrained entrance motion. */
.premium-reveal {
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.premium-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tactile feedback for every interactive control. */
:is(
  button,
  .share-button,
  .nav-pill,
  .country-trigger,
  .country-submenu a,
  .footer-links a
) {
  transition-property: color, background-color, border-color, filter, box-shadow, transform;
  transition-duration: 150ms;
  transition-timing-function: ease;
}

:is(
  button,
  .share-button,
  .nav-pill,
  .country-trigger,
  .country-submenu a,
  .footer-links a
):active {
  transform: translateY(1px) scale(0.99);
}

/* Premium loading skeletons for editorial and live-data states. */
@keyframes premium-skeleton-sweep {
  from { background-position: 180% 0; }
  to { background-position: -80% 0; }
}

.article-skeleton {
  display: grid;
  gap: 13px;
  padding-block: 28px;
}

.skeleton-line,
.skeleton-cover,
.empty-state[aria-busy="true"]::before,
.is-loading::before {
  display: block;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 248, 232, 0.1) 42%, transparent 64%),
    rgba(215, 181, 98, 0.09);
  background-size: 220% 100%;
  animation: premium-skeleton-sweep 1.35s linear infinite;
}

.skeleton-line {
  width: 100%;
  height: 15px;
}

.skeleton-line.is-wide {
  width: 86%;
}

.skeleton-line.is-medium {
  width: 64%;
}

.skeleton-cover {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  margin-block: 8px 12px;
  border: 1px solid rgba(215, 181, 98, 0.18);
}

.empty-state[aria-busy="true"] {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  color: transparent;
}

.empty-state[aria-busy="true"]::before {
  content: "";
  position: absolute;
  inset: 24px;
}

:is(.dashboard-empty, .asset-strip-empty, .pulse-empty).is-loading {
  position: relative;
  min-height: 86px;
  overflow: hidden;
  color: transparent;
}

:is(.dashboard-empty, .asset-strip-empty, .pulse-empty).is-loading::before {
  content: "";
  position: absolute;
  inset: 18px;
}

.fx-ticker.is-empty .fx-ticker-message {
  padding: 4px 12px;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 248, 232, 0.12) 42%, transparent 64%),
    rgba(215, 181, 98, 0.08);
  background-size: 220% 100%;
  animation: premium-skeleton-sweep 1.35s linear infinite;
}

/* Discreet back-to-top control. */
.back-to-top {
  position: fixed;
  z-index: 45;
  right: clamp(14px, 2vw, 30px);
  bottom: clamp(16px, 2vw, 30px);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(215, 181, 98, 0.76);
  border-radius: 50%;
  background: rgba(3, 18, 12, 0.88);
  color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, transform 220ms ease, background 150ms ease, color 150ms ease;
}

.back-to-top span {
  font-size: 22px;
  line-height: 1;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--gold);
  color: #04140e;
  outline: 2px solid var(--ivory);
  outline-offset: 3px;
}

.is-rtl .back-to-top {
  right: auto;
  left: clamp(14px, 2vw, 30px);
}

@media (max-width: 760px) {
  :is(
    .lead-card-content h1,
    .story-card-featured h3,
    .story-card-row h3,
    .rail-card-featured strong,
    .article-reader-header h1,
    .section-cycle-card h2
  ) {
    max-width: 100%;
    text-wrap: pretty;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .lead-card-content h1,
  .article-reader-header h1 {
    line-height: 1.06;
  }

  .post-meta {
    gap: 5px;
    font-size: 9px;
    letter-spacing: 0.015em;
  }

  .post-meta span:not(:last-child)::after {
    margin-inline-start: 5px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .premium-reveal,
  .premium-reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .skeleton-line,
  .skeleton-cover,
  .empty-state[aria-busy="true"]::before,
  .is-loading::before,
  .fx-ticker.is-empty .fx-ticker-message {
    animation: none;
  }

  .back-to-top {
    transition: none;
  }
}

/* Dedicated editorial search results page. */
.search-results-page {
  min-height: 100vh;
  background: #051a12;
}

.search-results-main {
  min-height: 62vh;
  background:
    radial-gradient(circle at 82% 2%, rgba(215, 181, 98, 0.075), transparent 31rem),
    linear-gradient(180deg, #061d14 0%, #082219 58%, #051710 100%);
}

.search-results-hero {
  padding-block: clamp(26px, 3vw, 38px) clamp(20px, 2.2vw, 28px);
  border-bottom: 1px solid rgba(215, 181, 98, 0.28);
}

.search-results-hero .container {
  position: relative;
}

.search-results-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-results-hero h1 {
  max-width: 24ch;
  margin: 0;
  color: var(--ivory);
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.search-results-hero h1 em {
  color: var(--gold);
  font-style: normal;
}

.search-results-hero p {
  max-width: 68ch;
  margin: 17px 0 0;
  color: rgba(255, 248, 232, 0.68);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

.search-results-count {
  font-weight: 700;
}

.search-results-refine {
  display: none;
}

.search-results-feed {
  padding-block: clamp(20px, 2.4vw, 30px) clamp(48px, 6vw, 76px);
}

.search-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.search-result-card {
  min-width: 0;
  border: 1px solid rgba(215, 181, 98, 0.3);
  border-top: 2px solid rgba(215, 181, 98, 0.8);
  background:
    linear-gradient(145deg, rgba(215, 181, 98, 0.035), transparent 48%),
    rgba(8, 35, 24, 0.93);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  transition:
    transform 220ms cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 180ms ease,
    box-shadow 220ms ease;
}

.search-result-card > a {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
}

.search-result-card figure {
  position: relative;
  aspect-ratio: 16 / 9.5;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(215, 181, 98, 0.25);
  background: #0a291d;
}

.search-result-card figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(2, 14, 9, 0.72));
  pointer-events: none;
}

.search-result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 220ms ease;
}

.search-result-card figure > span {
  position: absolute;
  z-index: 1;
  inset-inline-start: 14px;
  bottom: 12px;
  padding: 5px 8px 4px;
  background: var(--gold);
  color: #061a12;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.search-result-card-body {
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 20px 20px 18px;
}

.search-result-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  color: rgba(255, 248, 232, 0.56);
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.35;
  text-transform: uppercase;
}

.search-result-meta b {
  color: var(--gold);
  font-weight: 800;
}

.search-result-meta i {
  color: rgba(215, 181, 98, 0.58);
  font-style: normal;
}

.search-result-card h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 11px;
  color: var(--ivory);
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  transition: color 170ms ease;
}

.search-result-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: rgba(255, 248, 232, 0.69);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.search-result-read {
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid rgba(215, 181, 98, 0.2);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.search-result-card:hover,
.search-result-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(215, 181, 98, 0.68);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
}

.search-result-card:hover img,
.search-result-card:focus-within img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.search-result-card:hover h2,
.search-result-card:focus-within h2 {
  color: var(--gold);
}

.search-result-card > a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.search-results-empty {
  display: grid;
  justify-items: center;
  min-height: 300px;
  align-content: center;
  padding: 44px 24px;
  border: 1px solid rgba(215, 181, 98, 0.3);
  background: rgba(8, 35, 24, 0.72);
  text-align: center;
}

.search-results-empty > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(215, 181, 98, 0.55);
  border-radius: 50%;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 30px;
}

.search-results-empty h2 {
  margin: 0 0 8px;
  color: var(--ivory);
  font-size: 32px;
}

.search-results-empty p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 248, 232, 0.64);
  font-family: var(--font-body);
}

.search-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
  font-family: var(--font-body);
  font-size: 13px;
}

.search-pagination a,
.search-pagination span {
  min-width: 96px;
  padding: 10px 14px;
  border: 1px solid rgba(215, 181, 98, 0.42);
  text-align: center;
}

.search-pagination a {
  background: rgba(215, 181, 98, 0.08);
  color: var(--ivory);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.search-pagination a:hover,
.search-pagination a:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: #061a12;
  outline: 0;
}

.search-pagination span {
  min-width: 70px;
  border-color: transparent;
  color: var(--gold);
}

@media (max-width: 980px) {
  .search-results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .search-results-hero {
    padding-block: 22px 18px;
  }

  .search-results-hero h1 {
    max-width: 100%;
    font-size: clamp(35px, 11vw, 50px);
    text-wrap: pretty;
  }

  .search-results-refine {
    width: 100%;
    display: grid;
    margin-top: 24px;
    border-color: rgba(215, 181, 98, 0.52);
    background: rgba(4, 29, 20, 0.96);
  }

  .search-results-refine input {
    color: var(--ivory);
    caret-color: var(--gold);
  }

  .search-results-refine input::placeholder {
    color: rgba(255, 248, 232, 0.54);
  }

  .search-results-refine button {
    border-color: var(--gold);
    background: var(--gold);
    color: #061a12;
    font-size: 15px;
    font-weight: 400;
  }
}

@media (max-width: 620px) {
  .search-results-grid {
    grid-template-columns: 1fr;
  }

  .search-result-card-body {
    min-height: 220px;
    padding: 18px;
  }

  .search-result-card h2 {
    font-size: 26px;
  }

  .search-pagination {
    gap: 8px;
  }

  .search-pagination a,
  .search-pagination span {
    min-width: 0;
    padding-inline: 10px;
  }
}
