
.boton_mas_servicios a:hover, .boton_mas_servicios a:focus, .boton_mas_servicios a:active {
  background: var(--primario);
  color: var(--blanco);
  transition: all 0.5s ease-in-out;
}
.contenedor-contenido {
  margin: 6rem 0rem;
}
.contenedor_detalle_plantilla{
  padding-left: 0rem;
}
.contenedor-contenido {
  max-width: 70%; 
  margin: 5rem auto; 
}
@media (max-width: 768px) {
  .contenedor-contenido {
      max-width: 100%;
      padding: 0 15px; /* Opcional: agrega un poco de espacio en los lados */
  }
}
.underline {
  background: var(--terciario);
}
.servicio-content p {
  font-size: 1.6rem;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* =====================================
   BLOQUE NOTICIAS RELACIONADAS
===================================== */

.noticias-relacionadas {
    margin-top: 40px;
    border-top: 0px solid var(--grisclaro);

}

.noticias-relacionadas h3 {
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: solid 0.1rem var(--gris);
    padding-bottom: 10px;
    font-size: 2rem;
}

/* Lista */
.lista-noticias-relacionadas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Tarjeta */
.item-noticia-relacionada {
    background: #f5f7fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.item-noticia-relacionada:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Link completo */
.noticia-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

/* Imagen izquierda */
.noticia-imagen-container {
    width: 280px;
    min-width: 280px;
    height: 180px;
    overflow: hidden;
}

.noticia-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido derecha */
.noticia-contenido {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

/* Meta (categor?a + fecha) */
.noticia-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Categor?a tipo badge */
.noticia-categoria {
    background: #2e7d5b;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Fecha */
.noticia-fecha {
    color: #6c757d;
    font-size: 14px;
}

/* T?tulo */
.noticia-titulo {
    font-size: 22px;
    font-weight: 600;
    margin: 5px 0 8px 0;
    color: #1f2d3d;
}

/* Resumen */
.noticia-resumen {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 768px) {

    .noticia-link {
        flex-direction: column;
    }

    .noticia-imagen-container {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }

    .noticia-titulo {
        font-size: 18px;
    }
}