/* Theme Park — container hero with image overlay */
@import url('detail-hero-mobile.css?v=4');

body.tp-page .tp-hero {
    background: #fff;
    padding-top: 2rem;
}

body.tp-page .site-container {
    max-width: var(--container-max, 1280px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

body.tp-page .tp-hero > .site-container {
    padding-left: clamp(1rem, 2.5vw, 1.5rem);
    padding-right: clamp(1rem, 2.5vw, 1.5rem);
}

.tp-hero-stage {
    position: relative;
    width: 100%;
    line-height: 0;
}

.tp-hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* 데스크톱/태블릿 전용 — 이미지 위에 글자를 얹는 오버레이(절대 위치) 레이아웃.
   모바일(≤767px)은 detail-hero-mobile.css가 .tp-hero-copy 등을 static으로
   바꿔 이미지 아래로 쌓는데, 이 파일이 detail-hero-mobile.css를 @import한
   뒤에 같은 선택자(동일 specificity)를 다시 선언하면 소스 순서상 이 파일이
   이겨서 모바일에서도 절대 위치가 적용되는 버그가 있었다. 반드시
   min-width 768px로 감싸서 모바일에는 적용되지 않게 한다. */
@media (min-width: 768px) {
    .tp-hero-copy {
        position: absolute;
        top: clamp(6.25rem, calc(3.5vw + 6.25rem), 10rem);
        left: clamp(1rem, 3vw, 1.75rem);
        z-index: 2;
        max-width: min(52%, 34rem);
        line-height: normal;
        text-align: left;
    }

    .tp-hero-title {
        margin: 0;
        font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(1.625rem, 3.4vw, 2.75rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.2;
        color: #111;
    }

    .tp-hero-tagline {
        margin: clamp(0.75rem, 1.8vw, 1rem) 0 0;
        font-family: 'DM Sans', 'Plus Jakarta Sans', sans-serif;
        font-size: clamp(1.0625rem, 2vw, 1.375rem);
        font-weight: 700;
        line-height: 1.45;
        letter-spacing: -0.02em;
        color: #111;
        max-width: 26rem;
    }

    .tp-hero-lead {
        margin: 0.875rem 0 0;
        font-size: clamp(0.875rem, 1.5vw, 0.9375rem);
        line-height: 1.7;
        color: #111;
        max-width: 28rem;
    }
}

/* —— Intro + space photo cards —— */
.tp-intro {
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    background: #fff;
}

.tp-intro-head {
    max-width: none;
}

.tp-intro-head .mh-sec-title {
    max-width: 50rem;
}

.tp-intro-body {
    max-width: 42rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: clamp(1rem, 2vw, 1.25rem);
}

.tp-intro-body .mh-sec-desc {
    margin: 0;
}

.tp-space-cards {
    list-style: none;
    margin: clamp(2rem, 4vw, 2.75rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.25rem);
}

.tp-space-card {
    margin: 0;
}

.tp-space-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 0.375rem;
    background: #f3f3f3;
    border: 1px dashed #d4d4d4;
    overflow: hidden;
}

.tp-space-card-placeholder {
    display: block;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .tp-space-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .tp-space-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}
