/* OneKasb Education: scoped only to the education page, v0.8.2 */
body.onek-education-v082{background:#f7f7f8}
body.onek-education-v082 .onek-education-page{font-family:inherit;background:#f8f8f9;color:#242127;overflow:hidden;min-height:65vh}
.onek-education-page *{box-sizing:border-box}
.onek-education-hero{background:#cbcbcb;position:relative;overflow:hidden;isolation:isolate}
.onek-education-hero-inner{direction:rtl;max-width:1330px;min-height:453px;padding:136px 35px 34px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:30px}
.onek-education-hero-copy{grid-column:2;grid-row:1;direction:ltr;text-align:left;align-self:center;justify-self:stretch;position:relative;z-index:2}
.onek-education-eyebrow{display:block;direction:rtl;font-size:13px;text-align:left;color:#5c474e;font-weight:650;margin-bottom:6px}
.onek-education-hero h1{font-family:inherit;font-size:clamp(49px,6.5vw,91px);font-weight:900;letter-spacing:-.06em;line-height:1.05;margin:0;color:#970019}
.onek-education-hero-sub{font-family:inherit;color:#777176;font-size:clamp(25px,3vw,42px);font-weight:280;letter-spacing:.03em;display:block;line-height:1.15}
.onek-education-hero-copy p{margin:22px 0 0;text-align:left;font-size:clamp(14px,1.35vw,18px);line-height:1.95;font-weight:600;color:#332b30;direction:rtl}
.onek-education-hero-art{grid-column:1;grid-row:1;min-height:300px;display:flex;align-items:end;justify-content:center;position:relative}
.onek-education-hero-art>img{position:relative;width:auto;max-width:100%;height:clamp(295px,27vw,395px);object-fit:contain;z-index:2;mix-blend-mode:normal;filter:drop-shadow(0 16px 19px rgba(50,30,36,.08))}
.onek-education-hero-ring{position:absolute;width:390px;aspect-ratio:1;border-radius:50%;border:1px solid rgba(135,48,67,.14);top:4%;left:calc(50% - 195px);z-index:0}
.onek-education-hero-ring::before{content:"";position:absolute;inset:34px;border:1px solid rgba(135,48,67,.12);border-radius:50%}
.onek-education-guide{max-width:1320px;margin:0 auto;padding:30px 22px 24px}
.onek-education-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;direction:rtl}
.onek-education-guide-card{position:relative;text-align:right;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:29px;min-width:0;min-height:180px;padding:21px 23px;cursor:pointer;border:1px solid rgba(120,105,111,.21);border-radius:23px;color:#fff;background:#272228;box-shadow:0 14px 34px rgba(38,22,29,.12);overflow:hidden;transition:transform .27s,border-color .27s,box-shadow .27s}
.onek-education-guide-card:before{position:absolute;content:"";inset:0;pointer-events:none;background:radial-gradient(ellipse at 10% 5%,rgba(201,61,90,.29),transparent 58%),linear-gradient(135deg,rgba(150,0,24,.21),transparent);transition:transform .35s,opacity .35s}
.onek-education-guide-card.is-jooneh{background:#31242d}.onek-education-guide-card.is-business{background:#25292d}.onek-education-guide-card.is-events{background:#33282a}
.onek-education-guide-card:hover,.onek-education-guide-card:focus-visible{transform:translateY(-5px);border-color:rgba(213,70,103,.62);box-shadow:0 19px 39px rgba(45,8,20,.2);outline:none}
.onek-education-guide-card:hover:before{transform:scale(1.17)}
.onek-education-guide-card[aria-pressed="true"]{border:2px solid #b70834;box-shadow:0 0 0 3px rgba(150,0,24,.12),0 16px 30px rgba(45,8,20,.12)}
.onek-education-guide-card .onek-education-icon{position:relative;z-index:1;width:45px;height:45px;background:linear-gradient(145deg,#c40032,#90001d);border:1px solid #ffffff24;border-radius:14px;display:flex;align-items:center;justify-content:center;box-shadow:0 9px 23px #79001e55}
.onek-education-icon svg{width:25px;height:25px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.onek-education-guide-text{position:relative;z-index:1;display:flex;flex-direction:column;gap:3px}
.onek-education-guide-text strong{font-weight:770;font-size:clamp(18px,1.5vw,22px);line-height:1.5}
.onek-education-guide-text small{font-size:12px;line-height:1.7;color:rgba(255,255,255,.73)}
.onek-education-guide-text [data-edu-count]{display:inline-flex;align-items:center;align-self:flex-start;border-radius:16px;background:#fff2;border:1px solid #ffffff27;margin-top:6px;padding:2px 11px;color:#f9dfe4;font-size:11px}
.onek-education-show-all{display:block;margin:19px auto 0;border:1px solid #e7dbe0;background:#fff;color:#960018;padding:9px 22px;border-radius:26px;font-size:12px;font-family:inherit;cursor:pointer;transition:transform .2s,border-color .2s}
.onek-education-show-all:hover{border-color:#a50024;transform:translateY(-2px)}
.onek-education-listing{max-width:1320px;margin:0 auto 75px;padding:0 22px}
.onek-education-controls{display:grid;grid-template-columns:1fr 1fr;gap:18px;direction:rtl;padding:24px 27px;margin:0 0 24px;background:#fff;border:1px solid #eae2e7;box-shadow:0 12px 28px rgba(27,18,22,.035);border-radius:24px}
.onek-education-controls label{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#665c64;font-weight:600}
.onek-education-controls input,.onek-education-controls select{box-sizing:border-box;display:block;width:100%;min-height:48px;padding:10px 17px;background:#fff;border:1px solid #e2dae0;border-radius:14px;color:#403840;font:inherit;font-size:13px;outline:none}
.onek-education-controls input:focus,.onek-education-controls select:focus{border-color:#bd5b70;box-shadow:0 0 0 3px #96001812}
.onek-education-results{border:1px solid #e9e3e7;background:#fff;padding:25px 27px 30px;border-radius:25px;box-shadow:0 14px 36px #180d1611}
.onek-education-status{text-align:center;padding:36px 20px;color:#746c74;font-size:14px;line-height:2}
.onek-education-cards{display:flex;flex-direction:column;gap:19px}
.onek-education-card{display:grid;grid-template-columns:210px minmax(0,1fr) 163px;direction:rtl;gap:20px;padding:19px;border:1px solid #e6dde2;border-radius:19px;background:linear-gradient(120deg,#fff,#fff 70%,#fcfafb);box-shadow:0 6px 26px rgba(32,19,26,.028);transition:border-color .25s,box-shadow .25s}
.onek-education-card:hover{border-color:#d5bac3;box-shadow:0 13px 29px rgba(32,19,26,.06)}
.onek-education-card-cover{position:relative;min-height:200px;background:linear-gradient(145deg,#17151a,#93001d);overflow:hidden;border-radius:14px;display:flex;align-items:center;justify-content:center}
.onek-education-card-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(7,5,8,.23),transparent 58%)}
.onek-education-card-cover img{position:relative;width:100%;height:100%;max-height:265px;object-fit:cover;display:block}
.onek-education-card-cover .onek-education-fallback{font-size:52px;color:#fff5;line-height:1}
.onek-education-card-main{display:flex;flex-direction:column;gap:10px;min-width:0;text-align:right}
.onek-education-card-eyebrow{font-size:11px;color:#a0002c;display:flex;align-items:center;gap:9px;font-weight:640}
.onek-education-card h2{font-size:clamp(19px,1.6vw,25px);font-weight:800;line-height:1.65;margin:0;color:#221e24}
.onek-education-card-desc{margin:0;color:#635b65;font-size:13px;line-height:2.1;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.onek-education-facts{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:auto}
.onek-education-facts span{font-size:11px;background:#f7f4f6;color:#655d65;border:1px solid #eee7eb;border-radius:9px;padding:4px 9px;line-height:1.75}
.onek-education-card-actions{border-right:1px solid #eee5e9;padding-right:16px;display:flex;flex-direction:column;gap:10px;align-items:stretch;justify-content:center}
.onek-education-state{font-size:11px;text-align:center;color:#7c6570;border:1px solid #ebdce2;border-radius:10px;background:#fff7f9;padding:8px 6px;line-height:1.6}
.onek-education-state.is-open{color:#1a775c;border-color:#cae9dd;background:#f1fbf6}
.onek-education-state.is-full{color:#805e62;border-color:#eadfe1;background:#f8f3f4}
.onek-education-action{font-family:inherit;text-decoration:none!important;text-align:center;display:flex;justify-content:center;align-items:center;min-height:40px;padding:9px 8px;background:#960018;color:#fff!important;border:1px solid #960018;border-radius:10px;font-size:12px;font-weight:700;cursor:pointer;transition:transform .18s,background .18s}
.onek-education-action:hover{transform:translateY(-2px);background:#780015}
.onek-education-detail-button{font:inherit;cursor:pointer;border:1px solid #e1d5dc;background:#fff;color:#850020;border-radius:10px;min-height:37px;padding:7px;font-size:11px}
.onek-education-detail-button:hover{background:#fff3f6}
.onek-education-extra{grid-column:1/-1;border-top:1px solid #eee5e9;padding:15px 3px 1px}
.onek-education-extra[hidden]{display:none}
.onek-education-extra strong{display:block;font-size:13px;color:#322b33;margin:0 0 12px}
.onek-education-session-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.onek-education-session{background:#f9f7f8;border:1px solid #ede6e9;border-radius:12px;padding:12px;font-size:12px;line-height:1.8;display:flex;flex-direction:column;gap:4px}
.onek-education-session span{color:#726b73;font-size:11px}
.onek-education-more{display:block;margin:24px auto 0;cursor:pointer;border:1px solid #d7a8b6;background:#fff;color:#98001f;padding:10px 24px;border-radius:12px;font:inherit;font-size:12px}
.onek-education-more[hidden]{display:none}
@media(max-width:1080px){.onek-education-card{grid-template-columns:155px minmax(0,1fr) 135px;gap:14px}.onek-education-hero-inner{min-height:410px}.onek-education-guide-grid{gap:10px}.onek-education-guide-card{padding:19px 16px;min-height:174px}}
@media(max-width:760px){.onek-education-hero-inner{padding:130px 20px 24px;min-height:300px;gap:9px;grid-template-columns:minmax(0,1.13fr) minmax(0,.87fr)}.onek-education-hero h1{font-size:clamp(31px,6.2vw,50px)}.onek-education-hero-sub{font-size:clamp(18px,4vw,29px)}.onek-education-hero-copy p{font-size:11px;margin-top:12px}.onek-education-eyebrow{font-size:10px}.onek-education-hero-art{min-height:190px}.onek-education-hero-art>img{height:clamp(175px,38vw,255px)}.onek-education-hero-ring{width:230px;left:calc(50% - 115px)}.onek-education-guide{padding:20px 13px}.onek-education-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.onek-education-guide-card{min-height:165px;border-radius:16px;gap:17px}.onek-education-guide-text strong{font-size:15px}.onek-education-listing{padding:0 13px;margin-bottom:50px}.onek-education-controls{grid-template-columns:1fr;gap:13px;padding:16px;border-radius:17px}.onek-education-results{padding:14px;border-radius:17px}.onek-education-card{grid-template-columns:96px minmax(0,1fr);padding:13px;gap:12px;border-radius:15px}.onek-education-card-cover{min-height:130px}.onek-education-card-main h2{font-size:17px}.onek-education-card-desc{font-size:12px;-webkit-line-clamp:3}.onek-education-card-actions{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;border-right:0;border-top:1px solid #eee5e9;padding:11px 0 0;gap:8px}.onek-education-card-actions>*{flex:1;min-width:130px}.onek-education-extra{grid-column:1/-1}.onek-education-session-grid{grid-template-columns:1fr}.onek-education-facts span{font-size:10px}}
@media(max-width:390px){.onek-education-hero-inner{padding:116px 12px 20px}.onek-education-hero h1{font-size:27px}.onek-education-hero-sub{font-size:17px}.onek-education-guide-card{padding:14px 12px;min-height:150px}.onek-education-guide-text small{font-size:10px}.onek-education-guide-text strong{font-size:13px}.onek-education-card{grid-template-columns:80px minmax(0,1fr)}.onek-education-card h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){.onek-education-page button,.onek-education-card{transition:none!important}}


/* v0.8.4 | Consultation-style hero for education page. */
body.onek-education-v084 #onekasb-main.onek-education-page{background:#f7f7f8;color:#201b21;}
body.onek-education-v084 #onekasb-main .onek-education-hero{background:#cecece!important;min-height:0;}
body.onek-education-v084 #onekasb-main .onek-education-hero .onek-consult-intro-inner{min-height:435px!important;grid-template-columns:minmax(320px,.84fr) minmax(0,1.16fr)!important;gap:16px!important;}
body.onek-education-v084 #onekasb-main .onek-education-hero-art{grid-column:1;grid-row:1;height:clamp(320px,29vw,405px)!important;width:100%;max-width:none;display:flex;align-items:flex-end;justify-content:center;margin:0;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;}
body.onek-education-v084 #onekasb-main .onek-education-hero-art img{height:100%!important;width:auto!important;max-width:100%!important;display:block;object-fit:contain;object-position:center bottom;filter:none!important;mix-blend-mode:normal!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;}
@media(max-width:1050px){body.onek-education-v084 #onekasb-main .onek-education-hero .onek-consult-intro-inner{grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr)!important;min-height:390px!important}body.onek-education-v084 #onekasb-main .onek-education-hero-art{height:330px!important}}
@media(max-width:650px){body.onek-education-v084 #onekasb-main .onek-education-hero .onek-consult-intro-inner{padding:132px 18px 23px!important;min-height:320px!important;grid-template-columns:minmax(105px,.78fr) minmax(0,1.22fr)!important;gap:4px!important}body.onek-education-v084 #onekasb-main .onek-education-hero-art{height:205px!important;min-width:0}body.onek-education-v084 #onekasb-main .onek-education-guide{padding:20px 13px}body.onek-education-v084 #onekasb-main .onek-education-listing{padding:0 13px;margin-bottom:50px}}


/* v0.8.5 — three approved education brands. Scoped to education page only.
   Original brand logos are served unmodified from user supplied source files. */
body.onek-education-v084 #onekasb-main .onek-education-guide{
  width:min(1230px,calc(100% - 44px));max-width:1230px;margin:0 auto;padding:42px 0 38px;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;direction:rtl;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-card{
  --edu-accent:#9a1128;--edu-tint:rgba(154,17,40,.06);
  display:flex;position:relative;flex-direction:column;align-items:stretch;justify-content:flex-start;
  min-width:0;height:auto;min-height:390px;gap:0;padding:20px 20px 16px;
  background:#fff!important;color:#231e25!important;border:1px solid #e9e4e7!important;
  border-radius:23px;text-align:right;box-shadow:0 14px 37px rgba(25,15,25,.055)!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease!important;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-card.is-jooneh{--edu-accent:#081a7e;--edu-tint:rgba(8,26,126,.065)}
body.onek-education-v084 #onekasb-main .onek-education-guide-card.is-personal{--edu-accent:#64349c;--edu-tint:rgba(100,52,156,.065)}
body.onek-education-v084 #onekasb-main .onek-education-guide-card.is-brand{--edu-accent:#aa1329;--edu-tint:rgba(170,19,41,.055)}
body.onek-education-v084 #onekasb-main .onek-education-guide-card::before{content:none!important;display:none!important}
body.onek-education-v084 #onekasb-main .onek-education-guide-card::after{
  content:'';position:absolute;top:0;right:27px;width:72px;height:3px;border-radius:0 0 4px 4px;background:var(--edu-accent);
}
body.onek-education-v084 #onekasb-main .onek-education-guide-card:hover,
body.onek-education-v084 #onekasb-main .onek-education-guide-card:focus-visible{
  transform:translateY(-6px);border-color:color-mix(in srgb,var(--edu-accent) 30%,#fff)!important;
  box-shadow:0 22px 45px rgba(26,17,28,.13)!important;outline:none;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-card[aria-pressed="true"]{
  border:1px solid var(--edu-accent)!important;
  box-shadow:0 0 0 3px var(--edu-tint),0 16px 37px rgba(32,17,29,.08)!important;
}
body.onek-education-v084 #onekasb-main .onek-education-brand-logo{
  display:flex;width:100%;height:199px;align-items:center;justify-content:center;background:#fff;border-radius:13px;
  overflow:hidden;pointer-events:none;margin:0 0 7px;
}
body.onek-education-v084 #onekasb-main .onek-education-brand-logo img{
  width:100%;height:100%;object-fit:contain;object-position:center;display:block;
  transform:scale(1.28);transition:transform .35s ease;filter:none!important;mix-blend-mode:normal!important;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-card:hover .onek-education-brand-logo img,
body.onek-education-v084 #onekasb-main .onek-education-guide-card:focus-visible .onek-education-brand-logo img{
  transform:scale(1.34);
}
body.onek-education-v084 #onekasb-main .onek-education-guide-text{
  display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0;
  margin:0;padding:0 5px 14px;text-align:right;color:#1a1620!important;z-index:1;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-text strong{
  color:#1e1920!important;font-size:clamp(19px,1.5vw,24px);font-weight:800;line-height:1.45;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-text small{
  color:#69616b!important;font-size:12px;line-height:1.8;min-height:44px;max-width:100%;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-foot{
  margin-top:auto;border-top:1px solid #eee9ed;padding:12px 5px 0;display:flex;
  flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;color:#65606a;
  font-size:11px;line-height:1.75;z-index:1;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-foot [data-edu-count]{
  font-size:11px;font-weight:740;color:var(--edu-accent);direction:rtl;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-action{
  font-size:11px;color:#50434e;white-space:nowrap;display:inline-flex;align-items:center;gap:7px;
}
body.onek-education-v084 #onekasb-main .onek-education-guide-action span{color:var(--edu-accent);font-size:15px;transition:transform .2s ease}
body.onek-education-v084 #onekasb-main .onek-education-guide-card:hover .onek-education-guide-action span{transform:translateX(-4px)}
body.onek-education-v084 #onekasb-main .onek-education-show-all{
  background:#fff;border-color:#e6d6dc;color:#8c0823;font-family:inherit;
  margin:23px auto 0;padding:9px 23px;min-height:42px;
}
body.onek-education-v084 #onekasb-main .onek-education-show-all[aria-pressed="true"]{
  color:#8c0823;background:#fff7f9;border-color:#e1aebd;
}
body.onek-education-v084 #onekasb-main .onek-education-listing{scroll-margin-top:120px}
@media(max-width:940px){
  body.onek-education-v084 #onekasb-main .onek-education-guide{width:calc(100% - 36px);padding-top:31px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-grid{gap:10px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-card{min-height:355px;padding:14px 12px 13px;border-radius:17px}
  body.onek-education-v084 #onekasb-main .onek-education-brand-logo{height:170px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-text strong{font-size:19px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-text small{font-size:11px}
}
@media(max-width:640px){
  body.onek-education-v084 #onekasb-main .onek-education-guide{width:calc(100% - 26px);padding:24px 0 22px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-grid{grid-template-columns:1fr;gap:12px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-card{
    display:grid;grid-template-columns:108px minmax(0,1fr);grid-template-rows:auto auto;
    align-items:center;column-gap:13px;row-gap:7px;min-height:151px;padding:13px 15px;
    border-radius:17px;direction:rtl;
  }
  body.onek-education-v084 #onekasb-main .onek-education-brand-logo{
    width:108px;height:108px;grid-column:1;grid-row:1/3;margin:0;
  }
  body.onek-education-v084 #onekasb-main .onek-education-guide-text{
    grid-column:2;grid-row:1;min-width:0;padding:0;margin:0;justify-content:end;
  }
  body.onek-education-v084 #onekasb-main .onek-education-guide-text strong{font-size:20px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-text small{min-height:0;font-size:11px;line-height:1.85}
  body.onek-education-v084 #onekasb-main .onek-education-guide-foot{
    grid-column:2;grid-row:2;margin:0;padding:7px 0 0;gap:4px;justify-content:flex-start;
  }
  body.onek-education-v084 #onekasb-main .onek-education-guide-action{font-size:10px}
}
@media(max-width:365px){
  body.onek-education-v084 #onekasb-main .onek-education-guide-card{grid-template-columns:91px minmax(0,1fr);column-gap:8px;padding:10px}
  body.onek-education-v084 #onekasb-main .onek-education-brand-logo{width:91px;height:91px}
  body.onek-education-v084 #onekasb-main .onek-education-guide-text strong{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
  body.onek-education-v084 #onekasb-main .onek-education-guide-card,
  body.onek-education-v084 #onekasb-main .onek-education-brand-logo img,
  body.onek-education-v084 #onekasb-main .onek-education-guide-action span{transition:none!important;transform:none!important}
}


/* v0.8.7 — education history section between category cards and live events */
body.onek-education-v084 #onekasb-main .onek-education-story{
  width:min(1230px,calc(100% - 44px));max-width:1230px;margin:0 auto 12px;padding:4px 0 0;
}
body.onek-education-v084 #onekasb-main .onek-education-story-card{
  background:#fff;border:1px solid #e8e0e5;border-radius:28px;box-shadow:0 18px 46px rgba(24,13,22,.055);
  padding:22px;display:grid;grid-template-columns:minmax(0,1.16fr) minmax(300px,.84fr);gap:22px;overflow:hidden;
}
body.onek-education-v084 #onekasb-main .onek-education-story-feature{
  position:relative;min-height:460px;border-radius:24px;overflow:hidden;background:#1a161b;
}
body.onek-education-v084 #onekasb-main .onek-education-story-feature > img{
  position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center center;
}
body.onek-education-v084 #onekasb-main .onek-education-story-feature::after{
  content:'';position:absolute;inset:0;background:linear-gradient(110deg,rgba(14,10,13,.84) 0%,rgba(28,18,24,.66) 34%,rgba(66,0,20,.2) 70%,rgba(0,0,0,.1) 100%);
}
body.onek-education-v084 #onekasb-main .onek-education-story-copy{
  position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;
  min-height:100%;padding:34px 34px 36px;max-width:630px;color:#fff;
}
body.onek-education-v084 #onekasb-main .onek-education-story-kicker{
  display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;
  background:rgba(255,255,255,.14);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16);
  color:#fff6fa;font-size:12px;font-weight:700;line-height:1.7;margin:0 0 14px;
}
body.onek-education-v084 #onekasb-main .onek-education-story-copy h2{
  margin:0 0 13px;color:#fff;font-size:clamp(28px,2.5vw,43px);line-height:1.35;font-weight:870;
}
body.onek-education-v084 #onekasb-main .onek-education-story-copy p{
  margin:0;color:rgba(255,255,255,.92);font-size:14px;line-height:2.2;max-width:540px;
}
body.onek-education-v084 #onekasb-main .onek-education-story-copy strong{color:#fff}
body.onek-education-v084 #onekasb-main .onek-education-story-gallery{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-content:stretch;
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo{
  position:relative;min-height:145px;margin:0;border-radius:18px;overflow:hidden;background:#ece7ea;border:1px solid #ece3e8;
  box-shadow:0 10px 24px rgba(27,17,26,.055);
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo::after{
  content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(16,10,14,.18));pointer-events:none;
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo img{
  width:100%;height:100%;display:block;object-fit:cover;transform:scale(1.06);
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo.pos-1 img{object-position:center 18%}
body.onek-education-v084 #onekasb-main .onek-education-story-photo.pos-2 img{object-position:center 36%}
body.onek-education-v084 #onekasb-main .onek-education-story-photo.pos-3 img{object-position:center 50%}
body.onek-education-v084 #onekasb-main .onek-education-story-photo.pos-4 img{object-position:center 64%}
body.onek-education-v084 #onekasb-main .onek-education-story-photo.pos-5 img{object-position:center 78%}
body.onek-education-v084 #onekasb-main .onek-education-story-photo.pos-6 img{object-position:center 92%}
body.onek-education-v084 #onekasb-main .onek-education-story-wave{
  position:relative;height:92px;line-height:0;margin-top:-2px;overflow:hidden;pointer-events:none;
}
body.onek-education-v084 #onekasb-main .onek-education-story-wave svg{display:block;width:100%;height:100%}
body.onek-education-v084 #onekasb-main .onek-education-listing{position:relative;z-index:1;margin-top:-8px}
@media(max-width:980px){
  body.onek-education-v084 #onekasb-main .onek-education-story{width:calc(100% - 36px)}
  body.onek-education-v084 #onekasb-main .onek-education-story-card{grid-template-columns:1fr;gap:16px;padding:16px}
  body.onek-education-v084 #onekasb-main .onek-education-story-feature{min-height:390px}
  body.onek-education-v084 #onekasb-main .onek-education-story-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:640px){
  body.onek-education-v084 #onekasb-main .onek-education-story{width:calc(100% - 26px);padding-top:0}
  body.onek-education-v084 #onekasb-main .onek-education-story-card{padding:12px;border-radius:22px}
  body.onek-education-v084 #onekasb-main .onek-education-story-feature{min-height:335px;border-radius:18px}
  body.onek-education-v084 #onekasb-main .onek-education-story-copy{padding:22px 18px 24px}
  body.onek-education-v084 #onekasb-main .onek-education-story-copy h2{font-size:24px;line-height:1.45}
  body.onek-education-v084 #onekasb-main .onek-education-story-copy p{font-size:13px;line-height:2.05}
  body.onek-education-v084 #onekasb-main .onek-education-story-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.onek-education-v084 #onekasb-main .onek-education-story-photo{min-height:112px;border-radius:14px}
  body.onek-education-v084 #onekasb-main .onek-education-story-wave{height:72px}
}


/* 0.8.9: one-to-one square gallery tiles and a full-width archive panorama.
 * Scoped exclusively to the Education page; no homepage waves affected. */
body.onek-education-v084 #onekasb-main .onek-education-story-gallery{
  align-content:start;
  grid-auto-rows:auto;
}
body.onek-education-v084 #onekasb-main .onek-education-story-gallery > .onek-education-story-photo{
  position:relative;
  width:100%;height:auto!important;min-height:0!important;
  aspect-ratio:1/1;
  border-radius:18px;
  isolation:isolate;
  overflow:hidden;
  cursor:default;
  box-sizing:border-box;
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo > img{
  position:absolute;inset:0;
  width:100%;height:100%;max-height:none;
  object-fit:cover;display:block;
  transform:scale(1)!important;
  transition:transform .35s ease;
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo::after{
  content:'';
  position:absolute;inset:0;z-index:1;
  background:rgba(8,7,12,.66)!important;
  opacity:0;
  transition:opacity .3s ease;
  pointer-events:none;
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo-label{
  position:absolute;inset:0;z-index:2;
  margin:0;padding:12px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;direction:rtl;
  color:#fff;font-weight:790;font-size:clamp(14px,1.4vw,19px);line-height:1.6;
  text-shadow:0 1px 8px rgba(0,0,0,.25);
  opacity:0;transform:translateY(9px);
  transition:opacity .3s ease,transform .3s ease;
  pointer-events:none;
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo:hover::after,
body.onek-education-v084 #onekasb-main .onek-education-story-photo:focus-visible::after{opacity:1}
body.onek-education-v084 #onekasb-main .onek-education-story-photo:hover .onek-education-story-photo-label,
body.onek-education-v084 #onekasb-main .onek-education-story-photo:focus-visible .onek-education-story-photo-label{
  opacity:1;transform:translateY(0);
}
body.onek-education-v084 #onekasb-main .onek-education-story-photo:hover > img,
body.onek-education-v084 #onekasb-main .onek-education-story-photo:focus-visible > img{transform:scale(1.045)!important}
body.onek-education-v084 #onekasb-main .onek-education-story-photo:focus-visible{
  outline:2px solid #a00023;outline-offset:3px;
}
body.onek-education-v084 #onekasb-main .onek-education-archive-banner{
  width:100%;max-width:none;position:relative;overflow:hidden;
  height:clamp(160px,18vw,280px);
  margin:22px 0 32px;
  background:#171517;
}
body.onek-education-v084 #onekasb-main .onek-education-archive-banner img{
  display:block;width:100%;height:100%;
  object-fit:cover;object-position:center;
}
body.onek-education-v084 #onekasb-main .onek-education-listing{
  margin-top:0!important;
  scroll-margin-top:145px;
}
@media(max-width:640px){
  body.onek-education-v084 #onekasb-main .onek-education-story-gallery > .onek-education-story-photo{border-radius:13px}
  body.onek-education-v084 #onekasb-main .onek-education-archive-banner{height:156px;margin:17px 0 26px}
  body.onek-education-v084 #onekasb-main .onek-education-listing{scroll-margin-top:108px}
}
/* Touch users cannot hover: give them a small readable caption at the bottom. */
@media(hover:none){
  body.onek-education-v084 #onekasb-main .onek-education-story-photo::after{
    opacity:1;background:linear-gradient(0deg,rgba(6,5,8,.72),transparent 65%)!important;
  }
  body.onek-education-v084 #onekasb-main .onek-education-story-photo-label{
    opacity:1;transform:none;align-items:flex-end;font-size:12px;padding:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  body.onek-education-v084 #onekasb-main .onek-education-story-photo img,
  body.onek-education-v084 #onekasb-main .onek-education-story-photo::after,
  body.onek-education-v084 #onekasb-main .onek-education-story-photo-label{transition:none!important}
}
