/*
Theme Name: STL Recovers Theme
Version: 1.0.0
Description: This is a child theme of Beaver Builder
Author: Fierce Creative Agency  
Author URI: http://fiercecreative.agency/
template: bb-theme
*/


/* =========================================================
   COLOR PALETTE (Reference)
   ========================================================= */
/*
   #F2EFEB - Beige
   #E7EFFB - Light Beige
   #121146 - Navy Blue
   #0235A1 - Royal Blue
   #5775A4 - Dull Blue
   #0972D1 - Bright Blue
   #FFD600 - Yellow
   #BC2426 - Red
   #DE7D13 - Orange
   #F8CC12 - Button Yellow
*/

/* =========================================================
   BASE STYLES
   ========================================================= */
html,
body {
    overflow-x: hidden !important;
}

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    color: #000;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    color: #F8CC12;
}

#gov-bar {
    z-index: 99 !important;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
    color: #121146;
    margin: 0;
}

h1 {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    line-height: 1.2 !important;
}

h2 {
    font-family: "Merriweather", serif;
    font-weight: 700;
}

h3 {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
}

h4 {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
}

h5, h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
}

p {
    font-size: 17px;
}

p.big, .big {
    font-size: 18px;
    line-height: 1.6;
}

p.small {
    font-size: 14px;
    line-height: 1.43;
}

/* Typography Variants */
.subheading,
.homepage-intro {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-size: 1.5em;
}

.homepage-intro {
    color: #0235A1;
}

.label-big {
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-size: 1.5em;
    color: #0A3A83;
    text-transform: uppercase;
}

.label-small,
.label-small p {
    font-family: "Merriweather", serif;
    font-weight: 700;
    color: #121146;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.tab-heading p {
    font-family: "Merriweather", serif;
    padding-top: 20px;
    font-weight: 200;
    font-size: 20px !important;
}

.recovery-updates h4 {
    font-family: "Merriweather", serif;
    font-weight: 700;
    color: #000;
    font-size: 22px;
    margin-bottom: 5px;
}

.progress-icons h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

/* Statistics */
.stat-1 {
    font-family: "Merriweather", serif;
    font-size: 30px;
}

.stat-2 {
    font-family: "Merriweather", serif;
    font-size: 38px;
    color: #0A3A83;
    font-weight: 800;
}

/* =========================================================
   BUTTONS
   ========================================================= */
a.fl-button *, 
a.fl-button:visited * {
    color: inherit;
    background: inherit;
}

a.fl-button:hover *, 
a.fl-button:focus * {
    color: inherit;
    background: inherit;
}

.fl-builder-content a.fl-button,
.fl-builder-content a.fl-button:visited,
#footer-main-menu .donate-btn a,
#footer-main-menu .donate-btn a:visited {
    background: #F8CC12;
    border: 4px solid #F8CC12;
    color: #0235A1;
    border-radius: 23px;
    padding: 10px 30px;
    font-family: "Merriweather", serif;
    font-weight: 700;
}

.fl-builder-content a.fl-button:hover,
.fl-builder-content a.fl-button:focus {
    border-color: #0235A1 !important;
    background: #F8CC12 !important;
    transition: border-color 0.2s ease;
    color: #0235A1;
}

.fl-builder-content .dark-btn a.fl-button:hover,
#footer-main-menu .donate-btn a:hover,
#footer-main-menu .donate-btn a:focus {
    border-color: #fff !important;
}

/* =========================================================
   NAVIGATION & FOOTER
   ========================================================= */
#stlrecovers-header,
#stlrecovers-footer {
    background: linear-gradient(90deg, #0A3A83 0%, #111045 100%);
    box-shadow: 0px 6px 6px #0000004D;
    z-index: 99 !important;
}

#stlrecovers-header a,
#stlrecovers-footer a,
#footer-main-menu a {
    color: #fff;
    font-weight: 600;
    font-size: 17px;
}

#stlrecovers-header .menu a {
    margin-right: 25px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#stlrecovers-header .menu a:hover,
.fl-has-submenu-container:focus,
#stlrecovers-footer a:hover,
#stlrecovers-footer a:focus,
#footer-help-menu a:hover,
#footer-help-menu a:focus {
    color: #F8CC12 !important;
}

#stlrecovers-header .current_page_item a {
    color: #F8CC12;
    border-bottom: 3px solid #F8CC12;
    padding-bottom: 10px;
    padding-top: 10px;
}

/* Sub-menu Styles */
#stlrecovers-header .fl-menu .sub-menu {
    background: #5775A4;
    text-align: right;
    padding: 15px 20px;
    width: max-content;
    box-shadow: 0px 6px 10px #00000033;
}

