.gaia-news {
  --gaia-news-gap: 22px;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  width: 90vw;
  max-width: none;
  padding: 24px 30px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--gaia-news-background);
  font-family: Raleway, Arial, sans-serif;
  transform: translateX(-50%);
}
.gaia-news *, .gaia-news *::before, .gaia-news *::after { box-sizing: border-box; }
.gaia-news__viewport {
  width: calc(100% + 16px);
  margin: -8px;
  padding: 8px;
  overflow: hidden;
}
.gaia-news__track {
  display: flex;
  gap: var(--gaia-news-gap);
  padding-top: 5px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.gaia-news__track::-webkit-scrollbar { display: none; }
.gaia-news__card {
  position: relative;
  flex: 0 0 max(250px, calc((100% - (var(--gaia-news-gap) * (var(--gaia-news-desktop) - 1))) / var(--gaia-news-desktop)));
  min-width: 0;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  border: 2px solid transparent;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 32, 17, .12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.gaia-news__card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 32px rgba(23, 32, 17, .2);
}
.gaia-news__card::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  border: 2px solid transparent;
  border-radius: inherit;
  transition: border-color .22s ease;
}
.gaia-news__card:hover::after { border-color: var(--gaia-news-accent); }
.gaia-news__link { display: flex; height: 100%; flex-direction: column; color: #242424; text-decoration: none !important; }
.gaia-news__media {
  position: relative;
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  padding: 16px 20px 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(234, 243, 61, .55), transparent 28%),
    linear-gradient(135deg, var(--gaia-news-accent), #27351d);
  background-position: center;
  background-size: cover;
}
.gaia-news__media.has-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent 65%);
}
.gaia-news__source-mark {
  max-width: 100%;
  color: #fff;
  font-size: clamp(22px, 1.8vw, 31px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}
.gaia-news__source {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 13px;
  left: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gaia-news__body { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 15px 16px; }
.gaia-news__title {
  margin: 0;
  color: #242424;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.gaia-news__excerpt { margin: 0; color: #5d6259; font-size: 14px; line-height: 1.5; }
.gaia-news__cta { margin-top: auto; color: var(--gaia-news-accent); font-size: 14px; font-weight: 800; }
.gaia-news__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 17px; }
.gaia-news__arrow {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gaia-news-accent);
  color: #fff;
  cursor: pointer;
  font-size: 27px;
  line-height: 1;
}
.gaia-news__arrow:disabled { cursor: default; opacity: .35; }
.gaia-news__progress { width: min(180px, 35vw); height: 3px; overflow: hidden; background: rgba(75,75,75,.18); }
.gaia-news__progress span { display: block; width: 0; height: 100%; background: var(--gaia-news-accent); transition: width .2s ease; }
@media (max-width: 1024px) {
  .gaia-news__card { flex-basis: max(240px, calc((100% - (var(--gaia-news-gap) * (var(--gaia-news-tablet) - 1))) / var(--gaia-news-tablet))); }
}
@media (max-width: 600px) {
  .gaia-news {
    width: 90vw;
    padding: 14px;
    border-radius: 13px;
  }
  .gaia-news__card { flex-basis: calc((100% - (var(--gaia-news-gap) * (var(--gaia-news-mobile) - 1))) / var(--gaia-news-mobile)); }
  .gaia-news__media { min-height: 108px; }
}
@media (prefers-reduced-motion: reduce) {
  .gaia-news__track { scroll-behavior: auto; }
  .gaia-news__card { transition: none; }
}
