.elementor-5272 .elementor-element.elementor-element-993a701{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS *//* ==========================================================
   ADVANTAGE PLUS MARKETING LIBRARY
   PROFESSIONAL VISUAL UPGRADE
   Paste AFTER the existing page CSS
========================================================== */

/* ---------- GLOBAL PAGE POLISH ---------- */

#apx-library{
    max-width:1840px;
    padding:0 24px 60px;
    margin:0 auto;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 22%,
            #ffffff 100%
        );
}

#apx-library,
#apx-library button,
#apx-library input,
#apx-library select,
#apx-library textarea{
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}


/* ---------- HERO ---------- */

#apx-library .apx-hero{
    margin-top:24px;
    padding:64px 60px;

    border:1px solid rgba(255,255,255,.10);
    border-radius:28px;

    background:
        radial-gradient(
            circle at 86% 12%,
            rgba(68,181,242,.24),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 92%,
            rgba(207,37,51,.11),
            transparent 23%
        ),
        linear-gradient(
            118deg,
            #02182f 0%,
            #073866 54%,
            #0a6ca7 100%
        );

    box-shadow:
        0 30px 80px rgba(4,31,61,.18);
}

#apx-library .apx-hero h1{
    max-width:940px;

    font-size:clamp(44px,4.7vw,78px);
    line-height:.96;

    letter-spacing:-.05em;
}

#apx-library .apx-hero p{
    max-width:820px;
    margin-top:24px;

    color:#d7e6f1;

    font-size:18px;
    line-height:1.62;
}

#apx-library .apx-count{
    border:1px solid rgba(255,255,255,.14);
    border-radius:22px;

    background:rgba(3,28,57,.72);

    backdrop-filter:blur(10px);

    box-shadow:
        0 24px 55px rgba(0,0,0,.22);
}

#apx-library .apx-count > strong{
    font-size:64px;
    letter-spacing:-.04em;
}

#apx-library .apx-stat{
    border:1px solid rgba(255,255,255,.08);

    background:rgba(255,255,255,.055);
}


/* ---------- MAIN SPACING ---------- */

#apx-library .apx-main{
    padding-top:34px;
}

#apx-library .apx-panel{
    padding:34px;

    border:1px solid #e0e7ee;
    border-radius:22px;

    box-shadow:
        0 12px 35px rgba(10,39,71,.055);
}


/* ---------- SECTION HEADINGS ---------- */

#apx-library .apx-heading h2{
    font-size:32px;
    letter-spacing:-.025em;
}

#apx-library .apx-heading p{
    margin-top:10px;

    font-size:15px;
    line-height:1.62;
}

#apx-library .apx-lock{
    padding:10px 15px;

    border-color:#c4ddec;

    background:#edf7fc;

    font-size:11px;
    letter-spacing:.025em;
}


/* ---------- PROFILE FORM ---------- */

#apx-library .apx-profile-grid{
    gap:18px;
    margin-top:28px;
}

#apx-library .apx-field label{
    margin-bottom:8px;

    color:#405771;

    font-size:11px;
    letter-spacing:.075em;
}

#apx-library .apx-field input,
#apx-library .apx-field select{
    height:54px;
    padding:0 15px;

    border:1px solid #cbd7e2;
    border-radius:11px;

    background:#fff;

    box-shadow:
        inset 0 1px 2px rgba(11,38,68,.025),
        0 2px 7px rgba(11,38,68,.025);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease;
}

#apx-library .apx-field input:hover,
#apx-library .apx-field select:hover{
    border-color:#b8c8d7;
}

#apx-library .apx-field input:focus,
#apx-library .apx-field select:focus{
    border-color:#1784c6;

    box-shadow:
        0 0 0 4px rgba(23,132,198,.11);
}

#apx-library .apx-website{
    height:54px;
    padding:0 15px;

    border-radius:11px;

    background:
        linear-gradient(
            180deg,
            #f7f9fb,
            #f1f4f7
        );

    font-size:13px;
}

#apx-library .apx-headshot-row{
    min-height:54px;
    padding:6px 10px;

    border-radius:11px;

    background:#fafcfd;
}

#apx-library .apx-headshot-preview{
    width:48px;
    height:48px;
    flex-basis:48px;

    box-shadow:
        0 2px 8px rgba(12,40,71,.12);
}


