img {
  border-radius: 2px;
}

.seccion-principal {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
}

.container {
  flex: 2.3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.carousel {
  position: relative;
  width: 100%;
  height: 675px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  background: #000;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  position: relative;
  height: 675px;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide a:hover img {
  opacity: 0.90;
  transition: opacity 0.3s ease;
}

.slide .info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 60px 20px 20px 20px;
  border-radius: 5px;
  max-width: 80%;
}

.slide .info h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
}

.slide .info p {
  margin: 0 0 10px 0;
  font-size: 14px;
}

.slide .info a {
  display: inline-block;
  background: #fff;
  color: #333;
  padding: 8px 16px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.slide .info a:hover {
  background: #f0f0f0;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
}

.imgs-estiradas {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  justify-content: center;
}

.imgs-estiradas img {
  width: 100%;
  height: 335px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* Layout principal de la sección secundaria */
.seccion-secundaria {
  display: flex;
  gap: 20px;
  max-width: 100%;
  padding: 20px;
  align-items: stretch;
}

/* Columna 1 - más ancha (noticia grande) */
.col-1 {
  flex: 2.5;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Columna 2 - mediana (2 noticias verticales) */
.col-2 {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Columna 3 - más estrecha (noticias más leídas) */
.col-3 {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Estilos para col-1 */
.imagen-estirada-chica {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.desc-img-esti-chica {
  font-size: 24px;
  color: #333;
  margin-top: 12px;
  line-height: 1.3;
  font-weight: 600;
}

.col-1 figure {
  margin: 0;
}

.col-1 .noticia-grande {
  position: relative;
  width: 100%;
  height: 500px;
  flex: 1;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.col-1 .noticia-grande:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.col-1 .noticia-grande img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.col-1 .info-grande {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 25px;
  color: white;
}

.col-1 .info-grande h2 {
  font-size: 28px;
  margin: 0 0 10px 0;
  font-weight: 600;
  line-height: 1.3;
}

.col-1 .info-grande p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

/* Columna 2 - 25% del ancho */
.col-2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Estilos para col-2 - estilo similar a imgs-estiradas */
.col-2 figure {
  width: 100%;
  margin: 0;
  padding: 0;
}

.col-2 .noticia-vertical {
  position: relative;
  width: 100%;
  padding-bottom: 62.5%; /* 500/800 = 0.625 = 62.5% para proporción 800x500 */
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.col-2 .noticia-vertical:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.col-2 .noticia-vertical img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.col-2 .info-vertical {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 15px;
  color: white;
}

.col-2 .info-vertical h3 {
  font-size: 15px;
  margin: 0 0 5px 0;
  font-weight: 600;
  line-height: 1.3;
}

.col-2 .info-vertical p {
  font-size: 12px;
  margin: 0;
  opacity: 0.9;
}

.titulo-mas-leidas {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--rojo);
    padding-bottom: 5px;
    color: var(--grisoscuro);
}

.mas-leidas-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mas-leida-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    background-color: var(--grisclaro);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s;
}

.mas-leida-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background-color: #f2f2f2;
}

.ranking-numero {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--rojo);
    min-width: 28px;
}

.mas-leida-info h3 {
    margin: 0;
    font-size: 0.95rem;
    color: var(--negro);
    line-height: 1.3;
}

.mas-leida-info .detalle-seccion {
    font-size: 0.8rem;
    color: #666;
    margin: 3px 0 0;
}

.seccion-coopesol {
  max-width: 1880px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.img-publicidad-estirada {
  width: 100%;
  height: 120px;
  background-color: #6c5ce7;
}

.banner-link {
    transition: opacity 0.3s ease;
}

.banner-link:hover:not(.no-link) {
    opacity: 0.9;
}

.banner-link.no-link {
    cursor: default;
    pointer-events: none;
}

.videos-coopesol {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.video-1, .video-2, .video-3 {
  flex: 1;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.video-1:hover, .video-2:hover, .video-3:hover {
  transform: translateY(-5px);
}

.videos-coopesol .card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* Estilos para videos-coopesol CON TÍTULOS */
.videos-coopesol .video-container {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.videos-coopesol .video-container img {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.videos-coopesol .card-link:hover .video-container img {
  transform: scale(1.05);
}

.videos-coopesol .video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 60px 20px 20px 20px;
  color: white;
  transition: background 0.3s ease;
}

.videos-coopesol .card-link:hover .video-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
}

.videos-coopesol .video-overlay h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

h4 {
  margin: 15px;
  padding: 10px;
  font-size: 1rem;
  color: green;
  background-color: #d8e2dc;
  font-weight: 600;
  text-transform: uppercase;
  text-align: left;
}

/* Estilos para seccion-info-general CON TÍTULOS */
.seccion-info-general {
  display: flex;
  gap: 15px;
  max-width: 100%;
  padding: 20px;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
}

.info-general-item {
  flex: 0 0 auto;
  max-width: 350px;
  text-decoration: none;
  color: inherit;
}

.info-general-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-general-item:hover .info-general-container {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.info-general-container .img-vertical-larga {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.info-general-item:hover .info-general-container .img-vertical-larga {
  transform: scale(1.05);
}

.info-general-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  padding: 60px 20px 20px 20px;
  color: white;
  transition: background 0.3s ease;
}

.info-general-item:hover .info-general-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
}

.info-general-overlay h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.info-general-overlay p {
  margin: 0;
  font-size: 13px;
  opacity: 0.9;
  color: rgba(255,255,255,0.9);
}

.seccion-form {
  background-color: var(--rojo);
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.seccion-form h2 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
}

.form-control {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
}

.form-control .input-group {
  position: relative;
  margin: 0;
  width: 200px;
}

.form-control input[type="text"], 
.form-control input[type="email"] {
  background-color: transparent;
  border: 0;
  border-bottom: 2px rgba(255, 255, 255, 0.7) solid;
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  color: #fff;
}

.form-control input[type="text"]:focus,
.form-control input[type="text"]:valid,
.form-control input[type="email"]:focus,
.form-control input[type="email"]:valid {
  outline: 0;
  border-bottom-color: #fff;
}

.form-control label {
  position: absolute;
  top: 15px;
  left: 0;
  font-style: italic;
}

.form-control label span {
  display: inline-block;
  font-size: 16px;
  min-width: 5px;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control input[type="text"]:focus + label span,
.form-control input[type="text"]:valid + label span,
.form-control input[type="email"]:focus + label span,
.form-control input[type="email"]:valid + label span {
  color: #fff;
  transform: translateY(-30px);
}

.form-control input[type="submit"] {
  background-color: var(--blanco);
  border: none;
  padding: 15px 40px;
  color: var(--negro);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 20px;
}

.form-control input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--blanco);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}

.form-control input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  position: static;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
}

/* Estilos para noticias destacadas en imgs-estiradas */
.imgs-estiradas .noticia-destacada {
  position: relative;
  width: 100%;
  height: 335px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.imgs-estiradas .noticia-destacada:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.imgs-estiradas .noticia-destacada img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.imgs-estiradas .info-destacada {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  color: white;
}

.imgs-estiradas .info-destacada h2 {
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
}

.imgs-estiradas .info-destacada p {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
}

/* Etiquetas de localidad - Color único azul profesional */
.localidad-tag-slide,
.localidad-tag-destacada,
.localidad-tag-card,
.localidad-tag-vertical {
    background: linear-gradient(135deg, #0077b6, #005f8c);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: capitalize;
    box-shadow: 0 2px 5px rgba(0, 119, 182, 0.3);
}

.localidad-tag-slide {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.localidad-tag-destacada {
    display: inline-block;
    margin-bottom: 10px;
}

.localidad-tag-card,
.localidad-tag-vertical {
    display: inline-block;
    margin-bottom: 8px;
}

.info-grande h2, 
.info-vertical h3 {
    margin-top: 5px;
}

/* Responsive para etiquetas de localidad */
@media (max-width: 768px) {
    .localidad-tag-slide,
    .localidad-tag-destacada,
    .localidad-tag-card,
    .localidad-tag-vertical {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}