/* Scoped component: no dependency on Bootstrap, AOS or a particular site. */
.wgc-hero {
    position: relative;
    isolation: isolate;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: calc(100vh - var(--wgc-hero-header-height, 0px));
    min-height: calc(100svh - var(--wgc-hero-header-height, 0px));
    padding: clamp(5rem, 12vh, 9rem) clamp(1.25rem, 5vw, 5rem) 1.5rem;
    background: var(--cms-secondary, #172a36);
    overflow-wrap: anywhere;
    text-align: var(--wgc-hero-align, center);
}
.wgc-hero[data-hero-has-images="false"] { background: var(--cms-background, #fff); }
.wgc-hero[data-hero-has-images="false"] .wgc-hero__shade { display: none; }
.wgc-hero *, .wgc-hero *::before, .wgc-hero *::after { box-sizing: border-box; }
.wgc-hero [hidden] { display: none !important; }
.wgc-hero__background, .wgc-hero__slide, .wgc-hero__shade { position: absolute; inset: 0; z-index: -2; }
.wgc-hero__background { overflow: hidden; }
.wgc-hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--wgc-hero-position, center); }
.wgc-hero__shade { z-index: -1; background: var(--wgc-hero-overlay, #000); opacity: var(--wgc-hero-opacity, .4); pointer-events: none; }
.wgc-hero__content { width: 100%; max-width: var(--cms-content-width, 1200px); margin: auto; padding-block: 2rem; }
.wgc-hero .wgc-hero__title {
    max-width: 18ch;
    margin: 0 0 1.4rem;
    color: var(--wgc-hero-title-color, var(--cms-secondary, #fff));
    font-family: var(--wgc-hero-title-font, var(--cms-heading-font, system-ui, sans-serif));
    font-size: var(--wgc-hero-title-size, var(--cms-h1-size, clamp(2.5rem, 6vw, 5.5rem)));
    font-weight: var(--cms-h1-weight, 700);
    line-height: 1.06;
    letter-spacing: -.025em;
    white-space: pre-line;
    text-wrap: balance;
}
.wgc-hero .wgc-hero__text {
    max-width: 58ch;
    margin: 0 0 2rem;
    color: var(--wgc-hero-text-color, var(--cms-text, #fff));
    font-family: var(--wgc-hero-text-font, var(--cms-body-font, system-ui, sans-serif));
    font-size: var(--wgc-hero-text-size, var(--cms-base-size, 1.125rem));
    line-height: var(--cms-line-height, 1.6);
    white-space: pre-line;
}
.wgc-hero__links { display: flex; gap: .85rem; flex-wrap: wrap; }
.wgc-hero .wgc-hero__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    max-width: 100%;
    padding: var(--cms-button-py, .85rem) var(--cms-button-px, 1.5rem);
    border: 1px solid var(--cms-primary, #fff);
    border-radius: var(--cms-button-radius, .4rem);
    background: var(--cms-primary, #fff);
    color: var(--wgc-hero-button-color, var(--cms-button-text, #172a36));
    font-family: var(--wgc-hero-button-font, var(--cms-body-font, system-ui, sans-serif));
    font-size: var(--wgc-hero-button-size, var(--cms-base-size, 1rem));
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-align: center;
}
.wgc-hero .wgc-hero__button:hover { background: var(--cms-accent, #e8e8e8); border-color: var(--cms-accent, #e8e8e8); color: var(--wgc-hero-button-color, var(--cms-button-text, #172a36)); }
.wgc-hero[data-hero-align="center"] :is(.wgc-hero__title, .wgc-hero__text) { margin-inline: auto; }
.wgc-hero[data-hero-align="center"] .wgc-hero__links { justify-content: center; }
.wgc-hero[data-hero-align="right"] :is(.wgc-hero__title, .wgc-hero__text) { margin-left: auto; }
.wgc-hero[data-hero-align="right"] .wgc-hero__links { justify-content: flex-end; }
.wgc-hero__controls { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 2rem; }
.wgc-hero__control { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: .65rem 1rem; border: 1px solid #ffffff80; border-radius: 999px; background: #111b; color: #fff; font: 600 .9rem/1.2 system-ui, sans-serif; cursor: pointer; }
.wgc-hero__control:hover { background: #000; }
.wgc-hero__counter { padding: .4rem; color: #fff; font: 500 .9rem/1.2 system-ui, sans-serif; text-shadow: 0 1px 4px #000; }
.wgc-hero :is(a, button):focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 6px #172a36; }
.wgc-hero__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 767px) {
    .wgc-hero { padding-inline: 1.25rem; }
    .wgc-hero__slide img { object-position: var(--wgc-hero-position-mobile, var(--wgc-hero-position, center)); }
    .wgc-hero .wgc-hero__title { font-size: var(--wgc-hero-title-size-mobile, min(var(--wgc-hero-title-size, var(--cms-h1-size, 3rem)), 12vw)); }
    .wgc-hero .wgc-hero__text { font-size: var(--wgc-hero-text-size-mobile, min(var(--wgc-hero-text-size, var(--cms-base-size, 1rem)), 6vw)); }
    .wgc-hero .wgc-hero__button { font-size: var(--wgc-hero-button-size-mobile, min(var(--wgc-hero-button-size, var(--cms-base-size, 1rem)), 5vw)); }
    .wgc-hero__links { gap: .7rem; }
    .wgc-hero__button { flex: 1 1 auto; }
}
