/* Local assets and px sizes keep the footer independent of Tailwind and Magento's root font size. */
@font-face {
    font-family: 'Tely Footer Ubuntu';
    src: url('../fonts/Ubuntu-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Tely Footer Ubuntu';
    src: url('../fonts/Ubuntu-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.tely-custom-footer {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 32px 0;
    border: 0;
    background: #101828;
    color: #fff;
    font-family: 'Tely Footer Ubuntu', Ubuntu, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
}

.tely-custom-footer,
.tely-custom-footer * {
    box-sizing: border-box;
}

.tely-custom-footer .tely-custom-footer__inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.tely-custom-footer .tely-custom-footer__columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin: 0 0 32px;
}

.tely-custom-footer .tely-custom-footer__brand,
.tely-custom-footer .tely-custom-footer__column {
    min-width: 0;
}

.tely-custom-footer .tely-custom-footer__home {
    display: inline-block;
    margin: 0 0 12px;
    vertical-align: top;
}

.tely-custom-footer .tely-custom-footer__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 80px;
    margin: 0 0 12px;
    border: 0;
    object-fit: contain;
}

.tely-custom-footer .tely-custom-footer__home .tely-custom-footer__logo {
    margin-bottom: 0;
}

.tely-custom-footer .tely-custom-footer__heading {
    margin: 0 0 12px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    letter-spacing: normal;
    text-transform: none;
}

.tely-custom-footer .tely-custom-footer__tagline,
.tely-custom-footer .tely-custom-footer__list,
.tely-custom-footer .tely-custom-footer__legal {
    margin: 0;
    padding: 0;
    color: #99a1af;
    font-size: 14px;
    line-height: 20px;
}

.tely-custom-footer .tely-custom-footer__list {
    list-style: none;
}

.tely-custom-footer .tely-custom-footer__list > li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tely-custom-footer .tely-custom-footer__list > li + li {
    margin-top: 8px;
}

.tely-custom-footer a,
.tely-custom-footer a:visited {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 150ms ease, background-color 150ms ease;
}

.tely-custom-footer a:hover,
.tely-custom-footer a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.tely-custom-footer a:focus-visible {
    outline: 2px solid #c4b5fd;
    outline-offset: 4px;
}

.tely-custom-footer .tely-custom-footer__bottom {
    padding-top: 24px;
    border-top: 1px solid #1e2939;
}

.tely-custom-footer .tely-custom-footer__row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.tely-custom-footer .tely-custom-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tely-custom-footer .tely-custom-footer__social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1e2939;
    color: #fff;
}

.tely-custom-footer a.tely-custom-footer__social-item:hover,
.tely-custom-footer a.tely-custom-footer__social-item:focus-visible {
    background: #9810fa;
}

.tely-custom-footer .tely-custom-footer__social-item img {
    display: block;
    width: 16px;
    height: 16px;
    border: 0;
}

.tely-custom-footer .tely-custom-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
}

.tely-custom-footer .tely-custom-footer__copyright {
    margin: 16px 0 0;
    padding: 0;
    color: #6a7282;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

@media (min-width: 640px) {
    .tely-custom-footer .tely-custom-footer__inner {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (min-width: 768px) {
    .tely-custom-footer .tely-custom-footer__columns {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .tely-custom-footer .tely-custom-footer__row {
        flex-direction: row;
    }

    .tely-custom-footer .tely-custom-footer__copyright {
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .tely-custom-footer .tely-custom-footer__inner {
        padding-right: 32px;
        padding-left: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tely-custom-footer a {
        transition: none;
    }
}
