/* ============================================================
   GLOBAL EVENTS PAGE — UNIQUE DESIGN SYSTEM (ge- prefix)
   Deep green hero banner + green accent, editorial photo grid,
   zoomable/downloadable lightbox. Scoped so nothing here leaks
   into other pages. Single-color (green) palette throughout.
   ============================================================ */

:root {
    --ge-navy-950: #041B10;
    --ge-navy-900: #082B1B;
    --ge-navy-800: #0E3D26;
    --ge-navy-700: #155234;
    --ge-cyan-400: #34D399;
    --ge-cyan-300: #86EFC0;
    --ge-amber: #159C52;
    --ge-amber-dark: #0E7A3F;
    --ge-ink: var(--tf-black, #0A0A0A);
    --ge-grey: var(--tf-grey, #7A8580);
    --ge-line: rgba(10, 10, 10, .08);
    --ge-radius: 18px;
    --ge-radius-sm: 10px;
    --ge-ease: cubic-bezier(.4, 0, .2, 1);
    --ge-shadow: 0 18px 50px rgba(8, 43, 27, .12);
    --ge-shadow-lg: 0 30px 80px rgba(8, 43, 27, .22);
}

.ge-page { overflow-x: hidden; background: var(--tf-white, #fff); }

/* ============================================================
   0. BANNER
   ============================================================ */
.ge-banner {
    position: relative;
    padding: 148px 0 64px;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(150deg, var(--ge-navy-900) 0%, var(--ge-navy-950) 75%);
}

.ge-banner__bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.ge-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .38;
    -webkit-filter: saturate(1.05);
            filter: saturate(1.05);
    -webkit-animation: geKenBurns 22s ease-in-out infinite alternate;
            animation: geKenBurns 22s ease-in-out infinite alternate;
}

@-webkit-keyframes geKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes geKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }

.ge-banner__scrim {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(4, 27, 16, .55) 0%, rgba(4, 27, 16, .82) 62%, var(--ge-navy-950) 100%),
        linear-gradient(100deg, var(--ge-navy-950) 0%, rgba(4, 27, 16, .35) 42%, rgba(4, 27, 16, .15) 100%);
}

.ge-banner__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(circle at 15% 15%, #000 0%, transparent 62%);
            mask-image: radial-gradient(circle at 15% 15%, #000 0%, transparent 62%);
}

.ge-banner__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: -1;
    opacity: .5;
    pointer-events: none;
    -webkit-animation: geFloat 9s ease-in-out infinite;
            animation: geFloat 9s ease-in-out infinite;
}

.ge-banner__orb--1 { width: 280px; height: 280px; right: 6%; top: -70px; background: var(--ge-amber); }
.ge-banner__orb--2 { width: 220px; height: 220px; left: 42%; bottom: -90px; background: var(--ge-cyan-400); -webkit-animation-delay: -3.5s; animation-delay: -3.5s; }

@-webkit-keyframes geFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@keyframes geFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }

.ge-banner__side {
    position: absolute;
    right: 6.5%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    z-index: 1;
}

.ge-banner__side span {
    font-size: .74rem;
    letter-spacing: .18em;
    font-weight: 700;
    color: rgba(255, 255, 255, .55);
    -webkit-animation: geSideIn .6s var(--ge-ease) both;
            animation: geSideIn .6s var(--ge-ease) both;
}

.ge-banner__side span:nth-child(1) { animation-delay: .05s; }
.ge-banner__side span:nth-child(2) { animation-delay: .12s; }
.ge-banner__side span:nth-child(3) { animation-delay: .19s; }
.ge-banner__side span:nth-child(4) { animation-delay: .26s; }
.ge-banner__side span:nth-child(5) { animation-delay: .33s; color: var(--ge-cyan-300); }

@keyframes geSideIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }

.ge-banner__crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 22px;
}

.ge-banner__crumb a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color var(--ge-transition, .3s); }
.ge-banner__crumb a:hover { color: var(--ge-amber); }
.ge-banner__crumb span[aria-hidden] , .ge-banner__crumb-sep { opacity: .5; }
.ge-banner__crumb .is-current { color: #fff; }

.ge-banner__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ge-cyan-300);
    margin-bottom: 14px;
}

.ge-banner__eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--ge-amber);
    display: inline-block;
}

.ge-banner__title {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
    max-width: 720px;
    margin-bottom: 16px;
}

.ge-banner__title span { color: var(--ge-amber); }

.ge-banner__desc {
    max-width: 560px;
    color: rgba(255, 255, 255, .72);
    font-size: 1.02rem;
    line-height: 1.7;
}

/* ============================================================
   1. TOOLBAR — back link + share row
   ============================================================ */
.ge-toolbar {
    background: var(--tf-white, #fff);
    border-bottom: 1px solid var(--ge-line);
}

.ge-toolbar__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 0;
}

