/* Jewar LTR v1.0.0 — English / Turkish / French / German pages.
 * The Jawar theme hard-codes direction:rtl on its containers; this file only
 * applies when <html dir="ltr"> and flips them back to a proper LTR layout. */
html[dir="ltr"] body,
html[dir="ltr"] .attaya-public,
html[dir="ltr"] .jawar-signature-v4,
html[dir="ltr"] .jawar-signature-v4 main,
html[dir="ltr"] .jawar-signature-v4 .jb-project-tabs,
html[dir="ltr"] .attaya-donation-photo,
html[dir="ltr"] .attaya-donation-copy,
html[dir="ltr"] .attaya-donation-options,
html[dir="ltr"] .country-code-picker,
html[dir="ltr"] .country-dropdown,
html[dir="ltr"] .jpd7-hero-grid,
html[dir="ltr"] .jpd7-layout,
html[dir="ltr"] .jawar-signature-v4 .jb-quick-donate-v461 .jb-quick-donate-form{direction:ltr!important}

html[dir="ltr"] .attaya-public,
html[dir="ltr"] .attaya-table th,html[dir="ltr"] .attaya-table td,
html[dir="ltr"] .table th,html[dir="ltr"] .table td,
html[dir="ltr"] .country-option,
html[dir="ltr"] .jawar-template-about-signature .jb-type-timeline article,
html[dir="ltr"] .jawar-signature-v4 .jb-contact-cards a[href*="wa.me"] b{text-align:left}

@media (max-width:760px){
  html[dir="ltr"] .jawar-signature-v4,html[dir="ltr"] .jawar-signature-v4 main,html[dir="ltr"] .jawar-signature-v4 .jb-builder-block,html[dir="ltr"] .jawar-signature-v4 .jb-section,html[dir="ltr"] .jawar-signature-v4 .jb-prose,html[dir="ltr"] .jawar-signature-v4 .jb-contact,html[dir="ltr"] .jawar-signature-v4 .jb-news,
  html[dir="ltr"] .donation-card,html[dir="ltr"] .attaya-donation-card{direction:ltr!important}
  html[dir="ltr"] .jawar-signature-v4 .jb-hero-copy,html[dir="ltr"] .jawar-signature-v4 .jb-image-text .copy,html[dir="ltr"] .jawar-signature-v4 .jb-contact>.jb-container>header,html[dir="ltr"] .jawar-signature-v4 .jb-prose,html[dir="ltr"] .jawar-signature-v4 .jb-news-grid article>div,
  html[dir="ltr"] .jawar-signature-v4 .jb-heading:not(.centered){text-align:left!important}
  html[dir="ltr"] .jawar-signature-v4 .jb-contact input,html[dir="ltr"] .jawar-signature-v4 .jb-contact textarea,html[dir="ltr"] .jawar-signature-v4 .jb-contact select{direction:ltr!important;text-align:left!important}
  html[dir="ltr"] .ahs-slide.mobile-text-right .ahs-copy{text-align:left!important}
}

/* ===== Header that fits every language (v1.1) =====
 * Longer labels (Turkish, French, German) used to overflow the donate button
 * and get clipped from the menu. Buttons now size to their text, spacing
 * tightens on medium screens, and when the menu still does not fit, the
 * header switches to the burger menu (class added by jewar-header-fit-v1.js). */
.jawar-donate-top{padding-inline:18px;white-space:nowrap;width:auto;flex:0 0 auto}
.jawar-account{white-space:nowrap}
.jawar-account span,.jawar-donate-top span{white-space:nowrap}
.jawar-header-row{grid-template-columns:auto minmax(0,1fr) auto}
.jawar-main-nav a{padding-inline:clamp(8px,0.85vw,14px)}
@media (min-width:1121px) and (max-width:1440px){
  .jawar-main-nav a{font-size:13px}
  .jawar-header-actions{gap:8px}
  .jawar-header-row{gap:18px}
}
html:not([lang="ar"]) .jawar-main-nav a{letter-spacing:0}

.jawar-header.is-nav-compact .jawar-main-nav{display:none}
.jawar-header.is-nav-compact .jawar-menu-toggle{display:grid}
.jawar-header.is-nav-compact .jawar-header-row{grid-template-columns:auto 1fr}
.jawar-header.is-nav-compact .jawar-header-actions{justify-self:end}
.jawar-header.is-nav-compact .jawar-mobile-nav{position:absolute;top:100%;right:20px;left:20px;background:#fff;border:1px solid var(--j4-border,#eadcc7);border-radius:15px;padding:12px;box-shadow:var(--j4-shadow,0 18px 40px rgba(54,38,21,.12));display:grid;gap:2px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.18s;z-index:60}
.jawar-header.is-nav-compact .jawar-mobile-nav.is-open{opacity:1;visibility:visible;transform:none}
.jawar-header.is-nav-compact .jawar-mobile-nav a{padding:9px 11px;border-radius:8px;font-weight:800;font-size:13px}
.jawar-header.is-nav-compact .jawar-mobile-nav a:hover{background:#F4EEE4}
.jawar-header{position:relative}
html[dir="ltr"] .jawar-mobile-nav{text-align:left}

/* ===== Carousel arrows (v1.2) =====
 * attaya-v44.css rotates every left arrow on LTR pages (good for "Donate →"
 * buttons) — that made both carousel arrows point right. On LTR pages the
 * "previous" control must point left and "next" must point right, whatever
 * icon the markup used. */
html[dir="ltr"] :is([data-carousel-prev],[data-project-prev],[data-hero-prev],[data-lightbox-prev],[data-catalog-prev],[data-slider-prev],[data-prev],.ahs-prev,[class*="carousel-prev"],[class*="slider-prev"],[class*="lightbox-prev"],.swiper-button-prev,.slick-prev) :is(.fa-arrow-right,.fa-chevron-right,.fa-angle-right,.fa-caret-right){transform:rotate(180deg)!important}
html[dir="ltr"] :is([data-carousel-prev],[data-project-prev],[data-hero-prev],[data-lightbox-prev],[data-catalog-prev],[data-slider-prev],[data-prev],.ahs-prev,[class*="carousel-prev"],[class*="slider-prev"],[class*="lightbox-prev"],.swiper-button-prev,.slick-prev) :is(.fa-arrow-left,.fa-chevron-left,.fa-angle-left,.fa-caret-left){transform:none!important}
html[dir="ltr"] :is([data-carousel-next],[data-project-next],[data-hero-next],[data-lightbox-next],[data-catalog-next],[data-slider-next],[data-next],.ahs-next,[class*="carousel-next"],[class*="slider-next"],[class*="lightbox-next"],.swiper-button-next,.slick-next) :is(.fa-arrow-left,.fa-chevron-left,.fa-angle-left,.fa-caret-left){transform:rotate(180deg)!important}
html[dir="ltr"] :is([data-carousel-next],[data-project-next],[data-hero-next],[data-lightbox-next],[data-catalog-next],[data-slider-next],[data-next],.ahs-next,[class*="carousel-next"],[class*="slider-next"],[class*="lightbox-next"],.swiper-button-next,.slick-next) :is(.fa-arrow-right,.fa-chevron-right,.fa-angle-right,.fa-caret-right){transform:none!important}
