/* V3.2.19 — section/layout reference: kebar.sa (user-provided PDF 16-11-2026).
 * Uses only current association content. Beige identity. Switchable in Appearance > Homepage sections. */
.at-kebar-inspired{--kb-deep:#4b342a;--kb-dark:#654a3b;--kb-warm:#986c4b;--kb-ivory:#fffcf8;--kb-sand:#f6ede2;--kb-border:#e7d7c4;--kb-muted:#766354;direction:rtl;font-family:inherit}
.at-kebar-inspired .at-home-section{padding-block:clamp(64px,7.5vw,110px);background:var(--kb-ivory)!important;color:var(--kb-deep);position:relative}
.at-kebar-inspired .at-home-section:nth-child(even){background:#faf6f0!important}
.at-kebar-inspired .at-home-section-inner{position:relative;z-index:1}
.at-kebar-inspired .at-home-section-head{margin:0 0 40px;max-width:none}
.at-kebar-inspired .at-home-title-row{display:flex;justify-content:flex-start;align-items:center;gap:13px;position:relative}
.at-kebar-inspired .at-home-section-head h2{color:var(--kb-deep)!important;font-size:clamp(1.8rem,3vw,2.7rem);font-weight:900;line-height:1.35;border-inline-start:3px solid var(--kb-warm);padding-inline-start:19px;margin:0}
.at-kebar-inspired .at-home-title-row:after{content:"";height:1px;background:linear-gradient(to left,var(--kb-border),transparent);flex:1;margin-inline-start:18px}
.at-kebar-inspired .at-ref-eyebrow{color:var(--kb-warm);font-weight:700;font-size:.78rem;letter-spacing:.02em}
.at-kebar-inspired .at-home-section-intro{color:var(--kb-muted);margin-top:15px}
.at-kebar-inspired .at-home-section-icon{color:var(--kb-warm)!important;background:#f4e7d8;border-radius:13px;padding:8px;display:inline-flex}
/* First fold: reference's split large photographic hero with oversized introduction and adjacent service navigation. */
.at-kebar-inspired .at-home-section-hero{padding:0!important;min-height:clamp(500px,65vw,710px);background:linear-gradient(120deg,#3d2a26,#70513f)!important;overflow:hidden;border-radius:0}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-scene{min-height:inherit;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-content{grid-column:1;grid-row:1;align-self:center;padding:clamp(35px,5vw,75px);z-index:3;max-width:none;margin:0;min-width:0}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-image{grid-column:2;grid-row:1;position:relative;inset:auto;min-height:480px;overflow:hidden;border-radius:0 0 0 90px}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-image:before{content:"";inset:0;position:absolute;z-index:1;background:linear-gradient(90deg,rgba(75,52,42,.15),transparent)}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-image img,.at-kebar-inspired .at-home-section-hero .at-ref-hero-image picture{width:100%;height:100%;object-fit:cover}
.at-kebar-inspired .at-home-section-hero .at-home-section-head h2{font-size:clamp(2.25rem,4.5vw,4.7rem);color:#fff9f0!important;border:0;padding:0}
.at-kebar-inspired .at-home-section-hero .at-home-title-row:after{display:none}
.at-kebar-inspired .at-home-section-hero .at-home-section-intro,.at-kebar-inspired .at-home-section-hero .at-home-section-intro p{color:#f3e3d0!important}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-kicker{color:#f9e9d9;border:1px solid #ffffff48;border-radius:50px;background:#ffffff18;padding:7px 17px;display:inline-flex}
.at-kebar-inspired .at-home-section-hero .at-home-button{border-radius:50px;background:#c7a27d!important;color:#302018!important;box-shadow:0 8px 22px #140d0a22}
.at-kebar-inspired .at-home-section-services{background:linear-gradient(120deg,#624735,#85634b)!important;padding-block:27px!important}
.at-kebar-inspired .at-home-section-services .at-home-section-head{margin:0 0 22px}
.at-kebar-inspired .at-home-section-services .at-home-section-head h2{color:#fff5e9!important}
.at-kebar-inspired .at-home-section-services .at-home-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.at-kebar-inspired .at-home-section-services .at-home-service{background:#ffffff16!important;color:#fff6eb;border:1px solid #ffffff38!important;box-shadow:none;border-radius:18px}
.at-kebar-inspired .at-home-section-services .at-home-service h3,.at-kebar-inspired .at-home-section-services .at-home-service p,.at-kebar-inspired .at-home-section-services .at-ref-card-more{color:#fff6e9!important}
.at-kebar-inspired .at-home-section-services .at-home-service .at-home-card-media{aspect-ratio:18/8}
/* Reference: five quantitative tiles, then a two-column vision & mission presentation. */
.at-kebar-inspired .at-home-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}
.at-kebar-inspired .at-home-stat{border-radius:20px;background:#f3e6d9!important;border:1px solid #dec8b3!important;box-shadow:0 9px 25px #67462c12;padding:26px 12px;text-align:center}
.at-kebar-inspired .at-home-stat strong{font-size:clamp(1.5rem,2.6vw,2.8rem);color:#775038!important;display:block}
.at-kebar-inspired .at-home-stat span{color:#59473a}
.at-kebar-inspired .at-home-vision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.at-kebar-inspired .at-home-vision-item{background:#fffdfa!important;border:1px solid var(--kb-border)!important;border-radius:25px;box-shadow:0 4px 8px #55402b0b;padding:30px;line-height:1.9}
.at-kebar-inspired .at-home-vision-item h3{color:#765139!important}
.at-kebar-inspired .at-home-objectives{grid-column:1/-1}
/* Reference: 3-up editorial project/news cards with prominent image, date, title and affordance. */
.at-kebar-inspired .at-home-section-projects .at-home-cards,.at-kebar-inspired .at-home-section-news .at-home-cards,.at-kebar-inspired .at-home-section-events .at-home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.at-kebar-inspired .at-home-card{border-radius:24px!important;background:#fffdfa!important;border:1px solid #ede1d3!important;box-shadow:0 13px 35px #4936290e!important;overflow:hidden}
.at-kebar-inspired .at-home-card-media{aspect-ratio:16/10}
.at-kebar-inspired .at-home-card-body{padding:23px 25px!important}
.at-kebar-inspired .at-home-card-body h3,.at-kebar-inspired .at-home-card-body h3 a{color:var(--kb-deep)!important}
.at-kebar-inspired .at-ref-card-more{color:#876044!important}
/* Distinct dark media strip, 2 video panels. */
.at-kebar-inspired .at-home-section-videos{background:linear-gradient(145deg,#52392c,#806048)!important;color:#fff6ed}
.at-kebar-inspired .at-home-section-videos .at-home-section-head h2{color:#fff7ed!important;border-color:#e0b791}
.at-kebar-inspired .at-kebar-videos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}
.at-kebar-inspired .at-kebar-video{aspect-ratio:16/9;overflow:hidden;border-radius:24px;background:#241a15;box-shadow:0 15px 35px #1f120d44}
.at-kebar-inspired .at-kebar-video iframe{width:100%;height:100%;border:0}
/* Reference: prominent 3-up testimonials, then 5-column logo partnerships. */
.at-kebar-inspired .at-home-section-testimonials .at-home-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.at-kebar-inspired .at-home-quote{background:#fffdfa!important;border:1px solid var(--kb-border)!important;border-radius:25px;padding:32px;box-shadow:0 10px 22px #5d483015;line-height:1.85}
.at-kebar-inspired .at-ref-partner-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.at-kebar-inspired .at-ref-partner{border-radius:20px;background:#fffdfa;border:1px solid var(--kb-border);padding:18px;min-height:128px;display:flex;align-items:center;justify-content:center}
.at-kebar-inspired .at-home-section-volunteering{background:#f1e4d5!important}
.at-kebar-inspired .at-home-section-volunteering .at-home-section-inner{border:1px solid var(--kb-border);border-radius:26px;padding:35px 40px;background:linear-gradient(120deg,#f7eee4,#fffdfa);display:flex;align-items:center;justify-content:space-between;gap:25px;flex-wrap:wrap}
.at-kebar-inspired .at-home-section-volunteering .at-home-section-head{margin:0}
.at-kebar-inspired .at-home-section-volunteering .at-home-button{border-radius:50px}
@media(max-width:900px){.at-kebar-inspired .at-home-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.at-kebar-inspired .at-home-section-services .at-home-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.at-kebar-inspired .at-ref-partner-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.at-kebar-inspired .at-home-section-hero .at-ref-hero-scene{display:flex;flex-direction:column-reverse}.at-kebar-inspired .at-home-section-hero .at-ref-hero-image{min-height:260px;height:45vh;max-height:430px;border-radius:0 0 38px 38px}.at-kebar-inspired .at-home-section-hero .at-ref-hero-content{padding:32px 23px 45px}.at-kebar-inspired .at-home-section-hero{min-height:0}.at-kebar-inspired .at-home-section-hero .at-home-section-head h2{font-size:2.2rem}.at-kebar-inspired .at-home-section{padding-block:55px}.at-kebar-inspired .at-home-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.at-kebar-inspired .at-home-vision-grid,.at-kebar-inspired .at-home-section-projects .at-home-cards,.at-kebar-inspired .at-home-section-news .at-home-cards,.at-kebar-inspired .at-home-section-events .at-home-cards,.at-kebar-inspired .at-kebar-videos,.at-kebar-inspired .at-home-section-testimonials .at-home-cards{grid-template-columns:1fr}.at-kebar-inspired .at-ref-partner-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.at-kebar-inspired .at-home-section-head h2{font-size:1.8rem}.at-kebar-inspired .at-home-section-volunteering .at-home-section-inner{padding:25px}}
/* Partner logos use the existing accessible slider, not a replacement carousel. */
.at-kebar-inspired .at-partners-slider .at-partners-track{grid-auto-columns:calc((100% - 4*var(--at-partners-gap))/5)}
.at-kebar-inspired .at-partners-slider:not(.at-partners-ready) .at-partners-track{grid-template-columns:repeat(5,minmax(0,1fr))}
.at-kebar-inspired .at-partners-card{border:1px solid var(--kb-border)!important;background:#fffdfa!important;border-radius:19px}
.at-kebar-inspired .at-partners-card-link{min-height:165px;padding:17px}
.at-kebar-inspired .at-partners-name{color:var(--kb-deep)}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-image{z-index:0}
.at-kebar-inspired .at-home-section-hero .at-ref-hero-scene:after{z-index:1;background:linear-gradient(90deg,#50372e2b,transparent 65%);pointer-events:none}
@media(max-width:900px){.at-kebar-inspired .at-partners-slider .at-partners-track{grid-auto-columns:calc((100% - 2*var(--at-partners-gap))/3)}.at-kebar-inspired .at-partners-slider:not(.at-partners-ready) .at-partners-track{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.at-kebar-inspired .at-partners-slider .at-partners-track{grid-auto-columns:100%}.at-kebar-inspired .at-partners-slider:not(.at-partners-ready) .at-partners-track{grid-template-columns:1fr}}