#stlrecovers-header .fl-menu .sub-menu a {
    border-bottom: 1px solid #fff;
    padding-bottom: 10px;
    transition: color 0.2s ease, border-color 0.1s ease;
}

#stlrecovers-header .fl-menu .sub-menu a:hover {
    color: #121146;
    border-bottom-color: #121146;
}

/* Footer Info/Help */
#footer-info-menu a {
    color: #FFFFFF99;
    font-weight: 400;
    border-bottom: 1px solid #FFFFFF66;
    letter-spacing: 0.2px;
}

#menu-help a {
    color: #9ADEFF !important;
    border-bottom: 1px solid #FFFFFF66;
    font-weight: 400;
    letter-spacing: 0.2px;
}

#menu-item-127 {
    margin-top: 15px;
}

/* Icons */
#stlrecovers-header .help-btn i,
#footer-help-menu i {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fa-solid {
    font-style: normal !important;
}

/* =========================================================
   LISTS
   ========================================================= */
ul.inline-list,
ul.inline-list-nobreak {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

ul.inline-list li,
ul.inline-list-nobreak li {
    display: inline;
}

ul.inline-list li:after,
ul.inline-list-nobreak li:after {
    content: "|";
    margin: 0 15px;
}

ul.inline-list li:last-child:after,
ul.inline-list-nobreak li:last-child:after {
    content: "";
}

.fl-rich-text ol {
    list-style-position: inside;
    padding-inline-start: 0;
}

.fl-rich-text ::marker {
    font-weight: 800;
}

.fl-rich-text li {
    font-size: 18px;
    padding: 20px 0;
}

.fl-rich-text ol li {
    border-bottom: 2px solid #f2c94c;
    text-indent: -1.2em;
    padding-left: 1em;
}

.fl-rich-text ol li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* =========================================================
   BEAVER BUILDER: TABS & ACCORDION
   ========================================================= */
.team-tabs .fl-tabs-labels {
    padding-top: 20px;
    padding-bottom: 20px;
    background: #E7EFFB;
    font-weight: 700;
    font-size: 18px;
    color: #121146;
}

.fl-tabs .fl-tabs-label:is(a, button) {
    padding: 0;
    margin-right: 20px;
    margin-left: 20px;
}

.fl-tabs .fl-tabs-label.fl-tab-active {
    background: #E7EFFB;
    border-bottom: 3px solid #121146 !important;
}

.fl-tabs .fl-tabs-label:focus {
    outline: none;
}

.fl-tabs-panels {
    border: none !important;
}

/* Desktop: full-width background effect on tab label bar */
.fl-tabs-labels {
    background: #E7EFFB;
    position: relative;
    padding: 0;
    box-shadow: 0 0 0 100vw #E7EFFB;
    clip-path: inset(0 -100vw 0 -100vw);
}

/* =========================================================
   GRADIENTS & DECORATIVE ELEMENTS
   ========================================================= */
.gradient-bg {
    background: linear-gradient(90deg, #0A3A83 0%, #111045 100%);
}

.blue-gradient-slant-right {
    position: relative;
    background: linear-gradient(90deg, #0A3A83 0%, #111045 100%);
    box-shadow: -100vw 0 0 100vw #0A3A83;
    clip-path: polygon(-100vw 0%, 95% 0%, 100% 100%, -100vw 100%);
    padding: 0;
    margin-bottom: 20px;
    z-index: 1;
    color: white;
}

.blue-gradient-slant-right h1 {
    font-size: 52px;
    padding-right: 50px;
    padding-left: 200px;
}

.blue-gradient-slant-left {
    position: relative;
    background: linear-gradient(90deg, #0A3A83 0%, #111045 100%);
    box-shadow: 100vw 0 0 100vw #111045;
    clip-path: polygon(0% 0%, 200vw 0%, 200vw 100%, 5% 100%);
    margin-left: 20%;
    padding: 0 0 0 100px;
    margin-bottom: 20px;
    z-index: 1;
    color: white;
}

.blue-gradient-slant-left h2 {
    padding-left: 50px;
}

/* Yellow Bars Decoration */
.fl-node-ivq4xesnbg9w:after {
    content: "";
    display: block;
    width: 100% !important;
    height: 6em;
    background-image: url('/documents/yellow-bars-header.svg');
    background-repeat: no-repeat;
    background-size: auto 30%;
    background-position: right;
    position: relative;
    right: -40% !important;
    top: -65px !important;
    z-index: 0;
}

hr.yellow-bar-divider {
    border: none;
    width: 60%;
    height: 80px;
    background-image: url('http://stlrecovers.dev.fiercecreative.agency/wp-content/uploads/2026/01/Yellow-bars.png');
    background-repeat: no-repeat;
    background-size: auto 20%;
    background-position: left center;
    margin: -15px 0;
    display: block;
}

.yellow-bars {
    position: relative;
}

.yellow-bars h2 {
    margin-bottom: 15px;
}

.yellow-bars::after {
    content: "";
    display: block;
    position: relative;
    left: calc(-30vw + 40%);
    width: 50vw;
    height: 3em;
    background-image: url('/wp-content/uploads/2026/01/Yellow-bars.png');
    background-repeat: no-repeat;
    background-size: auto 40%;
    background-position: left;
    top: -10px;
}

.yellow-bars-tabs::after {
    position: absolute;
    content: "";
    display: block;
    left: calc(-40vw + 40%);
    width: 50vw;
    height: 3em;
    background-image: url('/wp-content/uploads/2026/01/Yellow-bars.png');
    background-repeat: no-repeat;
    background-size: auto 40%;
    background-position: left;
    top: 40px;
}

.yellow-bars-tabs h2 {
    margin-bottom: 20px;
}

/* Dog Ear Clips */
.dog-ear img {
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 35%);
    object-fit: cover;
    width: 100%;
}

.dog-ear-right img {
    clip-path: polygon(0% 0%, 85% 0%, 100% 35%, 100% 100%, 0% 100%);
    object-fit: cover;
    width: 100%;
}

/* =========================================================
   PAGE SPECIFIC SECTIONS
   ========================================================= */

/* Header & Homepage */
#page-header h2 {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-size: 23px;
    color: #0A3A83;
}

#page-header::before {
    content: "";
    display: block;
    width: 100%;
    height: 3em;
    background-image: url('/documents/gray-bars-header.svg');
    background-repeat: repeat;
    background-size: auto 200%;
    background-position: center;
}

#page-header .blue-gradient-slant-right h1 {
    font-size: 48px;
    padding-right: 50px;
    padding-left: 0px;
}

