/* ═══════════════════════════════════════════════════════════════
   SafePremium Academy: Facebook and Instagram follow links
   Added 27 September 2026.

   Three components, all prefixed sp- so nothing here can collide with
   the inline page styles (every page defines its own footer rules):

     .sp-follow          full-width band placed directly above the footer
                         (index, options-101, articles). Visual language
                         taken from the Post 2 video end card: navy grid,
                         short gold rule, gold uppercase Montserrat line.
     .sp-footer-social   round icon links inside .footer-inner (every page
                         with the dark site/dash footer).
     .sp-follow-light    compact variant on a white card (framework.html
                         success state).

   Colours are literal hex values rather than var(--navy) etc. because
   framework.html does not load shared.css and each page declares its
   own :root.

   Plain outbound links only: no embeds, widgets, pixels or third-party
   requests, so the Privacy Policy and the CSP are unaffected.
   ═══════════════════════════════════════════════════════════════ */

/* ── Band ── */
.sp-follow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #22496C 0%, #1C3D5A 50%, #152F47 100%);
    color: #FFFFFF;
    text-align: center;
    padding: 72px 24px 68px;
}
.sp-follow::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}
.sp-follow-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.sp-follow-rule {
    display: block;
    width: 80px;
    height: 2px;
    margin: 0 auto 30px;
    background: #C9A959;
}
.sp-follow-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 3.4vw, 40px);
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #C9A959;
    margin: 0 0 16px;
}
.sp-follow-sub {
    font-family: 'Public Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.78);
    max-width: 620px;
    margin: 0 auto 32px;
}
.sp-follow-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.sp-follow-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 220px;
    padding: 15px 30px;
    border: 1.5px solid rgba(255,255,255,0.6);
    border-radius: 0;
    background: transparent;
    color: #FFFFFF;
    font-family: 'Public Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.sp-follow-btn svg {
    width: 22px;
    height: 22px;
    flex: none;
}
.sp-follow-btn:hover,
.sp-follow-btn:focus-visible {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #1C3D5A;
    transform: translateY(-1px);
}
.sp-follow-btn:focus-visible {
    outline: 2px solid #C9A959;
    outline-offset: 3px;
}
.sp-follow-handle {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    color: #5CC6E8;
    margin: 20px 0 0;
    letter-spacing: 0.02em;
}

@media (max-width: 600px) {
    .sp-follow { padding: 52px 16px 50px; }
    .sp-follow-sub { font-size: 16px; }
    .sp-follow-buttons { flex-direction: column; align-items: stretch; }
    .sp-follow-btn { min-width: 0; width: 100%; }
}

/* ── Footer icons ── */
.sp-footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sp-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sp-footer-social a svg {
    width: 18px;
    height: 18px;
}
.sp-footer-social a:hover,
.sp-footer-social a:focus-visible {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: #1C3D5A;
}

/* ── Light variant (framework.html success card) ── */
.sp-follow-light {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #E4E8EB;
    text-align: center;
}
.sp-follow-light .sp-follow-title {
    font-size: 17px;
    letter-spacing: 0.05em;
    color: #1C3D5A;
    margin-bottom: 8px;
}
.sp-follow-light .sp-follow-sub {
    font-size: 14px;
    color: #4F6B82;
    margin-bottom: 16px;
}
.sp-follow-light .sp-follow-buttons { gap: 10px; }
.sp-follow-light .sp-follow-btn {
    min-width: 0;
    flex: 1 1 150px;
    padding: 12px 16px;
    font-size: 13px;
    border-color: #1C3D5A;
    color: #1C3D5A;
}
.sp-follow-light .sp-follow-btn svg { width: 18px; height: 18px; }
.sp-follow-light .sp-follow-btn:hover,
.sp-follow-light .sp-follow-btn:focus-visible {
    background: #1C3D5A;
    border-color: #1C3D5A;
    color: #FFFFFF;
}
