/* ── Trainers page (self-contained styles from the original) ── */
.ge-trainers-page {
    padding: 0 0 80px;
}

.ge-trainers-header {
    background: linear-gradient(135deg, #072C43 0%, #0a3d5c 100%);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

    .ge-trainers-header::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(191,148,69,0.08);
    }

    .ge-trainers-header::after {
        content: '';
        position: absolute;
        bottom: -40px;
        left: -40px;
        width: 160px;
        height: 160px;
        border-radius: 50%;
        background: rgba(255,255,255,0.04);
    }

.ge-pre-title {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #BF9445;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.ge-main-title {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.ge-title-line {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

    .ge-title-line span {
        display: block;
        height: 4px;
        border-radius: 2px;
        background: #BF9445;
    }

        .ge-title-line span:nth-child(1) {
            width: 40px;
        }

        .ge-title-line span:nth-child(2) {
            width: 12px;
            opacity: 0.6;
        }

        .ge-title-line span:nth-child(3) {
            width: 6px;
            opacity: 0.3;
        }

.ge-trainers-grid-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.ge-trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 50px 40px;
    justify-items: center;
}

.ge-trainer-card {
    text-align: center;
    width: 100%;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ge-trainer-thumb {
    position: relative;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 28px rgba(7,44,67,0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ge-trainer-thumb:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 44px rgba(7,44,67,0.28);
    }

    .ge-trainer-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.4s ease;
    }

    .ge-trainer-thumb:hover img {
        transform: scale(1.06);
    }

.ge-thumb-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(7,44,67,0.80);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ge-trainer-thumb:hover .ge-thumb-overlay {
    opacity: 1;
}

.ge-view-btn {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 30px;
    padding: 7px 16px;
    transition: background 0.2s, border-color 0.2s;
}

    .ge-view-btn:hover {
        background: #BF9445;
        border-color: #BF9445;
        color: #fff;
    }

.ge-card-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #072C43, #BF9445);
    border-radius: 2px;
    margin: 16px auto 14px;
}

.ge-card-info {
    width: 100%;
}

.ge-card-name {
    font-size: 17px;
    font-weight: 700;
    color: #072C43;
    margin: 0 0 5px;
}

    .ge-card-name a {
        color: inherit;
        text-decoration: none;
        transition: color 0.2s;
    }

        .ge-card-name a:hover {
            color: #BF9445;
        }

.ge-card-position {
    display: block;
    font-size: 13px;
    color: #808080;
    margin-bottom: 6px;
}

.ge-card-exp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #BF9445;
    background: rgba(191,148,69,0.08);
    border-radius: 20px;
    padding: 3px 12px;
}

    .ge-card-exp i {
        font-size: 13px;
    }

.ge-pagination {
    text-align: center;
    margin-top: 60px;
}

    .ge-pagination .page-numbers {
        display: inline-block;
        padding: 8px 16px;
        margin: 0 3px;
        border-radius: 5px;
        background: #f0f0f0;
        color: #072C43;
        text-decoration: none;
        font-weight: 600;
        transition: background 0.2s, color 0.2s;
    }

        .ge-pagination .page-numbers.current,
        .ge-pagination .page-numbers:hover {
            background: #072C43;
            color: #fff;
        }
/* card entrance animation (staggered) */
.ge-trainer-card {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1)
}

    .ge-trainer-card.ge-in {
        opacity: 1;
        transform: none
    }

@media (prefers-reduced-motion: reduce) {
    .ge-trainer-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important
    }
}

@media (max-width: 600px) {
    .ge-trainers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
    }

    .ge-trainer-thumb {
        width: 140px;
        height: 140px;
    }

    .ge-main-title {
        font-size: 26px;
    }
}

@media (max-width: 380px) {
    .ge-trainers-grid {
        grid-template-columns: 1fr;
    }
}

/* ==== centering guard vs shared theme css ==== */
html body .ge-trainers-header {
    text-align: center !important
}

    html body .ge-trainers-header p {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important
    }

    /* guard v2: direct element targeting (inherited center loses to direct theme rules) */
    html body .ge-trainers-header .ge-pre-title,
    html body .ge-trainers-header .ge-main-title {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important
    }

    html body .ge-trainers-header .ge-pre-title {
        display: block !important
    }
