@import "tailwindcss";

:root {
  --bg: #0b0b0a;
  --surface: #11110f;
  --surface-raised: #181714;
  --surface-soft: #211f1b;
  --text: #f2eee5;
  --muted: #aaa59d;
  --faint: #76716b;
  --line: #2d2b27;
  --line-strong: #4a463f;
  --gold: #d4a526;
  --gold-deep: #a87b11;
  --burgundy: #a9253d;
  --blue: #2d9fda;
  --header: rgba(11, 11, 10, 0.92);
  --hero-overlay: linear-gradient(90deg, rgba(7, 7, 6, 0.98) 0%, rgba(7, 7, 6, 0.9) 34%, rgba(7, 7, 6, 0.46) 68%, rgba(7, 7, 6, 0.24) 100%);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f2efe8;
  --surface: #f8f5ee;
  --surface-raised: #ffffff;
  --surface-soft: #e8e3d9;
  --text: #1b1915;
  --muted: #6c675f;
  --faint: #8e887f;
  --line: #d2ccc0;
  --line-strong: #9e9688;
  --gold: #ad7e10;
  --gold-deep: #825d08;
  --header: rgba(242, 239, 232, 0.9);
  --hero-overlay: linear-gradient(90deg, rgba(242, 239, 232, 0.98) 0%, rgba(242, 239, 232, 0.9) 38%, rgba(242, 239, 232, 0.55) 70%, rgba(242, 239, 232, 0.26) 100%);
  --shadow: 0 28px 80px rgba(45, 37, 25, 0.15);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--gold) 4%, transparent), transparent 26%),
    var(--bg);
  font-family: var(--sans);
  line-height: 1.5;
  transition: color 220ms ease, background-color 220ms ease;
}

button,
input,
textarea {
  color: inherit;
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

img {
  display: block;
  width: 100%;
}

::selection {
  color: #12100b;
  background: var(--gold);
}

.page-width {
  width: min(1440px, calc(100% - 96px));
  margin-inline: auto;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 16px;
  color: #111;
  background: var(--gold);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  color: #15130e;
  background: var(--gold);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  animation: toast-in 240ms ease both;
}

.toast span {
  font-size: 15px;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: 94px;
  padding: 0 48px;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
}

.brand img {
  width: 47px;
  height: 42px;
  object-fit: cover;
  background: #fff;
}

.brand > span {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand b {
  color: var(--burgundy);
  font-weight: 500;
}

.brand em {
  color: var(--blue);
  font-style: normal;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 2.6vw, 48px);
}

.desktop-nav a {
  position: relative;
  padding: 36px 0 32px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--gold);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 24px;
}

.theme-toggle:hover {
  color: var(--gold);
}

.subscribe-button,
.primary-button,
.drawer-subscribe,
.newsletter button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 58px;
  padding: 0 28px;
  color: #15130e;
  background: var(--gold);
  border: 1px solid var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.subscribe-button {
  min-height: 56px;
  padding-inline: 24px;
}

.subscribe-button:hover,
.primary-button:hover,
.drawer-subscribe:hover,
.newsletter button:hover {
  color: #fff;
  background: var(--gold-deep);
  border-color: var(--gold-deep);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: transparent;
  border: 0;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.mobile-drawer {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 820px;
  padding-top: 94px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-top: -20px;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

.hero h1 {
  max-width: 920px;
  margin: 25px 0 28px;
  font-family: var(--serif);
  font-size: clamp(66px, 7.1vw, 112px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero-summary {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 42px;
}

.primary-button {
  min-width: 228px;
}

.primary-button span {
  margin-right: 10px;
  font-size: 18px;
}

.secondary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 180px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid color-mix(in srgb, var(--text) 35%, transparent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.secondary-button:hover {
  color: #15130e;
  background: var(--text);
  border-color: var(--text);
}

.hero-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.8);
}

:root[data-theme="light"] .hero-rail {
  color: rgba(27, 25, 21, 0.78);
  border-color: rgba(27, 25, 21, 0.18);
}

.hero-rail > span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.hero-rail i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--gold) 18%, transparent);
}

.hero-rail p {
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
}

.hero-rail time {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-credit,
.image-credit {
  position: absolute;
  z-index: 4;
  right: 12px;
  bottom: 68px;
  padding: 3px 6px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.5);
  font-size: 7px;
}

