.main {
  background-color: white;
}

/*
 * El efecto de borde en hover (.hover-borde) vive en
 * css/components/hover-borde.css porque tambien lo usan las cards de
 * resultados del archivo de categoria, que no cargan esta hoja.
 */

/* ===== Banner ===== */
.home-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #c03320;
  background-image: url("../../assets/fondo-banner-rojo.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  border-bottom-left-radius: 150px 51px;
  border-bottom-right-radius: 150px 51px;
}

.home-banner__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 361px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 186px 0 57px;
}

.home-banner__content {
  flex: 0 1 536px;
  min-width: 0;
  max-width: 536px;
  padding: 83px 0 90px;
  align-self: flex-start;
}

.home-banner__title {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: normal;
  text-align: left;
}

.home-banner__title b,
.home-banner__title strong {
  font-weight: 800;
}

/* Subtitulo y texto: solo se imprimen si sus campos ACF tienen contenido. */
.home-banner__subtitle,
.home-banner__text {
  margin: 7px 0 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  line-height: normal;
  text-align: left;
}

.home-banner__subtitle {
  font-size: 40px;
  font-weight: 800;
}

.home-banner__text {
  font-size: 20px;
  font-weight: 400;
}

.home-banner__link {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  text-decoration: underline;
}

.home-banner__link:hover {
  color: #fff;
  opacity: 0.9;
}

.home-banner__link-text {
  display: inline-block;
  margin-top: 16px;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.home-banner__media {
  flex: 0 0 530px;
  width: 530px;
  height: 367px;
  align-self: flex-end;
}

.home-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

@media only screen and (max-width: 1199px) {
  .home-banner__inner {
    padding: 0 60px 0 40px;
  }

  .home-banner__media {
    flex-basis: 430px;
    width: 430px;
    height: 298px;
  }

  .home-banner__title,
  .home-banner__subtitle {
    font-size: 32px;
  }

  .home-banner__text {
    font-size: 18px;
  }
}

@media only screen and (max-width: 991px) {
  .home-banner__inner {
    padding: 0 24px;
  }

  .home-banner__content {
    padding: 48px 0 40px;
  }

  .home-banner__media {
    flex-basis: 320px;
    width: 320px;
    height: 222px;
  }

  .home-banner__title,
  .home-banner__subtitle {
    font-size: 26px;
  }

  .home-banner__text {
    font-size: 15px;
  }
}

@media only screen and (max-width: 767px) {
  .home-banner {
    border-bottom-left-radius: 78px 27px;
    border-bottom-right-radius: 78px 27px;
  }

  .home-banner__inner {
    display: block;
    height: auto;
    padding: 0;
  }

  .home-banner__content {
    padding: 28px 16px 20px;
  }

  .home-banner__title,
  .home-banner__subtitle {
    font-size: 20px;
  }

  .home-banner__text {
    font-size: 14px;
  }

  .home-banner__link,
  .home-banner__link-text {
    font-size: 14px;
    margin-top: 12px;
  }

  .home-banner__media {
    width: 78%;
    max-width: 320px;
    height: auto;
    margin-left: auto;
  }

  .home-banner__media img {
    height: auto;
  }
}

/* ===== Caracteristicas ===== */
.home-caracteristicas {
  width: 100%;
  padding: 32px 24px 48px;
  background-color: white;
}

.home-caracteristicas__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
  max-width: 1440px;
  margin: 0 auto;
}

.home-caracteristicas__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.home-caracteristicas__icon {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
}

.home-caracteristicas__icon-img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.home-caracteristicas__divider {
  flex: 0 0 2px;
  width: 2px;
  align-self: stretch;
  min-height: 80px;
  background-color: #ef4228;
}

