/* OE – Key Themes Content Carousel (v1.0.3)
 * The WEBINARS card row of oe-key-themes-2027.html. Values, transitions and
 * easings are the prototype's, scoped under .oe-kt-cc. The arrows sit bottom
 * right under the cards (user's choice). --oe-* tokens come from the site; hex
 * values are only fallbacks.
 */
.oe-kt-cc {
	--oe-kt-ease: cubic-bezier(.2, .8, .2, 1);
	--oe-kt-rule: color-mix(in srgb, var(--oe-color-heritage-blue, #003466) 12%, transparent);
	--oe-kt-shadow-lift: 0 30px 60px -34px color-mix(in srgb, var(--oe-color-heritage-blue, #003466) 80%, transparent);
	width: 100%;
}
.oe-kt-cc .oe-kt-cc-note { margin: 0 0 var(--oe-spacing-small, .75rem); padding: var(--oe-spacing-xsmall, .5rem) var(--oe-spacing-small, .75rem); border-radius: var(--oe-border-radius-small, 4px); background: var(--oe-color-secondary-muted, #E8ECF4); font-size: var(--oe-font-size-small, .8rem); color: var(--oe-color-secondary, #003469); }
.oe-kt-cc .oe-kt-cc-empty { margin: 0; padding: var(--oe-spacing-medium, 1.5rem); border: 1px dashed var(--oe-kt-rule); }

/* Cards stagger in when scrolled to */
.oe-kt-cc .oe-kt-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s var(--oe-kt-ease); transition-delay: calc(var(--i, 0) * 80ms + 120ms); }
.oe-kt-cc .oe-kt-stagger.is-in > * { opacity: 1; transform: none; }

/* Card row */
.oe-kt-cc .oe-kt-webinars { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(var(--oe-kt-cc-w, 280px), 1fr); gap: var(--oe-spacing-medium, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0; padding: 0 0 var(--oe-spacing-base, 1rem); list-style: none; scrollbar-width: none; }
/* No visible scrollbar (user request); the row still scrolls by arrows, swipe, trackpad and keyboard */
.oe-kt-cc .oe-kt-webinars::-webkit-scrollbar { display: none; }
/* Room for the hover lift and shadow (0 30px 60px -34px reaches ~26px to the
   sides and ~56px below): a scrolling row clips anything outside its padding,
   which cut the shadow off sharply. The padding is cancelled by negative
   margins, so cards and arrows stay where they were; snapping keeps the first
   card lined up with the column. The side room is capped at 4vw so it never
   reaches past the page edge on phones. */
.oe-kt-cc .oe-kt-webinars { --oe-kt-cc-bleed: min(26px, 4vw); margin: -8px calc(var(--oe-kt-cc-bleed) * -1) -40px; padding: 8px var(--oe-kt-cc-bleed) 56px; scroll-padding-inline: var(--oe-kt-cc-bleed); }
.oe-kt-cc .oe-kt-webinars > li { margin: 0; scroll-snap-align: start; }
.oe-kt-cc .oe-kt-web { display: flex; flex-direction: column; height: 100%; border-radius: var(--oe-border-radius-large, 16px); background: var(--oe-color-primary-4, #ffffff); border: 1px solid var(--oe-kt-rule); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--oe-kt-ease), box-shadow .35s; }
.oe-kt-cc .oe-kt-web:hover { transform: translateY(-6px); box-shadow: var(--oe-kt-shadow-lift); color: inherit; }
.oe-kt-cc .oe-kt-web-img { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--oe-color-secondary, #003469); overflow: hidden; }
.oe-kt-cc .oe-kt-web-img img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .75; transition: transform .6s var(--oe-kt-ease), opacity .4s; }
.oe-kt-cc .oe-kt-web:hover .oe-kt-web-img img { transform: scale(1.06); opacity: .55; }
.oe-kt-cc .oe-kt-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: var(--oe-color-primary, #00addc); display: grid; place-items: center; transition: transform .35s var(--oe-kt-ease); }
.oe-kt-cc .oe-kt-play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--oe-color-primary, #00addc); animation: oe-kt-ping 2s ease-out infinite; }
@keyframes oe-kt-ping { 0% { opacity: .8; transform: scale(1) } 100% { opacity: 0; transform: scale(3.2) } }
.oe-kt-cc .oe-kt-play svg { width: 22px; height: 22px; fill: var(--oe-color-primary-4, #ffffff); margin-left: 3px; }
.oe-kt-cc .oe-kt-web:hover .oe-kt-play { transform: scale(1.12); }
.oe-kt-cc .oe-kt-web-body { padding: var(--oe-spacing-medium, 1.5rem); display: flex; flex-direction: column; gap: var(--oe-spacing-small, .75rem); flex: 1; }
/* Title: the prototype's <b> look, whatever the heading level */
.oe-kt-cc .oe-kt-web-body .oe-kt-web-title { margin: 0; font-size: 1rem; font-weight: 500; letter-spacing: normal; color: var(--oe-color-secondary, #003469); line-height: 1.35; }
.oe-kt-cc .oe-kt-web-body .oe-kt-web-label { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--oe-font-size-xsmall, .7rem); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--oe-color-sky-blue, #008AC8); }
.oe-kt-cc .oe-kt-web-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--oe-color-teal, #30B5AE); }

/* Arrows: bottom right under the cards. Two classes + :hover/:focus so the
   theme's button styles can't change them. */
.oe-kt-cc .oe-kt-scroll-btns { display: flex; justify-content: flex-end; gap: var(--oe-spacing-xsmall, .5rem); margin-top: var(--oe-spacing-small, .75rem); }
.oe-kt-cc .oe-kt-scroll-btns button,
.oe-kt-cc .oe-kt-scroll-btns button:hover,
.oe-kt-cc .oe-kt-scroll-btns button:focus { width: 44px; height: 44px; margin: 0; padding: 0; border-radius: 50%; border: 1px solid var(--oe-kt-rule); background: var(--oe-color-primary-4, #ffffff); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.oe-kt-cc .oe-kt-scroll-btns button:hover { background: var(--oe-color-secondary, #003469); border-color: var(--oe-color-secondary, #003469); }
.oe-kt-cc .oe-kt-scroll-btns svg { width: 18px; height: 18px; fill: none; stroke: var(--oe-color-secondary, #003469); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oe-kt-cc .oe-kt-scroll-btns button:hover svg { stroke: var(--oe-color-primary-4, #ffffff); }

/* Reduced motion (prototype: everything finishes instantly) */
@media (prefers-reduced-motion: reduce) {
	.oe-kt-cc *,
	.oe-kt-cc *::before,
	.oe-kt-cc *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
