/* FatihMH: keep Astra footer at the bottom of short pages. */
html, body { min-height: 100%; }
body.ast-theme-transparent-header #page,
body #page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body #page > #content {
  flex: 1 0 auto;
  width: 100%;
}
body #page > #colophon {
  flex: 0 0 auto;
  width: 100%;
}


/* FatihMH: polished Arabic About page title — page 2859 only. */
body.page-id-2859 .entry-header {
  direction: rtl;
  text-align: right;
  max-width: 1140px;
  margin: 16px auto 18px;
  padding: 0 24px;
}
body.page-id-2859 .entry-header .entry-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(25px, 2.8vw, 35px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0;
  color: #142544;
  margin: 0;
  padding: 9px 0 13px;
  border-bottom: 3px solid #1469ed;
}
body.page-id-2859 .entry-header .entry-title::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-radius: 50%;
  background: #1469ed;
  box-shadow: 0 0 0 5px rgba(20,105,237,.1);
}
@media (max-width: 767px) {
  body.page-id-2859 .entry-header { padding: 0 18px; margin: 12px auto 14px; }
  body.page-id-2859 .entry-header .entry-title { font-size: 26px; }
}

/* FatihMH refined multilingual Astra header — desktop and mobile. */
#masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  isolation: isolate;
  box-shadow: 0 5px 25px rgba(22,38,74,.055);
  transition: box-shadow .25s ease;
}
body.admin-bar #masthead { top: 32px; }
#masthead .ast-primary-header-bar,
#masthead .main-header-bar {
  background: rgba(250,252,255,.97);
  border-bottom: 1px solid rgba(25,65,120,.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
#masthead .ast-builder-grid-row { min-height: 76px; }
#masthead .site-branding img,
#masthead .custom-logo-link img {
  transition: transform .26s ease, filter .26s ease;
}
#masthead .site-branding a:hover img,
#masthead .custom-logo-link:hover img { transform: scale(1.055) rotate(-2deg); }
#masthead .main-header-menu > .menu-item > .menu-link {
  position: relative;
  border-radius: 9px;
  font-weight: 600;
  transition: color .2s ease, background-color .2s ease;
}
#masthead .main-header-menu > .menu-item > .menu-link:hover,
#masthead .main-header-menu > .current-menu-item > .menu-link,
#masthead .main-header-menu > .current_page_item > .menu-link {
  color: #1159d6;
  background: rgba(15,103,242,.06);
}
#masthead .main-header-menu > .menu-item > .menu-link::after {
  content: "";
  position: absolute;
  inset-inline: 19px;
  bottom: 10px;
  height: 2px;
  border-radius: 10px;
  background: #1469ef;
  transform: scaleX(0);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
#masthead .main-header-menu > .menu-item:hover > .menu-link::after,
#masthead .main-header-menu > .current-menu-item > .menu-link::after,
#masthead .main-header-menu > .current_page_item > .menu-link::after {
  transform: scaleX(1);
  opacity: 1;
}
#masthead .ast-custom-button,
#masthead .ast-builder-button-wrap .ast-custom-button {
  border-radius: 11px;
  padding: 12px 22px;
  box-shadow: 0 7px 18px rgba(12,100,235,.16);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