/* ---------- BUTTONS ---------- */

#apx-library .apx-btn{
    min-height:46px;
    padding:12px 20px;

    border-radius:10px;

    font-weight:800;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

#apx-library .apx-btn:hover{
    transform:translateY(-1px);
}

#apx-library .apx-primary{
    background:
        linear-gradient(
            135deg,
            #0865b0,
            #1697dc
        );

    box-shadow:
        0 8px 20px rgba(13,117,184,.20);
}

#apx-library .apx-primary:hover{
    filter:brightness(1.03);

    box-shadow:
        0 12px 25px rgba(13,117,184,.25);
}

#apx-library .apx-secondary{
    border:1px solid #d2dde6;

    background:#fff;

    box-shadow:
        0 4px 12px rgba(12,40,70,.05);
}


/* ---------- EVENT PANEL ---------- */

#apx-library .apx-event-panel{
    margin-top:28px;
    padding:24px;

    border-color:#ead7a5;
    border-radius:16px;

    background:
        linear-gradient(
            135deg,
            #fffaf0 0%,
            #ffffff 65%
        );

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.65);
}


/* ---------- LIBRARY HEADER ---------- */

#apx-library .apx-library{
    margin-top:44px;
}

#apx-library .apx-pills{
    gap:9px;
}

#apx-library .apx-pill{
    padding:9px 13px;

    border-color:#dbe4ec;

    background:#fbfcfd;

    box-shadow:
        0 2px 8px rgba(9,36,67,.035);
}


/* ---------- FILTER BAR ---------- */

#apx-library .apx-toolbar{
    gap:10px;

    margin-top:20px;
    padding:15px;

    border-radius:16px;

    background:
        linear-gradient(
            180deg,
            #ffffff,
            #fbfcfd
        );

    box-shadow:
        0 7px 24px rgba(8,35,66,.05);
}

#apx-library .apx-toolbar input,
#apx-library .apx-toolbar select{
    height:46px;

    border-radius:9px;

    border-color:#d1dce5;

    box-shadow:
        inset 0 1px 2px rgba(7,35,65,.018);
}

#apx-library .apx-results{
    margin:20px 0 14px;

    font-size:13px;
}


/* ---------- MARKETING CARDS ---------- */

#apx-library .apx-grid{
    gap:26px;
}

#apx-library .apx-card{
    border:1px solid #dfe6ed;
    border-radius:20px;

    background:#fff;

    box-shadow:
        0 10px 28px rgba(6,31,60,.075);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

#apx-library .apx-card:hover{
    transform:translateY(-7px);

    border-color:#c7d7e5;

    box-shadow:
        0 24px 52px rgba(6,31,60,.14);
}

#apx-library .apx-card-preview{
    background:
        linear-gradient(
            180deg,
            #f7f9fb,
            #eef3f7
        );
}

#apx-library .apx-card-body{
    padding:18px;
}

#apx-library .apx-card-body h3{
    font-size:18px;
    letter-spacing:-.015em;
}

#apx-library .apx-card-meta{
    margin-top:8px;

    font-size:11px;
}

#apx-library .apx-card-actions{
    gap:10px;
    margin-top:16px;
}

#apx-library .apx-card-actions button{
    min-height:44px;

    border-radius:9px;

    font-size:12px;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease;
}

#apx-library .apx-card-actions button:hover{
    transform:translateY(-1px);
}

#apx-library .apx-card-actions button:first-child{
    background:
        linear-gradient(
            135deg,
            #03264e,
            #073c72
        );

    box-shadow:
        0 7px 18px rgba(3,38,78,.18);
}


/* ---------- TEMPLATE PREVIEW POLISH ---------- */

#apx-library .apx-template{
    border-radius:0;
}

#apx-library .apx-copy-card,
#apx-library .apx-copy-dark{
    backdrop-filter:blur(3px);
}

#apx-library .apx-agent{
    border-color:#d5dfe8;

    box-shadow:
        0 1.1cqw 2.6cqw rgba(6,40,78,.08);
}

#apx-library .apx-cta{
    box-shadow:
        0 1cqw 2.5cqw rgba(6,45,99,.11);
}


/* ---------- MODAL ---------- */

