:root {
  color-scheme: light dark;
  --bg: #0b0b0e;
  --card-bg: #17171c;
  --text: #f2f2f5;
  --muted: #a0a0ab;
  --border: #2a2a31;
  --accent: #6366f1;
  --accent-text: #ffffff;
  --chip-bg: #23233a;
  --chip-text: #a5b4fc;
  --danger: #f97066;
  --header-bg: rgba(11, 11, 14, 0.88);
  --header-height: 56px;
  --card-radius: 20px;
}

[data-theme='light'] {
  color-scheme: light;
  --bg: #f4f4f6;
  --card-bg: #ffffff;
  --text: #111114;
  --muted: #5b5b66;
  --border: #e3e3e8;
  --accent: #4f46e5;
  --accent-text: #ffffff;
  --chip-bg: #eef0ff;
  --chip-text: #4f46e5;
  --danger: #b42318;
  --header-bg: rgba(244, 244, 246, 0.92);
}

[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0b0b0e;
  --card-bg: #17171c;
  --text: #f2f2f5;
  --muted: #a0a0ab;
  --border: #2a2a31;
  --accent: #6366f1;
  --accent-text: #ffffff;
  --chip-bg: #23233a;
  --chip-text: #a5b4fc;
  --danger: #f97066;
  --header-bg: rgba(11, 11, 14, 0.88);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
  background-color: var(--bg);
}

/* Base styles for standalone static pages (privacy, support) */
main.static-page {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  overflow-y: auto;
  height: 100vh;
}
main.static-page h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
main.static-page h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
main.static-page p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text);
}
main.static-page p.lead {
  color: var(--muted);
  font-size: 1.1rem;
}
main.static-page a {
  color: var(--accent);
}
main.static-page footer {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* -------------------------------------------------------------
 * Main App Shell
 * ------------------------------------------------------------- */
#app {
  width: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  background-color: var(--bg);
}

/* App Header */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  padding-top: env(safe-area-inset-top, 0);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.app-header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Defaults for Desktop Elements (Zero impact on phone viewport) */
.desktop-banner,
.desktop-nav,
.desktop-only {
  display: none !important;
}

.card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.brand-badge {
  background: linear-gradient(135deg, #4f46e5, #818cf8);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.icon-btn:hover {
  background: rgba(125, 125, 150, 0.15);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
}

/* Category Filter Bar */
.category-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.45rem 1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: calc(var(--header-height) + env(safe-area-inset-top, 0));
  left: 0;
  right: 0;
  z-index: 90;
  scrollbar-width: none;
}
.category-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-pill.active {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}

.cat-pill.cat-pill-top {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.cat-pill.cat-pill-top.active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

/* Deck Container (Vertical Swiping) */
.deck-container {
  flex: 1;
  width: 100%;
  margin-top: calc(var(--header-height) + 42px + env(safe-area-inset-top, 0));
  height: calc(100dvh - var(--header-height) - 42px - env(safe-area-inset-top, 0));
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}

/* Individual Card */
.card-wrapper {
  width: 100%;
  height: 100%;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
}

.news-card {
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Card Image Banner */
.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 34%;
  background: #000000;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-image-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) brightness(0.5);
  transform: scale(1.25);
  pointer-events: none;
}

.card-image {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transition: transform 0.3s ease;
}

.card-image-wrap:hover .card-image {
  transform: scale(1.02);
}

.zoom-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* No-image Fallback Banner */
.card-no-image {
  width: 100%;
  height: 30%;
  min-height: 120px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.15), rgba(129, 140, 248, 0.05));
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.no-image-icon {
  font-size: 2rem;
}

.no-image-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

/* Card Body */
.card-body {
  flex: 1;
  padding: 1rem 1.1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
}
.card-body::-webkit-scrollbar {
  display: none;
}

.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.chip {
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.chip-category {
  background: var(--chip-bg);
  color: var(--chip-text);
}

.chip-source {
  background: rgba(125, 125, 150, 0.12);
  color: var(--text);
}

.chip-time {
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
}

.chip-top {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
}

.card-headline {
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.2px;
}

.card-summary {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.92;
  font-weight: 400;
}

/* Card Actions Footer */
.card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0));
}

