/* =========================
   NOTICIA WRAPPER
========================= */

.noticia-wrapper {
    padding: 30px 0 60px;
    max-width: 860px;
}

/* =========================
   BREADCRUMB
========================= */

.noticia-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    color: #888;
    margin-bottom: 24px;
}

.noticia-breadcrumb a {
    color: #6A1B9A;
    text-decoration: none;
    font-weight: 500;
}

.noticia-breadcrumb a:hover {
    text-decoration: underline;
}

/* =========================
   META (categoría + fecha)
========================= */

.noticia-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.noticia-categoria {
    background: #6A1B9A;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.noticia-fecha {
    font-size: .82rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* =========================
   TÍTULO
========================= */

.noticia-titulo {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 16px;
}

/* =========================
   RESUMEN
========================= */

.noticia-resumen {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    border-left: 4px solid #9C27B0;
    padding-left: 16px;
    margin-bottom: 28px;
    font-style: italic;
}

/* =========================
   IMAGEN PRINCIPAL
========================= */

.noticia-imagen-wrap {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 12px 35px rgba(0,0,0,.12);
}

.noticia-imagen {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* =========================
   CUERPO / CONTENIDO
========================= */

.noticia-cuerpo {
    font-size: 1rem;
    color: #333;
    line-height: 1.85;
}

.noticia-cuerpo p {
    margin-bottom: 1.2rem;
}

.noticia-cuerpo h2,
.noticia-cuerpo h3 {
    color: #1a1a1a;
    margin: 1.5rem 0 .75rem;
}

.noticia-cuerpo img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.noticia-cuerpo a {
    color: #6A1B9A;
    text-decoration: underline;
}

.noticia-cuerpo blockquote {
    border-left: 4px solid #9C27B0;
    padding: 10px 20px;
    margin: 1.5rem 0;
    background: #f9f4fc;
    border-radius: 0 10px 10px 0;
    color: #555;
    font-style: italic;
}

/* =========================
   COMPARTIR
========================= */

.noticia-compartir {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.noticia-compartir span {
    font-size: .85rem;
    font-weight: 600;
    color: #555;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}

.share-btn:hover {
    opacity: .85;
    transform: translateY(-1px);
}

.share-btn.facebook  { background: #1877F2; color: #fff; }
.share-btn.whatsapp  { background: #25D366; color: #fff; }
.share-btn.twitter   { background: #000;    color: #fff; }

/* =========================
   RELACIONADAS
========================= */

.noticia-relacionadas {
    margin-top: 50px;
    max-width: 1200px;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-card-link:hover .news-card {
    transform: translateY(-6px);
}

.noticia-fecha-sm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    color: #999;
    margin-top: 8px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .noticia-titulo {
        font-size: 1.45rem;
    }

    .noticia-resumen {
        font-size: .95rem;
    }

    .noticia-wrapper {
        padding: 20px 0 40px;
    }
}