.branch-footer { background-color:#17192c; color:#fff; padding:48px 0 28px; }
.branch-footer .branch-footer__grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1.4fr; gap:32px; align-items:start; direction:rtl; }
.branch-footer__grid section,.branch-footer__grid nav { min-width:0; }
.branch-footer__grid h2 { color:#fff; font-size:18px; font-weight:600; margin:0 0 18px; }
.branch-footer__brand .branch-footer__logo { display:inline-block; margin-bottom:12px; }
.branch-footer__brand .branch-footer__logo img { display:block; width:160px; height:48px; object-fit:contain; object-position:right center; }
.branch-footer__brand p,.branch-footer__grid li { color:#a9acc1; font-size:14px; line-height:1.9; overflow-wrap:anywhere; }
.branch-footer__grid ul { list-style:none; padding:0; margin:0; }
.branch-footer__grid li { margin:0 0 10px; }
.branch-footer__grid a { color:#a9acc1; text-decoration:none; }
.branch-footer__grid a:hover { color:#fff; }
.branch-footer__social { display:flex; gap:18px; align-items:center; margin-top:24px; }
.branch-footer__social img { width:24px; height:24px; object-fit:contain; }
.branch-footer__certificates { display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:24px; }
.branch-footer__certificates img { max-width:120px; max-height:90px; object-fit:contain; }
.branch-footer__copyright { border-top:1px solid #323752; margin:28px 0 0; padding-top:18px; color:#a9acc1; font-size:13px; text-align:center; }
.branch-footer__app { position:relative; display:flex; align-items:center; gap:16px; margin-top:28px; padding:16px 20px; overflow:hidden; border:1px solid rgba(255,255,255,.55); border-radius:18px; background:radial-gradient(ellipse at 0% 100%,rgba(255,199,91,.28),transparent 38%),linear-gradient(110deg,#dedcff 0%,#eeedff 100%); box-shadow:0 12px 34px rgba(6,8,25,.22),0 0 28px rgba(118,105,255,.12); color:#24264a; }
.branch-footer__app-mark { display:grid; flex:0 0 54px; width:54px; height:54px; place-items:center; border:1px solid rgba(255,255,255,.25); border-radius:15px; background:linear-gradient(145deg,#6258e8,#39318e); box-shadow:0 7px 16px rgba(58,49,142,.25); }
.branch-footer__app-mark svg { width:30px; height:30px; fill:none; stroke:#fff; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.branch-footer__app-copy { min-width:0; margin-inline-end:auto; }
.branch-footer__app-copy span { display:block; margin-bottom:2px; color:#655bd4; font-size:12px; font-weight:700; }
.branch-footer__app-copy h2 { margin:0 0 3px; color:#24264a; font-size:18px; font-weight:800; }
.branch-footer__app-copy p { margin:0; color:#555873; font-size:13px; line-height:1.8; }
.branch-footer__app-actions { display:flex; flex:0 0 auto; flex-wrap:wrap; gap:9px; align-items:center; }
.branch-footer__app-actions a { display:inline-flex; min-height:42px; align-items:center; justify-content:center; gap:8px; padding:9px 14px; border:1px solid rgba(77,68,183,.14); border-radius:11px; background:#fff; color:#403a9f; font-size:13px; font-weight:750; text-decoration:none; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.branch-footer__app-actions a:hover { transform:translateY(-2px); box-shadow:0 7px 18px rgba(48,43,125,.16); }
.branch-footer__app-actions .branch-footer__app-download { border-color:#ffcf68; background:linear-gradient(135deg,#ffda82,#ffc64d); color:#28264d; }
.branch-footer__app-actions svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
@media (max-width: 991.98px) { .branch-footer .branch-footer__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 24px; } .branch-footer__app { display:grid; grid-template-columns:54px minmax(0,1fr); gap:12px 14px; } .branch-footer__app-mark { grid-column:1; grid-row:1; } .branch-footer__app-copy { width:100%; margin:0; grid-column:2; grid-row:1; } .branch-footer__app-actions { display:flex; width:100%; grid-column:1 / -1; grid-row:2; justify-content:flex-start; } }
@media (max-width: 575.98px) { .branch-footer { padding:36px 0 24px; } .branch-footer .branch-footer__grid { grid-template-columns:minmax(0,1fr); gap:22px; } .branch-footer__brand .branch-footer__logo img { margin-inline:auto; object-position:center; } .branch-footer__brand { text-align:center; } .branch-footer__social { justify-content:center; } .branch-footer__app { display:grid; grid-template-columns:46px minmax(0,1fr); gap:10px 12px; margin-top:24px; padding:14px; border-radius:16px; } .branch-footer__app-mark { grid-row:1; grid-column:1; width:46px; height:46px; border-radius:13px; } .branch-footer__app-mark svg { width:26px; height:26px; } .branch-footer__app-copy { grid-row:1; grid-column:2; } .branch-footer__app-copy h2 { font-size:16px; } .branch-footer__app-copy p { font-size:12px; } .branch-footer__app-actions { grid-row:2; grid-column:1 / -1; display:grid; grid-template-columns:1fr 1fr; gap:8px; } .branch-footer__app-actions a { min-height:42px; padding:8px 10px; font-size:12px; } }
.home-p7 .home-p7-bottom-carts { min-width:0; height:auto; min-height:0; }
.home-p7 .home-p7-bottom-carts .img-link { display:block; width:100%; overflow:hidden; border-radius:16px; }
.home-p7 .home-p7-bottom-carts .img-link img { display:block; width:100%; height:190px; object-fit:cover; border-radius:16px; }
.home-p7 .home-p7-bottom-carts-t { overflow-wrap:anywhere; }
.home-p7 .home-p7-bottom { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; direction:rtl; }
.home-p7 .home-p7-bottom-carts { display:flex; flex-direction:row; align-items:stretch; justify-content:space-between; gap:18px; width:auto; min-width:0; min-height:205px; height:auto; padding:10px; border-radius:22px; background:#fff; box-shadow:0 4px 14px rgba(35,35,70,.08); }
.home-p7 .home-p7-bottom-carts .img-link { flex:0 0 46%; width:46%; height:185px; border-radius:14px; }
.home-p7 .home-p7-bottom-carts .img-link img { width:100%; height:100%; object-fit:cover; border-radius:14px; }
.home-p7 .home-p7-card-content { display:flex; flex:1 1 auto; min-width:0; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:10px; padding:12px 4px; text-align:right; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-t { width:100%; margin:0; font-size:17px; line-height:1.8; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-t a { color:#29235c; text-decoration:none; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-summary { display:-webkit-box; width:100%; margin:0; overflow:hidden; color:#777987; font-size:13px; line-height:1.8; text-align:right; overflow-wrap:anywhere; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-a { display:inline-flex; align-items:center; justify-content:center; min-width:82px; min-height:38px; margin-top:auto; padding:8px 18px; border-radius:10px; background:#ffc95c; color:#29235c; font-size:14px; font-weight:700; text-decoration:none; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-a:hover { background:#ffbd3f; }
.branch-contact-cta { width:min(100% - 32px, 1000px); min-height:0; height:auto; padding:36px; display:block; flex-direction:initial; }
.branch-contact-cta h3 { color:#fff; font-size:24px; font-weight:700; text-align:right; }
.branch-contact-cta p { color:#cbcddc; line-height:1.9; }
.branch-contact-cta .home-p9-link { display:inline-flex; align-items:center; justify-content:center; padding:12px 20px; border-radius:12px; background:#ffc95c; color:#323752; font-weight:600; }
@media (max-width: 1199.98px) { .home-p7 .home-p7-bottom { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 767.98px) { .home-p7 .home-p7-bottom { grid-template-columns:minmax(0,1fr); } .home-p7 .home-p7-bottom-carts .img-link { height:190px; } }
@media (max-width: 575.98px) { .home-p7 { padding:42px 0 72px; } .home-p7 .home-p7-bottom-carts { gap:12px; min-height:0; } .home-p7 .home-p7-bottom-carts .img-link { flex-basis:42%; width:42%; height:160px; } .home-p7 .home-p7-card-content { gap:8px; padding:6px 2px; } .home-p7 .home-p7-card-content .home-p7-bottom-carts-t { font-size:15px; } .home-p7 .home-p7-card-content .home-p7-bottom-carts-summary { font-size:12px; line-height:1.7; -webkit-line-clamp:2; } .home-p7 .home-p7-card-content .home-p7-bottom-carts-a { min-height:34px; padding:6px 14px; } .branch-contact-cta { padding:24px; } }

/* Homepage hero slider: active server image fills the stage; other images stay as right-side previews */
.home-p1 .top-video-container { height:auto; aspect-ratio:auto; min-height:0; padding:0; }
.home-p1 .home-hero-slider { position:relative; z-index:2; width:min(88%,1200px); height:auto; aspect-ratio:auto; margin:0 auto; padding:5px !important; overflow:visible; box-sizing:border-box; border:0 !important; border-radius:26px; background:rgba(255,255,255,.94); box-shadow:0 0 34px rgba(255,190,105,.16),0 12px 38px rgba(90,84,222,.16); transition:height .3s ease; }
.home-p1 .home-hero-slides { position:absolute; inset:5px; overflow:hidden; border-radius:20px; }
.home-p1 .home-hero-slide { position:absolute; inset:0; overflow:hidden; border-radius:inherit; }
.home-p1 .home-hero-slide { opacity:0; visibility:hidden; transform:translateX(-20px); transition:opacity .5s ease,transform .5s ease,visibility .5s ease; }
.home-p1 .home-hero-slide.is-active { opacity:1; visibility:visible; transform:translateX(0); }
.home-p1 .home-hero-main-link { position:absolute; z-index:1; inset:0; display:block; overflow:hidden; border-radius:inherit; }
.home-p1 .home-hero-main-image { display:block; width:100%; height:100%; object-fit:fill; object-position:center; border-radius:inherit; background:transparent; }
.home-p1 .home-hero-thumbnails { display:none; }
.home-p1 .home-hero-thumb { display:block; width:100%; height:auto; aspect-ratio:2.5/1; padding:4px; overflow:hidden; border:1px solid rgba(255,255,255,.8); border-radius:13px; background:rgba(255,255,255,.92); box-shadow:0 5px 14px rgba(36,35,75,.16); cursor:pointer; transition:transform .2s ease,box-shadow .2s ease; }
.home-p1 .home-hero-thumb:hover { transform:translateX(-5px); box-shadow:0 8px 18px rgba(36,35,75,.22); }
.home-p1 .home-hero-thumb[hidden] { display:none !important; }
.home-p1 .home-hero-thumb:nth-child(n+5) { display:none; }
.home-p1 .home-hero-thumb img { display:block; width:100%; height:100%; object-fit:cover; border-radius:9px; }
.home-p1 .home-hero-arrow { position:absolute; z-index:20 !important; top:50%; bottom:auto; display:flex !important; visibility:visible !important; opacity:1 !important; align-items:center; justify-content:center; width:42px; height:42px; padding:0; border:0; border-radius:50%; background:rgba(255,255,255,.96); color:#29235c; box-shadow:0 3px 12px rgba(35,35,70,.22); transform:translateY(-50%); cursor:pointer; }
.home-p1 .home-hero-prev { left:auto; right:18px; }
.home-p1 .home-hero-next { left:18px; right:auto; }
.home-p1 .home-hero-arrow:hover { background:#fff; }
.home-p1 .home-hero-dots { position:absolute; z-index:4; bottom:32px; left:50%; display:flex; align-items:center; justify-content:center; gap:9px; transform:translateX(-50%); direction:ltr; }
.home-p1 .home-hero-dot { width:10px; height:10px; padding:0; border:0; border-radius:50%; background:#c9c9d8; cursor:pointer; transition:width .2s ease,background-color .2s ease; }
.home-p1 .home-hero-dot.is-active { width:24px; border-radius:999px; background:#5a54de; }
.home-p1 .home-hero-dot:focus-visible,.home-p1 .home-hero-thumb:focus-visible { outline:2px solid #17192c; outline-offset:3px; }
@media (max-width: 768px) {
    .home-p1 .home-hero-slider { width:94%; height:auto; aspect-ratio:auto; margin-top:0; padding:5px !important; border-radius:22px; }
    .home-p1 .home-hero-thumb { padding:3px; border-radius:10px; }
    .home-p1 .home-hero-arrow { top:auto; bottom:12px; width:34px; height:34px; transform:none; }
    .home-p1 .home-hero-prev { left:auto; right:12px; }
    .home-p1 .home-hero-next { left:12px; right:auto; }
    .home-p1 .home-hero-dots { bottom:23px; gap:7px; }
    .home-p1 .home-hero-dot { width:8px; height:8px; }
    .home-p1 .home-hero-dot.is-active { width:18px; }
}

/* Four feature cards in the learner story section */
.home-p4 .home-p4-content { width:min(100% - 40px, 1320px); }
.home-p4 .home-p4-content > .row:first-child { direction:rtl; }
.home-p4 .home-p4-content > .row:first-child .title { text-align:right; }
.home-p4 .home-p4-content > .row:first-child .text-start { gap:12px; }
.home-p4 .custom-prev-comment,.home-p4 .custom-next-comment { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; padding:0; border:0; border-radius:50%; background:#fff; color:#29235c; box-shadow:0 3px 10px rgba(38,35,90,.14); cursor:pointer; }
.home-p4 .comment-and-icon { position:relative; display:block; padding:8px 0 18px; }
.home-p4 .comment-and-icon .home-p4-slider { width:100%; margin:0; direction:rtl; }
.home-p4 .home-p4-slider .slick-list { margin:0; padding:24px 0 32px; overflow:hidden; }
.home-p4 .home-p4-slider .slick-track { display:flex; align-items:stretch; }
.home-p4 .home-p4-slider .slick-slide { display:block; height:inherit; box-sizing:border-box; padding:0 12px; background:transparent !important; border:0 !important; box-shadow:none !important; overflow:visible; }
.home-p4 .home-p4-slider article.home-p4-cart.slick-slide { display:block !important; height:auto !important; min-height:0 !important; margin:0 !important; padding:0 12px !important; overflow:visible !important; border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.home-p4 .home-p4-card-inner { display:flex; flex-direction:column; width:100%; height:100%; min-height:355px; overflow:hidden; border:1px solid #e7e7eb; border-radius:16px; background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.12); transform:translateY(0); transition:transform .25s ease, box-shadow .25s ease; }
.home-p4 .home-p4-slider article.home-p4-cart:hover .home-p4-card-inner { transform:translateY(-8px); box-shadow:0 12px 24px rgba(38,35,90,.2); }
.home-p4 .home-p4-service-media { position:relative; width:100%; height:180px; flex:0 0 180px; overflow:hidden; border-radius:15px 15px 0 0; }
.home-p4 .home-p4-service-media:after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(135deg,rgba(255,196,129,.10),rgba(90,84,222,.08)); }
.home-p4 .home-p4-cart .home-p4-service-image { display:block; width:100%; height:100%; object-fit:cover; }
.home-p4 .home-p4-slider .home-p4-service-content { display:block !important; position:relative; z-index:2; flex:1 0 auto; width:100%; min-height:145px; padding:18px 20px 20px !important; visibility:visible !important; opacity:1 !important; color:#323752; text-align:right; }
.home-p4 .home-p4-slider .home-p4-service-content h3 { display:block !important; margin:0 0 12px !important; color:#292929 !important; font-size:18px; font-weight:700; visibility:visible !important; opacity:1 !important; }
.home-p4 .home-p4-slider .home-p4-service-content h3 a { color:inherit; text-decoration:none; }
.home-p4 .home-p4-slider .home-p4-service-content p { display:block !important; margin:0 !important; color:#888 !important; font-size:15px; line-height:1.9; visibility:visible !important; opacity:1 !important; }
.home-p4 .home-p4-slider .home-p4-service-description { display:-webkit-box !important; margin:0 !important; overflow:hidden; color:#888 !important; font-size:15px; line-height:1.9; -webkit-box-orient:vertical; -webkit-line-clamp:5; visibility:visible !important; opacity:1 !important; }
.home-p4 .home-p4-slider .home-p4-service-description p { margin:0 0 .5em !important; color:inherit !important; font-size:inherit !important; line-height:inherit !important; }
.home-p4 .home-p4-cart:before { content:none; }
.home-p4 .home-p4-cart { background:#fff; }
.home-p4 .home-p4-service-content { padding:18px 20px 20px; text-align:right; }
.home-p4 .home-p4-service-content h3 { margin:0 0 14px; color:#292929; font-size:18px; font-weight:700; }
.home-p4 .home-p4-service-content p { margin:0; color:#8b8b8b; font-size:15px; line-height:1.9; }
.home-p4 .home-p4-slider .slick-dots { bottom:-8px; }
.home-p4 .home-p4-slider .slick-dots li button:before { color:#5149cf; font-size:9px; }
.home-p4 .home-p4-slider .slick-arrow { z-index:2; }
.home-p4 .home-p4-slider .slick-track:before,.home-p4 .home-p4-slider .slick-track:after { display:none; }
/* Single-service feature slider, styled to match the portal palette. */
.home-p4 { position:relative; width:calc(100% - 24px); margin:52px auto; padding:36px 0 26px; overflow:visible; border-radius:28px; background:radial-gradient(ellipse at 7% 88%,rgba(255,201,92,.12),transparent 34%),linear-gradient(120deg,#f8f8fc 5%,#efefff 100%); }
.home-p4 .home-p4-content { position:relative; width:min(calc(100% - 48px),1440px); }
.home-p4 .home-p4-content > .row:first-child { position:static; display:block; margin:0 auto 8px; }
.home-p4 .home-p4-content > .row:first-child > .col-12:first-child { width:100%; }
.home-p4 .home-p4-heading { text-align:center; }
.home-p4 .home-p4-heading > span { display:block; margin:0 0 5px; color:#5a54de; font-size:14px; font-weight:750; }
.home-p4 .home-p4-heading .title { margin:0 !important; color:#17192c; font-size:clamp(25px,2.5vw,34px); font-weight:800; line-height:1.5; text-align:center !important; }
.home-p4 .home-p4-content > .row:first-child .text-start { position:absolute; z-index:5; inset-inline:0; top:58%; display:flex; width:auto !important; justify-content:space-between; padding:0; transform:translateY(-50%); pointer-events:none; }
.home-p4 .custom-prev-comment,.home-p4 .custom-next-comment { width:44px; height:44px; border:1px solid #e2e1f5; color:#5149d6; box-shadow:0 6px 18px rgba(43,39,105,.12); pointer-events:auto; }
.home-p4 .desc { max-width:780px; margin:4px auto 12px !important; color:#6e7086; font-size:15px; line-height:1.9; text-align:center; }
.home-p4 .comment-and-icon { padding:0 0 46px; }
.home-p4 .home-p4-slider .slick-list { padding:18px 0 24px; overflow:hidden; }
.home-p4 .home-p4-slider .slick-slide,.home-p4 .home-p4-slider article.home-p4-cart.slick-slide { padding:0 !important; }
.home-p4 .home-p4-card-inner { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.82fr); gap:clamp(34px,5.4vw,78px); align-items:center; min-height:390px; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; direction:ltr; }
.home-p4 .home-p4-slider article.home-p4-cart:hover .home-p4-card-inner { transform:none; box-shadow:none; }
.home-p4 .home-p4-service-media { display:block; width:100%; height:auto; aspect-ratio:1.68; flex:auto; overflow:hidden; border:7px solid rgba(255,255,255,.96); border-radius:23px; background:#eeedfa; box-shadow:0 18px 40px rgba(38,35,90,.16); }
.home-p4 .home-p4-service-media:after { background:linear-gradient(135deg,rgba(255,201,92,.06),rgba(90,84,222,.04)); }
.home-p4 .home-p4-service-content { min-width:0; padding:8px 0 !important; direction:rtl; text-align:right; }
.home-p4 .home-p4-slider .home-p4-service-content h3 { margin:0 0 16px !important; color:#17192c !important; font-size:clamp(22px,2vw,30px); font-weight:800; line-height:1.55; }
.home-p4 .home-p4-slider .home-p4-service-description { max-height:9.5em; font-size:clamp(14px,1.1vw,16px); line-height:1.9; -webkit-line-clamp:5; }
.home-p4 .home-p4-slider .slick-dots { right:50%; bottom:0; left:auto; display:flex; width:auto; align-items:center; justify-content:center; gap:8px; transform:translateX(50%); }
.home-p4 .home-p4-slider .slick-dots li { width:auto; height:auto; margin:0; }
.home-p4 .home-p4-slider .slick-dots li button { display:grid; min-width:32px; height:28px; place-items:center; padding:0 7px; border:1px solid #deddf0; border-radius:9px; background:rgba(255,255,255,.8); color:#77788e; font-size:11px; }
.home-p4 .home-p4-slider .slick-dots li button:before { content:none; }
.home-p4 .home-p4-slider .slick-dots li.slick-active button { min-width:38px; border-color:#5a54de; background:#5a54de; color:#fff; }
.home-p4 .home-p4-slider .slick-dots li button span { line-height:1; }
@media(max-width:767.98px) {
    .home-p4 { width:calc(100% - 16px); margin:34px auto; padding:26px 0 20px; border-radius:20px; }
    .home-p4 .home-p4-content { width:calc(100% - 32px); }
    .home-p4 .home-p4-content > .row:first-child { margin-bottom:5px; }
    .home-p4 .home-p4-heading > span { font-size:12px; }
    .home-p4 .home-p4-heading .title { font-size:23px; }
    .home-p4 .home-p4-content > .row:first-child .text-start { top:auto; bottom:38%; }
    .home-p4 .custom-prev-comment,.home-p4 .custom-next-comment { width:36px; height:36px; }
    .home-p4 .desc { margin:4px auto 8px !important; font-size:13px; }
    .home-p4 .comment-and-icon { padding-bottom:42px; }
    .home-p4 .home-p4-slider .slick-list { padding:12px 0 18px; }
    .home-p4 .home-p4-card-inner { grid-template-columns:minmax(0,1fr); gap:16px; min-height:0; }
    .home-p4 .home-p4-service-media { aspect-ratio:1.55; border-width:5px; border-radius:17px; }
    .home-p4 .home-p4-service-content { padding:0 8px !important; }
    .home-p4 .home-p4-slider .home-p4-service-content h3 { margin-bottom:8px !important; font-size:21px; }
    .home-p4 .home-p4-slider .home-p4-service-description { max-height:8.5em; font-size:14px; }
    .home-p4 .home-p4-slider .slick-dots { gap:5px; }
    .home-p4 .home-p4-slider .slick-dots li button { min-width:28px; height:26px; }
}
@media (max-width: 991.98px) {
    .home-p4 .home-p4-card-inner { min-height:340px; }
    .home-p4 .home-p4-service-media { height:170px; flex-basis:170px; }
}
@media (max-width: 575.98px) {
    .home-p4 .home-p4-content { width:calc(100% - 28px); }
    .home-p4 .home-p4-card-inner { min-height:0; }
    .home-p4 .home-p4-service-media { height:190px; flex-basis:190px; }
    .home-p4 .home-p4-service-content { padding:16px; }
    .home-p4 .home-p4-slider .slick-dots { bottom:-22px; }
}

.home-p3 .home-p3-cart2-t a,.home-p3 .home-p3-cart3-t a,.home-p3 .home-p3-cart4-top h3 a { color:inherit; text-decoration:none; }

/* Four balanced tiles in the courses section; the fourth tile links to the complete catalog. */
.home-p2 .home-p2-carts { display:grid !important; width:100%; margin:0 !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:24px !important; align-items:stretch; justify-content:stretch !important; }
.home-p2 .home-p2-carts:not(.slick-initialized) > .home-p2-cart-content { display:flex; width:auto !important; max-width:none !important; min-width:0; height:100%; padding:0; flex:none !important; }
.home-p2 .home-p2-carts .home-p2-cart { display:flex; flex-direction:column; width:100%; height:100%; min-width:0; }
.home-p2 .home-p2-carts .home-p2-cart-img { width:100%; height:380px; overflow:hidden; border-radius:18px 18px 0 0; background:#f5f5fa; }
.home-p2 .home-p2-carts .home-p2-cart-img a { display:block; width:100%; height:100%; }
.home-p2 .home-p2-carts .home-p2-cart-img img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.home-p2 .home-p2-more-card { display:flex; width:100%; min-height:100%; flex-direction:column; align-items:center; justify-content:center; gap:18px; padding:28px 22px; border:1px solid #e8e8ee; border-radius:24px; background:linear-gradient(145deg,#fff 0%,#f0efff 100%); color:#29235c; text-align:center; text-decoration:none; transition:transform .22s ease,box-shadow .22s ease; }
.home-p2 .home-p2-more-card:hover { transform:translateY(-5px); box-shadow:0 12px 28px rgba(45,35,90,.13); color:#29235c; }
.home-p2 .home-p2-more-card-icon { display:grid; width:70px; height:70px; place-items:center; border-radius:22px; background:#e2e4ff; color:#5a54de; font-size:32px; }
.home-p2 .home-p2-more-card h3 { margin:0; color:#17192c; font-size:22px; font-weight:800; }
.home-p2 .home-p2-more-card p { max-width:250px; margin:0; color:#62637a; font-size:15px; line-height:1.9; }
.home-p2 .home-p2-more-card-link { display:inline-flex; align-items:center; gap:8px; margin-top:8px; padding:11px 20px; border-radius:12px; background:#5a54de; color:#fff; font-weight:700; }
@media (max-width: 1199.98px) {
    .home-p2 .home-p2-carts { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
    .home-p2 .home-p2-carts .home-p2-cart-img { height:340px; }
}
@media (max-width: 575.98px) {
    .home-p2 .home-p2-carts { grid-template-columns:minmax(0,1fr); gap:18px !important; }
    .home-p2 .home-p2-carts .home-p2-cart-img { height:280px; }
}
@media (max-width: 767.98px) {
    .home-p2 .home-p2-carts:not(.slick-initialized) { grid-template-columns:minmax(0,1fr) !important; gap:18px !important; }
    .home-p2 .home-p2-carts:not(.slick-initialized) > .home-p2-cart-content { display:flex; width:100% !important; max-width:none !important; grid-column:1 / -1; padding:0; }
    .home-p2 .home-p2-carts .home-p2-cart { width:100%; height:auto; min-width:0; padding:12px; border:1px solid #e8e7f2; border-radius:20px; background:#fff; box-shadow:0 8px 24px rgba(39,36,89,.08); }
    .home-p2 .home-p2-carts .home-p2-cart-img { width:100%; height:auto !important; aspect-ratio:1.2; border-radius:14px; }
    .home-p2 .home-p2-carts .home-p2-cart-img a { height:100%; }
    .home-p2 .home-p2-carts .home-p2-cart-img img { object-fit:cover; }
    .home-p2 .home-p2-cart-img-title { width:100%; margin:12px 2px 8px !important; color:#17192c; font-size:18px; font-weight:750; line-height:1.55; text-align:center; overflow-wrap:anywhere; }
    .home-p2 .home-p2-cart-start { display:grid !important; width:100%; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:2px 0 12px; }
    .home-p2 .home-p2-cart-start > div { display:flex; min-width:0; align-items:center; justify-content:center; gap:7px; margin:0 !important; padding:9px 7px; border:1px solid #ecebf6; border-radius:11px; background:#fafaff; }
    .home-p2 .home-p2-cart-start > div i { flex:0 0 auto; color:#5a54de; font-size:15px; }
    .home-p2 .home-p2-cart-start > div p { margin:0; color:#4e5065; font-size:13px; line-height:1.6; text-align:center; }
    .home-p2 .home-p2-cart-cost { display:block !important; width:100%; margin:0 0 12px !important; padding:10px 12px; border-radius:11px; background:#f4f3ff; }
    .home-p2 .home-p2-cart-cost-cost { display:block; width:100%; margin:0; color:#28294a; font-size:15px; font-weight:750; line-height:1.7; text-align:center; overflow-wrap:anywhere; }
    .home-p2 .home-p2-cart-link { display:flex; width:100%; min-height:46px; align-items:center; justify-content:center; padding:10px 14px !important; border-radius:12px; font-size:15px; line-height:1.5; }
}

/* Responsive, draggable carousel for the latest featured courses. */
.home-p2 .home-p2-carts.slick-initialized { position:relative; display:block !important; box-sizing:border-box; width:100% !important; min-width:0; max-width:100%; flex:0 0 100%; margin:4px 0 0 !important; padding:0 42px 42px; }
.home-p2 .home-p2-carts.slick-initialized .slick-list { width:100%; margin:0; padding:10px 0 20px; overflow:hidden; }
.home-p2 .home-p2-carts.slick-initialized .slick-track { display:block !important; }
.home-p2 .home-p2-carts.slick-initialized > .home-p2-cart-content.slick-slide { display:block !important; height:inherit; padding:0 12px !important; }
.home-p2 .home-p2-carts.slick-initialized .home-p2-cart { height:100%; }
.home-p2-cart-link-mobile { display:none; }
.home-p2 .home-p2-carts.slick-initialized .slick-arrow.home-p2-course-arrow { z-index:3; top:calc(50% - 21px); display:flex !important; width:42px; height:42px; align-items:center; justify-content:center; padding:0; border:1px solid #e0dff4; border-radius:50%; background:#fff; color:#514bd0; box-shadow:0 5px 16px rgba(37,35,80,.12); transform:translateY(-50%); cursor:pointer; transition:background .18s ease,color .18s ease,transform .18s ease; }
.home-p2 .home-p2-carts.slick-initialized .slick-arrow.home-p2-course-arrow:hover { transform:translateY(-50%) scale(1.05); border-color:#5a54de; background:#5a54de; color:#fff; }
.home-p2 .home-p2-carts.slick-initialized .slick-prev.home-p2-course-arrow { right:0; left:auto; }
.home-p2 .home-p2-carts.slick-initialized .slick-next.home-p2-course-arrow { right:auto; left:0; }
.home-p2 .home-p2-carts.slick-initialized .slick-arrow.home-p2-course-arrow:before { content:none; }
.home-p2 .home-p2-carts.slick-initialized .slick-arrow.home-p2-course-arrow svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots { right:0; bottom:5px; left:0; display:flex; align-items:center; justify-content:center; gap:5px; margin:0; padding:0; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li { width:14px; height:14px; margin:0; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li button { width:14px; height:14px; padding:0; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li button:before { top:3px; left:3px; width:8px; height:8px; border-radius:10px; background:#b8b8c9; color:transparent; content:""; opacity:1; transition:width .2s ease,background .2s ease; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li.slick-active button:before { width:18px; background:#5a54de; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li.slick-active { width:24px; }
@media(max-width:767.98px) {
    .home-p2 .home-p2-carts.slick-initialized { margin:0 !important; padding:0 25px 38px; }
    .home-p2 .home-p2-carts.slick-initialized > .home-p2-cart-content.slick-slide { padding:0 5px !important; }
    .home-p2 .home-p2-carts.slick-initialized .slick-arrow.home-p2-course-arrow { width:30px; height:30px; }
    .home-p2 .home-p2-carts.slick-initialized .slick-arrow.home-p2-course-arrow svg { width:15px; height:15px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart { padding:6px 5px 8px; border-radius:13px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-img { aspect-ratio:1.15; border-radius:9px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-img-title { margin:7px 0 5px !important; font-size:11px; line-height:1.4; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-start { grid-template-columns:1fr; gap:2px; margin:0 0 5px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-start > div { gap:3px; padding:3px 2px; border-radius:6px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-start > div i { font-size:10px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-start > div p { font-size:9px; line-height:1.35; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-summary { display:none; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-cost { margin:0 0 5px !important; padding:4px 3px; border-radius:6px; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-cost-cost { font-size:10px; line-height:1.4; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-link { min-height:36px; padding:4px 3px !important; border-radius:7px; font-size:10px; line-height:1.35; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-link-desktop { display:none; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart-link-mobile { display:inline; }
}

/* Keep branch navigation labels on one line and make course and basket actions clear. */
.branch-portal .header .row.align-items-center { flex-wrap:nowrap; }
.header .branch-primary-nav { width:100%; min-width:0; padding:0; }
.header .branch-primary-nav .navbar-collapse { flex:0 1 auto; min-width:0; }
.header .branch-primary-nav .navbar-nav { flex-wrap:nowrap; gap:clamp(3px,.42vw,8px); width:max-content; max-width:100%; white-space:nowrap; }
.header .branch-primary-nav .navbar-nav > .nav-item { flex:0 0 auto; width:auto !important; white-space:nowrap; }
.header .branch-primary-nav .navbar-nav > .nav-item > .nav-link { padding-inline:3px; white-space:nowrap; font-size:clamp(12px,1vw,15px); }
.header .branch-primary-nav .dropdown-toggle::after { flex:0 0 16px; width:16px; height:16px; }
.header .branch-header-actions { flex-wrap:nowrap; gap:8px !important; padding-inline:8px; white-space:nowrap; font-size:14px !important; }
.header .branch-header-actions .login-register-btn-header { flex:0 0 auto; padding:9px 13px; white-space:nowrap; }
.branch-classes-btn { display:inline-flex; flex:0 0 auto; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:9px 14px; border:1px solid #5a54de; border-radius:12px; background:linear-gradient(135deg,#6b63f1 0%,#5149d6 100%); color:#fff !important; box-shadow:0 5px 14px rgba(81,73,214,.2); font-size:14px; font-weight:700; line-height:1.2; text-decoration:none !important; white-space:nowrap; transition:transform .18s ease,box-shadow .18s ease,filter .18s ease; }
.branch-classes-btn:hover,.branch-classes-btn:focus { color:#fff !important; filter:brightness(1.06); transform:translateY(-1px); box-shadow:0 7px 18px rgba(81,73,214,.27); }
.branch-action-icon { display:block; width:21px; height:21px; flex:0 0 21px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.branch-classes-icon { width:20px; height:20px; flex-basis:20px; }
.branch-basket-btn { position:relative; display:inline-flex; flex:0 0 44px; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid #dedcff; border-radius:13px; background:linear-gradient(145deg,#fff 0%,#f3f1ff 100%); color:#5149d6 !important; box-shadow:0 4px 12px rgba(48,42,120,.12); text-decoration:none !important; transition:transform .18s ease,box-shadow .18s ease,background .18s ease; }
.branch-basket-btn:hover,.branch-basket-btn:focus { color:#453db8 !important; background:#efedff; transform:translateY(-1px); box-shadow:0 6px 15px rgba(48,42,120,.18); }
.branch-basket-btn .branch-action-icon { width:22px; height:22px; }
.branch-basket-btn .badge { position:absolute; top:-6px; inset-inline-end:-6px; display:grid; place-items:center; min-width:19px; height:19px; padding:0 4px; border:2px solid #fff; border-radius:999px; background:#e53935; color:#fff; font-size:10px; font-weight:700; line-height:1; }
.branch-classes-label-short { display:none; }
#offcanvasRight { width:min(86vw,360px); }
#offcanvasRight .navbar-nav { align-items:stretch; gap:2px; }
#offcanvasRight .navbar-nav > .nav-item { min-width:0; }
#offcanvasRight .navbar-nav .nav-link { display:block; width:max-content; max-width:100%; padding:11px 14px; font-size:15px; white-space:nowrap; }
#offcanvasRight .navbar-nav .dropdown-toggle::after { display:inline-block; vertical-align:middle; margin-inline-start:6px; }
#offcanvasRight .navbar-nav .dropdown-menu .dropdown-item { white-space:nowrap; }
@media (min-width:992px) {
 .branch-portal .header .row.align-items-center > .col-6.d-none.col-md-2 { flex:0 0 16.666667%; width:16.666667%; }
 .branch-portal .header .row.align-items-center > .col-6.d-none.col-md-7 { flex:0 0 58.333333%; width:58.333333%; }
 .branch-portal .header .row.align-items-center > .col-md-3.branch-header-actions { flex:0 0 25%; width:25%; }
}
.branch-portal .header .site-logo { display:flex; flex:0 0 128px; width:128px; height:58px; align-items:center; justify-content:center; overflow:hidden; }
.branch-portal .header .site-logo > a { display:flex; width:100%; height:100%; align-items:center; justify-content:center; overflow:hidden; }
.branch-portal .header .site-logo img.custom-logo { display:block; width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; object-position:center; }
@media (min-width:992px) and (max-width:1199.98px) {
 .header .branch-header-actions { gap:4px !important; padding-inline:4px; }
 .header .branch-header-actions .login-register-btn-header { padding:7px 9px; font-size:12px; }
 .header .branch-header-actions .branch-classes-btn { gap:5px; min-height:38px; padding:7px 8px; font-size:12px; }
 .header .branch-header-actions .branch-classes-btn .branch-action-icon { width:17px; height:17px; flex-basis:17px; }
 .header .branch-header-actions .branch-basket-btn { flex-basis:38px; width:38px; height:38px; border-radius:11px; }
}
@media (max-width:991.98px) {
 .branch-portal .header .row.align-items-center { flex-wrap:wrap; }
 .mobile-header .branch-mobile-header-row { flex-wrap:nowrap; gap:6px; min-width:0; }
 .mobile-header .branch-mobile-brand { flex:0 1 auto; min-width:0; }
 .mobile-header .branch-mobile-brand .site-logo { min-width:0; }
 .mobile-header .branch-mobile-brand img { display:block; width:clamp(82px,24vw,112px); height:48px; max-height:48px; object-fit:contain; object-position:center; }
 .mobile-header .branch-mobile-actions { display:flex; flex:0 0 auto; align-items:center; gap:6px; white-space:nowrap; }
 .mobile-header .branch-mobile-actions .login-register-btn-header { padding:7px 10px; font-size:13px; white-space:nowrap; }
 .mobile-header .branch-mobile-actions .branch-classes-btn { min-height:36px; gap:5px; padding:7px 9px; border-radius:10px; font-size:12px; }
 .mobile-header .branch-mobile-actions .branch-classes-btn .branch-action-icon { width:17px; height:17px; flex-basis:17px; }
 .mobile-header .branch-mobile-actions .branch-basket-btn { flex-basis:36px; width:36px; height:36px; border-radius:10px; }
 .mobile-header .branch-mobile-actions .branch-basket-btn .branch-action-icon { width:19px; height:19px; }
}
@media (max-width:420px) {
 .mobile-header .branch-classes-label-full { display:none; }
 .mobile-header .branch-classes-label-short { display:inline; }
}
@media (max-width:370px) {
 .mobile-header .branch-mobile-brand > button { margin-inline-start:4px !important; padding:0 !important; }
 .mobile-header .branch-mobile-brand > button .display-6 { font-size:27px; }
 .mobile-header .branch-mobile-brand img { width:72px; height:44px; max-height:44px; }
 .mobile-header .branch-mobile-header-row { gap:4px; }
 .mobile-header .branch-mobile-actions { gap:3px; }
 .mobile-header .branch-mobile-actions .login-register-btn-header { padding:6px 7px; font-size:11px; }
 .mobile-header .branch-mobile-actions .branch-classes-btn { min-height:33px; gap:4px; padding:5px 6px; font-size:10px; }
 .mobile-header .branch-mobile-actions .branch-classes-btn .branch-action-icon { width:15px; height:15px; flex-basis:15px; }
 .mobile-header .branch-mobile-actions .branch-basket-btn { flex-basis:32px; width:32px; height:32px; }
 .mobile-header .branch-mobile-actions .branch-basket-btn .branch-action-icon { width:17px; height:17px; }
}


/* Service carousel: dynamic branch service data, with a full-size active slide and balanced previews. */
.home-service-showcase { --service-accent:#5a54de; --service-ink:#252744; position:relative; width:min(100% - 48px,1440px); margin:42px auto 54px; padding:0 0 8px; color:var(--service-ink); }
.home-service-showcase__head { position:relative; display:flex; align-items:center; justify-content:center; min-height:76px; margin-bottom:14px; text-align:center; }
.home-service-showcase__eyebrow { display:inline-block; margin-bottom:6px; color:var(--service-accent); font-size:13px; font-weight:700; letter-spacing:.02em; }
.home-service-showcase__head h2 { margin:0; color:#17192c; font-size:clamp(22px,2.2vw,30px); font-weight:800; line-height:1.45; }
.home-service-showcase__controls { position:absolute; inset-inline-start:0; top:50%; display:flex; gap:10px; transform:translateY(-50%); }
.home-service-showcase__arrow { display:grid; width:42px; height:42px; place-items:center; border:1px solid #e2e1f5; border-radius:50%; background:#fff; color:#5149d6; box-shadow:0 5px 16px rgba(43,39,105,.11); cursor:pointer; transition:transform .18s ease,background .18s ease,box-shadow .18s ease; }
.home-service-showcase__arrow:hover { transform:translateY(-2px); background:#f2f1ff; box-shadow:0 8px 20px rgba(43,39,105,.16); }
.home-service-showcase__arrow svg,.home-service-showcase__link svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-service-showcase__viewport { position:relative; overflow:hidden; padding:16px 0 34px; }
.home-service-showcase__track { display:flex; width:100%; direction:ltr; transition:transform .55s cubic-bezier(.22,.75,.25,1); will-change:transform; }
.home-service-showcase__slide { width:100%; min-width:100%; }
.home-service-showcase__slide { position:relative; display:grid; flex:0 0 100%; direction:ltr; grid-template-columns:minmax(0,1.55fr) minmax(280px,.78fr); gap:clamp(22px,4vw,64px); align-items:center; min-height:clamp(340px,32vw,430px); padding:clamp(24px,4vw,58px); overflow:hidden; border:1px solid #e9e8f5; border-radius:30px; background:radial-gradient(ellipse at 10% 0%,rgba(111,105,238,.1),transparent 45%),linear-gradient(125deg,#fff 12%,#f5f4ff 100%); box-shadow:0 18px 48px rgba(37,34,91,.11); box-sizing:border-box; }
.home-service-showcase__slide:after { position:absolute; z-index:0; inset:auto auto -115px -90px; width:300px; height:300px; border:1px solid rgba(90,84,222,.12); border-radius:50%; box-shadow:0 0 0 22px rgba(90,84,222,.025),0 0 0 48px rgba(90,84,222,.02); content:""; pointer-events:none; }
.home-service-showcase__image-link { position:relative; z-index:1; display:block; width:100%; aspect-ratio:1.78; overflow:hidden; border:8px solid rgba(255,255,255,.92); border-radius:23px; background:#eeedfa; box-shadow:0 14px 32px rgba(38,35,90,.15); }
.home-service-showcase__image-link img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.home-service-showcase__copy { position:relative; z-index:1; display:flex; direction:rtl; min-width:0; flex-direction:column; align-items:flex-start; text-align:right; }
.home-service-showcase__number { display:grid; width:42px; height:42px; place-items:center; margin-bottom:16px; border:1px solid #e4e2ff; border-radius:14px; background:#eeedff; color:var(--service-accent); font-size:14px; font-weight:800; }
.home-service-showcase__copy h3 { margin:0 0 14px; color:#17192c; font-size:clamp(22px,2.25vw,32px); font-weight:800; line-height:1.55; }
.home-service-showcase__copy h3 a { color:inherit; text-decoration:none; }
.home-service-showcase__description { width:100%; max-height:190px; overflow:auto; color:#676980; font-size:clamp(14px,1.1vw,16px); line-height:2; scrollbar-width:thin; scrollbar-color:#cbc8f3 transparent; }
.home-service-showcase__description img,.home-service-showcase__description iframe,.home-service-showcase__description video { max-width:100%; height:auto; }
.home-service-showcase__description p { margin:0 0 .65em; }
.home-service-showcase__description h1,.home-service-showcase__description h2,.home-service-showcase__description h3,.home-service-showcase__description h4,.home-service-showcase__description h5 { margin:0 0 .6em !important; color:#282a49 !important; font-size:1.05em !important; font-weight:750 !important; line-height:1.7 !important; }
.home-service-showcase__description ul,.home-service-showcase__description ol { padding-inline-start:1.4em; }
.home-service-showcase__link { display:inline-flex; align-items:center; gap:9px; margin-top:20px; padding:11px 17px; border:1px solid rgba(90,84,222,.18); border-radius:12px; background:#fff; color:var(--service-accent); font-size:14px; font-weight:700; text-decoration:none; box-shadow:0 5px 15px rgba(47,43,115,.08); transition:background .18s ease,color .18s ease,transform .18s ease; }
.home-service-showcase__link:hover { transform:translateY(-2px); background:var(--service-accent); color:#fff; }
.home-service-showcase__dots { position:absolute; z-index:2; right:50%; bottom:5px; display:flex; align-items:center; justify-content:center; gap:8px; transform:translateX(50%); }
.home-service-showcase__dot { width:9px; height:9px; padding:0; border:0; border-radius:999px; background:#c9c9d8; cursor:pointer; transition:width .2s ease,background .2s ease; }
.home-service-showcase__dot.is-active { width:25px; background:var(--service-accent); }
.home-service-showcase__arrow:focus-visible,.home-service-showcase__dot:focus-visible,.home-service-showcase__link:focus-visible { outline:3px solid #ffc95c; outline-offset:3px; }
@media(max-width:900px) {
 .home-service-showcase { width:calc(100% - 32px); margin:30px auto 42px; }
 .home-service-showcase__slide { grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr); gap:24px; min-height:320px; padding:24px; border-radius:24px; }
 .home-service-showcase__image-link { border-width:6px; border-radius:18px; }
 .home-service-showcase__description { max-height:170px; }
}
@media(max-width:640px) {
 .home-service-showcase { width:calc(100% - 24px); margin:26px auto 36px; }
 .home-service-showcase__head { justify-content:space-between; min-height:64px; padding-inline:4px; text-align:right; }
 .home-service-showcase__head h2 { font-size:22px; }
 .home-service-showcase__eyebrow { font-size:12px; }
 .home-service-showcase__controls { position:static; flex:0 0 auto; gap:6px; transform:none; }
 .home-service-showcase__arrow { width:36px; height:36px; }
 .home-service-showcase__viewport { padding:8px 0 30px; }
 .home-service-showcase__slide { grid-template-columns:minmax(0,1fr); gap:18px; min-height:0; padding:14px; border-radius:20px; }
 .home-service-showcase__image-link { aspect-ratio:1.78; border-width:5px; border-radius:15px; }
 .home-service-showcase__copy { padding:0 5px 5px; }
 .home-service-showcase__number { width:34px; height:34px; margin-bottom:8px; border-radius:11px; font-size:12px; }
 .home-service-showcase__copy h3 { margin-bottom:8px; font-size:21px; }
 .home-service-showcase__description { max-height:185px; font-size:14px; line-height:1.9; }
.home-service-showcase__link { margin-top:12px; padding:9px 14px; }
}

/* Service showcase finishing: full-bleed backdrop, reference-aligned arrows, and numbered selectors. */
.home-service-showcase { isolation:isolate; width:100%; margin:42px 0 54px; padding-bottom:8px; }
.home-service-showcase:before { position:absolute; z-index:-1; inset:0; background:linear-gradient(125deg,#f8f8fc 8%,#f0effb 100%); content:""; pointer-events:none; }
.home-service-showcase:after { position:absolute; z-index:0; bottom:0; left:0; width:clamp(240px,25vw,360px); height:clamp(240px,25vw,360px); border:1px solid rgba(90,84,222,.12); border-radius:50%; box-shadow:0 0 0 22px rgba(90,84,222,.025),0 0 0 48px rgba(90,84,222,.02); content:""; transform:translate(-50%,50%); clip-path:inset(0 0 50% 50%); pointer-events:none; }
.home-service-showcase__head,.home-service-showcase__viewport { width:min(calc(100% - 48px),1440px); margin-right:auto; margin-left:auto; }
.home-service-showcase__head { position:relative; top:64px; z-index:1; min-height:76px; margin-bottom:14px; }
.home-service-showcase__viewport { z-index:1; }
.home-service-showcase__controls { position:absolute; inset:50% 12px auto; z-index:5; display:flex; direction:rtl; justify-content:space-between; gap:10px; transform:translateY(-50%); pointer-events:none; }
.home-service-showcase__controls .home-service-showcase__arrow { pointer-events:auto; }
.home-service-showcase__slide { padding-inline:clamp(72px,6vw,88px); border-color:transparent; border-radius:0; background:transparent; box-shadow:none; }
.home-service-showcase__dot { display:grid; width:34px; height:30px; place-items:center; border:1px solid #d9d8e8; border-radius:10px; background:rgba(255,255,255,.78); color:#76768b; font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.home-service-showcase__dot.is-active { width:42px; height:34px; border-color:var(--service-accent); background:var(--service-accent); color:#fff; }
.home-service-showcase__slide:after { display:none; }
@media(max-width:640px) {
 .home-service-showcase { margin:26px 0 36px; }
  .home-service-showcase:before { top:0; }
 .home-service-showcase:after { width:190px; height:190px; clip-path:inset(0 0 50% 50%); }
 .home-service-showcase__head,.home-service-showcase__viewport { width:calc(100% - 24px); }
  .home-service-showcase__head { top:34px; min-height:64px; margin-bottom:10px; }
 .home-service-showcase__controls { position:absolute; inset:50% 8px auto; gap:6px; transform:translateY(-50%); }
 .home-service-showcase__slide { padding-inline:58px; border-radius:0; }
 .home-service-showcase__dots { gap:6px; }
 .home-service-showcase__dot { width:30px; height:28px; border-radius:9px; font-size:11px; }
 .home-service-showcase__dot.is-active { width:38px; height:32px; }
 .home-service-showcase__slide:after { width:190px; height:190px; }
}

@media(max-width:640px) {
 .home-service-showcase__viewport { padding-top:52px; }
 .home-service-showcase__controls { inset:0 0 auto auto; justify-content:flex-start; }
 .home-service-showcase__slide { padding-inline:14px; }
}

/* The corner ring is intentionally removed from the service showcase. */
.home-service-showcase:after { display:none !important; }

/* App benefits section: keep the existing layout while fitting the phone mockup cleanly. */
.home-p8 .image img { width:100%; height:auto; aspect-ratio:1.3; object-fit:contain; border-radius:0; background:transparent; transform:scaleX(-1); }
.home-p8 .focus-in-learn { column-gap:14px; row-gap:18px; }
.home-p8 .focus-in-learn .home-p8-info { display:flex; flex:0 0 calc(50% - 7px); width:calc(50% - 7px); min-height:34px; align-items:center; gap:10px; direction:rtl; }
.home-p8 .focus-in-learn .home-p8-info .home-p8-check { display:grid; flex:0 0 26px; width:26px; height:26px; place-items:center; border-radius:50%; background:#fff0e8; color:#ff7958; }
.home-p8 .focus-in-learn .home-p8-info .home-p8-check svg { display:block; width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-p8 .home-p8-links .home-p8-link1 { display:inline-flex; align-items:center; justify-content:center; gap:8px; }
.home-p8 .home-p8-links .home-p8-download-icon { display:block; flex:0 0 19px; width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.home-social-follow { display:flex; width:100%; flex-direction:column; align-items:center; gap:7px; margin:22px auto 28px !important; padding:8px 16px; border:0; border-radius:0; background:transparent; box-shadow:none; text-align:center; }
.home-social-follow .home-top-lin-soc-t { width:100%; margin:0; color:#20213d; font-size:clamp(19px,1.8vw,24px); font-weight:800; line-height:1.55; }
.home-social-follow__description { margin:0; color:#77788d; font-size:14px; line-height:1.8; }
.home-social-follow .slider-container { display:none !important; }
.home-social-follow__links { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px; margin-top:7px; }
.home-social-follow__links a { display:grid; width:42px; height:42px; place-items:center; border:0; border-radius:50%; background:transparent; color:#7772d9; transition:transform .2s ease,color .2s ease; }
.home-social-follow__links a:hover { transform:translateY(-2px); color:#514bd0; }
.home-social-follow__links svg { display:block; width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-social-follow__links a[aria-label="Facebook"] svg { fill:currentColor; stroke:none; }
.home-social-follow__links .home-social-follow__dot { fill:currentColor; stroke:none; }
@media(max-width:575.98px) { .home-social-follow { width:100%; margin:14px auto 20px !important; padding:8px 12px; } .home-social-follow__description { max-width:320px; font-size:13px; } .home-social-follow__links { gap:14px; } .home-social-follow__links a { width:40px; height:40px; } .home-social-follow__links svg { width:21px; height:21px; } }
.home-p8 .focus-in-learn .home-p8-info p { margin:0; color:#252744; font-size:15px; line-height:1.8; }
@media(max-width:767.98px) {
 .home-p8 .image img { max-height:340px; }
 .home-p8 .focus-in-learn .home-p8-info { flex-basis:100%; width:100%; }
}

/* Desktop course cards: match the clean three-card catalog reference. */
@media(min-width:1200px) {
    .home-p2 .home-p2-carts { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:28px !important; }
}
@media(min-width:768px) {
    .home-p2 { padding:44px max(24px,calc((100vw - 1660px)/2)) 48px; background:#f3f3f7; }
    .home-p2 .home-p2-t,.home-p2 .home-p2-t-2 { position:relative; z-index:1; }
    .home-p2 .home-p2-carts .home-p2-cart { box-sizing:border-box; gap:0; margin:0 !important; padding:9px 10px 14px; overflow:hidden; border:1px solid #e4e4ec; border-radius:24px; background:#fff; box-shadow:0 3px 12px rgba(31,31,62,.035); }
    .home-p2 .home-p2-carts .home-p2-cart-img { flex:0 0 auto; width:100%; height:auto !important; aspect-ratio:1.78; margin:0 auto; overflow:hidden; border-radius:16px; background:#eeeef4; }
    .home-p2 .home-p2-carts .home-p2-cart-img a,.home-p2 .home-p2-carts .home-p2-cart-img img { width:100%; height:100%; }
    .home-p2 .home-p2-carts .home-p2-cart-img img { object-fit:cover; }
    .home-p2 .home-p2-cart-img-title { width:100%; margin:11px 2px 8px !important; color:#17192c; font-size:18px; font-weight:750; line-height:1.55; text-align:right; }
    .home-p2 .home-p2-cart-start { display:flex !important; min-height:32px; align-items:center; justify-content:flex-start; gap:18px; margin:0 2px 9px; color:#3e405b; }
    .home-p2 .home-p2-cart-start > div { display:flex; align-items:center; gap:6px; margin:0 !important; }
    .home-p2 .home-p2-cart-start > div i { color:#ffad32; font-size:15px; }
    .home-p2 .home-p2-cart-start > div p { margin:0; font-size:13px; line-height:1.6; }
    .home-p2 .home-p2-cart-summary { display:-webkit-box; min-height:43px; margin:0 2px 11px; overflow:hidden; color:#555875; font-size:13px; line-height:1.7; text-align:right; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
    .home-p2 .home-p2-cart-cost { min-height:38px; margin-top:auto !important; padding:0 2px; }
    .home-p2 .home-p2-cart-cost-cost { margin:0; color:#17192c; font-size:16px; font-weight:800; text-align:right; }
    .home-p2 .home-p2-cart-link { display:flex; width:100%; min-height:42px; align-items:center; justify-content:center; margin-top:11px; padding:8px 14px !important; border:1px solid #d8d8e7; border-radius:12px; background:#fff; color:#514bd0; font-size:14px; font-weight:700; line-height:1.5; transition:background .18s ease,color .18s ease,border-color .18s ease; }
    .home-p2 .home-p2-cart-link:hover { border-color:#5a54de; background:#5a54de; color:#fff; }
}
/* Keep final service-slider layout rules after the legacy responsive card styles. */
.home-p4 .home-p4-content > .row:first-child .text-start { justify-content:space-between !important; }
.home-p4 .desc { max-width:900px; display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
.home-p4 .home-p4-slider .slick-dots { right:50% !important; bottom:0 !important; left:auto !important; display:flex !important; width:auto !important; transform:translateX(50%); }
.home-p4 .home-p4-slider .slick-dots li button { overflow:visible; font-size:11px !important; text-indent:0 !important; }
@media(min-width:768px) {
    .home-p4 .home-p4-service-media { height:auto !important; flex:0 0 auto !important; aspect-ratio:1.68; }
}
@media(max-width:767.98px) {
    .home-p4 .home-p4-content > .row:first-child .text-start { top:auto; bottom:38%; }
    .home-p4 .home-p4-service-media { height:auto !important; flex:0 0 auto !important; aspect-ratio:1.55; }
    .home-p4 .home-p4-service-content { padding:0 8px !important; }
    .home-p4 .home-p4-slider .slick-dots { gap:5px; }
    .home-p4 .home-p4-slider .slick-dots li button { min-width:28px; height:26px; }
}

/* Class-list preview stays in its own layout cell while retaining a gentle floating motion. */
.home-classlist-showcase { position:relative; z-index:2; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(28px,5vw,72px); min-height:0; align-items:center; margin:48px 0 34px; padding:48px clamp(24px,5vw,76px); overflow:hidden; isolation:isolate; background:radial-gradient(ellipse at 6% 10%,rgba(90,84,222,.12),transparent 36%),linear-gradient(105deg,#f9f8ff 0%,#f0efff 57%,#f8f7ff 100%); }
.home-classlist-showcase::before { position:absolute; z-index:-1; top:50%; left:-76px; width:225px; height:225px; border:1px solid rgba(90,84,222,.1); border-radius:50%; content:""; transform:translateY(-50%); pointer-events:none; }
.home-classlist-showcase__content { position:relative; z-index:2; box-sizing:border-box; width:100%; margin:0; padding:22px 0; text-align:right; }
.home-classlist-showcase__eyebrow { display:inline-flex; align-items:center; margin-bottom:14px; padding:7px 13px; border:1px solid rgba(90,84,222,.13); border-radius:999px; background:rgba(255,255,255,.72); color:#5a54de; font-size:13px; font-weight:750; }
.home-classlist-showcase__content h2 { margin:0 0 14px; color:#20213d; font-size:clamp(26px,2.4vw,36px); font-weight:850; line-height:1.5; }
.home-classlist-showcase__content p { max-width:570px; margin:0 0 23px; color:#686a80; font-size:16px; line-height:2; }
.home-classlist-showcase__button { display:inline-flex; min-height:48px; align-items:center; justify-content:center; gap:10px; padding:10px 20px; border:1px solid #5a54de; border-radius:13px; background:#5a54de; color:#fff; font-size:15px; font-weight:750; text-decoration:none; box-shadow:0 9px 22px rgba(90,84,222,.18); transition:transform .2s ease,background .2s ease,box-shadow .2s ease; }
.home-classlist-showcase__button:hover { transform:translateY(-2px); background:#4842c8; color:#fff; box-shadow:0 13px 26px rgba(90,84,222,.24); }
.home-classlist-showcase__button svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.home-classlist-showcase__preview { position:relative; z-index:1; top:auto; left:auto; display:block; width:min(100%,500px); justify-self:start; border:8px solid rgba(255,255,255,.94); border-radius:25px; background:#fff; box-shadow:0 24px 52px rgba(38,36,88,.18); transform:none; transform-origin:center; transition:box-shadow .25s ease; }
.home-classlist-showcase__preview:hover { transform:none; box-shadow:0 30px 60px rgba(38,36,88,.22); }
.home-classlist-showcase__preview img { display:block; width:100%; height:auto; border-radius:17px; }
@media(max-width:991.98px) and (min-width:768px) {
    .home-classlist-showcase { gap:28px; padding-right:30px; padding-left:30px; }
    .home-classlist-showcase__content { width:100%; margin:0; }
    .home-classlist-showcase__preview { width:min(100%,420px); }
}
@media(max-width:767.98px) {
    .home-classlist-showcase { display:flex; min-height:0; flex-direction:column-reverse; align-items:stretch; gap:24px; margin:34px 0 24px; padding:36px 18px 30px; }
    .home-classlist-showcase::before { top:auto; bottom:-92px; left:-96px; width:190px; height:190px; transform:none; }
    .home-classlist-showcase__content { width:100%; max-width:520px; margin:0 auto; padding:0; text-align:center; }
    .home-classlist-showcase__eyebrow { margin-bottom:10px; }
    .home-classlist-showcase__content h2 { margin-bottom:10px; font-size:clamp(23px,6vw,30px); line-height:1.5; }
    .home-classlist-showcase__content p { margin:0 auto 18px; font-size:14px; line-height:1.9; }
    .home-classlist-showcase__preview { position:relative; top:auto; left:auto; width:min(100%,360px); margin:0 auto; border-width:6px; border-radius:19px; box-shadow:0 18px 38px rgba(38,36,88,.2); transform:rotate(-2.5deg); }
    .home-classlist-showcase__preview:hover { transform:rotate(-1.5deg); }
    .home-classlist-showcase__preview img { border-radius:13px; }
}

/* Final responsive overrides: mobile course list and roomy floating class-list showcase. */
@media(max-width:767.98px) {
    .home-p2 .home-p2-carts:not(.slick-initialized) { display:grid !important; width:100%; grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
    .home-p2 .home-p2-carts:not(.slick-initialized) > .home-p2-cart-content { display:flex; width:100% !important; max-width:none !important; grid-column:1 / -1; padding:0; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart { width:100%; height:auto; padding:10px; border:1px solid #e8e7f2; border-radius:18px; background:#fff; box-shadow:0 6px 18px rgba(39,36,89,.07); }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-img { width:100%; height:auto !important; aspect-ratio:1.78; border-radius:13px; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-img img { object-fit:cover; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-img-title { margin:10px 2px 7px !important; font-size:16px; line-height:1.5; text-align:right; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-start { display:flex !important; flex-wrap:wrap; gap:8px 16px; margin:0 2px 8px; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-start > div { display:flex; width:auto; align-items:center; gap:6px; padding:0; border:0; background:transparent; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-start > div p { font-size:12px; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-summary { display:-webkit-box; margin:0 2px 9px; font-size:12px; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-cost { display:block !important; margin:0 0 8px !important; padding:8px 10px; border-radius:9px; background:#f4f3ff; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-cost-cost { font-size:14px; text-align:right; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-link { min-height:42px; font-size:14px; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-link-desktop { display:inline; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-link-mobile { display:none; }
}
@media(min-width:768px) {
    .home-classlist-showcase { min-height:0; padding-top:48px; padding-bottom:48px; margin-top:48px; margin-bottom:34px; }
}
@media(min-width:1800px) {
    .home-classlist-showcase__preview { width:min(100%,500px); }
}@media(min-width:768px) {
    .home-classlist-showcase__preview { width:min(100%,500px); animation:classlist-preview-breathe 5.5s ease-in-out infinite; }
    .home-classlist-showcase__preview:hover { animation-play-state:paused; transform:rotate(-4deg); }
}
@keyframes classlist-preview-breathe {
    0%,100% { transform:translateY(0) rotate(-4deg); }
    50% { transform:translateY(-9px) rotate(-3.5deg); }
}
@media(prefers-reduced-motion:reduce) {
    .home-classlist-showcase__preview { animation:none !important; }
}
/* Compact desktop hero to match the requested height while keeping its mobile layout. */
@media (min-width:768px) {
    .home-classlist-showcase { margin-top:32px; margin-bottom:24px; padding-top:18px; padding-bottom:18px; }
    .home-classlist-showcase__preview { width:min(100%,390px); }
    .home-classlist-showcase__content { padding-top:8px; padding-bottom:8px; }
}
@media (min-width:768px) {
    .home-classlist-showcase { overflow:visible; }
}
@media (min-width:992px) {
    .home-classlist-showcase__preview { width:min(100%,500px); margin-left:0; left:-130px; }
}
@media (min-width:768px) and (max-width:991.98px) {
    .home-classlist-showcase__preview { width:min(100%,390px); margin-left:-24px; }
}
@media (min-width:1200px) {
    .home-classlist-showcase__preview { width:min(100%,540px); left:-180px; animation:classlist-preview-breathe 5.5s ease-in-out infinite !important; }
}
@media (min-width:992px) and (max-width:1199.98px) {
    .home-classlist-showcase__preview { width:min(100%,460px); left:-80px; animation:classlist-preview-breathe 5.5s ease-in-out infinite !important; }
}
/* Shorten only the desktop backdrop; keep the preview image and its motion untouched. */
@media (min-width:768px) {
    .home-classlist-showcase { background:none; }
    .home-classlist-showcase::after { position:absolute; z-index:-1; top:104px; right:0; bottom:84px; left:0; background:radial-gradient(ellipse at 6% 10%,rgba(90,84,222,.12),transparent 36%),linear-gradient(105deg,#f9f8ff 0%,#f0efff 57%,#f8f7ff 100%); content:""; pointer-events:none; }
}
/* Course category filters and reference-sized course artwork. */
.home-p2-category-filter { position:relative; z-index:1; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; width:min(calc(100% - 48px),1120px); margin:0 auto 28px; }
.home-p2-category-filter button { min-height:42px; padding:9px 20px; border:1px solid #dcd9ff; border-radius:12px; background:#fff; color:#5a54de; font:inherit; font-size:14px; font-weight:650; line-height:1.4; cursor:pointer; transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.home-p2-category-filter button:hover { transform:translateY(-1px); border-color:#5a54de; background:#f5f4ff; }
.home-p2-category-filter button.is-active { border-color:#5a54de; background:#5a54de; color:#fff; box-shadow:0 6px 16px rgba(90,84,222,.18); }
.home-p2-category-filter a { display:inline-flex; min-height:42px; align-items:center; padding:9px 20px; border:1px solid #dcd9ff; border-radius:12px; background:#fff; color:#5a54de; font:inherit; font-size:14px; font-weight:650; line-height:1.4; text-decoration:none; white-space:nowrap; transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease; }
.home-p2-category-filter a:hover { transform:translateY(-1px); border-color:#5a54de; background:#f5f4ff; color:#5a54de; }
.home-p2-category-filter a.is-active { border-color:#5a54de; background:#5a54de; color:#fff; box-shadow:0 6px 16px rgba(90,84,222,.18); }
.home-p2 .home-p2-carts.slick-initialized .slick-dots { gap:10px; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li,.home-p2 .home-p2-carts.slick-initialized .slick-dots li button { width:18px; height:18px; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li button:before { top:5px; left:5px; width:8px; height:8px; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li.slick-active { width:28px; }
.home-p2 .home-p2-carts.slick-initialized .slick-dots li.slick-active button:before { width:18px; }
@media(max-width:767.98px) {
    .home-p2-category-filter { justify-content:center; flex-wrap:wrap; gap:8px; width:100%; margin:0 0 20px; padding:2px 0 10px; overflow:visible; }
    .home-p2-category-filter button { flex:0 1 auto; max-width:100%; min-height:38px; padding:8px 15px; border-radius:11px; font-size:13px; white-space:normal; text-align:center; }
    .home-p2-category-filter a { min-height:38px; padding:8px 15px; border-radius:11px; font-size:13px; }
    .home-p2 .home-p2-carts:not(.slick-initialized) .home-p2-cart-img { aspect-ratio:1.78; }
    .home-p2 .home-p2-carts.slick-initialized .slick-dots { gap:6px; }
}
/* Explicit image-frame sizing for the course carousel, matching the landscape reference. */
.home-p2 .home-p2-carts .home-p2-cart-img { box-sizing:border-box; flex:0 0 auto; width:100% !important; height:auto !important; min-height:0 !important; aspect-ratio:16 / 9 !important; overflow:hidden; }
.home-p2 .home-p2-carts .home-p2-cart-img a { display:block; width:100%; height:100% !important; }
.home-p2 .home-p2-carts .home-p2-cart-img img { display:block; width:100% !important; height:100% !important; object-fit:cover !important; object-position:50% 50% !important; }
@media(max-width:767.98px) {
    .home-p2 .home-p2-carts .home-p2-cart-img { flex-basis:auto; aspect-ratio:16 / 9 !important; }
}
/* The reference course covers are taller: show a larger vertical crop inside each four-card slide. */
@media(min-width:768px) {
    .home-p2 .home-p2-carts .home-p2-cart-img { aspect-ratio:1.5 !important; }
    .home-p2 .home-p2-carts.slick-initialized { padding-right:18px !important; padding-left:18px !important; }
    .home-p2 .home-p2-carts.slick-initialized > .home-p2-cart-content.slick-slide { box-sizing:border-box !important; padding-right:0 !important; padding-left:0 !important; backface-visibility:hidden; }
    .home-p2 .home-p2-carts.slick-initialized .slick-track { will-change:transform; backface-visibility:hidden; }
    .home-p2 .home-p2-carts.slick-initialized .home-p2-cart { box-sizing:border-box !important; width:calc(100% - 20px) !important; margin-right:10px !important; margin-left:10px !important; padding-right:7px !important; padding-left:7px !important; }
}
@media(max-width:767.98px) {
    .home-p2 .home-p2-carts .home-p2-cart-img { aspect-ratio:1.5 !important; }
}
/* Show complete course covers in the home carousel, with a slightly taller frame. */
.home-p2 .home-p2-carts .home-p2-cart-img { aspect-ratio:1.3 !important; background:#fff !important; }
.home-p2 .home-p2-carts .home-p2-cart-img img { object-fit:contain !important; object-position:center !important; }
/* Final cleanup for the featured services slider. */
.home-p4 .home-p4-content { width:min(calc(100% - 48px),1440px); }
.home-p4 .home-p4-content > .row:first-child .text-start { inset-inline:-4px; top:58%; justify-content:space-between !important; }
.home-p4 .comment-and-icon { padding:8px 62px 50px; }
.home-p4 .comment-and-icon .home-p4-slider { width:100% !important; }
.home-p4 .home-p4-slider .slick-list,.home-p4 .home-p4-slider .slick-track { background:transparent !important; box-shadow:none !important; }
.home-p4 .home-p4-slider .slick-slide,.home-p4 .home-p4-slider article.home-p4-cart.slick-slide,.home-p4 .home-p4-card-inner { background:transparent !important; box-shadow:none !important; }
.home-p4 .home-p4-service-media { box-shadow:0 12px 26px rgba(37,34,91,.10) !important; }
.home-p4 .custom-prev-comment,.home-p4 .custom-next-comment { margin:0 !important; outline:none; }
.home-p4 .custom-prev-comment:focus-visible,.home-p4 .custom-next-comment:focus-visible { outline:3px solid #ffc95c; outline-offset:3px; }
.home-p4 .home-p4-slider .slick-dots { position:absolute; right:50% !important; bottom:-3px !important; left:auto !important; display:flex !important; width:auto !important; align-items:center; justify-content:center; gap:10px; margin:0; padding:0; transform:translateX(50%); }
.home-p4 .home-p4-slider .slick-dots li { width:10px !important; height:10px !important; margin:0 !important; }
.home-p4 .home-p4-slider .slick-dots li button,.home-p4 .home-p4-slider .slick-dots li.slick-active button { display:block; width:10px !important; min-width:10px !important; height:10px !important; padding:0 !important; overflow:hidden; border:0 !important; border-radius:50% !important; background:#c7c6d5 !important; box-shadow:none !important; font-size:0 !important; line-height:0; text-indent:-9999px !important; }
.home-p4 .home-p4-slider .slick-dots li button:before { content:none !important; display:none !important; }
.home-p4 .home-p4-slider .slick-dots li.slick-active,.home-p4 .home-p4-slider .slick-dots li.slick-active button { width:28px !important; }
.home-p4 .home-p4-slider .slick-dots li.slick-active button { border-radius:999px !important; background:#5a54de !important; }
@media(max-width:767.98px) {
    .home-p4 .home-p4-content { width:calc(100% - 32px); }
    .home-p4 .home-p4-content > .row:first-child .text-start { position:static; inset:auto; top:auto; justify-content:center !important; gap:16px; margin:12px auto 0; transform:none; }
    .home-p4 .comment-and-icon { padding:0 0 48px; }
    .home-p4 .home-p4-slider .slick-dots { bottom:-2px !important; gap:7px; }
    .home-p4 .home-p4-slider .slick-dots li,.home-p4 .home-p4-slider .slick-dots li button { width:8px !important; height:8px !important; min-width:8px !important; }
    .home-p4 .home-p4-slider .slick-dots li.slick-active,.home-p4 .home-p4-slider .slick-dots li.slick-active button { width:24px !important; }
}
/* Remove residual shadows from the service copy, artwork frame, and carousel arrows. */
.home-p4 .home-p4-service-media,
.home-p4 .home-p4-service-image,
.home-p4 .home-p4-service-content,
.home-p4 .home-p4-service-content h3,
.home-p4 .home-p4-service-description,
.home-p4 .home-p4-service-description * {
    box-shadow:none !important;
    text-shadow:none !important;
    filter:none !important;
}
.home-p4 .custom-prev-comment,.home-p4 .custom-next-comment { box-shadow:none !important; }
/* Persian slide numbers in compact framed selectors. */
.home-p4 .comment-and-icon { padding-bottom:64px; }
.home-p4 .home-p4-slider .slick-dots { bottom:-38px !important; gap:6px !important; direction:rtl; }
.home-p4 .home-p4-slider .slick-dots li,
.home-p4 .home-p4-slider .slick-dots li button,
.home-p4 .home-p4-slider .slick-dots li.slick-active,
.home-p4 .home-p4-slider .slick-dots li.slick-active button { width:30px !important; min-width:30px !important; height:24px !important; }
.home-p4 .home-p4-slider .slick-dots li button,
.home-p4 .home-p4-slider .slick-dots li.slick-active button { display:grid; place-items:center; padding:0 !important; overflow:visible; border:1px solid #deddf0 !important; border-radius:8px !important; background:rgba(255,255,255,.8) !important; color:#77788e !important; font-family:inherit; font-size:10px !important; font-weight:700; line-height:1; text-indent:0 !important; box-shadow:none !important; }
.home-p4 .home-p4-slider .slick-dots li button:before { content:none !important; display:none !important; }
.home-p4 .home-p4-slider .slick-dots li button span { display:block; line-height:1; }
.home-p4 .home-p4-slider .slick-dots li.slick-active button { border-color:#5a54de !important; background:#5a54de !important; color:#fff !important; }

/* Editorial articles: a wide two-column mosaic with steady landscape artwork. */
.home-p3.container { width:min(1062px,calc(100% - 48px)); max-width:none; }
.home-p3 .home-p3-carts { width:100%; }
.home-p3 .home-p3-cart1 { max-width:1060px; margin-inline:auto !important; }
.home-p3 .home-p3-carts > .row.m-0 {
    display:grid !important;
    width:100%;
    grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);
    align-items:stretch;
    gap:20px;
    margin-right:0 !important;
    margin-left:0 !important;
}
.home-p3 .home-p3-cart2,
.home-p3 .home-p3-cart3,
.home-p3 .home-p3-cart4 {
    box-sizing:border-box;
    width:auto !important;
    min-width:0;
    height:100%;
    margin:0 !important;
    border-radius:24px;
    box-shadow:0 8px 24px rgba(35,35,70,.10);
}
.home-p3 .home-p3-cart2 {
    display:flex;
    flex-direction:column;
    padding:12px;
    background:#fff;
}
.home-p3 .home-p3-cart2 > a,
.home-p3 .home-p3-cart3 > a {
    display:block;
    flex:0 0 auto;
    width:100%;
    aspect-ratio:2.15 / 1;
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 20px rgba(26,27,53,.13);
}
.home-p3 .home-p3-cart3 > a { aspect-ratio:2.78 / 1; }
.home-p3 .home-p3-cart2 .home-p3-article-img,
.home-p3 .home-p3-cart3 .home-p3-article-img {
    display:block;
    width:100%;
    height:100%;
    max-height:none;
    object-fit:cover !important;
    object-position:center;
}
.home-p3 .home-p3-cart2 .home-p3-cart2-t { margin:12px 4px 0 !important; padding:0; line-height:1.7; }
.home-p3 .home-p3-cart2 .home-p3-cart2-p { margin:4px 4px 2px !important; padding:0; line-height:1.8; }
.home-p3 .home-p3-cart3 {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:8px;
    padding:10px;
    background:#17192c;
    color:#fff;
}
.home-p3 .home-p3-cart3 .home-p3-cart3-t { flex:none; width:100%; margin:0 !important; padding:0 6px; line-height:1.7; }
.home-p3 .home-p3-cart3 .home-p3-cart3-p { flex:none; width:100%; margin:0 0 2px !important; padding:0 6px; line-height:1.8; }
.home-p3 .home-p3-cart3 > a { margin-top:auto; }
.home-p3 .home-p3-cart4 {
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:10px;
    padding:18px 18px 18px 8px;
    overflow:hidden;
    background:#ffe099;
    text-align:right;
    isolation:isolate;
}
.home-p3 .home-p3-cart4 .home-p3-cart4-top {
    box-sizing:border-box;
    flex:1 1 43%;
    width:auto !important;
    min-width:0;
    margin:0 !important;
    padding:8px 0;
}
.home-p3 .home-p3-cart4 .home-p3-cart4-top h3 { width:100% !important; margin:0 0 8px; line-height:1.65; }
.home-p3 .home-p3-cart4 .home-p3-cart4-top p { margin:0 !important; line-height:1.85; overflow-wrap:anywhere; }
.home-p3 .home-p3-cart4 .image { flex:0 1 55%; width:55%; min-width:0; margin:0 !important; overflow:visible; }
.home-p3 .home-p3-cart4 .image > a {
    display:block;
    width:100%;
    overflow:visible;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
.home-p3 .home-p3-cart4 .home-p3-article-img {
    display:block;
    width:100%;
    height:auto;
    max-height:270px;
    margin:0;
    border-radius:0;
    object-fit:contain !important;
    mix-blend-mode:multiply;
    filter:none;
}
.home-p3 .home-p3-carts > .row.m-0.mt-4 { grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr); }
@media (min-width:768px) {
    .home-p3 .home-p3-cart2 .home-p3-cart2-p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1; overflow:hidden; line-height:1.5; }
    .home-p3 .home-p3-cart3 { padding:12px 10px; }
    .home-p3 .home-p3-cart4 .home-p3-article-img { max-height:290px; }
}
.home-p3 .home-p3-cart2,
.home-p3 .home-p3-cart3,
.home-p3 .home-p3-cart4 { transition:box-shadow .2s ease; }
.home-p3 .home-p3-cart2:hover,
.home-p3 .home-p3-cart3:hover,
.home-p3 .home-p3-cart4:hover { box-shadow:0 13px 30px rgba(35,35,70,.15); }
@media (max-width:767.98px) {
    .home-p3.container { width:calc(100% - 28px); }
    .home-p3 .home-p3-carts > .row.m-0,
    .home-p3 .home-p3-carts > .row.m-0.mt-4 { grid-template-columns:minmax(0,1fr); gap:16px; }
    .home-p3 .home-p3-cart4 { flex-direction:column-reverse; gap:4px; padding:16px; }
    .home-p3 .home-p3-cart4 .home-p3-cart4-top,
    .home-p3 .home-p3-cart4 .image { flex:0 0 auto; width:100% !important; }
    .home-p3 .home-p3-cart4 .home-p3-article-img { max-height:240px; }
    .home-p3 .home-p3-cart2 > a,
    .home-p3 .home-p3-cart3 > a { aspect-ratio:2 / 1; }
}

.home-p3 .home-p3-cart3 .home-p3-cart3-p::after { content:none !important; display:none !important; }

/* Blog archive cards accept the same standard landscape upload size. */
.news-listing-page .news-card-image { height:auto !important; aspect-ratio:2 / 1; box-shadow:0 8px 20px rgba(35,35,70,.12); }
.news-listing-page .news-card-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }

@media(max-width:767.98px) {
    .home-p4 .comment-and-icon { padding-bottom:58px; }
    .home-p4 .home-p4-slider .slick-dots { bottom:-34px !important; gap:5px !important; }
    .home-p4 .home-p4-slider .slick-dots li,
    .home-p4 .home-p4-slider .slick-dots li button,
    .home-p4 .home-p4-slider .slick-dots li.slick-active,
    .home-p4 .home-p4-slider .slick-dots li.slick-active button { width:27px !important; min-width:27px !important; height:22px !important; }
}
/* Round only the course short-link box; preserve the existing Bootstrap group sizing. */
.course-detail-page .course-short-link-row > .col-md-12 > .card { overflow:hidden; border-radius:24px !important; }
.course-detail-page .course-short-link-row > .col-md-12 > .card > .card-body { border-radius:inherit; }
.course-detail-page .course-short-link-row .input-group { display:flex; align-items:center; gap:8px; overflow:visible; border-radius:14px; }
.course-detail-page .course-short-link-row .input-group-addon,.course-detail-page .course-short-link-row .input-group-btn { flex:0 0 auto; }
.course-detail-page .course-short-link-row #txtCopy { flex:1 1 auto; min-width:0; }
.course-detail-page .course-short-link-row #txtCopy { border-radius:13px !important; }
.course-detail-page .course-short-link-row .input-group-btn > .btn { border-radius:13px !important; }

/* Match the article banner to the reference composition: copy on the left, artwork on the right. */
.home-p3 .home-p3-cart1 { position:relative; display:flex !important; flex-direction:row-reverse; align-items:center; gap:0; overflow:visible; direction:ltr; width:100%; max-width:1060px; margin:24px auto !important; padding:0 !important; border-radius:24px; background:#e2e4ff; }
.home-p3 .home-p3-cart1 > .image { position:relative; z-index:1; width:55%; max-width:55%; flex:0 0 55%; margin:-18px 0 0; padding:0 !important; overflow:visible; border-radius:0 24px 24px 0; background:linear-gradient(to bottom,transparent 18px,#e2e4ff 18px) !important; }
.home-p3 .home-p3-cart1 > .image img { display:block; width:100%; height:auto; margin:0 !important; border-radius:0; object-fit:contain; background:transparent !important; }
.home-p3 .home-p3-cart1 > .home-p3-cart1-content { position:static; display:flex; width:45% !important; max-width:45% !important; flex:0 0 45%; flex-direction:column; align-items:flex-start; justify-content:center; gap:8px; margin:0; padding:20px 24px !important; transform:none; direction:rtl; text-align:right; }
.home-p3 .home-p3-cart1 > .home-p3-cart1-content .home-p3-cart1-t { margin:0; color:#191a35; font-size:clamp(18px,2vw,23px); font-weight:700; line-height:1.5; }
.home-p3 .home-p3-cart1 > .home-p3-cart1-content .home-p3-cart1-p { margin:0; color:#34354d; font-size:clamp(14px,1.3vw,16px); line-height:1.8; }
@media(max-width:767px) {
    .home-p3 .home-p3-carts .home-p3-cart1 { position:relative !important; display:flex !important; flex-direction:column !important; align-items:stretch !important; gap:0 !important; overflow:visible !important; width:100% !important; height:auto !important; min-height:0 !important; margin:20px auto !important; padding:0 !important; border-radius:24px !important; background:#e2e4ff !important; }
    .home-p3 .home-p3-carts .home-p3-cart1 > .image { position:relative !important; z-index:1; display:block !important; width:100% !important; max-width:none !important; flex:0 0 auto !important; margin:-14px 0 0 !important; padding:0 !important; overflow:visible; border-radius:24px 24px 0 0; background:linear-gradient(to bottom,transparent 14px,#e2e4ff 14px) !important; }
    .home-p3 .home-p3-carts .home-p3-cart1 > .image img { display:block !important; width:100% !important; height:auto !important; margin:0 !important; border-radius:0 !important; object-fit:contain !important; filter:none !important; background:transparent !important; }
    .home-p3 .home-p3-carts .home-p3-cart1 > .home-p3-cart1-content { position:static !important; display:flex !important; width:100% !important; max-width:none !important; height:auto !important; min-height:0 !important; flex:0 0 auto !important; flex-direction:column !important; align-items:flex-start !important; justify-content:center !important; gap:5px !important; margin:0 !important; padding:8px 18px 18px !important; transform:none !important; border-radius:0 0 24px 24px !important; background:#e2e4ff !important; direction:rtl; text-align:right; }
    .home-p3 .home-p3-carts .home-p3-cart1 > .home-p3-cart1-content .home-p3-cart1-t { position:static !important; width:100% !important; max-width:none !important; margin:0 0 4px !important; padding:0 !important; color:#191a35 !important; font-size:clamp(16px,4.4vw,19px) !important; font-weight:700; line-height:1.5 !important; text-align:right !important; direction:rtl; }
    .home-p3 .home-p3-carts .home-p3-cart1 > .home-p3-cart1-content .home-p3-cart1-p { position:static !important; display:block !important; width:100% !important; max-width:none !important; height:auto !important; margin:0 !important; padding:0 !important; color:#34354d !important; font-size:clamp(13px,3.6vw,15px) !important; line-height:1.8 !important; text-align:right !important; direction:rtl; }
}

@media (max-width:767.98px) {
    .home-p4 .home-p4-slider .home-p4-service-description {
        display:-webkit-box !important;
        overflow:hidden !important;
        max-height:9.5em !important;
        line-height:1.9 !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:5 !important;
        line-clamp:5 !important;
        text-overflow:ellipsis !important;
    }
    .home-p4 .home-p4-slider .slick-dots li,
    .home-p4 .home-p4-slider .slick-dots li.slick-active {
        width:10px !important;
        height:10px !important;
        margin:0 4px !important;
    }
    .home-p4 .home-p4-slider .slick-dots li button,
    .home-p4 .home-p4-slider .slick-dots li.slick-active button {
        display:block !important;
        width:10px !important;
        min-width:10px !important;
        height:10px !important;
        padding:0 !important;
        border:0 !important;
        border-radius:50% !important;
        background:#c9c7d9 !important;
        color:transparent !important;
        font-size:0 !important;
        line-height:0 !important;
        box-shadow:none !important;
    }
    .home-p4 .home-p4-slider .slick-dots li button:before {
        display:none !important;
        content:none !important;
    }
    .home-p4 .home-p4-slider .slick-dots li.slick-active button {
        background:#5a54de !important;
    }
}

/* Use round, number-free pagination dots for the services slider on every screen size. */
.home-p4 .home-p4-slider .slick-dots li,
.home-p4 .home-p4-slider .slick-dots li.slick-active {
    width:10px !important;
    height:10px !important;
    margin:0 4px !important;
}
.home-p4 .home-p4-slider .slick-dots li button,
.home-p4 .home-p4-slider .slick-dots li.slick-active button {
    display:block !important;
    width:10px !important;
    min-width:10px !important;
    height:10px !important;
    padding:0 !important;
    border:0 !important;
    border-radius:50% !important;
    background:#c9c7d9 !important;
    color:transparent !important;
    font-size:0 !important;
    line-height:0 !important;
    box-shadow:none !important;
}
.home-p4 .home-p4-slider .slick-dots li button:before {
    display:none !important;
    content:none !important;
}
.home-p4 .home-p4-slider .slick-dots li.slick-active button {
    background:#5a54de !important;
}
.home-p4 .home-p4-slider .slick-dots li > .service-slider-dot {
    display:block !important;
    width:10px !important;
    height:10px !important;
    border:0 !important;
    border-radius:50% !important;
    background:#c9c7d9 !important;
}
.home-p4 .home-p4-slider .slick-dots li.slick-active > .service-slider-dot {
    background:#5a54de !important;
}
@media (max-width:767.98px) {
    .home-p7 .home-p7-bottom-carts:nth-child(n+3) { display:none !important; }
}

/* Dynamic homepage department cards carousel. */
.home-departments { width:min(calc(100% - 32px),1200px); margin:34px auto 48px; direction:rtl; }
.home-departments > h2 { margin:0 0 18px; color:#17192c; font-size:25px; font-weight:800; text-align:center; }
.home-department-slider { min-width:0; }
.home-department-slider .slick-list { margin:0 -8px; padding:8px 0 18px; }
.home-department-slider .slick-track { display:flex; align-items:stretch; }
.home-department-slider .slick-slide { height:auto; margin:0 8px; }
.home-department-slider .slick-slide > div { height:100%; }
.home-department-card { height:100%; overflow:hidden; border:1px solid #e9e9ef; border-radius:15px; background:#fff; box-shadow:0 5px 18px rgba(32,34,56,.10); }
.home-department-image { display:block; overflow:hidden; aspect-ratio:1.68/1; background:#f0eff5; }
.home-department-image img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.home-department-image:hover img { transform:scale(1.035); }
.home-department-card-body { min-height:190px; padding:14px 17px 17px; text-align:right; }
.home-department-card-body h3 { margin:0 0 10px; font-size:17px; font-weight:750; line-height:1.6; }
.home-department-card-body h3 a { color:#202238; text-decoration:none; }
.home-department-card-body p { display:-webkit-box; overflow:hidden; margin:0; color:#858696; font-size:13px; line-height:1.85; -webkit-box-orient:vertical; -webkit-line-clamp:5; }
.home-departments-controls { display:flex; min-height:42px; align-items:center; justify-content:center; gap:12px; direction:ltr; }
.home-departments-controls > button { display:grid; width:38px; height:38px; place-items:center; padding:0; border:1px solid #e4e3ed; border-radius:50%; background:#fff; color:#8e8fa0; }
.home-departments-controls > button:hover { border-color:#6254e8; color:#6254e8; }
.home-departments-dots .slick-dots { position:static; display:flex; align-items:center; justify-content:center; gap:7px; margin:0; padding:0; list-style:none; }
.home-departments-dots .slick-dots li { width:9px; height:9px; margin:0; }
.home-departments-dots .slick-dots li span { display:block; width:9px; height:9px; border-radius:50%; background:#c9c7d9; }
.home-departments-dots .slick-dots li.slick-active span { background:#6254e8; }
@media(max-width:767.98px) {
    .home-departments { width:calc(100% - 24px); margin:26px auto 38px; }
    .home-departments > h2 { margin-bottom:12px; font-size:21px; }
    .home-department-slider .slick-list { margin:0 -5px; padding:6px 0 14px; }
    .home-department-slider .slick-slide { margin:0 5px; }
    .home-department-card-body { min-height:175px; padding:13px 14px 15px; }
    .home-department-card-body h3 { font-size:16px; }
    .home-department-card-body p { font-size:12px; }
}

/* Homepage department cards: remove the corner shadows */
.home-department-card { box-shadow:none !important; }

/* Educational services: show three compact cards on desktop */
@media (min-width: 993px) {
  .home-p4 .home-p4-card-inner { display:flex; flex-direction:column; min-height:0; height:100%; overflow:hidden; border:1px solid #e7e7eb; border-radius:16px; background:#fff; box-shadow:0 3px 12px rgba(0,0,0,.10); }
  .home-p4 .home-p4-service-media { height:auto; flex:0 0 auto; aspect-ratio:1.55; border-radius:15px 15px 0 0; }
  .home-p4 .home-p4-slider .home-p4-service-content { min-height:190px; padding:16px !important; }
}
/* Separation for the three-up educational services carousel */
.home-p4 .home-p4-slider .slick-list { margin:0 -10px !important; }
.home-p4 .home-p4-slider .slick-slide,
.home-p4 .home-p4-slider article.home-p4-cart.slick-slide { padding:0 10px !important; }
.home-p4 .home-p4-slider .home-p4-card-inner { background:#fff !important; }
@media (max-width:767.98px) {
  .home-p4 .home-p4-slider .slick-list { margin:0 -7px !important; }
  .home-p4 .home-p4-slider .slick-slide,
  .home-p4 .home-p4-slider article.home-p4-cart.slick-slide { padding:0 7px !important; }
}
/* Full-width soft lavender backdrop for homepage departments */
.home-departments {
  position:relative;
  z-index:0;
  isolation:isolate;
  padding:44px 0 34px;
}
.home-departments::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background:
    radial-gradient(ellipse at 18% 48%, rgba(112,101,232,.09), transparent 48%),
    radial-gradient(ellipse at 82% 52%, rgba(153,143,245,.08), transparent 46%),
    linear-gradient(105deg,#f0efff 0%,#f8f7ff 52%,#f0efff 100%);
  pointer-events:none;
}
@media (max-width:767.98px) {
  .home-departments { padding:30px 0 24px; }
}

/* Educational services: three compact split-image cards with testimonial-style controls. */
.home-p4 .home-p4-content > .row:first-child {
  position:relative !important;
  display:flex !important;
  flex-flow:row nowrap !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  margin:0 auto 10px !important;
}
.home-p4 .home-p4-content > .row:first-child > .col-12:first-child {
  width:auto !important;
  flex:1 1 auto !important;
}
.home-p4 .home-p4-content > .row:first-child .text-start {
  position:static !important;
  inset:auto !important;
  display:flex !important;
  width:auto !important;
  flex:0 0 auto !important;
  gap:10px;
  justify-content:flex-start !important;
  padding:0 !important;
  transform:none !important;
  pointer-events:auto !important;
}
.home-p4 .custom-prev-comment,
.home-p4 .custom-next-comment {
  width:48px !important;
  height:48px !important;
  border:1px solid #ecebf5 !important;
  border-radius:50% !important;
  background:#fff !important;
  color:#717286 !important;
  box-shadow:0 3px 12px rgba(30,30,60,.10) !important;
}
.home-p4 .comment-and-icon { padding:4px 0 34px !important; }
.home-p4 .home-p4-slider .slick-list { margin:0 -10px !important; padding:12px 0 20px !important; }
.home-p4 .home-p4-slider .slick-slide,
.home-p4 .home-p4-slider article.home-p4-cart.slick-slide {
  height:auto !important;
  padding:0 10px !important;
}
.home-p4 .home-p4-card-inner {
  display:grid !important;
  grid-template-columns:minmax(0,.42fr) minmax(0,.58fr) !important;
  gap:0 !important;
  align-items:stretch !important;
  min-height:270px !important;
  overflow:hidden !important;
  border:1px solid #ecebf5 !important;
  border-radius:21px !important;
  background:#fff !important;
  box-shadow:0 5px 18px rgba(38,35,90,.10) !important;
  direction:rtl !important;
}
.home-p4 .home-p4-slider article.home-p4-cart:hover .home-p4-card-inner {
  transform:translateY(-3px) !important;
  box-shadow:0 9px 24px rgba(38,35,90,.14) !important;
}
.home-p4 .home-p4-service-media {
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  aspect-ratio:auto !important;
  flex:none !important;
  align-self:stretch !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f2f1f8 !important;
  box-shadow:none !important;
}
.home-p4 .home-p4-service-media:after { display:none !important; }
.home-p4 .home-p4-cart .home-p4-service-image { width:100% !important; height:100% !important; object-fit:cover !important; }
.home-p4 .home-p4-slider .home-p4-service-content {
  display:flex !important;
  min-width:0 !important;
  min-height:0 !important;
  flex-direction:column !important;
  justify-content:center !important;
  padding:20px 22px !important;
  direction:rtl !important;
  text-align:right !important;
}
.home-p4 .home-p4-slider .home-p4-service-content h3 {
  margin:0 0 10px !important;
  font-size:clamp(16px,1.3vw,20px) !important;
  line-height:1.6 !important;
}
.home-p4 .home-p4-slider .home-p4-service-description {
  max-height:none !important;
  font-size:13px !important;
  line-height:1.85 !important;
  -webkit-line-clamp:4 !important;
}
.home-p4 .home-p4-slider .slick-dots {
  position:absolute !important;
  right:auto !important;
  bottom:-27px !important;
  left:50% !important;
  display:flex !important;
  width:auto !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  margin:0 !important;
  padding:0 !important;
  transform:translateX(-50%) !important;
}
.home-p4 .home-p4-slider .slick-dots li,
.home-p4 .home-p4-slider .slick-dots li.slick-active { width:10px !important; height:10px !important; margin:0 !important; }
.home-p4 .home-p4-slider .slick-dots li button,
.home-p4 .home-p4-slider .slick-dots li.slick-active button { width:10px !important; min-width:10px !important; height:10px !important; padding:0 !important; }
.home-p4 .home-p4-slider .slick-dots li.slick-active,
.home-p4 .home-p4-slider .slick-dots li.slick-active button { width:28px !important; }
.home-p4 .home-p4-slider .slick-dots li > .service-slider-dot { width:10px !important; height:10px !important; }
.home-p4 .home-p4-slider .slick-dots li.slick-active > .service-slider-dot { width:28px !important; border-radius:999px !important; }
.home-p4 .home-p4-rating,
.home-p4 .home-p4-stars,
.home-p4 .home-p4-avatar,
.home-p4 .review-stars,
.home-p4 .review-avatar,
.home-p4 .testimonial-avatar { display:none !important; }
@media(max-width:767.98px) {
  .home-p4 .home-p4-content > .row:first-child .text-start { top:auto !important; bottom:auto !important; }
  .home-p4 .custom-prev-comment,.home-p4 .custom-next-comment { width:40px !important; height:40px !important; }
  .home-p4 .comment-and-icon { padding-bottom:34px !important; }
  .home-p4 .home-p4-slider .slick-list { margin:0 -7px !important; }
  .home-p4 .home-p4-slider .slick-slide,
  .home-p4 .home-p4-slider article.home-p4-cart.slick-slide { padding:0 7px !important; }
  .home-p4 .home-p4-card-inner { min-height:250px !important; }
  .home-p4 .home-p4-service-content { padding:16px !important; }
  .home-p4 .home-p4-slider .home-p4-service-content h3 { font-size:17px !important; }
  .home-p4 .home-p4-slider .home-p4-service-description { font-size:12px !important; -webkit-line-clamp:4 !important; }
  .home-p4 .home-p4-slider .slick-dots { bottom:-25px !important; }
}

/* Keep service-card shadows visible but soft at the edges. */
.home-p4 .home-p4-card-inner {
  border-color:rgba(42,39,91,.055) !important;
  box-shadow:0 3px 8px -6px rgba(36,34,82,.30) !important;
}
.home-p4 .home-p4-slider article.home-p4-cart:hover .home-p4-card-inner {
  box-shadow:0 4px 10px -7px rgba(36,34,82,.34) !important;
  transform:translateY(-3px) !important;
}

/* Admin managed home feature widgets */
.home-widgets { width:min(1140px,calc(100% - 40px)); margin:26px auto 48px; direction:rtl; }
.home-widgets__slider { margin:0 -12px; }
.home-widgets__slider .slick-list { padding:4px 0 14px; }
.home-widgets__slider .slick-slide { padding:0 14px !important; height:auto; border:0 !important; background:transparent !important; box-shadow:none !important; }
.home-widgets__slider .slick-track { display:flex; }
.home-widgets__slider .slick-slide > div, .home-widget-slide, .home-widget-card { height:100%; }
.home-widget-card { overflow:hidden; border:1px solid rgba(42,39,91,.055); border-radius:16px; background:#fff; box-shadow:0 2px 7px rgba(35,34,75,.025); transition:transform .2s ease,box-shadow .2s ease; }
.home-widget-card:hover { transform:translateY(-2px); box-shadow:0 3px 9px rgba(35,34,75,.045); }
.home-widget-card__media { display:block; height:156px; overflow:hidden; background:#f2f1fa; }
.home-widget-card__media img { display:block; width:100%; height:100%; object-fit:cover; }
.home-widget-card__media.is-empty { background:linear-gradient(135deg,#f3f2fc,#e9e8fa); }
.home-widget-card__body { padding:17px 18px 19px; text-align:right; }
.home-widget-card__body h3 { margin:0 0 10px; color:#202039; font-size:16px; line-height:1.6; font-weight:700; }
.home-widget-card__body h3 a { color:inherit; text-decoration:none; }
.home-widget-card__body p { display:-webkit-box; overflow:hidden; margin:0; color:#85859a; font-size:13px; line-height:1.9; -webkit-box-orient:vertical; -webkit-line-clamp:4; }
.home-widgets__controls { display:flex; justify-content:center; gap:10px; margin-top:2px; direction:ltr; }
.home-widgets__controls button { display:grid; width:38px; height:38px; place-items:center; padding:0; border:1px solid #e7e6f1; border-radius:50%; background:#fff; color:#6860ee; cursor:pointer; transition:background .2s ease,color .2s ease,transform .2s ease; }
.home-widgets__controls button:hover { transform:translateY(-1px); background:#6860ee; color:#fff; }
.home-widgets__controls svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.home-widgets__controls.is-hidden { display:none; }
@media(max-width:767.98px) { .home-widgets { width:calc(100% - 28px); margin:20px auto 38px; } .home-widgets__slider { margin:0 -12px; } .home-widgets__slider .slick-slide { padding:0 12px !important; } .home-widget-card__media { height:170px; } }

/* Match the four feature cards to the department carousel dimensions. */
.home-widgets { width:min(calc(100% - 32px),1200px); }
.home-widgets__slider { margin:0 -8px; }
.home-widgets__slider .slick-slide { padding:0 8px !important; }
.home-widget-card { display:flex; flex-direction:column; border-radius:15px; box-shadow:0 5px 18px rgba(32,34,56,.10); }
.home-widget-card__media { height:auto; aspect-ratio:1.68 / 1; flex:0 0 auto; }
.home-widget-card__body { min-height:190px; padding:14px 17px 17px; }
.home-widget-card__body h3 { font-size:17px; }
.home-widget-card__body p { font-size:13px; line-height:1.85; -webkit-line-clamp:5; }
@media(max-width:767.98px) {
    .home-widgets { width:calc(100% - 24px); }
    .home-widgets__slider { margin:0 -5px; }
    .home-widgets__slider .slick-slide { padding:0 5px !important; }
    .home-widget-card__body { min-height:175px; padding:13px 14px 15px; }
}
.home-widget-card { box-shadow:0 -6px 16px rgba(32,34,56,.09), 0 0 0 1px rgba(32,34,56,.035); }
.home-widget-card:hover { box-shadow:0 -6px 16px rgba(32,34,56,.09), 0 0 0 1px rgba(32,34,56,.035); }
.home-widget-card__media img,.home-department-image img { transition:transform .3s ease; }
.home-widget-card:hover .home-widget-card__media img,.home-department-card:hover .home-department-image img { transform:scale(1.05); }
.home-p1 .home-social-follow { position:relative; z-index:4; }
.home-p1 .home-social-follow__links { position:relative; z-index:5; }
.home-p1 .home-social-follow__links a { position:relative; z-index:1; pointer-events:auto; cursor:pointer; }
@media (min-width:768px) {
    .home-p2 .home-p2-carts > .home-p2-cart-content { height:370px !important; min-height:370px !important; max-height:370px !important; }
    .home-p2 .home-p2-carts .home-p2-cart { box-sizing:border-box; display:flex; flex-direction:column; height:100% !important; min-height:0 !important; max-height:100% !important; overflow:hidden; }
    .home-p2 .home-p2-carts.slick-initialized .slick-track { display:flex !important; align-items:stretch; }
    .home-p2 .home-p2-carts.slick-initialized > .home-p2-cart-content.slick-slide { display:flex !important; height:370px !important; }
    .home-p2 .home-p2-carts .home-p2-cart-cost { margin-top:auto !important; flex:0 0 auto; }
    .home-p2 .home-p2-carts .home-p2-cart-link { flex:0 0 auto; }
}


/* Keep filtered course cards on the same desktop grid when only a few remain. */
@media (min-width:768px) {
    .home-p2 .home-p2-carts:not(.slick-initialized) { display:grid !important; grid-auto-rows:370px; align-items:stretch; }
    .home-p2 .home-p2-carts:not(.slick-initialized) > .home-p2-cart-content { box-sizing:border-box; width:100% !important; max-width:100% !important; min-width:0; height:370px !important; min-height:370px !important; max-height:370px !important; }
    .home-p2 .home-p2-carts:not(.slick-initialized) > .home-p2-cart-content > .home-p2-cart { width:100% !important; height:100% !important; min-height:0 !important; max-height:100% !important; }
}

/* Keep a lone filtered course centered and give its text room below the image. */
@media (min-width:768px) {
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) { grid-template-columns:minmax(0,1fr) !important; grid-auto-rows:auto; }
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) > .home-p2-cart-content { grid-column:1; justify-self:center; width:100% !important; max-width:375px !important; height:auto !important; min-height:0 !important; max-height:none !important; }
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) > .home-p2-cart-content > .home-p2-cart { height:auto !important; min-height:0 !important; max-height:none !important; overflow:visible; }
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-img { height:auto !important; aspect-ratio:1.5; }
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-img-title,
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-start,
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-summary,
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-cost,
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-link { flex-shrink:0; }
    .home-p2 .home-p2-carts.has-single-course:not(.slick-initialized) .home-p2-cart-summary { display:block; height:auto; min-height:0; max-height:none; margin:0 12px 12px; overflow:visible; -webkit-line-clamp:unset; }
}


/* Educational service cards: landscape image above the copy. */
.home-p4 .home-p4-slider .slick-track { display:flex !important; align-items:stretch !important; }
.home-p4 .home-p4-slider .slick-slide { display:flex !important; height:auto !important; }
.home-p4 .home-p4-slider .slick-slide > div { display:flex !important; width:100% !important; }
.home-p4 .home-p4-slider .home-p4-card-inner {
  display:flex !important;
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:0 !important;
  overflow:hidden !important;
  border:1px solid #ecebf5 !important;
  border-radius:20px !important;
  background:#fff !important;
  direction:rtl !important;
  box-shadow:0 5px 18px rgba(38,35,90,.10) !important;
}
.home-p4 .home-p4-service-media {
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:3 / 1 !important;
  flex:0 0 auto !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f2f1f8 !important;
}
.home-p4 .home-p4-cart .home-p4-service-image { display:block !important; width:100% !important; height:100% !important; object-fit:cover !important; object-position:center !important; }
.home-p4 .home-p4-slider .home-p4-service-content { display:flex !important; min-height:160px !important; flex:1 1 auto !important; flex-direction:column !important; justify-content:flex-start !important; padding:16px 18px 20px !important; direction:rtl !important; text-align:right !important; }
.home-p4 .home-p4-slider .home-p4-service-content h3 { margin:0 0 8px !important; }
.home-p4 .home-p4-slider .home-p4-service-description { display:-webkit-box !important; overflow:hidden !important; max-height:none !important; -webkit-box-orient:vertical !important; -webkit-line-clamp:4 !important; }


/* Latest news: two horizontal cards per row with room for longer summaries. */
.home-p7 .home-p7-bottom { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:22px !important; }
.home-p7 .home-p7-bottom-carts { min-height:220px; }
.home-p7 .home-p7-bottom-carts .img-link { flex-basis:46%; width:46%; height:198px; }
.home-p7 .home-p7-bottom-carts .img-link img { height:100%; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-summary { -webkit-line-clamp:4; line-height:1.85; }
@media(max-width:767.98px) {
    .home-p7 .home-p7-bottom { grid-template-columns:minmax(0,1fr) !important; gap:16px !important; }
    .home-p7 .home-p7-bottom-carts { min-height:0; }
    .home-p7 .home-p7-bottom-carts .img-link { height:180px; }
    .home-p7 .home-p7-card-content .home-p7-bottom-carts-summary { -webkit-line-clamp:3; }
}


/* Latest news: show exactly two compact horizontal cards like the blog reference. */
.home-p7 .home-p7-bottom { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:22px !important; }
.home-p7 .home-p7-bottom-carts { box-sizing:border-box; height:190px !important; min-height:190px !important; align-items:stretch !important; gap:16px !important; padding:8px !important; border:1px solid rgba(42,39,91,.06) !important; border-radius:20px !important; background:#fff !important; box-shadow:0 5px 18px rgba(35,35,70,.075) !important; }
.home-p7 .home-p7-bottom-carts .img-link { flex:0 0 46% !important; width:46% !important; height:172px !important; align-self:center; overflow:hidden; border-radius:14px !important; background:#f2f1fa; }
.home-p7 .home-p7-bottom-carts .img-link img { display:block; width:100% !important; height:100% !important; object-fit:cover !important; object-position:center; border-radius:14px !important; }
.home-p7 .home-p7-card-content { min-height:0; gap:7px !important; padding:8px 5px !important; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-t { margin:0 !important; font-size:16px !important; line-height:1.65 !important; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-summary { display:-webkit-box !important; margin:0 !important; font-size:12px !important; line-height:1.75 !important; -webkit-box-orient:vertical !important; -webkit-line-clamp:2 !important; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-a { min-width:0 !important; min-height:0 !important; margin-top:auto !important; padding:2px 0 !important; border-radius:0 !important; background:transparent !important; color:#5a54de !important; font-size:13px !important; }
.home-p7 .home-p7-card-content .home-p7-bottom-carts-a:hover { color:#4039c5 !important; text-decoration:underline; }
@media(max-width:767.98px) {
  .home-p7 .home-p7-bottom { grid-template-columns:minmax(0,1fr) !important; gap:14px !important; }
  .home-p7 .home-p7-bottom-carts { height:174px !important; min-height:174px !important; }
  .home-p7 .home-p7-bottom-carts .img-link { height:156px !important; }
  .home-p7 .home-p7-card-content .home-p7-bottom-carts-t { font-size:14px !important; }
  .home-p7 .home-p7-card-content .home-p7-bottom-carts-summary { -webkit-line-clamp:2 !important; }
}
@media(max-width:399.98px) {
  .home-p7 .home-p7-bottom-carts { gap:10px !important; }
  .home-p7 .home-p7-bottom-carts .img-link { flex-basis:42% !important; width:42% !important; }
  .home-p7 .home-p7-card-content { padding:6px 2px !important; }
}
