/* 문화혁신포럼 장소안내 서브페이지 */

.page-forum-venue {
    min-height: 100%;
    padding-bottom: 120px;
    background-color: var(--sub-white);
    color: var(--sub-black);
    word-break: keep-all;
}

.page-forum-venue *,
.page-forum-venue *::before,
.page-forum-venue *::after {
    box-sizing: border-box;
}

.venue-intro {
    position: relative;
    padding: 0 0 64px;
}

/* =========================================================
   VENUE CONTENT LAYOUT
========================================================= */

.venue-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(28px, 3vw, 44px);
}

/* 박스(배경+테두리+그림자)를 완전히 걷어내고, 다른 페이지처럼 여백과
   헤어라인만으로 구분한다. 두 카드는 세로 구분선으로 나눈다
   (about의 `about-asean__intro`와 같은 border-left + padding-left 패턴). */
/* 박스를 걷어내며 padding을 전부 0으로 뒀더니 내용이 아래쪽 끝까지
   딱 붙어 보였다. 하단 여백만 살려 둔다. */
.venue-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: visible;
    padding: 0 0 32px;
    background: none;
}

.venue-card__header {
    display: flex;
    min-width: 0;
    min-height: 48px;
    align-items: center;
    gap: 10px;
}

.venue-card__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #f4f5f7;
    color: var(--sub-black);
    font-size: 20px;
}

.venue-card__badge-group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.venue-card__badge {
    margin: 0;
    color: var(--sub-black);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    word-break: keep-all;
}

/* =========================================================
   VENUE MEDIA
========================================================= */

.venue-card__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    margin-top: 24px;
    gap: 12px;
}

