.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 2rem 4rem;
}

#main-content.page-main {
  padding-top: 130px;
}

.page-intro {
  margin-bottom: 2.5rem;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.story-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1.5rem 0 2rem;
}

.story-block h2 {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.story-block p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.image-placeholder {
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}

.timeline-space {
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem;
  border: 2px dashed rgba(0, 75, 135, 0.35);
  border-radius: 12px;
  min-height: 260px;
}

.timeline-space h3 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.timeline-space p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.upcoming-wrap {
  min-height: calc(100vh - 240px);
  display: grid;
  place-items: center;
  text-align: center;
}

.upcoming-title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--brand-primary);
}

.upcoming-copy {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .story-block {
    grid-template-columns: 1fr;
  }

  .story-block.reverse-mobile .image-placeholder {
    order: 2;
  }
}

.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* ============================================
   CARRUSEL DE NOTICIAS - BAFUACH EN MEDIOS
   ============================================ */

.medios-section {
  padding: 2rem 0 4rem;
}

.section-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
}

.noticias-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--brand-primary);
  background: white;
  color: var(--brand-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--brand-primary);
  color: white;
  transform: scale(1.1);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  transform: none;
}

.noticias-carousel {
  flex: 1;
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 1rem 0.5rem;
  -ms-overflow-style: none;
}

.noticias-carousel::-webkit-scrollbar {
  display: none;
}

.noticia-card {
  flex: 0 0 320px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 75, 135, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 75, 135, 0.08);
}

.noticia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 75, 135, 0.15);
  border-color: var(--brand-primary);
}

.noticia-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.noticia-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.noticia-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.noticia-card:hover .noticia-image img {
  transform: scale(1.08);
}

.placeholder-svg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.noticia-content {
  padding: 1.25rem;
}

.noticia-titulo {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.2rem;
}

.noticia-desc {
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4rem;
}

.noticia-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.noticia-link:hover {
  color: var(--brand-primary);
  gap: 0.75rem;
}

.noticia-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.noticia-link:hover::after {
  transform: translateX(4px);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.carousel-indicators .indicator.active {
  background: var(--brand-primary);
  transform: scale(1.3);
  border-color: rgba(0, 75, 135, 0.3);
}

@media (max-width: 900px) {
  .noticia-card {
    flex: 0 0 280px;
  }
  
  .noticia-image {
    height: 160px;
  }
  
  .carousel-arrow {
    width: 40px;
    height: 40px;
  }
  
  .noticia-titulo {
    font-size: 1.05rem;
  }
  
  .noticia-desc {
    font-size: 0.85rem;
  }
}

.page-content h3 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
}

.page-content p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.text-content {
  padding: 1rem;
}