#apx-library .apx-modal{
    padding:24px;

    background:
        rgba(0,11,24,.92);

    backdrop-filter:blur(5px);
}

#apx-library .apx-modal-box{
    max-width:1540px;

    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;

    box-shadow:
        0 30px 90px rgba(0,0,0,.42);
}

#apx-library .apx-modal-head{
    padding:18px 24px;

    background:
        linear-gradient(
            90deg,
            #031c3f,
            #073c72
        );
}

#apx-library .apx-modal-head h3{
    font-size:20px;
    letter-spacing:-.01em;
}

#apx-library .apx-close{
    width:42px;
    height:42px;

    font-size:24px;

    transition:
        transform .18s ease,
        background .18s ease;
}

#apx-library .apx-close:hover{
    transform:rotate(6deg) scale(1.04);

    background:rgba(255,255,255,.19);
}


/* ---------- PREVIEW STAGE ---------- */

#apx-library .apx-stage{
    min-height:920px;
    padding:44px;

    background:
        radial-gradient(
            circle at 50% 0%,
            #f3f6f8,
            #e3e9ef 60%,
            #dce3e9
        );
}

#apx-library #apx-large{
    max-width:820px;
}

#apx-library #apx-large .apx-template{
    box-shadow:
        0 28px 70px rgba(4,25,50,.26);
}


/* ---------- MODAL TOOLS ---------- */

#apx-library .apx-tools{
    padding:30px;
}

#apx-library .apx-tool{
    padding-bottom:25px;
    margin-bottom:25px;
}

#apx-library .apx-tool h4{
    margin-bottom:13px;

    font-size:15px;
}

#apx-library .apx-option{
    min-height:50px;

    border-radius:10px;

    background:#fff;

    box-shadow:
        0 3px 10px rgba(7,34,64,.035);

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

#apx-library .apx-option:hover{
    transform:translateY(-1px);

    border-color:#b8cad9;

    box-shadow:
        0 7px 16px rgba(7,34,64,.08);
}

#apx-library .apx-option.active{
    border-color:#0a82c3;

    background:
        linear-gradient(
            135deg,
            #0b76b8,
            #1697d5
        );

    box-shadow:
        0 8px 18px rgba(16,132,198,.22);
}

#apx-library .apx-caption{
    min-height:175px;

    border-radius:11px;

    background:#fbfcfd;

    font-size:14px;

    box-shadow:
        inset 0 1px 2px rgba(6,34,64,.025);
}


/* ---------- PAGINATION ---------- */

#apx-library .apx-pagination{
    margin-top:26px;
}

#apx-library .apx-page{
    min-width:43px;
    height:43px;

    border-radius:9px;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

#apx-library .apx-page:hover{
    transform:translateY(-1px);

    box-shadow:
        0 5px 14px rgba(7,34,64,.08);
}

#apx-library .apx-page.active{
    box-shadow:
        0 7px 16px rgba(6,45,99,.20);
}


/* ---------- RESPONSIVE IMPROVEMENTS ---------- */

@media(max-width:1200px){

    #apx-library{
        padding-left:18px;
        padding-right:18px;
    }

    #apx-library .apx-hero{
        padding:48px 42px;
    }

}

@media(max-width:960px){

    #apx-library .apx-hero{
        padding:42px 32px;
    }

    #apx-library .apx-panel{
        padding:26px;
    }

    #apx-library .apx-stage{
        min-height:auto;
        padding:28px;
    }

}

@media(max-width:650px){

    #apx-library{
        padding-left:10px;
        padding-right:10px;
    }

    #apx-library .apx-hero{
        margin-top:10px;
        padding:34px 22px;

        border-radius:20px;
    }

    #apx-library .apx-hero h1{
        font-size:42px;
    }

    #apx-library .apx-panel{
        padding:20px;

        border-radius:16px;
    }

    #apx-library .apx-toolbar{
        padding:10px;
    }

    #apx-library .apx-card{
        border-radius:16px;
    }

    #apx-library .apx-modal{
        padding:8px;
    }

    #apx-library .apx-modal-box{
        border-radius:14px;
    }

    #apx-library .apx-stage{
        padding:14px;
    }

    #apx-library .apx-tools{
        padding:20px;
    }

}/* End custom CSS */