/* ===== Get Involved — Hero (Frame 335) ===== */
.gihero {
    position: relative;
    width: 100%;
    height: 804px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

/* Rectangle 52 : gradient overlay */
.gihero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

/* Frame 7 : bottom-left text block (full width, 59px sides, 70px bottom) */
.gihero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
    padding: 0 59px 70px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.gihero__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 60px;
    color: #CF8E00;
}

.gihero__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;
}

/* ===== Get Involved — View Open Positions accordion (Frame 338) ===== */
.gipos {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 30px 0 20px;
}

.gipos__inner {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.gipos__bar {
    flex: none;
    width: 6px;
    height: 106px;
    border-radius: 3px;
    background: linear-gradient(180deg, #CF8E00 0%, #064700 100%);
}

.gipos__main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gipos__toggle {
    position: relative;
    width: 100%;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    display: block;
}

.gipos__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-right: 44px;             /* clear the chevron */
}

.gipos__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
    text-transform: uppercase;
    color: #363636;
}

.gipos__desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    color: #363636;
}

.gipos__chevron {
    position: absolute;
    top: 47px;
    right: 0;
    width: 24px;
    height: 24px;
    line-height: 0;
    transition: transform 0.25s ease;
}
.gipos__chevron svg { width: 24px; height: 24px; display: block; }
.gipos__toggle[aria-expanded="true"] .gipos__chevron { transform: rotate(180deg); }

.gipos__panel:not([hidden]) { display: block; padding-top: 8px; }

/* live open positions list (from hr.rdi.world public API) */
.gijobs {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gijob {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.gijob:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.gijob__info { min-width: 0; }

.gijob__title {
    margin: 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: #1f2937;
}
.gijob__type {
    font-weight: 400;
    font-size: 17px;
    color: #6b7280;
}

.gijob__meta {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
}
.gijob__company { color: #6b7280; }
.gijob__openings {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0a7d33;
}
.gijob__openings svg { width: 17px; height: 17px; }

.gijob__apply {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 19px;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}
.gijob__apply svg { width: 18px; height: 18px; }
.gijob__apply:hover { color: #CF8E00; }

.gijobs__empty {
    margin: 0;
    padding: 22px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    color: #6b7280;
}

/* ===== Get Involved — Sign Up For Volunteer (Frame 339 + banner) ===== */
.givol {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0 110px;
    gap: 30px;
}

.givol__head {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.givol__bar {
    flex: none;
    width: 6px;
    height: 106px;
    border-radius: 3px;
    background: linear-gradient(180deg, #CF8E00 0%, #064700 100%);
}

.givol__main {
    position: relative;
    flex: 1;
    min-width: 0;
}

.givol__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-right: 44px;             /* clear the chevron */
}

.givol__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
    text-transform: uppercase;
    color: #363636;
}

.givol__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    color: #363636;
}

/* chevron links out to the HR portal */
.givol__chevron {
    position: absolute;
    top: 47px;
    right: 0;
    width: 24px;
    height: 24px;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.givol__chevron svg { width: 24px; height: 24px; display: block; }
.givol__chevron:hover { transform: translateY(2px); opacity: 0.75; }
/* right-pointing variant (Attend Events) links out sideways */
.givol__chevron--right svg { width: 25px; height: 25px; }
.givol__chevron--right:hover { transform: translateX(3px); opacity: 0.75; }

/* ===== Get Involved — CTA box + download button (Frame 345) ===== */
.gicta {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 20px 0 70px;
}

.gicta__box {
    width: 1380px;
    max-width: calc(100% - 60px);
    min-height: 399px;
    box-sizing: border-box;
    padding: 75px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 61px;
    background: rgba(6, 71, 0, 0.1);
    border-radius: 30px;
}

.gicta__text {
    margin: 0;
    max-width: 1325px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #363636;
}

.gicta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-width: 100%;
    padding: 16px 76px;
    border: 1px solid #064700;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    color: #064700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.gicta__btn:hover { background: #064700; color: #FFFFFF; }

/* ===== Get Involved — Attend Events header wrapper ===== */
.gievents {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 30px 0 20px;
}

/* gold description box variant (Frame 342) */
.gidesc--gold .gidesc__box { background: rgba(207, 142, 0, 0.16); }

/* Rectangle 84 : banner image + bottom gradient */
.givol__banner {
    position: relative;
    width: 1380px;
    max-width: calc(100% - 60px);
    aspect-ratio: 1380 / 496;
    border-radius: 30px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #e6e6e6;
}

.givol__banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
}

/* ===== Get Involved — Work With Us description box (Frame 330, blue) ===== */
.gidesc {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
}

.gidesc__box {
    width: 1380px;
    max-width: calc(100% - 60px);
    min-height: 383px;               /* Figma card height — text centred inside */
    box-sizing: border-box;
    padding: 75px 22px 75px 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 83, 136, 0.1);
    border-radius: 30px;
}

.gidesc__text {
    margin: 0;
    max-width: 1325px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    color: #363636;
}

/* ===== Get Involved — Work With Us header (Frame 216) ===== */
.giintro {
    width: 100%;
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    padding: 50px 0 20px;
}

.giintro__inner {
    width: 1380px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.giintro__bar {
    flex: none;
    width: 6px;
    height: 106px;
    border-radius: 3px;
    background: linear-gradient(180deg, #CF8E00 0%, #064700 100%);
}

.giintro__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.giintro__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 48px;
    line-height: 72px;
    text-transform: uppercase;
    color: #363636;
}

.giintro__desc {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    text-align: justify;
    color: #363636;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .gihero { height: 660px; }
    .gihero__content { padding: 0 40px 56px; }
    .gihero__title { font-size: 34px; line-height: 48px; }
    .giintro__title { font-size: 38px; line-height: 56px; }
}

@media (max-width: 768px) {
    .gihero { height: 540px; }
    .gihero__content { padding: 0 24px 40px; }
    .gihero__title { font-size: 28px; line-height: 38px; }
    .gihero__desc { font-size: 16px; line-height: 24px; }
    .giintro { padding: 40px 0 16px; }
    .giintro__title { font-size: 30px; line-height: 44px; }
    .giintro__desc { font-size: 16px; line-height: 24px; text-align: left; }
    .giintro__bar { height: 84px; }
    .gidesc__box { padding: 44px 22px; border-radius: 24px; min-height: 240px; }
    .gidesc__text { font-size: 17px; line-height: 26px; }
    .gipos__title { font-size: 30px; line-height: 44px; }
    .gipos__desc { font-size: 16px; line-height: 24px; text-align: left; }
    .gipos__bar { height: 84px; }
    .gipos__chevron { top: 28px; }
    .gijob { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
    .gijob__title { font-size: 18px; }
    .gijob__type { font-size: 15px; }
    .gijob__meta { font-size: 15px; gap: 14px; }
    .givol__title { font-size: 30px; line-height: 44px; }
    .givol__desc { font-size: 16px; line-height: 24px; text-align: left; }
    .givol__bar { height: 84px; }
    .givol__chevron { top: 28px; }
    .givol__banner { aspect-ratio: 16 / 10; border-radius: 20px; }
    .gicta__box { padding: 44px 22px; border-radius: 24px; min-height: 300px; gap: 40px; }
    .gicta__text { font-size: 17px; line-height: 26px; }
    .gicta__btn { padding: 14px 32px; font-size: 17px; width: 100%; }
}

@media (max-width: 480px) {
    .gihero { height: 460px; }
    .gihero__content { padding: 0 16px 30px; }
    .gihero__title { font-size: 23px; line-height: 32px; }
    .gihero__desc { font-size: 14px; line-height: 21px; }
}
