@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;600;700&display=swap');


/* Arabic — ONLY the second hero line */
html[dir="rtl"] .gallery-page .gallery-overlay p:nth-of-type(2) {
    font-family: 'Tajawal', sans-serif !important;
    font-style: normal !important;
}

html[dir="rtl"] .featured-info > span {
    font-family: 'Tajawal', sans-serif !important;
    font-style: normal !important;
}/* Mobile Arabic galleries — move the entire page content down together */
@media (max-width: 600px) {
    html[dir="rtl"] .gallery-page main {
        padding-top: 60px !important;
    }
}

@media (max-width: 600px) {

    html[dir="rtl"] .gallery-page .gallery-intro,
    html[dir="rtl"] .gallery-page .gallery-intro + .featured-window,
    html[dir="rtl"] .gallery-page .gallery-intro + .featured-window ~ .featured-window,
    html[dir="rtl"] .gallery-page .related-products,
    html[dir="rtl"] .gallery-page .footer-buttons,
    html[dir="rtl"] .gallery-page .footer-bottom {
        position: relative !important;
        top: 80px !important;
        transform: none !important;
    }

    html[dir="rtl"] .gallery-page .gallery-intro + .featured-window .featured-card,
    html[dir="rtl"] .gallery-page .gallery-intro + .featured-window .featured-info {
        transform: none !important;
    }
}

html[dir="rtl"] .gallery-page .gallery-overlay p:nth-of-type(2) {
    font-family: 'Tajawal', sans-serif !important;
    font-style: normal !important;
}

/* ==========================================
   PROJECT LINK — ARABIC GALLERY
   ========================================== */

html[dir="rtl"] .gallery-page .project-link {

    width:240px;
    height:48px;

    margin-top:18px;

    background:transparent;

    color:#9b6b2d;

    border:1.5px solid #d4a24c;

    font-style:normal;

}

/* PROJECT LINK — HOVER */

html[dir="rtl"] .gallery-page .project-link:hover {

    background:#16382f;

    color:#d4a24c;

    border-color:#16382f;

    transform:translateY(-3px);

    box-shadow:0 12px 28px rgba(0,0,0,.18);

}

@media (max-width:600px){

    html[dir="rtl"] .gallery-page .project-link{
        align-items:flex-start;
        padding-top:5px;
        box-sizing:border-box;
    }

}

@media (max-width:600px){

    .gallery-page .window-720-card{
        background:transparent !important;
    }

}