.global-events-page,
.global-events-page * {
    box-sizing: border-box;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 13pt;
}

.global-events-page {
    width: 100%;
    margin: 0;
    padding: 28px 0 44px;
    background: var(--ceig-white);
    color: var(--ceig-black);
}

.global-events-shell {
    width: calc(100% - 40px);
    max-width: calc(var(--content-width) - 40px);
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

.global-events-introduction {
    width: 100%;
    margin: 0 0 24px;
    padding: 18px 22px;
    border-left: 5px solid #d4af37;
    background: #f5f7fa;
    color: var(--ceig-navy);
    font-weight: 400;
    line-height: 1.58;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

.global-events-years {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    width: auto;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ceig-navy);
    line-height: 1.3;
    text-align: left;
}

.global-events-year,
.global-events-year-separator {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    line-height: inherit;
}

.global-events-year.is-active {
    color: var(--ceig-navy);
    font-weight: 700;
}

.global-events-year-separator {
    color: #4f5866;
    font-weight: 400;
}

.global-events-year.is-inactive {
    color: #7b8491;
    font-weight: 400;
    cursor: default;
}

.global-events-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin: 0 0 24px;
    border: 1px solid var(--ceig-navy);
    background: var(--ceig-white);
}

.global-events-tab {
    position: relative;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-right: 1px solid var(--ceig-navy);
    background: var(--ceig-white);
    color: var(--ceig-navy);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}

.global-events-tab:last-child {
    border-right: 0;
}

.global-events-tab.is-active {
    background: var(--ceig-navy);
    color: var(--ceig-white);
    box-shadow: inset 0 -4px 0 #d4af37;
}

.global-events-tab:hover:not(.is-active),
.global-events-tab:focus-visible:not(.is-active) {
    background: #f5f7fa;
}

.global-events-panel[hidden] {
    display: none;
}

.global-events-section-heading {
    width: fit-content;
    margin: 0 auto 20px;
    padding: 0 0 6px;
    border-bottom: 4px solid #d4af37;
    color: var(--ceig-navy);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.global-events-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
    width: 100%;
}

.global-events-record {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    padding: 18px 20px 19px;
    border: 1px solid #d8dde6;
    border-top: 5px solid #d4af37;
    background: var(--ceig-white);
}

.global-events-record[hidden] {
    display: none;
}

.global-events-date {
    width: fit-content;
    margin: 0 0 10px;
    padding: 5px 9px 4px;
    background: var(--ceig-navy);
    color: var(--ceig-white);
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.global-events-title {
    margin: 0 0 5px;
    color: var(--ceig-navy);
    font-weight: 700;
    line-height: 1.35;
}

.global-events-location {
    margin: 0 0 12px;
    color: #4f5866;
    font-weight: 400;
    line-height: 1.4;
}

.global-events-descriptor {
    margin: 0;
    color: var(--ceig-black);
    font-weight: 400;
    line-height: 1.55;
    text-align: justify;
    text-align-last: left;
    text-justify: inter-word;
}

.global-events-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: auto;
    padding-top: 14px;
}

.global-events-link {
    color: var(--ceig-blue);
    font-weight: 700;
    line-height: 1.4;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.global-events-link:hover,
.global-events-link:focus-visible {
    color: var(--ceig-navy);
}

.global-events-disclosure {
    display: block;
    width: fit-content;
    margin: 22px auto 0;
    padding: 9px 14px;
    border: 1px solid var(--ceig-navy);
    background: var(--ceig-white);
    color: var(--ceig-navy);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    cursor: pointer;
}

.global-events-disclosure:hover,
.global-events-disclosure:focus-visible {
    background: var(--ceig-navy);
    color: var(--ceig-white);
}

.global-events-disclosure[hidden] {
    display: none;
}

@media (max-width: 900px) {
    .global-events-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .global-events-page {
        padding-top: 22px;
        padding-bottom: 36px;
    }

    .global-events-introduction {
        margin-bottom: 20px;
        padding: 15px 16px;
    }

    .global-events-tabs {
        margin-bottom: 20px;
    }

    .global-events-tab {
        min-height: 46px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .global-events-record {
        padding: 16px 16px 17px;
    }
}


/* Match the shared hero's horizontal margins exactly on mobile. */
@media (max-width: 700px) {
    .global-events-shell {
        width: calc(100% - 28px);
        margin-right: 14px;
        margin-left: 14px;
    }
}
