/* -------------------------
   NOTICIAS
   ------------------------- */
.news {
  padding: 60px 0 80px;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.news-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-top: 10px;
}

.news-header::before {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--usb-yellow);
  margin: 0 auto 20px;
}

.news-bg-text {
  position: absolute;
  top: 0;
  left: 50%;
  font-family: var(--font-main);
  font-size: 20vw;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--usb-black);
  opacity: 0;
  white-space: nowrap;
  letter-spacing: 10px;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  animation: watermark-slide-up 1.5s ease-out 0.5s forwards;
}

.news .container {
  position: relative;
  z-index: 2;
}

.news-title-styled {
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 50px;
  text-transform: uppercase;
  color: var(--usb-black);
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.2;
}

.news-title-styled span.highlighted-word {
  color: var(--usb-yellow);
  -webkit-text-stroke: 3px var(--usb-black);
  paint-order: stroke fill;
  padding: 0 5px;
}

@media (max-width: 600px) {
  .news-title-styled {
    font-size: 28px;
  }
  .news-bg-text {
    font-size: 80px;
    top: 20px;
  }
  .news-title-styled span.highlighted-word {
    color: var(--usb-yellow);
    -webkit-text-stroke: 0;
  }
}

.news-layout {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.news-slider-container {
  position: relative;
  height: 100%;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  background: #eee;
}

.news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  color: var(--white);
  z-index: 1;
}

.news-slide.active {
  opacity: 1;
  z-index: 2;
}

.news-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 10%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent
  );
  z-index: -1;
}

.news-slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.news-slide h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  font-family: var(--font-serif);
}

.news-date-box {
  display: inline-block;
  align-self: flex-start;
  background: var(--usb-yellow);
  color: var(--usb-black);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-bottom: 20px;
}

.slider-dots {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 40px;
  height: 4px;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--usb-yellow);
}

.news-list-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.news-item {
  display: block;
  position: relative;
  padding: 20px 60px 25px 0;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

.news-item:hover h4 {
  color: var(--usb-yellow);
}

.news-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--usb-black);
  transition: color 0.3s;
}

.news-item-date {
  font-size: 13px;
  color: var(--muted);
}

.n-arrow-box {
  position: absolute;
  bottom: 10px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--usb-black);
  overflow: hidden;
}

.news-item:hover .n-arrow-box {
  background: var(--usb-black);
  color: var(--usb-yellow);
}

.n-arrow-box svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.news-item:hover .n-arrow-box svg {
  animation: arrow-slide 0.5s ease-in-out forwards;
}

.btn-newsroom {
  display: inline-block;
  margin-top: auto;
  padding: 15px 30px;
  border: 2px solid var(--usb-black);
  border-radius: 5px;
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--usb-black);
  transition: all 0.3s;
  text-align: center;
}

.btn-newsroom:hover {
  background: var(--usb-black);
  color: var(--usb-yellow);
}

@media (max-width: 900px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-slider-container {
    height: 400px;
    min-height: 400px;
  }
}