#masthead .ast-custom-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 11px 24px rgba(12,100,235,.25);
}
#masthead a:focus-visible,
#masthead button:focus-visible {
  outline: 2px solid #1769ed;
  outline-offset: 3px;
}
html[lang^="ar"] #masthead .main-header-menu > .menu-item > .menu-link {
  font-weight: 650;
}
@media (max-width: 921px) {
  #masthead .ast-builder-grid-row { min-height: 65px; }
  #masthead .main-header-menu > .menu-item > .menu-link::after { display:none; }
  #masthead .ast-mobile-menu-trigger-minimal { border-radius: 10px; }
}
@media (max-width: 782px) {
  body.admin-bar #masthead { top: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  #masthead *, #masthead *::before, #masthead *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* FatihMH unified responsive design system — EN / FR / AR. */
:root {
  --fm-content-width: 1160px;
  --fm-blue: #1268ef;
  --fm-ink: #142442;
}
html { scroll-behavior: smooth; }
body { font-size: 15px; line-height: 1.75; overflow-x: clip; }
body .ast-container { max-width: 1200px; }
body .site-content .ast-container { padding-inline: clamp(16px, 3vw, 30px); }
body .entry-content { font-size: clamp(14px, 1.05vw, 16px); line-height: 1.85; }
body .entry-content :is(h1,h2,h3,h4,h5,h6) { line-height: 1.36; overflow-wrap: anywhere; }
body .entry-content h1 { font-size: clamp(28px, 3vw, 43px); }
body .entry-content h2 { font-size: clamp(23px, 2.25vw, 34px); }
body .entry-content h3 { font-size: clamp(19px, 1.65vw, 25px); }
body .entry-content h4 { font-size: clamp(17px, 1.4vw, 22px); }
body .entry-header .entry-title { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.4; }
body .entry-content :is(p, li) { overflow-wrap: break-word; }
body .entry-content img { max-width: 100%; height: auto; }
body .entry-content img[style*="height:"],
body .entry-content .wp-block-image img[height] { object-fit: cover; }
body .entry-content :is(.fm-work, .fm-network-ar) { max-width: var(--fm-content-width); margin-inline: auto; }
body .entry-content .fm-work-grid,
body .entry-content .fm-network-grid { gap: clamp(14px, 2vw, 22px); }
body .entry-content :is(.fm-work-card,.fm-network-card) {
  border-radius: 16px;
  transition: transform .22s ease, box-shadow .22s ease;
}
@media (hover:hover) {
  body .entry-content :is(.fm-work-card,.fm-network-card):hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(22,38,74,.09);
  }
}
body .entry-content :is(.wp-block-button__link,.uagb-buttons-repeater,.fm-work-button) {
  border-radius: 10px;
}
#masthead .ast-builder-grid-row { min-height: 70px; }
#masthead .main-header-menu > .menu-item > .menu-link { font-size: 14px; }
#masthead .ast-custom-button { font-size: 14px; padding: 10px 19px; }
#colophon { margin-top: auto; }
#colophon .site-primary-footer-wrap,
#colophon .site-below-footer-wrap {
  padding-block: 10px;
}
#colophon .ast-builder-grid-row { min-height: 0; }
#colophon :is(p,a,small,.ast-footer-copyright) { font-size: 12px; line-height: 1.6; }
html[lang^="ar"] .entry-content { direction: rtl; }
html[lang^="ar"] .entry-content .fm-work,
html[lang^="ar"] .entry-content .fm-network-ar { text-align: right; }
@media(max-width: 921px) {
  #masthead .ast-builder-grid-row { min-height: 64px; }
  body .entry-content h1 { font-size: clamp(26px, 4vw, 36px); }
}
@media(max-width: 767px) {
  body .site-content .ast-container { padding-inline: 17px; }
  body .entry-content { font-size: 15px; }
  body .entry-content h2 { font-size: clamp(22px, 5.5vw, 28px); }
  body .entry-content h3 { font-size: clamp(19px, 4.7vw, 23px); }
  #colophon .ast-builder-grid-row { row-gap: 9px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  body .entry-content :is(.fm-work-card,.fm-network-card) { transition:none; }
}

/* FatihMH consistent inner-page titles — all three languages. */
body.page:not(.home) .entry-header {
  max-width: 1160px;
  margin: 14px auto 16px;
  padding-inline: clamp(16px,2.5vw,28px);
}
body.page:not(.home) .entry-header .entry-title {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 8px 0 12px;
  color: #142544;
  font-size: clamp(24px,2.6vw,34px);
  font-weight: 750;
  line-height: 1.4;
  border-bottom: 3px solid #1469ed;
  letter-spacing: normal;
}
body.page:not(.home) .entry-header .entry-title::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #1469ed;
  box-shadow: 0 0 0 4px rgba(20,105,237,.09);
}
html[lang^="ar"] body.page:not(.home) .entry-header {
  direction: rtl;
  text-align: right;
}
@media(max-width:767px) {
  body.page:not(.home) .entry-header { margin: 10px auto 13px; }
  body.page:not(.home) .entry-header .entry-title { font-size: clamp(22px,5vw,28px); }
}

