.radial-bg {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(60, 90, 180, 0.35) 0%, rgba(10, 15, 31, 0) 60%),
        linear-gradient(180deg, #05070f 0%, #070b18 40%, #0a0f1f 100%);
}

.chev {
    transition: transform 0.25s ease;
}

details>summary {
    list-style: none;
    cursor: pointer;
}

details>summary::-webkit-details-marker {
    display: none;
}

.panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

details[open] .panel {
    grid-template-rows: 1fr;
}

.panel>div {
    overflow: hidden;
}

.font-display {
    font-family: var(--font-display);
}

.drop-line {
    width: 1px;
    height: 56px;
    margin: 0 auto;
    background-image: linear-gradient(to bottom, rgba(120, 180, 255, 0.7) 60%, transparent 0%);
    background-size: 2px 8px;
    background-repeat: repeat-y;
}

/* Full-width banner image at the top of the hero, behind hero content but above the section's own background */
.page-top-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 700px;
    background-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 58%,
            rgba(0, 9, 41, 0.58) 74%,
            #000929 84%,
            #000929 100%
        ),
        url("/template/images/BG.png");
    background-size: cover, cover;
    background-position: top center, top center;
    background-repeat: no-repeat, no-repeat;
    z-index: -1;
    pointer-events: none;
}

/* Hide scrollbar for the mobile photo carousel */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Role accordion type scale */
.title-26 {
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
}

.title-18 {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
}

.title-16 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

/* Role card: closed state is a plain list row with an inset divider, open state pops as a highlighted card. */
.role-card {
    background: transparent;
    border: none;
    transition: background 0.25s ease, box-shadow 0.25s ease, margin 0.25s ease;
    position: relative;
}

.role-card:not(:first-child)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
}

details[open].role-card {
    background: rgba(120, 180, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
    margin: 8px 0;
}

details[open].role-card::before {
    display: none;
}

.role-title {
    color: #ffffff;
    transition: color 0.25s ease;
}

details[open] .role-title {
    color: #CBFF00;
}

.role-body {
    color: #94a3b8;
    transition: color 0.25s ease;
}

details[open] .role-body {
    color: #ffffff;
}

.chev {
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
}

details[open] .chev {
    transform: rotate(180deg);
    color: #c6f135;
}

#newsScroll {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge legacy */
}

#newsScroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, newer Edge */
}

/* ===== Job Application Modal ===== */
/* Hidden by default (explicit, not just via aria-hidden attribute selectors) —
   opened only by adding the .is-open class from JS when Apply is clicked.
   Backdrop uses the same BG.jpg background as the Join Us popup. */
.job-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
}

.job-modal.is-open {
    display: flex;
}

.job-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background-image: url("/template/images/BG.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.job-modal-panel {
    position: relative;
    z-index: 1;
}
