/* ─────────────────────────────────────────────
   NOTÍCIES (Inici). Les notícies són a noticies.json i les posa noticies.js
───────────────────────────────────────────── */
.news-section {
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 3.5rem);
}

.news-section[hidden] {
  display: none;
}

.news__container {
  max-width: 1200px;
  margin: 0 auto;
}

.news__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 1.6rem;
}

.news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(218, 26, 93, 0.08);
  color: var(--pink-dark);   /* contrast AA sobre el fons rosa clar */
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.news__spark {
  font-size: 0.9rem;
  letter-spacing: 0;
}

.news__title {
  margin-top: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
}

.news__desc {
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
}

/* Fletxes i pausa */
.news__controls {
  display: flex;
  gap: 0.6rem;
}

.news__controls[hidden],
.news__ctrl[hidden],
.news__dots[hidden] {
  display: none;
}

.news__ctrl {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(47, 47, 150, 0.1);
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.news__ctrl svg {
  width: 20px;
  height: 20px;
}

.news__ctrl:hover {
  background: var(--pink);
  color: #fff;
  transform: translateY(-2px);
}

.news__ctrl:focus-visible,
.news__dot:focus-visible,
.news-card__more:focus-visible,
.news-modal__close:focus-visible,
.news-modal__link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.news__icon-play,
.news__ctrl--pause[aria-pressed="true"] .news__icon-pause {
  display: none;
}

.news__ctrl--pause[aria-pressed="true"] .news__icon-play {
  display: block;
}

/* Fila de targetes: es pot fer lliscar amb el dit; noticies.js la fa avançar */
.news__track {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0 -6px;
  padding: 8px 6px 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.news__track::-webkit-scrollbar {
  display: none;
}

.news-card {
  --cat: 218, 26, 93;
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 44px) / 3);
  overflow: hidden;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(47, 47, 150, 0.07);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.news-card[data-cat="activitat"] { --cat: 47, 47, 150; }
.news-card[data-cat="projecte"] { --cat: 124, 58, 237; }
.news-card[data-cat="districte"] { --cat: 8, 145, 178; }
.news-card[data-cat="rotary"] { --cat: 247, 168, 27; }

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -18px rgba(var(--cat), 0.45);
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f1f1f7;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card__media img {
  transform: scale(1.05);
}

/* Notícies sense foto: la icona sobre el color de la categoria */
.news-card__media.is-icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 50%),
    linear-gradient(135deg, rgba(var(--cat), 0.9) 0%, rgba(var(--cat), 0.6) 100%);
}

.news-card__media-icon {
  font-size: 4.2rem;
  line-height: 1;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.2));
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.news-card:hover .news-card__media-icon {
  transform: scale(1.12) rotate(-6deg);
}

/* Etiqueta de la categoria */
.news-chip {
  --cat: 218, 26, 93;
  display: inline-block;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgb(var(--cat));
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.news-chip--activitat { --cat: 47, 47, 150; }
.news-chip--projecte { --cat: 124, 58, 237; }
.news-chip--districte { --cat: 8, 145, 178; }
.news-chip--rotary { --cat: 247, 168, 27; color: #1a1a1a; }

.news-card__media .news-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.35);
}

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem 1.35rem 1.35rem;
}

.news-card__date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}

.news-card__title {
  display: -webkit-box;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card__text {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* «Llegeix-ne més»: tota la targeta s'hi pot clicar */
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.news-card__more::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
}

.news-card__more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.news-card:hover .news-card__more svg {
  transform: translateX(4px);
}

.news-section .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Punts: on som del carrusel */
.news__dots {
  display: flex;
  justify-content: center;
  gap: 0;
}

.news__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(47, 47, 150, 0.18);
  background-clip: content-box;
  box-sizing: content-box;
  border: 7px solid transparent;   /* zona tàctil de 24 px (WCAG 2.5.8) amb el mateix punt visible */
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.news__dot[aria-current="true"] {
  width: 28px;
  background: var(--pink);
  background-clip: content-box;
}

/* ── Finestra de la notícia ── */
.news-modal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100% - 48px);
  margin: auto;            /* el reset general (margin: 0) la descentrava */
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: none;
  border-radius: 26px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(20, 20, 60, 0.55);
}

.news-modal[open] {
  animation: newsIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-modal::backdrop {
  background: rgba(20, 20, 60, 0.55);
  backdrop-filter: blur(4px);
}

@keyframes newsIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

html.news-open {
  overflow: hidden;
}

.news-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(20, 20, 60, 0.45);
}

.news-modal__close svg {
  width: 20px;
  height: 20px;
}

/* La foto sencera (també les verticals) */
.news-modal__media {
  display: flex;
  justify-content: center;
  background: #f1f1f7;
}

.news-modal__media img {
  display: block;
  max-width: 100%;
  max-height: 52vh;
  width: auto;
  height: auto;
}