#homepage-header h1 {
    font-family: "Merriweather", serif;
    font-weight: 700 !important;
    font-size: 32px;
}

#homepage-header h2 {
    font-family: "Open Sans", sans-serif;
    font-weight: 600 !important;
    font-size: 42px;
}

/* Task Forces */
.task-forces p {
    font-size: 18px !important;
}

.task-forces h3 {
    color: #0235A1;
    margin-top: 20px;
    margin-bottom: 15px;
}

.task-forces .fl-module {
    border-top: 2px solid #F8CC1280;
}

/* Funding Status */
.funding-status {
    position: relative;
    background-color: #E7EFFB;
    box-shadow: 100vw 0 0 100vw #E7EFFB !important;
    clip-path: polygon(0% 0%, 500% 0%, 500% 100%, 10% 100%) !important;
    z-index: 1;
}

/* Email Signup */
.fl-node-sjqodyb5vzel {
    margin-bottom: -70px;
    z-index: 99 !important;
}

.fl-node-7atfbc82y5mp {
    z-index: -2 !important;
}

.email-signup {
    position: relative;
    background-color: #E7EFFB;
    z-index: 1;
    margin-right: 5%;
    clip-path: polygon(-500% 0%, 100% 0%, 95% 100%, -500% 100%);
    overflow: visible;
}

