/* Footer styles shared by the new design system. */

footer,
footer *,
footer *::before,
footer *::after {
    box-sizing: border-box;
}

footer .ap-content-shell {
    width: 100%;
    max-width: var(--ap-content-max, 1344px);
    margin-inline: auto;
    padding-left: var(--ap-content-inset-left, calc(1rem + 14px));
    padding-right: var(--ap-content-inset-right, calc(1rem + 14px));
}

/* Awards template footer theme start. */
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer {
    --ap-awards-ink: #15181b;
    --ap-awards-panel: rgb(21 24 27 / 75%);
    --ap-awards-panel-strong: rgb(12 14 16 / 82%);
    --ap-awards-gold: #c6a878;
    --ap-awards-gold-soft: #f5d385;
    --ap-awards-copy: rgba(247, 234, 208, 0.84);
    --ap-awards-muted: rgba(247, 234, 208, 0.62);
    --ap-awards-line: rgba(198, 168, 120, 0.18);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-top: 1px solid var(--ap-awards-line) !important;
    background:
        radial-gradient(720px 260px at 16% 0%, rgba(245, 211, 133, 0.13), transparent 62%),
        radial-gradient(680px 280px at 84% 18%, rgba(198, 168, 120, 0.08), transparent 64%),
        linear-gradient(180deg, rgb(21 24 27 / 96%) 0%, rgb(10 12 14 / 98%) 100%) !important;
    color: var(--ap-awards-copy);
    font-family: var(--ap-font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif);
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(245, 211, 133, 0.18), transparent) top / 100% 1px no-repeat;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .ap-content-shell {
    position: relative;
    z-index: 1;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer h4 {
    color: var(--ap-awards-gold-soft) !important;
    font-weight: 500 !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .footer_copy,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer p {
    color: var(--ap-awards-muted) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer li a,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .current-menu-item a[aria-current="page"],
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .current_page_item a {
    color: var(--ap-awards-copy) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer li a:hover,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer li a:focus-visible {
    color: var(--ap-awards-gold-soft) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .border-t,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .border-slate-200 {
    border-color: var(--ap-awards-line) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer a[aria-label="AffPapa home"] img {
    filter: brightness(0) invert(1) sepia(0.18) saturate(1.4);
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap input[type="email"],
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap input[type="text"] {
    border-color: var(--ap-awards-line) !important;
    background: var(--ap-awards-panel-strong) !important;
    color: #f7ead0 !important;
    box-shadow: none !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap input::placeholder {
    color: rgba(247, 234, 208, 0.48) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap input[type="submit"], 
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap button[type="submit"] {
    position: relative;
    border: 1px solid rgba(245, 211, 133, 0.42) !important;
    background: radial-gradient(80.85% 45.44% at 50% 105.81%, #fef9f1 0%, #c6a878 51.72%, #9b835d 100%) !important;
    color: #15181b !important;
    font-weight: 600 !important;
    margin: 0px;
    font-size: 11px;
    padding: 4px 26px !important;
    width: max-content;
        border-radius: 11px !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap input[type="email"], body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .subsribe__form_wrap input[type="text"]{
    background: transparent !important;
    border: none !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer  .wpcf7-form-control-wrap {
    position: relative;
    display: flex;
}
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer   .wpcf7-not-valid-tip{
    display: nonne;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .flex.gap-3 a {
    border: 1px solid rgba(245, 211, 133, 0.16);
    background: var(--ap-awards-panel) !important;
    color: var(--ap-awards-gold) !important;
    backdrop-filter: blur(14px) saturate(1.25);
    -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .flex.gap-3 a:hover,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .flex.gap-3 a:focus-visible {
    border-color: rgba(245, 211, 133, 0.34);
    background: rgba(245, 211, 133, 0.12) !important;
    color: var(--ap-awards-gold-soft) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .text-slate-500,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .text-slate-600 {
    color: var(--ap-awards-muted) !important;
}

body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .bg-slate-100,
body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .bg-slate-50 {
    background: var(--ap-awards-panel) !important;
}

@media (max-width: 767px) {
    body:has(#kaya-page-content-wrapper.aff_awards_templates) footer {
        background:
            radial-gradient(460px 220px at 50% 0%, rgba(245, 211, 133, 0.14), transparent 66%),
            linear-gradient(180deg, rgb(21 24 27 / 98%) 0%, rgb(10 12 14 / 100%) 100%) !important;
    }

    body:has(#kaya-page-content-wrapper.aff_awards_templates) footer .ap-content-shell {
        padding-top: 38px !important;
        padding-bottom: 28px !important;
    }
}
/* Awards template footer theme end. */
