/* ============================================================
   INNOVATION PIONEERS PAGE — bell-innovation-* styles
   ============================================================ */

/* Video hero (mirrors careers/products hero) */
.bell-innovation-video-hero {
    position: relative;
    width: 100%;
    background: #000;
    line-height: 0;
    margin-top: -30px;
}

.bell-innovation-video-hero__inner {
    position: relative;
    width: 100%;
    height: var(--hero-height, 600px);
    min-height: unset;
    overflow: hidden;
    background: #000;
}

.bell-innovation-video-hero__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bell-innovation-video-hero__overlay {
    position: absolute;
    inset: 0;
    background: #1a1a2e;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}

.bell-innovation-video-hero__overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.bell-innovation-video-hero__play {
    width: 72px;
    height: 72px;
    background: rgba(253, 186, 49, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
}

.bell-innovation-video-hero__overlay:hover .bell-innovation-video-hero__play {
    transform: scale(1.1);
    background: #fdba31;
}

.bell-innovation-video-hero__play svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: var(--space-1);
}

/* Heading row — override about.css to match careers style (white, left-aligned) */
.bell-innovation-video-hero ~ .bell-about-heading-row,
.uk-hero ~ .bell-about-heading-row {
    background-color: #EBEBEB;
    border-top: 5px solid var(--color-primary, #FFC200);
    padding: var(--space-5) 0;
    text-align: center;
    margin-top: 0;
}

.bell-innovation-video-hero ~ .bell-about-heading-row h2,
.uk-hero ~ .bell-about-heading-row h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* 4-column nav override */
.bell-about-nav-buttons--4col {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1023px) {
    .bell-about-nav-buttons--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .bell-about-nav-buttons--4col {
        grid-template-columns: 1fr;
    }
}

/* Alt section body (grey background, mirrors about pattern) */
.bell-about-section-body--alt {
    background: #f5f5f5;
}

/* ── Timeline carousel ── */
.bell-innovation-swiper-wrap {
    position: relative;
    padding: var(--space-7) 3.5rem;
}

.bell-innovation-swiper {
    overflow: hidden;
}

/* Swiper nav buttons — same white-circle treatment as the homepage's
   Optimise Your Investment carousel, sitting in the wrap's own padding
   gutter rather than overlapping the cards. Colour is fixed (not tied to
   the site's --color-secondary theme variable) since it must always
   contrast with the button's own fixed white background — see the
   Forestry & Agriculture invisible-arrow fix in home.css for why. */
.bell-innovation-swiper-wrap .swiper-button-prev,
.bell-innovation-swiper-wrap .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: #1a1a1a;
}

.bell-innovation-swiper-wrap .swiper-button-prev {
    left: 0.5rem;
}

.bell-innovation-swiper-wrap .swiper-button-next {
    right: 0.5rem;
}

.bell-innovation-swiper-wrap .swiper-button-prev:after,
.bell-innovation-swiper-wrap .swiper-button-next:after {
    font-size: 16px;
}

.bell-innovation-swiper-wrap .swiper-button-disabled {
    opacity: 0.35;
}

/* Cards */
.bell-innovation-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Auto height (not 100%) — the slide/wrapper heights that 100% would
       resolve against vary with Swiper's loop clones, so a plain
       percentage doesn't give each card its own natural size. Capped at
       max-height so a card with a longer entry doesn't dominate the row;
       shorter entries just render shorter instead of all matching it. */
    height: auto;
    max-height: 440px;
    text-align: center;
    transition: box-shadow 0.2s;
}

.bell-innovation-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.bell-innovation-card__img-frame {
    margin: var(--space-2);
    border-radius: 8px;
    overflow: hidden;
    height: 150px;
    flex-shrink: 0;
}

.bell-innovation-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bell-innovation-card__body {
    padding: var(--space-3) var(--space-3) var(--space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bell-innovation-card__year {
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary, #fdba31);
    line-height: 1.1;
    margin-bottom: 0.15rem;
}

.bell-innovation-card__title {
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-secondary, #1a1a2e);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.bell-innovation-card__text {
    font-size: 0.78rem;
    line-height: 1.55;
    color: #555;
}

.bell-innovation-card__text p {
    margin: 0;
}

@media (max-width: 479px) {
    .bell-innovation-swiper-wrap {
        padding: var(--space-6) var(--space-8);
    }
}

/* ── Group site: deeper pull-up so content sits behind the large Bell logo ── */
.site-group .bell-innovation-video-hero,
.site-group .uk-hero { margin-top: -90px; }
