/* ==========================================================================
   GAPKI Events Hub — front-end styles (v3 · eye-catching)
   ========================================================================== */

.geh-page {
    --geh-ink: #16302a;
    --geh-green: #168a53;
    --geh-green-deep: #28483f;
    --geh-green-dark: #0f2b24;
    --geh-gold: #e4c97a;
    --geh-gold-soft: #f0dca6;
    --geh-grey: #6b7280;
    --geh-line: #e3e8e6;
    --geh-bg: #f5f8f6;
    --geh-radius: 20px;
    --geh-shadow: 0 22px 46px -16px rgba(22, 48, 42, 0.28);
}

/* --- Full-width ---------------------------------------------------------- */
.geh-fullwidth .nv-sidebar-wrap,
.geh-fullwidth #secondary { display: none !important; }
.geh-fullwidth .nv-single-page-wrap { max-width: 100% !important; flex: 1 1 100% !important; }
.geh-fullwidth .nv-content-wrap,
.geh-fullwidth .entry-content {
    width: 100% !important;
    max-width: 1170px !important;
    margin-left: auto;
    margin-right: auto;
}

.geh-page { margin: 22px 0 44px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.geh-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 40px;
    align-items: center;
    padding: 44px 48px;
    border-radius: var(--geh-radius);
    overflow: hidden;
    color: #fff;
    background: linear-gradient(112deg, var(--geh-green-dark) 0%, var(--geh-green-deep) 46%, var(--geh-green) 118%);
    margin-bottom: 34px;
}

.geh-hero::before {
    content: "";
    position: absolute;
    right: -140px;
    top: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(228, 201, 122, 0.22) 0%, rgba(228, 201, 122, 0) 68%);
}

.geh-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.geh-hero__body { position: relative; z-index: 2; }

.geh-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid rgba(228, 201, 122, 0.6);
    border-radius: 999px;
    color: var(--geh-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.geh-hero__eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--geh-gold);
    box-shadow: 0 0 0 4px rgba(228, 201, 122, 0.25);
}

.geh-hero__title {
    position: relative;
    margin: 0 0 16px;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.015em;
}

.geh-hero__title mark {
    background: linear-gradient(180deg, rgba(228, 201, 122, 0) 62%, rgba(228, 201, 122, 0.32) 62%);
    color: var(--geh-gold);
    padding: 0 2px;
}

.geh-hero__intro {
    position: relative;
    margin: 0 0 26px;
    max-width: 56ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 15px;
    line-height: 1.7;
}

.geh-hero__cta {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.geh-hero__stats {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.geh-hero__stat strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: var(--geh-gold);
    letter-spacing: -0.02em;
}

.geh-hero__stat span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.74);
    letter-spacing: 0.03em;
}

.geh-hero__media {
    position: relative;
    z-index: 2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 26px 50px -18px rgba(0, 0, 0, 0.5);
    transform: rotate(1.4deg);
    border: 4px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
}

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

/* ==========================================================================
   FEATURED
   ========================================================================== */
.geh-feature {
    position: relative;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    margin-bottom: 38px;
    border-radius: var(--geh-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--geh-shadow);
}

.geh-feature__media {
    position: relative;
    min-height: 340px;
}

.geh-feature__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.geh-feature__body {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 36px 40px;
    background: linear-gradient(180deg, var(--geh-bg), #fff);
}

.geh-feature__ribbon {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 5;
    background: var(--geh-gold);
    color: var(--geh-green-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 999px;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.32);
}

.geh-feature__title {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 29px);
    line-height: 1.25;
    color: var(--geh-ink);
}

.geh-feature__title a { color: inherit; text-decoration: none; }
.geh-feature__title a:hover { color: var(--geh-green); }

.geh-feature__excerpt {
    margin: 0;
    color: var(--geh-grey);
    font-size: 15px;
    line-height: 1.68;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.geh-feature__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.geh-section { margin-bottom: 40px; }

.geh-section__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}

.geh-section__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--geh-green);
    color: #fff;
    font-size: 16px;
    flex: none;
}

