/* Innova site search: header button, search panel, footer box and results page */
:root { --iws-ink: #27272c; --iws-muted: #5f6166; --iws-line: #ece7e8; --iws-soft: #f8f6f5; --iws-orange: #f25d21; --iws-dark: #26282a; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header button */
.hybd-navigation-right-content { display: flex; align-items: center; justify-content: flex-end; } /* keeps the button on the same line as the menu */
.iws-trigger { display: inline-flex; align-items: center; gap: 8px; margin-left: 24px; padding: 6px 12px; min-height: 34px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .8); font: inherit; font-size: 13px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, color .15s ease; }
.iws-trigger:hover { border-color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); color: #fff; }
.iws-trigger:focus-visible { outline: 3px solid var(--iws-orange); outline-offset: 3px; }
@media (max-width: 991px) {
    .iws-trigger { order: -1; margin: 0 8px 0 0; padding: 8px; border-color: transparent; }
    .iws-trigger__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* Search panel */
.iws-open, .iws-open body { overflow: hidden; }
.iws-panel { position: fixed; inset: 0; z-index: 100000; }
.iws-panel[hidden] { display: none; }
.iws-panel__backdrop { position: absolute; inset: 0; background: rgba(20, 21, 23, .6); }
.iws-panel__sheet { position: relative; max-height: 88vh; overflow-y: auto; background: #fff; color: var(--iws-ink); padding: 28px 0 36px; box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .45); animation: iws-in .18s ease-out; }
@keyframes iws-in { from { transform: translateY(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.iws-panel__form { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 2px solid var(--iws-ink); }
.iws-panel__icon { flex-shrink: 0; color: var(--iws-muted); }
.iws-panel__input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--font-aeonik, inherit); font-size: clamp(1.25rem, 2.6vw, 2rem); color: var(--iws-ink); outline: none; }
.iws-panel__input::placeholder { color: #9a9ca0; }
.iws-panel__input::-webkit-search-cancel-button { display: none; }
.iws-panel__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--iws-soft); color: var(--iws-ink); cursor: pointer; }
.iws-panel__close:focus-visible, .iws-panel a:focus-visible { outline: 3px solid var(--iws-orange); outline-offset: 2px; }
.iws-panel__results { padding-top: 24px; min-height: 80px; transition: opacity .15s ease; }
.iws-panel__results.is-loading { opacity: .5; }
.iws-panel__hint, .iws-panel__group-title { margin: 0 0 12px; font-size: 13px; letter-spacing: .56px; text-transform: uppercase; color: var(--iws-muted); }
.iws-panel__empty { margin: 0; color: var(--iws-muted); }
.iws-panel__empty a { color: var(--iws-ink); }
.iws-panel__groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px 40px; }
.iws-panel__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.iws-hit { display: flex; align-items: center; gap: 14px; padding: 10px; margin: 0 -10px; border-radius: 12px; color: var(--iws-ink); text-decoration: none; }
.iws-hit:hover, .iws-hit:focus-visible { background: var(--iws-soft); }
.iws-hit img, .iws-hit__ph { width: 52px; height: 52px; flex-shrink: 0; border-radius: 10px; object-fit: cover; background: var(--iws-soft); }
.iws-hit__title { display: block; font-family: var(--font-aeonik, inherit); font-size: 1.05rem; line-height: 1.3; }
.iws-hit__text { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; font-size: 14px; color: var(--iws-muted); }
.iws-panel__all { display: inline-block; margin-top: 24px; font-weight: 500; color: var(--iws-ink); text-decoration: underline; text-underline-offset: 4px; }

/* Chips (suggestions) */
.iws-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.iws-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border: 1px solid var(--iws-line); border-radius: 999px; background: #fff; color: var(--iws-ink); font-size: 15px; text-decoration: none; }
.iws-chip:hover { border-color: var(--iws-ink); }

/* Reusable form (footer and results page) */
.iws-form { display: flex; align-items: stretch; max-width: 520px; border-radius: 999px; overflow: hidden; }
.iws-form__input { flex: 1; min-width: 0; min-height: 50px; padding: 0 22px; border: 0; font: inherit; font-size: 16px; outline: none; } /* 16px stops iPhone auto-zoom */
.iws-form__button { display: inline-flex; align-items: center; justify-content: center; width: 56px; border: 0; background: var(--iws-orange); color: #fff; cursor: pointer; }
.iws-form__button:hover { background: #d24a14; }
.iws-form:focus-within { outline: 3px solid var(--iws-orange); outline-offset: 3px; }

/* Footer box */
.iws-footer-wrap { display: block; }
.iws-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: 32px 0; padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.iws-footer[hidden] { display: none; }
.iws-footer__label { margin: 0; font-family: var(--font-aeonik, inherit); font-size: 1.4rem; color: #fff; }
.iws-form--footer { flex: 1 1 360px; min-width: 0; width: 100%; }
.iws-form--footer .iws-form__input { background: rgba(255, 255, 255, .08); color: #fff; }
.iws-form--footer .iws-form__input::placeholder { color: rgba(255, 255, 255, .6); }

/* Results page */
.iws-results .cpd-hero__title-container { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.iws-results__label { margin: 0 0 16px; font-size: 14px; letter-spacing: .56px; text-transform: uppercase; color: var(--iws-orange); }
.iws-form--hero { margin-top: 24px; background: #fff; }
.iws-form--hero .iws-form__input { background: #fff; color: var(--iws-ink); }
.iws-jump { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 1px solid var(--iws-line); }
.iws-jump .container { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.iws-jump__link { color: var(--iws-ink); text-decoration: none; font-size: 15px; }
.iws-jump__link span { color: var(--iws-muted); }
.iws-jump__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.iws-group { padding: 64px 0 0; scroll-margin-top: 70px; }
.iws-group:last-of-type { padding-bottom: 100px; }
.iws-group__title { margin: 0 0 24px; font-family: var(--font-aeonik, inherit); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--iws-ink); }
.iws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 16px; }
.iws-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px 52px 20px 20px; border: 1px solid var(--iws-line); border-radius: 18px; background: #fff; color: var(--iws-ink); text-decoration: none; transition: border-color .15s ease; }
.iws-card:hover { border-color: var(--iws-ink); }
.iws-card:focus-visible { outline: 3px solid var(--iws-orange); outline-offset: 3px; }
.iws-card__thumb { width: 72px; height: 72px; flex-shrink: 0; border-radius: 12px; object-fit: cover; }
.iws-card__title { display: block; font-family: var(--font-aeonik, inherit); font-size: 1.2rem; line-height: 1.3; margin-bottom: 6px; }
.iws-card__text { display: block; font-size: 15px; line-height: 1.5; color: var(--iws-muted); }
.iws-card__arrow { position: absolute; right: 20px; top: 22px; color: var(--iws-orange); }
.iws-js .iws-group:not(.is-expanded) .iws-card.is-extra { display: none; } /* without JavaScript, everything shows */
.iws-more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 20px; padding: 10px 22px; border: 1px solid var(--iws-ink); border-radius: 999px; background: transparent; color: var(--iws-ink); font: inherit; font-size: 15px; cursor: pointer; }
.iws-more:hover { background: var(--iws-ink); color: #fff; }
.iws-more:focus-visible { outline: 3px solid var(--iws-orange); outline-offset: 3px; }
.iws-help { margin: 28px 0 0; color: var(--iws-muted); }
.iws-help a { color: var(--iws-ink); }

@media (max-width: 640px) { .iws-card { padding: 16px 44px 16px 16px; } .iws-card__thumb { width: 56px; height: 56px; } .iws-card__arrow { right: 16px; top: 18px; } .iws-panel__sheet { height: 100%; max-height: 100vh; padding-top: 16px; } .iws-panel__groups { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .iws-panel__sheet { animation: none; } }
