﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
﻿/* ============================================================
   HABECU · NOTICIAS Y ACTOS
   ============================================================ */

@import url("/assets/css/pages/noticias-gc.css");

:root {
    --hb-content-max: 980px;
    --hb-side-pad: 14px;
}

/* ============================================================
   BOTÓN CORPORATIVO (GENÉRICO)
   ============================================================ */
.no-news-btn,
a.no-news-btn,
button.no-news-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #0f6b3a !important;
    color: #ffffff !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    margin-top: 10px !important;
    font-weight: 900 !important;
    letter-spacing: .2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 1px 0 rgba(0,0,0,.10) !important;
    transition: transform .08s ease, filter .12s ease, box-shadow .12s ease !important;
}

    .no-news-btn:hover {
        filter: brightness(1.03) !important;
        box-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
    }

    .no-news-btn:active {
        transform: translateY(1px) !important;
    }

    .no-news-btn:visited {
        color: #ffffff !important;
    }

/* ============================================================
   FILTROS
   ============================================================ */
#no-filter.no-filter-box {
    width: 100%;
    max-width: var(--hb-content-max);
    margin-left: auto;
    margin-right: auto;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #eaf6ee;
    border: 1px solid rgba(15, 107, 58, .20);
    border-left: 6px solid #0f6b3a;
    border-radius: 12px;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

#no-filter .no-filter-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

#no-filter .no-filter-label {
    margin: 0;
    font-weight: 800;
    letter-spacing: .2px;
    color: #0f3f2a;
    font-size: .92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    #no-filter .no-filter-label i {
        color: #0f6b3a;
        opacity: .95;
    }

#no-filter .no-filter-select-wrap {
    position: relative;
    display: inline-block;
}

#no-filter select.no-filter-select {
    appearance: none;
    border-radius: 10px;
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #123a2a;
    font-weight: 800;
    padding: 9px 42px 9px 12px;
    min-width: 220px;
    outline: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

    #no-filter select.no-filter-select:focus {
        border-color: rgba(15, 107, 58, .80);
        box-shadow: 0 0 0 3px rgba(15, 107, 58, .18);
    }

#no-filter .no-filter-select-wrap::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(15, 63, 42, .85);
    pointer-events: none;
    font-size: .9rem;
}

#no-filter .no-year-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#no-filter .no-year-pill {
    border: 1px solid rgba(15, 107, 58, .35);
    background: #ffffff;
    color: #0f3f2a;
    border-radius: 999px;
    padding: 6px 10px;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: .78rem;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}

    #no-filter .no-year-pill.is-active {
        background: #0f6b3a;
        border-color: #0f6b3a;
        color: #ffffff;
    }

#no-filter.is-disabled {
    opacity: .75;
}

    #no-filter.is-disabled .no-year-pill,
    #no-filter.is-disabled select.no-filter-select {
        pointer-events: none;
    }

/* ============================================================
   MARCO LISTADO
   ============================================================ */
.no-news-scroll {
    width: 100% !important;
    max-width: var(--hb-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-top: 10px;
}

#no-list.no-list-scroll {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 10px !important;
    padding-right: 0 !important;
}

/* ============================================================
   DETALLES ESTÁTICOS
   ============================================================ */
.no-static-detail-store {
    display: none !important;
}

/* ============================================================
   ✅ LISTADO: THUMB PEQUEÑO + “NITIDEZ”
   ============================================================ */
.no-card-news .no-news-thumb-link {
    display: block !important;
    text-decoration: none !important;
    margin: 2px 0 12px 0 !important;
}

.no-card-news img.no-news-thumb {
    width: 156px !important;
    height: 156px !important;
    border-radius: 14px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 auto !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    background: #fff !important;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04) !important;
}

/* ============================================================
   ✅ DETALLE: NO GRID (FULL ANCHO) + SCROLL NORMAL
   ============================================================ */
section[data-overlay-root].hb-no-detail #no-list.no-list-scroll {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    padding-right: 10px !important;
}

section[data-overlay-root].hb-no-detail .habecu-detalle-wrap,
section[data-overlay-root].hb-no-detail .habecu-detalle-contenido {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

section[data-overlay-root].hb-no-detail .no-news-scroll {
    overflow-y: auto !important;
    max-height: none !important;
}

/* ============================================================
   ✅ DETALLE: TÍTULO / META + BOTÓN debajo
   ============================================================ */
.habecu-detalle-title {
    margin: 0 0 6px 0;
}

.habecu-detalle-meta {
    opacity: .92;
    font-size: .95rem;
    font-weight: 900;
    color: #0f6b3a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.habecu-detalle-backline {
    margin: 0 0 6px 0;
}

.habecu-detalle-contenido p,
.habecu-detalle-contenido li {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.habecu-detalle-contenido p {
    margin: 0 0 12px 0;
}

.habecu-detalle-contenido ul,
.habecu-detalle-contenido ol {
    margin: 0 0 12px 0;
    padding-left: 22px;
}

.habecu-detalle-contenido li {
    margin-bottom: 6px;
}

/* ============================================================
   ✅ GALERÍA: rejilla + NITIDEZ
   ============================================================ */
.habecu-detalle-galeria {
    margin-top: 16px;
}

.habecu-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    align-items: start;
}

.habecu-gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
}

.habecu-gal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.10);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    cursor: zoom-in;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-image-rendering: auto;
    image-rendering: auto;
    filter: contrast(1.06) saturate(1.04);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

    .habecu-gal-img:hover {
        transform: translateZ(0) scale(1.03);
        box-shadow: 0 8px 22px rgba(0,0,0,.22);
        filter: contrast(1.08) saturate(1.05);
    }

/* ============================================================
   ✅ LIGHTBOX
   ============================================================ */
.hb-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.78);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 18px;
}

    .hb-lightbox.is-open {
        display: flex;
    }

.hb-lightbox-content {
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    position: relative;
}

.hb-lightbox-img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 14px;
    display: block;
    background: #fff;
}

.hb-lightbox-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(15,107,58,.95);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* ============================================================
   X overlay (garantía)
   ============================================================ */
section[data-overlay-root] .hs-modal-close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    z-index: 10050 !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.35) !important;
    background: rgba(11, 59, 38, .96) !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.28) !important;
}

    section[data-overlay-root] .hs-modal-close i {
        font-size: 18px !important;
    }

/* Responsive */
@media (max-width: 520px) {
    #no-filter.no-filter-box,
    .no-news-scroll {
        max-width: 100% !important;
        padding-left: var(--hb-side-pad) !important;
        padding-right: var(--hb-side-pad) !important;
    }

    #no-filter .no-filter-select-wrap {
        width: 100%;
    }

    #no-filter select.no-filter-select {
        width: 100%;
        min-width: 220px;
    }

    #no-list.no-list-scroll {
        padding-left: 8px !important;
    }

    .no-card-news img.no-news-thumb {
        width: 142px !important;
        height: 142px !important;
    }

    .habecu-gal-img {
        height: 165px;
    }
}
