/**
 * 행사 안내 전용 랜딩 (디자인 토큰은 메인과 공유, 구조는 행사 특화)
 */

.event-202609-page {
    --gevt-hero-min: clamp(20rem, 48vw, 28rem);
    --gevt-header-offset: 3.5rem;
    background: var(--gywf-surface, #f8f9fa);
}

@media (min-width: 992px) {
    .event-202609-page {
        --gevt-header-offset: 5rem;
    }
}

/* ── Hero ── */
.gevt-hero {
    position: relative;
    color: #fff;
    min-height: var(--gevt-hero-min);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.gevt-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/img/bg.webp');
    background-size: cover;
    background-position: center;
}

.gevt-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(10, 77, 140, 0.82) 0%, rgba(21, 115, 71, 0.72) 55%, rgba(0, 0, 0, 0.45) 100%);
}

.gevt-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: end;
    padding: 3rem 0 2.5rem;
}

.gevt-hero__badge {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gevt-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.gevt-hero__lead {
    margin: 0 0 1.35rem;
    max-width: 32rem;
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gevt-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.event-202609-page .gw-hero-brand__cta,
.event-202609-page .gw-hero-brand__cta span {
    text-shadow: none;
}

.gevt-hero__summary {
    padding: 1.35rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gevt-hero__summary-title {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.gevt-hero__summary-list {
    margin: 0;
}

.gevt-hero__summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.875rem;
}

.gevt-hero__summary-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.gevt-hero__summary-row dt {
    margin: 0;
    font-weight: 600;
    opacity: 0.88;
}

.gevt-hero__summary-row dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.gevt-hero__summary-row--accent dd {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.15rem;
}

.gevt-hero__dday {
    font-size: 1.1rem;
    color: #fff;
}

.gevt-hero__deadline {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
}

/* ── Facts strip ── */
.gevt-facts {
    position: relative;
    padding: 1.5rem 0;
    background: var(--gywf-surface, #f8f9fa);
}

.gevt-facts__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.gevt-facts__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1rem 0.65rem;
    border-radius: 1.1rem;
    background: var(--gywf-surface-elevated);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.gevt-facts__item i {
    font-size: 1.25rem;
    color: var(--gywf-brand-dark);
    margin-bottom: 0.15rem;
}

.gevt-facts__label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gywf-text-muted);
    letter-spacing: 0.03em;
}

.gevt-facts__value {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gywf-text);
}

.gevt-facts__item--accent {
    background: linear-gradient(145deg, var(--gywf-brand-light), #fff);
}

.gevt-facts__item--accent i,
.gevt-facts__item--accent .gevt-facts__value {
    color: var(--gywf-brand-dark);
}

/* ── Body layout ── */
.gevt-body {
    padding-bottom: 3.5rem;
}

.gevt-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.25rem 0 1.25rem;
    margin-bottom: 0.5rem;
    scrollbar-width: none;
    position: sticky;
    top: var(--gevt-header-offset);
    z-index: 5;
    background: var(--gywf-surface, #f8f9fa);
    padding-top: 0.75rem;
}

.gevt-nav::-webkit-scrollbar {
    display: none;
}

.gevt-nav__link {
    flex-shrink: 0;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: var(--gywf-surface-elevated);
    color: var(--gywf-text);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.gevt-nav__link:hover {
    background: var(--gywf-brand-light);
    color: var(--gywf-brand-dark);
}

.gevt-nav__link--accent {
    background: var(--gywf-brand);
    color: #fff;
}

.gevt-nav__link--accent:hover {
    background: var(--gywf-brand-dark);
    color: #fff;
}

.gevt-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 17.5rem;
    gap: 2rem;
    align-items: start;
}

.gevt-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gevt-block {
    scroll-margin-top: calc(var(--gevt-header-offset) + 3.5rem);
    padding: 1.5rem 1.35rem;
    border-radius: 1.25rem;
    background: var(--gywf-surface-elevated);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.gevt-block__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--gywf-border);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gywf-text);
}

.gevt-block__title i {
    color: var(--gywf-brand-dark);
}

.gevt-block__body p {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--gywf-text);
}

.gevt-block__body p:last-child {
    margin-bottom: 0;
}

.gevt-block__note {
    padding: 0.75rem 0.9rem;
    border-radius: 0.75rem;
    background: var(--gywf-surface);
    font-size: 0.875rem !important;
    color: var(--gywf-text-muted) !important;
}

.event-202609-page .gevt-org {
    margin: 0 0 0.85rem;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gywf-border, #e5e7eb);
    background: #fff;
}

.event-202609-page .gevt-org__row {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.35rem 0;
}

.event-202609-page .gevt-org__row + .gevt-org__row {
    border-top: 1px solid var(--gywf-border, #e5e7eb);
}

.event-202609-page .gevt-org__row dt {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gywf-brand, #0a4d8c);
}

.event-202609-page .gevt-org__row dd {
    margin: 0;
    font-size: 0.95rem;
    color: var(--gywf-text, #1f2937);
}

/* Timeline */
.gevt-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 0.5rem;
    border-left: 2px solid var(--gywf-brand-light);
}

.gevt-timeline__item {
    position: relative;
    padding: 0 0 1.35rem 1.25rem;
}

.gevt-timeline__item:last-child {
    padding-bottom: 0;
}

.gevt-timeline__marker {
    position: absolute;
    left: -0.55rem;
    top: 0.35rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--gywf-brand);
    box-shadow: 0 0 0 3px var(--gywf-brand-light);
}

.gevt-timeline__content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.925rem;
    color: var(--gywf-brand-dark);
}

.gevt-timeline__content p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--gywf-text-muted);
}

/* Venue */
.gevt-venue p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gywf-text);
}

