/* Al-Thuraya storefront footer */
footer.thuraya-footer {
    --footer-ink: #f7f6ff;
    --footer-muted: #d4d2e6;
    --footer-accent: #ffb850;
    --footer-line: #ffffff24;
    position: relative;
    background: radial-gradient(ellipse at top right, #35316a, transparent 62%), #171536;
    color: var(--footer-ink);
    border-top: 3px solid var(--footer-accent);
    scroll-margin-top: 160px;
}

.detail + footer.thuraya-footer::before {
    content: none;
}

.thuraya-footer .thuraya-footer-content {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr) minmax(0, 1fr);
    gap: clamp(24px, 5vw, 72px);
    padding-block: 38px 32px;
}

.thuraya-footer .thuraya-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    width: fit-content;
    max-width: 100%;
    text-decoration: none;
    color: inherit;
}

.thuraya-footer .thuraya-footer-logo {
    display: block;
    flex: 0 0 auto;
    width: 72px;
    height: 72px;
    padding: 6px;
    object-fit: contain;
    background: #fff;
    border-radius: 14px;
}

.thuraya-footer .thuraya-footer-brand strong {
    display: block;
    color: var(--footer-ink);
    font-size: clamp(17px, 1.6vw, 23px);
    line-height: 1.55;
}

.thuraya-footer .thuraya-footer-brand small {
    display: block;
    margin-top: 4px;
    color: var(--footer-accent);
    font-size: 11px;
    letter-spacing: .12em;
    text-align: start;
}

.thuraya-footer .thuraya-footer-description {
    margin: 16px 0 0;
    max-width: 36ch;
    color: var(--footer-muted);
    font-size: 14px;
    line-height: 1.9;
}

.thuraya-footer h3 {
    margin: 3px 0 16px;
    font-size: 16px;
    color: var(--footer-ink);
}

.thuraya-footer h3::after {
    display: block;
    content: "";
    width: 26px;
    height: 2px;
    margin-top: 9px;
    background: var(--footer-accent);
    border-radius: 2px;
}

.thuraya-footer ul {
    display: grid;
    gap: 11px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.thuraya-footer li {
    min-width: 0;
    color: var(--footer-muted);
    font-size: 14px;
}

.thuraya-footer li a,
.thuraya-footer .thuraya-footer-address {
    display: inline-flex;
    align-items: baseline;
    gap: 9px;
    max-width: 100%;
    color: inherit;
    line-height: 1.6;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.thuraya-footer li i {
    width: 17px;
    flex-shrink: 0;
    color: var(--footer-accent);
    text-align: center;
}

.thuraya-footer li a:hover,
.thuraya-footer .thuraya-footer-top:hover {
    color: var(--footer-accent);
}

.thuraya-footer a:focus-visible {
    outline: 2px solid var(--footer-accent);
    outline-offset: 4px;
    border-radius: 3px;
}

.thuraya-footer .thuraya-footer-bottom {
    border-top: 1px solid var(--footer-line);
    background: #0c0b252e;
}

.thuraya-footer .thuraya-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block: 12px;
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.6;
}

.thuraya-footer .thuraya-footer-top {
    flex-shrink: 0;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid var(--footer-line);
    border-radius: 8px;
    color: var(--footer-ink);
    text-decoration: none;
}

@media (max-width: 740px) {
    .thuraya-footer .thuraya-footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px 18px;
        padding-block: 26px 23px;
    }

    .thuraya-footer .thuraya-footer-identity {
        grid-column: 1 / -1;
        padding-bottom: 20px;
        border-bottom: 1px solid var(--footer-line);
    }

    .thuraya-footer .thuraya-footer-logo {
        width: 60px;
        height: 60px;
    }

    .thuraya-footer .thuraya-footer-description {
        max-width: none;
        margin-top: 10px;
    }

    .thuraya-footer li {
        font-size: 13px;
    }
}

@media (max-width: 370px) {
    .thuraya-footer .thuraya-footer-content {
        grid-template-columns: 1fr;
    }

    .thuraya-footer .thuraya-footer-bottom-inner {
        flex-wrap: wrap;
    }
}
