/* ========================================
   1) Reset
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  line-height: 1.5;
  scroll-behavior: smooth;
  scrollbar-color: #031524 #263d52;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* ========================================
   2) Tokens
======================================== */

:root {
  --bg0: #031a2b;
  --bg1: #06223a;

  --surface: rgba(255, 255, 255, 0.1);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --surface-soft: rgba(255, 255, 255, 0.08);

  --border: rgba(255, 255, 255, 0.16);
  --border-strong: rgba(84, 209, 63, 0.28);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.68);
  --muted-2: rgba(255, 255, 255, 0.52);

  --accent: #54d13f;
  --accent-soft: rgba(84, 209, 63, 0.1);
  --accent-glow: rgba(84, 209, 63, 0.45);

  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 26px rgba(0, 0, 0, 0.22);

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 12px;
}

/* ========================================
   3) Base
======================================== */

body {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  font-size: 1rem;
  color: var(--text);
  background-color: #04111b;
  background-image: linear-gradient(
    180deg,
    var(--bg1, #0b1c2a),
    var(--bg0, #04111b)
  );
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body::before {
  background:
    radial-gradient(
      900px 600px at 18% 14%,
      rgba(84, 209, 63, 0.16),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 78% 50%,
      rgba(47, 191, 59, 0.1),
      transparent 60%
    );
}

body::after {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.08;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  font-weight: 650;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 650;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

table {
  text-align: center;
}

ul {
  padding-left: 20px;
}

/* ========================================
   4) Layout primitives
======================================== */

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

main.container,
.site-main.container,
.home-main-column,
.home-feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.site-main {
  min-height: 60vh;
}

/* ========================================
   5) Shared surfaces / components
======================================== */

.card,
.article-detail,
.share-box,
.sidebar-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.1)
  );
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
}

.card,
.article-detail,
.share-box,
.sidebar-card {
  padding: 16px;
}

.share-box,
.sidebar-card,
.article-detail {
  display: flex;
  flex-direction: column;
}

.share-box,
.sidebar-card {
  gap: 15px;
}

.article-detail {
  gap: 5px;
}

.article-detail h1 {
  margin-bottom: 5px;
}

.article-detail p,
.article-detail div.article-actions {
  margin: 10px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 20px;
  align-items: stretch;
}

.card-image-wrap {
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.card-image,
.hero-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-image {
  max-width: 100%;
  border-radius: 12px;
}

.card-title {
  margin-top: 0;
  margin-bottom: 3px;
}

.card-title a {
  color: var(--text);
}

.card-title a:hover {
  text-decoration: underline;
}

.card-hidden {
  opacity: 0.6;
  background: #2c2c2c;
  border: 1px dashed #cbd5e1;
}

.card-hidden .card-title a,
.card-hidden .summary,
.card-hidden .muted,
.card-hidden .article-label {
  opacity: 0.9;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.summary {
  line-height: 1.6;
  color: var(--muted);
}

.summary-large {
  font-size: 16px;
  color: var(--text);
}

/* ========================================
   6) Header
======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  margin-bottom: 24px;
  color: var(--text);
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(2, 16, 28, 0.85),
    rgba(2, 16, 28, 0.55)
  );
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-branding {
  flex: 0 0 auto;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
}

.logo img {
  height: 25px;
  min-width: 100px;
}

.site-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
  flex: 1 1 auto;
}

.site-header-nav {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  order: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}

.primary-nav-link {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 9px 12px;
  white-space: nowrap;
}

.primary-nav-link-active {
  background: rgba(84, 209, 63, 0.16);
  border-color: rgba(84, 209, 63, 0.42);
  color: rgba(225, 255, 225, 0.96);
  box-shadow: 0 0 0 1px rgba(84, 209, 63, 0.12);
}

.primary-nav-link-active:hover {
  background: rgba(84, 209, 63, 0.22);
  border-color: rgba(84, 209, 63, 0.52);
}

.user-menu {
  position: relative;
  min-width: 0;
  flex: 0 0 auto;
}

.user-menu-toggle {
  min-width: 0;
  max-width: 220px;
  white-space: nowrap;
}

.user-menu-label {
  display: inline-block;
  min-width: 0;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-menu-chevron {
  font-size: 12px;
  opacity: 0.8;
  transform: translateY(1px);
}

.user-menu-dropdown {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  right: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(
    180deg,
    rgba(2, 16, 28, 0.96),
    rgba(2, 16, 28, 0.92)
  );
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 50;
}

.user-menu:hover .user-menu-dropdown,
.user-menu:focus-within .user-menu-dropdown {
  display: flex;
}

.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  background: transparent;
}

.user-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.user-menu-item-button {
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.user-menu-divider {
  height: 1px;
  margin: 4px 2px;
  background: rgba(255, 255, 255, 0.1);
}

.user-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  height: 10px;
  width: 100%;
}

/* ========================================
   7) Buttons / icons
======================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(84, 209, 63, 0.55);
}

.button:active,
.button-secondary:active {
  transform: translateY(1px);
}

.button-secondary {
  background: rgba(84, 209, 63, 0.16);
  border: 1px solid rgba(84, 209, 63, 0.34);
  color: rgba(225, 255, 225, 0.96);
}

.button-secondary:hover {
  background: rgba(84, 209, 63, 0.22);
  border-color: rgba(84, 209, 63, 0.48);
}

.button-disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: default;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  filter: brightness(0) invert(1);
  vertical-align: middle;
  flex-shrink: 0;
  transform: translateY(1px);
}

.icon-only {
  margin-right: 0;
}

/* ========================================
   8) Shared flex groups
======================================== */

.share-actions,
.article-actions,
.form-actions,
.inline-form-controls,
.oauth-actions,
.site-actions {
  display: flex;
  align-items: center;
}

.share-actions,
.article-actions,
.form-actions,
.inline-form-controls,
.oauth-actions {
  flex-wrap: wrap;
}

.share-actions {
  gap: 0.75rem;
  margin: 0;
}

.site-actions {
  gap: 8px;
  min-width: 0;
  flex: 0 0 auto;
  justify-content: flex-end;
  order: 2;
}

.article-actions {
  gap: 8px;
  margin-top: 12px;
}

.article-actions .button,
.article-actions .comment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-actions {
  gap: 10px;
  margin-top: 16px;
}

.inline-form-controls {
  gap: 12px;
}

.oauth-actions {
  gap: 10px;
}

.inline-form {
  display: inline;
}

/* ========================================
   9) Article / share
======================================== */

#share-actions-primary,
#share-actions-fallback {
  display: none;
}

.article-share-block.share-mode-native #share-actions-primary {
  display: flex;
}

.article-share-block.share-mode-fallback #share-actions-fallback {
  display: flex;
}

