:root{--mta-deep:#063775;--mta-navy:#074396;--mta-blue:#075ed4;--mta-sky:#3abaf7;--mta-ink:#0b2860;--mta-white:#fff;--mta-radius:40px}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--mta-ink);font-family:"MTA Jakarta",sans-serif;-webkit-font-smoothing:antialiased}
html[lang^="ar"] body{font-family:"MTA Alexandria","MTA Jakarta",sans-serif}
a:focus-visible,summary:focus-visible{outline:3px solid #f7bb54;outline-offset:4px}
.mta-container,.mta-header__inner{width:min(94%,1480px);margin-inline:auto}
.mta-skip{position:fixed;top:-120px;inset-inline-start:20px;padding:12px;background:#fff;z-index:9999}.mta-skip:focus{top:8px}
.mta-header{background:#fff;position:relative;z-index:5}
.mta-header__inner{min-height:112px;display:flex;align-items:center;gap:36px;justify-content:space-between}
.mta-brand{color:var(--mta-ink);text-decoration:none;display:inline-flex;gap:12px;align-items:center;font-size:clamp(17px,1.5vw,24px);font-weight:800;line-height:1.1}
.mta-brand-logo{height:74px;width:auto;max-width:245px;object-fit:contain}
.mta-brand__placeholder{font:900 49px/1 "MTA Jakarta",sans-serif;color:#128de3;position:relative;letter-spacing:-5px}
.mta-brand__crescent{position:absolute;top:-17px;right:4px;font-size:21px;letter-spacing:0;color:#0a67cc}
.mta-nav{display:flex;align-items:center;gap:30px}.mta-nav a{color:var(--mta-ink);font-weight:700;text-decoration:none;font-size:15px;padding:8px 0;white-space:nowrap}.mta-nav__active{color:#0670de!important;border-bottom:3px solid #0670de}
.mta-header__tools{margin-inline-start:auto}.mta-language{position:relative;font-weight:700}.mta-language summary{list-style:none;cursor:pointer;border:1px solid #d9e8fa;border-radius:18px;padding:10px 12px;white-space:nowrap}.mta-language summary::-webkit-details-marker{display:none}.mta-language ul{list-style:none;position:absolute;z-index:20;inset-inline-end:0;top:100%;margin:8px 0;padding:8px;min-width:94px;background:#fff;border:1px solid #d7e8fb;border-radius:14px;box-shadow:0 12px 30px #0a32621a}.mta-language a{text-decoration:none;color:var(--mta-ink);display:block;padding:8px 12px}.mta-language a:hover{background:#eaf5ff}
.mta-main{min-height:60vh;padding-top:20px}.mta-hero{position:relative;border-radius:var(--mta-radius);background:radial-gradient(circle at 21% 45%,#207ee9 0%,transparent 40%),linear-gradient(117deg,#075bc9 2%,#063980 72%,#073477 100%);min-height:530px;color:#fff;isolation:isolate;margin-bottom:94px}
.mta-hero:before{position:absolute;content:"";inset:0;border-radius:inherit;pointer-events:none;opacity:.15;background-image:radial-gradient(circle at 90% 15%,#62ceff 0 9px,transparent 10px),repeating-radial-gradient(circle at 88% 35%,#67baff 0 2px,transparent 3px 30px);mask-image:linear-gradient(to right,transparent 32%,#000)}
.mta-hero__inner{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);min-height:530px;direction:inherit}
.mta-hero__copy{z-index:1;align-self:center;padding:52px clamp(24px,4.4vw,76px);min-width:0}
.mta-hero__eyebrow{display:inline-flex;padding:9px 18px;border:1px solid #ffffff50;border-radius:30px;background:#ffffff12;color:#d9f2ff;font-size:14px;font-weight:700}
.mta-hero h1{font-size:clamp(32px,3.9vw,65px);line-height:1.29;letter-spacing:-.02em;margin:25px 0 20px;font-weight:800;max-width:760px}
.mta-hero h1 span,.mta-hero h1 strong{display:block}.mta-hero h1 strong{color:#80e6ff;font-weight:850}
.mta-hero__description{font-size:clamp(16px,1.35vw,22px);line-height:1.9;max-width:600px;color:#eff8ff;margin:0 0 32px}
.mta-hero__actions{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.mta-btn{min-height:56px;display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:13px 22px;border-radius:21px;font-size:15px;font-weight:800;text-decoration:none;line-height:1.4;transition:transform .2s,background .2s}
a.mta-btn:hover{transform:translateY(-2px)}.mta-btn--primary{background:linear-gradient(135deg,#42d3fa,#13a6f3);color:#032b64;box-shadow:0 8px 24px #042e6d43}.mta-btn--outline{border:1px solid #d7f0ff7a;background:#ffffff16;color:#fff}.mta-btn--pending{cursor:default;opacity:.85}
.mta-hero__visual{position:relative;min-width:0;overflow:hidden;border-radius:var(--mta-radius) 0 0 var(--mta-radius);align-self:stretch;display:flex;align-items:flex-end;justify-content:center}
html[dir="ltr"] .mta-hero__visual{border-radius:0 var(--mta-radius) var(--mta-radius) 0}
.mta-hero__visual:before{content:"";position:absolute;width:95%;height:94%;border:1.5px solid #c6eeff70;top:7%;border-radius:51% 49% 35% 56%;background:#ffffff0d;transform:rotate(-12deg)}
.mta-hero__photo{position:relative;width:100%;height:100%;max-height:570px;object-fit:cover;object-position:center top;mask-image:linear-gradient(to top,transparent 0%,#000 13%)}
.mta-hero__placeholder{position:relative;display:flex;align-items:center;justify-content:center;width:100%;padding:45px}.mta-hero__placeholder svg{width:min(100%,460px);filter:drop-shadow(0 20px 20px #06326d66)}
.mta-hero__seal{position:absolute;z-index:3;inset-inline-start:23px;bottom:-75px;width:200px;height:200px;border-radius:50%;border:5px solid #8bd9ff;background:#fff;box-shadow:0 16px 44px #0b418338;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:20px;color:#063b80;text-align:center}
.mta-hero__seal img{max-width:90%;max-height:120px;width:auto;height:auto;object-fit:contain}.mta-hero__seal-mark{font:900 83px/1 "MTA Jakarta",sans-serif;letter-spacing:-12px;color:#0778de}.mta-hero__seal-name{font-weight:900;font-size:18px;line-height:1.2}
.mta-benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 44px;border:1px solid #e8f2fc;border-radius:28px;background:#fff;box-shadow:0 12px 32px #113d6d0c;padding:23px 215px 23px 16px}
html[dir="ltr"] .mta-benefits{padding:23px 16px 23px 215px}
.mta-benefits__item{display:flex;align-items:center;justify-content:center;gap:13px;font-size:clamp(12px,1.15vw,17px);font-weight:750;line-height:1.55;border-inline-end:1px solid #d5e8fb;padding-inline:8px;text-align:start}.mta-benefits__item:last-child{border:0}.mta-benefits__icon{flex:none;display:grid;place-items:center;width:49px;height:49px;border-radius:50%;background:#e5f4ff;color:#0863c4;font-size:26px}
.mta-home-content{padding:20px 0 55px}.mta-footer{padding:35px 0;color:#527197;text-align:center;font-size:14px}
@media(max-width:1100px){.mta-hero h1{font-size:clamp(30px,4.4vw,50px)}.mta-hero__copy{padding:30px}.mta-hero__seal{width:155px;height:155px;bottom:-60px}.mta-benefits{padding:15px;gap:6px;margin-top:60px}.mta-benefits__item{flex-direction:column;text-align:center}}
@media(max-width:750px){.mta-header__inner{min-height:85px;gap:10px;flex-wrap:wrap;padding:12px 0}.mta-brand-logo{height:55px}.mta-brand__name{font-size:18px}.mta-nav{order:3;width:100%;gap:20px;justify-content:center}.mta-header__tools{margin-inline-start:auto}.mta-hero{border-radius:26px;min-height:0;margin-bottom:78px}.mta-hero__inner{display:flex;flex-direction:column}.mta-hero__copy{padding:30px 25px 18px;text-align:start}.mta-hero h1{font-size:clamp(29px,7vw,42px);margin:22px 0 14px}.mta-hero__description{font-size:15px;margin-bottom:20px}.mta-hero__visual{min-height:245px;max-height:350px;border-radius:0 0 26px 26px!important}.mta-hero__photo{max-height:350px}.mta-hero__placeholder{padding:18px}.mta-btn{min-height:48px;padding:10px 16px;font-size:13px;border-radius:15px}.mta-hero__seal{width:122px;height:122px;bottom:-55px;inset-inline-start:16px;padding:14px;border-width:3px}.mta-hero__seal-mark{font-size:50px;letter-spacing:-7px}.mta-hero__seal-name{font-size:12px}.mta-benefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;padding:55px 10px 18px!important;margin-top:0}.mta-benefits__item{font-size:12px}.mta-benefits__icon{width:40px;height:40px;font-size:21px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mta-btn{transition:none}}


/* MTA HERO LAYOUT FIX 0.2.1 - Direction driven by Polylang, not WP admin locale */
.mta-header[dir="rtl"] { direction: rtl; text-align: right; }
.mta-hero[dir="rtl"] { direction: rtl; text-align: right; }
.mta-hero[dir="ltr"] { direction: ltr; text-align: left; }
.mta-hero[dir="rtl"] .mta-hero__inner,
.mta-hero[dir="ltr"] .mta-hero__inner { direction: inherit; }
.mta-hero[dir="rtl"] .mta-hero__copy,
.mta-hero[dir="rtl"] .mta-hero__copy *:not(svg) { font-family: "MTA Alexandria", "MTA Jakarta", sans-serif; }
.mta-hero[dir="rtl"] .mta-hero__visual { border-radius: var(--mta-radius) 0 0 var(--mta-radius); }
.mta-hero[dir="ltr"] .mta-hero__visual { border-radius: 0 var(--mta-radius) var(--mta-radius) 0; }
.mta-hero__copy { position: relative; }
.mta-hero__actions { position: relative; z-index: 4; }
.mta-hero__seal { inset-inline-start: 20px; inset-inline-end: auto; }
.mta-hero__visual { min-height: 420px; }
@media (min-width: 751px) {
  .mta-hero, .mta-hero__inner { min-height: 610px; }
  .mta-hero__copy { align-self: start; padding-top: 64px; padding-bottom: 155px; }
  .mta-hero__seal { bottom: -95px; }
  .mta-hero { margin-bottom: 112px; }
}
@media (max-width: 750px) {
  .mta-hero__inner { display: flex; flex-direction: column; }
  .mta-hero__copy { padding: 30px 24px 18px; }
  .mta-hero__visual { min-height: 220px; max-height: 350px; border-radius: 0 0 26px 26px !important; }
  .mta-hero__seal { inset-inline-start: 14px; bottom: -64px; width: 118px; height: 118px; }
  .mta-hero { margin-bottom: 85px; }
}


/* MTA UPLOADED HERO 0.2.2: use the exact approved WebP, no extra overlay */
.mta-hero.mta-hero--uploaded {
  display: block;
  position: relative;
  min-height: 0 !important;
  margin: 0 0 42px !important;
  padding: 0;
  overflow: hidden;
  border-radius: 32px;
  background: transparent;
}
.mta-hero.mta-hero--uploaded::before { display: none !important; }
.mta-hero__uploaded-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: 1904 / 826;
  object-fit: contain;
}
.mta-header .mta-brand-logo {
  display: block;
  width: 100px;
  height: 100px;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}
@media(max-width: 750px) {
  .mta-hero.mta-hero--uploaded { border-radius: 16px; margin-bottom: 24px !important; }
  .mta-hero__uploaded-image { width: 100%; height: auto; }
  .mta-header .mta-brand-logo { width: 75px; height: 75px; }
}


/* MTA ROUND OVERLAP LOGO 0.2.3 */

.mta-hero.mta-hero--uploaded {
  position: relative;
  overflow: visible !important;
  margin-bottom: 112px !important;
}

.mta-hero.mta-hero--uploaded > .mta-hero__uploaded-image {
  border-radius: 32px;
}

.mta-hero.mta-hero--uploaded > .mta-hero__overlap-logo {
  position: absolute;
  z-index: 10;

  right: 5.5%;
  bottom: -70px;

  width: clamp(160px, 19vw, 242px);
  aspect-ratio: 1;

  display: grid;
  place-items: center;

  padding: 9px;
  background: #fff;

  border: 5px solid #fff;
  outline: 2px solid #80d5ff;
  border-radius: 50%;

  box-shadow: 0 16px 42px rgba(7, 50, 108, .20);
  overflow: hidden;
}

.mta-hero__overlap-logo > img {
  display: block;

  width: 100%;
  height: 100%;
  max-width: 100%;

  object-fit: contain;
  border-radius: 50%;
}

/* Mobile */

@media (max-width: 750px) {

  .mta-hero.mta-hero--uploaded {
    margin-bottom: 75px !important;
  }

  .mta-hero.mta-hero--uploaded > .mta-hero__uploaded-image {
    border-radius: 16px;
  }

  .mta-hero.mta-hero--uploaded > .mta-hero__overlap-logo {
    right: 16px;
    bottom: -38px;

    width: clamp(106px, 27vw, 150px);

    border-width: 3px;
    padding: 4px;
  }

}

/* MUSLIM TEACHINGS CLEAN LIVE HEADER v0.2.7 — original Muslim Teachings implementation.
   New structure: full-width ivory ribbon, brand / six nav items / flag switch / trial.
   Visual rules: measured spacing, no floating pill/card, minimal shadows. */
.mta-gh__skip{position:absolute;inset-block-start:-120px;inset-inline-start:12px;z-index:9999;padding:10px 14px;background:#fff;color:#073775;border:1px solid #d4dfe7;border-radius:5px}
.mta-gh__skip:focus{inset-block-start:8px}
.mta-path-header{position:sticky;top:0;z-index:1100;isolation:isolate;width:100%;background:rgba(255,253,248,.96);border-bottom:1px solid rgba(23,55,83,.09);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:none}
.admin-bar .mta-path-header{top:32px}
.mta-ph__shell{box-sizing:border-box;width:min(calc(100% - 60px),1340px);margin-inline:auto;display:grid;grid-template-columns:132px minmax(0,1fr) max-content;align-items:center;gap:clamp(16px,2vw,30px);min-height:76px}
.mta-ph__brand{display:flex;align-items:center;width:max-content;max-width:100%;min-width:0;text-decoration:none}
.mta-ph__brand-image{width:121px;height:64px;object-fit:contain;mix-blend-mode:multiply;display:block}
.mta-ph__desktop-nav{display:flex;justify-content:center;align-items:center;gap:clamp(15px,1.65vw,29px);white-space:nowrap}
.mta-ph__desktop-nav .mta-gh__nav-item{position:relative;display:inline-flex;align-items:center;min-height:76px;color:#253e56;font-size:14px;font-weight:600;line-height:1.35;text-decoration:none;letter-spacing:0;transition:color .14s ease}
.mta-ph__desktop-nav .mta-gh__nav-item:hover,.mta-ph__desktop-nav .mta-gh__nav-item.is-current{color:#09588f}
.mta-ph__desktop-nav .mta-gh__nav-item.is-current::after{content:"";position:absolute;inset-inline:0;bottom:10px;height:2px;background:#12699c}
.mta-ph__desktop-nav .mta-gh__nav-item.is-pending{cursor:default;color:#53687a;opacity:.82}
.mta-ph__tools{display:flex;align-items:center;justify-content:flex-end;gap:17px;white-space:nowrap}
.mta-ph__languages{position:relative}
.mta-ph__languages>summary{display:flex;align-items:center;gap:9px;min-height:42px;list-style:none;cursor:pointer;color:#2c4256;font-size:13px;font-weight:600;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
.mta-ph__languages>summary::-webkit-details-marker,.mta-ph__mobile-menu>summary::-webkit-details-marker{display:none}
.mta-ph__languages>summary svg{opacity:.67;transition:transform .16s ease}
.mta-ph__languages[open]>summary svg{transform:rotate(180deg)}
.mta-ph__flag{display:inline-flex;flex:0 0 25px;width:25px;height:25px;overflow:hidden;border-radius:50%;background:transparent;box-shadow:none}
.mta-ph__flag img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.mta-ph__language-menu{position:absolute;z-index:1200;inset-block-start:calc(100% + 14px);inset-inline-end:0;min-width:205px;background:#fffdf8;border:0;border-radius:6px;padding:6px;box-shadow:0 12px 28px rgba(22,43,66,.12)}
.mta-ph__language-option{display:flex;align-items:center;gap:11px;padding:10px 9px;text-decoration:none;color:#2c455a;font-size:13px;font-weight:550;border-radius:5px;white-space:nowrap}
.mta-ph__language-option:hover,.mta-ph__language-option.is-active{background:#eff4f5;color:#0a5590}
.mta-ph__tick{margin-inline-start:auto;color:#0b6298}
.mta-ph__trial{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 17px;border-radius:5px;background:#095d9e;border:1px solid #095d9e;color:white;font-size:12.9px;font-weight:700;line-height:1.35;text-decoration:none;white-space:nowrap;box-shadow:none;transition:background .16s ease}
.mta-ph__trial:not(.mta-ph__trial--pending):hover{background:#064879;color:#fff}
.mta-ph__trial--pending{opacity:.78;cursor:not-allowed}
.mta-ph__mobile-menu{display:none;position:relative;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.mta-ph__mobile-menu>summary{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:34px;height:42px;list-style:none;cursor:pointer;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.mta-ph__mobile-menu>summary span{display:block;width:23px;height:2px;background:#24465b;border-radius:1px}
.mta-ph__mobile-panel{position:absolute;inset-block-start:calc(100% + 16px);inset-inline-end:0;width:min(340px,calc(100vw - 36px));box-sizing:border-box;background:#fffdf8;border:0;border-radius:7px;box-shadow:0 14px 32px rgba(25,48,68,.13);padding:13px;white-space:normal}
.mta-ph__mobile-panel nav{display:flex;flex-direction:column}
.mta-ph__mobile-panel .mta-gh__nav-item{display:block;padding:11px 12px;border-radius:5px;color:#2b465b;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5}
.mta-ph__mobile-panel .mta-gh__nav-item.is-current{color:#075b9c;background:#eff5f6}
.mta-ph__mobile-panel .mta-gh__nav-item.is-pending{color:#607687;opacity:.83;cursor:default}
.mta-ph__mobile-trial{display:block;margin-top:11px;padding:12px 16px;border-radius:7px;background:#095d9e;color:#fff;text-align:center;font-size:13px;font-weight:700;text-decoration:none}
.mta-ph__mobile-trial--pending{opacity:.78;cursor:not-allowed}
.mta-ph__brand:focus-visible,.mta-ph__trial:focus-visible,.mta-ph__languages>summary:focus-visible,.mta-ph__language-option:focus-visible,.mta-ph__mobile-menu>summary:focus-visible,.mta-gh__nav-item:focus-visible{outline:2px solid #0a6caf;outline-offset:4px}
@media(max-width:1300px){.mta-ph__shell{grid-template-columns:132px minmax(0,1fr) max-content;gap:17px}.mta-ph__brand-image{width:118px}.mta-ph__desktop-nav{gap:clamp(11px,1.1vw,19px)}.mta-ph__desktop-nav .mta-gh__nav-item{font-size:12.7px}.mta-ph__tools{gap:12px}.mta-ph__trial{padding-inline:13px;font-size:12px}}
@media(max-width:1130px){.mta-ph__shell{grid-template-columns:minmax(0,1fr) auto;min-height:78px;width:min(calc(100% - 42px),1380px)}.mta-ph__desktop-nav{display:none}.mta-ph__mobile-menu{display:block}.mta-ph__brand-image{width:117px;height:67px}}
@media(max-width:780px){.admin-bar .mta-path-header{top:46px}}
@media(max-width:700px){.mta-ph__trial{display:none}.mta-ph__shell{width:calc(100% - 30px);min-height:70px}.mta-ph__brand-image{height:60px;width:98px}.mta-ph__tools{gap:12px}.mta-ph__lang-name{max-width:80px;overflow:hidden;text-overflow:ellipsis;font-size:12px}.mta-ph__languages>summary{gap:7px}.mta-ph__flag{width:23px;height:23px;flex-basis:23px}.mta-ph__mobile-menu>summary{width:34px;height:40px}}
@media(max-width:360px){.mta-ph__shell{width:calc(100% - 22px)}.mta-ph__brand-image{width:84px}.mta-ph__tools{gap:7px}.mta-ph__lang-name{max-width:60px}}
@media(prefers-reduced-motion:reduce){.mta-ph__trial,.mta-ph__languages>summary svg,.mta-ph__desktop-nav .mta-gh__nav-item{transition:none}}

/* Borderless language / hamburger controls at ALL viewport sizes. */
.mta-path-header .mta-ph__languages,
.mta-path-header .mta-ph__mobile-menu {
  border:0!important; border-radius:0!important; outline:0;
  background:transparent!important; box-shadow:none!important; padding:0!important;
}
.mta-path-header .mta-ph__languages>summary,
.mta-path-header .mta-ph__mobile-menu>summary {
  border:0!important; border-radius:0!important; background:transparent!important;
  box-shadow:none!important; padding:0!important; -webkit-appearance:none; appearance:none;
}
.mta-path-header .mta-ph__languages>summary:focus-visible,
.mta-path-header .mta-ph__mobile-menu>summary:focus-visible {
  outline:2px solid #0b6da8;outline-offset:3px;
}

/* MTA ENGLISH SHORT COVER FIX */
@media (min-width: 721px) {
  .mta-home-v029--en .mta-hero.mta-hero--uploaded {
    height: auto !important;
    aspect-ratio: 1904 / 578.2 !important;
    min-height: 0 !important;
    position: relative !important;
  }

  .mta-home-v029--en .mta-hero__uploaded-image {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    inset: 0 !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    border-radius: 30px !important;
  }
}

/* MTA ENGLISH MOBILE HERO REPAIR */
@media (max-width: 720px) {
  .mta-home-v029--en .mta-hero.mta-hero--uploaded {
    width: calc(100% - 24px) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1904 / 826 !important;
    position: relative !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  .mta-home-v029--en .mta-hero__uploaded-image {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 18px !important;
  }
}