.geh-section__title {
    position: relative;
    margin: 0;
    font-size: 23px;
    color: var(--geh-ink);
    letter-spacing: -0.01em;
}

.geh-section__count {
    font-size: 13px;
    font-weight: 700;
    color: var(--geh-green);
    background: rgba(22, 138, 83, 0.1);
    padding: 3px 11px;
    border-radius: 999px;
}

.geh-section__note {
    margin: 0 0 20px;
    color: var(--geh-grey);
    font-size: 14px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.geh-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}

.geh-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--geh-line);
    border-radius: var(--geh-radius);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.geh-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--geh-green), var(--geh-gold));
    z-index: 3;
}

.geh-card:hover,
.geh-card:focus-within {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--geh-shadow);
}

.geh-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--geh-bg);
    overflow: hidden;
}

.geh-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.geh-card:hover .geh-card__media img { transform: scale(1.06); }

.geh-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #fff;
    background: var(--geh-green);
    box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.35);
}

.geh-badge--past { background: #64748b; }
.geh-badge--tbd { background: #b0892f; }
.geh-badge--ongoing { background: var(--geh-green-deep); }

/* Big date badge */
.geh-card__date {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    min-width: 54px;
    padding: 8px 6px 7px;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    line-height: 1;
    box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.28);
}

.geh-card__date b {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--geh-green-dark);
}

.geh-card__date span {
    display: block;
    margin-top: 4px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--geh-grey);
}

.geh-card__body {
    display: flex;
    flex-direction: column;
    gap: 11px;
    padding: 20px 22px 22px;
    flex: 1;
}

.geh-card__cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--geh-green);
}

.geh-card__title {
    margin: 0;
    font-size: 17px;
    line-height: 1.38;
    color: var(--geh-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.76em;
}

.geh-card__title a { color: inherit; text-decoration: none; }
.geh-card__title a:hover { color: var(--geh-green); text-decoration: underline; }

.geh-card__meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #4b5563;
    font-size: 13px;
}

.geh-card__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.geh-ico { font-size: 14px; line-height: 1; flex: none; }

.geh-card__excerpt {
    margin: 0;
    color: var(--geh-grey);
    font-size: 13.5px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.geh-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

/* Buttons */
.geh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.geh-btn:hover { transform: translateY(-1px); }

.geh-btn--primary {
    background: var(--geh-green);
    color: #fff;
    box-shadow: 0 8px 18px -8px rgba(22, 138, 83, 0.7);
}

.geh-btn--primary:hover { background: var(--geh-green-dark); color: #fff; }

.geh-btn--ghost {
    border-color: rgba(22, 138, 83, 0.45);
    color: var(--geh-green);
    background: transparent;
}

.geh-btn--ghost:hover { background: var(--geh-green); color: #fff; }

/* Light (on hero) */
.geh-btn--light {
    background: #fff;
    color: var(--geh-green-dark);
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.45);
}

.geh-btn--light:hover { background: var(--geh-gold-soft); color: var(--geh-green-dark); }

.geh-btn--gold {
    background: var(--geh-gold);
    color: var(--geh-green-dark);
}

.geh-btn--gold:hover { background: #d9ba63; color: var(--geh-green-dark); }

.geh-empty {
    padding: 28px;
    border: 1px dashed var(--geh-line);
    border-radius: var(--geh-radius);
    background: var(--geh-bg);
    color: var(--geh-grey);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .geh-hero { grid-template-columns: 1fr; }
    .geh-hero__media { min-height: 220px; }
    .geh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .geh-feature { grid-template-columns: 1fr; }
    .geh-feature__media { min-height: 250px; }
}

@media (max-width: 620px) {
    .geh-grid { grid-template-columns: 1fr; }
    .geh-hero { padding: 32px 24px; }
    .geh-hero__stats { gap: 18px; }
    .geh-hero__cta { flex-direction: column; }
    .geh-btn { width: 100%; }
    .geh-feature__body { padding: 26px 22px; }
}