.share-desktop-only {
  display: inline-flex;
}

.article-image {
  width: 100%;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 28 / 9;
  background: var(--surface-soft);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.article-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(84, 209, 63, 0.3);
  background: rgba(84, 209, 63, 0.1);
  color: rgba(225, 255, 225, 0.92);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.article-label::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #54d13f;
  box-shadow: 0 0 10px rgba(84, 209, 63, 0.45);
  flex: 0 0 7px;
}

.comment-link::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask: url("../img/disqus-brands-solid-full.svg") no-repeat center /
    contain;
  mask: url("../img/disqus-brands-solid-full.svg") no-repeat center / contain;
  transform: translateY(1px);
}

.comment-link-text {
  display: inline-block;
}

.js-save-article-button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 8px;
  flex-wrap: wrap;
}

.pagination-status {
  font-size: 14px;
  color: var(--muted);
}

/* ========================================
   10) Forms
======================================== */

.auth-form,
.profile-form,
.standard-form {
  display: block;
}

.form-row {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-help {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-2);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(84, 209, 63, 0.45);
  box-shadow: 0 0 0 3px rgba(84, 209, 63, 0.12);
}

.input-disabled {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

/* ========================================
   11) KPI bar
======================================== */

.kpi-bar {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 0;
  padding: 12px 0;
  margin-bottom: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(
    to right,
    black 0%,
    black calc(100% - 40px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    black 0%,
    black calc(100% - 40px),
    transparent 100%
  );
}

.kpi-bar::-webkit-scrollbar {
  display: none;
}

.kpi-slot {
  position: relative;
  flex: 0 0 auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
}

.kpi-slot + .kpi-slot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.kpi-item {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.kpi-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.kpi-label,
.kpi-value,
.kpi-change,
.kpi-triangle,
.kpi-change-value {
  white-space: nowrap;
  line-height: 1;
  font-size: 14px;
}

.kpi-label {
  opacity: 0.7;
  font-weight: 400;
}

.kpi-value {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.kpi-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.kpi-change.positive {
  color: #22c55e;
}

.kpi-change.negative {
  color: #ef4444;
}

.kpi-change.neutral {
  color: var(--muted);
}

.kpi-triangle {
  font-size: 10px;
  transform: translateY(1px);
}

/* ========================================
   12) Home page
======================================== */

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 360px);
  gap: 20px;
  align-items: start;
}

.home-main-column,
.home-sidebar,
.home-feed {
  min-width: 0;
}

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
}

.hero-card-image-link {
  position: absolute;
  inset: 0;
  display: block;
}

.hero-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(3, 16, 28, 0.12) 0%,
    rgba(3, 16, 28, 0.34) 40%,
    rgba(3, 16, 28, 0.92) 100%
  );
  pointer-events: none;
}

