@charset "utf-8";

/* ===== Studio Detail Page ===== */

/* Hero : Gallery + Info */
.sv-hero {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
}

.sv-hero__gallery {
    flex: 0 0 58%;
    min-width: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
}
.sv-hero__gallery .fotorama__stage {
    height: 420px !important;
    border-radius: 12px;
}
.sv-hero__gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.sv-hero__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Like */
.sv-hero__like {
    text-align: right;
    margin-bottom: 12px;
}
.sv-hero__like a.good {
    font-size: 15px;
    color: #aaa;
    letter-spacing: 0;
    text-decoration: none;
}
.sv-hero__like a.good i {
    margin-right: 4px;
    font-size: 1.1em;
}
.sv-hero__like a.good i.gon {
    color: #f03d3d;
}

/* Title */
.sv-hero__title {
    margin-bottom: 20px;
}
.sv-hero__title h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
    margin: 0 0 10px 0;
    word-break: keep-all;
}
.sv-badge {
    display: inline-block;
    font-size: 13px;
    color: #1a83a8;
    font-weight: 400;
    line-height: 26px;
    padding: 0 12px;
    border: 1px solid #1a83a8;
    border-radius: 50px;
    margin-bottom: 8px;
}
.sv-hero__desc {
    font-size: 1.05em;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Info List */
.sv-info-list {
    border-top: 1px solid #eee;
    padding-top: 18px;
    margin-bottom: 20px;
}
.sv-info-list__item {
    display: flex;
    align-items: baseline;
    padding: 7px 0;
    font-size: 0.95em;
    line-height: 1.5;
}
.sv-info-list__label {
    flex: 0 0 110px;
    color: #555;
    font-weight: 500;
}
.sv-info-list__label i {
    width: 18px;
    text-align: center;
    color: #03509d;
    margin-right: 5px;
}
.sv-info-list__value {
    flex: 1;
    color: #333;
    word-break: keep-all;
}

/* CTA */
.sv-hero__cta {
    margin-top: auto;
    background: #f8f9fb;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    padding: 20px 24px;
    text-align: center;
}
.sv-hero__cta p {
    margin: 0 0 12px 0;
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}
.sv-btn {
    display: inline-block;
    padding: 0 28px;
    height: 44px;
    line-height: 42px;
    border-radius: 6px;
    font-size: 1em;
    font-family: 'Noto Sans KR', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}
.sv-btn--outline {
    background: #fff;
    border: 1px solid #ccc;
    color: #444;
}
.sv-btn--outline i {
    color: #03509d;
    margin-right: 4px;
}
.sv-btn--outline:hover {
    background: #03509d;
    border-color: #03509d;
    color: #fff;
}
.sv-btn--outline:hover i {
    color: #fff;
}

/* ===== Content Sections ===== */
.sv-content {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.sv-section {
    margin-bottom: 48px;
}
.sv-section__title {
    font-size: 1.5em;
    font-weight: 500;
    color: #222;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    position: relative;
}
.sv-section__title::before {
    content: "";
    display: block;
    width: 35px;
    height: 3px;
    background: #03509d;
    margin-bottom: 8px;
}
.sv-section__body {
    font-size: 1.05em;
    line-height: 1.8;
    color: #555;
    word-break: break-all;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}
.sv-section__body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.sv-section__body iframe {
    max-width: 100%;
}
.sv-section__body table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}
.sv-section__body p {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Location */
.sv-location {
    background: #f8f9fb;
    border: 1px solid #e8eaed;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 16px;
}
.sv-location__addr {
    font-size: 1.1em;
    color: #333;
    margin: 0 0 6px 0;
    line-height: 1.6;
}
.sv-location__addr i {
    color: #03509d;
    margin-right: 4px;
}
.sv-location__link {
    color: #1a83a8;
    text-decoration: none;
    font-size: 0.95em;
    word-break: break-all;
}
.sv-location__link:hover {
    text-decoration: underline;
}

/* Map */
.sv-map {
    width: 100%;
    height: 400px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}


/* ===== Responsive ===== */

/* Tablet */
@media screen and (max-width: 1000px) {
    .sv-hero {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 36px;
    }
    .sv-hero__gallery {
        flex: none;
        width: 100%;
    }
    .sv-hero__gallery .fotorama__stage {
        height: 300px !important;
    }
    .sv-hero__info {
        padding: 0 10px;
    }
    .sv-hero__title h3 {
        font-size: 1.5em;
    }
    .sv-section {
        padding: 0 10px;
        margin-bottom: 36px;
    }
    .sv-section__title {
        font-size: 1.3em;
    }
    .sv-map {
        height: 300px;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .sv-hero {
        gap: 16px;
        margin-bottom: 28px;
    }
    .sv-hero__gallery .fotorama__stage {
        height: 220px !important;
    }
    .sv-hero__info {
        padding: 0 6px;
    }
    .sv-hero__title h3 {
        font-size: 1.3em;
        line-height: 1.3;
    }
    .sv-badge {
        font-size: 12px;
        padding: 0 10px;
        line-height: 22px;
    }
    .sv-info-list__item {
        flex-direction: column;
        padding: 6px 0;
    }
    .sv-info-list__label {
        flex: none;
        font-size: 0.85em;
        color: #888;
        margin-bottom: 2px;
    }
    .sv-info-list__value {
        font-size: 0.95em;
    }
    .sv-hero__cta {
        padding: 16px;
    }
    .sv-btn {
        width: 100%;
        text-align: center;
        padding: 0 16px;
    }
    .sv-section {
        padding: 0 6px;
        margin-bottom: 28px;
    }
    .sv-section__title {
        font-size: 1.2em;
    }
    .sv-section__body {
        font-size: 1em;
    }
    .sv-location {
        padding: 16px;
    }
    .sv-map {
        height: 250px;
        border-radius: 8px;
    }
}
