.ae-block {
    box-sizing: border-box;
    background-color: var(--ae-background, #FBFAF7);
    color: var(--ae-ink, #1F3046);
    font: 400 17px/1.65 Nunito, system-ui, sans-serif;
    scroll-margin-top: 96px;
    overflow-wrap: anywhere;
}
.ae-page {
    gap: 0 !important;
    background: #FBFAF7;
}
.ae-page > .elementor-element { margin: 0; }
.ae-block *, .ae-block *::before, .ae-block *::after { box-sizing: border-box; }
.ae-block [hidden] { display: none !important; }
.ae-block a { color: var(--ae-blue, #3E5F8F); }
.ae-block a:hover, .ae-block button:hover { filter: brightness(.94); }
.ae-block :focus-visible, .ae-dialog :focus-visible { outline: 3px solid #218477; outline-offset: 4px; }
.ae-block button { cursor: pointer; }
.ae-block img { max-width: 100%; }
.ae-block a[data-ae-image] { display: block; }
.ae-block button[data-ae-filter] { white-space: nowrap; }
.ae-block button[data-ae-filter][aria-pressed="true"] {
    color: var(--ae-white, #fff) !important;
    background: var(--ae-blue, #3E5F8F) !important;
}
.ae-block button[data-ae-filter][aria-pressed="false"] {
    color: var(--ae-blue, #3E5F8F) !important;
    background: var(--ae-white, #fff) !important;
}
.ae-relato p { margin: 0 0 1em; }
.ae-relato p:last-child { margin-bottom: 0; }
.ae-block .ae-menu {
    display: none;
    border: 1px solid var(--ae-blue, #3E5F8F);
    border-radius: 999px;
    background: var(--ae-white, #fff);
    color: var(--ae-blue, #3E5F8F);
    padding: 9px 15px;
    font: 800 14px/1.2 Nunito, sans-serif;
}
body:not(.elementor-editor-active) .ae-page > .elementor-widget-ae-cabecera {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 20;
}
.ae-dialog {
    position: fixed;
    inset: 0;
    width: min(92vw, 920px);
    max-height: 94vh;
    margin: auto;
    border: 0;
    border-radius: 18px;
    padding: 54px 16px 16px;
    color: #fff;
    background: #1F3046;
    text-align: center;
}
.ae-dialog::backdrop { background: rgb(12 22 35 / 82%); }
.ae-dialog button {
    position: absolute;
    top: 9px;
    right: 14px;
    padding: 7px 13px;
    border: 1px solid white;
    background: #1F3046;
    color: #fff;
    border-radius: 999px;
    cursor: pointer;
}
.ae-dialog img, .ae-dialog video { display: block; margin: auto; max-width: 100%; max-height: min(74vh, 720px); }
.ae-copy-result { font-size: 14px; }
@media (max-width: 1020px) {
    .ae-block .ae-menu { display: inline-block; }
    .ae-cabecera nav { order: 4; flex-basis: 100%; }
    .ae-cabecera nav:not(.ae-open) { display: none !important; }
}
@media (max-width: 650px) {
    .ae-block h1 { font-size: clamp(32px, 9vw, 44px) !important; }
    .ae-block h2 { font-size: clamp(29px, 8vw, 36px) !important; }
    .ae-block [data-ae-filter] { padding: 8px 12px !important; }
    .ae-inicio img { height: clamp(260px, 95vw, 425px) !important; }
    .ae-inicio .ae-progress-card { left: 10px !important; right: 10px !important; }
    .ae-galeria img { height: clamp(235px, 76vw, 320px) !important; }
    .ae-cabecera > div { padding: 10px 12px !important; gap: 8px !important; }
    .ae-cabecera > div > a:last-child { padding: 8px 12px !important; }
    .ae-cabecera img { height: 36px !important; }
    .ae-cabecera > div > a:first-child > span { font-size: 20px !important; }
}
@media (max-width: 650px) {
    .ae-inicio > div { padding: 38px 24px 52px !important; gap: 32px !important; }
    .ae-inicio > div > div:first-child { gap: 16px !important; }
    .ae-inicio > div > div:first-child > div > a { padding: 11px 15px !important; font-size: 15px !important; }
    .ae-inicio > div > div:first-child > p:first-of-type { font-size: 17px !important; }
    .ae-cabecera .ae-menu { padding: 7px 9px; font-size: 13px; }
    .ae-cabecera img { height: 30px !important; }
    .ae-cabecera > div > a:first-child { gap: 5px !important; }
    .ae-cabecera > div > a:first-child > span { font-size: 17px !important; }
    .ae-cabecera > div > a:last-child { padding: 7px 9px !important; font-size: 13px !important; }
}

.ae-tw .ae-new {
    color: var(--ae-ink, #334155);
    font: 400 16px/1.5 Inter, system-ui, sans-serif;
    scroll-margin-top: 100px;
}
:where(.ae-tw .ae-new) :where(h1,h2,h3,p,ul,ol,blockquote) { margin: 0; }
:where(.ae-tw .ae-new) :where(img,video) { display: block; max-width: 100%; }
:where(.ae-tw .ae-new) :where(button) { border: 0 solid transparent; font-family: inherit; }
:where(.ae-tw .ae-new) :where(a) { text-decoration: none; color: inherit; }
:where(.ae-tw .ae-new) :where(svg) { display: block; }
:where(.ae-tw .ae-new) :where([class*="border"]) { border-style: solid; }
:where(.ae-tw .ae-new) :where(img,svg) { vertical-align: middle; }
.ae-solidaria-page { background: #fff; }
.ae-classic-faq .ae-faq { background-color: #fff; }
body:not(.elementor-editor-active) .ae-classic-solidaria_cabecera {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 40;
}
.ae-tw .ae-new.ae-cabecera nav:not(.hidden) { display: block !important; }
.ae-tw .ae-new.ae-cabecera nav.hidden { display: none !important; }
.ae-tw .ae-new.ae-cabecera > div:first-child nav { display: none !important; }
.ae-tw .ae-new.ae-inicio img { height: 100% !important; }
.ae-tw .ae-new.ae-galeria img { height: 16rem !important; }
.ae-tw .ae-new.ae-cabecera img { height: 64px !important; }
@media (min-width: 768px) {
    .ae-tw .ae-new.ae-cabecera > div:first-child nav.hidden { display: flex !important; }
    .ae-tw .ae-new.ae-cabecera [data-ae-menu-panel] { display: none !important; }
    .ae-tw .ae-new.ae-cabecera img { height: 82px !important; }
}
@media (max-width: 767px) {
    .ae-classic-solidaria_pie { padding-bottom: 75px !important; }
    .ae-tw .ae-new.ae-inicio > div, .ae-tw .ae-new.ae-cabecera > div { padding: 0 16px !important; }
    .ae-tw .ae-new.ae-inicio h1 { font-size: clamp(28px, 7vw, 36px) !important; }
    .ae-tw .ae-new.ae-cabecera > div > a:first-child > span { font-size: inherit !important; }
}
body.elementor-editor-active .ae-mobile-cta { display: none !important; }

.ae-new .ae-nav-link { color: #475569; font-size: .875rem; font-weight: 500; }
.ae-new .ae-nav-link:hover { color: var(--ae-blue, #4e7b9c); }
.ae-new .ae-nav-link-mobile { display: block; padding: .625rem 1rem; border-radius: .75rem; font-size: 1rem; }
.ae-new .ae-nav-link-mobile:hover { background: #eef4f5; }
@media (min-width: 768px) {
    .ae-tw .ae-new.ae-cabecera > div:first-child nav.hidden { flex-wrap: wrap; gap: .5rem 1rem; }
    .ae-new .ae-nav-link + .ae-nav-link { margin-left: 0; margin-right: 0; }
}

.ae-hero-accent {
    color: transparent;
    background: linear-gradient(90deg, var(--ae-blue, #4e7b9c), #5e9496, var(--ae-coral, #e37868));
    background-clip: text;
}
.ae-hero-cards { display: grid; gap: 1rem; padding-top: 1rem; }
@media (min-width: 640px) {
    .ae-hero-cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
}
.ae-hero-card {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid var(--ae-border, #f1f5f9);
    border-radius: 1rem;
    background: var(--ae-white, rgba(255,255,255,.85));
    box-shadow: 0 1px 2px rgba(15,23,42,.06);
    text-align: left;
}
.ae-hero-icon { display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; border-radius: .75rem; color: #5e9496; background: #e8f0f0; }
.ae-hero-icon svg { width: 1.25rem; height: 1.25rem; }
.ae-hero-icon-corazon { color: var(--ae-coral, #e37868); background: #fbe9e5; }
.ae-hero-icon-escudo { color: var(--ae-blue, #4e7b9c); background: #e5edf3; }
.ae-hero-card-title { font-weight: 700; font-size: .875rem; color: var(--ae-ink, #233544); }
.ae-hero-card-description { font-size: .75rem; color: var(--ae-muted, #64748b); }

.ae-timeline-row { position: relative; --ae-stage-color: #5e9496; }
.ae-timeline-azul { --ae-stage-color: #4e7b9c; }
.ae-timeline-lila { --ae-stage-color: #9b7490; }
.ae-timeline-coral { --ae-stage-color: #e37868; }
.ae-timeline-label { color: var(--ae-stage-color); }
.ae-timeline-marker { display: none; }
@media (min-width: 768px) {
    .ae-timeline-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
    .ae-timeline-row:nth-child(odd) .ae-timeline-card { grid-column: 1; text-align: right; }
    .ae-timeline-row:nth-child(even) .ae-timeline-card { grid-column: 2; }
    .ae-timeline-marker {
        display: grid; place-items: center; position: absolute; top: 50%; left: 50%;
        transform: translate(-50%, -50%); width: 2.75rem; height: 2.75rem;
        border: 4px solid #fff; border-radius: 50%; background: var(--ae-stage-color);
        color: #fff; font-weight: 700; box-shadow: 0 2px 6px #0002;
    }
}

.ae-donation-grid { display: grid; gap: 2rem; align-items: stretch; }
.ae-bank-id { padding: .75rem; border: 1px solid #e2e8f0; border-radius: .75rem; }
.ae-bank-id[hidden] { display: none; }
@media (min-width: 1024px) {
    .ae-donation-grid:has(.ae-bank-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ae-donation-grid .ae-bank-card { border: 1px solid var(--ae-bank-border) !important; }
.ae-donation-grid .ae-bank-heading {
    background-color: var(--ae-bank-header) !important;
    border-bottom: 4px solid var(--ae-bank-border) !important;
}
.ae-bank-heading .ae-bank-symbol { background-color: var(--ae-bank-border) !important; }
.ae-bank-heading .ae-bank-symbol-mark { border: 3px solid var(--ae-bank-header) !important; }
.ae-bank-heading .ae-bank-accent { color: var(--ae-bank-border) !important; }

.ae-donation-grid .ae-bank-card :is(.ae-bank-copy-link, [data-ae-bank-copy="number"]) {
    border: 1px solid transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
.ae-donation-grid .ae-bank-card .ae-bank-copy-link {
    background: transparent !important;
    color: var(--ae-bank-header) !important;
}
.ae-donation-grid .ae-bank-card [data-ae-bank-copy="number"] {
    background: var(--ae-bank-header) !important;
    color: white !important;
}
.ae-donation-grid .ae-bank-card :is(.ae-bank-copy-link, [data-ae-bank-copy="number"]):is(:hover, :active) {
    border-color: var(--ae-bank-header) !important;
}
.ae-donation-grid .ae-bank-card :is(.ae-bank-copy-link, [data-ae-bank-copy="number"]):focus-visible {
    outline: 2px solid var(--ae-bank-header) !important;
    outline-offset: 3px;
}

.ae-donar .ae-gofundme {
    max-width: 36rem;
    margin: 2rem auto 0;
    overflow: hidden;
    border: 1px solid #9ad2b3;
    border-radius: 1.5rem;
    background: #fff;
    text-align: center;
    box-shadow: 0 4px 16px rgb(0 0 0 / 7%);
}
.ae-donar .ae-gofundme-header {
    padding: 1rem 1.5rem;
    border-bottom: 4px solid #9ad2b3;
    background: #105735;
}
.ae-donar .ae-gofundme-header h3 { margin: 0; color: #fff; font-size: 1.25rem; }
.ae-donar .ae-gofundme-content { padding: 1.5rem; }
.ae-donar .ae-gofundme-content p { margin: 0 0 1rem; color: #334155; }
.ae-donar .ae-gofundme-button {
    display: inline-block;
    max-width: 100%;
    padding: .875rem 2rem;
    border-radius: .75rem;
    background: #167044;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.ae-donar .ae-gofundme-button:hover,
.ae-donar .ae-gofundme-button:focus-visible { background: #105735; color: #fff; }
