/* =========================================================
   CONTRALORÍA DISTRITAL DE MEDELLÍN
   BOLETINES DE PRENSA Y COMUNICADOS
   VERSIÓN CORREGIDA Y ESTABLE PARA POWER PAGES
========================================================= */

.bpc-page {
    --bpc-green-950: #052f25;
    --bpc-green-900: #073e31;
    --bpc-green-800: #0b5540;
    --bpc-green-700: #126c4e;
    --bpc-lime: #8bd936;
    --bpc-lime-soft: #eef8df;
    --bpc-white: #ffffff;
    --bpc-bg: #f4f8f5;
    --bpc-ink: #153d31;
    --bpc-text: #52645d;
    --bpc-muted: #77847e;
    --bpc-line: #dce8e2;
    --bpc-shadow: 0 18px 48px rgba(5, 47, 37, 0.08);
    --bpc-shadow-strong: 0 24px 60px rgba(5, 47, 37, 0.14);
    --bpc-max: 1180px;

    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--bpc-text);
    background: var(--bpc-white);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.bpc-page,
.bpc-page *,
.bpc-page *::before,
.bpc-page *::after {
    box-sizing: border-box;
}



.bpc-page h1,
.bpc-page h2,
.bpc-page h3,
.bpc-page p {
    padding: 0;
}

.bpc-page a {
    text-decoration: none !important;
}

.bpc-page button,
.bpc-page a {
    font-family: inherit;
}

.bpc-shell {
    width: calc(100% - 80px);
    max-width: var(--bpc-max);
    margin-right: auto;
    margin-left: auto;
}

.bpc-label,
.bpc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bpc-green-700);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bpc-label::before,
.bpc-eyebrow > span {
    content: "";
    width: 28px;
    height: 3px;
    display: block;
    flex: 0 0 28px;
    background: currentColor;
    border-radius: 999px;
}

.bpc-btn {
    min-height: 50px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.bpc-btn:hover {
    transform: translateY(-2px);
}

.bpc-btn--primary {
    color: var(--bpc-green-950) !important;
    background: var(--bpc-lime);
    box-shadow: 0 12px 26px rgba(139, 217, 54, 0.18);
}

.bpc-btn--ghost {
    color: var(--bpc-white) !important;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

/* HERO */

.bpc-hero {
    width: 100%;
    min-height: 610px;
    margin: 0;
    padding: 0;
    color: var(--bpc-white);
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(139, 217, 54, 0.12),
            transparent 24%
        ),
        linear-gradient(
            135deg,
            #0b654a 0%,
            var(--bpc-green-900) 45%,
            var(--bpc-green-950) 100%
        );
}

.bpc-hero__layout {
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
    gap: 44px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
}

.bpc-eyebrow {
    margin-bottom: 18px;
    color: #e6f7c8;
}

.bpc-hero h1 {
    margin: 0;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 700;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.bpc-hero h1 strong {
    display: block;
    margin-top: 6px;
    color: var(--bpc-lime);
}

.bpc-hero__lead {
    max-width: 690px;
    margin: 24px 0 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
}

.bpc-hero__description {
    max-width: 690px;
    margin: 14px 0 0;
    padding-left: 18px !important;
    color: rgba(255, 255, 255, 0.72);
    border-left: 3px solid var(--bpc-lime);
    font-size: 15px;
    line-height: 1.7;
}

.bpc-hero__actions {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* VISUAL HERO - SIN POSICIONAMIENTO ABSOLUTO NI ROTACIONES */

.bpc-hero__visual {
    width: 100%;
}

.bpc-news-card {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    overflow: hidden;
    background: #f8fbf9;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(0, 25, 18, 0.28);
}

.bpc-news-card__top {
    min-height: 64px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--bpc-green-900);
    background: #edf5f0;
    border-bottom: 1px solid var(--bpc-line);
    font-size: 13px;
    font-weight: 800;
}

.bpc-news-card__top > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bpc-news-card__top small {
    color: var(--bpc-muted);
    font-size: 11px;
    font-weight: 700;
}

.bpc-news-card__status {
    width: 9px;
    height: 9px;
    display: inline-block;
    flex: 0 0 9px;
    background: var(--bpc-lime);
    border-radius: 50%;
}

.bpc-news-card__feature {
    padding: 28px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--bpc-green-800),
            var(--bpc-green-950)
        );
}

.bpc-news-card__tag {
    display: inline-flex;
    padding: 6px 10px;
    color: var(--bpc-green-950);
    background: var(--bpc-lime);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.bpc-news-card__feature h2 {
    margin: 18px 0 10px;
    color: #ffffff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1.08;
}

.bpc-news-card__feature p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}

.bpc-news-card__grid {
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    background: #ffffff;
}

.bpc-news-card__grid article {
    min-width: 0;
    padding: 14px 12px;
    background: #f8fbf9;
    border: 1px solid var(--bpc-line);
    border-radius: 13px;
}

.bpc-news-card__icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    margin-bottom: 9px;
    color: var(--bpc-green-950);
    background: var(--bpc-lime-soft);
    border-radius: 10px;
    font-weight: 900;
}

.bpc-news-card__grid strong,
.bpc-news-card__grid small {
    display: block;
}

.bpc-news-card__grid strong {
    color: var(--bpc-green-900);
    font-size: 12px;
}

.bpc-news-card__grid small {
    margin-top: 2px;
    color: var(--bpc-muted);
    font-size: 10px;
    line-height: 1.35;
}

/* INTRO */

.bpc-intro {
    padding: 76px 0;
    background: #ffffff;
}

.bpc-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: start;
}