/* About-page content grid: prevent column collisions in every language. */
body.page-id-1203 .fm-about-layout,
body.page-id-2858 .fm-about-layout,
body.page-id-2859 .fm-about-layout {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(250px,0.95fr);
  gap: clamp(22px,2.7vw,38px);
  align-items: start !important;
  justify-content: center !important;
  width: min(100%,1140px) !important;
  max-width: 1140px !important;
  margin-inline: auto !important;
}
:is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout > .fm-about-column,
:is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout > .fm-about-image {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
:is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout :is(h2,h3,h4,h5,h6) {
  font-size: clamp(20px,1.6vw,25px) !important;
  line-height: 1.42 !important;
  margin: 0 0 18px !important;
  overflow-wrap: normal !important;
}
:is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout p {
  font-size: 15px !important;
  line-height: 1.9 !important;
  margin-block: 0 16px !important;
  overflow-wrap: anywhere;
}
:is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout .fm-about-image img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
}
:is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout .fm-about-image figure {
  width: 100%;
  margin: 0 !important;
}
html[lang^="ar"] body.page-id-2859 .fm-about-layout .fm-about-column {
  direction: rtl;
  text-align: right;
}
@media (max-width: 1080px) {
  :is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  }
  :is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout > .fm-about-image {
    grid-column: 1 / -1;
    max-width: 450px !important;
    justify-self: center;
  }
}
@media (max-width: 680px) {
  :is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 24px;
  }
  :is(body.page-id-1203,body.page-id-2858,body.page-id-2859) .fm-about-layout > .fm-about-image {
    grid-column: auto;
    max-width: 100% !important;
  }
}

/* FatihMH method section — accessible four-step cards across languages. */
body .entry-content .fm-process {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: clamp(42px,5vw,72px) clamp(18px,3vw,32px) !important;
  gap: 0 !important;
}
body .entry-content .fm-process > h2 {
  margin: 0 auto 8px !important;
  text-align: center !important;
  font-size: clamp(25px,2.3vw,34px) !important;
  line-height: 1.35;
}
body .entry-content .fm-process > p {
  max-width: 700px;
  margin: 0 auto 28px !important;
  text-align: center !important;
  color: #4b5871;
  line-height: 1.8;
}
body .entry-content .fm-process > .wp-block-columns {
  width: min(100%,1060px) !important;
  max-width: 1060px !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 20px !important;
  align-items: stretch !important;
  margin: 0 auto 20px !important;
}
body .entry-content .fm-process > .wp-block-columns:last-child {
  margin-bottom: 0 !important;
}
body .entry-content .fm-process > .wp-block-columns > .wp-block-column {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 24px 26px !important;
  background: #fff;
  border: 1px solid #e2e9f3;
  border-radius: 16px;
  box-shadow: 0 7px 25px rgba(20,38,70,.045);
}
body .entry-content .fm-process .wp-block-column h3 {
  font-size: clamp(18px,1.5vw,23px) !important;
  font-weight: 700;
  line-height: 1.45 !important;
  margin: 0 0 12px !important;
  text-align: start !important;
}
body .entry-content .fm-process .wp-block-column p {
  font-size: 15px !important;
  line-height: 1.85 !important;
  margin: 0 !important;
  text-align: start !important;
  color: #4b5871;
}
html[lang^="ar"] .entry-content .fm-process .wp-block-column {
  direction: rtl;
  text-align: right;
}
@media (max-width: 767px) {
  body .entry-content .fm-process {
    padding: 38px 17px !important;
  }
  body .entry-content .fm-process > .wp-block-columns {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 14px !important;
    margin-bottom: 14px !important;
  }
  body .entry-content .fm-process > .wp-block-columns > .wp-block-column {
    padding: 20px !important;
  }
}

