/* =========================================================
   SHARED SITE FOOTER
   Uses Admin Footer 1 / Footer 2 / Footer 3.
   Footer 4 is intentionally unused.
   ========================================================= */

.site-footer {
    margin-top: 42px;
    padding: 38px 0 34px;
    border-top: 1px solid #1d232a;
    background:
        linear-gradient(180deg, #0d1116 0%, #080b0f 100%);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1.15fr;
    gap: 34px;
    align-items: start;
}

.site-footer-box {
    min-width: 0;
    color: #7f8993;
    font-size: 11px;
    line-height: 1.65;
}

/*
 * The Admin fields already contain their own legacy outer wrappers
 * such as col-lg-4 footer-one / footer-subs / footer-copyright.
 * Neutralize their old layout dimensions so our modern grid controls
 * the three major sections.
 */
.site-footer-box > .col-lg-4,
.site-footer-box .footer-one,
.site-footer-box .footer-subs,
.site-footer-box .footer-copyright {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer-box h1,
.site-footer-box h2,
.site-footer-box h3,
.site-footer-box h4,
.site-footer-box h5,
.site-footer-box .footer-link-head {
    margin: 0 0 11px;
    color: #edf0f2;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
}

.site-footer-box p {
    margin: 0 0 7px;
}

.site-footer-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-box li {
    margin: 0 0 5px;
}

.site-footer-box a {
    color: #8b959f;
    text-decoration: none;
    transition: color .16s ease;
}

.site-footer-box a:hover {
    color: var(--brand-red);
}


/* ---------------------------------------------------------
   Footer 1
   Existing link groups: 123Movies / Gomovies / Fmovies
--------------------------------------------------------- */

.site-footer-box-1 .footer-one {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
}

.site-footer-box-1 .footer-link {
    min-width: 105px;
    flex: 1 1 105px;
    float: none !important;
}


/* ---------------------------------------------------------
   Footer 2
   Existing Subscribe + Connect content
--------------------------------------------------------- */

.site-footer-box-2 .footer-subs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.site-footer-box-2 .footer-link {
    float: none !important;
}

.site-footer-box-2 input[type="text"],
.site-footer-box-2 input[type="email"] {
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    padding: 0 11px;
    border: 1px solid #29313a;
    border-radius: 6px;
    outline: 0;
    background: #11171d;
    color: #e8eaed;
    font-size: 11px;
}

.site-footer-box-2 input[type="text"]:focus,
.site-footer-box-2 input[type="email"]:focus {
    border-color: #4b3236;
}

.site-footer-box-2 input::placeholder {
    color: #626d77;
}

.site-footer-box-2 button,
.site-footer-box-2 input[type="submit"],
.site-footer-box-2 .btn {
    min-height: 34px;
    padding: 0 13px;
    border: 0;
    border-radius: 5px;
    background: var(--brand-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
}

.site-footer-box-2 button:hover,
.site-footer-box-2 input[type="submit"]:hover,
.site-footer-box-2 .btn:hover {
    background: var(--brand-red-hover);
}

/*
 * Existing social icons use Font Awesome classes.
 * Give their links compact dark/red hover treatment even when the
 * old footer stylesheet is no longer loaded.
 */
.site-footer-box-2 a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 32px;
    margin: 0 5px 5px 0;
    border: 1px solid #242c34;
    border-radius: 6px;
    background: #11171d;
}

.site-footer-box-2 a[target="_blank"]:hover {
    border-color: #4a2b30;
    background: rgba(227,38,46,.08);
}


/* ---------------------------------------------------------
   Footer 3
   Existing logo / copyright / disclaimer
--------------------------------------------------------- */

.site-footer-box-3 img {
    display: block;
    max-width: 230px;
    max-height: 58px;
    width: auto;
    height: auto;
    margin: 0 0 16px;
    object-fit: contain;
}

.site-footer-box-3 .my-ft-logo {
    margin-bottom: 14px;
}

.site-footer-box-3 .footer-copyright {
    color: #717c86;
}

.site-footer-box-3 .footer-copyright > p:first-of-type {
    color: #c8cdd2;
    font-weight: 700;
}

.site-footer-box-3 p[style] {
    color: #65717c !important;
    font-size: 10px !important;
    line-height: 1.55 !important;
}


/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */

@media (max-width: 960px) {
    .site-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .site-footer-box-3 {
        grid-column: 1 / -1;
        padding-top: 22px;
        border-top: 1px solid #1c232a;
    }
}

@media (max-width: 620px) {
    .site-footer {
        margin-top: 30px;
        padding: 30px 0 26px;
    }

    .site-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .site-footer-box {
        padding-bottom: 23px;
        border-bottom: 1px solid #1c232a;
    }

    .site-footer-box-3 {
        grid-column: auto;
        padding-top: 0;
        padding-bottom: 0;
        border-top: 0;
        border-bottom: 0;
    }

    .site-footer-box-1 .footer-one {
        gap: 12px 18px;
    }

    .site-footer-box-1 .footer-link {
        flex-basis: 125px;
    }

    .site-footer-box-3 img {
        max-width: 205px;
    }
}