.bpc-intro h2 {
    margin: 10px 0 0;
    color: var(--bpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.05;
}

.bpc-intro__content {
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--bpc-line);
    border-radius: 22px;
    box-shadow: var(--bpc-shadow);
}

.bpc-intro__content p {
    margin: 0 0 16px;
    color: var(--bpc-text);
    font-size: 15px;
    line-height: 1.75;
}

.bpc-intro__content p:last-child {
    margin-bottom: 0;
}

/* PILARES */

.bpc-pillars {
    padding: 76px 0 84px;
    background: var(--bpc-bg);
}

.bpc-section-heading {
    max-width: 860px;
    margin-bottom: 34px;
}

.bpc-section-heading h2 {
    margin: 10px 0 0;
    color: var(--bpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(36px, 3.8vw, 54px);
    line-height: 1.05;
}

.bpc-pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bpc-pillars__grid article {
    position: relative;
    min-width: 0;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid var(--bpc-line);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(5, 47, 37, 0.05);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.bpc-pillars__grid article:hover {
    transform: translateY(-5px);
    box-shadow: var(--bpc-shadow-strong);
}

.bpc-pillar__number {
    position: absolute;
    right: 18px;
    top: 14px;
    color: #d6e2dc;
    font-family: Georgia, serif;
    font-size: 27px;
    font-weight: 700;
}

.bpc-pillar__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    color: var(--bpc-green-950);
    background: var(--bpc-lime);
    border-radius: 16px;
    font-size: 22px;
    font-weight: 900;
}

.bpc-pillars__grid h3 {
    margin: 21px 0 8px;
    color: var(--bpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
}

.bpc-pillars__grid p {
    margin: 0;
    color: var(--bpc-muted);
    font-size: 14px;
    line-height: 1.65;
}

/* LISTADO */

.bpc-reports {
    padding: 76px 0 88px;
    background: #ffffff;
}

.bpc-reports__heading {
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
}

.bpc-reports__heading h2 {
    margin: 10px 0 9px;
    color: var(--bpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.05;
}

.bpc-reports__heading p {
    max-width: 780px;
    margin: 0;
    color: var(--bpc-muted);
    font-size: 15px;
}

.bpc-reports__badge {
    min-width: 180px;
    padding: 17px 18px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--bpc-green-800),
            var(--bpc-green-950)
        );
    border-radius: 16px;
    box-shadow: var(--bpc-shadow);
}

.bpc-reports__badge span,
.bpc-reports__badge small {
    display: block;
}

.bpc-reports__badge span {
    color: var(--bpc-lime);
    font-size: 20px;
    font-weight: 900;
}

.bpc-reports__badge small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
}

.bpc-list-wrapper {
    width: 100%;
    padding: 24px;
    overflow: visible;
    background: #f9fbfa;
    border: 1px solid var(--bpc-line);
    border-radius: 22px;
    box-shadow: var(--bpc-shadow);
}

/* NO ALTERAR LAYOUT INTERNO DEL WEB TEMPLATE Lista-acuerdos */
.bpc-list-wrapper .container,
.bpc-list-wrapper .row {
    max-width: 100%;
}

/* CIERRE */

.bpc-closing {
    padding: 0 0 76px;
    background: #ffffff;
}

.bpc-closing__card {
    padding: 28px 30px;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, #f7fbf8, #eef6f0);
    border: 1px solid var(--bpc-line);
    border-radius: 20px;
}

.bpc-closing__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--bpc-green-950);
    background: var(--bpc-lime);
    border-radius: 16px;
    font-size: 22px;
    font-weight: 900;
}

.bpc-closing__card h2 {
    margin: 6px 0 7px;
    color: var(--bpc-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
}

.bpc-closing__card p {
    margin: 0;
    color: var(--bpc-muted);
    font-size: 14px;
}

/* BACK TOP */

.bpc-back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--bpc-green-950);
    background: var(--bpc-lime);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(5, 47, 37, 0.18);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.bpc-back-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* ANIMACIONES SEGURAS */

[data-bpc-reveal] {
    opacity: 1;
    transform: none;
}

.bpc-page.bpc-js-ready [data-bpc-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
}

.bpc-page.bpc-js-ready [data-bpc-reveal] {
    transition:
        opacity 0.55s ease,
        transform 0.55s ease;
}

.bpc-page.bpc-js-ready [data-bpc-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1024px) {

    .bpc-hero__layout {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .bpc-news-card {
        margin-right: auto;
        margin-left: 0;
    }

    .bpc-intro__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 820px) {

    .bpc-shell {
        width: calc(100% - 48px);
    }

    .bpc-hero {
        min-height: auto;
    }

    .bpc-hero__layout {
        min-height: auto;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .bpc-hero h1 {
        font-size: clamp(44px, 11vw, 68px);
    }

    .bpc-pillars__grid {
        grid-template-columns: 1fr;
    }

    .bpc-reports__heading {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .bpc-reports__badge {
        justify-self: start;
    }
}

@media (max-width: 620px) {

    .bpc-shell {
        width: calc(100% - 28px);
    }

    .bpc-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bpc-btn {
        width: 100%;
    }

    .bpc-news-card__grid {
        grid-template-columns: 1fr;
    }

    .bpc-intro,
    .bpc-pillars,
    .bpc-reports {
        padding-top: 60px;
        padding-bottom: 68px;
    }

    .bpc-intro__content,
    .bpc-list-wrapper {
        padding: 18px;
    }

    .bpc-closing__card {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }
}

/* ACCESIBILIDAD */

.bpc-page :focus-visible {
    outline: 3px solid var(--bpc-lime);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .bpc-page *,
    .bpc-page *::before,
    .bpc-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .bpc-page.bpc-js-ready [data-bpc-reveal]:not(.is-visible) {
        opacity: 1;
        transform: none;
    }
}