.ken-carousel { position:relative; width:100%; max-width:none; --ken-carousel-visible:4; --ken-carousel-gap:24px; --ken-carousel-image-height:320px; touch-action:pan-y; }
.ken-carousel [hidden] { display:none!important; }
.ken-carousel__items { display:grid; grid-template-columns:repeat(var(--ken-carousel-effective,var(--ken-carousel-visible)),minmax(0,1fr)); gap:var(--ken-carousel-gap); }
.ken-carousel__item { min-width:0; animation:ken-carousel-fade .25s ease; }
.ken-carousel__lecturer { overflow:hidden; background:#fff; border:1px solid #e2e8f0; border-radius:16px; height:100%; }
.ken-carousel__image { height:var(--ken-carousel-image-height); overflow:hidden; }
.ken-carousel__image img { display:block; width:100%; height:100%; max-width:none; object-fit:cover; object-position:center top; border:0; border-radius:0; }
.ken-carousel__lecturer h3 { margin:0; padding:18px; color:#263247; font-size:18px; line-height:1.4; text-align:center; overflow-wrap:anywhere; }
.ken-carousel__placeholder { display:flex; align-items:center; justify-content:center; height:100%; background:#eef2f6; color:#64748b; }
.ken-carousel button { border:0; cursor:pointer; font:inherit; }
.ken-carousel__prev,.ken-carousel__next { position:absolute; top:calc(var(--ken-carousel-nav-height,var(--ken-carousel-image-height))/2); transform:translateY(-50%); width:40px; height:40px; padding:0; border-radius:50%; background:#172033cc; color:#fff; z-index:2; font-size:28px!important; line-height:1!important; }
.ken-carousel__prev { left:8px; }.ken-carousel__next { right:8px; }
.ken-carousel button:disabled { opacity:.35; cursor:default; }
.ken-carousel__dots { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; margin-top:20px; }
.ken-carousel__dots button { width:12px; height:12px; padding:0; border-radius:50%; background:#cbd5e1; }
.ken-carousel__dots button[aria-pressed="true"] { background:#2563eb; }
.ken-carousel__pause { display:block; margin:16px auto 0; padding:8px 12px; border-radius:6px; background:#eef2f6; color:#263247; }
.ken-carousel button:focus-visible { outline:3px solid #2563eb; outline-offset:3px; }
.ken-carousel__status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ken-carousel--partnership { --ken-carousel-image-height:150px; }
.ken-carousel--partnership .ken-carousel__image { padding:16px; }
.ken-carousel--partnership .ken-carousel__image img { object-fit:contain; object-position:center; }
@keyframes ken-carousel-fade { from {opacity:.4;} to {opacity:1;} }
@media(max-width:1024px) { .ken-carousel { --ken-carousel-visible:3; } }
@media(max-width:767px) { .ken-carousel { --ken-carousel-visible:1; } }
@media(prefers-reduced-motion:reduce) { .ken-carousel__item { animation:none; } }

/* Scoped navigation reset: theme button sizes/backgrounds must not override these controls. */
.ken-carousel button.ken-carousel__prev,
.ken-carousel button.ken-carousel__next {
    display:flex!important; align-items:center; justify-content:center;
    box-sizing:border-box!important; width:48px!important; height:48px!important;
    min-width:0!important; min-height:0!important; max-width:48px!important; max-height:48px!important;
    padding:0!important; margin:0!important; border:0!important; border-radius:0!important;
    background:transparent!important; background-image:none!important; box-shadow:none!important;
    color:#334155!important; font-size:0!important; line-height:1!important;
    text-shadow:none!important; appearance:none!important; -webkit-appearance:none!important;
}
.ken-carousel button.ken-carousel__prev:hover,
.ken-carousel button.ken-carousel__next:hover,
.ken-carousel button.ken-carousel__prev:focus,
.ken-carousel button.ken-carousel__next:focus { background:transparent!important; color:#334155!important; box-shadow:none!important; }
.ken-carousel__prev svg,.ken-carousel__next svg { display:block; width:32px; height:32px; fill:none; stroke:currentColor; stroke-width:2.5; filter:drop-shadow(0 1px 2px #0006); pointer-events:none; }
.ken-carousel .ken-carousel__dots button,
.ken-carousel .ken-carousel__dots button:hover,
.ken-carousel .ken-carousel__dots button:focus {
    display:block!important; flex:0 0 12px!important; box-sizing:border-box!important;
    width:12px!important; height:12px!important; min-width:12px!important; min-height:12px!important;
    max-width:12px!important; max-height:12px!important; padding:0!important; margin:0!important;
    border:0!important; border-radius:50%!important; background:#cbd5e1!important; background-image:none!important;
    color:transparent!important; font-size:0!important; line-height:0!important;
    box-shadow:0 0 0 1px #0003!important; appearance:none!important; -webkit-appearance:none!important;
}
.ken-carousel .ken-carousel__dots button[aria-pressed="true"] { background:#2563eb!important; }
.ken-carousel button.ken-carousel__prev::before,.ken-carousel button.ken-carousel__prev::after,
.ken-carousel button.ken-carousel__next::before,.ken-carousel button.ken-carousel__next::after,
.ken-carousel .ken-carousel__dots button::before,.ken-carousel .ken-carousel__dots button::after { content:none!important; display:none!important; }
.ken-carousel button[hidden] { display:none!important; }

.ken-carousel__viewport { overflow:hidden; }
.ken-carousel[data-effect="slide"] .ken-carousel__items { display:flex; direction:ltr; transition:transform .45s ease; }
.ken-carousel[data-effect="slide"] .ken-carousel__item { flex:0 0 calc((100% - (var(--ken-carousel-effective,4) - 1)*var(--ken-carousel-gap))/var(--ken-carousel-effective,4)); animation:none; }
.ken-carousel-heading { text-align:center; margin-bottom:24px; }
.ken-carousel-heading h2 { margin:0 0 10px; }
.ken-carousel-heading p { margin:0; }
@media(prefers-reduced-motion:reduce) { .ken-carousel[data-effect="slide"] .ken-carousel__items { transition:none; } }

.ken-carousel--lecturer[data-photo-shape="portrait"] .ken-carousel__image { position:relative; height:auto; aspect-ratio:3/4; }
.ken-carousel--lecturer[data-photo-shape="portrait"] .ken-carousel__image img,
.ken-carousel--lecturer[data-photo-shape="portrait"] .ken-carousel__placeholder { position:absolute; inset:0; width:100%; height:100%; }

.elementor-widget-ken-elementor-addons-lecturer-carousel,
.elementor-widget-ken-elementor-addons-partnership-carousel,
.elementor-widget-ken-elementor-addons-lecturer-carousel > .elementor-widget-container,
.elementor-widget-ken-elementor-addons-partnership-carousel > .elementor-widget-container { min-width:0; width:100%; }
.ken-carousel,.ken-carousel * { box-sizing:border-box; }
.ken-carousel__viewport { width:100%; min-width:0; }
.ken-carousel__items { width:100%; min-width:0; max-width:100%; }
.ken-carousel__image img { width:100%!important; height:100%!important; margin:0; }
@media(max-width:767px) {
 .ken-carousel { --ken-carousel-gap:16px; }
 .ken-carousel__lecturer h3 { padding:14px; font-size:16px; }
 .ken-carousel__dots { gap:8px; margin-top:16px; }
 .ken-carousel__prev { left:2px; }.ken-carousel__next { right:2px; }
 .ken-carousel__prev svg,.ken-carousel__next svg { width:26px; height:26px; }
 .ken-carousel--partnership .ken-carousel__image { padding:12px; }
}
