/* ASCA — Modal reutilizable [asca_modal] */
body.asca-modal-open { overflow: hidden; }

.asca-modal[hidden] { display: none; }
.asca-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
}
.asca-modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(10, 29, 74, 0.55);
    backdrop-filter: blur(2px);
}
.asca-modal__box {
    position: relative; z-index: 1;
    background: #fff; border-radius: 14px;
    width: 100%; max-height: 90vh; overflow-y: auto;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 60px rgba(10, 29, 74, 0.35);
    animation: asca-modal-in .22s ease;
}
.asca-modal--sm .asca-modal__box { max-width: 420px; }
.asca-modal--md .asca-modal__box { max-width: 620px; }
.asca-modal--lg .asca-modal__box { max-width: 860px; }
@keyframes asca-modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.asca-modal__close {
    position: absolute; top: 12px; right: 12px;
    width: 38px; height: 38px; border: 0; border-radius: 50%;
    background: #eef2fb; color: var(--asca-navy, #0D3178);
    font-size: 18px; cursor: pointer; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.asca-modal__close:hover { background: #dbe4f7; }
.asca-modal__title {
    font-family: 'Montserrat', sans-serif; font-size: 22px; font-weight: 800;
    color: var(--asca-navy, #0D3178); margin: 0 0 18px; padding-right: 40px;
}
.asca-modal__body { font-size: 15px; line-height: 1.6; color: #333; }

@media (max-width: 575px) {
    .asca-modal { padding: 12px; }
    .asca-modal__box { padding: 26px 18px 20px; }
    .asca-modal__title { font-size: 19px; }
}

/* Intro opcional del modal (texto bajo el título) */
.asca-modal__intro { font-size: 14px; color: #555; margin: -6px 0 16px; line-height: 1.55; }

/* Botón de suscripción reutilizado como <button> (mismo look que el enlace) */
button.asca-subscribe-card__btn { border: 0; cursor: pointer; font: inherit; width: 100%; }
.asca-footer__subscribe { margin-top: 14px; }

/* CTA de newsletter — single / categoría de publicaciones (paleta del tema) */
.asca-newsletter-cta {
    display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--asca-navy, #0D3178) 0%, var(--asca-dark, #0A1D4A) 100%);
    color: #fff; border-radius: 14px; padding: 24px 26px; margin: 32px 0;
}
.asca-newsletter-cta__icon {
    flex-shrink: 0; width: 52px; height: 52px; border-radius: 12px;
    background: rgba(255,255,255,.14); display: inline-flex; align-items: center; justify-content: center; font-size: 22px;
}
.asca-newsletter-cta__text { display: flex; flex-direction: column; gap: 3px; flex: 1 1 240px; }
.asca-newsletter-cta__title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; }
.asca-newsletter-cta__desc { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
.asca-newsletter-cta .asca-btn { flex-shrink: 0; }
@media (max-width: 575px) { .asca-newsletter-cta { padding: 20px; } }
