/* ===========================
   festival-info.css
   =========================== */

/* 공통 섹션 레이아웃 */
.fi-inner {
    width: calc(100% - var(--layout-flax-margin));
    max-width: var(--layout-width);
    margin: 0 auto;
}

.fi-section-label {
    font-size: var(--font-size-xxlarge);
    color: var(--color-point);
    font-weight: 400;
    line-height: normal;
    margin-bottom: var(--gap-10);
}

.fi-section-title {
    font-size: var(--font-size-xxxxxlarge);
    font-weight: 700;
    color: var(--color-dark);
    line-height: normal;
    margin-bottom: var(--gap-60);
}

/* ===========================
   행사소개 섹션
   =========================== */
.sticky-reveal-text-section {
    position: relative;
    height: 220vh;
    background: var(--color-bright);
}

.sticky-reveal-text-section__sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

.sticky-reveal-text-section__inner {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 var(--layout-side-margin);
}

.sticky-reveal-text-section__eyebrow {
    margin: 0;
    font-size: var(--font-size-xxlarge);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-point);
}

.sticky-reveal-text-section__title {
    margin: 60px 0 0;
    font-size: var(--font-size-huge);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
    word-break: keep-all;
	max-width:780px;
}

.sticky-reveal-text-section__desc {
    max-width: 1100px;
    margin: 40px auto 0;
    font-size: var(--font-size-xlarge);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-dark);
    word-break: keep-all;
}

.reveal-char {
    color: #d9d9d9;
    transition: color 0.18s linear;
}

.reveal-char.is-visible {
    color: var(--color-dark);
}

.reveal-char.is-space {
    display: inline;
}

@media (max-width: 1024px) {
    .sticky-reveal-text-section {
        height: 180vh;
    }

    .sticky-reveal-text-section__title {
        margin-top: var(--gap-40);
        font-size: var(--font-size-xxxxxlarge);
    }

    .sticky-reveal-text-section__desc {
        margin-top: var(--gap-30);
        font-size: var(--font-size-xlarge);
    }
}

@media (max-width: 767px) {
    .sticky-reveal-text-section {
        height: 160vh;
    }

    .sticky-reveal-text-section__inner {
        padding: 0 25px;
    }

    .sticky-reveal-text-section__eyebrow {
        font-size: var(--font-size-large);
    }

    .sticky-reveal-text-section__title {
        margin-top: var(--gap-30);
        font-size: var(--font-size-xxxxlarge);
        line-height: 1.4;
    }

    .sticky-reveal-text-section__desc {
        margin-top: var(--gap-20);
        font-size: var(--font-size-large);
        line-height: 1.7;
    }
}

/* ===========================
   행사장 배치도 섹션
   =========================== */
.fi-venue-section {
    background-color: var(--color-background-bg);
    padding: var(--gap-140) 0;
}

.fi-venue-section .fi-section-label,
.fi-venue-section .fi-section-title {
    text-align: center;
}

.fi-venue-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-60);
    margin-top: var(--gap-80);
}

.fi-venue-map {
    flex: 1 1 76%;
    min-width: 0;
}

.fi-venue-map img {
    width: 100%;
    height: auto;
    display: block;
}

.fi-venue-info {
    flex: 0 0 20%;
    min-width: 320px;
	background-color: #fff;
	border-radius: 15px;
	padding:40px;
	box-sizing: border-box;
}

.fi-venue-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-30);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fi-venue-item-title {
    display: block;
    font-size: var(--font-size-middle);
    font-weight: 700;
    line-height: 1.4;
}

.fi-venue-item-desc {
    margin: var(--gap-12) 0 0 0;
    padding-left: 1.25rem;
    font-size: var(--font-size-middle);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-font);
    word-break: keep-all;
}

@media screen and (max-width: 1024px) {
    .fi-venue-layout {
        gap: var(--gap-40);
    }

    .fi-venue-info {
        flex: 0 0 40%;
        min-width: 280px;
    }
}

@media screen and (max-width: 767px) {

    .fi-venue-layout {
        flex-direction: column;
        gap: var(--gap-40);
        margin-top: var(--gap-60);
    }

    .fi-venue-map,
    .fi-venue-info {
        width: 100%;
        min-width: 0;
        flex: none;
    }

    .fi-venue-list {
        gap: var(--gap-20);
    }

    .fi-venue-item-title,
    .fi-venue-item-desc {
        font-size: var(--font-size-regular);
    }

    .fi-venue-item-desc {
        padding-left: 1.8rem;
    }
}

/* ===========================
   찾아오시는 길 섹션
   =========================== */
.fi-directions-section {
    background-color: var(--color-bright);
    padding-top: var(--gap-140);
}

.fi-directions-grid {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-80);
    margin-top: var(--gap-60);
    padding-bottom: var(--gap-140);
}

.fi-divider {
    width: 1px;
    background-color: var(--color-border);
    align-self: stretch;
    flex-shrink: 0;
}

.fi-location-info,
.fi-schedule-info {
    flex: 1;
}

.fi-info-heading {
    font-size: var(--font-size-xxlarge);
    font-weight: 600;
    color: var(--color-dark);
    line-height: normal;
    margin-bottom: var(--gap-60);
}

.fi-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-40);
}

.fi-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
}

.fi-info-label {
    font-size: var(--font-size-xlarge);
    font-weight: 400;
    color: var(--color-dark);
    line-height: normal;
}

.fi-info-value {
    font-size: var(--font-size-large);
    font-weight: 400;
    color: var(--color-font);
    line-height: 1.6;
}

.fi-map-image {
    width: 100%;
    min-height: 400px;
    overflow: hidden;
    background-color: var(--color-light-gray);
}

.fi-map-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   반응형 - 768px 이하
   =========================== */
@media only screen and (max-width: 768px) {
    .fi-sub-title {
        word-break: keep-all;
    }

    .fi-directions-grid {
        flex-direction: column;
        gap: var(--gap-60);
    }

    .fi-divider {
        width: 100%;
        height: 1px;
        align-self: auto;
    }



    .fi-map-image {
        min-height: 280px;
    }
}

/* ===========================
   반응형 - 640px 이하
   =========================== */
@media only screen and (max-width: 640px) {
    .fi-desc {
        max-width: 100%;
    }



    .fi-map-image {
        min-height: 220px;
    }
}
