/* AlBurhan site layer: redesign components in the original brand colours (dark brown, rich gold, cream). */

.landing-block.ab-full{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;border-radius:0!important;background:transparent}
.landing-block.ab-full>.container{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
.ab.abx{background:#3d2400}
.ab section{overflow:visible}
.ab section.ab-section{padding:var(--ab-section) 0}
.ab ul[class^="abx-"]{margin:0;padding:0;list-style:none}
.ab .abx-center{text-align:center}
.ab .abx-intro{max-width:620px;margin:0 auto var(--ab-5)}
.ab .abx-gap{margin-top:var(--ab-4);margin-bottom:0}
.ab .abx-narrow{max-width:860px}
.ab .ab-h2{font-family:var(--ab-font-display);font-weight:600}
.ab .ab-h2.abx-center{margin-bottom:var(--ab-5)}
.ab #abx-free-h.ab-h2{margin-bottom:var(--ab-2)}
.ab .abx-courses h3,.ab .abx-why h3,.ab .abx-team h3,.ab .abx-company h2,.ab .abx-trust__title,.ab .abx-more h3{font-family:var(--ab-font-display);font-weight:600}

/* surfaces */
.ab section.abx-dark{background:#3d2400}
.ab section.abx-night{background:#241703}
.ab section.abx-light{background:var(--ab-ivory-50)}
.ab .abx-dark .ab-h2,.ab .abx-night .ab-h2{color:#fff}
.ab .abx-dark p,.ab .abx-night p{color:#f5e6c8}
.ab .abx-dark a:not(.ab-btn):not([class]),.ab .abx-night a:not(.ab-btn):not([class]){color:#efb840}
.ab .abx-light .ab-h2,.ab .abx-light .ab-h3{color:#3d2400}
.ab .abx-light p{color:var(--ab-text)}
.ab .ab-btn--dark{background:#efb840;border-color:#efb840;color:#241703}
.ab .ab-btn--dark:hover{background:#ffc95e;border-color:#ffc95e;color:#241703}
.ab .abx-dark .ab-btn--secondary,.ab .abx-night .ab-btn--secondary,.ab .abx-company .ab-btn--secondary{background:transparent;border-color:#efb840;color:#fff}
.ab .abx-dark .ab-btn--secondary:hover,.ab .abx-night .ab-btn--secondary:hover,.ab .abx-company .ab-btn--secondary:hover{background:rgba(239,184,64,.16);color:#fff}

/* trust strip */
.ab section.abx-trust{padding:18px 0;background:#2b1b05;border-bottom:1px solid rgba(239,184,64,.28);text-align:center}
.ab .abx-trust__title{margin:0 0 var(--ab-2);color:#fff;font-size:clamp(1.125rem,1rem + .6vw,1.4rem)}
.ab .abx-trust__list{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--ab-2) var(--ab-7)}
.ab .abx-trust__list li{display:flex;flex-direction:column;min-width:96px}
.ab .abx-trust__list strong{color:#efb840;font-size:1.375rem;line-height:1.3}
.ab .abx-trust__list span{color:#f5e6c8;font-size:var(--ab-fs-sm)}

/* course cards */
.ab .abx-courses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ab-3);margin-bottom:var(--ab-4)}
.ab .abx-courses a{display:flex;flex-direction:column;height:100%;padding:var(--ab-4);border:1px solid rgba(239,184,64,.32);border-radius:var(--ab-radius-lg);background:#513100;text-decoration:none;transition:border-color .15s,transform .15s}
.ab .abx-courses a:hover{border-color:#efb840;transform:translateY(-2px)}
.ab .abx-courses svg{width:36px;height:36px;margin-bottom:var(--ab-2);fill:none;stroke:#efb840;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ab .abx-courses h3{margin:0 0 var(--ab-1);color:#fff;font-size:clamp(1rem,.9rem + .5vw,1.25rem);line-height:1.3}
.ab .abx-courses p{margin:0 0 var(--ab-2);color:#f5e6c8;font-size:var(--ab-fs-sm);line-height:1.5}
.ab .abx-courses span{margin-top:auto;color:#efb840;font-size:var(--ab-fs-sm);font-weight:700}
@media (min-width:900px){.ab .abx-courses{grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ab-4)}.ab .abx-courses a{padding:20px 22px}}
.ab .abx-saudi{margin-bottom:var(--ab-4);font-size:var(--ab-fs-sm)}

/* free resources */
.ab .abx-books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ab-4);margin-bottom:var(--ab-5)}
.ab .abx-books a{display:flex;flex-direction:column;align-items:center;gap:var(--ab-2);text-align:center;text-decoration:none;color:#3d2400;font-weight:700;font-size:var(--ab-fs-sm)}
.ab .abx-books img{width:100%;max-width:180px;aspect-ratio:3/4;object-fit:contain;border-radius:var(--ab-radius-sm);filter:drop-shadow(0 8px 16px rgba(61,36,0,.25));transition:transform .15s}
.ab .abx-books a:hover img{transform:translateY(-3px)}
@media (min-width:768px){.ab .abx-books{grid-template-columns:repeat(4,minmax(0,1fr))}}
.ab .abx-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:var(--ab-4) var(--ab-6);max-width:860px;margin:0 auto var(--ab-5)}
.ab .abx-links{margin:0;padding:0;list-style:none}
.ab .abx-links li{border-top:1px solid rgba(98,59,0,.22)}
.ab .abx-light .abx-links a{display:block;padding:10px 0;color:#623b00;text-decoration:none}
.ab .abx-light .abx-gap a,.ab .abx-light .abx-quote figcaption a{color:#623b00}

/* why choose */
.ab .abx-why{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ab-3)}
.ab .abx-why li{padding:14px var(--ab-4);border-top:3px solid #efb840;border-radius:var(--ab-radius-sm);background:#3d2400}
.ab .abx-why h3{margin:0 0 var(--ab-1);color:#fff;font-size:var(--ab-fs-md);line-height:1.3}
.ab .abx-why p{margin:0;font-size:var(--ab-fs-sm);line-height:1.5}
@media (min-width:900px){.ab .abx-why{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ab-4)}}

/* reviews */
.ab .abx-quote{margin:0;background:#fff;border-color:var(--ab-line)}
.ab .abx-quote blockquote{margin:0 0 var(--ab-3);padding:0;border:0;color:var(--ab-text);line-height:1.6}
.ab .abx-quote figcaption{margin-top:auto;font-size:var(--ab-fs-sm);font-weight:700}

/* instructors */
.ab .abx-team{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ab-3);margin-bottom:var(--ab-4)}
.ab .abx-team a{display:flex;flex-direction:column;align-items:center;height:100%;padding:var(--ab-4);border:1px solid rgba(239,184,64,.32);border-radius:var(--ab-radius-lg);background:#513100;text-align:center;text-decoration:none}
.ab .abx-team a:hover{border-color:#efb840}
.ab .abx-team span,.ab-initials{display:flex;align-items:center;justify-content:center;width:52px;height:52px;margin-bottom:var(--ab-2);border-radius:50%;background:#efb840;color:#241703;font-weight:750}
.ab .abx-team h3{margin:0 0 var(--ab-1);color:#fff;font-size:var(--ab-fs-md);line-height:1.3}
.ab .abx-team p{margin:0;font-size:var(--ab-fs-sm);line-height:1.5}
@media (min-width:900px){.ab .abx-team{grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--ab-4)}}

/* corporate, FAQ, closing */
.ab section.abx-company{padding:var(--ab-5) 0;background:#2b1b05;border-top:1px solid rgba(239,184,64,.28)}
.ab .abx-company .ab-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--ab-4)}
.ab .abx-company h2,.ab .abx-company p{margin:0}
.ab .abx-company h2{color:#fff}
.ab .abx-company p{color:#f5e6c8}
.ab .abx-light .accordion-item{border:1px solid var(--ab-line);background:#fff}
.ab .abx-light .accordion-button{background:#fff!important;color:#3d2400!important;font-weight:700;box-shadow:none}
.ab .abx-light .accordion-button:not(.collapsed){background:var(--ab-ivory-200)!important}
.ab .abx-light .accordion-body{background:#fff;color:var(--ab-text)}
.ab .abx-light .accordion-body a{color:#623b00}
.ab .abx-final__actions{justify-content:center}

/* statistics inside "Why Choose" */
.ab .abx-whysec .ab-h2.abx-center{margin-bottom:var(--ab-1)}
.ab .abx-tagline{margin:0 0 var(--ab-3);font-weight:600}
.ab .abx-stats{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--ab-2) var(--ab-7);margin:0 0 var(--ab-5)!important}
.ab .abx-stats li{display:flex;align-items:baseline;gap:var(--ab-2)}
.ab .abx-stats strong{color:#efb840;font-family:var(--ab-font-display);font-size:1.75rem;line-height:1.2}
.ab .abx-stats span{color:#f5e6c8}

/* tighter vertical rhythm on course pages */
.alc .sec{padding:44px 0}
@media(max-width:700px){.alc .sec{padding:32px 0}}
/* FAQ: beat the theme's last-item and hover rules */
#abxFaq.accordion .accordion-item .accordion-button,#abxFaq.accordion .accordion-item .accordion-button:hover,#abxFaq.accordion .accordion-item .accordion-button:focus{background:#fff!important;color:#3d2400!important}
#abxFaq.accordion .accordion-item .accordion-button:not(.collapsed){background:#f5e6c8!important}
#abxFaq.accordion .accordion-item{background:#fff!important;border-color:#f5e6c8!important}
.ab .abx-more{margin-top:var(--ab-4)}
/* ---- course catalogue cards (catalogue, hub, bundle) ---- */
.abc-jump{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px}
.abc-jump a{padding:8px 14px;border:1px solid rgba(239,184,64,.55);border-radius:999px;color:#f5e6c8!important;font-weight:600;text-decoration:none}
.abc-jump a:hover{background:rgba(239,184,64,.16)}
.abc-group{scroll-margin-top:96px}
.abc-gh{margin:30px 0 12px!important;color:#efb840!important;font:600 1.25rem/1.3 var(--ab-font-display)!important}
.abc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}
.abc-card{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid rgba(239,184,64,.32);border-radius:14px;background:#513100}
.abc-card.abc-best{border:2px solid #efb840}
.abc-card h4{margin:0;font:600 1.2rem/1.3 var(--ab-font-display)}
.abc-card h4 a{color:#fff!important;text-decoration:none}
.abc-card p{margin:0;color:#f5e6c8}
.abc-card .abc-tag{color:#efb840;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.abc-card .abc-price{margin-top:auto;padding-top:6px;color:#fff;font:600 1.6rem/1.2 var(--ab-font-display)}
.abc-card .abc-price span{color:#f5e6c8;font:500 .85rem var(--ab-font)}
.abc-act{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.abc-act .btn{min-height:44px}
.abc-wide{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px}
.abc-wide>div{flex:1 1 300px}
.abc-note{margin:12px 0 0!important;color:#f5e6c8}
.abc-note a{color:#efb840}
.abc-two{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr))}
.abc-trial .abc-act{justify-content:flex-start}
.abc-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:12px;margin:16px 0 0;padding:0;list-style:none}
.abc-links a{display:flex;flex-direction:column;gap:4px;height:100%;padding:16px 18px;border:1px solid rgba(239,184,64,.32);border-radius:14px;background:#513100;text-decoration:none}
.abc-links strong{color:#fff;font:600 1.1rem var(--ab-font-display)}
.abc-links span{color:#f5e6c8;font-size:.9rem}
.abc-links a:hover{border-color:#efb840}
/* ---- free resources library ---- */
.fr{font-family:var(--ab-font)!important}
.fr h1,.fr h2,.fr h3{font-family:var(--ab-font-display)!important}
.fr-more{margin:40px 0 0}
.fr-more>h2{margin:0 0 16px;text-align:center;color:#efb840;font-size:1.6rem}
.fr-cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px}
.fr-cols section{padding:18px 20px;border:1px solid rgba(239,184,64,.32);border-radius:14px;background:#513100}
.fr-cols h3{margin:0 0 8px!important;color:#fff!important;font-size:1.15rem!important}
.fr-cols ul{margin:0;padding:0;list-style:none}
.fr-cols li{border-top:1px solid rgba(239,184,64,.22)}
.fr-cols a{display:block;padding:9px 0;color:#f5e6c8!important;text-decoration:none}
.fr-cols a:hover{color:#efb840!important}.fr{max-width:1180px!important}
.fr .grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:18px!important}
.fr .cv{height:260px!important}

/* ---- typography and hierarchy (shared) ---- */
:root{--ab-fs-h2x:clamp(1.85rem,1.35rem + 2.1vw,2.75rem);--ab-fs-card:clamp(1.1rem,1rem + .45vw,1.35rem)}
.ab .ab-h2,.alc .h2,.landing-block .section-title h2,.fr-more>h2,.abc-trial .h2{font-family:var(--ab-font-display)!important;font-size:var(--ab-fs-h2x)!important;font-weight:700!important;line-height:1.15!important;letter-spacing:-.01em}
.ab p,.alc p,.alc .lead,.fr p,.abc-card p{line-height:1.7}
.ab .abx-courses h3,.ab .abx-why h3,.ab .abx-team h3,.abc-card h4 a,.fr-cols h3,.abc-links strong,.alc .alc-card h3,.alc .clt{color:#efb840!important;font-size:var(--ab-fs-card)!important;font-weight:700!important}
.ab .abx-why li{padding:18px 20px}
.ab .abx-ico{display:block;width:34px;height:34px;margin-bottom:10px;fill:none;stroke:#efb840;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ab .abx-stats strong{font-size:clamp(2.2rem,1.7rem + 2vw,3.1rem);font-weight:700}
.ab .abx-stats span{font-size:1.05rem;font-weight:600}
.ab .abx-courses p,.ab .abx-why p,.ab .abx-team p{font-size:.95rem}

/* ---- warm light surfaces: cream, never grey ---- */
.ab section.abx-light{background:linear-gradient(180deg,#f5e6c8 0%,#f7ead0 18%,#f7ead0 82%,#f5e6c8 100%)}
.ab .abx-quote,.ab .abx-light .accordion-item,#abxFaq.accordion .accordion-item,#abxFaq.accordion .accordion-item .accordion-button{background:#fdf6e7!important}
#abxFaq.accordion .accordion-item .accordion-button:not(.collapsed){background:#f5e6c8!important}
.ab .abx-light .ab-h2{color:#3d2400}
.ab .abx-light p{color:#3b2314}.ab .abx-courses{grid-auto-rows:1fr}
.ab .abx-courses li{display:flex}
.ab .abx-courses a{width:100%}

/* ---- instructors: no personal photos in marketing (images stay in the CMS) ---- */
.staff .member .pic img,.ab-sec-12 .post-main-photo{display:none!important}
.staff .member .pic{display:flex;align-items:center;justify-content:center;width:88px;height:88px;min-width:88px;border-radius:50%;background:#efb840;overflow:hidden}
.staff .member .pic::before{content:"\f501";font:900 34px/1 "Font Awesome 6 Free";color:#241703}

/* ---- articles and supporting pages ---- */
.ab-sec-7 main table,.ab-sec-1 main .post-text table,main .post-text table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.ab-sec-7 main pre{white-space:pre-wrap}
.ab-sec-7 main .post-text,.ab-sec-7 main article{font-size:1.0625rem;line-height:1.8}
.ab-sec-7 main .post-text p,.ab-sec-7 main .post-text li{max-width:72ch}
.ab-sec-7 main [lang="ar"],.ab-sec-7 main .ar{direction:rtl;unicode-bidi:isolate;font-family:"Noto Naskh Arabic","Geeza Pro",Tahoma,sans-serif}
.ab-sec-7 main img{max-width:100%;height:auto}
main .post-heading h1,main h1{font-family:var(--ab-font-display)}

/* ---- footer ---- */
#footer .ab-ft{padding:40px 0 28px}
#footer .ab-ft__in{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:28px;max-width:1240px;margin:0 auto;padding:0 24px}
#footer .ab-ft__brand img{display:block;width:200px;height:auto;margin-bottom:12px}
#footer .ab-ft p{margin:0 0 10px;color:#f5e6c8;font-size:.95rem;line-height:1.6}
#footer .ab-ft__lic{font-size:.85rem!important;opacity:.85}
#footer .ab-ft h3{margin:4px 0 12px;color:#efb840!important;font:700 1.15rem/1.3 var(--ab-font-display)}
#footer .ab-ft__list{margin:0;padding:0;list-style:none}
#footer .ab-ft__list li{margin:0 0 8px}
#footer .ab-ft__list a{color:#f5e6c8!important;text-decoration:none;font-size:.95rem}
#footer .ab-ft__list a:hover{color:#efb840!important}
@media (max-width:991.98px){#footer .ab-ft__in{grid-template-columns:repeat(2,minmax(0,1fr))}#footer .ab-ft__brand{grid-column:1/-1}}
@media (max-width:420px){#footer .ab-ft__in{grid-template-columns:1fr}}

#footer .footer-bottom a,#footer .footer-bottom .copyright a{color:#efb840!important}
.ab-sec-1 main a[href^="mailto:"]{color:#efb840!important}
