/* Final Makani polish overrides */

/* Contact image: fill the frame cleanly, no accidental strip/thumbnail edge. */
.contact-photo-wrap {
    position: relative !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background: #0a3f3a !important;
    border: 1px solid rgba(10, 63, 58, .12) !important;
    box-shadow: 0 16px 34px rgba(8, 55, 51, .12) !important;
}

.contact-photo-main {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: inherit !important;
}

.contact-photo-small {
    display: none !important;
}

.contact-photo-wrap::after {
    inset: auto 0 0 0 !important;
    height: 64px !important;
    background: linear-gradient(180deg, rgba(8, 55, 51, 0), rgba(8, 55, 51, .36)) !important;
    pointer-events: none !important;
}

.contact-photo-badge {
    z-index: 2 !important;
}

/* Footer social card: calmer, tighter, more professional. */
.site-footer--premium .footer-social-column {
    padding: 22px !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .055)) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 42px rgba(0, 0, 0, .12) !important;
}

.site-footer--premium .footer-social-column .footer-heading {
    margin-bottom: 12px !important;
}

.site-footer--premium .footer-social-column .footer-muted {
    max-width: 230px !important;
    margin-bottom: 18px !important;
    color: rgba(255, 255, 255, .78) !important;
}

.site-footer--premium .footer-social-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 38px) !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: start !important;
}

.site-footer--premium .footer-social-grid .social-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, .095) !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    color: rgba(255, 255, 255, .92) !important;
    box-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease !important;
}

.site-footer--premium .footer-social-grid .social-btn i {
    font-size: 16px !important;
    line-height: 1 !important;
    color: currentColor !important;
}

.site-footer--premium .footer-social-grid .social-btn:hover,
.site-footer--premium .footer-social-grid .social-btn:focus {
    transform: translateY(-2px) !important;
    background: rgba(197, 157, 99, .18) !important;
    border-color: rgba(197, 157, 99, .55) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .16) !important;
}

@media (max-width: 767.98px) {
    .site-footer--premium .footer-social-grid {
        grid-template-columns: repeat(4, 38px) !important;
    }
}
/* Developer hero form media: keep images inside the card and stop overflow. */
.developer-hero__panel {
    max-width: 560px !important;
    margin-inline: auto !important;
    overflow: visible !important;
}

.developer-hero__photo-grid {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 5.2 !important;
    padding: 8px !important;
    border-radius: 16px 16px 0 0 !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-bottom: 0 !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .16) !important;
    overflow: hidden !important;
}

.developer-hero__photo-grid img {
    width: 100% !important;
    height: 100% !important;
    min-height: 150px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    transform: none !important;
}

.developer-hero__photo-grid img:nth-child(2) {
    transform: none !important;
}

.developer-hero .hero-cta-shell {
    border-radius: 0 0 16px 16px !important;
    margin-top: -1px !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, .18) !important;
}

@media (max-width: 991.98px) {
    .developer-hero__panel {
        max-width: 640px !important;
    }
}

@media (max-width: 575.98px) {
    .developer-hero__photo-grid {
        grid-template-columns: 1fr !important;
        aspect-ratio: 16 / 8 !important;
    }

    .developer-hero__photo-grid img:nth-child(2) {
        display: none !important;
    }
}

/* Map city labels: readable Arabic/English labels over Leaflet tiles. */
.map-city-label {
    background: transparent !important;
    border: 0 !important;
    pointer-events: none !important;
}

.map-city-label span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 58px !important;
    min-height: 24px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .92) !important;
    border: 1px solid rgba(10, 63, 58, .14) !important;
    color: #073f3a !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14) !important;
    white-space: nowrap !important;
}
