/* Announcement bar slider (includes/announcements.php). Slides share one grid cell, so the widest one gives the bar
   its width; one is visible. Matches the old webinar bar: logo, PP Neue 15px white message, outlined uppercase pill. */
.elementor-widget-ioi_announcement_bar { flex: 1 1 auto; width: 100%; min-width: 0; }
.ioi-ann { position: relative; width: 100%; height: 24px; overflow: hidden; isolation: isolate; }
/* Soft edges only while slides fly in and out, so a wide slide at rest is never faded. */
.ioi-ann.is-switching {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.ioi-ann.is-empty { display: none; }
.ioi-ann-track { position: relative; display: grid; height: 100%; }
.ioi-ann-slide { grid-area: 1 / 1; position: relative; display: flex; align-items: center; justify-content: safe center; gap: 14px; min-width: 0;
	color: #FFFFFF !important; text-decoration: none !important; opacity: 0; visibility: hidden; pointer-events: none; }
.ioi-ann-slide.is-active, .ioi-ann-slide.is-leaving, .ioi-ann-slide.is-entering { visibility: visible; }
.ioi-ann-slide.is-active { opacity: 1; pointer-events: auto; }
.ioi-ann-slide.is-leaving, .ioi-ann-slide.is-entering { will-change: transform, opacity, filter; }
.ioi-ann-slide.is-leaving { transform-origin: 100% 50%; }
.ioi-ann-slide.is-entering { transform-origin: 0 50%; }
.ioi-ann-logo { display: flex; align-items: center; flex: none; line-height: 0; }
.ioi-ann-logo img { display: block; width: auto !important; max-width: none; max-height: 24px; }
.ioi-ann-text { min-width: 0; flex: 0 1 auto; font: 500 15px/1.3 "PP Neue Corp", "Albert Sans", sans-serif; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ioi-ann-cta { flex: none; display: inline-block; padding: 4px 12px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px;
	font: 700 12px/1 "Albert Sans", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #FFFFFF; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s; }
a.ioi-ann-slide:hover .ioi-ann-cta, a.ioi-ann-slide:focus-visible .ioi-ann-cta { background: #FFFFFF; color: #1E1C20; border-color: #FFFFFF; }
a.ioi-ann-slide:focus-visible { outline: 2px solid #FFFFFF; outline-offset: -2px; border-radius: 4px; }

/* Speed streaks that whip right-to-left across the bar during a switch, bright head leading. */
.ioi-ann-streaks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.ioi-ann-streaks i { position: absolute; left: 0; height: 1px; width: 38%; opacity: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .55) 30%, rgba(255, 193, 156, 0)); }
.ioi-ann-streaks i:nth-child(1) { top: 26%; }
.ioi-ann-streaks i:nth-child(2) { top: 52%; width: 54%; height: 2px; }
.ioi-ann-streaks i:nth-child(3) { top: 76%; width: 30%; }
.ioi-ann.is-switching .ioi-ann-streaks i { animation: ioi-ann-streak .46s cubic-bezier(.55, 0, .2, 1) both; }
.ioi-ann.is-switching .ioi-ann-streaks i:nth-child(2) { animation-delay: .04s; }
.ioi-ann.is-switching .ioi-ann-streaks i:nth-child(3) { animation-delay: .09s; }
@keyframes ioi-ann-streak {
	0% { transform: translateX(180%); opacity: 0; }
	20% { opacity: 1; }
	100% { transform: translateX(-150%); opacity: 0; }
}

@media (max-width: 1024px) {
	.ioi-ann-slide { gap: 10px; }
	.ioi-ann-text { font-size: 13px; }
	.ioi-ann-cta { padding: 3px 9px; font-size: 10px; }
}
@media (max-width: 767px) {
	.ioi-ann-logo { flex: 0 1 auto; min-width: 0; }
	.ioi-ann-logo img { max-width: 40vw; max-height: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.ioi-ann.is-switching .ioi-ann-streaks i { animation: none; }
}

/* Dismiss "X" at the far right of the bar (added to .ioi-topbar by the script). Dismissed = html.ioi-ann-dismissed
   (set in <head> from localStorage, so there is no flash): the bar goes and the header moves back to the top. */
/* Selector and !important beat the site-wide button style (dark #2D2D2D box with padding). */
.elementor-location-header .ioi-topbar button.ioi-ann-close { position: absolute; right: 6px; /* far right edge of the screen (owner) */ top: 50%; z-index: 3; display: grid; place-items: center;
	width: 28px !important; height: 28px !important; min-height: 0 !important; margin: -14px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important;
	background: transparent !important; color: #FFFFFF !important; box-shadow: none !important; font-size: 0 !important; line-height: 0 !important;
	opacity: .75; cursor: pointer; transition: opacity .2s, background-color .2s; }
.elementor-location-header .ioi-topbar button.ioi-ann-close:hover, .elementor-location-header .ioi-topbar button.ioi-ann-close:focus-visible { opacity: 1; background: rgba(255, 255, 255, .14) !important; }
.ioi-ann-close:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 1px; }
.ioi-ann-close svg { display: block; width: 12px; height: 12px; }
@media (max-width: 1024px) {
	.elementor-location-header .ioi-topbar button.ioi-ann-close { right: 4px; }
	.elementor-location-header .ioi-topbar:has(.ioi-ann-close) { padding-right: 30px !important; padding-left: 30px !important; }
}
/* Dismissed: the bar sits just above the screen (slides there when closed, from there when shown again). */
html.ioi-ann-dismissed .elementor-location-header .ioi-topbar { transform: translateY(-100%); visibility: hidden; pointer-events: none; }
html.ioi-ann-dismissed body .elementor-location-header { min-height: 0 !important; }
html.ioi-ann-dismissed body .elementor-location-header .main-header-block,
html.ioi-ann-dismissed body .elementor-location-header .main-header-block.scrolled { top: 0 !important; }
html.ioi-ann-dismissed body .ioi-anchor { scroll-margin-top: 130px; }


/* Announcements in the IOI | MENU panel: tucked at the bottom, small light-grey text, no logos (owner).
   header-menu.php tags it ioi-hm-foot (fades in with the panel, hides while a submenu is open); the doubled class beats
   the kit's foot padding. */
.ioi-hm-panel .ioi-hm-ann.ioi-hm-ann, .ioi-hm-ann { align-self: stretch; margin-top: 56px; /* a set gap under the menu, not pinned to the bottom (owner) */ width: 100%; max-width: none; padding: 28px 0 32px 40px !important; box-sizing: border-box; font-family: "Albert Sans", sans-serif; } /* 40px = the menu rows' text inset; !important beats the panel's own padding rules */
.ioi-hm-ann-title { margin: 0 0 10px !important; font-size: 11px !important; font-weight: 600; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; color: #E52525 !important; } /* red label (owner) */
.ioi-hm-ann ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ioi-hm-ann li { position: relative; margin: 0; padding: 0 0 0 16px; } /* small light-grey square bullet, text indented */
@media (min-width: 768px) { .ioi-hm-panel .ioi-hm-ann.ioi-hm-ann { width: calc(100% + 60px) !important; max-width: none !important; } } /* room for one line each; the panel has space right of the menu column */
.ioi-hm-ann li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: #D9D6DA; }
.ioi-hm-ann a { display: inline; font-size: 13px; line-height: 1.45; color: #8A858C !important; text-decoration: none !important; transition: color .2s; }
.ioi-hm-ann-cta { white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(138, 133, 140, .45); }
.ioi-hm-ann-cta::before { content: "("; text-decoration: none; display: inline-block; }
.ioi-hm-ann-cta::after { content: ")"; text-decoration: none; display: inline-block; }
.ioi-hm-ann a:hover, .ioi-hm-ann a:focus-visible { color: #1E1C20 !important; }
@media (max-width: 767px) {
	.ioi-hm-panel .ioi-hm-ann.ioi-hm-ann, .ioi-hm-ann { margin-top: 36px; padding: 24px 20px 28px 20px !important; }
	.ioi-hm-ann a { font-size: 12.5px; }
}

/* "Show bar" next to the menu's Announcements title, only while the bar is dismissed (owner, 2026-11-01). */
.ioi-hm-panel button.ioi-hm-ann-show, button.ioi-hm-ann-show { display: none; margin: 0 0 0 10px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
	background: none !important; box-shadow: none !important; min-height: 0 !important; width: auto !important; height: auto !important;
	font: 600 11px/1.2 "Albert Sans", sans-serif !important; letter-spacing: .12em; text-transform: uppercase; color: #8A858C !important;
	text-decoration: underline; text-underline-offset: 2px; cursor: pointer; vertical-align: baseline; }
html.ioi-ann-dismissed button.ioi-hm-ann-show { display: inline; }
.ioi-hm-panel button.ioi-hm-ann-show:hover, .ioi-hm-panel button.ioi-hm-ann-show:focus-visible { color: #1E1C20 !important; }

/* Show bar / X: bar, header row, the page's top spacing and an open menu panel move together on one curve
   (html.ioi-ann-animating only while switching, so first paint and normal scrolling never animate). */
html.ioi-ann-animating .elementor-location-header .ioi-topbar { transition: transform .5s cubic-bezier(.65, 0, .35, 1), visibility 0s linear 0s !important; }
html.ioi-ann-animating.ioi-ann-dismissed .elementor-location-header .ioi-topbar { transition: transform .5s cubic-bezier(.65, 0, .35, 1), visibility 0s linear .5s !important; }
html.ioi-ann-animating body .elementor-location-header { transition: min-height .5s cubic-bezier(.65, 0, .35, 1) !important; }
html.ioi-ann-animating body .elementor-location-header .main-header-block { transition: top .5s cubic-bezier(.65, 0, .35, 1) !important; }
html.ioi-ann-animating .ioi-hm-panel .e-off-canvas__overlay, html.ioi-ann-animating .ioi-hm-panel .e-off-canvas__main,
html.ioi-ann-animating .ioi-hm-panel .e-n-menu-content.slide-menu-top { transition: top .5s cubic-bezier(.65, 0, .35, 1), padding-top .5s cubic-bezier(.65, 0, .35, 1) !important; }
html.ioi-ann-animating .ioi-hm-panel .e-off-canvas__content { transition: padding-top .5s cubic-bezier(.65, 0, .35, 1) !important; }
@media (prefers-reduced-motion: reduce) {
	html.ioi-ann-animating .elementor-location-header .ioi-topbar, html.ioi-ann-animating body .elementor-location-header,
	html.ioi-ann-animating body .elementor-location-header .main-header-block, html.ioi-ann-animating .ioi-hm-panel * { transition: none !important; }
}
