/* Cuadrícula de noticias */
.noticias-section {
  position: relative;
  overflow: hidden;
  padding: 142px clamp(56px, 6vw, 124px) 125px;
  background: #f4f6f8;
}

.noticias-intro {
  position: relative;
  z-index: 1;
}

.noticias-intro > p {
  margin: 0 0 18px;
  color: #1d2025;
  font-size: clamp(13px, 1.08vw, 18px);
  font-weight: 700;
  letter-spacing: .16em;
}

.noticias-intro h2 {
  max-width: 900px;
  margin: 0;
  color: #030303;
  font-size: clamp(40px, 3.6vw, 66px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.055em;
}

.noticias-points {
  position: absolute;
  z-index: 0;
  top: 265px;
  right: -41px;
  width: clamp(150px, 12vw, 224px);
  pointer-events: none;
}

.noticias-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 68px clamp(24px, 2.15vw, 42px);
  margin-top: 75px;
}

.noticia-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #050505;
  text-decoration: none;
  background: #fff;
  border-radius: 23px;
  box-shadow: 0 20px 30px rgba(80, 62, 30, .19);
  transition: transform .3s ease, box-shadow .3s ease;
}

.noticia-card:hover {
  transform: translateY(-13px);
  box-shadow: 0 30px 42px rgba(80, 62, 30, .27);
}

.noticia-media {
  position: relative;
  height: clamp(215px, 18.3vw, 292px);
  overflow: hidden;
  background: #ff8500;
}

.noticia-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.noticia-card:hover .noticia-media img {
  transform: scale(1.045);
}

.noticia-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .56));
  opacity: 0;
  transition: opacity .3s ease;
}

.noticia-card:hover .noticia-media::after {
  opacity: 1;
}

.noticia-tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 9px 18px;
  overflow: hidden;
  color: #111;
  font-size: clamp(10px, .79vw, 14px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 247, 242, .94);
  border-radius: 999px;
}

.noticia-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 19px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  font-size: 45px;
  font-weight: 400;
  line-height: 1;
  background: #ff8500;
  border-radius: 10px;
  opacity: 0;
  transform: translate(12px, -50%);
  transition: transform .3s ease, opacity .3s ease;
}

.noticia-card:hover .noticia-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

.noticia-card h3 {
  min-height: 112px;
  margin: 0;
  padding: 20px 21px 24px;
  overflow: hidden;
  color: #050505;
  font-size: clamp(19px, 1.43vw, 27px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.046em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.noticias-more {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 18px;
  margin: 84px auto 0;
  color: #080808;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
}

.noticias-more b {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  color: #fff;
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  background: #6d22c7;
  border-radius: 11px;
  transition: transform .2s ease, background .2s ease;
}

.noticias-more:hover b {
  background: #ff8500;
  transform: translateX(5px);
}

@media (max-width: 1100px) {
  .noticias-section { padding: 100px 42px 92px; }
  .noticias-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 55px; }
  .noticias-points { top: 230px; }
}

@media (max-width: 620px) {
  .noticias-section { padding: 75px 22px 75px; }
  .noticias-intro h2 { font-size: 39px; }
  .noticias-intro h2 br { display: none; }
  .noticias-grid { grid-template-columns: 1fr; gap: 30px; }
  .noticia-media { height: 260px; }
  .noticias-points { top: 110px; right: -76px; opacity: .75; }
  .noticias-more { margin-top: 50px; }
}
