/* Al-Amal Preschool Home Builder professional community enhancements. */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--header-professional .al-amal-preschool-home-section__heading,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-section__heading,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--upcoming_events .al-amal-preschool-home-section__heading,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 20px;align-items:end;margin:0 0 22px;padding:0 0 14px;border-bottom:1px solid var(--al-amal-preschool-home-soft-border,var(--al-amal-preschool-token-border, #e4e6ed));text-align:left}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading h2{margin:0;font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.2}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading p{grid-column:1;margin:4px 0 0;color:var(--al-amal-preschool-token-muted, #6f7890);max-width:720px}
.al-amal-preschool-home-quick-actions{display:grid;grid-template-columns:repeat(var(--al-amal-preschool-home-cols-d,5),minmax(0,1fr));gap:12px}
.al-amal-preschool-home-quick-action{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:14px;border:1px solid var(--al-amal-preschool-token-border, #e4e6ed);border-radius:10px;background:var(--al-amal-preschool-token-soft, #f4f5f9);color:var(--al-amal-preschool-token-heading, #262939);text-decoration:none;min-height:78px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.al-amal-preschool-home-quick-action:hover,.al-amal-preschool-home-quick-action:focus-visible{transform:translateY(-2px);border-color:var(--al-amal-preschool-brand-secondary, #2f76c6);box-shadow:0 8px 22px rgba(38,41,57,.09);color:var(--al-amal-preschool-token-heading, #262939)}
.al-amal-preschool-home-quick-action__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--al-amal-preschool-token-soft, #f4f5f9);color:var(--al-amal-preschool-brand-primary, #5e52e4)}.al-amal-preschool-home-quick-action__icon svg{width:22px;height:22px;fill:currentColor}
.al-amal-preschool-home-quick-action__content{display:grid;gap:2px}.al-amal-preschool-home-quick-action__content strong{font-size:15px;line-height:1.2}.al-amal-preschool-home-quick-action__content small{font-size:12px;line-height:1.35;color:var(--al-amal-preschool-token-muted, #6f7890)}.al-amal-preschool-home-quick-action__arrow{font-size:18px;color:var(--al-amal-preschool-brand-secondary, #2f76c6)}
.al-amal-preschool-home-events{display:grid;gap:12px}.al-amal-preschool-home-event-card{display:grid;grid-template-columns:74px minmax(0,1fr);align-items:center;gap:16px;padding:14px 18px;border:1px solid var(--al-amal-preschool-token-border, #e4e6ed);border-radius:10px;background:#fff;transition:border-color .18s ease,box-shadow .18s ease}
.al-amal-preschool-home-event-card:hover{border-color:var(--al-amal-preschool-brand-secondary, #2f76c6);box-shadow:0 5px 18px rgba(38,41,57,.07)}.al-amal-preschool-home-event-card__date{display:grid;place-items:center;align-content:center;min-height:64px;border-radius:9px;background:var(--al-amal-preschool-token-heading, #262939);color:#fff;text-transform:uppercase}.al-amal-preschool-home-event-card__date span{font-size:24px;font-weight:800;line-height:1}.al-amal-preschool-home-event-card__date strong{font-size:12px;letter-spacing:.08em}.al-amal-preschool-home-event-card h3{margin:0;font-size:18px;line-height:1.25}.al-amal-preschool-home-event-card h3 a{text-decoration:none}.al-amal-preschool-home-event-card__meta{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:6px;color:var(--al-amal-preschool-token-muted, #6f7890);font-size:13px}.al-amal-preschool-home-section-footer{margin-top:18px;text-align:right}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading{max-width:760px}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading h2{font-family:var(--al-amal-preschool-mv-section-title-font,inherit);font-size:var(--al-amal-preschool-mv-section-title-size-d,34px);font-weight:var(--al-amal-preschool-mv-section-title-weight,700);line-height:var(--al-amal-preschool-mv-section-title-line-d,1.2);letter-spacing:var(--al-amal-preschool-mv-section-title-spacing,-.2px);text-transform:var(--al-amal-preschool-mv-section-title-transform,none);color:var(--al-amal-preschool-mv-section-title-color,var(--al-amal-preschool-token-heading, #262939))}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading p{font-family:var(--al-amal-preschool-mv-intro-font,inherit);font-size:var(--al-amal-preschool-mv-intro-size-d,16px);font-weight:var(--al-amal-preschool-mv-intro-weight,400);line-height:var(--al-amal-preschool-mv-intro-line-d,1.55);letter-spacing:var(--al-amal-preschool-mv-intro-spacing,0);text-transform:var(--al-amal-preschool-mv-intro-transform,none);color:var(--al-amal-preschool-mv-intro-color,var(--al-amal-preschool-token-muted, #6f7890))}
.al-amal-preschool-home-mission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--al-amal-preschool-mv-card-gap-d,18px)}
.al-amal-preschool-home-mission-card{position:relative;padding:var(--al-amal-preschool-mv-card-padding-d,26px);border:var(--al-amal-preschool-mv-card-border-width,1px) solid var(--al-amal-preschool-mv-card-border-color,var(--al-amal-preschool-token-border, #e4e6ed));border-radius:var(--al-amal-preschool-mv-card-radius,12px);background:var(--al-amal-preschool-mv-card-bg,var(--al-amal-preschool-token-soft, #f4f5f9));box-shadow:var(--al-amal-preschool-mv-card-shadow,0 2px 10px rgba(38,41,57,.05));overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.al-amal-preschool-home-mission-card::after{content:"";position:absolute;inset:0 auto 0 0;width:var(--al-amal-preschool-mv-accent-width,4px);background:var(--al-amal-preschool-mv-mission-accent,var(--al-amal-preschool-brand-secondary, #2f76c6))}.al-amal-preschool-home-mission-card--vision::after{background:var(--al-amal-preschool-mv-vision-accent,var(--al-amal-preschool-brand-secondary, #2f76c6))}
.al-amal-preschool-home-mission-card__icon{display:grid;place-items:center;width:var(--al-amal-preschool-mv-icon-size,42px);height:var(--al-amal-preschool-mv-icon-size,42px);margin-bottom:14px;border-radius:50%;background:var(--al-amal-preschool-mv-mission-icon-bg,var(--al-amal-preschool-token-soft, #f4f5f9));color:var(--al-amal-preschool-mv-mission-icon-color,var(--al-amal-preschool-brand-primary, #5e52e4));font-size:calc(var(--al-amal-preschool-mv-icon-size,42px)*.43)}.al-amal-preschool-home-mission-card--vision .al-amal-preschool-home-mission-card__icon{background:var(--al-amal-preschool-mv-vision-icon-bg,var(--al-amal-preschool-token-soft, #f4f5f9));color:var(--al-amal-preschool-mv-vision-icon-color,var(--al-amal-preschool-brand-secondary, #2f76c6))}
.al-amal-preschool-home-mission-card h3{margin:0 0 10px;font-family:var(--al-amal-preschool-mv-card-title-font,inherit);font-size:var(--al-amal-preschool-mv-card-title-size-d,22px);font-weight:var(--al-amal-preschool-mv-card-title-weight,700);line-height:var(--al-amal-preschool-mv-card-title-line-d,1.3);letter-spacing:var(--al-amal-preschool-mv-card-title-spacing,0);text-transform:var(--al-amal-preschool-mv-card-title-transform,none);color:var(--al-amal-preschool-mv-card-title-color,var(--al-amal-preschool-token-heading, #262939))}
.al-amal-preschool-home-mission-card p{margin:0;font-family:var(--al-amal-preschool-mv-card-body-font,inherit);font-size:var(--al-amal-preschool-mv-card-body-size-d,17px);font-weight:var(--al-amal-preschool-mv-card-body-weight,400);line-height:var(--al-amal-preschool-mv-card-body-line-d,1.65);letter-spacing:var(--al-amal-preschool-mv-card-body-spacing,0);text-transform:var(--al-amal-preschool-mv-card-body-transform,none);color:var(--al-amal-preschool-mv-card-body-color,var(--al-amal-preschool-token-text, #42445e))}
.al-amal-preschool-home-mission-language{display:flex;align-items:center;gap:12px;margin:24px 0 14px;font-family:var(--al-amal-preschool-mv-divider-font,inherit);font-size:var(--al-amal-preschool-mv-divider-size-d,13px);font-weight:var(--al-amal-preschool-mv-divider-weight,700);line-height:var(--al-amal-preschool-mv-divider-line-d,1.2);letter-spacing:var(--al-amal-preschool-mv-divider-spacing,1.2px);text-transform:var(--al-amal-preschool-mv-divider-transform,uppercase);color:var(--al-amal-preschool-mv-divider-color,var(--al-amal-preschool-token-muted, #6f7890))}.al-amal-preschool-home-mission-language::before,.al-amal-preschool-home-mission-language::after{content:"";height:1px;flex:1;background:var(--al-amal-preschool-mv-card-border-color,var(--al-amal-preschool-token-border, #e4e6ed))}
@media(hover:hover) and (pointer:fine){.al-amal-preschool-home-mission-card:hover{transform:var(--al-amal-preschool-mv-card-hover-transform,translateY(-2px));box-shadow:var(--al-amal-preschool-mv-card-hover-shadow,0 6px 18px rgba(38,41,57,.08));border-color:color-mix(in srgb,var(--al-amal-preschool-mv-card-border-color,var(--al-amal-preschool-token-border, #e4e6ed)) 65%,var(--al-amal-preschool-mv-mission-accent,var(--al-amal-preschool-brand-secondary, #2f76c6)))}.al-amal-preschool-home-mission-card--vision:hover{border-color:color-mix(in srgb,var(--al-amal-preschool-mv-card-border-color,var(--al-amal-preschool-token-border, #e4e6ed)) 65%,var(--al-amal-preschool-mv-vision-accent,var(--al-amal-preschool-brand-secondary, #2f76c6)))}}
@media(max-width:1024px){.al-amal-preschool-home-quick-actions{grid-template-columns:repeat(var(--al-amal-preschool-home-cols-t,3),minmax(0,1fr))}[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading h2{font-size:var(--al-amal-preschool-mv-section-title-size-t,28px);line-height:var(--al-amal-preschool-mv-section-title-line-t,1.2)}[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading p{font-size:var(--al-amal-preschool-mv-intro-size-t,15px);line-height:var(--al-amal-preschool-mv-intro-line-t,1.55)}.al-amal-preschool-home-mission-grid{gap:var(--al-amal-preschool-mv-card-gap-t,14px)}.al-amal-preschool-home-mission-card{padding:var(--al-amal-preschool-mv-card-padding-t,22px)}.al-amal-preschool-home-mission-card h3{font-size:var(--al-amal-preschool-mv-card-title-size-t,20px);line-height:var(--al-amal-preschool-mv-card-title-line-t,1.3)}.al-amal-preschool-home-mission-card p{font-size:var(--al-amal-preschool-mv-card-body-size-t,16px);line-height:var(--al-amal-preschool-mv-card-body-line-t,1.6)}.al-amal-preschool-home-mission-language{font-size:var(--al-amal-preschool-mv-divider-size-t,13px);line-height:var(--al-amal-preschool-mv-divider-line-t,1.2)}}
@media(max-width:767px){[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading{display:block;margin-bottom:14px;padding-bottom:10px}[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading h2{font-size:19px}[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading p{font-size:14px}.al-amal-preschool-home-quick-actions{grid-template-columns:repeat(var(--al-amal-preschool-home-cols-m,2),minmax(0,1fr));gap:8px}.al-amal-preschool-home-quick-action{grid-template-columns:36px minmax(0,1fr);padding:11px;min-height:70px}.al-amal-preschool-home-quick-action__icon{width:36px;height:36px}.al-amal-preschool-home-quick-action__content small,.al-amal-preschool-home-quick-action__arrow{display:none}.al-amal-preschool-home-events{gap:9px}.al-amal-preschool-home-event-card{grid-template-columns:58px minmax(0,1fr);gap:12px;padding:10px}.al-amal-preschool-home-event-card__date{min-height:56px}.al-amal-preschool-home-event-card__date span{font-size:20px}.al-amal-preschool-home-event-card h3{font-size:15px}.al-amal-preschool-home-mission-grid{grid-template-columns:1fr;gap:var(--al-amal-preschool-mv-card-gap-m,10px)}.al-amal-preschool-home-mission-card{padding:var(--al-amal-preschool-mv-card-padding-m,18px)}[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading h2{font-size:var(--al-amal-preschool-mv-section-title-size-m,23px);line-height:var(--al-amal-preschool-mv-section-title-line-m,1.25)}[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision .al-amal-preschool-home-section__heading p{font-size:var(--al-amal-preschool-mv-intro-size-m,15px);line-height:var(--al-amal-preschool-mv-intro-line-m,1.55)}.al-amal-preschool-home-mission-card h3{font-size:var(--al-amal-preschool-mv-card-title-size-m,18px);line-height:var(--al-amal-preschool-mv-card-title-line-m,1.3)}.al-amal-preschool-home-mission-card p{font-size:var(--al-amal-preschool-mv-card-body-size-m,16px);line-height:var(--al-amal-preschool-mv-card-body-line-m,1.6)}.al-amal-preschool-home-mission-language{font-size:var(--al-amal-preschool-mv-divider-size-m,12px);line-height:var(--al-amal-preschool-mv-divider-line-m,1.2)}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact{--al-amal-preschool-mobile-post-thumb:clamp(96px,31vw,112px);grid-template-columns:minmax(0,1fr)!important;width:100%;min-width:0}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card{display:grid!important;grid-template-columns:var(--al-amal-preschool-mobile-post-thumb) minmax(0,1fr)!important;grid-template-areas:"media content"!important;align-items:stretch;gap:0;width:100%;max-width:100%;min-width:0;min-height:96px;box-sizing:border-box;overflow:hidden}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__responsive-title{display:none!important}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__media{grid-area:media!important;display:block;width:100%!important;max-width:none!important;min-width:0!important;min-height:96px;height:100%;max-height:none!important;aspect-ratio:auto!important;align-self:stretch;overflow:hidden;border-radius:0!important}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__media img{display:block;width:100%!important;max-width:100%!important;min-width:0!important;height:100%!important;min-height:96px!important;object-fit:cover;object-position:center}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__content{grid-area:content!important;display:flex;flex-direction:column;justify-content:center;width:auto!important;max-width:100%;min-width:0!important;padding:10px 12px!important;box-sizing:border-box;overflow:hidden}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__title{display:-webkit-box!important;width:100%;max-width:100%;min-width:0;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 5px!important;font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__title a{display:block;max-width:100%;overflow-wrap:anywhere}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__excerpt,
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-read-more{display:none!important}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-meta{max-width:100%;min-width:0;margin:0!important;font-size:12px!important;overflow:hidden}
}
@media(max-width:380px){
 body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact{--al-amal-preschool-mobile-post-thumb:96px}
 body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__content{padding:9px 10px!important}
 body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__title{font-size:14px!important;line-height:1.28!important}
}
@media(prefers-reduced-motion:reduce){.al-amal-preschool-home-quick-action,.al-amal-preschool-home-event-card,.al-amal-preschool-home-mission-card{transition:none}.al-amal-preschool-home-quick-action:hover,.al-amal-preschool-home-mission-card:hover{transform:none}}

/* 2.4.84 — professional interaction and mobile-flow polish. */
.al-amal-preschool-home-event-card__calendar{display:inline-flex;align-items:center;min-height:32px;padding:4px 10px;border:1px solid var(--al-amal-preschool-token-border, #e4e6ed);border-radius:999px;color:var(--al-amal-preschool-brand-primary, #5e52e4);font-size:12px;font-weight:700;text-decoration:none}
.al-amal-preschool-home-event-card__calendar:hover,.al-amal-preschool-home-event-card__calendar:focus-visible{border-color:var(--al-amal-preschool-brand-secondary, #2f76c6);background:var(--al-amal-preschool-token-soft, #f4f5f9);color:var(--al-amal-preschool-brand-primary-hover, #4e48bc)}
.al-amal-preschool-home-split--clickable{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.al-amal-preschool-home-split--clickable:focus-visible{outline:3px solid var(--al-amal-preschool-brand-secondary, #2f76c6);outline-offset:3px}
.al-amal-preschool-home-mission-mobile-english{display:none}
.al-amal-preschool-home-mission-mobile-english>summary{list-style:none}
.al-amal-preschool-home-mission-mobile-english>summary::-webkit-details-marker{display:none}

@media(hover:hover) and (pointer:fine){.al-amal-preschool-home-split--clickable:hover{transform:translateY(-2px);box-shadow:0 9px 26px rgba(38,41,57,.1)}}

@media(max-width:767px){
 .al-amal-preschool-home-quick-actions--mobile-orphan-full .al-amal-preschool-home-quick-action:last-child{grid-column:1/-1}
 .al-amal-preschool-home-quick-action{padding:9px 10px;min-height:64px}
 .al-amal-preschool-home-section--whole-card-link .al-amal-preschool-home-split__content .al-amal-preschool-home-button{display:flex;width:100%;justify-content:center;margin-top:10px}
 .al-amal-preschool-home-section--mission-mobile-accordion .al-amal-preschool-home-mission-desktop-english{display:none}
 .al-amal-preschool-home-section--mission-mobile-accordion .al-amal-preschool-home-mission-mobile-english{display:block;margin-top:14px;border:1px solid var(--al-amal-preschool-mv-card-border-color,var(--al-amal-preschool-token-border, #e4e6ed));border-radius:var(--al-amal-preschool-mv-card-radius,12px);background:rgba(255,255,255,.58);overflow:hidden}
 .al-amal-preschool-home-mission-mobile-english>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:11px 14px;color:var(--al-amal-preschool-mv-card-title-color,var(--al-amal-preschool-token-heading, #262939));font-size:14px;font-weight:700;cursor:pointer}
 .al-amal-preschool-home-mission-mobile-english>summary:focus-visible{outline:2px solid var(--al-amal-preschool-mv-mission-accent,var(--al-amal-preschool-brand-secondary, #2f76c6));outline-offset:-3px}
 .al-amal-preschool-home-mission-mobile-english__icon{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--al-amal-preschool-mv-mission-icon-bg,var(--al-amal-preschool-token-soft, #f4f5f9));color:var(--al-amal-preschool-mv-mission-icon-color,var(--al-amal-preschool-brand-primary, #5e52e4));font-size:18px;line-height:1;transition:transform .18s ease}
 .al-amal-preschool-home-mission-mobile-english[open] .al-amal-preschool-home-mission-mobile-english__icon{transform:rotate(45deg)}
 .al-amal-preschool-home-mission-mobile-english .al-amal-preschool-home-mission-grid{padding:0 10px 10px}
 .al-amal-preschool-home-section--mission-mobile-stacked .al-amal-preschool-home-mission-desktop-english{display:block}
 .al-amal-preschool-home-event-card__meta{gap:7px 10px}
 .al-amal-preschool-home-event-card__calendar{width:max-content;min-height:30px;padding:3px 9px}
}

@media(prefers-reduced-motion:reduce){.al-amal-preschool-home-split--clickable,.al-amal-preschool-home-mission-mobile-english__icon{transition:none}.al-amal-preschool-home-split--clickable:hover{transform:none}}

/* 3.0.8 — canonical mobile Latest Posts two-card swipe row.
   One stable rule replaces the accumulated 3.0.3–3.0.7 experiments. Phones
   display exactly two cards in the visible row and allow natural horizontal
   swipe/scroll for additional stories. */
@media (max-width: 767px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: stretch;
		gap: 12px !important;
		width: 100%;
		min-width: 0;
		overflow-x: auto !important;
		overflow-y: hidden !important;
		padding: 0 2px 4px 0 !important;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 0;
		overscroll-behavior-inline: contain;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact::-webkit-scrollbar {
		display: none;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact > .al-amal-preschool-home-post-card {
		display: flex !important;
		flex: 0 0 calc(50% - 6px) !important;
		flex-direction: column !important;
		align-items: stretch;
		justify-content: flex-start;
		gap: 0;
		width: calc(50% - 6px) !important;
		min-width: calc(50% - 6px) !important;
		max-width: calc(50% - 6px) !important;
		min-height: 100%;
		overflow: hidden;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__responsive-title {
		display: none !important;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__media {
		display: block;
		flex: 0 0 auto;
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		height: auto !important;
		min-height: 0 !important;
		aspect-ratio: 4 / 3 !important;
		overflow: hidden;
		border-radius: 10px !important;
		margin: 0 0 8px !important;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__media img {
		display: block;
		width: 100% !important;
		height: 100% !important;
		min-height: 0 !important;
		object-fit: cover;
		object-position: center;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__content {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		width: 100% !important;
		max-width: 100%;
		min-width: 0 !important;
		padding: 0 !important;
		overflow: hidden;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-card__title {
		display: -webkit-box !important;
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 0 0 5px !important;
		font-size: 14px !important;
		font-weight: 700;
		line-height: 1.3 !important;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		overflow-wrap: anywhere;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts--mobile-compact .al-amal-preschool-home-post-meta {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		margin: 0 !important;
		font-size: 12px !important;
		line-height: 1.3 !important;
	}
}


/* 3.0.9 — visible mobile swipe hint for Latest Posts. */
.al-amal-preschool-home-posts-swipe-hint {
	display: none;
}

@media (max-width: 767px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts-swipe-hint {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		gap: 7px;
		margin: 7px 2px 0;
		color: var(--al-amal-preschool-brand-primary, #5e52e4);
		font-size: 12px;
		font-weight: 700;
		line-height: 1;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts-swipe-hint__arrow {
		display: inline-grid;
		place-items: center;
		width: 26px;
		height: 26px;
		border-radius: 50%;
		background: var(--al-amal-preschool-brand-primary, #5e52e4);
		color: #fff;
		font-size: 17px;
		font-weight: 800;
		line-height: 1;
		box-shadow: 0 3px 10px rgba(94, 82, 228, .18);
		animation: al-amal-preschool-home-swipe-arrow 1.4s ease-in-out infinite;
	}

	html[dir="rtl"] body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts-swipe-hint__arrow {
		transform: rotate(180deg);
	}
}

@keyframes al-amal-preschool-home-swipe-arrow {
	0%, 100% { translate: 0 0; }
	50% { translate: 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-posts-swipe-hint__arrow {
		animation: none;
	}
}


/* 3.0.10 — clickable mobile swipe control. */
@media (max-width: 767px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] button.al-amal-preschool-home-posts-swipe-hint {
		width: max-content;
		max-width: 100%;
		min-height: 34px;
		margin-left: auto;
		padding: 2px 0 2px 8px;
		border: 0;
		border-radius: 999px;
		background: transparent;
		font-family: inherit;
		text-align: right;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
		-webkit-tap-highlight-color: transparent;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] button.al-amal-preschool-home-posts-swipe-hint:hover .al-amal-preschool-home-posts-swipe-hint__arrow,
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] button.al-amal-preschool-home-posts-swipe-hint:focus-visible .al-amal-preschool-home-posts-swipe-hint__arrow {
		background: var(--al-amal-preschool-brand-primary-hover, #4e48bc);
		box-shadow: 0 4px 13px rgba(94, 82, 228, .28);
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] button.al-amal-preschool-home-posts-swipe-hint:focus-visible {
		outline: 2px solid var(--al-amal-preschool-brand-primary, #5e52e4);
		outline-offset: 3px;
	}

	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] button.al-amal-preschool-home-posts-swipe-hint:active .al-amal-preschool-home-posts-swipe-hint__arrow {
		scale: .94;
	}
}

/* 3.1.4 — Warm Playful Premium Preschool layer. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] {
	--al-amal-preschool-home-premium-radius: var(--al-amal-preschool-token-radius-lg, 18px);
	--al-amal-preschool-home-premium-radius-sm: var(--al-amal-preschool-token-radius-md, 14px);
	--al-amal-preschool-home-premium-shadow: 0 14px 38px rgba(38, 41, 57, .08);
	--al-amal-preschool-home-premium-shadow-hover: 0 18px 44px rgba(38, 41, 57, .12);
	background: var(--al-amal-preschool-token-canvas, #f8f9fb);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section {
	position: relative;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading {
	max-width: 780px;
	margin-inline: auto;
	margin-bottom: 32px;
	padding-bottom: 0;
	border-bottom: 0;
	text-align: center;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading::before {
	content: "";
	display: block;
	width: 48px;
	height: 5px;
	margin: 0 auto 14px;
	border-radius: 999px;
	background: var(--al-amal-preschool-brand-gradient, linear-gradient(120deg, #5e52e4, #2f76c6));
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading h2 {
	font-size: clamp(1.8rem, 3.4vw, 2.65rem);
	font-weight: 750;
	letter-spacing: -.025em;
	color: var(--al-amal-preschool-token-heading, #262939);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading p {
	grid-column: auto;
	margin: 10px auto 0;
	max-width: 680px;
	font-size: clamp(.98rem, 1.4vw, 1.08rem);
	line-height: 1.7;
	color: var(--al-amal-preschool-token-muted, #6f7890);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-button, .al-amal-preschool-home-action--primary) {
	border-radius: 12px;
	font-weight: 750;
	box-shadow: 0 8px 20px rgba(94, 82, 228, .16);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-action--outline,
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-button--outline {
	border-radius: 12px;
	background: rgba(255,255,255,.9);
}

/* Start Here / trust-style family links. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-actions {
	gap: 16px;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action {
	min-height: 94px;
	padding: 18px;
	border-radius: var(--al-amal-preschool-home-premium-radius-sm);
	background: var(--al-amal-preschool-token-surface, #fff);
	box-shadow: 0 8px 24px rgba(38,41,57,.055);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action__icon {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 11%, #fff);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action:nth-child(2) .al-amal-preschool-home-quick-action__icon {
	background: var(--al-amal-preschool-accent-mint, #bee7d3);
	color: #356554;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action:nth-child(3) .al-amal-preschool-home-quick-action__icon {
	background: var(--al-amal-preschool-accent-gold, #f4c95d);
	color: #67520e;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action:nth-child(4) .al-amal-preschool-home-quick-action__icon {
	background: var(--al-amal-preschool-accent-sky, #cfe3ff);
	color: #2f5d99;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action:nth-child(5) .al-amal-preschool-home-quick-action__icon {
	background: var(--al-amal-preschool-accent-peach, #f7c9b6);
	color: #8a4e39;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action__content strong {
	font-size: 1rem;
	font-weight: 750;
}

/* Premium editorial feature / image-text surfaces. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-feature, .al-amal-preschool-home-split) {
	border: 1px solid var(--al-amal-preschool-token-border, #e4e6ed);
	border-radius: var(--al-amal-preschool-home-premium-radius);
	background: var(--al-amal-preschool-token-surface, #fff);
	box-shadow: var(--al-amal-preschool-home-premium-shadow);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-feature__media, .al-amal-preschool-home-split__media) img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-feature__content h2, .al-amal-preschool-home-split__content h2) {
	font-weight: 780;
	letter-spacing: -.03em;
}

/* Programs and school-news cards. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-card, .al-amal-preschool-home-post-card, .al-amal-preschool-home-event-card) {
	border-color: var(--al-amal-preschool-token-border, #e4e6ed);
	border-radius: var(--al-amal-preschool-home-premium-radius-sm);
	background: var(--al-amal-preschool-token-surface, #fff);
	box-shadow: 0 8px 26px rgba(38,41,57,.06);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-card {
	position: relative;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-card::before {
	content: "";
	position: absolute;
	z-index: 1;
	inset: 0 0 auto;
	height: 4px;
	background: var(--al-amal-preschool-brand-primary, #5e52e4);
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-card:nth-child(2)::before { background: var(--al-amal-preschool-accent-mint, #bee7d3); }
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-card:nth-child(3)::before { background: var(--al-amal-preschool-accent-gold, #f4c95d); }
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-card:nth-child(4)::before { background: var(--al-amal-preschool-accent-peach, #f7c9b6); }

@media (hover:hover) and (pointer:fine) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-card, .al-amal-preschool-home-post-card, .al-amal-preschool-home-event-card, .al-amal-preschool-home-quick-action):hover {
		transform: translateY(-3px);
		border-color: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 38%, var(--al-amal-preschool-token-border, #e4e6ed));
		box-shadow: var(--al-amal-preschool-home-premium-shadow-hover);
	}
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-event-card__date {
	border-radius: 12px;
	background: var(--al-amal-preschool-brand-gradient, linear-gradient(120deg,#5e52e4,#2f76c6));
	box-shadow: 0 7px 18px rgba(94,82,228,.16);
}

/* Faith and character: subtle geometry, no decorative overload. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision {
	overflow: hidden;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--mission_vision::before {
	content: "";
	position: absolute;
	width: 380px;
	height: 380px;
	inset: -170px -120px auto auto;
	border: 42px solid rgba(94,82,228,.045);
	border-radius: 50%;
	pointer-events: none;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-mission-card {
	border-radius: var(--al-amal-preschool-home-premium-radius);
	background: rgba(255,255,255,.82);
	backdrop-filter: blur(4px);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-mission-card::after {
	width: 5px;
	background: var(--al-amal-preschool-brand-primary, #5e52e4);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-mission-card--vision::after {
	background: var(--al-amal-preschool-brand-secondary, #2f76c6);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-mission-card__icon {
	border-radius: 14px;
	background: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 10%, #fff);
}

/* Admissions CTA: strongest brand moment, matching the eSchool family. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta {
	background: var(--al-amal-preschool-brand-gradient, linear-gradient(120deg,#5e52e4,#2f76c6)) !important;
	color: #fff;
	overflow: hidden;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta::before,
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: 50%;
	pointer-events: none;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta::before { width: 420px; height: 420px; right: -180px; bottom: -260px; }
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta::after { width: 300px; height: 300px; right: -80px; bottom: -210px; }

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta .al-amal-preschool-home-section__inner {
	position: relative;
	z-index: 1;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-cta {
	max-width: 780px;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-cta h2 {
	font-weight: 800;
	letter-spacing: -.03em;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-cta p {
	font-size: 1.05rem;
	color: rgba(255,255,255,.9);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta .al-amal-preschool-home-button--primary,
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta .al-amal-preschool-home-action--primary {
	background: #fff;
	border-color: #fff;
	color: var(--al-amal-preschool-brand-primary-hover, #4e48bc);
	box-shadow: 0 10px 26px rgba(22,28,65,.2);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta .al-amal-preschool-home-button--outline,
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--cta .al-amal-preschool-home-action--outline {
	border-color: rgba(255,255,255,.65);
	background: rgba(255,255,255,.08);
	color: #fff;
}

@media (max-width: 1024px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading {
		margin-bottom: 26px;
	}
}

@media (max-width: 767px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading {
		margin-bottom: 22px;
		text-align: left;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading::before {
		margin-left: 0;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading p {
		margin-left: 0;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action {
		min-height: 78px;
		padding: 13px;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-quick-action__icon {
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-card, .al-amal-preschool-home-post-card, .al-amal-preschool-home-event-card, .al-amal-preschool-home-quick-action) {
		transition: none;
	}
}

/* 3.1.5 — stronger Warm Playful Premium brand application. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading::before{
	content:"";
	display:block;
	width:54px;
	height:4px;
	margin:0 auto 12px;
	border-radius:999px;
	background:var(--al-amal-preschool-brand-gradient,linear-gradient(120deg,#5e52e4,#2f76c6));
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-section__inner{
	position:relative;
	padding:clamp(1.35rem,2.8vw,2rem);
	border:1px solid color-mix(in srgb,var(--al-amal-preschool-brand-primary,#5e52e4) 16%,var(--al-amal-preschool-token-border,#e4e6ed));
	border-radius:var(--al-amal-preschool-home-premium-radius,18px);
	background:linear-gradient(135deg,color-mix(in srgb,var(--al-amal-preschool-brand-primary,#5e52e4) 5%,#fff),color-mix(in srgb,var(--al-amal-preschool-brand-secondary,#2f76c6) 4%,#fff));
	box-shadow:0 12px 34px rgba(38,41,57,.07);
	overflow:hidden;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-section__inner::after{
	content:"";
	position:absolute;
	inset:0 0 auto;
	height:5px;
	background:var(--al-amal-preschool-brand-gradient,linear-gradient(120deg,#5e52e4,#2f76c6));
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-section__heading{
	position:relative;
	z-index:1;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action{
	position:relative;
	overflow:hidden;
	border-color:color-mix(in srgb,var(--al-amal-preschool-brand-primary,#5e52e4) 14%,var(--al-amal-preschool-token-border,#e4e6ed));
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action::before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:4px;
	background:var(--al-amal-preschool-brand-gradient,linear-gradient(180deg,#5e52e4,#2f76c6));
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(2)::before{background:var(--al-amal-preschool-accent-mint,#bee7d3)}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(3)::before{background:var(--al-amal-preschool-accent-gold,#f4c95d)}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(4)::before{background:var(--al-amal-preschool-accent-sky,#cfe3ff)}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(5)::before{background:var(--al-amal-preschool-accent-peach,#f7c9b6)}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-action--primary,.al-amal-preschool-home-button:not(.al-amal-preschool-home-button--outline)){
	background:var(--al-amal-preschool-brand-gradient,linear-gradient(120deg,#5e52e4,#2f76c6));
	border-color:transparent;
	color:#fff;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-action--primary,.al-amal-preschool-home-button:not(.al-amal-preschool-home-button--outline)):hover,
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] :where(.al-amal-preschool-home-action--primary,.al-amal-preschool-home-button:not(.al-amal-preschool-home-button--outline)):focus-visible{
	filter:saturate(1.08) brightness(.96);
	color:#fff;
}
@media(max-width:767px){
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section__heading::before{margin-inline-start:0;margin-inline-end:0}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-section__inner{padding:1rem}
}

/* 3.1.6 — Quick Actions cleanup and clearer family cards. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-section__inner {
	padding-top: 0;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-actions {
	gap: 18px;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action {
	position: relative;
	grid-template-columns: 52px minmax(0, 1fr) auto;
	gap: 14px;
	min-height: 112px;
	padding: 20px 18px;
	border: 1px solid color-mix(in srgb, var(--al-amal-preschool-token-border, #e4e6ed) 82%, var(--al-amal-preschool-brand-primary, #5e52e4));
	border-radius: 16px;
	background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 100%);
	box-shadow: 0 10px 28px rgba(38,41,57,.07);
	overflow: hidden;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--al-amal-preschool-brand-gradient, linear-gradient(120deg, #5e52e4, #2f76c6));
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 12%, #fff);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.66);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(2) .al-amal-preschool-home-quick-action__icon {
	background: color-mix(in srgb, var(--al-amal-preschool-accent-mint, #bee7d3) 62%, #fff);
	color: #356554;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(3) .al-amal-preschool-home-quick-action__icon {
	background: color-mix(in srgb, var(--al-amal-preschool-accent-gold, #f4c95d) 68%, #fff);
	color: #6a5411;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(4) .al-amal-preschool-home-quick-action__icon {
	background: color-mix(in srgb, var(--al-amal-preschool-accent-sky, #cfe3ff) 70%, #fff);
	color: #2f5d99;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(5) .al-amal-preschool-home-quick-action__icon {
	background: color-mix(in srgb, var(--al-amal-preschool-accent-peach, #f7c9b6) 68%, #fff);
	color: #8a4e39;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content {
	gap: 5px;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content strong {
	font-size: 1.04rem;
	line-height: 1.25;
	color: var(--al-amal-preschool-token-heading, #262939);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content small {
	font-size: .85rem;
	line-height: 1.45;
	color: var(--al-amal-preschool-token-text, #42445e);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__arrow {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 9%, #fff);
	color: var(--al-amal-preschool-brand-secondary, #2f76c6);
	font-size: 18px;
	font-weight: 700;
}

@media (hover:hover) and (pointer:fine) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:hover,
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:focus-visible {
		transform: translateY(-4px);
		border-color: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 42%, var(--al-amal-preschool-token-border, #e4e6ed));
		box-shadow: 0 16px 34px rgba(38,41,57,.12);
	}
}

@media (max-width: 767px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-actions {
		gap: 12px;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action {
		grid-template-columns: 46px minmax(0, 1fr) auto;
		min-height: 96px;
		padding: 16px 14px;
		gap: 12px;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon {
		width: 46px;
		height: 46px;
		border-radius: 14px;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content strong {
		font-size: .98rem;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content small {
		font-size: .8rem;
	}
}

/* 3.1.7 — make homepage quick links closer to the eSchool cards, but lighter. */
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-actions {
	gap: 16px;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action {
	position: relative;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 14px;
	min-height: 104px;
	padding: 18px 18px;
	border: 1px solid rgba(94, 82, 228, .16);
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(94, 82, 228, .10) 0%, rgba(94, 82, 228, .07) 40%, rgba(47, 118, 198, .10) 100%);
	box-shadow: 0 12px 30px rgba(38, 41, 57, .08);
	backdrop-filter: blur(6px);
	overflow: hidden;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,.16) 100%);
	pointer-events: none;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 3px;
	background: var(--al-amal-preschool-brand-gradient, linear-gradient(120deg, #5e52e4, #2f76c6));
	opacity: .9;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action > * {
	position: relative;
	z-index: 1;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(255,255,255,.46);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
	color: var(--al-amal-preschool-brand-primary, #5e52e4);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(2) .al-amal-preschool-home-quick-action__icon {
	color: #3a7fc1;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(3) .al-amal-preschool-home-quick-action__icon {
	color: #3d5cb8;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(4) .al-amal-preschool-home-quick-action__icon {
	color: #2f76c6;
}
body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(5) .al-amal-preschool-home-quick-action__icon {
	color: #5e52e4;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content {
	gap: 3px;
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content strong {
	font-size: 1.02rem;
	line-height: 1.25;
	color: #ffffff;
	text-shadow: 0 1px 1px rgba(38,41,57,.12);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content small {
	font-size: .84rem;
	line-height: 1.42;
	color: rgba(255,255,255,.92);
	text-shadow: 0 1px 1px rgba(38,41,57,.08);
}

body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__arrow {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: rgba(255,255,255,.24);
	color: #ffffff;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.34);
}

@media (hover:hover) and (pointer:fine) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:hover,
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:focus-visible {
		transform: translateY(-4px);
		border-color: rgba(94, 82, 228, .28);
		box-shadow: 0 16px 36px rgba(38, 41, 57, .12);
	}
}

@media (max-width: 767px) {
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action {
		grid-template-columns: 44px minmax(0, 1fr) auto;
		min-height: 94px;
		padding: 16px 14px;
		gap: 12px;
	}
	body.al-amal-preschool-home-builder-page [data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}
}

/* 3.1.9 — Quick Actions palette refresh built from the approved 3.1.7 base. */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions {
	background: transparent !important;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions > .al-amal-preschool-home-section__inner {
	position: relative;
	padding: 18px !important;
	border: 1px solid color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 14%, var(--al-amal-preschool-token-border, #e4e6ed));
	border-radius: 18px;
	background:
		radial-gradient(circle at 8% 10%, rgba(94,82,228,.08), transparent 24%),
		radial-gradient(circle at 92% 90%, rgba(47,118,198,.08), transparent 26%),
		linear-gradient(100deg, #f8f7ff 0%, #f5f6ff 48%, #f3f8ff 100%);
	box-shadow: 0 10px 28px rgba(38,41,57,.055);
	overflow: hidden;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions > .al-amal-preschool-home-section__inner::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--al-amal-preschool-brand-primary, #5e52e4), var(--al-amal-preschool-brand-secondary, #2f76c6));
	opacity: .9;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-actions {
	position: relative;
	z-index: 1;
	gap: 14px;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action {
	position: relative;
	grid-template-columns: 42px minmax(0,1fr) 30px;
	gap: 11px;
	min-height: 86px;
	padding: 14px 14px;
	border: 1px solid #e4e2f3;
	border-radius: 13px;
	background: rgba(255,255,255,.88);
	box-shadow: 0 5px 16px rgba(38,41,57,.045);
	color: var(--al-amal-preschool-token-heading, #262939);
	text-decoration: none;
	overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: var(--al-amal-preschool-brand-primary, #5e52e4);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(2)::before {
	background: var(--al-amal-preschool-brand-secondary, #2f76c6);
}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(3)::before {
	background: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 68%, var(--al-amal-preschool-accent-gold, #f4c95d));
}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(4)::before {
	background: color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 74%, var(--al-amal-preschool-accent-sky, #cfe3ff));
}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(5)::before {
	background: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 70%, var(--al-amal-preschool-accent-peach, #f7c9b6));
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #eeebff;
	color: var(--al-amal-preschool-brand-primary, #5e52e4);
	box-shadow: inset 0 0 0 1px rgba(94,82,228,.08);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(2) .al-amal-preschool-home-quick-action__icon {
	background: #e9f3ff;
	color: #2f76c6;
}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(3) .al-amal-preschool-home-quick-action__icon {
	background: #f3efff;
	color: #6654c8;
}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(4) .al-amal-preschool-home-quick-action__icon {
	background: #edf5ff;
	color: #397bbd;
}
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:nth-child(5) .al-amal-preschool-home-quick-action__icon {
	background: #f5efff;
	color: #7658c8;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon svg {
	width: 21px;
	height: 21px;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content {
	display: grid;
	gap: 3px;
	min-width: 0;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content strong {
	font-size: .93rem;
	font-weight: 750;
	line-height: 1.2;
	color: var(--al-amal-preschool-token-heading, #262939);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__content small {
	font-size: .76rem;
	line-height: 1.35;
	color: var(--al-amal-preschool-token-muted, #6f7890);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__arrow {
	display: grid;
	place-items: center;
	align-self: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: #f1f4ff;
	color: var(--al-amal-preschool-brand-secondary, #2f76c6);
	font-size: 16px;
	font-weight: 700;
}

@media (hover:hover) and (pointer:fine) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:hover,
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action:focus-visible {
		transform: translateY(-2px);
		border-color: color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 28%, #d9dce7);
		background: #fff;
		box-shadow: 0 10px 24px rgba(38,41,57,.09);
	}
}

@media (max-width: 1024px) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions > .al-amal-preschool-home-section__inner {
		padding: 15px !important;
	}
}

@media (max-width: 767px) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions > .al-amal-preschool-home-section__inner {
		padding: 12px !important;
		border-radius: 15px;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-actions {
		gap: 10px;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action {
		grid-template-columns: 40px minmax(0,1fr) 28px;
		min-height: 80px;
		padding: 12px;
		gap: 10px;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions .al-amal-preschool-home-quick-action__icon {
		width: 40px;
		height: 40px;
	}
}

/* 3.1.10 — remove the outer Quick Actions section top accent line. */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--quick_actions > .al-amal-preschool-home-section__inner::before {
	content: none;
	display: none;
}

/* 3.1.18 — Gutenberg homepage content cards.
 * Give embedded front-page Gutenberg rows the same calm, separated editorial
 * rhythm as the reference layout while keeping the Al-Amal violet/blue palette.
 */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--block_content {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--block_content > .al-amal-preschool-home-section__inner {
	padding-block: 8px 0;
	background: transparent;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content {
	display: grid;
	gap: clamp(22px, 2.4vw, 30px);
	width: 100%;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text),
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text) {
	position: relative;
	align-items: center !important;
	gap: clamp(24px, 3.4vw, 48px) !important;
	width: 100%;
	margin: 0 !important;
	padding: clamp(18px, 2.2vw, 26px) !important;
	border: 1px solid color-mix(in srgb, var(--al-amal-preschool-token-border, #e4e6ed) 84%, var(--al-amal-preschool-brand-secondary, #2f76c6));
	border-radius: var(--al-amal-preschool-token-radius-lg, 18px);
	background: var(--al-amal-preschool-token-surface, #ffffff);
	box-shadow: 0 8px 24px rgba(38, 41, 57, .065);
	overflow: hidden;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text)::before,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text)::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 3px;
	background: linear-gradient(90deg, var(--al-amal-preschool-brand-primary, #5e52e4), var(--al-amal-preschool-brand-secondary, #2f76c6));
	opacity: .78;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-columns > .wp-block-column {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

@supports selector(.wp-block-column:has(.wp-block-image)) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-columns > .wp-block-column:has(.wp-block-image) {
		flex-basis: 44%;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-columns > .wp-block-column:not(:has(.wp-block-image)) {
		flex-basis: 56%;
	}
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) :where(h1, h2, h3, h4, .wp-block-heading) {
	margin-top: 0;
	margin-bottom: .8rem;
	color: var(--al-amal-preschool-brand-secondary, #2f76c6);
	text-align: left !important;
	line-height: 1.22;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) :where(p, li) {
	color: var(--al-amal-preschool-token-text, #42445e);
	text-align: left !important;
	line-height: 1.7;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-buttons {
	justify-content: flex-start !important;
	margin-top: 1rem;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-button__link {
	min-height: 42px;
	padding: 10px 18px;
	border: 1px solid var(--al-amal-preschool-brand-primary, #5e52e4);
	border-radius: 8px;
	background: var(--al-amal-preschool-brand-primary, #5e52e4);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	box-shadow: none;
	transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-button__link:hover,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-button__link:focus-visible {
	border-color: var(--al-amal-preschool-brand-secondary, #2f76c6);
	background: var(--al-amal-preschool-brand-secondary, #2f76c6);
	color: #fff;
	transform: translateY(-1px);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-image {
	width: 100%;
	margin: 0;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-image img,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-media-text__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: contain;
	border: 1px solid color-mix(in srgb, var(--al-amal-preschool-token-border, #e4e6ed) 88%, transparent);
	border-radius: 13px;
	background: color-mix(in srgb, var(--al-amal-preschool-token-soft, #f4f5f9) 60%, #fff);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-media-text__content {
	padding: clamp(8px, 1.5vw, 18px) !important;
}

@media (hover:hover) and (pointer:fine) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text):hover,
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text):hover {
		border-color: color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 30%, var(--al-amal-preschool-token-border, #e4e6ed));
		box-shadow: 0 12px 30px rgba(38, 41, 57, .09);
	}
}

@media (max-width: 781px) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content {
		gap: 18px;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text),
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text) {
		gap: 18px !important;
		padding: 16px !important;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-columns {
		flex-direction: column;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-columns > .wp-block-column {
		width: 100%;
		flex-basis: auto !important;
	}
	@supports selector(.wp-block-column:has(.wp-block-image)) {
		[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-columns > .wp-block-column:has(.wp-block-image) {
			order: -1;
		}
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-image img,
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-media-text__media img {
		max-height: none;
	}
}

/* 3.1.19 — modern Gutenberg homepage section surfaces.
 * Separate front-page content rows with very light Al-Amal tints, clear
 * boundaries and a calmer premium spacing rhythm.
 */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content {
	gap: 0;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text),
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text) {
	isolation: isolate;
	margin: 0 0 clamp(24px, 2.7vw, 34px) !important;
	padding: clamp(26px, 3vw, 38px) !important;
	border: 1px solid color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 12%, var(--al-amal-preschool-token-border, #e4e6ed));
	border-radius: clamp(18px, 1.5vw, 22px);
	background:
		linear-gradient(135deg,
			color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 4%, #ffffff) 0%,
			#ffffff 48%,
			color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 4%, #ffffff) 100%);
	box-shadow: 0 10px 28px rgba(38, 41, 57, .055);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text):nth-child(even),
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text):nth-child(even) {
	border-color: color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 14%, var(--al-amal-preschool-token-border, #e4e6ed));
	background:
		linear-gradient(135deg,
			color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 4%, #ffffff) 0%,
			#ffffff 52%,
			color-mix(in srgb, var(--al-amal-preschool-brand-primary, #5e52e4) 3%, #ffffff) 100%);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text):last-child,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text):last-child {
	margin-bottom: 0 !important;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text)::before,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text)::before {
	height: 3px;
	background: linear-gradient(90deg,
		var(--al-amal-preschool-brand-primary, #5e52e4),
		var(--al-amal-preschool-brand-secondary, #2f76c6));
	opacity: .52;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) > :where(.wp-block-column, .wp-block-media-text__content) {
	min-width: 0;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) :where(h1, h2, h3, h4, .wp-block-heading) {
	margin-bottom: .9rem;
	letter-spacing: -.015em;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) :where(p, ul, ol) {
	margin-top: 0;
	margin-bottom: 1rem;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) :where(p, li) {
	font-size: clamp(.98rem, .95rem + .12vw, 1.05rem);
	line-height: 1.72;
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-image img,
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content .wp-block-media-text__media img {
	padding: 3px;
	border-color: color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 10%, var(--al-amal-preschool-token-border, #e4e6ed));
	border-radius: 16px;
	background: color-mix(in srgb, var(--al-amal-preschool-accent-sky, #cfe3ff) 14%, #ffffff);
	box-shadow: 0 7px 20px rgba(38, 41, 57, .045);
}

[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content :where(.wp-block-columns, .wp-block-media-text) .wp-block-button__link {
	padding: 11px 20px;
	border-radius: 10px;
	box-shadow: 0 5px 14px rgba(94, 82, 228, .12);
}

@media (hover:hover) and (pointer:fine) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text):hover,
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text):hover {
		transform: translateY(-2px);
		border-color: color-mix(in srgb, var(--al-amal-preschool-brand-secondary, #2f76c6) 24%, var(--al-amal-preschool-token-border, #e4e6ed));
		box-shadow: 0 15px 34px rgba(38, 41, 57, .075);
		transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
	}
}

@media (max-width: 781px) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text),
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text) {
		margin-bottom: 18px !important;
		padding: 18px !important;
		border-radius: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text),
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text) {
		transition: none;
	}
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > :where(.wp-block-columns, .wp-block-media-text):hover,
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-block-full-content > .wp-block-group > :where(.wp-block-columns, .wp-block-media-text):hover {
		transform: none;
	}
}

/* 3.1.21 — simple Page Content section surface.
 * Keep the 3.1.19 layout unchanged; only restore a quiet light-grey surface
 * and border around Home Builder block_content sections.
 */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--block_content {
	background: var(--al-amal-preschool-token-soft, #f4f5f9) !important;
	border: 1px solid var(--al-amal-preschool-token-border, #e4e6ed) !important;
	box-shadow: none !important;
}

/* 3.1.22 — spacing and rounded corners for Page Content sections only. */
[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--block_content {
	margin-block: 12px !important;
	border-radius: 18px !important;
	overflow: hidden;
}

@media (max-width: 767px) {
	[data-al-amal-preschool-home-builder] .al-amal-preschool-home-section--block_content {
		margin-block: 9px !important;
		border-radius: 14px !important;
	}
}