.ge-toolbar__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .94rem;
    color: var(--ge-ink);
    text-decoration: none;
}

.ge-toolbar__back i { transition: transform var(--ge-ease) .25s; }
.ge-toolbar__back:hover { color: var(--ge-amber); }
.ge-toolbar__back:hover i { transform: translateX(-4px); }

.ge-toolbar__share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ge-toolbar__share > span {
    font-size: .84rem;
    color: var(--ge-grey);
    font-weight: 600;
}

.ge-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--ge-line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ge-ink);
    background: #fff;
    font-size: .9rem;
    cursor: pointer;
    transition: all .3s var(--ge-ease);
}

.ge-share-btn:hover {
    background: var(--ge-navy-900);
    border-color: var(--ge-navy-900);
    color: #fff;
    transform: translateY(-3px);
}

.ge-share-btn.is-copied { background: var(--ge-cyan-400); border-color: var(--ge-cyan-400); color: var(--ge-navy-950); }

/* ============================================================
   2. CONTENT — intro + grid + sidebar
   ============================================================ */
.ge-content { padding: 52px 0 90px; }

.ge-intro {
    color: var(--ge-ink);
    font-size: 1.04rem;
    line-height: 1.75;
    max-width: 760px;
    margin-bottom: 30px;
}

/* Grid */
.ge-grid__item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ge-ease), transform .6s var(--ge-ease);
}

.ge-grid__item.is-revealed { opacity: 1; transform: translateY(0); }

.ge-grid__item--more { display: none; }
.ge-grid__item--more.is-shown { display: block; }

.ge-photo {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--ge-navy-900);
    border-radius: var(--ge-radius-sm);
    overflow: hidden;
    cursor: zoom-in;
    aspect-ratio: 4 / 3;
    box-shadow: 0 8px 24px rgba(8, 43, 27, .1);
    transition: box-shadow .35s var(--ge-ease);
}

.col-lg-6 .ge-photo { aspect-ratio: 16 / 10; }

.ge-photo:hover { box-shadow: var(--ge-shadow-lg); }

.ge-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s var(--ge-ease), filter .6s var(--ge-ease);
}

.ge-photo:hover img { transform: scale(1.09); filter: brightness(.78); }

.ge-photo__tag {
    position: absolute;
    left: 12px;
    top: 12px;
    background: rgba(4, 27, 16, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .18);
    transition: opacity .3s var(--ge-ease), transform .3s var(--ge-ease);
}

.ge-photo:hover .ge-photo__tag { transform: translateY(-3px); }

.ge-photo__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 26px 14px 12px;
    background: linear-gradient(0deg, rgba(4, 27, 16, .88) 0%, transparent 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    text-align: left;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ge-ease), transform .35s var(--ge-ease);
}

.ge-photo:hover .ge-photo__caption { opacity: 1; transform: translateY(0); }

.ge-photo__actions {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .3s var(--ge-ease), transform .3s var(--ge-ease);
}

.ge-photo:hover .ge-photo__actions { opacity: 1; transform: translateY(0); }

.ge-photo__actions span,
.ge-photo__actions a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 27, 16, .55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .82rem;
    text-decoration: none;
    transition: all .3s var(--ge-ease);
}

.ge-photo__actions span:hover,
.ge-photo__actions a:hover {
    background: var(--ge-amber);
    border-color: var(--ge-amber);
    transform: scale(1.08);
}

.ge-photo:focus-visible {
    outline: 2px solid var(--ge-amber);
    outline-offset: 3px;
}

/* Load more */
.ge-loadmore-wrap { text-align: center; margin-top: 34px; }

.ge-loadmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 30px;
    border-radius: 40px;
    border: 1.5px solid var(--ge-navy-900);
    background: #fff;
    color: var(--ge-navy-900);
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: all .35s var(--ge-ease);
}

.ge-loadmore i { transition: transform .35s var(--ge-ease); }

.ge-loadmore:hover {
    background: var(--ge-navy-900);
    color: #fff;
    box-shadow: 0 14px 30px rgba(8, 43, 27, .22);
}

.ge-loadmore:hover i { transform: translateY(3px); }

.ge-loadmore.is-done { opacity: .55; cursor: default; pointer-events: none; }

/* ============================================================
   3. SIDEBAR — info card
   ============================================================ */
.ge-sidebar { position: sticky; top: 110px; }

.ge-infocard {
    background: var(--ge-navy-900);
    color: #fff;
    border-radius: var(--ge-radius);
    padding: 26px 24px;
    box-shadow: var(--ge-shadow);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.ge-infocard::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -50px;
    top: -60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(21, 156, 82, .35), transparent 70%);
}

.ge-infocard__list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.ge-infocard__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .9rem;
    line-height: 1.5;
}

.ge-infocard__list li i {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ge-cyan-300);
    flex-shrink: 0;
}