.hero-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 28px;
}

.hero-card-meta {
  margin-bottom: 10px;
}

.hero-card-title {
  margin: 0 0 14px;
  font-size: 3rem;
  line-height: 1.06;
}

.hero-card-title a {
  color: var(--text);
}

.hero-card-title a:hover {
  text-decoration: underline;
}

.hero-card-summary {
  max-width: 56rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-card-actions {
  margin-top: 18px;
}

.sidebar-story {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.sidebar-title {
  margin-bottom: 14px;
}

.sidebar-story-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.sidebar-story-image-wrap {
  aspect-ratio: 16 / 9;
}

.sidebar-story-meta {
  margin-bottom: 0;
}

.sidebar-story-title {
  margin-bottom: 3px;
  font-size: 1.25rem;
  line-height: 1.35;
}

.sidebar-story-summary {
  margin-top: 0;
}

.sidebar-story + .sidebar-story {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.home-feed > h2 {
  margin-top: 6px;
}

.home-feed .card-grid {
  grid-template-columns: minmax(220px, 280px) 1fr;
}

/* ========================================
   13) Footer
======================================== */

.site-footer {
  margin-top: 36px;
  background: linear-gradient(
    180deg,
    rgba(2, 16, 28, 0.82),
    rgba(2, 16, 28, 0.92)
  );
  color: var(--muted);
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.site-footer-title,
.site-footer-heading {
  color: var(--text);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.site-footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.site-footer-text {
  margin: 0;
  line-height: 1.7;
  max-width: 560px;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.site-footer-heading {
  margin: 0 0 10px;
  font-size: 14px;
  color: #fff;
}

.site-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer-list li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(225, 255, 225, 0.92);
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer-bottom {
  padding: 18px 0 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: var(--muted-2);
}

/* ========================================
   14) Cookie banner
======================================== */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1000;
}

.cookie-banner-inner {
  width: min(760px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(
    180deg,
    rgba(2, 16, 28, 0.96),
    rgba(2, 16, 28, 0.92)
  );
}

.cookie-banner-text {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-link {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-link:hover {
  text-decoration: none;
}

/* ========================================
   15) Responsive
======================================== */

@media (max-width: 1100px) {
  .primary-nav {
    gap: 6px;
  }

  .primary-nav-link {
    padding: 8px 10px;
    font-size: 13px;
  }

  .card-image-wrap,
  .sidebar-story-image-wrap,
  .sidebar-story-image {
    aspect-ratio: 31 / 9;
  }

  .home-layout {
    display: flex;
    flex-direction: column;
  }

  .home-main-column {
    display: contents;
  }

  .hero-card {
    order: 1;
  }

  .home-sidebar {
    order: 2;
  }

  .home-feed {
    order: 3;
  }

  .hero-card,
  .hero-card-content {
    min-height: 460px;
  }
}

@media (max-width: 1024px) {
  .sidebar-story-image {
    aspect-ratio: 31 / 9;
  }
}

@media (max-width: 980px) {
  .site-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "branding actions"
      "nav nav";
    align-items: center;
    gap: 12px 16px;
  }

  .site-branding,
  .site-header-right,
  .site-header-nav {
    width: 100%;
  }

  .site-branding {
    grid-area: branding;
  }

  .site-header-right {
    display: contents;
  }

  .site-actions {
    grid-area: actions;
    justify-content: flex-end;
    order: initial;
  }

  .site-header-nav {
    grid-area: nav;
    width: 100%;
    order: initial;
  }

  .primary-nav {
    width: 100%;
    padding-bottom: 4px;
  }

  .site-footer-inner,
  .site-footer-links,
  .card-grid,
  .home-feed .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card-content {
    min-height: 400px;
  }

  .hero-card-content {
    padding: 20px;
  }

  .hero-card-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .share-desktop-only {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .primary-nav-link {
    min-width: 42px;
    padding: 10px;
  }

  .primary-nav-link span {
    display: none;
  }

  .site-actions .button,
  .site-actions .user-menu-toggle {
    max-width: 180px;
  }

  .user-menu-label {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .card-image-wrap,
  .article-image,
  .sidebar-story-image-wrap,
  .sidebar-story-image {
    aspect-ratio: 16 / 9;
  }

  .hero-card,
  .hero-card-content {
    min-height: 340px;
  }

  .hero-card-summary {
    font-size: 1rem;
    line-height: 1.55;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }
}