.news-modal__media.is-icon {
  padding: 2.6rem 0;
  background: linear-gradient(135deg, #e4396f 0%, #d91b5b 60%, #c2114d 100%);
}

.news-modal__media-icon {
  font-size: 5rem;
  line-height: 1;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.2));
}

.news-modal__body {
  padding: 1.6rem clamp(1.25rem, 4vw, 2.2rem) 2rem;
}

.news-modal__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pink);
}

.news-modal__title {
  margin-top: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
}

.news-modal__text p {
  margin-top: 0.9rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #3f3f4a;
}

.news-modal__link {
  display: inline-flex;
  margin-top: 1.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 26px -10px rgba(218, 26, 93, 0.6);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.news-modal__link:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

.news-modal__link[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .news-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 600px) {
  .news__head {
    align-items: flex-start;
  }

  .news__track {
    gap: 14px;
  }

  .news-card {
    flex-basis: 84%;
  }

  /* Al mòbil es passa amb el dit: només queda el botó de pausa */
  .news__ctrl:not(.news__ctrl--pause) {
    display: none;
  }

  .news__ctrl {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-card__media img,
  .news-card__media-icon,
  .news-card__more svg,
  .news__ctrl,
  .news__dot {
    transition: none;
  }

  .news-modal[open] {
    animation: none;
  }
}

/* ─────────────────────────────────────────────
   CUB 3D: les notícies giren com les cares d'un cub (noticies.js)
───────────────────────────────────────────── */
.news-cube {
  --w: 900px;                       /* amplada real; noticies.js la posa */
  position: relative;
  max-width: 900px;
  height: 380px;
  margin: 0 auto 1.6rem;
  perspective: 1800px;
}

.news-cube__spin {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--w) / -2));
  transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.news-cube__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * 90deg)) translateZ(calc(var(--w) / 2));
}

/* Mentre gira, el cub s'allunya una mica i torna */
.news-cube.is-turning {
  animation: news-cube-zoom 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes news-cube-zoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.82); }
}

/* A dins del cub la targeta és horitzontal i ocupa tota la cara */
.news-cube .news-card {
  flex-direction: row;
  height: 100%;
  box-shadow: 0 24px 50px -24px rgba(47, 47, 150, 0.35);
}

.news-cube .news-card:hover {
  transform: none;
}

.news-cube .news-card__media {
  flex: 0 0 50%;
  aspect-ratio: auto;
}

.news-cube .news-card__body {
  justify-content: center;
  padding: 2rem 2.2rem;
}

.news-cube .news-card__title {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  -webkit-line-clamp: 3;
}

.news-cube .news-card__text {
  font-size: 0.98rem;
  -webkit-line-clamp: 4;
}

.news-cube .news-card__more {
  margin-top: 0.6rem;
}

@media (max-width: 720px) {
  .news-cube {
    height: 500px;
  }

  .news-cube .news-card {
    flex-direction: column;
  }

  .news-cube .news-card__media {
    flex: 0 0 44%;
  }

  .news-cube .news-card__body {
    justify-content: flex-start;
    padding: 1.2rem 1.35rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-cube__spin { transition: none; }
  .news-cube.is-turning { animation: none; }
}

/* ─────────────────────────────────────────────
   PORTADA DE REVISTA (substitueix el cub 3D; còpia a ../noticies.cub.css)
   Una notícia gran que canvia sola + l'índex de notícies al costat.
───────────────────────────────────────────── */
.news-mag {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.news-mag__stage {
  position: relative;
  min-height: 470px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: #1e1e6e;
  box-shadow: 0 26px 60px rgba(47, 47, 150, .2);
}
.news-mag__slide {
  --cat: 218, 26, 93;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 0 100%);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), opacity 0s .8s, visibility 0s .8s;
}
.news-mag__slide[data-cat="activitat"] { --cat: 47, 47, 150; }
.news-mag__slide[data-cat="projecte"] { --cat: 124, 58, 237; }
.news-mag__slide[data-cat="districte"] { --cat: 8, 145, 178; }
.news-mag__slide[data-cat="rotary"] { --cat: 247, 168, 27; }
.news-mag__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path .8s cubic-bezier(.7, 0, .2, 1), opacity 0s, visibility 0s;
}
.news-mag__slide.is-leaving { z-index: 1; opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: none; }

.news-mag__media { position: absolute; inset: 0; z-index: -1; }
.news-mag__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 6s ease-out;
}
.news-mag__slide.is-active .news-mag__media img { transform: scale(1); }
.news-mag__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 12, 50, 0) 30%, rgba(14, 12, 50, .55) 60%, rgba(14, 12, 50, .92) 100%),
    linear-gradient(90deg, rgba(var(--cat), .35), transparent 55%);
}
.news-mag__media.is-icon {
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 70% 30%, rgba(var(--cat), .9), #1e1e6e 75%);
}
.news-mag__media-icon { font-size: 7rem; transform: translateY(-3rem); filter: drop-shadow(0 12px 24px rgba(0,0,0,.3)); }

