/* SMORTLER_CYBER_FOOTER_BUTTON_FIX_V1
   Same-origin external copy of the shared footer's important inline styles.
   These rules are scoped to the shared footer and apply only on
   improveyourcybersecurity.com, where this stylesheet is linked.

   The cybersecurity site's restrictive Content-Security-Policy can reject
   inline <style> elements. Other SMORTLER sites do not require this file.
*/

/* Restore the 2-column footer navigation if page styles have taken precedence. */
html body .si-site-footer .si-footer-nav a,
html body .si-site-footer .si-footer-nav a:visited {
    color: #f9f3ff !important;
    text-decoration: none !important;
    opacity: 1 !important;
}
html body .si-site-footer .si-footer-nav a:hover,
html body .si-site-footer .si-footer-nav a:focus-visible {
    color: #f6bc7f !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

/* Kevin Crothers - the approved orange rectangular owner button. */
html body .si-site-footer .si-footer-bottom a.si-footer-owner-link,
html body .si-site-footer .si-footer-bottom a.si-footer-owner-link:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 100%;
    min-height: 41px;
    padding: 10px 18px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 11px !important;
    background: linear-gradient(120deg,#c04a10 0%,#a63a09 100%) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35;
    letter-spacing: .005em;
    text-align: center;
    text-decoration: none !important;
    opacity: 1 !important;
    box-shadow: 0 4px 14px rgba(15,4,29,.17) !important;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
html body .si-site-footer .si-footer-bottom a.si-footer-owner-link:hover {
    background: linear-gradient(120deg,#c74c10 0%,#b94207 100%) !important;
    box-shadow: 0 6px 18px rgba(15,4,29,.25) !important;
    transform: translateY(-1px);
}
html body .si-site-footer .si-footer-bottom a.si-footer-owner-link:focus-visible {
    outline: 3px solid #ffcc69 !important;
    outline-offset: 3px;
}

/* Back to Top - the approved burnt-orange pill. */
html body .si-site-footer a.si-footer-back-to-top,
html body .si-site-footer a.si-footer-back-to-top:visited {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px;
    min-height: 36px;
    padding: 7px 14px !important;
    border: 1px solid rgba(251,125,45,.65) !important;
    border-radius: 999px !important;
    background: #b94207 !important;
    color: #fff !important;
    font-family: inherit;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    white-space: nowrap;
    opacity: 1 !important;
    transition: background .16s ease, transform .16s ease;
}
html body .si-site-footer a.si-footer-back-to-top:hover {
    background: #d65311 !important;
    transform: translateY(-2px);
}
html body .si-site-footer a.si-footer-back-to-top:focus-visible {
    outline: 3px solid #ff9d51 !important;
    outline-offset: 3px;
}

/* Inline legal-footer rules mirrored here for CSP compatibility. */
html body .si-site-footer .si-footer-legal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 22px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(128,106,152,.21);
    margin: 17px 0 0;
    padding: 18px 0 17px;
    line-height: 1.5;
}
html body .si-site-footer .si-footer-legal-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .115em;
    font-weight: 850;
    text-transform: uppercase;
    opacity: .82;
    white-space: nowrap;
}
html body .si-site-footer .si-footer-legal-label::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fb7d2d;
    box-shadow: 0 0 0 3px rgba(251,125,45,.14);
}
html body .si-site-footer .si-footer-legal-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}
html body .si-site-footer .si-footer-legal-nav a,
html body .si-site-footer .si-footer-legal-nav a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 35px;
    padding: 7px 13px;
    border: 1px solid rgba(128,106,152,.25);
    border-radius: 999px;
    background: rgba(125,88,164,.065);
    color: inherit !important;
    text-decoration: none !important;
    opacity: .92;
    font-size: 12px;
    font-weight: 730;
    transition: border-color .15s, background-color .15s, transform .15s, opacity .15s;
}
html body .si-site-footer .si-footer-legal-nav a:hover {
    border-color: rgba(251,125,45,.80);
    background: rgba(251,125,45,.12);
    transform: translateY(-1px);
    opacity: 1;
}
html body .si-site-footer .si-footer-legal-nav a:focus-visible {
    outline: 3px solid #fa7d2d !important;
    outline-offset: 3px;
}
html body .si-site-footer .si-footer-legal-note {
    font-size: 11px;
    line-height: 1.55;
    opacity: .72;
    max-width: 300px;
    margin: 0;
}

@media (max-width:710px) {
    html body .si-site-footer .si-footer-legal { justify-content: center; text-align: center; }
    html body .si-site-footer .si-footer-legal-note { max-width: none; flex-basis: 100%; }
    html body .si-site-footer .si-footer-legal-nav { justify-content: center; }
}
@media (max-width:480px) {
    html body .si-site-footer .si-footer-bottom a.si-footer-owner-link { padding: 10px 13px !important; font-size: 12px !important; }
}
@media (prefers-reduced-motion:reduce) {
    html body .si-site-footer .si-footer-bottom a.si-footer-owner-link,
    html body .si-site-footer a.si-footer-back-to-top,
    html body .si-site-footer .si-footer-legal-nav a { transition: none !important; }
}
