@font-face {
    font-family: "Nodom Banner Naskh";
    src: url("noto-naskh-arabic-bold.woff") format("woff");
    font-weight: 700;
    font-display: swap;
}
.nodom-experts-banner {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    max-width: 70rem;
    margin: .75rem auto;
    padding: .6rem 1rem;
    border-radius: .75rem;
    border-inline-start: 4px solid #d1a45e;
    background: linear-gradient(100deg, #490d1e, #550f23 55%, #4b0c1d);
    color: white;
    text-align: center;
}
.nodom-experts-banner a { color: white; text-decoration: none; }
.nodom-experts-banner a:hover { color: white; text-decoration: underline; }
.nodom-experts-banner :is(.neb-directory, .neb-expert a) {
    font-family: "Nodom Banner Naskh", "Noto Naskh Arabic", serif;
    font-weight: 700;
}
.nodom-experts-banner .neb-directory {
    justify-self: start;
    align-self: start;
    text-align: start;
    font-size: .95rem;
    line-height: 1.5;
    color: #ffe4bb;
}
.nodom-experts-banner .neb-expert a {
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.45;
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
.nodom-experts-banner .neb-expert { min-width: 0; overflow-wrap: anywhere; }
.nodom-experts-banner .neb-controls { display: flex; justify-content: center; gap: .25rem; }
.nodom-experts-banner .neb-controls[hidden] { display: none; }
.nodom-experts-banner button {
    min-width: 44px;
    min-height: 44px;
    padding: .2rem .45rem;
    border: 1px solid #d1a45e;
    border-radius: .4rem;
    background: transparent;
    color: white;
    font: inherit;
    cursor: pointer;
}
.nodom-experts-banner :is(a, button):focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 650px) {
    body .nodom-experts-banner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        margin-inline: .5rem;
        padding: .35rem .65rem .65rem;
        gap: .25rem .5rem;
    }
    body .nodom-experts-banner .neb-directory {
        grid-area: 1 / 1;
        align-self: center;
    }
    body .nodom-experts-banner .neb-controls {
        grid-area: 1 / 2;
    }
    body .nodom-experts-banner .neb-expert {
        grid-area: 2 / 1 / 3 / -1;
    }
    body .nodom-experts-banner .neb-expert a {
        display: inline;
        font-size: clamp(1.3rem, 5.4vw, 1.75rem) !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
    body .nodom-experts-banner .neb-expert a.neb-shine {
        background-image: linear-gradient(90deg, #fff 40%, #fff4dc 45%, #f2c875 50%, #fff4dc 55%, #fff 60%);
        background-size: 300% 100%;
        -webkit-background-clip: text;
        background-clip: text;
        animation: neb-name-shine 950ms ease-out both;
    }
    @keyframes neb-name-shine {
        from { background-position: 100% 50%; color: transparent; -webkit-text-fill-color: transparent; }
        to { background-position: 0% 50%; color: transparent; -webkit-text-fill-color: transparent; }
    }
}
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
    body .nodom-experts-banner .neb-expert a.neb-shine { animation: none; }
}
@media (max-width: 650px) {
    body .nodom-experts-banner {
        grid-template-columns: minmax(0, 1fr) auto !important;
        margin: .5rem .75rem;
        padding: .15rem .65rem .4rem;
        row-gap: 0;
        border-radius: .65rem;
    }
    body .nodom-experts-banner .neb-directory { font-size: .85rem !important; }
    body .nodom-experts-banner .neb-controls { gap: 0; }
    body .nodom-experts-banner .neb-controls button {
        box-sizing: border-box;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #ffe4bb;
        font-size: 1.3rem;
        line-height: 1;
    }
    body .nodom-experts-banner .neb-controls button:active { background: #ffffff1c; }
    body .nodom-experts-banner .neb-expert { line-height: 1.35; }
    body .nodom-experts-banner .neb-expert a { line-height: inherit; }
}
