@charset "UTF-8";

/* =========================================================
   중년 눈성형 — 페이지 전용

   과정 이미지
   · 상안검: 5장
   · 하안검: 4장
   · 눈썹거상술: 4장씩 독립된 2줄

   PC
   · 상안검 5열
   · 하안검 4열
   · 눈썹거상술 각 과정 4열

   태블릿·모바일
   · 모든 과정 2열
   · 상안검 5번째 이미지는 같은 크기로 가운데 정렬
   · 눈썹거상술은 과정별 2×2 배치
   · 줄이 바뀌는 위치에는 꺾쇠 표시하지 않음

   공통 유지
   · 인트로 / 본문색 / 폰트 종류
   · 중앙 제목 아래 가로선과 간격
   · 전후사진 CASE / 목록 / 더보기
   · FAQ / 진료 원칙 / 상담
========================================================= */


/* =========================================================
   01. 페이지 변수 / SVG 정의
========================================================= */

.blepharoplasty-page {
    --blepharoplasty-accent:
        var(--section-eyebrow-color, #9f826e);

    --blepharoplasty-chevron: #d0c6bb;
}

.blepharoplasty-icon-definitions {
    position: absolute;

    width: 0;
    height: 0;

    overflow: hidden;
    pointer-events: none;
}


/* =========================================================
   02. 콘텐츠 배경
========================================================= */

/* 수술방법 — 밝은 웜그레이 */

html body main#main-content.blepharoplasty-page
section.blepharoplasty-method {
    background: #f1efeb !important;
}


/* 전후사진 — 순백색 */

html body main#main-content.blepharoplasty-page
section.blepharoplasty-results {
    background: var(--color-white, #fff) !important;
}


/* FAQ — 공통 아이보리 */

html body main#main-content.blepharoplasty-page
section.revision-faq {
    background: var(--section-bg-ivory, #f8f5f0) !important;
}


/* =========================================================
   03. 수술방법 헤딩 / 패널
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method
> .revision-container
> .revision-section-heading {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-method
> .revision-container
> .revision-section-heading
+ .blepharoplasty-method__panel {
    margin-top: var(--content-media-gap, 72px) !important;
}


/* 전체 래퍼 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__panel {
    box-sizing: border-box;

    width: 100%;
    max-width: 1160px;
    min-width: 0;

    margin-inline: auto;
    margin-bottom: 0;
    padding: 0;

    border: 0 !important;
    border-radius: 0;

    background: transparent !important;
    box-shadow: none !important;
}


/* =========================================================
   04. 수술별 독립 박스
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 56px 0;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__item {
    box-sizing: border-box;

    display: block;
    min-width: 0;

    margin: 0;
    padding: 48px 52px;

    border: 0;
    border-radius: 0;

    background: var(--color-white, #fff);
    box-shadow: none;

    text-align: left;
}


/* =========================================================
   05. 수술방법 제목 / 설명
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__copy {
    width: 100%;
    max-width: 860px;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* METHOD */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__label {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 7px;

    margin: 0 0 18px;
    padding: 0;

    color: var(--blepharoplasty-accent);

    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.06em;

    text-align: left !important;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__label > span {
    font-size: inherit !important;
    font-weight: 500 !important;
    line-height: inherit !important;
    letter-spacing: inherit;
}


/* 수술명 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__title {
    margin: 0;
    padding: 0;

    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;

    text-align: left !important;

    word-break: keep-all;
}


/* 설명 — 공통 본문색과 폰트 상속 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__description {
    margin: 22px 0 0;
    padding: 0;

    font-size: 15px !important;
    font-weight: 300 !important;
    line-height: 1.95 !important;

    text-align: left !important;

    word-break: keep-all;
    overflow-wrap: break-word;
}


/* =========================================================
   06. 과정 이미지 전체 묶음

   · 설명과 이미지 사이 간격 담당
   · 눈썹거상술 두 과정 사이 간격 담당
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__processes {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 40px;

    width: 100%;
    min-width: 0;

    margin: 32px 0 0;
    padding: 0;
}


/* =========================================================
   07. 개별 과정 — 기본 4열
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__steps {
    --blepharoplasty-step-gap: 24px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;

    column-gap: var(--blepharoplasty-step-gap);
    row-gap: 28px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* 상안검 — 5열 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__steps--five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}


/* 개별 이미지 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__step {
    position: relative;
    box-sizing: border-box;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
    background: none;
    box-shadow: none;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__step > figure {
    margin: 0;
    padding: 0;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__step img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;

    border: 0;
    border-radius: 0;

    filter: none;
    transform: none;
}


/* 각 과정 내부의 이미지 사이 꺾쇠 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__step:not(:last-child)::after {
    content: "";

    position: absolute;
    top: 50%;
    right: calc(var(--blepharoplasty-step-gap) * -0.5);

    width: 9px;
    height: 9px;

    border-top: 2px solid var(--blepharoplasty-chevron);
    border-right: 2px solid var(--blepharoplasty-chevron);

    transform: translate(50%, -50%) rotate(45deg);

    pointer-events: none;
}


/* =========================================================
   08. 보충 설명
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__detail {
    margin: 28px 0 0;
    padding: 0;

    border: 0;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__detail > p {
    margin: 0;
    padding: 0;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.95 !important;

    text-align: left !important;

    word-break: keep-all;
    overflow-wrap: break-word;
}


/* 비어 있는 보충 설명 숨김 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__detail:not(:has(> p)),

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__detail:has(> p:only-child:empty) {
    display: none;
}


/* =========================================================
   09. 방법별 아이콘 수술정보
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info {
    box-sizing: border-box;

    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;

    width: 100%;
    min-width: 0;

    margin: 32px 0 0;
    padding: 28px 16px;

    border: 0;
    border-radius: 0;

    background: var(--section-bg-ivory, #f8f5f0);
    box-shadow: none;
}


/* 개별 항목 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    min-width: 0;

    margin: 0;
    padding: 0 10px;

    border: 0;
    background: transparent;

    text-align: center;
}


/* 가상요소 아이콘 중복 방지 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item::before,

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item::after,

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item > dt::before,

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item > dt::after {
    content: none !important;
    display: none !important;
}


/* 아이콘 / 항목명 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item > dt {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    margin: 0 0 7px;
    padding: 0;

    color: var(--blepharoplasty-accent);

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    text-align: center;

    word-break: keep-all;
}


/* SVG */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item
> dt
> .surgery-info__icon {
    display: block;
    position: static !important;
    flex: 0 0 auto;

    width: 25px !important;
    height: 25px !important;

    margin: 0 !important;
    padding: 0;

    color: inherit;

    transform: none !important;
}


/* 수술정보 내용 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__info-item > dd {
    margin: 0;
    padding: 0;

    color: var(--color-body-copy, inherit);

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.7 !important;

    text-align: center;

    word-break: keep-all;
    overflow-wrap: break-word;
}


/* 수술정보 하단 안내 */

html body main#main-content.blepharoplasty-page
.blepharoplasty-method__notice {
    margin: 12px 0 0;
    padding: 0;

    color: #81786f;

    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;

    text-align: left;

    word-break: keep-all;
}


/* =========================================================
   10. 전후사진
   CASE / 목록 / 더보기는 공통 규칙 유지
========================================================= */

html body main#main-content.blepharoplasty-page
.blepharoplasty-results
> .revision-container
> .revision-section-heading {
    box-sizing: border-box;

    width: 100% !important;
    max-width: none !important;

    margin-inline: 0 !important;
    padding-inline: 0 !important;

    text-align: left !important;
    align-items: flex-start !important;
    justify-items: start !important;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-results
.revision-section-heading
:is(
    .revision-section-heading__eyebrow,
    .revision-section-heading__title
) {
    max-width: none !important;

    margin-inline: 0 !important;

    text-align: left !important;
}

html body main#main-content.blepharoplasty-page
.blepharoplasty-results__notice {
    margin: 22px 0 0;
    padding: 0;

    color: #81786f;

    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 1.8 !important;

    text-align: left;

    word-break: keep-all;
}


/* =========================================================
   11. FAQ
   revision-faq 공통 스타일 / 기능 사용
========================================================= */


/* =========================================================
   12. 태블릿·모바일 공통 — 과정 이미지 2열
========================================================= */

@media (max-width: 1023px) {

    /* 모든 과정 이미지 2열 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    /* 상안검 5번째 이미지 — 같은 크기로 가운데 정렬 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__steps--five
    > .blepharoplasty-method__step:last-child {
        grid-column: 1 / -1;
        justify-self: center;

        width: calc((100% - var(--blepharoplasty-step-gap)) / 2);
    }


    /* 각 목록에서 줄이 바뀌는 위치의 꺾쇠 제거 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__step:nth-child(2n)::after {
        content: none;
        display: none;
    }

}


/* =========================================================
   13. 태블릿 — 768px ~ 1023px
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {

    /* 독립 박스 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__list {
        row-gap: 40px;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__item {
        padding: 36px 32px;
    }


    /* 제목 / 설명 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__title {
        font-size: 22px !important;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__description {
        margin-top: 18px;

        font-size: 14px !important;
    }


    /* 과정 묶음 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__processes {
        row-gap: 40px;

        margin-top: 28px;
    }


    /* 개별 과정 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__steps {
        --blepharoplasty-step-gap: 28px;

        row-gap: 28px;
    }


    /* 수술정보 — 3열 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__info {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 0;

        padding: 28px 16px;
    }

}


/* =========================================================
   14. 모바일 — 767px 이하
========================================================= */

@media (max-width: 767px) {

    /* 독립 박스 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__list {
        row-gap: 32px;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__item {
        padding: 32px 24px;
    }


    /* 제목 / 설명 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__label {
        margin-bottom: 14px;

        font-size: 15px !important;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__title {
        font-size: 21px !important;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__description {
        margin-top: 18px;

        font-size: 14px !important;
        line-height: 1.9 !important;
    }


    /* 과정 묶음 — 두 과정 사이 간격 유지 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__processes {
        row-gap: 40px;

        margin-top: 26px;
    }


    /* 개별 과정 — 각 2열 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__steps {
        --blepharoplasty-step-gap: 16px;

        row-gap: 24px;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__step:not(:last-child)::after {
        width: 7px;
        height: 7px;
    }


    /* 보충 설명 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__detail {
        margin-top: 24px;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__detail > p {
        font-size: 14px !important;
        line-height: 1.9 !important;
    }


    /* 수술정보 — 2열 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__info {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 0;

        margin-top: 24px;
        padding: 26px 12px;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__info-item {
        padding: 0 8px;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__info-item
    > dt
    > .surgery-info__icon {
        width: 23px !important;
        height: 23px !important;
    }

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__notice {
        font-size: 11px !important;
    }


    /* 전후사진 안내 */

    html body main#main-content.blepharoplasty-page
    .blepharoplasty-results__notice {
        margin-top: 18px;

        font-size: 11px !important;
    }

}

/* 수술방법 — 실제 이미지 개수에 맞춰 자동 분배 */
html body main#main-content.blepharoplasty-page
.blepharoplasty-method__steps {
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
}

/* 기존 5번째 이미지 전용 너비·가운데 배치 해제 */
html body main#main-content.blepharoplasty-page
.blepharoplasty-method__steps > li {
    width: auto !important;
    max-width: none !important;
    grid-column: auto !important;
    justify-self: stretch !important;
}

/* 태블릿·모바일 — 2열 유지 */
@media (max-width: 1023px) {
    html body main#main-content.blepharoplasty-page
    .blepharoplasty-method__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
