
/* =========================================================
   EILDA — EDITORIAL FOOTER
========================================================= */

.eilda-footer {
    width: 100%;
    padding: 65px 4.5% 22px;
    background: #951528;
    color: #ffffff;
    box-sizing: border-box;
}

.eilda-footer *,
.eilda-footer *::before,
.eilda-footer *::after {
    box-sizing: border-box;
}


.eilda-footer .footer-brand {
    max-width: 480px;
    margin-bottom: 38px;
}

.eilda-footer .footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    color: #ffffff;
    font-family: "Doran", Georgia, serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -1px;
    text-decoration: none;
}

.eilda-footer .footer-description {
    max-width: 400px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: "Doran", Georgia, serif;
    font-size: 14px;
    line-height: 1.9;
}



.eilda-footer .footer-navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 25px;
    padding: 23px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.eilda-footer .footer-navigation a {
    color: #ffffff;
    font-family: "Doran", Georgia, serif;
    font-size: 13px;
    line-height: 1.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.eilda-footer .footer-navigation a:hover {
    opacity: 0.65;
}



.eilda-footer .footer-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
}

.eilda-footer .footer-contact-label {
    color: #ffffff;
    font-family: "Doran", Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.15em;
}

.eilda-footer .footer-socials {
    display: flex;
    align-items: center;
    gap: 20px;
}

.eilda-footer .footer-socials a,
.eilda-footer .footer-email-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.eilda-footer .footer-socials svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eilda-footer .footer-socials a:nth-child(2) svg {
    fill: currentColor;
    stroke: none;
}

.eilda-footer .footer-socials a:hover,
.eilda-footer .footer-email-button:hover {
    background: #ffffff;
    color: #951528;
}



.eilda-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.eilda-footer .footer-copyright,
.eilda-footer .footer-privacy {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.8;
}

.eilda-footer .footer-privacy {
    text-decoration: none;
}

.eilda-footer .footer-privacy:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}



.eilda-footer .footer-credit {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: Arial, sans-serif;
    font-size: 10px;
    text-align: center;
    line-height: 1.8;
}

.eilda-footer .footer-credit a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.eilda-footer .footer-credit a:hover {
    opacity: 0.7;
    text-decoration: underline;
    text-underline-offset: 3px;
}



.footer-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.footer-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.footer-popup {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 40px;
    background: #ffffff;
    color: #111111;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.footer-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    border: none;
    background: transparent;
    color: #111111;
    font-size: 28px;
    cursor: pointer;
}

.footer-popup-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #951528;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0.16em;
}

.footer-popup h2 {
    margin: 0 0 14px;
    font-family: "Doran", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
}

.footer-popup > p:not(.footer-copy-status) {
    margin: 0 0 22px;
    color: #555555;
    font-family: "Doran", Georgia, serif;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.footer-popup-email {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 22px;
    padding-bottom: 5px;
    border-bottom: 1px solid #951528;
    color: #951528;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-copy-button {
    display: block;
    padding: 11px 15px;
    border: 1px solid #951528;
    background: #951528;
    color: #ffffff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
}

.footer-copy-status {
    margin: 12px 0 0;
    color: #555555;
    font-family: Arial, sans-serif;
    font-size: 12px;
}



@media (max-width: 800px) {
    .eilda-footer {
        padding: 50px 5% 20px;
    }

    .eilda-footer .footer-navigation {
        gap: 12px 20px;
    }
}



@media (max-width: 600px) {
    .eilda-footer {
        padding: 40px 6% 18px;
    }

    .eilda-footer .footer-brand {
        margin-bottom: 28px;
    }

    .eilda-footer .footer-logo {
        font-size: 36px;
    }

    .eilda-footer .footer-navigation {
        gap: 13px 19px;
        padding: 20px 0;
    }

    .eilda-footer .footer-navigation a {
        font-size: 12px;
    }

    .eilda-footer .footer-contact {
        align-items: flex-start;
        padding: 22px 0;
    }

    .eilda-footer .footer-socials {
        gap: 10px;
    }

    .eilda-footer .footer-socials a,
    .eilda-footer .footer-email-button {
        width: 32px;
        height: 32px;
    }

    .eilda-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .eilda-footer .footer-credit {
        text-align: left;
    }

    .footer-popup {
        padding: 35px 25px;
    }
}



@media (prefers-reduced-motion: reduce) {
    .eilda-footer *,
    .footer-popup-overlay {
        transition: none !important;
    }
}


.eilda-footer .footer-brand {
    display: block;
    width: 100%;
    max-width: 480px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.eilda-footer .footer-logo {
    display: block;
    width: fit-content;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}



html[dir="rtl"] .eilda-footer .footer-brand {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

html[dir="rtl"] .eilda-footer .footer-logo {
    margin-left: 0;
    margin-right: 0;
    text-align: right;
}

html[dir="rtl"] .eilda-footer .footer-description {
    text-align: right;
    direction: rtl;
}



body.page .eilda-footer {
    margin-top: 275px;
}


body.home .eilda-footer {
    margin-top: 19px;
}

body.culture-news-page .eilda-footer {
    margin-top: 275px;
}


body.single-culture_news .eilda-footer {
    margin-top: 275px;
}

body.interviews-page .eilda-footer {
    margin-top: 275px;
}


body.single-interviews .eilda-footer {
    margin-top: 275px;
}


.footer-language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
}



.footer-language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;
    padding: 7px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;

    background: transparent;
    color: #ffffff;

    cursor: pointer;
    list-style: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.footer-language-toggle::-webkit-details-marker {
    display: none;
}

.footer-language-toggle::marker {
    content: "";
}

.footer-language-toggle svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-language-toggle:hover {
    background: #ffffff;
    color: #951528;
    border-color: #ffffff;
}


.footer-language-menu {
    position: absolute;
    bottom: calc(100% + 12px);
    right: 0;

    min-width: 125px;
    margin: 0;
    padding: 7px 0;

    list-style: none;

    background: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 3px;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);

    z-index: 1000;
}



.footer-language-menu li {
    margin: 0;
    padding: 0;
}

.footer-language-menu a,
.footer-language-menu span {
    display: block;
    padding: 9px 14px;

    color: #111111;
    font-family: inherit;
    font-size: 13px;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.footer-language-menu a:hover {
    color: #951528;
    background: #f7f7f7;
}

.footer-language-menu .footer-language-current {
    color: #951528;
    font-weight: 600;
}



.footer-language-switcher[open] .footer-language-toggle {
    background: #ffffff;
    color: #951528;
    border-color: #ffffff;
}


.footer-language-switcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    direction: ltr;
    gap: 9px;

    white-space: nowrap;
}



.footer-language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 0;

    color: #ffffff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.8px;

    text-decoration: none;

    opacity: 0.75;

    transition:
        opacity 0.25s ease,
        font-weight 0.25s ease;
}



.footer-language-option:hover {
    color: #ffffff;
    opacity: 1;
}



.footer-language-option.is-current {
    color: #ffffff;
    font-weight: 600;
    opacity: 1;
}



.footer-language-option.is-unavailable {
    opacity: 0.45;
    cursor: default;
}



.footer-language-separator {
    display: inline-block;

    width: 1px;
    height: 13px;

    background: rgba(255, 255, 255, 0.55);
}

html[lang^="ar"] .eilda-footer .footer-logo {
    font-family: 'EILDAArabicSelected', sans-serif !important;
    letter-spacing: 0;
}



html[lang^="en"] .eilda-footer .footer-logo {
    font-family: 'EILDAEnglishSelected', sans-serif !important;
    letter-spacing: -1px;
}