.donation-logo img {
    max-height: 250px !important;
    max-width: 250px !important;
    object-fit: contain;
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */
.fl-menu-responsive-toggle-mobile a {
    text-align: left;
}

.fl-node-103qs54fetjr .fl-menu-mobile-flyout {
    background: #5775A4;
    padding: 25px;
}

.fl-menu-mobile-close i {
    font-size: 30px !important;
    color: #fff;
}

/* =========================================================
   RESPONSIVE / MEDIA QUERIES
   ========================================================= */

@media (max-width: 768px) {

    /* Lists */
    ul.inline-list li {
        display: block;
    }

    ul.inline-list li:after {
        content: "";
        margin: 0;
    }

    /* -------------------------------------------------------
       TABS → ACCORDION: sticky button on scroll
       ------------------------------------------------------- */

    /* Disable the desktop clip-path/box-shadow that breaks sticky */
    .fl-tabs-labels {
        clip-path: none !important;
        box-shadow: none !important;
    }

    /* Accordion button base styles */
    .fl-tabs .fl-tabs-label.fl-tabs-panel-label {
        font-weight: 600;
        font-size: 18px;
        background: #E7EFFB;
    }



    .fl-tabs .fl-tabs-label:is(a, button) {
        margin: 0;
    }

    /* Sticky accordion button */
  .fl-tabs.fl-tabs-horizontal .fl-tabs-panel-label {
    position: sticky !important;
    top: 80px; /* adjust to your header height */
    z-index: 99;
    background: #E7EFFB;
  }

    .fa-plus {
        color: #0972D1;
    }

    /* Section Overrides */
    .funding-status {
        box-shadow: none !important;
        clip-path: none !important;
    }

    .email-signup {
        margin-right: 0;
        clip-path: none;
    }

    .email-signup h2 {
        font-size: 23px !important;
        line-height: 1.1;
    }

    .stat-1 { font-size: 26px !important; }
    .stat-2 { font-size: 28px !important; }

    .yellow-bar-divider {
        display: none !important;
    }

    /* Complex Row Overrides */
    .fl-node-91e7ilopf25g > .fl-row-content-wrap {
        background-image: none;
        background: linear-gradient(90deg, #0A3A83 0%, #111045 100%) !important;
        color: #fff !important;
    }

    .fl-node-91e7ilopf25g h3,
    .fl-node-91e7ilopf25g p {
        color: #fff;
    }

    .fl-node-91e7ilopf25g > .fl-row-content-wrap:after {
        background-image: none;
    }

    .homepage-intro {
        margin-top: 150px;
    }

    .fl-builder-content a.fl-button, 
    .fl-builder-content a.fl-button:visited {
        width: 100% !important;
    }

    /* Mobile nav submenu */
    .fl-menu-mobile-flyout .menu-item-has-children .sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: none;
        height: auto !important;
    }

    #stlrecovers-header .fl-menu .sub-menu {
        box-shadow: none;
        color: #121146;
        margin: 0;
        padding: 0;
    }

    #stlrecovers-header .fl-menu .sub-menu a {
        padding: 10px;
        color: #121146;
        border: none;
    }

    .fl-menu-mobile-flyout .fl-has-submenu-container > a:after {
        display: none;
    }

    .blue-gradient-slant-left {
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .blue-gradient-slant-right,
    .blue-gradient-slant-left {
        width: 90%;
        padding: 20px !important;
        margin: 0;
    }

    .blue-gradient-slant-right h1 {
        padding: 0;
    }

    .blue-gradient-slant-right h2,
    .blue-gradient-slant-left h2 {
        font-size: 24px !important;
    }
}

@media screen and (max-width: 600px) {
    .yellow-bars::after {
        display: none !important;
    }

    #footer-main-menu .donate-btn a {
        margin-top: 20px;
    }

    .yellow-bars h2 {
        font-size: 26px;
        line-height: 1.1;
    }

    #page-header::before {
        display: none;
    }

    #page-header::after {
        content: "";
        display: block;
        width: 200%;
        height: 1.5em;
        background-image: url('/documents/yellow-bars-header.svg');
        background-repeat: repeat-x;
        background-size: auto 70%;
        background-position: left;
        position: relative;
        left: 0;
        top: -20px;
    }

    #page-header .blue-gradient-slant-right {
        clip-path: none;
        box-shadow: none;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        width: 100% !important;
        margin: 0;
    }

    #page-header h1 {
        font-size: 28px !important;
    }

    .blue-gradient-slant-right h2,
    .blue-gradient-slant-left h2 {
        font-size: 24px !important;
        line-height: 1.1;
    }

    #homepage-header h1 {
        font-size: 28px;
    }

    #homepage-header .fl-row-content {
        top: 200px;
        position: relative;
    }

    .blue-gradient-slant-right, 
    .blue-gradient-slant-left {
        padding: 0 !important;
    }

    .blue-gradient-slant-right {
        margin-right: 20px;
    }

    .blue-gradient-slant-left {
        margin-left: 20px;
        margin-top: 10px;
    }

    #page-header .fl-module {
        margin: 0 20px;
    }

    #page-header .blue-gradient-slant-right h1 {
        padding: 0px;
    }

    #gov-bar {
        border-bottom: 3px solid #5775A4;
        text-align: center;
    }

    .fl-node-ivq4xesnbg9w:after {
        width: 100%;
        height: 6em;
        right: -500px !important;
        top: -34px;
    }

    #menu-help a {
        color: #9ADEFF;
        font-weight: 400;
        border-bottom: 1px solid #FFFFFF66;
        letter-spacing: 0.2px;
    }

    .fl-node-sjqodyb5vzel {
        margin-bottom: 0px;
    }
}