
/* =====================================================
   GOLAN EVENT — SINGLE EVENT (v5.1)
   Tanggal acara + periode pendaftaran.
   Desain asli dipertahankan.
   Tidak memuat font baru.
===================================================== */

:root {
    /* teks: 3 tingkat */
    --ge-text-strong: #0f172a;
    --ge-text-mid: #475569;
    --ge-text-soft: #8593a8;

    /* garis: 2 tingkat */
    --ge-line-soft: #edf1f6;
    --ge-line: #dbe2ea;

    /* aksen: hanya untuk aksi */
    --ge-blue: #2f6fe4;
    --ge-icon: #8aa0bf;

    /* bobot font: maksimal 600 */
    --ge-w-regular: 400;
    --ge-w-medium: 500;
    --ge-w-semi: 600;
}

/* Layout 2 kolom */
.ge-ev {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(280px, 30vw, 330px);
    align-items: start;
    margin-top: 32px;
    border-top: 1px solid var(--ge-line);
    -webkit-font-smoothing: antialiased;
}

/* Konten kiri */
.ge-ev__content {
    min-width: 0;
    padding: 32px clamp(24px, 4vw, 40px) 32px 0;
    font-size: 16px;
    font-weight: var(--ge-w-regular);
    line-height: 1.75;
    color: var(--ge-text-mid);
}

.ge-ev__content p {
    margin-bottom: 20px;
}

.ge-ev__content ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.ge-ev__content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-weight: var(--ge-w-regular);
    color: var(--ge-text-strong);
}

.ge-ev__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ge-blue);
}

/* Sidebar: tanpa background, hanya garis kolom di kiri */
.ge-ev__side {
    min-width: 0;
    align-self: stretch;
    border-left: 1px solid var(--ge-line);
}

.ge-ev__card {
    position: sticky;
    top: 32px;
    padding: 32px 0 32px 28px;
}

/* Judul ikut font heading tema */
.ge-ev__title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: var(--ge-w-regular);
    line-height: 1.3;
    letter-spacing: 0;
    color: var(--ge-text-strong);
}

/* Daftar info acara */
.ge-ev__info {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
}

.ge-ev__info li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-width: 0;
    margin: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--ge-line-soft);
}

/* Ikon info */
.ge-ev__ico {
    flex: none;
    display: flex;
    margin-top: 2px;
    color: var(--ge-icon);
}

.ge-ev__ico svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Label info */
.ge-ev__info small {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    font-weight: var(--ge-w-regular);
    line-height: 1.3;
    color: var(--ge-text-soft);
}

/* Nilai info */
.ge-ev__info strong {
    display: block;
    font-size: 15px;
    font-weight: var(--ge-w-medium);
    line-height: 1.5;
    color: var(--ge-text-strong);
    overflow-wrap: anywhere;
}

/* Tanggal mulai–selesai acara */
.ge-ev__info .ge-ev__event-period {
    flex: 1;
    min-width: 0;
}

.ge-ev__info .ge-ev__event-period strong {
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* Periode pendaftaran */
.ge-ev__info .ge-ev__registration-period {
    flex: 1;
    min-width: 0;
}

.ge-ev__info .ge-ev__registration-period strong {
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

/* Tombol utama: outline biru, terisi saat hover */
.ge-ev__cta {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 20px;
    border: 1.5px solid var(--ge-blue);
    border-radius: 10px;
    background: transparent;
    color: var(--ge-blue);
    font-size: 15px;
    font-weight: var(--ge-w-semi);
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.ge-ev__cta:hover {
    background: var(--ge-blue);
    color: #ffffff;
}

/* Link sekunder */
.ge-ev__links {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
}

.ge-ev__links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ge-line-soft);
    font-size: 14px;
    font-weight: var(--ge-w-regular);
    line-height: 1.4;
    color: var(--ge-text-mid);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ge-ev__links a:last-child {
    border-bottom: 0;
}

.ge-ev__links a svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--ge-icon);
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.ge-ev__links a:hover {
    color: var(--ge-blue);
}

.ge-ev__links a:hover svg {
    stroke: var(--ge-blue);
}

/* Fokus keyboard */
.ge-ev__cta:focus-visible,
.ge-ev__links a:focus-visible {
    outline: 2px solid var(--ge-blue);
    outline-offset: 3px;
}

/* =====================================================
   RESPONSIF
===================================================== */

/* Tablet: sidebar turun ke bawah konten */
@media (max-width: 900px) {
    .ge-ev {
        grid-template-columns: minmax(0, 1fr);
        border-top: 0;
    }

    .ge-ev__content {
        padding: 0 0 32px;
    }

    .ge-ev__side {
        border-left: 0;
        border-top: 1px solid var(--ge-line);
    }

    .ge-ev__card {
        position: static;
        padding: 28px 0 0;
    }

    .ge-ev__info {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
        margin-bottom: 20px;
    }

    .ge-ev__info li {
        min-width: 0;
    }

    .ge-ev__cta {
        max-width: 420px;
    }

    .ge-ev__links {
        max-width: 420px;
    }
}

/* Mobile: satu kolom, area sentuh lebih besar */
@media (max-width: 600px) {
    .ge-ev__content {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .ge-ev__title {
        font-size: 19px;
    }

    .ge-ev__info {
        grid-template-columns: minmax(0, 1fr);
    }

    .ge-ev__info li {
        padding: 14px 0;
    }

    .ge-ev__cta {
        max-width: none;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ge-ev__links {
        max-width: none;
    }

    .ge-ev__links a {
        min-height: 48px;
        padding: 12px 0;
    }
}

/* Hormati pengaturan kurangi gerakan */
@media (prefers-reduced-motion: reduce) {
    .ge-ev__cta,
    .ge-ev__links a,
    .ge-ev__links a svg {
        transition: none;
    }
}