.home-caracteristicas__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.home-caracteristicas__title {
  margin: 0;
  color: #ef4228;
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.home-caracteristicas__desc {
  margin: 0;
  color: #666;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}

@media only screen and (max-width: 767px) {
  .home-caracteristicas {
    padding: 24px 16px 32px;
  }

  .home-caracteristicas__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-caracteristicas__divider {
    min-height: 60px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .home-caracteristicas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

/* ===== Video ===== */
.home-video {
  width: 100%;
  background-color: #efeff1;
}

.home-video__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 934px;
  margin: 0 auto;
  padding: 101px 24px 95px;
  text-align: center;
}

.home-video__title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
}

.home-video__desc {
  margin: 16px 0 0;
  color: #424242;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
}

.home-video__desc p {
  margin: 0;
}

.home-video__player {
  width: 100%;
  max-width: 763px;
  margin-top: 32px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
}

.home-video__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

@media only screen and (max-width: 991px) {
  .home-video__inner {
    padding: 64px 24px 64px;
  }
}

@media only screen and (max-width: 767px) {
  .home-video__inner {
    padding: 40px 16px 40px;
  }

  .home-video__title {
    font-size: 22px;
  }

  .home-video__desc {
    margin-top: 12px;
    font-size: 14px;
  }

  .home-video__player {
    margin-top: 24px;
    border-radius: 8px;
  }
}

/* ===== Reconocimientos ===== */
.home-reconocimientos {
  width: 100%;
  padding: 64px 56px 72px;
  background-color: #fff;
}

.home-reconocimientos__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.home-reconocimientos__title {
  margin: 0 0 36px;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
  text-align: left;
}

.home-reconocimientos__carousel {
  position: relative;
}

/*
 * El padding deja aire para la sombra del hover, que de otro modo recorta el
 * viewport; los margenes negativos devuelven el espaciado del diseno.
 */
.home-reconocimientos__viewport {
  margin: -10px 0 -26px;
  padding: 10px 0 26px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-reconocimientos__viewport::-webkit-scrollbar {
  display: none;
}

.home-reconocimientos__track {
  display: flex;
  align-items: stretch;
}

.home-reconocimientos__slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 20px 26px;
  scroll-snap-align: start;
}

/* En escritorio y tablet el par no existe como caja: sus cards entran en la grilla o en el track. */
.home-reconocimientos__pair {
  display: contents;
}

/* El borde y su hover salen de .hover-borde--transparente. */
.home-reconocimientos__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 647 / 260;
  overflow: hidden;
  text-decoration: none;
}

.home-reconocimientos__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-reconocimientos__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 43px;
  margin-top: 37px;
}

.home-reconocimientos__nav[hidden] {
  display: none;
}

.home-reconocimientos__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #f04229;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.home-reconocimientos__arrow:hover {
  background-color: #d5361f;
}

.home-reconocimientos__arrow--prev .home-reconocimientos__icon {
  transform: scaleX(-1);
}

.home-reconocimientos__icon {
  display: block;
  width: 42px;
  height: 42px;
}

/* Con muchos reconocimientos los puntos se reparten en varias filas antes que
   empujar las flechas fuera de la pantalla. */
.home-reconocimientos__dots {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 0;
}

