/* Madar v5 — restrained training registry, institutional green and fine rules. */
.theme-madar-v5{
  --theme-bg:#fff;--theme-surface:#fff;--theme-elevated-surface:#f5f8f7;
  --theme-text:#0d1c1a;--theme-muted:#3c4a47;--theme-accent:#0a6a5b;
  --theme-accent-contrast:#fff;--theme-radius:4px;--theme-radius-card:5px;
  --theme-radius-button:4px;--theme-radius-image:5px;
  --theme-heading:"Noto Kufi Arabic",system-ui,sans-serif;
  --theme-body:"IBM Plex Sans Arabic",system-ui,sans-serif;
  --theme-container-width:1280px;--theme-shadow-card:none;
  background:var(--theme-bg);color:var(--theme-text);font-family:var(--theme-body)
}
.theme-madar-v5 :is(h1,h2,h3,strong){font-family:var(--theme-heading)}
.theme-madar-v5 :is(a,button,summary):focus-visible{outline:3px solid var(--theme-accent);outline-offset:3px}
.theme-madar-v5 .theme-button{border-radius:4px;font-weight:600}
.theme-madar-v5 .theme-header-academy{box-shadow:none;border-color:#dbe4e1}
.theme-madar-v5 .theme-header-academy .theme-clinic-topbar{background:#f5f8f7;color:#3c4a47}
.theme-madar-v5 .theme-header-academy .theme-brand{font-family:var(--theme-heading);font-size:calc((17px) * var(--theme-type-scale-ratio,1));color:var(--theme-text)}
.theme-madar-v5 .theme-header-academy .theme-brand:before{content:"";display:inline-block;width:20px;height:20px;margin-inline-end:8px;background:linear-gradient(90deg,var(--theme-accent) 0 46%,transparent 46% 54%,var(--theme-accent) 54%),linear-gradient(var(--theme-accent) 0 46%,transparent 46% 54%,var(--theme-accent) 54%);background-size:9px 9px;background-repeat:repeat}
.theme-madar-v5 .theme-header-academy nav>a:not(.theme-button){color:var(--theme-text)}
.theme-madar-v5 .theme-header-academy nav>a:not(.theme-button):hover{color:var(--theme-accent)}
.theme-madar-v5 .theme-hero-academy{border-bottom-color:#dbe4e1}
.theme-madar-v5 .theme-hero-academy .theme-kicker{background:#f0f6f4;color:#054d42;border-color:#bcd4cf;border-radius:3px}
.theme-madar-v5 .theme-hero-academy h1{font-size:calc((clamp(30px,3.3vw,42px)) * var(--theme-type-scale-ratio,1));line-height:1.36;letter-spacing:-.015em}
.theme-madar-v5 .theme-hero-academy p{color:#3c4a47}
.theme-madar-v5 .theme-hero-academy .theme-hero-image{border:1px solid #dbe4e1}
.theme-madar-v5 .theme-hero-academy .theme-button-ghost{background:#fff;color:var(--theme-text)!important;border:1px solid #cbd7d4;margin-inline-start:9px}
.theme-madar-v5 .theme-stats-strip{background:#f5f8f7;border-color:#dbe4e1}
.theme-madar-v5 .theme-stats-strip>div{border-color:#dbe4e1}
.theme-madar-v5 .theme-stats-strip strong{font-family:"IBM Plex Mono",monospace;font-weight:500}
.theme-madar-v5 .theme-course-section-registry{padding-block:35px 60px}
.theme-madar-v5 .theme-course-section-registry .theme-section-head{border-color:var(--theme-text)}
.theme-madar-v5 .theme-course-section-registry .theme-section-head h2{font-size:calc((22px) * var(--theme-type-scale-ratio,1));font-weight:600}
.theme-madar-v5 .theme-course-registry article{border-color:#e7edeb}
.theme-madar-v5 .theme-course-registry-copy>span,.theme-madar-v5 .theme-course-registry dd{font-family:"IBM Plex Mono",monospace}
.theme-madar-v5 .theme-course-registry h3{font-size:calc((16px) * var(--theme-type-scale-ratio,1));font-weight:600}
.theme-madar-v5 .theme-course-registry article>a{border-color:#cbd7d4}
.theme-madar-v5 .theme-training-path-cohort{padding-block:50px 65px;background:#fff}
.theme-madar-v5 .theme-training-path-cohort .theme-section-head h2{font-size:calc((22px) * var(--theme-type-scale-ratio,1))}
.theme-madar-v5 .theme-training-path-cohort li>span{background:#f0f6f4;color:#054d42;border-color:#bcd4cf}
.theme-madar-v5 .theme-training-outcomes{border-color:#dbe4e1}
.theme-madar-v5 .theme-training-outcomes h3{font-size:calc((18px) * var(--theme-type-scale-ratio,1))}
.theme-madar-v5 .theme-training-outcomes li{border-color:#eef2f1}
.theme-madar-v5 .theme-services-section-insurance .theme-services{grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border:1px solid #dbe4e1;border-radius:5px}
.theme-madar-v5 .theme-services-section-insurance .theme-services article{border:0;border-inline-start:1px solid #eef2f1}
.theme-madar-v5 .theme-services-section-insurance .theme-service-copy{padding:15px}
.theme-madar-v5 .theme-services-section-insurance .theme-service-index,.theme-madar-v5 .theme-services-section-insurance .theme-arrow{display:none}
.theme-madar-v5 .theme-services-section-insurance .theme-services h3{margin:0 0 5px;font-size:calc((14px) * var(--theme-type-scale-ratio,1))}
.theme-madar-v5 .theme-services-section-insurance .theme-services p{font-size:calc((12px) * var(--theme-type-scale-ratio,1));line-height:1.7}
.theme-madar-v5 .theme-split-checklist .theme-split-copy{padding:clamp(35px,5vw,70px)}
.theme-madar-v5 .theme-training-path-timeline{padding-block:65px}
.theme-madar-v5 .theme-team-section{padding-block:65px}
.theme-madar-v5 .theme-team{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px;gap:15px}
.theme-madar-v5 .theme-team article{border:1px solid #dbe4e1;border-radius:5px;overflow:hidden}
.theme-madar-v5 .theme-team article img{height:230px;object-fit:cover;object-position:center top}
.theme-madar-v5 .theme-schedule-section-table{padding-block:60px}
.theme-madar-v5 .theme-schedule{border-color:#dbe4e1}.theme-madar-v5 .theme-schedule article{border-color:#e7edeb}
.theme-madar-v5 .theme-faq-section{padding-block:55px;width:min(100%,var(--theme-container-width));margin-inline:auto}
.theme-madar-v5 .theme-faq-section .theme-section-head h2{font-size:calc((24px) * var(--theme-type-scale-ratio,1))}
.theme-madar-v5 .theme-faq-section .theme-menu details{border-color:#dbe4e1;font-size:calc((16px) * var(--theme-type-scale-ratio,1))}
.theme-madar-v5 .theme-faq-section .theme-menu p{font-size:calc((14px) * var(--theme-type-scale-ratio,1));line-height:1.85}
.theme-madar-v5 .theme-contact-accent{width:min(calc(100% - 40px),1184px);margin:35px auto 75px;padding:45px;border-radius:5px;background:var(--theme-accent)}
.theme-madar-v5 .theme-contact-accent h2{font-size:calc((clamp(28px,3vw,40px)) * var(--theme-type-scale-ratio,1));line-height:1.4}
.theme-madar-v5 .theme-contact-accent .theme-button-invert{background:#fff;color:#054d42!important}
.theme-madar-v5 .theme-contact-accent .theme-button-ghost{background:transparent;color:#fff!important;border:1px solid rgba(255,255,255,.75)}
.theme-madar-v5 .theme-footer{background:var(--theme-text);color:#fff}
.theme-madar-v5 .theme-footer p,.theme-madar-v5 .theme-footer>span{color:#d2dedb}
@media(max-width:900px){.theme-madar-v5 .theme-services-section-insurance .theme-services{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){
  .theme-madar-v5 .theme-header-academy .theme-clinic-topbar{font-size:calc((10px) * var(--theme-type-scale-ratio,1))}
  .theme-madar-v5 .theme-header-academy .theme-brand{font-size:calc((15px) * var(--theme-type-scale-ratio,1))}
  .theme-madar-v5 .theme-hero-academy h1{font-size:calc((31px) * var(--theme-type-scale-ratio,1))}
  .theme-madar-v5 .theme-hero-academy .theme-button-ghost{margin-inline-start:0}
  .theme-madar-v5 .theme-course-section-registry{padding-block:25px 45px}
  .theme-madar-v5 .theme-team{grid-template-columns:1fr}
  .theme-madar-v5 .theme-contact-accent{width:calc(100% - 32px);padding:30px 24px}
}
@media(prefers-reduced-motion:reduce){.theme-madar-v5 .theme-course-registry article{scroll-behavior:auto}}