.topics-section {
  padding-top: 120px;
  padding-bottom: 130px;
}

.section-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: end;
  margin-bottom: 54px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -28px;
}

.section-intro h2,
.latest-heading-row h2,
.conversation-intro h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.048em;
  line-height: 0.98;
}

.section-intro > p:last-child {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

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

.topic-card {
  position: relative;
  display: block;
  min-height: 420px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.topic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) brightness(0.72);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0, 1), filter 400ms ease;
}

.topic-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 4, 0.12) 0%, rgba(5, 5, 4, 0.26) 32%, rgba(5, 5, 4, 0.94) 100%);
}

.topic-card:hover img {
  transform: scale(1.035);
  filter: saturate(0.9) brightness(0.78);
}

.topic-top {
  position: absolute;
  top: 28px;
  right: 28px;
  left: 28px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topic-top > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
}

.topic-top small {
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(11, 11, 10, 0.68);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.topic-copy {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  z-index: 2;
  color: #f3efe6;
}

.topic-copy h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.025em;
}

.topic-copy p {
  min-height: 48px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.55;
}

.topic-link {
  display: inline-block;
  margin-top: 21px;
  color: #f4f0e8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.topic-link b {
  display: inline-block;
  margin-left: 7px;
  transition: transform 180ms ease;
}

.topic-card:hover .topic-link b {
  transform: translateX(5px);
}

.latest-section {
  padding: 110px 0 125px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.latest-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-strong);
}

.latest-heading-row .eyebrow {
  margin-bottom: 12px;
}

.latest-heading-row > p {
  margin: 0;
  color: var(--muted);
  text-align: right;
  font-family: var(--serif);
  font-size: 14px;
}

.latest-heading-row > p span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 540px;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 20px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: 30px;
}

.search-bar > span {
  color: var(--muted);
  font-size: 24px;
  transform: rotate(-15deg);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 14px;
}

.search-bar input::placeholder {
  color: var(--faint);
}

.filter-row {
  display: flex;
  gap: 8px;
  margin: 20px 0 45px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.filter-row button {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.filter-row button:hover,
.filter-row button.active {
  color: #17140d;
  background: var(--gold);
  border-color: var(--gold);
}

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

.news-card {
  min-width: 0;
}

.news-card.lead-card {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.news-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.lead-card .news-image {
  height: 100%;
  min-height: 380px;
  aspect-ratio: auto;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75);
  transition: transform 600ms ease, filter 300ms ease;
}

.news-image:hover img {
  transform: scale(1.025);
  filter: saturate(0.96);
}

.news-image .image-credit {
  right: 8px;
  bottom: 7px;
}

.news-copy {
  display: flex;
  flex-direction: column;
  padding-top: 17px;
}

.lead-card .news-copy {
  padding: 12px 0;
}

.story-label {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.story-label time {
  color: var(--faint);
}

.news-copy h3 {
  margin: 12px 0 12px;
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.08;
}

.lead-card .news-copy h3 {
  font-size: clamp(32px, 3.2vw, 48px);
}

.news-copy h3 a {
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat;
  transition: background-size 220ms ease;
}

.news-copy h3 a:hover {
  background-size: 100% 1px;
}

.news-copy > p {
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.58;
}

.story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-footer > div {
  display: flex;
  gap: 15px;
}

.story-footer button {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 9px;
  font-weight: 800;
}

.story-footer button:hover,
.story-footer button.active {
  color: var(--gold);
}

.empty-state {
  padding: 90px 20px;
  text-align: center;
  border: 1px solid var(--line);
}

.empty-state h3 {
  margin: 12px 0 25px;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.empty-state button {
  padding: 11px 18px;
  color: #16130d;
  background: var(--gold);
  border: 0;
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.analysis-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 720px;
  background: var(--bg);
}

.analysis-image {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.analysis-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 62%, var(--bg) 100%);
}

.analysis-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.04);
}

.analysis-image .image-credit {
  bottom: 10px;
}

.analysis-content {
  align-self: center;
  max-width: 700px;
  padding: 80px clamp(45px, 7vw, 120px) 80px 35px;
}

.analysis-content h2 {
  margin: 18px 0 25px;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.analysis-content > p:not(.eyebrow) {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.62;
}

.analysis-content > a {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 6px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold-deep);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analysis-content > a span {
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.analysis-content > a:hover span {
  transform: translateX(5px);
}

.analysis-content blockquote {
  margin: 45px 0 0;
  padding: 25px 0 0 26px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
}

.conversation-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(60px, 9vw, 140px);
  padding-top: 125px;
  padding-bottom: 125px;
  border-top: 1px solid var(--line);
}

.conversation-intro .eyebrow {
  margin-bottom: 14px;
}

.conversation-intro > p:not(.eyebrow) {
  margin: 25px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.62;
}

.editorial-standard {
  margin-top: 35px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}

.editorial-standard span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.editorial-standard p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.comment-form {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-strong);
}

.comment-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 17px;
  resize: vertical;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  font-family: var(--serif);
  font-size: 15px;
}