.gevt-venue__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gywf-brand-dark);
    text-decoration: none;
}

.gevt-venue__link:hover {
    text-decoration: underline;
}

/* Course cards */
.gevt-course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.gevt-course-card {
    padding: 1.15rem 1rem;
    border-radius: 1rem;
    background: var(--gywf-surface-elevated);
    border: 1px solid var(--gywf-border);
    border-top: 3px solid var(--gywf-brand);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.gevt-course-card--5k {
    border-top-color: var(--gywf-brand);
}

.gevt-course-card--5k .gevt-course-card__km {
    color: var(--gywf-brand-dark);
}

.gevt-course-card--10k {
    border-top-color: var(--gywf-accent);
}

.gevt-course-card--10k .gevt-course-card__km {
    color: #0a58ca;
}

.gevt-course-card__km {
    display: inline-block;
    margin-bottom: 0.35rem;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.gevt-course-card__name {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
}

/* 코스 지도 썸네일 (신청 페이지와 동일 마크업) */
.event-202609-page .gevt-course-card .wevt-course-map-thumb {
    margin-top: 0.85rem;
    border: 1px solid var(--gywf-border, #e3e5e8);
    border-radius: 0.65rem;
    overflow: hidden;
    background: #eef2f5;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb__map {
    height: 9rem;
    width: 100%;
    display: block;
    overflow: hidden;
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb__map .leaflet-container {
    height: 100%;
    width: 100%;
    background: #e8eef3;
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb__link {
    display: block;
    padding: 0.45rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    color: var(--gywf-brand, #198754);
    background: var(--gywf-surface-elevated, #fff);
    text-decoration: none;
    border-top: 1px solid var(--gywf-border, #e3e5e8);
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb__credit {
    margin: 0;
    padding: 0.3rem 0.5rem;
    font-size: 0.625rem;
    line-height: 1.35;
    color: var(--gywf-text-muted, #6c757d);
    background: #f3f5f7;
    border-top: 1px solid var(--gywf-border, #e3e5e8);
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb__credit a {
    color: inherit;
    text-decoration: underline;
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb:hover .wevt-course-map-thumb__link,
.event-202609-page .gevt-course-card .wevt-course-map-thumb:focus-within .wevt-course-map-thumb__link {
    background: var(--gywf-brand-light, #d1e7dd);
}

.event-202609-page .gevt-course-card .wevt-course-map-thumb.is-error .wevt-course-map-thumb__map {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--gywf-text-muted, #6c757d);
}

@media (max-width: 767.98px) {
    .event-202609-page .gevt-course-card .wevt-course-map-thumb__map {
        height: 7rem;
    }
}

.gevt-course-card p {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--gywf-text-muted);
}

/* Steps */
.gevt-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gevt-steps__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: var(--gywf-surface);
}

.gevt-steps__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--gywf-brand);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

.gevt-steps__item strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.9rem;
    color: var(--gywf-text);
}

.gevt-steps__item p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--gywf-text-muted);
}

.gevt-steps__item a {
    color: var(--gywf-brand-dark);
    font-weight: 600;
}

/* Aside */
.gevt-aside {
    position: sticky;
    top: calc(var(--gevt-header-offset) + 4.25rem);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gevt-aside__card {
    padding: 1.35rem 1.15rem;
    border-radius: 1.25rem;
    background: var(--gywf-surface-elevated);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
}

.gevt-aside__card--muted {
    background: var(--gywf-surface-elevated);
    border: 1px solid var(--gywf-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    text-align: left;
}

.gevt-aside__help-head {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--gywf-border);
}

.gevt-aside__help-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: var(--gywf-surface);
    color: var(--gywf-text-muted);
    font-size: 1.15rem;
}

.gevt-aside__help-sub {
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--gywf-text-muted);
}

.gevt-aside__label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--gywf-text);
}

.gevt-aside__contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.gevt-aside__contact-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.85rem;
    background: var(--gywf-surface);
    border: 1px solid var(--gywf-border);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.gevt-aside__contact-item:hover {
    background: var(--gywf-surface-elevated);
    border-color: #ced4da;
    transform: translateY(-1px);
}

.gevt-aside__contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--gywf-surface-elevated);
    border: 1px solid var(--gywf-border);
    color: var(--gywf-text-muted);
    font-size: 0.9rem;
}

.gevt-aside__contact-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.gevt-aside__contact-type {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--gywf-text-muted);
}

.gevt-aside__contact-value {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--gywf-text);
    word-break: break-all;
}

.gevt-aside__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: var(--gywf-brand);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.gevt-aside__btn:hover {
    background: var(--gywf-brand-dark);
    color: #fff;
    transform: translateY(-1px);
}

.event-202609-page .gevt-aside__btn--disabled {
    background: #9ca3af;
    color: #fff;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.gevt-aside__sub {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gywf-text-muted);
    text-decoration: none;
}

.gevt-aside__sub:hover {
    color: var(--gywf-brand-dark);
}

.gevt-aside__title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gywf-text);
}

.gevt-aside__lead {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--gywf-text-muted);
}

.nav-event-highlight {
    color: var(--gywf-brand) !important;
    font-weight: 700 !important;
}

.nav-event-highlight:hover {
    color: var(--gywf-brand-dark) !important;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .gevt-hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* .gevt-hero__bg,
    .gevt-hero__overlay {
        border-radius: 1.25rem;
    } */

    .gevt-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .gevt-facts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gevt-layout {
        grid-template-columns: 1fr;
    }

    .gevt-aside {
        position: static;
        order: -1;
    }
}

@media (max-width: 575.98px) {
    .gevt-hero__inner {
        padding: 2.25rem 0 2rem;
    }

    .gevt-course-grid {
        grid-template-columns: 1fr;
    }
}