.btn-read-more {
  flex: 1;
  height: 42px;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.btn-read-more:hover {
  opacity: 0.9;
}

.action-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.action-icon-btn:hover {
  background: rgba(125, 125, 150, 0.1);
}

.action-icon-btn.bookmarked {
  color: var(--accent);
  border-color: var(--accent);
}

/* Caught Up Screen */
.caught-up-card {
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.caught-up-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.caught-up-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.caught-up-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.caught-up-btn {
  padding: 0.75rem 1.4rem;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}

/* Modal for Image Preview & Info */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-header {
  padding-top: max(1.2rem, calc(env(safe-area-inset-top, 0) + 0.8rem));
  padding-bottom: 0.8rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.modal-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.modal-action-btn {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.modal-action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.modal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}

.modal-img {
  max-width: 96%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 12px;
  cursor: zoom-in;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.modal-img.zoomed {
  cursor: grab;
  max-width: none;
  max-height: none;
}

.modal-img.zoomed:active {
  cursor: grabbing;
}

.modal-footer {
  padding-top: 0.8rem;
  padding-bottom: max(1.2rem, calc(env(safe-area-inset-bottom, 0) + 0.8rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.modal-close-pill {
  background: #ffffff;
  color: #0f172a;
  border: none;
  border-radius: 24px;
  padding: 0.65rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.modal-close-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.modal-hint {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.2px;
}

/* Toast HUD */
.toast-hud {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #1e1e24;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.65rem 1.2rem;
  border-radius: 24px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 500;
}

.toast-hud.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Add to Home Screen Banner */
.pwa-banner {
  background: linear-gradient(135deg, #3730a3, #4f46e5);
  color: #ffffff;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pwa-banner-close {
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.1rem;
}

/* -------------------------------------------------------------
 * Desktop / Laptop Adaptations (Screens >= 768px)
 * Mobile screens (< 768px) remain 100% full-screen vertical swipe.
 * ------------------------------------------------------------- */
@media (min-width: 768px) {
  body {
    display: block;
    background:
      radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 55%), var(--bg);
    overflow: hidden;
  }

  [data-theme='light'] body {
    background:
      radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.08), transparent 55%), var(--bg);
  }

  #app {
    max-width: none;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }

  /* Desktop Top Announcement Banner */
  .desktop-banner {
    display: block !important;
    background: linear-gradient(90deg, rgba(79, 70, 229, 0.95), rgba(99, 102, 241, 0.95));
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.45rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    z-index: 120;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.25);
  }

  .desktop-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  .desktop-banner-content {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-banner-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    flex-shrink: 0;
  }

  .desktop-banner-text {
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.1px;
  }

  .desktop-banner-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .desktop-banner-btn {
    background: #ffffff;
    color: #4338ca;
    border: none;
    border-radius: 14px;
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
  }

  .desktop-banner-btn:hover {
    background: #eef2ff;
    transform: translateY(-1px);
  }

  .desktop-banner-close {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
  }

  .desktop-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }

  .desktop-only {
    display: inline-block !important;
  }

  .brand-edition {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    background: rgba(125, 125, 150, 0.14);
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
  }

  /* Full-width App Header on Desktop */
  .app-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-width: none;
    width: 100%;
    border-radius: 0;
    padding: 0 1.5rem;
    height: 56px;
    flex-shrink: 0;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
  }

  .app-header-inner {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Centered Category Pills Bar */
  .category-bar {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    max-width: none;
    width: 100%;
    padding: 0.55rem 1.5rem;
    justify-content: center;
    flex-shrink: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  /* Deck Container Fills Remaining Vertical Space */
  .deck-container {
    margin-top: 0;
    height: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
  }

  /* Tablet / Medium Desktop (768px - 1023px): Centered Vertical Card */
  .card-wrapper {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .news-card {
    max-width: 600px;
    height: min(680px, 94%);
    border-radius: 22px;
    box-shadow:
      0 16px 40px rgba(0, 0, 0, 0.35),
      0 0 0 1px var(--border);
  }

  /* Floating Desktop Navigation Controls */
  .desktop-nav {
    display: flex !important;
    position: fixed;
    right: max(1.5rem, calc((100vw - 1100px) / 2 + 1rem));
    top: 54%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    z-index: 95;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.65rem 0.55rem;
    border-radius: 28px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .desktop-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--chip-bg);
    color: var(--text);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
  }

  .desktop-nav-btn:hover:not(:disabled) {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    transform: scale(1.06);
  }

  .desktop-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .desktop-nav-key {
    font-size: 0.65rem;
    font-weight: 700;
    line-height: 1;
    margin-top: -2px;
    opacity: 0.8;
  }

  .desktop-nav-counter {
    font-size: 0.78rem;
    font-weight: 750;
    color: var(--muted);
    padding: 0.2rem 0.4rem;
    text-align: center;
    min-width: 48px;
    font-variant-numeric: tabular-nums;
  }

  .desktop-nav-hint {
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--muted);
    text-align: center;
    max-width: 48px;
    line-height: 1.2;
    padding-top: 0.2rem;
    border-top: 1px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
}

/* -------------------------------------------------------------
 * Large Screens / Laptops (Screens >= 1024px)
 * Wide horizontal split card layout for optimal desktop reading.
 * ------------------------------------------------------------- */
@media (min-width: 1024px) {
  .news-card {
    max-width: 920px;
    height: min(540px, 80%);
    flex-direction: row;
    border-radius: 24px;
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.4),
      0 0 0 1px var(--border);
  }

  .card-image-wrap {
    width: 48%;
    height: 100%;
    max-height: none;
    aspect-ratio: unset;
    border-right: 1px solid var(--border);
  }

  .card-no-image {
    width: 48%;
    height: 100%;
    min-height: unset;
    border-right: 1px solid var(--border);
    border-bottom: none;
  }

  .card-content {
    width: 52%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .card-body {
    padding: 1.5rem 1.75rem 1rem;
  }

  .card-headline {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.9rem;
    font-weight: 750;
  }

  .card-summary {
    font-size: 1.08rem;
    line-height: 1.65;
  }

  .card-actions {
    padding: 0.95rem 1.75rem;
  }

  .caught-up-card {
    max-width: 540px;
    height: auto;
    padding: 2.5rem 2rem;
    border-radius: 24px;
  }
}