/* FatihMH premium multilingual homepage hero */
.fm-premium-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#eaf5ff 0%,#f4f9ff 58%,#e7f3ff 100%);isolation:isolate}
.fm-premium-hero::before{content:"";position:absolute;inset:-30% auto auto -13%;width:430px;height:430px;pointer-events:none;background:radial-gradient(circle,rgba(40,131,245,.12),transparent 70%);border-radius:50%}
.fm-premium-hero-inner{position:relative;z-index:1;max-width:1180px;margin:auto;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:center;gap:clamp(26px,5vw,76px);padding:clamp(60px,7vw,105px) clamp(20px,4vw,42px)}
.fm-premium-copy,.fm-premium-visual{min-width:0}
.fm-premium-kicker{display:inline-flex;align-items:center;gap:10px;margin:0 0 24px!important;padding:8px 14px;border:1px solid #c9ddfa;border-radius:999px;background:#ffffffbd;font-size:12px!important;letter-spacing:.045em;font-weight:750;color:#1459b3}
.fm-premium-kicker::before{content:"";width:7px;height:7px;border-radius:50%;background:#1575ef;box-shadow:0 0 0 4px rgba(20,105,237,.12)}
.fm-premium-title{font-size:clamp(34px,3.5vw,54px)!important;line-height:1.2!important;letter-spacing:-.025em;color:#102541;font-weight:800;margin:0 0 22px!important;max-width:660px}
.fm-premium-title span{display:block;color:#1468dc;margin-top:8px}
.fm-premium-description{max-width:610px;font-size:clamp(15px,1.15vw,17px)!important;line-height:1.9!important;color:#425672;margin:0 0 27px!important}
.fm-premium-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:25px}
.fm-premium-button{display:inline-flex;align-items:center;justify-content:center;text-align:center;text-decoration:none!important;min-height:48px;padding:11px 22px;border-radius:12px;font-size:14px!important;font-weight:700;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.fm-premium-button-primary{background:#1169eb;color:#fff!important;box-shadow:0 12px 24px #1268ef33}
.fm-premium-button-secondary{background:#fff;color:#1758ad!important;border:1px solid #c9def8}
.fm-premium-button:hover{transform:translateY(-3px)}
.fm-premium-button-primary:hover{background:#0956c8;box-shadow:0 17px 30px #1268ef44}
.fm-premium-button-secondary:hover{background:#eef6ff}
.fm-premium-chips{display:flex;gap:8px;flex-wrap:wrap}
.fm-premium-chips span{border:1px solid #d7e6f5;background:#fff9;border-radius:8px;color:#45627f;padding:7px 10px;font-size:12px;line-height:1.5}
.fm-premium-visual{position:relative;max-width:500px;justify-self:center;width:100%}
.fm-premium-picture{position:relative;z-index:1;border-radius:36px;overflow:hidden;aspect-ratio:5/5.5;border:7px solid #ffffffc4;box-shadow:0 32px 65px rgba(15,49,93,.17);animation:fm-premium-float 8s ease-in-out infinite}
.fm-premium-picture img{display:block;width:100%!important;height:100%!important;object-fit:cover;object-position:center;border-radius:0}
.fm-premium-glow{position:absolute;inset:7% -8% -6% 9%;border-radius:42px;background:#6aa9fc33;filter:blur(35px);z-index:0}
.fm-premium-hero[dir="rtl"] .fm-premium-copy{text-align:right}
.fm-premium-hero[dir="rtl"] .fm-premium-title,.fm-premium-hero[dir="rtl"] .fm-premium-description{text-align:right}
@keyframes fm-premium-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@media(max-width:921px){.fm-premium-hero-inner{gap:30px;padding:56px 22px}.fm-premium-title{font-size:clamp(30px,4vw,42px)!important}.fm-premium-picture{border-radius:27px}}
@media(max-width:700px){.fm-premium-hero-inner{grid-template-columns:minmax(0,1fr);padding:44px 20px 55px}.fm-premium-title{font-size:clamp(30px,7vw,38px)!important}.fm-premium-visual{max-width:380px}.fm-premium-picture{aspect-ratio:5/4;animation:none}.fm-premium-actions a{flex:1 1 170px}.fm-premium-kicker{font-size:11px!important}}
@media(prefers-reduced-motion:reduce){.fm-premium-picture{animation:none!important}.fm-premium-button{transition:none!important}}

/* FatihMH home directory: concise multi-page website navigation. */
.fm-home-directory{padding:clamp(48px,6vw,78px) 20px 74px;background:#fff}
.fm-home-directory-inner{max-width:1120px;margin:auto}
.fm-home-directory-heading{text-align:center;max-width:700px;margin:0 auto 32px}
.fm-home-directory-heading h2{font-size:clamp(25px,2.6vw,36px)!important;color:#142442;line-height:1.4;margin:0 0 10px!important}
.fm-home-directory-heading p{font-size:15px!important;line-height:1.8!important;color:#566784;margin:0!important}
.fm-home-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.fm-home-directory-card{min-width:0;padding:26px;background:#f7faff;border:1px solid #e0eaf8;border-radius:16px;transition:transform .22s ease,box-shadow .22s ease}
.fm-home-directory-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #16366313}
.fm-home-directory-card .fm-home-index{font-size:12px;font-weight:750;color:#1670ee}
.fm-home-directory-card h3{font-size:clamp(19px,1.6vw,23px)!important;line-height:1.4!important;margin:12px 0 11px!important;color:#172a48}
.fm-home-directory-card p{min-height:62px;font-size:14px!important;line-height:1.8!important;color:#54657f;margin:0 0 15px!important}
.fm-home-directory-card a{display:inline-block;color:#1268ef;font-size:14px;font-weight:700;text-decoration:none;border-bottom:1px solid #a9cdf7}
.fm-home-directory-card a:hover{color:#084eac}
.fm-home-directory[dir="rtl"] .fm-home-directory-card{text-align:right}
@media(max-width:800px){.fm-home-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.fm-home-directory{padding:42px 17px 54px}.fm-home-directory-grid{grid-template-columns:minmax(0,1fr);gap:13px}.fm-home-directory-card{padding:22px}.fm-home-directory-card p{min-height:0}}
@media(prefers-reduced-motion:reduce){.fm-home-directory-card{transition:none}}

/* FatihMH portfolio case studies and career timeline (EN/FR/AR) */
.fm-case-studies{padding:24px 0 66px;color:#172943}
.fm-cases-inner,.fm-career-inner{max-width:1130px;margin:0 auto;padding:0 clamp(18px,3vw,32px)}
.fm-cases-heading{max-width:790px;margin:0 auto 32px;text-align:center}
.fm-cases-eyebrow{font-size:11px!important;font-weight:800;letter-spacing:.13em;color:#1268ef;margin:0 0 9px!important}
.fm-cases-heading h2{font-size:clamp(24px,2.7vw,36px)!important;line-height:1.4!important;margin:0 0 12px!important}
.fm-cases-heading>p:last-child{font-size:15px!important;color:#596984;line-height:1.8!important;margin:0!important}
.fm-cases-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.fm-case-card{min-width:0;border:1px solid #dee8f4;border-radius:17px;background:linear-gradient(160deg,#fff,#f8fbff);padding:clamp(22px,2.4vw,30px);box-shadow:0 8px 26px #183b630b;transition:transform .2s ease,box-shadow .2s ease}
.fm-case-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px #183b6317}
.fm-case-top{display:flex;justify-content:space-between;gap:14px;align-items:start;flex-wrap:wrap;margin-bottom:16px}
.fm-case-num{font-size:24px;font-weight:800;color:#1469ed;line-height:1}
.fm-case-category{font-size:12px;color:#59708d}
.fm-case-card h3{font-size:clamp(19px,1.6vw,24px)!important;margin:0 0 13px!important;color:#162948;line-height:1.45!important}
.fm-case-card p{font-size:14px!important;color:#4c5e76;line-height:1.85!important;margin:0 0 18px!important}
.fm-case-tech{border-top:1px solid #e5ebf4;padding-top:14px;font-size:12px;color:#315785;font-weight:600}
.fm-case-link{display:inline-block;color:#0b64dd;margin-top:15px;text-decoration:underline;text-underline-offset:4px;font-weight:700;font-size:13px}
.fm-career{padding:62px 0 75px;background:linear-gradient(145deg,#f5f9ff,#fff)}
.fm-career-intro{margin-bottom:28px;max-width:790px}
.fm-career-intro h2{font-size:clamp(24px,2.4vw,34px)!important;margin:0 0 12px!important}
.fm-career-intro p{color:#536580;line-height:1.85;margin:0!important}
.fm-career-list{display:grid;gap:12px}
.fm-career-entry{display:grid;grid-template-columns:125px minmax(0,1fr);gap:22px;align-items:start;background:#fff;border:1px solid #e4ebf5;border-radius:13px;padding:19px 22px}
.fm-career-date{color:#1268ef;font-weight:750;font-size:13px}
.fm-career-entry h3{font-size:18px!important;line-height:1.4!important;margin:0 0 6px!important}
.fm-career-entry p,.fm-career-notes p{margin:0!important;font-size:14px!important;color:#53647f;line-height:1.8!important}
.fm-career-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}
.fm-career-notes>div{background:#edf5ff;border-radius:14px;padding:21px}
.fm-career-notes h3{font-size:18px!important;margin:0 0 9px!important}
.fm-career[dir="rtl"],.fm-case-studies[dir="rtl"]{text-align:right}
@media(max-width:720px){.fm-cases-grid,.fm-career-notes{grid-template-columns:minmax(0,1fr)}.fm-career-entry{grid-template-columns:minmax(0,1fr);gap:7px}.fm-career{padding:45px 0 55px}.fm-case-studies{padding-bottom:48px}}
@media(prefers-reduced-motion:reduce){.fm-case-card{transition:none}}

/* FatihMH Arabic typography alignment — scoped to Arabic content only. */
html[lang^="ar"] .entry-content {
  direction: rtl;
  text-align: right;
}
html[lang^="ar"] .entry-content :is(h1,h2,h3,h4,h5,h6,p,li):not(.has-text-align-center):not([style*="text-align:center"]):not([style*="text-align: center"]) {
  text-align: right;
}
html[lang^="ar"] .entry-content .has-text-align-center,
html[lang^="ar"] .entry-content [style*="text-align:center"],
html[lang^="ar"] .entry-content [style*="text-align: center"] {
  text-align: center;
}

