/* Newsletter + quick links band (shared across public pages) */
.sf-prefooter {
    --sf-paper: #F7F4EC;
    --sf-navy: #0B2C78;
    --sf-red: #C8102E;
    --sf-red-dark: #A50D25;
    --sf-gold: #E7C56A;
    --sf-muted: #64748B;
}

.sf-prefooter .wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.sf-prefooter .lower {
    background: var(--sf-paper);
    padding: 10px 0 56px;
}

.sf-prefooter .lower-grid {
    display: grid;
    gap: 16px;
}

.sf-prefooter .news {
    background: linear-gradient(160deg, #0C348C, #08245F 78%);
    color: #fff;
    border-radius: 22px;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.sf-prefooter .news-grid {
    display: grid;
    gap: 14px;
}

.sf-prefooter .news h2 {
    color: #fff;
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: 26px;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sf-prefooter .news p {
    color: rgba(255, 255, 255, .86);
    margin: 0;
}

.sf-prefooter .news form {
    display: flex;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 5px;
    margin-top: 16px;
}

.sf-prefooter .news input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 10px 14px;
    border-radius: 999px;
    min-width: 0;
    font: inherit;
}

.sf-prefooter .news button {
    border: 0;
    background: var(--sf-red);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 800;
    cursor: pointer;
    font: inherit;
}

.sf-prefooter .news button:hover {
    background: var(--sf-red-dark);
}

.sf-prefooter .book {
    border-radius: 16px;
    min-height: 170px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    text-align: center;
}

.sf-prefooter .book em {
    font-family: "Great Vibes", cursive;
    font-style: normal;
    font-size: 34px;
    line-height: .95;
    color: #fff;
    text-shadow: 0 6px 16px rgba(0, 0, 0, .45);
}

.sf-prefooter .flash {
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    font-weight: 650;
}

.sf-prefooter .flash.ok {
    background: #ECFDF3;
    color: #166534;
}

.sf-prefooter .flash.bad {
    background: #FEF2F2;
    color: #991B1B;
}

.sf-prefooter .quick {
    background: linear-gradient(180deg, #0E3490, #0A276E);
    color: #fff;
    border-radius: 22px;
    padding: 22px;
}

.sf-prefooter .quick h2 {
    color: #fff;
    font-family: Outfit, "Segoe UI", sans-serif;
    font-size: 28px;
    margin-top: 0;
}

.sf-prefooter .quick a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 0;
    font-weight: 650;
    color: inherit;
    text-decoration: none;
}

.sf-prefooter .quick a:hover {
    color: var(--sf-gold);
}

.sf-prefooter .reveal {
    opacity: 1;
    transform: none;
}

.sf-cta-actions .sf-cta-btn--magazine {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.75);
}

.sf-cta-actions .sf-cta-btn--magazine:hover {
    background: #fff;
    color: #0c2e78;
}

@media (min-width: 720px) {
    .sf-prefooter .news-grid {
        grid-template-columns: 1.05fr .95fr;
        align-items: stretch;
    }
    .sf-prefooter .book {
        min-height: 100%;
    }
    .sf-prefooter .lower-grid {
        grid-template-columns: 1.15fr .72fr;
        align-items: start;
    }
}