/* =========================================================================
   NOTICIA — HERO UNIFICADO CON DESCARGAS (LIMPIO)
   ========================================================================= */

/* Wrapper general */
.psw-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 40px;
}

/* Título */
.psw-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #065f46;
}

/* Breadcrumb */
.psw-breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #065f46;          /* verde fuerte */
}

.psw-breadcrumb a {
    color: #065f46;
    font-weight: 600;       /* mismo énfasis que descargas */
    text-decoration: none;
}

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

/* =========================================================
   HERO (imagen + info)
========================================================= */

.psw-hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    margin-bottom: 32px;
}

/* Imagen */
.psw-hero-left {
    display: flex;
    justify-content: center;
}

.psw-main-image {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 520px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
    object-fit: contain;
}

/* ===============================
   CAJA INFORMACIÓN — NOTICIA
   (igualada a DESCARGAS)
================================ */

/* Caja info dentro del hero */
.psw-hero-right .psw-box {
    margin: 0;
}

/* Caja base */
.psw-box {
    background: #ffffff;
    border: 1px solid #cfe9cf;   /* verde más vivo, como descargas */
    border-radius: 10px;
    padding: 18px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* Título caja */
.psw-box-title {
    font-size: 17px;
    margin-bottom: 12px;
    color: #047857;              /* mismo verde que descargas */
    font-weight: 700;
}

/* Items (fecha, visitas, autor) */
.psw-meta-item {
    display: flex;               /* clave para iconos alineados */
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    color: #1f2937;
}

/* Texto fuerte */
.psw-meta-item strong {
    font-weight: 600;
}

/* Iconos */
.psw-meta-item .icon {
    color: #047857;
    font-size: 15px;
    min-width: 18px;
    text-align: center;
}


/* Tags */
.psw-tags {
    margin-bottom: 14px;
}
.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: #fff;
}
.tag-plat {
    background: #0ea5e9;
}

/* =========================================================
   TEXTO NOTICIA
========================================================= */

.psw-news-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.65;
    color: #374151;
}

.psw-news-text p {
    margin-bottom: 1em;
}

.psw-news-text strong {
    color: #065f46;
    font-weight: 700;
}

.psw-news-text a {
    color: #065f46;
    text-decoration: none;
}
.psw-news-text a:hover {
    text-decoration: underline;
}

.psw-news-text h2 {
    font-size: 22px;
    margin: 28px 0 12px;
    color: #065f46;
}
.psw-news-text h3 {
    font-size: 19px;
    margin: 20px 0 10px;
    color: #065f46;
}

.psw-news-text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 8px;
}

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

.rel-wrap {
    margin-top: 50px;
}

.rel-wrap h2 {
    font-size: 22px;
    margin-bottom: 18px;
    color: #065f46;
}

.rel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

.rel-item {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #d1e7d1;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
    text-align: center;
    padding-bottom: 12px;
}

.rel-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.rel-item-title {
    margin: 14px 10px 10px;
}

.rel-item-title a {
    color: #065f46;
    font-weight: 700;
    text-decoration: none;
}

.rel-btn {
    margin: 0 14px;
    padding: 10px 0;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    display: block;
    text-decoration: none;
    font-weight: 600;
}

/* =========================================================
   MÓVIL
========================================================= */

@media (max-width: 768px) {
    .psw-hero-wrapper {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .psw-hero-right {
        width: 100%;
        max-width: 360px;
    }

    .psw-main-image {
        max-height: none;
    }

    .psw-title {
        font-size: 24px;
    }

    .psw-news-text {
        font-size: 15px;
    }
}
/* Meta info — igual que Descargas */
.psw-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    margin-bottom: 8px;
}

.psw-meta-icon {
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.psw-meta-label {
    font-weight: 600;
    color: #065f46;
}

.psw-meta-value {
    font-weight: 400;
    color: #374151;
}

/* Compartir */
.psw-share {
    margin-top: 14px;
    font-size: 14px;
}

.psw-share-label {
    font-weight: 600;
    color: #065f46;
    margin-right: 6px;
}

.psw-share a {
    margin-right: 8px;
    color: #065f46;
    text-decoration: none;
}

.psw-share a:hover {
    text-decoration: underline;
}