.home-reconocimientos__dot {
  position: relative;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #d9d9d9;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Amplia el area tactil sin alterar la maqueta. */
.home-reconocimientos__dot::after {
  content: "";
  position: absolute;
  inset: -12px -4px;
}

.home-reconocimientos__dot.is-active {
  background-color: #f04229;
}

@media (prefers-reduced-motion: reduce) {
  .home-reconocimientos__arrow,
  .home-reconocimientos__dot {
    transition: none;
  }
}

@media only screen and (max-width: 1199px) {
  .home-reconocimientos {
    padding: 48px 24px 56px;
  }

  .home-reconocimientos__title {
    font-size: 28px;
    margin-bottom: 28px;
  }
}

/*
 * Desde tablet las tarjetas dejan de agruparse de 4 en 4: `display: contents`
 * disuelve el grupo y cada tarjeta pasa a ser un elemento del track.
 */
@media only screen and (max-width: 991px) {
  .home-reconocimientos__track {
    gap: 20px;
  }

  .home-reconocimientos__slide {
    display: contents;
  }

  .home-reconocimientos__item {
    flex: 0 0 calc(50% - 10px);
    scroll-snap-align: start;
  }
}

@media only screen and (max-width: 767px) {
  .home-reconocimientos {
    padding: 40px 16px 48px;
  }

  .home-reconocimientos__title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  /*
   * Cada par ocupa una pagina del carrusel: dos cards a ancho completo, una debajo de la otra.
   * El track no lleva gap horizontal para que el snap coincida con el ancho de la vista.
   */
  .home-reconocimientos__track {
    gap: 0;
  }

  .home-reconocimientos__pair {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    gap: 16px;
    scroll-snap-align: start;
  }

  .home-reconocimientos__item {
    flex: none;
    width: 100%;
    scroll-snap-align: none;
  }

  .home-reconocimientos__nav {
    gap: 20px;
    margin-top: 24px;
  }

  .home-reconocimientos__dots {
    gap: 8px;
  }

  .home-reconocimientos__dot {
    width: 10px;
    height: 10px;
  }

  .home-reconocimientos__dot::after {
    inset: -14px -4px;
  }
}

/* ===== Libros ===== */
.home-libros {
  width: 100%;
  padding: 100px 56px;
  background-color: #efeff1;
}

.home-libros__inner {
  max-width: 1326px;
  margin: 0 auto;
}

.home-libros__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 38px;
}

.home-libros__title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
}

.home-libros__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #f04229;
  border-radius: 8px;
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.home-libros__button:hover,
.home-libros__button:focus-visible {
  background-color: #f04229;
  color: #fff;
}

.home-libros__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

/* El borde y su hover salen de .hover-borde. */
.home-libros__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  text-decoration: none;
}

.home-libros__media {
  flex: 0 0 auto;
  width: 100%;
  /* aspect-ratio: 422 / 252; */
  overflow: hidden;
  background-color: #d9d9d9;
}

.home-libros__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-libros__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.home-libros__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.home-libros__card-title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-libros__desc {
  margin: 0;
  color: #424242;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-libros__cta {
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.home-libros__card:hover .home-libros__cta,
.home-libros__card:focus-visible .home-libros__cta {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .home-libros__button {
    transition: none;
  }
}

@media only screen and (max-width: 1199px) {
  .home-libros {
    padding: 64px 24px;
  }

  .home-libros__title {
    font-size: 28px;
  }

  .home-libros__head {
    margin-bottom: 28px;
  }

  .home-libros__grid {
    gap: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .home-libros__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .home-libros {
    padding: 40px 16px 48px;
  }

  .home-libros__title {
    font-size: 24px;
  }

  .home-libros__head {
    margin-bottom: 20px;
  }

  .home-libros__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-libros__body {
    padding: 20px;
  }
}

/* ===== Entrevistas ===== */
.home-entrevistas {
  width: 100%;
  padding: 59px 56px;
  background-color: #fff;
}

.home-entrevistas__inner {
  max-width: 1326px;
  margin: 0 auto;
}

.home-entrevistas__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 35px;
}

.home-entrevistas__title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
}

.home-entrevistas__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #f04229;
  border-radius: 8px;
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.home-entrevistas__button:hover,
.home-entrevistas__button:focus-visible {
  background-color: #f04229;
  color: #fff;
}

.home-entrevistas__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

/* El borde y su hover salen de .hover-borde. */
.home-entrevistas__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  text-decoration: none;
}

.home-entrevistas__media {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 422 / 351;
  overflow: hidden;
  background-color: #d9d9d9;
}

