/* ===========================
   GPA 2026 Utilities
   =========================== */

/*
   Responsive Container Padding
   Mobile: 16px | Tablet (768px+): 60px | Large Desktop (1280px+): 120px
   Usage: Add class to section elements for consistent spacing
*/
.gpa26-container-padding {
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .gpa26-container-padding {
        padding-left: 60px;
        padding-right: 60px;
    }
}

@media (min-width: 1280px) {
    .gpa26-container-padding {
        padding-left: 120px;
        padding-right: 120px;
    }
}

/*
   Responsive Section Title
   Mobile: 24px | Tablet (768px+): 32px | Desktop (992px+): 40px
   Usage: Add class to h2/h3 elements in sections for consistent typography
*/
.gpa26-section-title {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: normal;
    text-align: center;
    color: #ffffff;
    margin: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .gpa26-section-title {
        font-size: 32px;
    }
}

@media (min-width: 992px) {
    .gpa26-section-title {
        font-size: 40px;
    }
}

/* ===========================
   GPA 2026 Header
   =========================== */

body {
    background: url("../../img/background-2026.svg") 0 0 / 100% 100% no-repeat;
}

.gpa26-header {
    background-color: #101427;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.gpa26-header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

/* Logo */
.gpa26-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.gpa26-logo-img {
    height: 40px;
    width: auto;
    max-width: 307px;
    object-fit: contain;
}

/* Navigation wrapper — contains the wp_nav_menu output + header actions */
.gpa26-nav-wrapper {
    display: flex;
    flex: 1 0 0;
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    min-width: 0;
}

/* WordPress nav menu list */
.gpa26-header #gpa26-primary-menu {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 0 0;
}

.gpa26-header #gpa26-primary-menu > li {
    display: flex;
    align-items: center;
    border-bottom: 4px solid transparent;
    flex-shrink: 0;
    position: relative;
}

.gpa26-header #gpa26-primary-menu > li.current-menu-item,
.gpa26-header #gpa26-primary-menu > li.current-menu-parent {
    border-bottom-color: #ecda75;
}

.gpa26-header #gpa26-primary-menu > li.current_page_item {
    border-bottom-color: transparent;
}

.gpa26-header #gpa26-primary-menu > li.current_page_item::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 4px;
    background: linear-gradient(90deg, #ECDA75 0%, #E0AB2E 100%);
}

.gpa26-header #gpa26-primary-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 100%;
}

.gpa26-header #gpa26-primary-menu > li.current-menu-item > a,
.gpa26-header #gpa26-primary-menu > li.current-menu-parent > a,
.gpa26-header #gpa26-primary-menu > li.current_page_item > a {
    font-weight: 700;
}

/* Header Actions (login / user area) */
.gpa26-header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    margin-left: 40px;
    flex-shrink: 0;
    position: relative;
}