.comment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 10%, transparent);
}

.comment-form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.comment-form > div span {
  color: var(--faint);
  font-size: 9px;
}

.comment-form button {
  padding: 10px 17px;
  color: #16130d;
  background: var(--gold);
  border: 0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.comment {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.avatar {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: #17140d;
  background: var(--gold);
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--serif);
  font-size: 14px;
}

.comment-meta time {
  color: var(--faint);
  font-family: var(--sans);
  font-size: 8px;
}

.comment div > p:not(.comment-meta) {
  margin: 8px 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
}

.comment button {
  padding: 0;
  color: var(--gold);
  background: transparent;
  border: 0;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.newsletter {
  padding: 85px 0;
  color: #18150e;
  background: var(--gold);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: center;
  gap: clamp(70px, 10vw, 160px);
}

.newsletter .eyebrow {
  color: #6f5007;
  margin-bottom: 13px;
}

.newsletter h2 {
  font-size: clamp(45px, 4.5vw, 68px);
}

.newsletter-grid > div > p:last-child {
  max-width: 600px;
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: 16px;
}

.newsletter form > div {
  display: flex;
  border-bottom: 2px solid #18150e;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 15px 5px;
  color: #18150e;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: var(--serif);
  font-size: 16px;
}

.newsletter input::placeholder {
  color: rgba(24, 21, 14, 0.64);
}

.newsletter button {
  min-height: 48px;
  padding: 0 0 0 22px;
  color: #18150e;
  background: transparent;
  border: 0;
}

.newsletter button:hover {
  color: #fff;
  background: transparent;
}

.newsletter form > p,
.newsletter form small {
  display: block;
  margin-top: 10px;
  color: rgba(24, 21, 14, 0.75);
  font-size: 9px;
}

.newsletter form > p {
  font-weight: 800;
}

.site-footer {
  color: #ded9cf;
  background: #0a0a09;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.75fr;
  gap: clamp(60px, 9vw, 130px);
  padding-top: 85px;
  padding-bottom: 75px;
}

.footer-brand .brand > span {
  font-size: 27px;
}

.footer-brand > p {
  max-width: 410px;
  margin: 22px 0 0;
  color: #8f8b84;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong,
.footer-contact > span {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  width: max-content;
  color: #aaa69e;
  font-family: var(--serif);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  padding-left: 28px;
  border-left: 1px solid #2b2925;
}

.footer-contact p {
  margin: 13px 0 20px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.4;
}

.footer-contact small {
  color: #77736c;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  color: #716e68;
  border-top: 1px solid #292722;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 25px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

@media (max-width: 1180px) {
  .page-width {
    width: min(100% - 56px, 1440px);
  }

  .site-header {
    padding-inline: 28px;
  }

  .desktop-nav {
    gap: 22px;
  }

  .desktop-nav a:nth-last-child(-n + 2) {
    display: none;
  }

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

  .news-card.lead-card {
    grid-column: 1 / -1;
  }

  .analysis-feature {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 820px) {
  .page-width {
    width: min(100% - 36px, 1440px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 74px;
    padding: 0 20px;
  }

  .site-header .brand img {
    width: 40px;
    height: 36px;
  }

  .site-header .brand > span {
    font-size: 21px;
  }

  .desktop-nav,
  .subscribe-button {
    display: none;
  }

  .header-actions {
    gap: 5px;
  }

  .theme-toggle,
  .menu-button {
    display: grid;
  }

  .menu-button {
    place-items: center;
  }

  .menu-button span {
    margin: 2px 0;
  }

  .mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: flex;
    flex-direction: column;
    padding: 0 20px 26px;
    color: var(--text);
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(24px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-drawer.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 74px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-brand {
    font-family: var(--serif);
    font-size: 29px;
    letter-spacing: -0.035em;
  }

  .drawer-brand span {
    color: var(--gold);
  }

  .drawer-head > div {
    display: flex;
    gap: 10px;
  }

  .drawer-head button {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 28px;
  }

  .mobile-drawer nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
  }

  .mobile-drawer nav a {
    width: max-content;
    padding: 8px 0;
    font-family: var(--serif);
    font-size: clamp(30px, 9vw, 43px);
    line-height: 1.25;
  }

  .mobile-drawer nav a.active {
    color: var(--gold);
  }

  .drawer-subscribe {
    width: 100%;
    margin-top: auto;
  }

  .mobile-drawer > p {
    margin: 18px 0 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 13px;
  }

  .hero {
    min-height: 760px;
    padding-top: 74px;
    background-position: 58% center;
  }

  .hero-content {
    align-self: center;
    margin-top: -60px;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(52px, 14vw, 74px);
  }

  .hero-summary {
    max-width: 560px;
    font-size: 17px;
  }

  .hero-rail {
    grid-template-columns: auto 1fr;
    gap: 14px;
  }

  .hero-rail time {
    display: none;
  }

  .hero-rail p {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-intro .eyebrow {
    grid-column: auto;
    margin-bottom: 0;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .topic-card {
    min-height: 390px;
  }

  .latest-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .latest-heading-row > p {
    text-align: left;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card.lead-card {
    display: block;
    grid-column: auto;
  }

  .lead-card .news-image {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .lead-card .news-copy {
    padding-top: 17px;
  }

  .analysis-feature {
    grid-template-columns: 1fr;
  }

  .analysis-image {
    min-height: 440px;
  }

  .analysis-image::after {
    background: linear-gradient(180deg, transparent 62%, var(--bg) 100%);
  }

  .analysis-content {
    padding: 10px 28px 85px;
  }

  .conversation-section {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-contact {
    padding: 25px 0 0;
    border-top: 1px solid #2b2925;
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .page-width {
    width: min(100% - 40px, 1440px);
  }

  .site-header .brand img {
    display: none;
  }

  .site-header .brand > span {
    font-family: var(--serif);
    font-size: 23px;
  }

  .hero {
    min-height: 700px;
  }

  .hero::after {
    background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.34));
  }

  .hero h1 {
    font-size: clamp(47px, 15vw, 66px);
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .photo-credit {
    display: none;
  }

  .topics-section,
  .latest-section,
  .conversation-section {
    padding-top: 85px;
    padding-bottom: 90px;
  }

  .section-intro h2,
  .latest-heading-row h2,
  .conversation-intro h2,
  .newsletter h2 {
    font-size: 46px;
  }

  .topic-card {
    min-height: 355px;
  }

  .topic-copy h3 {
    font-size: 26px;
  }

  .search-bar {
    max-width: none;
  }

  .analysis-image {
    min-height: 330px;
  }

  .analysis-content {
    padding-inline: 20px;
  }

  .analysis-content h2 {
    font-size: 45px;
  }

  .newsletter {
    padding: 65px 0;
  }

  .newsletter form > div {
    display: block;
    border: 0;
  }

  .newsletter input {
    width: 100%;
    border-bottom: 2px solid #18150e;
  }

  .newsletter button {
    width: 100%;
    margin-top: 14px;
    padding: 0 20px;
    color: var(--gold);
    background: #18150e;
  }

  .footer-links {
    gap: 28px;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 20px 0;
  }

  .footer-bottom div {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Persistent newsroom additions */
.latest-tools {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.language-switch {
  display: flex;
  gap: 6px;
  padding-bottom: 2px;
}

.language-switch button {
  min-height: 38px;
  padding: 0 13px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.language-switch button.active {
  color: #17140d;
  background: var(--gold);
  border-color: var(--gold);
}

.anonymous-readers {
  align-items: center;
}

.privacy-card,
.reader-privacy-note {
  border: 1px solid var(--line);
  background: var(--surface);
}

.privacy-card {
  padding: clamp(34px, 5vw, 62px);
  border-top: 3px solid var(--gold);
}

.privacy-card > span {
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.privacy-card h3 {
  margin: 17px 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 400;
  line-height: 1.02;
}

.privacy-card p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.65;
}

.privacy-card a {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 5px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Article reading experience */
.article-page {
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
}

.article-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 82px;
  padding: 0 clamp(24px, 4vw, 70px);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.article-header nav {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-header nav a:hover {
  color: var(--gold);
}

.article-title-block {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: clamp(85px, 11vw, 150px) 0 64px;
  text-align: center;
}

.article-title-block h1 {
  max-width: 1080px;
  margin: 20px auto 25px;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.article-deck {
  max-width: 790px;
  margin: 0 auto;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.45;
}

.article-byline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 38px;
  color: var(--faint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.article-lead-image {
  position: relative;
  width: min(100% - 40px, 1450px);
  margin: 0 auto;
}

.article-lead-image img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.article-lead-image figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 8px;
  text-align: right;
}

.article-body {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 85px 0 105px;
}

.article-body p {
  margin: 0 0 1.55em;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.75;
}

.article-body p:first-child::first-letter {
  float: left;
  margin: 10px 10px 0 0;
  color: var(--gold);
  font-size: 5.1em;
  line-height: 0.65;
}

.somali-copy p {
  line-height: 1.82;
}

.article-engagement {
  padding: 80px max(20px, calc((100vw - 1180px) / 2)) 115px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.engagement-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: -108px;
  margin-bottom: 48px;
}

.engagement-actions button {
  min-width: 150px;
  min-height: 54px;
  padding: 0 20px;
  color: var(--text);
  background: var(--surface-raised);
  border: 1px solid var(--line-strong);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.engagement-actions button.active {
  color: #17140d;
  background: var(--gold);
  border-color: var(--gold);
}

.reader-privacy-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto 80px;
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
}

.reader-privacy-note strong {
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.reader-privacy-note span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.article-comments-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 9vw, 130px);
}

.article-comments-grid > div:first-child h2 {
  margin: 14px 0 18px;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 400;
}

.article-comments-grid > div:first-child > p:last-child {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
}

.article-comment-form {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-strong);
}

.article-comment-form label {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-comment-form input,
.article-comment-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  outline: 0;
  font-family: var(--serif);
  font-size: 15px;
}

.article-comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.article-comment-form input:focus,
.article-comment-form textarea:focus {
  border-color: var(--gold);
}

.article-comment-form > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.article-comment-form small,
.article-comment-form > p {
  color: var(--faint);
  font-size: 9px;
}

.article-comment-form button {
  min-height: 43px;
  padding: 0 18px;
  color: #17140d;
  background: var(--gold);
  border: 0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-comment-list > article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.article-comment-list article div > p:last-child,
.no-comments {
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.no-comments {
  padding: 28px 0;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  min-height: 150px;
  padding: 30px clamp(24px, 5vw, 75px);
  color: #8f8b84;
  background: #0a0a09;
  border-top: 1px solid #292722;
  font-size: 10px;
}

.article-footer a:last-child {
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
}

/* Fatima's editorial dashboard */
.admin-shell {
  min-height: 100vh;
  color: #eee9de;
  background: #0b0b0a;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 260px;
  padding: 34px 25px;
  background: #11110f;
  border-right: 1px solid #2c2a25;
}

.admin-wordmark {
  color: #f3eee4;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.035em;
}

.admin-wordmark span {
  color: var(--gold);
}

.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 65px;
}

.admin-sidebar nav button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  color: #99958d;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  text-align: left;
  font-size: 11px;
}

.admin-sidebar nav button:hover,
.admin-sidebar nav button.active {
  color: #f3eee4;
  background: #1a1916;
  border-left-color: var(--gold);
}

.admin-sidebar nav button span {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  color: #17140d;
  background: var(--gold);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.admin-profile {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #2c2a25;
}

.admin-profile strong,
.admin-profile small,
.admin-profile a {
  display: block;
}

.admin-profile strong {
  font-family: var(--serif);
  font-size: 14px;
}

.admin-profile small {
  margin: 5px 0 16px;
  color: #79756e;
  overflow-wrap: anywhere;
  font-size: 9px;
}

.admin-profile a {
  width: max-content;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-main {
  min-height: 100vh;
  margin-left: 260px;
  padding: 52px clamp(28px, 5vw, 80px) 100px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.admin-topbar h1 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.admin-topbar > a {
  padding: 12px 15px;
  color: var(--gold);
  border: 1px solid #37342e;
  font-size: 8px;
  font-weight: 850;
  text-transform: uppercase;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 42px 0;
  border: 1px solid #2c2a25;
}

.admin-stats > div {
  padding: 24px;
  border-right: 1px solid #2c2a25;
}

.admin-stats > div:last-child {
  border-right: 0;
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.admin-stats span {
  margin-top: 5px;
  color: #858179;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-message {
  margin: 0 0 25px;
  padding: 14px 17px;
  color: #e5c86e;
  background: #1e1a10;
  border-left: 3px solid var(--gold);
  font-size: 11px;
}

.article-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 35px;
}

.editor-main-fields,
.editor-settings {
  padding: 30px;
  background: #11110f;
  border: 1px solid #2c2a25;
}

.article-editor label {
  display: block;
  margin-bottom: 22px;
  color: #d4a526;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.article-editor input,
.article-editor textarea,
.article-editor select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 13px 14px;
  color: #eee9de;
  background: #171714;
  border: 1px solid #35322c;
  border-radius: 3px;
  outline: 0;
  font-family: var(--serif);
  font-size: 15px;
}

.article-editor input:focus,
.article-editor textarea:focus,
.article-editor select:focus {
  border-color: var(--gold);
}

.article-editor textarea {
  min-height: 115px;
  resize: vertical;
}

.article-editor .article-body-input {
  min-height: 500px;
  line-height: 1.65;
}

.upload-label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-label span {
  display: grid;
  place-items: center;
  min-height: 46px;
  margin-top: 7px;
  color: #d4a526;
  border: 1px dashed #645321;
  cursor: pointer;
}

.editor-image-preview {
  width: 100%;
  max-height: 190px;
  margin-bottom: 22px;
  object-fit: cover;
  border: 1px solid #35322c;
}

.editor-actions {
  display: flex;
  gap: 8px;
}

.editor-actions button,
.admin-row-actions button,
.moderation-list button {
  min-height: 42px;
  padding: 0 17px;
  color: #17140d;
  background: var(--gold);
  border: 0;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-actions button:disabled {
  opacity: 0.55;
}

.editor-actions .admin-secondary {
  color: #aaa69e;
  background: transparent;
  border: 1px solid #35322c;
}

.admin-list > article {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #2c2a25;
}

.admin-list-image {
  display: grid;
  place-items: center;
  height: 96px;
  color: #6f6c65;
  background: #171714;
  font-size: 9px;
}

.admin-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-list article p,
.admin-list article h2,
.admin-list article small {
  margin: 0;
}

.admin-list article p {
  color: #8c887f;
  font-size: 8px;
  font-weight: 800;
}

.admin-list article p span {
  margin-right: 8px;
  color: var(--gold);
}

.admin-list article h2 {
  margin: 7px 0;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.admin-list article small {
  color: #77736c;
  font-size: 8px;
}

.admin-row-actions {
  display: flex;
  gap: 7px;
}

.admin-row-actions button,
.moderation-list button {
  min-height: 34px;
  padding: 0 12px;
}

.admin-row-actions button.danger,
.moderation-list button.danger {
  color: #dba9a2;
  background: #271817;
}

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

.moderation-list > article {
  padding: 25px;
  background: #11110f;
  border: 1px solid #2c2a25;
  border-top: 3px solid #554f44;
}

.moderation-list > article.pending {
  border-top-color: var(--gold);
}

.moderation-list h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
}

.moderation-list article > p:not(.eyebrow) {
  color: #aaa69e;
  font-family: var(--serif);
  line-height: 1.55;
}

.moderation-list article > div {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.moderation-list time {
  margin-right: auto;
  color: #6f6c65;
  font-size: 8px;
}

.admin-access-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 35px;
  color: #eee9de;
  background: #0b0b0a;
  text-align: center;
}

.admin-access-page > .admin-wordmark {
  position: absolute;
  top: 32px;
  left: 38px;
}

.admin-access-page > div {
  max-width: 650px;
}

.admin-access-page h1 {
  margin: 18px 0;
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 82px);
  font-weight: 400;
}

.admin-access-page p:not(.eyebrow) {
  margin-bottom: 30px;
  color: #aaa69e;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .latest-tools,
  .article-comments-grid {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .latest-tools {
    display: grid;
  }

  .language-switch {
    overflow-x: auto;
  }

  .article-comments-grid {
    display: grid;
  }

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

  .admin-sidebar {
    position: static;
    width: auto;
    padding: 22px;
  }

  .admin-sidebar nav {
    flex-direction: row;
    margin-top: 25px;
    overflow-x: auto;
  }

  .admin-sidebar nav button {
    flex: 0 0 auto;
  }

  .admin-profile {
    display: none;
  }

  .admin-main {
    margin-left: 0;
    padding: 35px 22px 80px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-stats > div:nth-child(2) {
    border-right: 0;
  }

  .admin-stats > div:nth-child(-n + 2) {
    border-bottom: 1px solid #2c2a25;
  }
}

@media (max-width: 620px) {
  .article-header .brand img,
  .article-header nav a:nth-child(2) {
    display: none;
  }

  .article-header nav {
    gap: 16px;
  }

  .article-title-block {
    padding-top: 75px;
    text-align: left;
  }

  .article-byline {
    justify-content: flex-start;
  }

  .reader-privacy-note {
    grid-template-columns: 1fr;
  }

  .engagement-actions {
    flex-direction: column;
  }

  .article-comment-form > div,
  .article-footer,
  .admin-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .article-footer {
    display: flex;
  }

  .admin-stats,
  .moderation-list {
    grid-template-columns: 1fr;
  }

  .admin-stats > div {
    border-right: 0;
    border-bottom: 1px solid #2c2a25;
  }

  .admin-list > article {
    grid-template-columns: 100px 1fr;
  }

  .admin-row-actions {
    grid-column: 1 / -1;
  }

  .editor-main-fields,
  .editor-settings {
    padding: 20px;
  }
}

/* Hostinger PHP controls */
.admin-sidebar nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  color: #99958d;
  border-left: 2px solid transparent;
  font-size: 11px;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a:focus {
  color: #f3eee4;
  background: #1a1916;
  border-left-color: var(--gold);
}

.admin-sidebar nav a span {
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  color: #17140d;
  background: var(--gold);
  border-radius: 50%;
  font-size: 8px;
  font-weight: 900;
}

.admin-profile form,
.admin-row-actions form,
.moderation-list form {
  margin: 0;
}

.admin-profile button {
  padding: 0;
  color: var(--gold);
  background: transparent;
  border: 0;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-section {
  margin-top: 100px;
  scroll-margin-top: 25px;
}

.admin-section-heading {
  margin-bottom: 30px;
}

.admin-section-heading h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 54px);
  font-weight: 400;
}

.admin-row-actions a,
.editor-actions a {
  display: grid;
  place-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #17140d;
  background: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editor-actions a.admin-secondary {
  min-height: 42px;
  color: #aaa69e;
  background: transparent;
  border: 1px solid #35322c;
}

.moderation-list article > div form {
  display: flex;
  gap: 7px;
}

.admin-message.error {
  color: #efb2aa;
  background: #271817;
  border-left-color: #a64235;
}

.admin-auth-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 30px;
  color: #eee9de;
  background: #0b0b0a;
}

.admin-auth-card {
  width: min(100%, 560px);
  padding: clamp(30px, 6vw, 60px);
  background: #11110f;
  border: 1px solid #2c2a25;
  border-top: 3px solid var(--gold);
}

.admin-auth-card > .eyebrow {
  margin-top: 48px;
}

.admin-auth-card h1 {
  margin: 15px 0 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 62px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.admin-auth-card > p:not(.eyebrow, .admin-message) {
  color: #aaa69e;
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
}

.admin-auth-card code {
  color: #e4c66a;
  font-size: 12px;
}

.admin-auth-card label {
  display: block;
  margin-top: 18px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-auth-card input {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 14px;
  color: #eee9de;
  background: #171714;
  border: 1px solid #35322c;
  border-radius: 3px;
  outline: 0;
}

.admin-auth-card input:focus {
  border-color: var(--gold);
}

.admin-auth-card form > button {
  width: 100%;
  min-height: 50px;
  margin-top: 25px;
  color: #17140d;
  background: var(--gold);
  border: 0;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .admin-sidebar nav a {
    flex: 0 0 auto;
  }
}