.venue-card__media img {
    display: block;
    width: 100%;
    height: clamp(172px, 14vw, 210px);
    min-width: 0;
    border-radius: 14px;
    background: #f2f4f6;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

/* =========================================================
   VENUE DETAILS
========================================================= */

.venue-info-list,
.venue-location-list {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.venue-info-list {
    margin: 24px 0 0;
    gap: 12px;
}

.venue-location-list {
    margin: 0;
    padding: 0;
    gap: 20px;
}

.venue-detail-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.venue-location-list .venue-detail-item:nth-child(2) {
    padding-top: 20px;
    border-top: 1px solid #e8eaed;
    gap: 16px;
}

/* 라벨은 작고 또렷하게, 값은 한 단계 키워 위계를 분명히 한다. */
/* about의 `section-speakers__forum-kicker`와 같은 톤 — 이 페이지 전체를
   그 스케줄 블록과 같은 성격의 섹션으로 취급한다(카드1의 "개최장소" 등도 포함). */
.venue-detail-item dt {
    margin: 0;
    color: var(--sub-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.venue-detail-item dd {
    min-width: 0;
    margin: 0;
    color: #24272c;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.venue-info-list .venue-detail-item:nth-child(2) {
    gap: 12px;
}

.venue-location-list .venue-detail-item:first-child dd {
    white-space: pre-line;
}

.venue-grid .venue-card:nth-child(2) .venue-card__header {
    margin-bottom: 28px;
}

/* =========================================================
   OFFICIAL WEBSITE BUTTON
========================================================= */

.venue-web-btn {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 22px;
    border: 1px solid var(--sub-black);
    border-radius: 8px;
    background-color: var(--sub-black);
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
    color: var(--sub-white);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: all 0.2s ease;
}

.venue-web-btn:hover {
    background-color: #1f2937;
    border-color: #1f2937;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.2);
    color: var(--sub-white);
    transform: translateY(-2px);
}

.venue-web-btn i {
    flex-shrink: 0;
    font-size: 15px;
    transition: transform 0.2s ease;
}

.venue-web-btn:hover i {
    transform: translate(2px, -2px);
}

/* =========================================================
   PUBLIC TRANSPORT
========================================================= */

.venue-transport-list {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 12px;
}

/* about의 `section-speakers__forum-event` 카드와 동일한 값. */
.venue-transport-item {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 20px 22px;
    border: 1px solid var(--sub-line);
    border-radius: 10px;
    background: #f8f8f6;
    color: #3d424a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    word-break: keep-all;
    overflow-wrap: break-word;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.venue-transport-item:hover {
    border-color: #d4d8de;
    background: #f5f6f8;
}

/* 지도 배지(빨강)가 없어지면서 이 색만 이유 없이 남은 빨강이 됐다.
   중립 톤으로 낮추고, 정사각형이 아니던 아이콘 박스(20x22)도 맞춘다. */
.venue-transport-item > i {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    color: #5f6670;
    font-size: 17px;
    line-height: 1;
}

/* 배지(inline-block)를 감싸는 이 span이 인라인으로 남아 있으면 인라인
   포맷팅 컨텍스트(baseline 정렬)에 걸려 위아래 여백이 미묘하게 어긋난다.
   block으로 바꿔 배지·본문이 온전히 세로로 쌓이게 한다. */
.venue-transport-item > div,
.venue-transport-item > span {
    display: block;
    min-width: 0;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* about의 `section-speakers__forum-event-meta`와 같은 톤. */
.venue-transport-item p,
.venue-transport-item__text {
    display: block;
    margin: 0;
    color: var(--sub-gray, #4b5563);
    font-size: 17px;
    line-height: 1.5;
    white-space: pre-line;
}

/* about의 `section-speakers__forum-event-title`과 같은 처리 —
   파란 배경 + 흰 글씨 배지. 아이콘 대신 이걸로 항목을 구분한다. */
.venue-transport-item__label {
    display: inline-block;
    margin: 0 0 14px;
    padding: 6px 14px;
    color: var(--sub-white);
    background: var(--sub-blue);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* =========================================================
   FEATURED MAP SECTION
========================================================= */

.venue-map-card {
    position: relative;
    overflow: hidden;
    padding: 64px 0 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
}

.venue-map-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
}

.venue-map-card__title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.venue-map-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--sub-black);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
}

.venue-directions-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid #d4d8de;
    border-radius: 10px;
    background: #fff;
    color: var(--sub-black);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.venue-directions-btn:hover {
    transform: translateY(-2px);
    border-color: var(--sub-black);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.09);
    color: var(--sub-black);
}

.venue-map-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid #e5e8ec;
    border-radius: 10px;
    background: #f8f9fa;
    color: #5f6670;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.venue-map-note i {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--sub-blue);
    font-size: 17px;
}

.venue-map-wrapper {
    position: relative;
    width: 100%;
    height: clamp(580px, 35vw, 700px);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #e1e4e8;
    border-radius: 14px;
    background: #f3f4f6;
}

.venue-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================================
   RESPONSIVE RULES
========================================================= */

/* 태블릿 (~1320px) */
@media (max-width: 1320px) {
    .venue-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .venue-grid > .venue-card:nth-of-type(2) {
        padding-top: 28px;
    }

    .venue-map-card {
        padding-top: 36px;
    }

    .venue-card__media {
        grid-template-columns: 1fr;
    }

    .venue-card__media img {
        height: clamp(200px, 32vw, 280px);
    }

    .page-forum-venue {
        padding-bottom: 90px;
    }

    .venue-intro {
        padding-bottom: 44px;
    }

    .venue-map-card {
        padding-top: 32px;
    }

    .venue-card__media img {
        height: clamp(190px, 38vw, 260px);
    }

    .venue-info-list,
    .venue-location-list {
        gap: 16px;
    }

    .venue-map-wrapper {
        height: 500px;
    }
}

/* 모바일 (~500px) */
@media (max-width: 500px) {
    .page-forum-venue {
        padding-bottom: 72px;
    }

    .venue-intro {
        padding-bottom: 36px;
    }

    .venue-grid {
        gap: 24px;
    }

    .venue-grid > .venue-card:nth-of-type(2) {
        padding-top: 24px;
    }

    .venue-map-card {
        padding-top: 28px;
    }

    .venue-card__header {
        min-height: 42px;
        gap: 11px;
    }

    .venue-card__icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
        font-size: 17px;
    }

    .venue-card__badge {
        font-size: 19px;
    }

    .venue-card__media {
        grid-template-columns: 1fr;
        margin-top: 20px;
        gap: 8px;
    }

    .venue-card__media img {
        height: clamp(180px, 48vw, 240px);
        border-radius: 10px;
    }

    .venue-info-list {
        margin-top: 22px;
        padding-top: 20px;
        gap: 16px;
    }

    .venue-location-list {
        margin-top: 0;
        padding-top: 0;
        gap: 16px;
    }

    .venue-location-list .venue-detail-item:nth-child(2) {
        padding-top: 18px;
    }

    .venue-detail-item dd {
        font-size: 17px;
        line-height: 1.7;
    }

    .venue-grid .venue-card:nth-child(2) .venue-card__header {
        margin-bottom: 22px;
    }

    .venue-web-btn,
    .venue-directions-btn {
        width: 100%;
    }

    .venue-transport-item {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 10px;
        padding: 14px 13px;
    }

    .venue-transport-item > i {
        width: 18px;
        font-size: 16px;
    }

    .venue-map-card__header {
        flex-direction: column;
        align-items: stretch;
    }

    .venue-map-wrapper {
        height: 480px;
        min-height: 480px;
        border-radius: 11px;
    }

    .venue-map-card {
        padding-top: 24px;
    }

    .venue-card__badge {
        font-size: 17px;
    }

    .venue-card__media img {
        height: clamp(160px, 52vw, 200px);
    }

    .venue-transport-item {
        padding: 12px 11px;
    }
}
