/* ============================================================
   CAREERS PAGE — bell-careers-* styles
   Mirrors the live bellequipment.com Careers Elementor layout
   ============================================================ */

/* Shared max-width wrapper (mirrors products.css) */
.bell-con-boxed-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Pull hero flush with header, matching home page behaviour.
   Bypass CSS-variable chain entirely — set physical and logical properties directly. */
.bell-page .bell-el-fd9c2c2 {
    margin-top: -30px;
    margin-block-start: -30px;
    padding-top: 0;
    padding-block-start: 0;
}

/* --- Video Hero --- */
.bell-careers-video-hero {
    position: relative;
    width: 100%;
    background: #000;
    line-height: 0;
    margin-top: -30px;
}

.bell-careers-video-hero__inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 82vh;
    overflow: hidden;
    background: #000;
}

.bell-careers-video-hero__inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bell-careers-video-hero__overlay {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}

.bell-careers-video-hero__overlay.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.bell-careers-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-careers-video-hero__overlay:hover .bell-careers-video-hero__play {
    transform: scale(1.1);
    background: #fdba31;
}

.bell-careers-video-hero__play svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    margin-left: 4px;
}

/* --- Page heading row --- */
.bell-careers-heading-row {
    background-color: #EBEBEB;
    border-top: 5px solid var(--color-primary, #FDBA31);
    padding: 1.25rem 0;
    text-align: center;
}

.bell-careers-heading-row h1,
.bell-careers-heading-row h2 {
    font-family: var(--font-heading, sans-serif);
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* --- Intro + Nav buttons section --- */
.bell-careers-intro-nav {
    background: #f5f5f5;
    padding: 2.5rem 0;
}

.bell-careers-intro-nav__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .bell-careers-intro-nav__inner {
        grid-template-columns: 1fr;
    }
}

.bell-careers-intro-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text, #333);
    margin-bottom: 0.75rem;
}

.bell-careers-nav-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}

.bell-careers-nav-btn {
    display: block;
    text-align: center;
    padding: 0.6rem 0.75rem;
    background: var(--color-primary, #fdba31);
    color: #000;
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: background 0.2s, color 0.2s;
}

.bell-careers-nav-btn:hover {
    background: var(--color-secondary, #1a1a2e);
    color: #fff;
    text-decoration: none;
}

/* --- Section header (grey band with title) --- */
.bell-careers-section-header {
    background: #EBEBEB;
    border-top: 5px solid var(--color-primary, #fdba31);
    padding: 1.25rem 0;
    margin-bottom: 0;
}

.bell-careers-section-header h2 {
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
    margin: 0;
}

/* --- Section body (content + image) --- */
.bell-careers-section-body {
    background: #fff;
    padding: 2.5rem 0 0;
}

.bell-careers-section-body--alt {
    background: #f5f5f5;
}

.bell-careers-section-body__inner {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.bell-careers-section-body__inner--text-img {
    grid-template-columns: 3fr 2fr;
}

.bell-careers-section-body__inner--img-text {
    grid-template-columns: 2fr 3fr;
}

.bell-careers-section-body__inner--two-img-text {
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 900px) {
    .bell-careers-section-body__inner--text-img,
    .bell-careers-section-body__inner--img-text,
    .bell-careers-section-body__inner--two-img-text {
        grid-template-columns: 1fr;
    }
}

.bell-careers-section-body__text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text, #333);
    margin-bottom: 0.75rem;
}

.bell-careers-section-body__text p strong {
    font-weight: 700;
}

.bell-careers-section-body__images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bell-careers-section-body__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 2px;
}

/* Job opportunities - "Who we are" subheading */
.bell-careers-who-we-are {
    background: linear-gradient(135deg, var(--color-secondary, #1a1a2e) 0%, #2d3a5e 100%);
    padding: 1rem 0;
    margin-bottom: 1.5rem;
}

.bell-careers-who-we-are h3 {
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary, #fdba31);
    text-transform: uppercase;
    margin: 0;
}

/* --- Section actions row (CTA + back to top) --- */
.bell-careers-section-actions {
    padding: 1.25rem 0 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

button.bell-careers-cta-btn {
    border: none;
    cursor: pointer;
}

.bell-careers-cta-btn {
    display: inline-block;
    padding: 0.65rem 1.5rem;
    background: var(--color-primary, #fdba31);
    color: #000;
    font-family: var(--font-heading, 'Roboto Condensed', sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
}

.bell-careers-cta-btn:hover {
    background: var(--color-secondary, #1a1a2e);
    color: #fff;
    text-decoration: none;
}

.bell-careers-back-top-row {
    background: #fff;
    padding: 0.75rem 0;
    text-align: center;
}

.bell-careers-section-body--alt + .bell-careers-back-top-row {
    background: #f5f5f5;
}

.bell-careers-back-top {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    background: transparent;
    color: #1a1a1a;
    font-family: var(--font-body, sans-serif);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.bell-careers-back-top:hover,
.bell-careers-back-top:focus {
    color: var(--color-primary, #FFC200);
    text-decoration: none;
}

.bell-careers-back-top svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

/* Two-image grid for graduates */
.bell-careers-two-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 600px) {
    .bell-careers-two-images {
        grid-template-columns: 1fr;
    }
    .bell-careers-nav-buttons {
        grid-template-columns: 1fr;
    }
}

/* ── Careers portal popup modal ───────────────────────────── */
.careers-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(0,0,0,0.65);
    align-items: center;
    justify-content: center;
}
.careers-popup-overlay.is-open {
    display: flex;
}
.careers-popup {
    position: relative;
    width: 80vw;
    height: 85vh;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
}
.careers-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    background: #1a1a1a;
    color: #fff;
    border-radius: 4px 4px 0 0;
    flex-shrink: 0;
}
.careers-popup__title {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.careers-popup__close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.25rem;
    opacity: 0.8;
}
.careers-popup__close:hover { opacity: 1; }
.careers-popup__iframe {
    flex: 1;
    border: none;
    width: 100%;
    border-radius: 0 0 4px 4px;
}
@media (max-width: 768px) {
    .careers-popup { width: 96vw; height: 90vh; }
}

/* Reset browser default button styling for popup trigger buttons */
button.bell-button {
    border: none;
    cursor: pointer;
}

/* ── Group site: deeper pull-up so content sits behind the large Bell logo ── */
.site-group .bell-page .bell-el-fd9c2c2 { margin-top: -90px; margin-block-start: -90px; }
.site-group .bell-careers-video-hero    { margin-top: -90px; }