/* Login Button */
.gpa26-btn-login {
    background: linear-gradient(to right, #ecda75, #e0ab2e);
    color: #000000;
    border: none;
    height: 40px;
    width: 97px;
    padding: 0;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: normal;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gpa26-btn-login:hover {
    opacity: 0.9;
}

/* User Email Content (logged-in state) */
#user-email-content.gpa26-user-email-content {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.gpa26-user-email {
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    font-weight: 700;
}

/* Logout Dropdown */
.gpa26-logout {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1a2240;
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    padding: 12px 24px;
    cursor: pointer;
    white-space: nowrap;
    z-index: 10;
}

.gpa26-logout:hover {
    background-color: #243060;
}

/* Hamburger Button */
.gpa26-hamburger {
    height: 40px;
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.gpa26-hamburger .gpa26-hamburger-lines {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.gpa26-hamburger .gpa26-hamburger-lines::before,
.gpa26-hamburger .gpa26-hamburger-lines::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    position: absolute;
    transition: all 0.3s ease;
}

.gpa26-hamburger .gpa26-hamburger-lines::before {
    top: -8px;
}

.gpa26-hamburger .gpa26-hamburger-lines::after {
    top: 8px;
}

.gpa26-hamburger .gpa26-hamburger-close-icon {
    display: none;
}

.gpa26-hamburger[aria-expanded="true"] .gpa26-hamburger-lines {
    display: none;
}

.gpa26-hamburger[aria-expanded="true"] .gpa26-hamburger-close-icon {
    display: block;
}

/* Mobile Menu Panel */
.gpa26-mobile-menu {
    display: none;
    background-color: #101427;
    padding: 0 16px 16px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1001;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
}

.gpa26-mobile-menu.is-open {
    display: block;
}

.gpa26-mobile-menu .gpa26-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gpa26-mobile-menu .gpa26-mobile-nav-list li:last-child {
    border-bottom: none;
}

.gpa26-mobile-menu .gpa26-mobile-nav-list li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 14px;
    display: block;
    padding: 14px 0;
}

.gpa26-mobile-menu .gpa26-mobile-nav-list li.current-menu-item > a,
.gpa26-mobile-menu .gpa26-mobile-nav-list li.current_page_item > a {
    font-weight: 700;
    color: #ecda75;
}

/* Mobile Login / User Area */
.gpa26-mobile-login-area {
    margin-top: 16px;
}

.gpa26-mobile-btn-login {
    background: linear-gradient(to right, #ecda75, #e0ab2e);
    color: #000000;
    border: none;
    height: 40px;
    width: 100%;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.gpa26-mobile-user-logout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
}

.gpa26-mobile-user-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
}

.gpa26-mobile-user-email {
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    margin: 0;
    font-weight: 700;
}

.arrow-up-email-mobile {
    width: 20px;
    height: 20px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.arrow-up-email-mobile.rotate-full {
    transform: rotate(180deg);
}

.gpa26-mobile-logout {
    color: #ecda75;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    display: none;
}

/* ===========================
   Responsive
   =========================== */

/* Tablet */
@media (min-width: 768px) {
    /* Header padding now handled by .gpa26-container-padding utility class */
}

/* Large Desktop */
@media (min-width: 1280px) {
    /* Header padding now handled by .gpa26-container-padding utility class */
}

/* Desktop (hide mobile menu and hamburger) */
@media (min-width: 1200px) {
    .gpa26-mobile-menu {
        display: none !important;
    }
}

/* Mobile and Tablet (hide desktop menu, show hamburger) */
@media (max-width: 1199px) {
    .gpa26-header-inner {
        padding-top: 8px;
        padding-bottom: 8px;
        gap: 0;
        justify-content: space-between;
    }

    .gpa26-nav-wrapper {
        display: none;
    }

    .gpa26-hamburger {
        display: flex;
    }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .gpa26-logo-img {
        height: 34px;
    }
}

/* ===========================
   GPA 2026 Footer
   =========================== */

.gpa26-footer {
    background: #000;
}

.gpa26-footer__container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.gpa26-footer__logo-wrap {
    height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.gpa26-footer__logo {
    height: 48px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.gpa26-footer__content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    justify-content: space-between;
}

.gpa26-footer__column {
    flex: 1 1 0;
    min-width: 0;
}

.gpa26-footer__title {
    margin: 0 0 16px;
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: normal;
}

.gpa26-footer__text {
    margin: 0;
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
}

.gpa26-footer__column--office .gpa26-footer__text + .gpa26-footer__text {
    margin-top: 10px;
}

.gpa26-footer__links {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 4px;
}

.gpa26-footer__links .gpa26-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.gpa26-footer__links .gpa26-footer-menu li {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.gpa26-footer__links .gpa26-footer-menu li:not(:last-child)::after {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #ffffff;
    margin-left: 20px;
}

.gpa26-footer__links .gpa26-footer-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-family: 'Figtree', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: normal;
}

.gpa26-footer__links .gpa26-footer-menu li a:hover {
    text-decoration: underline;
}

.gpa26-footer__copyright {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 0.5px solid #6e6e6e;
    text-align: center;
}

.gpa26-footer__copyright span {
    color: #ffffff;
    font-family: 'Figtree', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: normal;
}

@media (min-width: 768px) {
    /* Footer horizontal padding now handled by .gpa26-container-padding utility class */
}

@media (min-width: 1280px) {
    /* Footer horizontal padding now handled by .gpa26-container-padding utility class */
}

@media (max-width: 1199px) {
    .gpa26-footer__container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .gpa26-footer__content {
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .gpa26-footer__content {
        flex-wrap: wrap;
    }

    .gpa26-footer__column,
    .gpa26-footer__links {
        flex: 1 1 calc(50% - 12px);
    }

    .gpa26-footer__links {
        justify-content: flex-end;
    }
}

@media (max-width: 767px) {
    .gpa26-footer__container {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .gpa26-footer__logo-wrap {
        justify-content: center;
    }

    .gpa26-footer__logo {
        width: auto;
        height: 44px;
    }

    .gpa26-footer__content {
        flex-direction: column;
        gap: 30px;
    }

    .gpa26-footer__column,
    .gpa26-footer__links {
        width: 100%;
        flex: 1 1 auto;
    }

    .gpa26-footer__links {
        display: flex;
        justify-content: center;
    }

    .gpa26-footer__links .gpa26-footer-menu {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .gpa26-footer__links .gpa26-footer-menu li:not(:last-child)::after {
        margin-left: 12px;
    }

    .gpa26-footer__title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .gpa26-footer__text,
    .gpa26-footer__links .gpa26-footer-menu li a {
        font-size: 14px;
    }
}

/* ===========================
   GPA Past Winner Logo Section
   =========================== */

.gpa-past-winner {
    padding-top: 48px;
    padding-bottom: 48px;

    & .gpa-past-winner__title {
        margin-bottom: 32px;
    }

    & .gpa-past-winner__logos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;

        & .gpa-past-winner__logo {
            flex: 0 0 calc((100% - 16px * 7) / 8);
            max-width: 150px;
            display: flex;
            align-items: center;
            justify-content: center;

            & .gpa-past-winner__logo-img {
                height: auto;
                object-fit: contain;
                display: block;
            }
        }
    }

    /* Tablet */
    @media (min-width: 768px) {
        padding-top: 64px;
        padding-bottom: 64px;

        & .gpa-past-winner__logos {
            gap: 24px;

            & .gpa-past-winner__logo {
                flex: 0 0 calc((100% - 24px * 7) / 8);
            }
        }
    }

    /* Desktop: max 8 per row */
    @media (min-width: 992px) {
        padding-top: 80px;
        padding-bottom: 80px;

        & .gpa-past-winner__logos {
            gap: 32px;

            & .gpa-past-winner__logo {
                flex: 0 0 calc((100% - 32px * 7) / 8);
            }
        }
    }
}

/* ===========================
   GPA 2026 Main Wrapper
   =========================== */

.gpa-2026-wrapper {
    padding: 0 16px;
}

@media (min-width: 768px) {
    .gpa-2026-wrapper {
        padding: 0 60px;
    }
}

@media (min-width: 1280px) {
    .gpa-2026-wrapper {
        padding: 0 120px;
    }
}
