/* Batch 19: polished navy and chrome social medallions; fixed white page background. */
#body.joud-public {
    background-color: #fff;
    background-image: none;
}

.joud-public #footer .joud-footer-brand .jda-footer-social > p {
    margin: 0 0 10px;
    color: #536b7f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: .045em;
}

.joud-public:lang(ar) #footer .joud-footer-brand .jda-footer-social > p {
    letter-spacing: normal;
}

.joud-public .jda-footer-social nav {
    gap: 16px;
    padding-block: 4px 12px;
    overflow: visible;
}

.joud-public .jda-footer-social nav a.jda-social-icon {
    --jda-social-face: radial-gradient(circle at 32% 18%, #31546e 0%, #17374f 35%, #0a2339 72%, #04182b 100%);
    --jda-social-rim: linear-gradient(140deg, #ffffff 0%, #a2b4c3 23%, #edf4f9 38%, #60788d 60%, #b9cbd9 82%, #f6fbff 100%);
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    min-width: 68px;
    min-height: 68px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 50%;
    color: #e3eef6;
    background: var(--jda-social-face) padding-box, var(--jda-social-rim) border-box;
    box-shadow: 0 3px 4px rgba(10, 31, 49, .16), 0 10px 22px rgba(10, 31, 49, .14), inset 0 1px 1px rgba(255, 255, 255, .25), inset 0 -2px 4px rgba(0, 9, 22, .48);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform .24s ease, box-shadow .24s ease;
}

.joud-public .jda-footer-social nav a.jda-social-icon svg {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    filter: drop-shadow(0 1px 1px rgba(0, 7, 18, .55));
    pointer-events: none;
}

/* A second fine bevel and soft surface reflection give the dark enamel face depth. */
.joud-public .jda-footer-social nav a.jda-social-icon::before {
    position: absolute;
    z-index: 0;
    inset: 3px;
    content: "";
    border: 1px solid rgba(211, 230, 243, .13);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), transparent 43%);
    pointer-events: none;
}

.joud-public .jda-footer-social nav a.jda-social-icon::after {
    position: absolute;
    z-index: 2;
    top: -40%;
    left: -80%;
    width: 45%;
    height: 180%;
    content: "";
    opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(229, 244, 255, .48), transparent);
    transform: translateX(0) rotate(24deg);
    pointer-events: none;
    animation: jda-social-reflection 9s ease-in-out 1s infinite;
}

.joud-public .jda-footer-social nav a.jda-social-icon--facebook::after {
    animation-delay: 2.3s;
}

.joud-public .jda-footer-social nav a.jda-social-icon:hover,
.joud-public .jda-footer-social nav a.jda-social-icon:focus-visible {
    color: #f6fbff;
    background: var(--jda-social-face) padding-box, var(--jda-social-rim) border-box;
    box-shadow: 0 4px 6px rgba(10, 31, 49, .18), 0 13px 25px rgba(10, 31, 49, .2), inset 0 1px 1px rgba(255, 255, 255, .3), inset 0 -2px 4px rgba(0, 9, 22, .48);
}

.joud-public .jda-footer-social nav a.jda-social-icon:focus-visible {
    outline: 3px solid #173d62;
    outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
    .joud-public .jda-footer-social nav a.jda-social-icon:hover {
        transform: translateY(-2px);
    }
}

@keyframes jda-social-reflection {
    0%, 72% { opacity: 0; transform: translateX(0) rotate(24deg); }
    75% { opacity: .6; }
    87% { opacity: .6; }
    90%, 100% { opacity: 0; transform: translateX(450%) rotate(24deg); }
}

@media (prefers-reduced-motion: reduce) {
    .joud-public .jda-footer-social nav a.jda-social-icon {
        transition: none;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon:hover {
        transform: none;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon::after {
        animation: none;
        opacity: 0;
    }
}

@media (forced-colors: active) {
    .joud-public .jda-footer-social nav a.jda-social-icon,
    .joud-public .jda-footer-social nav a.jda-social-icon:hover,
    .joud-public .jda-footer-social nav a.jda-social-icon:focus-visible {
        color: LinkText;
        background: Canvas;
        border-color: LinkText;
        box-shadow: none;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon svg {
        filter: none;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon--instagram svg {
        stroke: LinkText;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon--instagram .jda-social-dot,
    .joud-public .jda-footer-social nav a.jda-social-icon--facebook svg {
        fill: LinkText;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon::before,
    .joud-public .jda-footer-social nav a.jda-social-icon::after {
        display: none;
        animation: none;
    }
    .joud-public .jda-footer-social nav a.jda-social-icon:focus-visible {
        outline-color: Highlight;
    }
}
