/* ==================================================
  MODERN CSS RESET
   ================================================== */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins */
* {
  margin: 0;
}

/* Root defaults */
html {
  hanging-punctuation: first last;
}

html:focus-within {
  scroll-behavior: smooth;
}

/* Body defaults */
body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #111;
  
  background-color: #f7f5f0;
  background-image:
    url("../assets/img/fondo-web.png");
  background-position: center top;
  background-repeat: repeat-y;
  background-size: 100% auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Improve text wrapping */
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p,
li,
figcaption {
  text-wrap: pretty;
}

/* Lists */
ul,
ol {
  padding: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Links */
a {
  color: inherit;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img,
picture {
  height: auto;
}

/* Forms */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button,
select {
  text-transform: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
}

button:disabled,
input:disabled {
  cursor: not-allowed;
}

textarea {
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

blockquote,
q {
  quotes: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

:target {
  scroll-margin-block: 6rem;
}

:focus-visible {
  outline: 0.125rem solid currentColor;
  outline-offset: 0.1875rem;
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*====================================*/
/* Custom properties*/
/*====================================*/
:root{
  --background-color:#f7f5f0;
  --postit-yellow:#f6e58d;
  --postit-pink:#f4b6c2;    
  --postit-blue:#a8d8ea;
  --postit-green:#b8e0c1;
  --font-color:#111;
  --black-color:#242424;
  --color-card-carrousel:#b1ab99;
  --color-card-selected:#645e4e;
  --color-selector:#ea504c;
  --color-selector-secondary:#f6a623;
  --overlay-yellow: rgba(252, 238, 171, 0.38);
  --overlay-pink: rgba(243, 201, 210, 0.38);
  --overlay-blue: rgb(168 216 234 / 38%);
  --overlay-green: rgb(184 224 193 / 38%);
  --overlay-light: rgb(255 255 255 / 48%);
  --overlay-dark: rgb(36 36 36 / 88%);
}

.container{
  width: min(100% - 3rem, 87.5rem);
  margin-inline: auto;
}
/*========================================*/
/* ==================================================
    NAVBAR - ESCRITORIO
   ================================================== */

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  width: 100%;
  background-color: #fff;

  transition:
    transform 300ms ease,
    box-shadow 300ms ease;
}

/* Se aplica cuando el usuario baja */
.site-header.is-hidden {
  transform: translateY(-100%);
}

/* Sombra cuando el encabezado está flotando */
.site-header.is-scrolled {
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}

.navbar {
  width: min(100% - 3rem, 87.5rem);
  margin-inline: auto;
  padding-block: 1.75rem 1.25rem;
}

.navbar__top {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar__logo img {
  display: block;
  width: clamp(10rem, 20vw, 17.5rem);
  height: auto;
}

.navbar__divider {
  width: 100%;
  height: 0.0625rem;
  margin-block: 1.5rem 1.125rem;

  background-color: #111;
}

.navbar__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  gap: 1rem 2.25rem;

  margin: 0;
  padding: 0;

  list-style: none;
}

.navbar__menu a {
  position: relative;

  display: inline-block;

  color: #111;
  font-weight: 500;
  text-decoration: none;
}

.navbar__menu a::after {
  content: "";

  position: absolute;
  left: 0;
  bottom: -0.4375rem;

  width: 100%;
  height: 0.125rem;

  background-color: currentColor;

  transform: scaleX(0);
  transform-origin: right;

  transition: transform 200ms ease;
}

.navbar__menu a:hover::after,
.navbar__menu a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar__toggle {
  display: none;

  width: 2.75rem;
  height: 2.75rem;
  padding: 0.625rem;

  border: 0;
  background-color: transparent;
}

.navbar__toggle-line {
  display: block;

  width: 100%;
  height: 0.125rem;
  margin-block: 0.375rem;

  background-color: #111;

  transition:
    transform 250ms ease,
    opacity 200ms ease;
}

/*============POST ITS=================*/
/* ==================================================
    GRILLA DE POST-ITS
   ================================================== */

.postits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.postit {
  --postit-accent: #111;
  --postit-highlight: rgba(17, 17, 17, 0.12);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 24rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  color: #111;
  background-color: #ffffff;
  border: 0.0625rem solid rgba(17, 17, 17, 0.08);
  box-shadow:
    0 0.125rem 0.25rem rgba(0, 0, 0, 0.04),
    0 0.75rem 1.5rem rgba(0, 0, 0, 0.08),
    0 1.5rem 3rem rgba(0, 0, 0, 0.10);
  transform: rotate(-0.7deg);
  transform-origin: center;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease;
}

/* Simula la parte adhesiva o sombra superior */

.postit::before {
  content: "";
  position: absolute;
  inset: 0.45rem -0.35rem -0.4rem 0.35rem;
  z-index: -1;
  background-color: #ffffff;
  border: 0.0625rem solid rgba(17, 17, 17, 0.05);
  box-shadow:
    0 0.5rem 1rem rgba(0, 0, 0, 0.05);
  transform: rotate(0.8deg);
  pointer-events: none;
}

.postit::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.55),
      rgba(255, 255, 255, 0) 2.75rem
    );
}

.postit:nth-child(even) {
  transform: rotate(0.7deg);
}

.postit:nth-child(3) {
  transform: rotate(0.35deg);
}

.postit:nth-child(4) {
  transform: rotate(-0.35deg);
}

.postit:hover {
  z-index: 1;
  box-shadow:
    0 0.5rem 0.75rem rgba(0, 0, 0, 0.1),
    0 1.75rem 3.5rem rgba(0, 0, 0, 0.16);

  transform: translateY(-0.75rem) rotate(0deg);
}

/*==clip===*/
.postit__clip {
  position: absolute;
  top: -1.2rem;
  right: 1.1rem;
  z-index: 3;
  width: 2rem;
  height: auto;
  pointer-events: none;
  user-select: none;
  transform: rotate(8deg);
  filter: drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.18));
}