.home-entrevistas__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-entrevistas__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.home-entrevistas__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.home-entrevistas__kicker {
  margin: 0;
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.home-entrevistas__card-title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-entrevistas__desc {
  margin: 0;
  color: #424242;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-entrevistas__cta {
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.home-entrevistas__card:hover .home-entrevistas__cta,
.home-entrevistas__card:focus-visible .home-entrevistas__cta {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .home-entrevistas__button {
    transition: none;
  }
}

@media only screen and (max-width: 1199px) {
  .home-entrevistas {
    padding: 48px 24px;
  }

  .home-entrevistas__title {
    font-size: 28px;
  }

  .home-entrevistas__head {
    margin-bottom: 28px;
  }

  .home-entrevistas__grid {
    gap: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .home-entrevistas__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .home-entrevistas {
    padding: 32px 16px 40px;
  }

  .home-entrevistas__title {
    font-size: 24px;
  }

  .home-entrevistas__head {
    margin-bottom: 20px;
  }

  .home-entrevistas__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-entrevistas__body {
    padding: 20px;
  }
}

/* ===== Articulos ===== */
.home-articulos {
  width: 100%;
  /*
   * El diseno cierra el frame a ras de las cards; se deja el respiro inferior
   * aqui porque .home-frase no tiene padding vertical propio.
   */
  padding: 56px 56px 100px;
  background-color: #fff;
}

.home-articulos__inner {
  max-width: 1326px;
  margin: 0 auto;
}

.home-articulos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 43px;
}

.home-articulos__title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: normal;
}

.home-articulos__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid #f04229;
  border-radius: 8px;
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.home-articulos__button:hover,
.home-articulos__button:focus-visible {
  background-color: #f04229;
  color: #fff;
}

.home-articulos__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

/* El borde de 2px del hover sale de .hover-borde--grueso. */
.home-articulos__card {
  display: flex;
  min-height: 424px;
  flex-direction: column;
  overflow: hidden;
  background-color: #fff;
  text-decoration: none;
}

/* La imagen absorbe el alto sobrante para que la fila cierre pareja. */
.home-articulos__media {
  flex: 1;
  min-height: 196px;
  width: 100%;
  overflow: hidden;
  background-color: #d9d9d9;
}

.home-articulos__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-articulos__body {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.home-articulos__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.home-articulos__kicker {
  margin: 0;
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
}

.home-articulos__card-title {
  margin: 0;
  color: #212121;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-articulos__meta {
  margin: 0;
  color: #9e9e9e;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-articulos__desc {
  margin: 0;
  color: #424242;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  overflow-wrap: break-word;
}

.home-articulos__cta {
  color: #f04229;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.home-articulos__card:hover .home-articulos__cta,
.home-articulos__card:focus-visible .home-articulos__cta {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .home-articulos__button {
    transition: none;
  }
}

@media only screen and (max-width: 1199px) {
  .home-articulos {
    padding: 48px 24px 64px;
  }

  .home-articulos__title {
    font-size: 28px;
  }

  .home-articulos__head {
    margin-bottom: 28px;
  }

  .home-articulos__grid {
    gap: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .home-articulos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  .home-articulos {
    padding: 32px 16px 48px;
  }

  .home-articulos__title {
    font-size: 24px;
  }

  .home-articulos__head {
    margin-bottom: 20px;
  }

  .home-articulos__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-articulos__card {
    min-height: 0;
  }

  .home-articulos__body {
    padding: 20px;
  }
}

/* ===== Frase ===== */
.home-frase {
  /* Geometria del diseno (tarjeta de 1326x361 dentro de una pagina de 1440). */
  --frase-blob-blur: 400px;
  --frase-glow-blur: 100px;

  width: 100%;
  padding: 0 57px;
}

.home-frase__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 1326px;
  min-height: 361px;
  margin: 0 auto;
  border-radius: 16px;
  background-color: #f04229;
}

/* Grano fotografico. El diseno superpone la misma textura dos veces al 18% en
   multiply; una sola capa al 33% da el mismo resultado. */
.home-frase__texture {
  position: absolute;
  inset: 0;
  background-image: url("../../assets/textura-frase.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mix-blend-mode: multiply;
  opacity: 0.33;
  pointer-events: none;
}

/* Arco claro superior: circulo cuyo borde inferior cae a 227.76px del tope. */
.home-frase__arc {
  position: absolute;
  top: 227.76px;
  left: 50%;
  width: 126.85%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -100%);
  border-radius: 50%;
  background-color: #f3705e;
  opacity: 0.35;
  pointer-events: none;
}

/* Halo difuso detras del texto. */
.home-frase__glow {
  position: absolute;
  top: 229.44px;
  left: 50%;
  width: 58.61%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -100%);
  border-radius: 50%;
  background-color: #f3705e;
  filter: blur(var(--frase-glow-blur));
  pointer-events: none;
}

/* Sombras difusas que oscurecen los laterales inferiores. */
.home-frase__blob {
  position: absolute;
  top: 56.44%;
  width: 58.61%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #822a1e;
  filter: blur(var(--frase-blob-blur));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.home-frase__blob--left-a {
  left: -45.43%;
}

.home-frase__blob--left-b {
  left: -41.66%;
}

.home-frase__blob--right {
  right: -36.1%;
}

.home-frase__content {
  position: relative;
  z-index: 1;
  padding: 106px 24px 82px;
  text-align: center;
}

.home-frase__quote {
  margin: 0;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: normal;
}

.home-frase__quote b,
.home-frase__quote strong {
  font-weight: 700;
}

.home-frase__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 53.94px 0 0;
}

.home-frase__author::before,
.home-frase__author::after {
  content: "";
  flex: 0 0 auto;
  width: 24.53px;
  height: 1px;
  background-color: #fff;
}

.home-frase__author-text {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.8px;
}

@media only screen and (max-width: 1199px) {
  .home-frase {
    --frase-blob-blur: 320px;
    --frase-glow-blur: 80px;

    padding: 0 40px;
  }

  .home-frase__card {
    min-height: 320px;
  }

  .home-frase__arc {
    top: 200px;
  }

  .home-frase__glow {
    top: 202px;
  }

  .home-frase__content {
    padding: 88px 24px 68px;
  }

  .home-frase__quote {
    font-size: 36px;
  }

  .home-frase__author {
    margin-top: 44px;
  }
}

@media only screen and (max-width: 991px) {
  .home-frase {
    --frase-blob-blur: 260px;
    --frase-glow-blur: 65px;

    padding: 0 32px;
  }

  .home-frase__card {
    min-height: 280px;
  }

  .home-frase__arc {
    top: 172px;
  }

  .home-frase__glow {
    top: 174px;
  }

  .home-frase__content {
    padding: 72px 24px 56px;
  }

  .home-frase__quote {
    font-size: 30px;
  }

  .home-frase__author {
    margin-top: 36px;
  }
}

@media only screen and (max-width: 767px) {
  .home-frase {
    --frase-blob-blur: 160px;
    --frase-glow-blur: 45px;

    padding: 0 16px;
  }

  .home-frase__card {
    min-height: 0;
    border-radius: 12px;
  }

  .home-frase__arc {
    top: 132px;
    width: 160%;
  }

  .home-frase__glow {
    top: 134px;
    width: 80%;
  }

  .home-frase__content {
    padding: 56px 20px 48px;
  }

  .home-frase__quote {
    font-size: 24px;
  }

  .home-frase__author {
    margin-top: 28px;
  }

  .home-frase__author-text {
    font-size: 16px;
    letter-spacing: 1.6px;
  }
}

/* ===== Enlaces ===== */
.home-enlaces {
  width: 100%;
  padding: 50px 24px;
  background-color: #fff;
}

.home-enlaces__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.home-enlaces__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 calc(25% - 27px);
  max-width: calc(25% - 27px);
  min-height: 150px;
  text-decoration: none;
}

.home-enlaces__logo {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media only screen and (max-width: 991px) {
  .home-enlaces__item {
    flex: 0 1 calc(50% - 12px);
    max-width: calc(50% - 12px);
  }

  .home-enlaces__grid {
    gap: 24px;
  }
}

@media only screen and (max-width: 767px) {
  .home-enlaces {
    padding: 32px 16px;
  }

  .home-enlaces__grid {
    gap: 20px;
  }

  .home-enlaces__item {
    flex: 0 1 100%;
    max-width: 100%;
    min-height: 120px;
  }

  .home-enlaces__logo {
    max-height: 120px;
  }
}
