/* ======================================================================
   10. Lábléc — közös PHP-komponens, önálló tipográfia és térközök
   A logó képaránya itt is változatlan. A színfordítás csak a színt érinti.
   ====================================================================== */

.sl-footer {
    padding: 34px 0 28px;
    background: linear-gradient(110deg, #102a49, #103354 55%, #102d50);
    color: #fff;
}

.sl-footer__grid {
    display: grid;
    grid-template-columns: 1.48fr .84fr .97fr 1.21fr;
    gap: 46px;
}

.sl-footer__brand-block {
    min-width: 0;
}

.sl-brand--footer {
    width: 294px;
    max-width: 100%;
}

.sl-brand--footer .sl-brand__image {
    filter: grayscale(1) invert(1) brightness(2.3);
    mix-blend-mode: screen;
}

.sl-footer__tagline {
    margin-top: 13px;
    margin-left: 59px;
    color: #dbe7f4;
    font-size: 14px;
    line-height: 1.4;
}

.sl-footer__contact {
    display: block;
    margin-top: 12px;
    color: #e4edf8;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.sl-footer__heading {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
}

.sl-footer__link-list {
    list-style: none;
}

.sl-footer__link {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    color: #f0f5fc;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
}

.sl-footer__link:hover, .sl-footer__contact:hover {
    color: #6df0e5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sl-footer__quote {
    margin-top: 4px;
    padding-left: 28px;
    border-left: 1px solid rgb(163 185 205 / 47%);
}

.sl-footer__quote-text {
    color: #eff5fc;
    font-size: 20px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

.sl-footer__quote-line {
    display: block;
    width: 45px;
    height: 3px;
    margin-top: 19px;
    margin-left: 7px;
    background: #39dcd4;
}

.sl-footer__bottom {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 33px;
    padding-top: 21px;
    border-top: 1px solid rgb(146 173 198 / 40%);
}

.sl-footer__copyright {
    color: #c6d5e5;
    font-size: 12px;
    line-height: 1.5;
}

.sl-footer__social {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.sl-footer__social-mark {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: #f1f7ff;
    font-family: Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
}

.sl-footer__social-mark--facebook {
    width: 18px;
    height: 18px;
    padding-top: 3px;
    border-radius: 50%;
    background: #f1f7ff;
    color: #153553;
    font-size: 18px;
}

.sl-footer__social-mark--youtube {
    width: 22px;
    height: 16px;
    border-radius: 4px;
    background: #f1f7ff;
    color: #153553;
    font-size: 11px;
}

.sl-footer__social-mark--instagram {
    width: 19px;
    height: 19px;
    font-size: 24px;
}

.sl-footer__social-mark--linkedin {
    width: 18px;
    height: 18px;
    border-radius: 1px;
    background: #f1f7ff;
    color: #153553;
    font-size: 13px;
}

.sl-footer__demo-note {
    color: #c6d5e5;
    font-size: 12px;
    line-height: 1.5;
}

@media (min-width: 1001px) and (max-width: 1250px) {
    .sl-footer__grid {
        gap: 28px;
    }

    .sl-brand--footer {
        width: 252px;
    }

    .sl-footer__tagline {
        margin-left: 45px;
        font-size: 12px;
    }

    .sl-footer__link {
        font-size: 14px;
    }

    .sl-footer__heading {
        font-size: 17px;
    }

    .sl-footer__quote {
        padding-left: 20px;
    }

    .sl-footer__quote-text {
        font-size: 17px;
    }

    .sl-footer__bottom {
        gap: 20px;
    }

    .sl-footer__copyright, .sl-footer__demo-note {
        font-size: 11px;
    }

}

@media (min-width: 701px) and (max-width: 1000px) {
    .sl-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 27px;
    }

    .sl-brand--footer {
        width: 250px;
    }

    .sl-footer__tagline {
        margin-left: 0;
        font-size: 12px;
    }

    .sl-footer__quote {
        display: none;
    }

    .sl-footer__link {
        font-size: 14px;
    }

    .sl-footer__heading {
        font-size: 17px;
    }

    .sl-footer__bottom {
        flex-wrap: wrap;
        gap: 20px;
    }

    .sl-footer__demo-note {
        margin-left: auto;
    }

}

@media (max-width: 700px) {
    .sl-footer {
        padding: 29px 0 23px;
    }

    .sl-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 27px 20px;
    }

    .sl-footer__brand-block {
        grid-column: 1 / -1;
    }

    .sl-brand--footer {
        width: 262px;
    }

    .sl-footer__tagline {
        margin-top: 10px;
        margin-left: 0;
        font-size: 13px;
    }

    .sl-footer__heading {
        font-size: 16px;
    }

    .sl-footer__link {
        font-size: 14px;
        line-height: 1.95;
    }

    .sl-footer__quote {
        display: none;
    }

    .sl-footer__bottom {
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 26px;
        padding-top: 21px;
    }

    .sl-footer__copyright {
        flex-basis: 100%;
        font-size: 11px;
    }

    .sl-footer__social {
        margin-left: 0;
        gap: 17px;
    }

    .sl-footer__demo-note {
        max-width: 155px;
        margin-left: auto;
        font-size: 10px;
        text-align: right;
    }

}
