/* Owner-approved Header/Footer V2. Shared chrome only; never page body styles. */
.madar-header {--madar-green:#28632e;background:#fff;border:0;border-block-end:1px solid #dfe8df;border-radius:0 0 .8rem .8rem;box-shadow:0 5px 22px #052b6012;position:relative;}
.madar-header .madar-hf-header {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:1.5rem;min-block-size:7.8rem;padding-block:.5rem;inline-size:calc(100% - 3rem);max-inline-size:1380px;}
.madar-header .madar-hf-brand {display:flex;align-items:center;justify-self:start;gap:.875rem;min-inline-size:0;flex:0 1 auto;animation:none;}
.madar-header .madar-hf-brand .madar-brand-mark {inline-size:7.5rem;max-inline-size:7.5rem;min-inline-size:0;flex:none;margin:0;}
.madar-header .madar-hf-brand img,.madar-hf-footer-logo img {display:block;inline-size:100%;block-size:auto;max-block-size:none;object-fit:contain;mix-blend-mode:normal;filter:none;clip-path:none;}
.madar-header .madar-hf-motto,.madar-hf-footer .madar-hf-motto {font-size:.6875rem;font-weight:500;line-height:1.9;color:#28632e;max-inline-size:10rem;margin:0;text-wrap:balance;}
.madar-header .madar-hf-header .madar-desktop-nav {justify-self:center;font-size:1.0625rem;}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation__container {gap:3.55rem;}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content {padding:.75rem .25rem;background:transparent;border-radius:0;}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content:hover {color:#28632e;background:transparent;}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item:is(.current-menu-item,.current-menu-ancestor) {color:#28632e;}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item:is(.current-menu-item,.current-menu-ancestor)::after {background:#28632e;block-size:3px;inset-inline:0;inset-block-end:0;}
.madar-header .madar-hf-tools {display:flex;align-items:center;justify-self:end;gap:1.2rem;position:relative;min-inline-size:0;}
.madar-header .madar-hf-contact {margin:0;padding:0;}
.madar-header .madar-hf-contact a {background:#28632e;color:#fff;min-block-size:3.65rem;gap:.8rem;padding:.8rem 2rem;font-size:1rem;font-weight:700;box-shadow:none;border:1px solid #28632e;border-radius:2rem;}
.madar-header .madar-hf-contact a::after {content:"";display:block;inline-size:1.5rem;block-size:1.5rem;background:url('../images/header-footer-envelope.svg') center/contain no-repeat;}
.madar-header .madar-hf-contact a:hover,.madar-hf-join .wp-block-button__link:hover {background:#1d4d23;color:white;}
.madar-header .madar-hf-search {inline-size:3rem;max-inline-size:none;margin:0;flex:none;z-index:40;}
.madar-header .madar-hf-search .wp-block-search__inside-wrapper {padding:0;border:0;}
.madar-header .madar-hf-search .wp-block-search__button {inline-size:3rem;min-inline-size:3rem;block-size:3rem;min-block-size:3rem;margin:0;padding:.65rem;border:0;border-radius:50%;background:#fff;color:#052b60;box-shadow:0 2px 12px #052b6012;}
.madar-header .madar-hf-search .wp-block-search__button svg {inline-size:1.75rem;block-size:1.75rem;}
.madar-header .madar-hf-search:not(.wp-block-search__searchfield-hidden) {position:absolute;inset-block-start:calc(100% + .75rem);inset-inline-end:0;inline-size:min(22rem,calc(100vw - 2rem));background:white;border:1px solid #cbdccc;padding:.3rem;border-radius:2rem;box-shadow:0 8px 24px #052b601a;}
.madar-header .madar-hf-search .wp-block-search__input {font:inherit;font-size:1rem;color:#052b60;min-inline-size:0;border:0;}
.madar-header .madar-hf-tools .madar-mobile-nav {margin:0;flex:none;}
.madar-header .madar-hf-tools .madar-mobile-nav .wp-block-navigation__responsive-container-open {background:transparent;border:0;border-radius:0;inline-size:3rem;block-size:3rem;padding:.55rem;}
.madar-header .madar-hf-header :is(a,button,input):focus-visible,.madar-site-footer :is(a,button):focus-visible {outline:3px solid #28632e;outline-offset:4px;}

/* V2.4: implementation of owner-selected B reference. Shared chrome only. */
.madar-header {box-shadow:none;border-color:#dce4e2;border-radius:0 0 12px 12px;}
.madar-header .madar-hf-header {min-block-size:125px;padding-block:0;inline-size:calc(100% - 60px);max-inline-size:none;}
.madar-header .madar-hf-brand .madar-brand-mark {inline-size:120px;max-inline-size:120px;}
.madar-header .madar-hf-header .madar-desktop-nav {font-size:18px;font-weight:500;position:absolute;left:50.6%;transform:translateX(-50%);}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation__container {gap:55px;}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content {font-size:inherit;font-weight:inherit;line-height:1.4;padding:16px 0;}
.madar-header .madar-hf-header .madar-desktop-nav .current-menu-item {font-weight:700;}
.madar-header .madar-hf-header .madar-desktop-nav .current-menu-item::after {block-size:3px;inset-block-end:0;}
.madar-header .madar-hf-header .madar-desktop-nav .current-menu-item > a {color:#28632e;text-decoration:none;}
.madar-header .madar-hf-tools {gap:20px;}
.madar-header .madar-hf-contact a {min-inline-size:204px;min-block-size:62px;padding:0 26px;font-size:18px;gap:14px;flex-direction:row-reverse;line-height:1.4;border:0;}
.madar-header .madar-hf-search {inline-size:52px;}
.madar-header .madar-hf-search .wp-block-search__button {inline-size:52px;min-inline-size:52px;block-size:52px;min-block-size:52px;box-shadow:0 2px 14px #052b6009;padding:12px;}
.madar-header .madar-hf-tools .madar-mobile-nav {margin:0;flex:none;}
.madar-header .madar-mobile-nav .is-menu-open .madar-nav-contact > .wp-block-navigation-item__content {background:#28632e;border-color:#28632e;color:white;border-radius:2rem;}
.madar-header :is(a,button,input):focus-visible,.madar-site-footer :is(a,button):focus-visible {outline:3px solid #28632e;outline-offset:4px;}
.madar-site-footer {--madar-green:#28632e;direction:rtl;color:#052b60;background:white;padding:0!important;border:0;}
.madar-site-footer :is(.madar-hf-prefooter,.madar-hf-footer) {margin-block:0;}
.madar-hf-prefooter {position:relative;isolation:isolate;min-block-size:386px;border:0;border-block-end:1px solid #dce4e2;background:#f6f9f3;padding:0;}
.madar-hf-prefooter .madar-hf-prefooter-inner {position:relative;isolation:isolate;display:flex;align-items:center;direction:ltr;gap:0;inline-size:100%;max-inline-size:none;min-block-size:385px;margin:0;padding:0;}
.madar-hf-prefooter .madar-hf-prefooter-inner::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#f6f9f3 28%,#f6f9f3ee 37%,#f6f9f300 55%);pointer-events:none;}
.madar-hf-prefooter::before {content:"";position:absolute;inset-inline-end:0;inset-block-start:8px;inline-size:260px;block-size:calc(100% - 8px);background:url('../images/header-footer-foliage.svg') -10px 0/270px auto no-repeat;opacity:.24;z-index:1;pointer-events:none;}
.madar-hf-prefooter::after {content:"";position:absolute;inset-inline-end:0;inset-block:0;inline-size:260px;background:url('../images/header-footer-bands.svg') left bottom/260px 390px no-repeat;opacity:.95;z-index:1;pointer-events:none;}
.madar-hf-prefooter .madar-hf-panorama {position:absolute;inset-inline-start:0;inset-block-start:50%;transform:translateY(-50%);inline-size:69%;block-size:auto;max-block-size:100%;margin:0;z-index:-2;mask-image:none;}
.madar-hf-prefooter .madar-hf-panorama img {display:block;inline-size:100%;block-size:auto;aspect-ratio:2279/690;object-fit:contain;max-inline-size:100%;border-radius:0;}
.madar-hf-prefooter .madar-hf-promo-copy {position:relative;z-index:2;direction:rtl;text-align:center;inline-size:56%;min-inline-size:0;margin:0;padding:34px 28px 28px;transform:none;}
.madar-hf-prefooter .madar-hf-promo-copy h2 {font-size:32px;line-height:1.4;font-weight:700;color:#052b60;margin:0;text-wrap:wrap;}
.madar-hf-prefooter .madar-hf-promo-copy h2 span {display:block;transform:none;}
.madar-hf-prefooter .madar-hf-promo-copy h2 span::after {content:"";display:inline-block;inline-size:38px;block-size:2px;vertical-align:middle;margin-inline-start:18px;background:#28632e;}
.madar-hf-prefooter .madar-hf-promo-copy h2 strong {display:block;font-size:44px;line-height:1.45;font-weight:700;color:#28632e;margin-block:8px 18px;transform:none;}
.madar-hf-prefooter .madar-hf-promo-description {font-size:16px;line-height:1.9;font-weight:400;max-inline-size:480px;margin:0 auto;color:#052b60;}
.madar-hf-prefooter .madar-hf-join {display:flex;justify-content:center;margin:20px auto 10px;transform:none;}
.madar-hf-prefooter .madar-hf-join .wp-block-button {margin:0;}
.madar-hf-prefooter .madar-hf-join .wp-block-button__link {display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:14px;inline-size:208px;min-inline-size:0;min-block-size:54px;padding:0 20px;font-size:18px;font-weight:700;line-height:1.4;border:0;border-radius:40px;background:#28632e;color:white;box-shadow:none;text-decoration:none;}
.madar-hf-join .wp-block-button__link::after {content:"";display:block;flex:none;inline-size:27px;block-size:27px;background:url('../images/header-footer-join.svg') center/contain no-repeat;}
.madar-hf-prefooter .madar-hf-promo-motto {font-size:15px;line-height:1.8;font-weight:400;margin:0;color:#052b60;}
.madar-hf-footer {position:relative;isolation:isolate;background:linear-gradient(110deg,#f5f9f7,#fff);padding:0;}
.madar-hf-footer::before {content:"";position:absolute;inset-inline-end:0;inset-block-end:0;inline-size:136px;block-size:196px;background:url('../images/header-footer-foliage.svg') left bottom/136px auto no-repeat;opacity:.18;pointer-events:none;z-index:-1;}
.madar-hf-footer .madar-hf-footer-grid {display:grid;grid-template-columns:25.12% 19.5% 25.58% 29.8%;grid-template-areas:"identity quick programs contact";gap:0;inline-size:100%;max-inline-size:1440px;min-block-size:309px;padding:38px 3% 26px;margin:0 auto;position:relative;font-weight:400;}
.madar-hf-footer-grid>.wp-block-group {min-inline-size:0;position:relative;margin:0;border:0;}
.madar-hf-footer-grid>.madar-hf-identity {grid-area:identity;padding-inline:32px 0;}
.madar-hf-footer-grid>.madar-hf-quick {grid-area:quick;padding-inline:48px 32px;}
.madar-hf-footer-grid>.madar-hf-programs {grid-area:programs;padding-inline:47px 18px;}
.madar-hf-footer-grid>.madar-hf-contact-info {grid-area:contact;padding-inline:45px;}
.madar-hf-footer-grid>.wp-block-group:not(.madar-hf-identity)::before {content:"";position:absolute;inset-inline-start:0;inset-block-start:48px;inset-block-end:0;inline-size:1px;background:#dce4e2;pointer-events:none;}
.madar-hf-footer .madar-hf-identity-brand {display:flex;align-items:center;gap:22px;}
.madar-hf-footer .madar-hf-footer-logo {inline-size:108px;flex:none;margin:0;}
.madar-hf-footer-logo img {display:block;inline-size:100%;block-size:auto;aspect-ratio:1313/1198;object-fit:contain;filter:none;mix-blend-mode:normal;clip-path:none;}
.madar-hf-footer .madar-hf-motto {font-size:11px;line-height:1.9;font-weight:400;color:#28632e;margin:0;max-inline-size:none;text-wrap:wrap;}
.madar-hf-footer .madar-hf-description {font-size:14px;line-height:1.8;font-weight:400;color:#052b60;margin-block:13px 10px;}
.madar-hf-footer .madar-hf-social {display:flex;gap:28px;margin:0;}
.madar-hf-footer .madar-hf-social p {margin:0;}
.madar-hf-footer .madar-hf-social a {display:grid;place-items:center;inline-size:46px;min-block-size:46px;border:0;border-radius:0;box-shadow:none;background:transparent;}
.madar-hf-footer .madar-hf-social img {inline-size:44px;block-size:44px;filter:none;}
.madar-hf-footer .madar-hf-social a[href*="wa.me"] {background:transparent;}
.madar-hf-footer .madar-hf-social a[href*="wa.me"] img {inline-size:44px;block-size:44px;filter:none;}
.madar-hf-footer-grid h2 {font-size:18px;line-height:1.8;font-weight:700;margin:0 0 20px;}
.madar-hf-footer-grid h2::after {content:"";display:block;inline-size:36px;block-size:2px;background:#28632e;margin-block-start:8px;}
.madar-hf-quick h2 {margin-inline-start:16px;}
.madar-hf-programs h2 {text-align:center;}
.madar-hf-programs h2::after {margin-inline:auto;}
.madar-hf-footer .madar-hf-quick-nav {display:block;inline-size:100%;max-inline-size:none;margin:0;}
.madar-hf-footer .madar-hf-quick-nav .wp-block-navigation__container {display:flex!important;flex-direction:column;align-items:stretch;gap:0;inline-size:100%;}
.madar-hf-footer .madar-hf-quick-nav .wp-block-navigation-item,.madar-hf-footer .madar-hf-programs li {display:block;inline-size:100%;min-inline-size:0;margin:0;}
.madar-hf-footer .madar-hf-programs ul {margin:0;padding:0;list-style:none;}
.madar-hf-footer .madar-hf-quick-nav .wp-block-navigation-item__content,.madar-hf-footer .madar-hf-programs a {display:block;min-block-size:32px;inline-size:100%;padding:0;font-size:16px;line-height:1.8;font-weight:400;white-space:normal;overflow-wrap:anywhere;text-align:right;}
.madar-hf-footer .madar-hf-programs a {font-size:14px;line-height:1.9;}
.madar-hf-footer .madar-hf-quick-nav a::before,.madar-hf-footer .madar-hf-programs a::before {content:"‹";display:inline-block;margin-inline-end:20px;font-size:21px;line-height:1;}
.madar-hf-footer .madar-hf-contact-info {text-align:right;}
.madar-hf-contact-info h2::after {margin-right:0;margin-left:auto;}
.madar-hf-footer .madar-hf-contact-row {display:flex;direction:rtl;align-items:center;gap:18px;min-block-size:30px;padding:0;margin-block:2px 10px;font-size:15px;line-height:1.8;font-weight:400;overflow-wrap:anywhere;}
.madar-hf-footer .madar-hf-contact-row a {display:flex;direction:rtl;align-items:center;gap:18px;min-inline-size:0;min-block-size:30px;inline-size:100%;max-inline-size:100%;font-size:inherit;line-height:inherit;}
.madar-hf-footer .madar-hf-contact-row img {inline-size:24px;block-size:24px;flex:none;}
.madar-hf-footer .madar-hf-contact-row span {direction:rtl;}
.madar-hf-footer .madar-hf-contact-row :is(span,bdi) {min-inline-size:0;overflow-wrap:anywhere;}
.madar-hf-footer .madar-hf-contact-row bdi {direction:ltr;unicode-bidi:isolate;}
/* International phone digits remain one LTR run inside the RTL contact row. */
.madar-hf-footer .madar-hf-contact-row .madar-hf-phone-number {direction:ltr;unicode-bidi:isolate-override;white-space:nowrap;text-wrap:nowrap;flex-shrink:0;}
.madar-hf-footer a {color:#052b60;text-decoration:none;}
.madar-hf-footer a:hover {color:var(--madar-green);text-decoration:none;}
.madar-hf-footer .madar-hf-bottom {position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px;min-block-size:54px;padding:16px 4%;margin:0;border-block-start:1px solid #dce4e2;background:transparent;text-align:center;}
.madar-hf-footer .madar-hf-bottom p {margin:0;font-size:12px;line-height:1.8;font-weight:400;overflow-wrap:anywhere;}
.madar-hf-bottom .madar-hf-license {border-inline-start:1px solid #99a9b8;padding-inline-start:24px;}
.madar-hf-bottom bdi {unicode-bidi:isolate;white-space:normal;}
.madar-hf-bottom::after {content:"";position:absolute;inset-inline-start:24px;inset-block-start:50%;transform:translateY(-50%);inline-size:25px;block-size:25px;background:url('../images/header-footer-utility-leaf.svg') center/contain no-repeat;pointer-events:none;}
@media(max-width:1199px){
 .madar-header .madar-hf-header {grid-template-columns:minmax(0,1fr) auto;inline-size:calc(100% - 40px);min-block-size:125px;}
 .madar-header .madar-hf-header .madar-desktop-nav,.madar-header .madar-hf-contact {display:none;}
 .madar-header .madar-hf-tools {gap:10px;}
 .madar-header .madar-hf-tools .madar-mobile-nav .wp-block-navigation__responsive-container-open {background:transparent;border:0;border-radius:0;inline-size:48px;block-size:48px;padding:13px;}
 .madar-header .madar-hf-tools .madar-mobile-nav .wp-block-navigation__responsive-container-open svg {inline-size:22px;block-size:22px;}
 .madar-hf-footer .madar-hf-footer-grid {grid-template-columns:1fr 1fr;grid-template-areas:"identity quick" "programs contact";gap:26px;padding:30px 24px;}
 .madar-hf-footer-grid>.wp-block-group {padding:0 16px 24px;border-block-end:1px solid #dce4e2;}
 .madar-hf-footer-grid>.wp-block-group::before {display:none;}
 .madar-hf-contact-info h2::after {margin-left:auto;margin-right:0;}
 .madar-hf-footer .madar-hf-contact-info {text-align:right;}
 .madar-hf-footer .madar-hf-bottom {padding-inline:40px;}
}
/* No B tablet artboard supplied: retain full panorama and readable two-column footer. */
@media(min-width:768px) and (max-width:1199px){
 .madar-hf-prefooter .madar-hf-prefooter-inner {display:flex;flex-direction:column;min-block-size:0;}
 .madar-hf-prefooter .madar-hf-panorama {position:relative;inset:auto;transform:none;inline-size:100%;order:0;z-index:0;}
 .madar-hf-prefooter .madar-hf-panorama::after {content:"";display:block;block-size:18px;background:linear-gradient(to bottom,#e2ead9,#f6f9f3);}
 .madar-hf-prefooter .madar-hf-promo-copy {order:1;inline-size:100%;padding:0 40px 32px;}
 .madar-hf-prefooter .madar-hf-prefooter-inner::before {display:none;}
 .madar-hf-prefooter .madar-hf-promo-description {max-inline-size:608px;}
}
@media(max-width:767px){
 .madar-header .madar-hf-header {min-block-size:107px;inline-size:calc(100% - 40px);padding:0;}
 .madar-header .madar-hf-brand .madar-brand-mark {inline-size:100px;max-inline-size:100px;}
 .madar-header .madar-hf-tools {gap:8px;}
 .madar-header .madar-hf-search {inline-size:44px;}
 .madar-header .madar-hf-search .wp-block-search__button {inline-size:44px;min-inline-size:44px;block-size:44px;min-block-size:44px;box-shadow:none;padding:10px;}
 .madar-header .madar-hf-search .wp-block-search__button svg {inline-size:24px;block-size:24px;}
 .madar-hf-prefooter {min-block-size:0;}
 .madar-hf-prefooter .madar-hf-prefooter-inner {display:flex;flex-direction:column;min-block-size:0;}
 .madar-hf-prefooter .madar-hf-prefooter-inner::before,.madar-hf-prefooter::before {display:none;}
 .madar-hf-prefooter::after {inset-inline-end:auto;inset-inline-start:0;inset-block-start:auto;inset-block-end:0;inline-size:138px;block-size:195px;background:url('../images/header-footer-foliage.svg') right bottom/138px auto no-repeat;opacity:.13;}
 .madar-hf-prefooter .madar-hf-panorama {position:relative;inset:auto;transform:none;inline-size:100%;max-block-size:none;order:0;z-index:0;mask-image:none;}
 .madar-hf-prefooter .madar-hf-panorama::after {content:"";display:block;block-size:18px;background:linear-gradient(to bottom,#e2ead9,#f6f9f3);}
 .madar-hf-prefooter .madar-hf-promo-copy {order:1;inline-size:100%;padding:0 20px 20px;}
 .madar-hf-prefooter .madar-hf-promo-copy h2 {font-size:27px;line-height:1.4;}
 .madar-hf-prefooter .madar-hf-promo-copy h2 span::after {display:none;}
 .madar-hf-prefooter .madar-hf-promo-copy h2 strong {font-size:32px;line-height:1.4;margin-block:4px 14px;}
 .madar-hf-prefooter .madar-hf-promo-description {font-size:14px;line-height:1.85;max-inline-size:none;}
 .madar-hf-prefooter .madar-hf-join {inline-size:100%;margin:16px auto 10px;}
 .madar-hf-prefooter .madar-hf-join .wp-block-button {inline-size:100%;}
 .madar-hf-prefooter .madar-hf-join .wp-block-button__link {inline-size:100%;min-block-size:52px;font-size:17px;}
 .madar-hf-prefooter .madar-hf-promo-motto {font-size:12px;line-height:1.9;}
 .madar-hf-footer .madar-hf-footer-grid {display:flex;flex-direction:column;gap:0;padding:24px 20px 0;min-block-size:0;}
 .madar-hf-footer-grid>.wp-block-group {inline-size:100%;padding:0 0 22px;border-block-start:0;border-block-end:1px solid #dce4e2;margin-block:0 22px;text-align:right;}
 .madar-hf-footer-grid>.madar-hf-identity {margin-block-end:18px;padding-block-end:18px;}
 .madar-hf-footer-grid>.madar-hf-contact-info {margin-block-end:22px;padding-block-end:20px;}
 .madar-hf-footer-grid>.wp-block-group:last-child {border-block-end:0;margin-block-end:0;}
 .madar-hf-footer .madar-hf-identity-brand {gap:24px;}
 .madar-hf-footer .madar-hf-footer-logo {inline-size:94px;}
 .madar-hf-footer .madar-hf-motto {font-size:11px;max-inline-size:170px;}
 .madar-hf-footer .madar-hf-description {font-size:13px;line-height:1.9;margin-block:16px 10px;}
 .madar-hf-footer .madar-hf-social {gap:18px;}
 .madar-hf-footer .madar-hf-social img,.madar-hf-footer .madar-hf-social a[href*="wa.me"] img {inline-size:36px;block-size:36px;}
 .madar-hf-footer-grid h2 {font-size:17px;line-height:1.8;margin:0 0 16px;text-align:right;}
 .madar-hf-footer-grid h2::after {inline-size:32px;margin-block-start:5px;margin-inline:0;}
 .madar-hf-footer .madar-hf-quick-nav .wp-block-navigation-item__content,.madar-hf-footer .madar-hf-programs a {font-size:14px;line-height:1.8;min-block-size:36px;padding-block:5px;}
 .madar-hf-footer .madar-hf-quick-nav a::before,.madar-hf-footer .madar-hf-programs a::before {margin-inline-end:14px;}
 .madar-hf-footer .madar-hf-contact-row,.madar-hf-footer .madar-hf-contact-row a {gap:13px;min-block-size:38px;}
 .madar-hf-footer .madar-hf-contact-row {font-size:12px;margin-block:2px 4px;}
 .madar-hf-footer .madar-hf-contact-row img {inline-size:22px;block-size:22px;}
 .madar-hf-footer .madar-hf-contact-row span {text-align:right;}
 .madar-hf-footer .madar-hf-contact-row bdi {text-align:left;}
 .madar-hf-footer .madar-hf-bottom {flex-direction:column;gap:9px;padding:16px 38px 20px;}
 .madar-hf-footer .madar-hf-bottom p {font-size:11px;line-height:1.9;max-inline-size:100%;}
 .madar-hf-bottom .madar-hf-license {border:0;padding:0;}
 .madar-hf-bottom::after {inset-inline-start:10px;inset-block-start:auto;inset-block-end:20px;transform:none;inline-size:22px;block-size:22px;}
}
@media(max-width:350px){
 .madar-header .madar-hf-header {inline-size:calc(100% - 32px);}
 .madar-hf-prefooter .madar-hf-promo-copy {padding-inline:16px;}
 .madar-hf-prefooter .madar-hf-promo-copy h2 {font-size:23px;}
 .madar-hf-prefooter .madar-hf-promo-copy h2 strong {font-size:26px;}
 .madar-hf-prefooter .madar-hf-promo-description {font-size:13px;}
 .madar-hf-prefooter .madar-hf-promo-motto {font-size:11px;}
 .madar-hf-footer .madar-hf-footer-grid {padding-inline:16px;}
 .madar-hf-footer .madar-hf-footer-logo {inline-size:86px;}
 .madar-hf-footer .madar-hf-motto {font-size:10px;}
 .madar-hf-footer .madar-hf-identity-brand {gap:16px;}
 .madar-hf-footer .madar-hf-contact-row {font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.madar-hf-header *,.madar-hf-footer *,.madar-hf-prefooter *{animation:none!important;transition:none!important;}}
body.editor-styles-wrapper .madar-hf-header,body.editor-styles-wrapper .madar-hf-footer-grid {direction:rtl;}
/* WordPress wrapper normalization against the approved B artboard. */
.madar-hf-prefooter .madar-hf-prefooter-inner {isolation:auto;}
.madar-hf-prefooter .madar-hf-panorama {left:auto;right:0;}
.madar-hf-prefooter .madar-hf-promo-copy h2 strong {font-weight:900;}
.madar-hf-footer-grid>.madar-hf-identity {padding-inline:0;}
/* Owner6456630942: spacing from the desktop divider, after the V2.4 normalization. */
@media(min-width:1200px){.madar-hf-footer-grid>.madar-hf-identity {padding-inline:0 28px;}}
.madar-hf-footer-logo a {display:block;line-height:0;}
.madar-hf-footer .madar-hf-contact-row a {font-weight:400;}
.madar-hf-footer :is(p,a,span,bdi) {text-wrap:wrap;}
@media(min-width:1200px){
 .madar-header .madar-hf-tools {grid-column:3;grid-row:1;}
 .madar-header .madar-hf-header .madar-desktop-nav {inline-size:max-content;inset-block-start:50%;transform:translate(-50%,-50%);}
}
@media(min-width:1200px){
 .madar-header .madar-hf-header .madar-desktop-nav {inline-size:558.03125px;max-inline-size:calc(100vw - 620px);block-size:54px;line-height:normal;}
 .madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content {line-height:normal;}
}
/* Core exposes its inline navigation without scripting; give it a full row. */
@media(scripting:none) and (max-width:1199px){
 .madar-header .madar-hf-header {display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;padding-block:8px;}
 .madar-header .madar-hf-tools {display:contents;}
 .madar-header .madar-hf-tools .madar-mobile-nav {flex-basis:100%;inline-size:100%;min-inline-size:0;}
 .madar-header .madar-mobile-nav .wp-block-navigation__responsive-container {inline-size:100%;min-inline-size:0;}
 .madar-header .madar-mobile-nav .wp-block-navigation__container {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));inline-size:100%;gap:4px;}
 .madar-header .madar-mobile-nav .wp-block-navigation-item__content {min-block-size:44px;}
}
/* Optical SVG fields: Core paths occupy14/24 of the menu viewBox. */
.madar-header .madar-hf-search .wp-block-search__button {display:grid;place-items:center;padding:5px;}
.madar-header .madar-hf-search .wp-block-search__button svg {inline-size:34px;block-size:34px;flex:none;}
@media(max-width:1199px){
 .madar-header .madar-hf-tools .madar-mobile-nav .wp-block-navigation__responsive-container-open {display:grid;place-items:center;padding:0;}
 .madar-header .madar-hf-tools .madar-mobile-nav .wp-block-navigation__responsive-container-open svg {inline-size:37.714px;block-size:37.714px;flex:none;}
}
/* Keep tablet decoration below the complete panorama rather than over landmarks. */
@media(min-width:768px) and (max-width:1199px){
 .madar-hf-prefooter::before {inset-block-start:calc(100vw * 690 / 2279 + 18px);block-size:calc(100% - 100vw * 690 / 2279 - 18px);}
 .madar-hf-prefooter::after {inset-block-start:calc(100vw * 690 / 2279 + 18px);}
}
/* V2.4 wide-header correction: cap the inner row, keep the background full width. */
@media(min-width:1441px){
 .madar-header .madar-hf-header {
  inline-size:calc(100% - 60px);
  max-inline-size:1380px;
  margin-inline:auto;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 }
 .madar-header .madar-hf-brand {grid-column:1;grid-row:1;}
 .madar-header .madar-hf-header .madar-desktop-nav {
  position:static;
  inset:auto;
  transform:none;
  inline-size:auto;
  max-inline-size:none;
  block-size:auto;
  grid-column:2;
  grid-row:1;
  justify-self:center;
 }
}

/* V2.4 premium interactions. Paint-only feedback; approved boxes remain intact. */
.madar-header,.madar-hf-footer {
 --madar-interaction-surface:rgb(40 99 46 / .055);
 --madar-interaction-shadow:rgb(5 43 96 / .04);
}
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content,
.madar-header .madar-mobile-nav .wp-block-navigation-item:not(.madar-nav-contact)>.wp-block-navigation-item__content {
 border-radius:8px;
 transition:color 200ms ease,background-color 200ms ease,box-shadow 200ms ease;
}
.madar-hf-footer a:is(:hover,:focus-visible,:active) {text-decoration:none;}
.madar-hf-footer .madar-hf-quick-nav .wp-block-navigation-item__content,
.madar-hf-footer .madar-hf-programs a,
.madar-hf-footer .madar-hf-contact-row a,
.madar-hf-footer .madar-hf-social a {
 border-radius:6px;
 transition:color 200ms ease,background-color 200ms ease,box-shadow 200ms ease;
}
.madar-hf-footer .madar-hf-quick-nav a::before,
.madar-hf-footer .madar-hf-programs a::before {
 transition:transform 200ms ease;
}
.madar-hf-footer .madar-hf-social a {border-radius:10px;}
.madar-hf-footer .madar-hf-social a img {transition:transform 200ms ease;}
/* Focus receives the same language without depending on a pointing device. */
.madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content:focus-visible,
.madar-header .madar-mobile-nav .wp-block-navigation-item:not(.madar-nav-contact)>.wp-block-navigation-item__content:focus-visible {
 color:var(--madar-green);
 background-color:var(--madar-interaction-surface);
 box-shadow:0 2px 8px var(--madar-interaction-shadow),0 0 0 5px var(--madar-interaction-surface);
}
.madar-hf-footer .madar-hf-quick-nav a:focus-visible,
.madar-hf-footer .madar-hf-programs a:focus-visible,
.madar-hf-footer .madar-hf-contact-row a:focus-visible,
.madar-hf-footer .madar-hf-social a:focus-visible {
 color:var(--madar-green);
 background-color:var(--madar-interaction-surface);
 box-shadow:0 2px 8px var(--madar-interaction-shadow);
}
.madar-hf-footer .madar-hf-quick-nav a:focus-visible::before,
.madar-hf-footer .madar-hf-programs a:focus-visible::before {transform:translateX(-3.5px);}
.madar-hf-footer .madar-hf-social a:focus-visible img {transform:translateY(-1px) scale(1.035);}
/* Fine-pointer hover is enhancement only; all links work normally on touch. */
@media(hover:hover) and (pointer:fine){
 .madar-header .madar-hf-header .madar-desktop-nav .wp-block-navigation-item__content:hover,
 .madar-header .madar-mobile-nav .wp-block-navigation-item:not(.madar-nav-contact)>.wp-block-navigation-item__content:hover {
  color:var(--madar-green);
  background-color:var(--madar-interaction-surface);
  box-shadow:0 2px 8px var(--madar-interaction-shadow),0 0 0 5px var(--madar-interaction-surface);
 }
 .madar-hf-footer .madar-hf-quick-nav a:hover,
 .madar-hf-footer .madar-hf-programs a:hover,
 .madar-hf-footer .madar-hf-contact-row a:hover,
 .madar-hf-footer .madar-hf-social a:hover {
  color:var(--madar-green);
  background-color:var(--madar-interaction-surface);
  box-shadow:0 2px 8px var(--madar-interaction-shadow);
 }
 .madar-hf-footer .madar-hf-quick-nav a:hover::before,
 .madar-hf-footer .madar-hf-programs a:hover::before {transform:translateX(-3.5px);}
 .madar-hf-footer .madar-hf-social a:hover img {transform:translateY(-1px) scale(1.035);}
}
@media(prefers-reduced-motion:reduce){
 .madar-header .madar-desktop-nav a,
 .madar-header .madar-mobile-nav a,
 .madar-hf-footer .madar-hf-quick-nav a,
 .madar-hf-footer .madar-hf-programs a,
 .madar-hf-footer .madar-hf-contact-row a,
 .madar-hf-footer .madar-hf-social a {transition:none!important;}
 .madar-hf-footer .madar-hf-quick-nav a::before,
 .madar-hf-footer .madar-hf-programs a::before,
 .madar-hf-footer .madar-hf-social a img {transition:none!important;transform:none!important;}
}
