/* ===== RESET ===== */
html, body {
  margin: 0;
  background: rgb(248, 241, 227);
  overflow-x: hidden; /* quita scroll horizontal */
  overflow-y: scroll;

  scrollbar-width: none; /* Firefox */
}

/* Chrome / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

/* ESCALA GLOBAL */
html {
  font-size: clamp(14px, 1vw, 18px);
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2vw;
}

/* BOTÓN VOLVER */
.btn-back {
  text-decoration: none;
  font-family: 'MiFuente', sans-serif;
  color: rgba(0,10,147,0.84);
  letter-spacing: -0.02em;
  font-weight: 600;
  font-size: 2.25rem;
}

/* ===== IDIOMA ===== */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  opacity: 0.4;
}

.lang-switch button.active {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.4;
}

.contenedor_apartados {
  display: flex;
  flex-direction: row;
  gap: 3.5rem; /* espacio entre DEPORTES y CONCIERTOS */
  flex-wrap: wrap;
}

.apartados {
  display: flex;
  flex-direction: column;
}

.contenedor_apartados {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

.apartados {
  display: flex;
  flex-direction: column;
}

.apartados .a_apartados {
  display: inline-block;
  margin-top: 0.5rem;
  margin-left: 2rem;
  font-size: 0.9rem;
  font-family: "Mifuente";
  font-style: italic;
  color: rgba(4, 4, 9, 0.84);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.apartados img {
  width: 20rem;      /* antes 30rem */
  height: 13rem;     /* mantener proporción */
  margin-top: 3rem;
  margin-left: 2rem;
  display: block;
  object-fit: cover;
}

.a_apartados:hover {
  opacity: 0.7;
  transform: translateX(0.1rem);
}

/* click casi imperceptible */
.a_apartados:active {
  transform: translatex(0.2rem);
  opacity: 0.45;
}

/* opcional: coherencia con links */
.a_apartados:focus {
  outline: none;
}

/* ===== FUENTE ===== */
@font-face {
  font-family: 'MiFuente';
  src: url('CargoMonumentGroteskPlusVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
}


/* ocultar idioma */
[hidden] {
  display: none !important;
}