.news-mag__body {
  position: relative;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  max-width: 640px;
}
.news-mag__meta { display: flex; align-items: center; gap: .75rem; margin: 0 0 .8rem; }
.news-mag__date { font-family: 'Montserrat', sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.news-mag__title {
  margin: 0 0 .6rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}
.news-mag__text {
  margin: 0 0 1.1rem;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .86);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-mag__more {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 999px;
  background: #da1a5d;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(218, 26, 93, .4);
  transition: transform .25s ease, background .25s ease;
}
.news-mag__more svg { width: 16px; height: 16px; transition: transform .25s ease; }
.news-mag__more:hover { background: #b8124b; transform: translateY(-2px); }
.news-mag__more:hover svg { transform: translateX(4px); }
.news-mag__more:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* número gran de la notícia */
.news-mag__num {
  position: absolute;
  top: .6rem; right: 1.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55);
  pointer-events: none;
}

/* entrada escalonada del text */
.news-mag__slide .news-mag__meta,
.news-mag__slide .news-mag__title,
.news-mag__slide .news-mag__text,
.news-mag__slide .news-mag__more,
.news-mag__slide .news-mag__num { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.news-mag__slide.is-active .news-mag__meta { opacity: 1; transform: none; transition-delay: .35s; }
.news-mag__slide.is-active .news-mag__title { opacity: 1; transform: none; transition-delay: .45s; }
.news-mag__slide.is-active .news-mag__text { opacity: 1; transform: none; transition-delay: .55s; }
.news-mag__slide.is-active .news-mag__more { opacity: 1; transform: none; transition-delay: .65s; }
.news-mag__slide.is-active .news-mag__num { opacity: 1; transform: none; transition-delay: .3s; }

/* índex */
.news-mag__index {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  position: relative;
}
.news-mag__index[hidden] { display: none; }
.news-mag__item { flex: 1 1 0; display: flex; }
.news-mag__pick {
  --cat: 218, 26, 93;
  --p: 0;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
  border: 1px solid rgba(47, 47, 150, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .55);
  color: #1e1e6e;
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: background .3s ease, box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.news-mag__pick[data-cat="activitat"] { --cat: 47, 47, 150; }
.news-mag__pick[data-cat="projecte"] { --cat: 124, 58, 237; }
.news-mag__pick[data-cat="districte"] { --cat: 8, 145, 178; }
.news-mag__pick[data-cat="rotary"] { --cat: 200, 130, 10; }
.news-mag__pick:hover { background: #fff; }
.news-mag__pick[aria-current="true"] {
  background: #fff;
  border-color: rgba(var(--cat), .35);
  box-shadow: 0 14px 34px rgba(47, 47, 150, .14);
}
.news-mag__pick:focus-visible { outline: 3px solid #2f2f96; outline-offset: 2px; }
.news-mag__pick-num {
  flex: 0 0 auto;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(47, 47, 150, .35);
  transition: color .3s ease, -webkit-text-stroke-color .3s ease;
}
.news-mag__pick[aria-current="true"] .news-mag__pick-num { color: #da1a5d; -webkit-text-stroke-color: #da1a5d; }
.news-mag__pick-txt { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.news-mag__pick-date {
  font-family: 'Montserrat', sans-serif;
  font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgb(var(--cat));
}
.news-mag__pick-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .95rem; font-weight: 700; line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-mag__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #2f2f96, #da1a5d);
  transform: scaleX(var(--p));
  transform-origin: left;
  opacity: 0;
}
.news-mag__pick[aria-current="true"] .news-mag__bar { opacity: 1; }

@media (max-width: 900px) {
  .news-mag { grid-template-columns: 1fr; }
  .news-mag__stage { min-height: 420px; }
  .news-mag__pick[aria-current="true"], .news-mag__pick:hover { transform: none; }
}
@media (max-width: 600px) {
  .news-mag { gap: .8rem; }
  .news-mag__stage { min-height: 380px; border-radius: 22px; }
  .news-mag__text { font-size: .9rem; }
  .news-mag__num { font-size: 3.6rem; right: 1rem; }
  .news-mag__index {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: .5rem;
    padding: 0 0 .3rem;
    scrollbar-width: none;
  }
  .news-mag__index::-webkit-scrollbar { display: none; }
  .news-mag__item { flex: 0 0 72%; scroll-snap-align: start; }
  .news-mag__pick { padding: .75rem .9rem; gap: .7rem; border-radius: 16px; }
  .news-mag__pick-num { font-size: 1.3rem; }
  .news-mag__pick-title { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .news-mag__slide, .news-mag__slide.is-active { transition: none; }
  .news-mag__media img { transform: none; transition: none; }
  .news-mag__slide .news-mag__meta, .news-mag__slide .news-mag__title, .news-mag__slide .news-mag__text,
  .news-mag__slide .news-mag__more, .news-mag__slide .news-mag__num { transition: none; }
}