.postit:nth-child(even) .postit__clip {
  transform: rotate(-6deg);
}

.postit:nth-child(3n) .postit__clip {
  transform: rotate(4deg);
}

.postit:nth-child(4n) .postit__clip {
  transform: rotate(10deg);
}

/* Colores */

.postit--yellow {
  --postit-accent: #8a7300;
  --postit-highlight: rgba(246, 229, 141, 0.82);
}

.postit--green {
  --postit-accent: #3f704b;
  --postit-highlight: rgba(184, 224, 193, 0.82);
}

.postit--blue {
  --postit-accent: #246984;
  --postit-highlight: rgba(168, 216, 234, 0.82);
}

.postit--pink {
  --postit-accent: #98465d;
  --postit-highlight: rgba(244, 182, 194, 0.82);
}

/* Contenido */

.postit__day {
  margin-bottom: 2.5rem;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.postit__category {
  display: inline;
  width: fit-content;

  margin-bottom: 1.25rem;

  color: #111;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;

  box-shadow:
    inset 0 -0.42em 0 var(--postit-highlight);
}

.postit__description {
  max-width: 31rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.postit__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  width: fit-content;
  margin-top: auto;

  color: var(--postit-accent);
  font-weight: 700;
  text-decoration: none;
}

.postit__link span {
  transition: transform 200ms ease;
}

.postit__link:hover span,
.postit__link:focus-visible span {
  transform: translateX(0.375rem);
}
/*==========================================*/
/*=================Grilla tipo css tricks======================*/
/* ==================================================
    ENTRADAS DEL EJE
   ================================================== */

.entries {
  padding-block: 2rem 4rem;
  color: var(--font-color);
  background-color: transparent;
}

.entries__container {
  width: min(100% - 3rem, 87.5rem);
  margin-inline: auto;
}

/* ==================================================
   ENCABEZADO
   ================================================== */

.entries__header {
  margin-bottom: 1.5rem;
}

.entries__eyebrow {
  margin-bottom: 0.25rem;

  color: var(--color-selector);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entries__title {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ==================================================
    SELECTOR HORIZONTAL
   ================================================== */

.entry-selector {
  display: flex;
  align-items: stretch;

  margin-bottom: 2rem;
  padding-block: 0.75rem 1.25rem;
  padding-inline: 0.5rem;

  overflow-x: auto;
  overflow-y: hidden;

  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 0.5rem;

  scrollbar-color: #777 #333;
  scrollbar-width: thin;
}

.entry-selector__card {
  position: relative;

  display: flex;
  flex: 0 0 15rem;
  flex-direction: column;
  align-items: flex-start;

  min-height: 10rem;
  padding: 1.25rem;

  color: #222;
  text-align: left;

  background-color: #CBC8BD;
  border: 0;
  border-radius: 0.625rem;

  box-shadow:
    -0.75rem 0 1.5rem rgba(0, 0, 0, 0.25);

  scroll-snap-align: start;

  transition:
    transform 200ms ease,
    background-color 200ms ease,
    outline-color 200ms ease;
}

.entry-selector__card + .entry-selector__card {
  margin-left: -2rem;
}

.entry-selector__card:hover {
  z-index: 2;
  background-color: #8F8770;
  transform: translateY(-0.375rem);
}

.entry-selector__card:hover ~ .entry-selector__card {
  transform: translateX(1.75rem);
}

/* Tarjeta seleccionada */

.entry-selector__card.is-active {
  

  background-color: #645e4e;

  outline: 0.1875rem solid var(--color-selector);
  outline-offset: -0.1875rem;
}

.entry-selector__card.is-active::after {
  content: "";

  position: absolute;
  left: 1rem;
  bottom: 1rem;

  width: 0.625rem;
  height: 0.625rem;

  background-color: var(--color-selector);

  border-radius: 50%;
}

.entry-selector__date {
  margin-bottom: 1rem;

  color: var(--black-color);
  font-size: 0.6875rem;
}

.entry-selector__day {
  margin-bottom: 0.25rem;

  color: var(--color-selector);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.entry-selector__title {
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
}

/* ==================================================
    CONTENIDO PRINCIPAL: DOS COLUMNAS
   ================================================== */

.entries__content {
  display: grid;
  grid-template-columns: minmax(0, .6fr) minmax(18rem, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

/* ==================================================
    TARJETA GRANDE SELECCIONADA
   ================================================== */

.selected-entry {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 26rem;
  padding: clamp(2rem, 5vw, 4rem);

  color: #111;
  background-color: #f6e58d;

  border-radius: 0.75rem;

  box-shadow:
    0 0.5rem 1rem rgba(0, 0, 0, 0.12),
    0 2rem 4rem rgba(0, 0, 0, 0.2);

  overflow: hidden;
}

/* Brillo superior tipo papel */

.selected-entry::before {
  content: "";

  position: absolute;
  inset: 0 0 auto;

  height: 3rem;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0)
  );

  pointer-events: none;
}

.selected-entry__date {
  margin-bottom: clamp(2rem, 6vw, 4rem);

  font-size: 0.875rem;
  font-weight: 600;
}

.selected-entry__day {
  margin-bottom: 0.5rem;

  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 850;
  line-height: 0.85;
  letter-spacing: -0.07em;
}

.selected-entry__title {
  max-width: 34rem;
  margin-bottom: 1.25rem;

  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.035em;
}

.selected-entry__description {
  max-width: 38rem;
  margin-bottom: 2rem;

  font-size: 1rem;
  line-height: 1.6;
}

.selected-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  width: fit-content;
  margin-top: auto;

  font-weight: 800;
  text-decoration: none;
}

.selected-entry__link span {
  transition: transform 200ms ease;
}

.selected-entry__link:hover span,
.selected-entry__link:focus-visible span {
  transform: translateX(0.375rem);
}

/* Animación al cambiar */

.selected-entry.is-changing {
  animation: entry-change 300ms ease;
}

@keyframes entry-change {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================================================
   INFORMACIÓN FIJA
   ================================================== */

.entries__information {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-block: 1.5rem;
}

.entries__information-eyebrow {
  margin-bottom: 0.75rem;

  color: #f6a623;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.entries__information-title {
  margin-bottom: 1.5rem;

  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.entries__information p {
  /*max-width: 36rem;*/
  margin-bottom: 1.25rem;

  color: var(--black-color);
  line-height: 1.7;
}

.entries__information h3 {
  margin-block: 1rem 0.5rem;

  color: var(--font-color);
  font-size: 1.125rem;
}
/* ==================================================
    TARJETAS
   ================================================== */

.mini-card {
  position: relative;

  display: flex;
  flex: 0 0 17rem;
  flex-direction: column;

  min-height: 16.5rem;
  padding: 1.5rem;

  color: #fff;
  background-color: #333;

  border-radius: 0.75rem;

  box-shadow:
    -1rem 0 2rem rgba(0, 0, 0, 0.35);

  scroll-snap-align: start;

  transition:
    transform 200ms ease,
    margin 200ms ease,
    background-color 200ms ease;
}

/*
 * A partir de la segunda tarjeta aplicamos margen negativo.
 * Eso hace que las tarjetas se superpongan.
 */
.mini-card + .mini-card {
  margin-left: -3rem;
}

/*
 * Al pasar el cursor, la tarjeta sube y las siguientes
 * se desplazan ligeramente hacia la derecha.
 */
.mini-card:hover,
.mini-card:focus-within {
  z-index: 2;

  background-color: #3b3b3b;

  transform: translateY(-0.5rem);
}

.mini-card:hover ~ .mini-card,
.mini-card:focus-within ~ .mini-card {
  transform: translateX(2.5rem);
}

.mini-card__date {
  margin-bottom: 1.25rem;

  color: #aaa;
  font-size: 0.75rem;
}

.mini-card__day {
  margin-bottom: 0.25rem;

  color: #f6a623;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mini-card__title {
  margin-bottom: 0.875rem;

  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.15;
}

.mini-card__text {
  margin-bottom: 1.5rem;

  color: #d4d4d4;
  font-size: 0.875rem;
  line-height: 1.5;
}

.mini-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  width: fit-content;
  margin-top: auto;

  color: #f6a623;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.mini-card__link span {
  transition: transform 200ms ease;
}

.mini-card__link:hover span,
.mini-card__link:focus-visible span {
  transform: translateX(0.375rem);
}

/* ==================================================
    DIARIO DEL PLAN
   ================================================== */

.diario {
  padding-block: clamp(4rem, 8vw, 8rem);
  overflow: hidden;
  background-color: transparent;
}

.diario__container {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

.diario__header {
  max-width: 46rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.diario__eyebrow {
  margin-bottom: 0.75rem;

  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.diario__title {
  margin-bottom: 1.25rem;

  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.diario__intro {
  max-width: 38rem;

  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
}

.diario__mobile-instruction {
  display: none;
}
/*=================Fin diario======================*/
/*===============submenu===================*/
.section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;

  margin-top: 1.5rem;
  padding-bottom: 1rem;

  border-bottom: 0.0625rem solid
    rgba(17, 17, 17, 0.2);
}

.section-nav a {
  display: inline-flex;
  align-items: center;

  min-height: 2.75rem;
  padding-inline: 1rem;

  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;

  border: 0.0625rem solid var(--font-color);
  border-radius: 999rem;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 200ms ease;
}

.section-nav a:hover,
.section-nav a:focus-visible {
  color: #fff;
  background-color: var(--font-color);
  transform: translateY(-0.125rem);
}
/* ==================================================
    BUSCADOR DE DOCUMENTOS
   ================================================== */

.buscador-documentos {
  padding-block: clamp(4rem, 8vw, 7rem);
  background-color: var(--overlay-light);
}

.buscador-documentos__container {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

.buscador-documentos__header {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.buscador-documentos__eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.buscador-documentos__title {
  margin-bottom: 1rem;

  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.buscador-documentos__intro {
  font-size: 1.125rem;
  line-height: 1.6;
}

.buscador-documentos__controles {
  display: flex;
  flex-direction:column;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
  gap: 0.5rem 1rem;

  margin-bottom: 1.5rem;
}

.buscador-documentos__controles label {
  font-size: 0.875rem;
  font-weight: 700;
}

.buscador-documentos__controles label:nth-of-type(1) {
  grid-column: 1;
}

.buscador-documentos__controles label:nth-of-type(2) {
  grid-column: 2;
}

.buscador-documentos__controles input,
.buscador-documentos__controles select {
  min-height: 3.25rem;
  padding-inline: 1rem;
  color: var(--font-color);
  border: 0.0625rem solid var(--font-color);
  border-radius: 0;
  background-color: #fff;
}

.buscador-documentos__estado {
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.resultados-documentos {
  display: grid;
  gap: 1rem;
}

.documento {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;

  padding: clamp(1.25rem, 3vw, 2rem);

  border-top: 0.0625rem solid #111;
  background-color: #fff;
}

.documento__categoria {
  margin-bottom: 0.5rem;

  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.documento__titulo {
  margin-bottom: 0.75rem;

  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.2;
}

.documento__metadatos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem 1rem;

  margin-bottom: 0.75rem;

  color: #444;
  font-size: 0.9375rem;
}

.documento__temas {
  max-width: 52rem;
  color: #333;
}

.documento__enlace {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  padding: 0.75rem 1rem;

  border: 0.0625rem solid #111;

  font-weight: 700;
  text-decoration: none;

  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.documento__enlace:hover,
.documento__enlace:focus-visible {
  color: #fff;
  background-color: #111;
}

.documento__no-disponible {
  color: #666;
  font-size: 0.875rem;
  font-weight: 700;
}
.buscador-documentos__ver-todos {
  align-self: flex-start;

  min-height: 3rem;
  margin-top: 0.5rem;
  padding-inline: 1.25rem;

  color: var(--font-color);
  font-weight: 700;

  background-color: transparent;
  border: 0.0625rem solid var(--font-color);

  transition:
    color 200ms ease,
    background-color 200ms ease;
}

.buscador-documentos__ver-todos:hover,
.buscador-documentos__ver-todos:focus-visible {
  color: #fff;
  background-color: var(--font-color);
}

.buscador-documentos__ver-todos:disabled {
  cursor: wait;
  opacity: 0.5;
}

/* ==================================================
   ANIMACIÓN DE RESULTADOS
   ================================================== */

.resultados-documentos {
  display: grid;
  gap: 1rem;

  opacity: 1;
  transform: translateY(0);

  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.resultados-documentos.is-hiding {
  opacity: 0;
  transform: translateY(0.5rem);
}

.resultados-documentos.is-showing {
  animation: resultados-fade-in 280ms ease;
}

@keyframes resultados-fade-in {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*====================================*/
/* VIDEOS */
/*====================================*/

.videos {
  padding-block: 5rem;
  overflow: hidden;
  background-color: var(--overlay-yellow);
}

.videos__container {
  width: min(100% - 2rem, 75rem);
  margin-inline: auto;
}

.videos__header {
  max-width: 43.75rem;
  margin-bottom: 2.5rem;
}

.videos__eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.videos__title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
}

.videos__intro {
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Contenedor de los videos */

.videos__slider-wrapper {
  position: relative;
}

.videos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Cuando hay un único video */

.videos__grid:has(.video-card:only-child) {
  grid-template-columns: minmax(0, 50rem);
  justify-content: start;
}

/* Cuando hay exactamente dos videos */

.videos__grid:has(
  .video-card:first-child:nth-last-child(2)
) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Tarjeta individual */

.video-card {
  min-width: 0;
  overflow: hidden;
  background-color: #ffffff;
  border: 0.0625rem solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.video-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Contenedor responsive 16:9 */

.video-card__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000000;
}

.video-card__player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__content {
  padding: 1.25rem;
}

.video-card__category {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card__title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.25;
}

.video-card__description {
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Controles mobile ocultos en desktop */

.videos__arrow,
.videos__mobile-instruction {
  display: none;
}

/* ==================================================
   PÁGINA EL PLAN
   ================================================== */

.plan-hero,
.plan-definition,
.plan-importance,
.plan-community {
  color: var(--font-color);
  background-color: transparent;
}

.plan-hero__container,
.plan-definition__container,
.plan-importance__container,
.plan-community__container {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

/* ==================================================
   HERO
   ================================================== */

.plan-hero {
  padding-block: clamp(4rem, 10vw, 8rem);
}

.plan-hero__container {
  position: relative;
}

.plan-hero__eyebrow {
  margin-bottom: 1.25rem;

  color: var(--color-selector);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-hero__title {
  max-width: 62rem;
  margin-bottom: 2rem;

  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 850;
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.plan-hero__lead {
  max-width: 46rem;
  margin-left: auto;

  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
}

/* ==================================================
   ELEMENTOS COMPARTIDOS
   ================================================== */

.plan-section-number {
  color: var(--color-selector);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.plan-section-header {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(18rem, 0.8fr);

  gap: 3rem;
  align-items: end;

  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.plan-section-header__title {
  max-width: 44rem;
  margin-top: 1rem;

  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 850;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.plan-section-header__intro {
  max-width: 34rem;

  font-size: 1.125rem;
  line-height: 1.7;
}

/* ==================================================
   DEFINICIÓN
   ================================================== */

.plan-definition {
  padding-block: clamp(4rem, 8vw, 7rem);

  border-top: 0.0625rem solid rgba(17, 17, 17, 0.25);
}

.plan-definition__container {
  display: grid;
  grid-template-columns:
    minmax(16rem, 0.75fr)
    minmax(0, 1.25fr);

  gap: clamp(3rem, 8vw, 7rem);
}

.plan-definition__title {
  margin-top: 1rem;

  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 850;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.plan-definition__content {
  max-width: 46rem;
}

.plan-definition__content p {
  margin-bottom: 1.5rem;

  font-size: 1.125rem;
  line-height: 1.75;
}

.plan-definition__content
  .plan-definition__first-paragraph {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 650;
  line-height: 1.35;
}

/* ==================================================
   IMPORTANCIA
   ================================================== */

.plan-importance {
  padding-block: clamp(4rem, 9vw, 8rem);

  background-color: #fff;
}

.plan-importance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 1.5rem;
}

.plan-reason {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 31rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);

  overflow: hidden;
}

.plan-reason::before {
  content: "";

  position: absolute;
  inset: 0 0 auto;

  height: 2.5rem;

  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  pointer-events: none;
}

.plan-reason--yellow {
  background-color: var(--postit-yellow);
}

.plan-reason--pink {
  background-color: var(--postit-pink);
}

.plan-reason--blue {
  background-color: var(--postit-blue);
}

.plan-reason__number {
  margin-bottom: clamp(4rem, 8vw, 7rem);

  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.plan-reason__title {
  margin-bottom: 1.5rem;

  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.plan-reason__text {
  margin-top: 1rem;

  font-size: 1rem;
  line-height: 1.65;
}

/* ==================================================
   COMUNIDAD
   ================================================== */

.plan-community {
  padding-block: clamp(4rem, 9vw, 8rem);
}

.plan-community__list {
  border-top: 0.0625rem solid var(--font-color);
}

.community-item {
  display: grid;
  grid-template-columns:
    minmax(15rem, 0.65fr)
    minmax(0, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 0.0625rem solid var(--font-color);
}

.community-item__heading {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.community-item__number {
  padding-top: 0.35rem;

  color: var(--color-selector);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.community-item__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.045em;
}

.community-item__text {
  max-width: 43rem;
  margin-bottom: 1.25rem;

  font-size: 1.0625rem;
  line-height: 1.75;
}

.community-item__text:last-child {
  margin-bottom: 0;
}

/* Último bloque destacado */

.community-item--featured {
  margin-top: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  background-color: var(--black-color);
  border-bottom: 0;
}

.community-item--featured
  .community-item__number {
  color: var(--color-selector-secondary);
}

/* ==================================================
   PÁGINAS DE CADA JORNADA
   ================================================== */

.day-page-container {
  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}


/* ==================================================
   PORTADA DE LA JORNADA
   ================================================== */

.day-hero {
  padding-block: clamp(4rem, 9vw, 8rem);

  color: var(--font-color);
  background-color: var(--background-color);

  overflow: hidden;
}

.day-hero--yellow {
  background-color: var(--overlay-yellow);
}

.day-hero--green {
  background-color: var(--overlay-green);
}

.day-hero--blue {
  background-color: var(--overlay-blue);
}

.day-hero--pink {
  background-color: var(--overlay-pink);
}

.day-hero__container {
  display: grid;
  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(18rem, 0.9fr);

  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;

  width: min(100% - 3rem, 75rem);
  margin-inline: auto;
}

.day-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;

  margin-bottom: clamp(3rem, 8vw, 6rem);

  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.day-hero__back span {
  transition: transform 200ms ease;
}

.day-hero__back:hover span,
.day-hero__back:focus-visible span {
  transform: translateX(-0.25rem);
}

.day-hero__eyebrow {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-hero__title {
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 850;
  line-height: 0.76;
  letter-spacing: -0.085em;
}

.day-hero__date {
  margin-top: 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 650;
}

.day-hero__summary {
  padding-bottom: 0.5rem;
}

.day-hero__summary-label {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.day-hero__summary-text {
  max-width: 36rem;
  font-size: clamp(1rem, 1.25vw, .8rem);
  line-height: 1.55;
}


/* ==================================================
   ENCABEZADOS INTERNOS
   ================================================== */

.day-section-header {
  max-width: 48rem;
  margin-bottom: 2.5rem;
}

.day-section-header__eyebrow {
  margin-bottom: 0.5rem;

  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-section-header__title {
  margin-bottom: 1rem;

  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.day-section-header__intro {
  max-width: 40rem;

  font-size: 1.125rem;
  line-height: 1.65;
}


/* ==================================================
   DOCUMENTO PDF
   ================================================== */

.day-document {
  padding-block: clamp(4rem, 8vw, 7rem);

  background-color: var(--overlay-light);
}

.day-document__viewer {
  width: 100%;
  height: min(75vh, 56rem);
  min-height: 40rem;

  overflow: hidden;

  background-color: #e8e6df;
  border: 0.0625rem solid rgba(17, 17, 17, 0.2);
}

.day-document__viewer iframe {
  display: block;

  width: 100%;
  height: 100%;

  border: 0;
}

.day-document__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;

  margin-top: 1.5rem;
}

.day-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;

  min-height: 3.25rem;
  padding-inline: 1.25rem;

  border: 0.0625rem solid var(--font-color);

  font-weight: 750;
  text-decoration: none;

  transition:
    color 200ms ease,
    background-color 200ms ease,
    transform 200ms ease;
}

.day-button:hover,
.day-button:focus-visible {
  transform: translateY(-0.125rem);
}

.day-button--primary {
  color: #fff;
  background-color: var(--font-color);
}

.day-button--primary:hover,
.day-button--primary:focus-visible {
  color: var(--font-color);
  background-color: transparent;
}

.day-button--secondary {
  color: var(--font-color);
  background-color: transparent;
}

.day-button--secondary:hover,
.day-button--secondary:focus-visible {
  color: #fff;
  background-color: var(--font-color);
}

.day-document__mobile-note {
  display: none;

  max-width: 36rem;
  margin-top: 1rem;

  color: #444;
  font-size: 0.875rem;
  line-height: 1.55;
}


/* ==================================================
   VIDEOS DENTRO DE LA JORNADA
   ================================================== */

.day-videos {
  background-color: var(--overlay-pink);
}


/* ==================================================
   NAVEGACIÓN ENTRE DÍAS
   ================================================== */

.day-navigation {
  padding-block: clamp(3rem, 7vw, 5rem);

  color: #fff;
  background-color: var(--black-color);
}

.day-navigation__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.day-navigation__item {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 11rem;
  padding: clamp(1.5rem, 4vw, 3rem);

  color: #fff;
  text-decoration: none;

  border: 0.0625rem solid rgba(255, 255, 255, 0.25);

  transition:
    color 200ms ease,
    background-color 200ms ease;
}

.day-navigation__item:not(.is-disabled):hover,
.day-navigation__item:not(.is-disabled):focus-visible {
  color: var(--black-color);
  background-color: var(--postit-yellow);
}

.day-navigation__item--next {
  align-items: flex-end;
  text-align: right;
}

.day-navigation__direction {
  margin-bottom: 0.75rem;

  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.day-navigation__name {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.day-navigation__item.is-disabled {
  cursor: default;
  opacity: 0.35;
}



/* ==================================================
    NAVBAR - MOBILE
   ================================================== */

@media (max-width: 64rem) {
  .postits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
/* ==================================================
   JORNADAS: TABLET*/
  .day-hero__container {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.8fr);
    gap: 3rem;
  }

  .day-document__viewer {
    min-height: 34rem;
  }
/* VIDEOS: TABLET */
/*====================================*/
  .videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

  @media (max-width: 48rem) {
  .navbar {
    width: min(100% - 2rem, 87.5rem);
    padding-block: 1.125rem;
  }

  .navbar__top {
    justify-content: space-between;
  }

  .navbar__logo img {
    width: clamp(8.75rem, 45vw, 12.5rem);
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__divider {
    margin-block: 1rem 0;
  }

  .navbar__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    max-height: 0;
    margin-top: 0;
    padding-inline: 1rem;

    overflow: hidden;
    visibility: hidden;
    opacity: 0;

    background-color: rgba(225, 225, 225, 0.86);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);

    border-radius: 0 0 0.625rem 0.625rem;

    transition:
      max-height 300ms ease,
      margin-top 300ms ease,
      padding-block 300ms ease,
      opacity 250ms ease,
      visibility 300ms;
  }

  .navbar__menu.is-open {
    max-height: 30rem;
    margin-top: 0.5rem;
    padding-block: 0.5rem;

    visibility: visible;
    opacity: 1;
  }

  .navbar__menu li {
    width: 100%;
  }

  .navbar__menu a {
    display: block;
    width: 100%;
    padding-block: 0.875rem;

    text-align: right;

    border-bottom: 0.0625rem solid rgba(17, 17, 17, 0.15);
  }

  .navbar__menu li:last-child a {
    border-bottom: 0;
  }

  .navbar__menu a::after {
    display: none;
  }

  .navbar__toggle[aria-expanded="true"]
    .navbar__toggle-line:nth-child(1) {
    transform: translateY(0.5rem) rotate(45deg);
  }

  .navbar__toggle[aria-expanded="true"]
    .navbar__toggle-line:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle[aria-expanded="true"]
    .navbar__toggle-line:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-45deg);
  }
/*================FIN Navbar Mobile=================*/
/*================Diario del plan Mobile=================*/
.diario {
    padding-block: 4rem;
  }

  .diario__container {
    width: 100%;
  }

  .diario__header {
    width: calc(100% - 2rem);
    margin-inline: auto;
    margin-bottom: 2.5rem;
  }

  .diario__mobile-instruction {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    margin-top: 1.5rem;

    font-size: 0.875rem;
    font-weight: 700;
  }

  .postits {
    display: grid;
    grid-auto-flow: column;

    /*
     * Cada post-it ocupa aproximadamente el 82 % del ancho.
     * Esto permite ver una parte del siguiente.
     */
    grid-auto-columns: minmax(17rem, 82vw);
    grid-template-columns: none;

    gap: 1.25rem;

    padding-inline: 1rem;
    padding-block: 1rem 2.5rem;

    overflow-x: auto;
    overflow-y: visible;

    scroll-snap-type: inline mandatory;
    scroll-padding-inline: 1rem;

    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;

    /*
     * Oculta visualmente la barra, pero mantiene
     * el desplazamiento disponible.
     */
    scrollbar-width: none;
  }

  .postits::-webkit-scrollbar {
    display: none;
  }

  .postit {
    min-height: 23rem;

    scroll-snap-align: start;
    scroll-snap-stop: always;

    transform: rotate(-0.5deg);
  }

  .postit:nth-child(3n + 2) {
    transform: rotate(0.5deg);
  }

  .postit:nth-child(3n) {
    transform: rotate(-0.25deg);
  }

  .postit:hover {
    transform: rotate(0deg);
  }

  .postit__day {
    font-size: clamp(3.5rem, 16vw, 5.25rem);
  }
  /*======fin post it========*/
  /*====================Grilla tipo css tricks Mobile======================*/
  .entries {
  background-color: transparent;
  padding-block: 1.5rem 3rem;
}

.entries__container {
  width: 100%;
}

.entries__header {
  width: calc(100% - 2rem);
  margin-inline: auto;
}

.entry-selector {
  margin-bottom: 1.5rem;
  padding-inline: 1rem;
}

.entry-selector__card {
  flex-basis: min(14rem, 72vw);
}

.entry-selector__card + .entry-selector__card {
  margin-left: 1rem;
}

.entry-selector__card:hover,
.entry-selector__card:hover ~ .entry-selector__card {
  transform: none;
}

.entries__content {
  grid-template-columns: 1fr;
  gap: 2.5rem;

  width: calc(100% - 2rem);
  margin-inline: auto;
}

.selected-entry {
  min-height: 24rem;
  padding: 2rem;
}

.selected-entry__date {
  margin-bottom: 3rem;
}

.entries__information {
  padding-block: 0;
}
/*=====buscador de documentos mobile=================*/
.buscador-documentos__container {
    width: min(100% - 2rem, 75rem);
  }

  .buscador-documentos__controles {
    grid-template-columns: 1fr;
  }

  .buscador-documentos__controles label:nth-of-type(1),
  .buscador-documentos__controles label:nth-of-type(2) {
    grid-column: auto;
  }

  .documento {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .documento__acciones {
    justify-self: start;
  }
  /*====================================*/
/* VIDEOS: MOBILE */
/*====================================*/
  .videos {
    padding-block: 3.5rem;
  }

  .videos__container {
    width: 100%;
  }

  .videos__header {
    padding-inline: 1rem;
    margin-bottom: 2rem;
  }

  .videos__slider-wrapper {
    position: relative;
  }

  .videos__grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem 1rem 1.5rem;

    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .videos__grid::-webkit-scrollbar {
    display: none;
  }

  .video-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  .video-card:hover {
    transform: none;
    box-shadow: none;
  }

  .videos__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;

    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    place-items: center;

    font-size: 1.25rem;
    color: #ffffff;

    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.7);
    border: 0;
    border-radius: 50%;

    transform: translateY(-50%);
    transition:
      opacity 200ms ease,
      background-color 200ms ease;
  }

  .videos__arrow:hover {
    background-color: rgba(0, 0, 0, 0.9);
  }

  .videos__arrow:disabled {
    cursor: default;
    opacity: 0.3;
  }

  .videos__arrow--previous {
    left: 0.5rem;
  }

  .videos__arrow--next {
    right: 0.5rem;
  }

  .videos__mobile-instruction {
    display: block;
    padding-inline: 1rem;
    margin-top: 0.5rem;

    font-size: 0.875rem;
    text-align: right;
  }
  /* ==================================================
   EL PLAN: TABLET Y MOBILE
   ================================================== */
   .plan-importance__grid {
    grid-template-columns: 1fr;
  }

  .plan-reason {
    min-height: auto;
  }

  .plan-reason__number {
    margin-bottom: 4rem;
  }
}

@media (max-width: 48rem) {
  .plan-hero__container,
  .plan-definition__container,
  .plan-importance__container,
  .plan-community__container {
    width: min(100% - 2rem, 75rem);
  }

  .plan-hero {
    padding-block: 3.5rem 4.5rem;
  }

  .plan-hero__title {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .plan-hero__lead {
    margin-left: 0;
  }

  .plan-section-header,
  .plan-definition__container,
  .community-item {
    grid-template-columns: 1fr;
  }

  .plan-section-header,
  .plan-definition__container {
    gap: 2rem;
  }

  .plan-definition__content p {
    font-size: 1rem;
  }

  .plan-definition__content
    .plan-definition__first-paragraph {
    font-size: 1.4rem;
  }

  .plan-importance__grid {
    gap: 1rem;
  }

  .plan-reason {
    padding: 1.75rem;
  }

  .community-item {
    gap: 1.5rem;
  }

  .community-item__heading {
    display:flex;
    gap:0;
    align-items: flex-start;
  }

  .community-item__text {
    font-size: 1rem;
  }

  .community-item--featured {
    margin-inline: -1rem;
    padding-inline: 1rem;
  }

  /*==================================================
   JORNADAS: MOBILE
   ================================================== */
   .day-page-container,
  .day-hero__container {
    width: min(100% - 2rem, 75rem);
  }

  .day-hero {
    padding-block: 3rem 4rem;
  }

  .day-hero__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .day-hero__back {
    margin-bottom: 4rem;
  }

  .day-hero__title {
    font-size: clamp(5rem, 28vw, 8rem);
  }

  .day-hero__summary {
    padding-top: 2rem;

    border-top: 0.0625rem solid rgba(17, 17, 17, 0.3);
  }

  .day-hero__summary-text {
    font-size: 1.125rem;
  }


  /* Ocultamos el visor porque en mobile
     no todos los navegadores muestran bien el PDF */

  .day-document__viewer {
    display: none;
  }

  .day-document__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .day-button {
    width: 100%;
  }

  .day-document__mobile-note {
    display: block;
  }


  /* Navegación de jornadas */

  .day-navigation__grid {
    grid-template-columns: 1fr;
  }

  .day-navigation__item {
    min-height: 8rem;
  }

  .day-navigation__item--next {
    align-items: flex-start;
    text-align: left;
  }
}
