/* Fercal FM — Listener site, news portal & player */

:root {
  --ff-charcoal: #0B0F14;
  --ff-charcoal-2: #121820;
  --ff-charcoal-3: #1A222D;
  --ff-gold: #E60809;
  --ff-gold-soft: #FF3A3A;
  --ff-cream: #F3EDE2;
  --ff-cream-muted: #C9C0B0;
  --ff-ember: #9B1218;
  --ff-ember-soft: #D43A3A;
  --ff-success: #3D9B6E;
  --ff-danger: #C43C3C;
  --ff-info: #3A7CA5;

  --bg: var(--ff-charcoal);
  --bg-elevated: var(--ff-charcoal-2);
  --bg-card: var(--ff-charcoal-3);
  --text: var(--ff-cream);
  --text-muted: var(--ff-cream-muted);
  --accent: var(--ff-gold);
  --accent-hover: var(--ff-gold-soft);
  --ember: var(--ff-ember);
  --border: rgba(243, 237, 226, 0.08);
  --border-strong: rgba(230, 8, 9, 0.35);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --nav-h: 64px;
  --player-h: 76px;
  --bottom-nav-h: 64px;
  --font-ui: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --transition: 0.22s ease;
  --max: 1120px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F7F3EB;
  --bg-elevated: #FFFFFF;
  --bg-card: #FFFFFF;
  --text: #1A1F26;
  --text-muted: #5C6570;
  --accent: #C41E1E;
  --accent-hover: #E60809;
  --ember: #9B1218;
  --border: rgba(11, 15, 20, 0.1);
  --border-strong: rgba(196, 30, 30, 0.4);
  --shadow: 0 10px 30px rgba(11, 15, 20, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(230, 8, 9, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 100% 0%, rgba(155, 18, 24, 0.08), transparent);
  padding-bottom: calc(var(--player-h) + var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 1em;
}

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

/* ——— Shell ——— */
.app-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: calc(var(--nav-h) - 8px);
  margin: 0.75rem 0.75rem 0;
  padding: 0 1rem;
  background: color-mix(in srgb, var(--bg-elevated) 72%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
}

.brand-link:hover {
  color: var(--text);
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background var(--transition), color var(--transition);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  background: var(--bg-card);
  color: var(--accent);
  outline: none;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.desktop-nav a {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: var(--text);
  background: var(--bg-card);
}

.desktop-nav a.is-active {
  color: var(--accent);
}

#main-content {
  min-height: calc(100vh - var(--nav-h) - var(--player-h) - var(--bottom-nav-h));
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 2.5rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-size: 1.65rem;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
  max-width: 36ch;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ff-gold) 0%, var(--ff-ember) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(230, 8, 9, 0.28);
}

.btn-primary:hover {
  color: #fff;
  filter: brightness(1.06);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--accent);
}

.btn-ember {
  background: var(--ember);
  color: #fff;
}

.btn-lg {
  min-height: 56px;
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ——— Hero (listener home) ——— */
.hero-live {
  position: relative;
  min-height: calc(100svh - var(--nav-h) - var(--player-h) - var(--bottom-nav-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  overflow: hidden;
}

.hero-live::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(230, 8, 9, 0.18), transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(155, 18, 24, 0.12), transparent 45%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.05); }
}

.hero-live > * {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: clamp(160px, 42vw, 280px);
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: 22px;
  filter: drop-shadow(0 8px 24px rgba(230, 8, 9, 0.35));
  animation: logoIn 0.8s ease both;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(155, 18, 24, 0.2);
  border: 1px solid rgba(155, 18, 24, 0.45);
  color: var(--ff-cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  animation: badgePulse 2.4s ease-in-out infinite;
}

.live-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E74C3C;
  box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6);
  animation: liveDot 1.6s ease-out infinite;
}

@keyframes liveDot {
  0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 3.75rem);
  font-weight: 650;
  margin: 0 0 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--ff-cream) 30%, var(--ff-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-play {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  margin-bottom: 0.5rem;
}

.hero-play .btn {
  min-width: 160px;
  animation: ctaIn 0.9s 0.15s ease both;
}

.listener-count--hero {
  margin-top: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 500;
  animation: ctaIn 0.9s 0.25s ease both;
}

@keyframes ctaIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-now {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
  width: 100%;
}

.hero-cover {
  width: 180px;
  height: 180px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.hero-track {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.hero-artist {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0.15rem 0 0;
}

.listener-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.listener-count svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
}

/* ——— Cards / lists ——— */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.media-row {
  display: grid;
  gap: 1rem;
}

.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.news-card:last-child {
  border-bottom: none;
}

.news-card__thumb {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-card);
  display: block;
}

.news-card__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-card h3 {
  font-size: 1.2rem;
  margin: 0.25rem 0;
}

.news-card h3 a {
  color: var(--text);
}

.news-card h3 a:hover {
  color: var(--accent);
}

.news-card__excerpt {
  color: var(--text-muted);
  margin: 0.35rem 0 0;
  line-height: 1.45;
}

.news-card__thumb--placeholder {
  background: linear-gradient(135deg, var(--bg-card), color-mix(in srgb, var(--accent) 18%, var(--bg-card)));
}

.news-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.news-article__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.news-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
}