.ge-infocard__list strong { display: block; color: #fff; font-weight: 700; }
.ge-infocard__list span { color: rgba(255, 255, 255, .6); font-size: .82rem; }

.ge-infocard__btn {
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
    background: var(--ge-amber) !important;
    border-color: var(--ge-amber) !important;
}

.ge-infocard__btn:hover { background: var(--ge-amber-dark) !important; border-color: var(--ge-amber-dark) !important; }

.ge-highlights {
    background: #fff;
    border: 1px solid var(--ge-line);
    border-radius: var(--ge-radius);
    padding: 22px 24px;
}

.ge-highlights h4 {
    font-size: .95rem;
    font-weight: 800;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ge-highlights h4 i { color: var(--ge-amber); }

.ge-highlights ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }

.ge-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: .87rem;
    color: var(--ge-ink);
    line-height: 1.5;
}

.ge-highlights li i { color: var(--ge-amber); margin-top: 3px; font-size: .8rem; }

/* ============================================================
   4. LIGHTBOX — zoomable + downloadable
   ============================================================ */
.ge-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 27, 16, .96);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ge-ease), visibility .35s var(--ge-ease);
}

.ge-lightbox.is-open { opacity: 1; visibility: visible; }

.ge-lightbox__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #fff;
    font-size: .85rem;
}

.ge-lightbox__tag { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ge-cyan-300); font-size: .74rem; }
.ge-lightbox__count { color: rgba(255, 255, 255, .55); margin-left: 10px; }

.ge-lightbox__close {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s var(--ge-ease);
}

.ge-lightbox__close:hover { background: var(--ge-amber); border-color: var(--ge-amber); transform: rotate(90deg); }

.ge-lightbox__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: auto;
    padding: 10px 70px;
}

.ge-lightbox__img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 8px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    cursor: zoom-in;
    transition: transform .4s var(--ge-ease);
    -webkit-user-select: none;
    user-select: none;
}

.ge-lightbox__img.is-zoomed {
    max-width: none;
    max-height: none;
    width: auto;
    height: 175vh;
    cursor: zoom-out;
}

.ge-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    z-index: 3;
    transition: all .3s var(--ge-ease);
}

.ge-lightbox__nav:hover { background: var(--ge-amber); border-color: var(--ge-amber); }
.ge-lightbox__nav--prev { left: 16px; }
.ge-lightbox__nav--next { right: 16px; }

.ge-lightbox__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px 24px;
    color: rgba(255, 255, 255, .75);
    font-size: .82rem;
    flex-wrap: wrap;
}

.ge-lightbox__hint { display: flex; align-items: center; gap: 7px; }

.ge-lightbox__dl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 30px;
    background: var(--ge-amber);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .84rem;
    transition: all .3s var(--ge-ease);
}

.ge-lightbox__dl:hover { background: var(--ge-amber-dark); color: #fff; transform: translateY(-2px); }

.ge-lightbox__thumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    margin: 0 auto;
    max-width: 92%;
    padding: 12px 18px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 999px;
    scrollbar-width: thin;
}

.ge-lightbox__thumb {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid transparent;
    opacity: .5;
    cursor: pointer;
    padding: 0;
    transform: scale(.92);
    transition: all .25s var(--ge-ease);
}

.ge-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ge-lightbox__thumb:hover {
    opacity: .85;
    transform: scale(1);
}

.ge-lightbox__thumb.is-active {
    opacity: 1;
    transform: scale(1.12);
    border-color: var(--ge-cyan-400);
    box-shadow: 0 0 0 3px rgba(52, 211, 153, .28);
}

body.ge-lock { overflow: hidden; }

/* ============================================================
   5. RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .ge-banner { padding: 128px 0 52px; }
    .ge-banner__side { display: none; }
    .ge-sidebar { position: static; margin-top: 30px; }
    .ge-lightbox__stage { padding: 10px 54px; }
}

@media (max-width: 767.98px) {
    .ge-toolbar__row { flex-direction: column; align-items: flex-start; }
    .ge-banner__title { font-size: 2rem; }
    .ge-lightbox__nav { width: 38px; height: 38px; font-size: .9rem; }
    .ge-lightbox__stage { padding: 10px 46px; }
    .ge-lightbox__img.is-zoomed { height: 130vh; }
}

@media (max-width: 575.98px) {
    .ge-banner__crumb { font-size: .78rem; }
    .ge-photo { aspect-ratio: 4 / 3.2; }
    .ge-lightbox__bar { justify-content: center; text-align: center; }
    .ge-lightbox__thumbs { max-width: 100%; padding: 10px 14px; gap: 8px; }
    .ge-lightbox__thumb { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    .ge-banner__bg img,
    .ge-banner__orb,
    .ge-grid__item,
    .ge-photo img,
    .ge-photo__tag,
    .ge-photo__caption,
    .ge-photo__actions { animation: none !important; transition: none !important; }
}
