/* Kia South Widgets: department-panels. Built from assets source, scoped under .ksw.ksw-department-panels */
:is(#ksw-scope,html) body .ksw.ksw-department-panels{background:#fff;color:var(--ink);padding:var(--sec) 0}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dept__head{margin-bottom:clamp(40px,5vw,64px)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dept__title{font-size:clamp(48px,7.4vw,112px);color:var(--ink)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dept__title span{display:block}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dept__title span:nth-child(2){color:#8A959C}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dept__title span:nth-child(3){color:#C3CACF}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .panels{display:flex;gap:8px;height:clamp(560px,72vh,700px)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp{position:relative;flex:1 1 0;min-width:0;overflow:hidden;background:var(--mist);color:#fff;transition:flex-grow .8s var(--ease-out);cursor:pointer;text-align:left}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active{flex-grow:3.2;cursor:default}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp .dp__img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transform:scale(1.08);filter:saturate(.85);transition:transform 1.2s var(--ease-out),filter .8s}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active .dp__img{transform:scale(1);filter:none}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(5,20,31,.15) 20%,rgba(5,20,31,.6) 58%,rgba(5,20,31,.95) 100%);pointer-events:none;transition:background .6s}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active::after{background:linear-gradient(180deg,rgba(5,20,31,.2) 12%,rgba(5,20,31,.7) 52%,rgba(5,20,31,.96) 100%)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__in{position:absolute;inset:auto 0 0 0;z-index:2;padding:clamp(24px,3vw,44px);display:flex;flex-direction:column;justify-content:flex-end}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__name{font-family:var(--f-head);font-weight:900;text-transform:uppercase;letter-spacing:-.035em;line-height:.92;font-size:clamp(26px,2.3vw,34px);margin-top:10px;white-space:nowrap;color:#fff;transition:font-size .6s var(--ease-out)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active .dp__name{font-size:clamp(40px,4vw,60px)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__more{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .7s var(--ease-out),opacity .4s}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active .dp__more{grid-template-rows:1fr;opacity:1;transition-delay:.15s}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__more>div{overflow:hidden;min-height:0}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__more p{margin-top:14px;color:rgba(255,255,255,.88);max-width:34ch;font-size:16px;line-height:1.65}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__ctas{margin-top:24px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__open{position:absolute;top:clamp(20px,2.4vw,32px);right:clamp(20px,2.4vw,32px);z-index:2;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.35);color:#fff;transition:transform .5s var(--ease-out),opacity .3s}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__open .ksw-i{width:18px;height:18px}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active .dp__open{opacity:0;transform:rotate(45deg)}
@media (max-width:900px){
:is(#ksw-scope,html) body .ksw.ksw-department-panels .panels{flex-direction:column;height:auto}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp{flex:none;height:132px;transition:height .7s var(--ease-out)}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp.active{height:560px}
:is(#ksw-scope,html) body .ksw.ksw-department-panels .dp__name{font-size:34px}
}