.news-article__body p {
  margin-bottom: 1.25em;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.schedule-item__time {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.schedule-item__title {
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.schedule-item__host {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.team-member {
  text-align: center;
}

.team-member__avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
  border: 2px solid var(--border-strong);
  background: var(--bg-card);
}

.team-member__name {
  font-weight: 600;
  margin: 0;
}

.team-member__role {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0.2rem 0 0;
}

/* ——— Forms ——— */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 480px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 8, 9, 0.2);
}

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

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(61, 155, 110, 0.15);
  border: 1px solid rgba(61, 155, 110, 0.35);
  color: #7DCEA0;
}

.alert-error {
  background: rgba(196, 60, 60, 0.15);
  border: 1px solid rgba(196, 60, 60, 0.35);
  color: #F1948A;
}

.alert-info {
  background: rgba(58, 124, 165, 0.15);
  border: 1px solid rgba(58, 124, 165, 0.35);
  color: #85C1E9;
}

[data-theme="light"] .alert-success { color: #1E8449; }
[data-theme="light"] .alert-error { color: #922B21; }
[data-theme="light"] .alert-info { color: #1A5276; }

/* ——— More menu / pages ——— */
.more-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.more-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
}

.more-list a:hover {
  color: var(--accent);
}

.more-list svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 1.5rem 0 0.5rem;
}

.page-lead {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.promo-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.promo-card h3 {
  margin: 0 0 0.4rem;
}

.podcast-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.podcast-item__art {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-card);
}

/* ——— Persistent player ——— */
.player-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  height: var(--player-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.85rem;
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

.player-bar__cover {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.player-bar__meta {
  min-width: 0;
}

.player-bar__title {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.player-bar__artist {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0.1rem 0 0;
}

.player-bar__controls {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.player-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text);
}

.player-btn--play {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--ff-gold), var(--ff-ember));
  color: #fff;
}

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

.player-btn--play svg {
  width: 22px;
  height: 22px;
}

.player-volume {
  display: none;
  align-items: center;
  gap: 0.4rem;
}

.player-volume input[type="range"] {
  width: 80px;
  accent-color: var(--accent);
}

#fercal-audio {
  display: none;
}

/* ——— Bottom nav ——— */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem;
}

.bottom-nav a.is-active {
  color: var(--accent);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ——— Radio page ——— */
.radio-stage {
  padding: 2rem 0 3rem;
  text-align: center;
}

.radio-stage .hero-cover {
  width: 240px;
  height: 240px;
  margin: 0 auto 1.5rem;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 28px;
  margin: 1rem 0;
}

.eq-bars span {
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  animation: eq 0.9s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(1) { height: 40%; animation-delay: 0s; }
.eq-bars span:nth-child(2) { height: 70%; animation-delay: 0.15s; }
.eq-bars span:nth-child(3) { height: 100%; animation-delay: 0.3s; }
.eq-bars span:nth-child(4) { height: 55%; animation-delay: 0.1s; }
.eq-bars span:nth-child(5) { height: 80%; animation-delay: 0.25s; }

.eq-bars.is-paused span {
  animation: none;
  height: 20%;
  opacity: 0.4;
}

@keyframes eq {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

/* ——— Footer ——— */
.site-footer {
  padding: 2rem 0 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--text-muted);
}

/* ——— PJAX transition ——— */
#main-content.is-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

#main-content.is-ready {
  animation: contentFade 0.28s ease;
}

@keyframes contentFade {
  from { opacity: 0.4; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* ——— Empty / offline ——— */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

/* ——— Desktop ——— */
@media (min-width: 768px) {
  body {
    padding-bottom: var(--player-h);
  }

  .site-header {
    top: 1rem;
    margin: 1rem 1.25rem 0;
    padding: 0 1.25rem;
    height: var(--nav-h);
    border-radius: 20px;
    max-width: calc(var(--max) + 2.5rem);
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 2.5rem);
  }

  .bottom-nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
  }

  .player-bar {
    bottom: 0;
    grid-template-columns: auto 1fr auto auto;
    padding: 0 1.5rem;
    gap: 1.25rem;
  }

  .player-volume {
    display: flex;
  }

  .player-bar__cover {
    width: 56px;
    height: 56px;
  }

  .hero-live {
    min-height: calc(100svh - var(--nav-h) - var(--player-h));
  }

  #main-content {
    min-height: calc(100vh - var(--nav-h) - var(--player-h));
  }

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

  .news-card {
    grid-template-columns: 200px 1fr;
    align-items: start;
    border-bottom: none;
    padding: 0;
  }

  .news-card__thumb {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-now {
    flex-direction: row;
    max-width: 420px;
    text-align: left;
  }

  .hero-cover {
    width: 160px;
    height: 160px;
  }
}

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