@charset "UTF-8";

/* =========================================================
   용코·비공내리기

   공통 시스템 사용:
   · 인트로 / 타이포 / 제목
   · 수술정보 6개 항목
   · 핵심 포인트 배치·간격
   · 수술방법 단일 패널 / 좌우 설명형
   · 전후사진 / CASE / 더보기
   · FAQ / 진료 원칙 / 상담

   페이지 전용 관리:
   · 섹션 배경
   · 제목과 콘텐츠 연결
   · 핵심 포인트 사진 비율 및 안내 문구
   · 전후사진 하단 안내
========================================================= */


/* =========================================================
   01. 페이지 변수
========================================================= */

.nostril-lowering-page {
    --nostril-lowering-light-bg: #fcfaf7;
    --nostril-lowering-intro-bg: #f0ebe4;

    /*
       실제 사진에 맞춰 이 페이지에서 개별 조정.
       다른 페이지의 사진 안내에는 영향 없음.
    */
    --nostril-lowering-photo-label-color: #f5f3ef;

    --nostril-lowering-photo-label-shadow:
        0 1px 3px rgba(0, 0, 0, 0.45);
}


/* =========================================================
   02. 섹션 배경

   인트로 / 수술정보 / 진료 원칙 / 상담:
   기존 공통 CSS 사용.

   핵심 포인트: #fcfaf7
   수술방법 바깥: #f5f1eb
   수술방법 안쪽 박스: 기존 공통 CSS 사용
   전후사진: #fcfaf7
   FAQ: 흰색
========================================================= */

html body main#main-content.nostril-lowering-page
section.nostril-lowering-design {
    background-color: #fcfaf7 !important;
}

html body main#main-content.nostril-lowering-page
section.nostril-lowering-method {
    background-color: #f5f1eb !important;
}

html body main#main-content.nostril-lowering-page
section.nostril-lowering-results {
    background-color: #fcfaf7 !important;
}

html body main#main-content.nostril-lowering-page
section.revision-faq {
    background-color: #fff !important;
}



/* =========================================================
   03. タイトルとコンテンツの間隔
   제목과 콘텐츠 사이 간격 — 공통 변수 사용
========================================================= */

html body main#main-content.nostril-lowering-page
:is(
    .nostril-lowering-design,
    .nostril-lowering-method
)
> .revision-container
> .revision-section-heading {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

html body main#main-content.nostril-lowering-page
:is(
    .nostril-lowering-design,
    .nostril-lowering-method
)
> .revision-container
> .revision-section-heading
+ :is(
    .key-points__layout,
    .surgery-method__list
) {
    margin-top: var(--content-media-gap, 72px) !important;
}


/* 수술방법 제목 아래 설명만 중앙 정렬 */

html body main#main-content.nostril-lowering-page
.nostril-lowering-method
.revision-section-heading__description {
    text-align: center !important;
}


/* =========================================================
   04. 핵심 포인트 사진

   · 1:1 원본 전체 표시
   · 사진 자르기·색상 필터 없음
   · 가로 너비·열 간격·항목 간격은 공통 규칙 사용
========================================================= */

html body main#main-content.nostril-lowering-page
.key-points__layout {
    align-items: center;
}

html body main#main-content.nostril-lowering-page
.key-points__visual {
    position: relative;
}

html body main#main-content.nostril-lowering-page
.key-points__visual > img {
    display: block;

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

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

    filter: none;
}


/* 사진 왼쪽 아래 안내 */

html body main#main-content.nostril-lowering-page
.key-points__photo-label {
    position: absolute;
    inset: auto auto 14px 16px;
    z-index: 2;

    display: block !important;

    width: auto;
    max-width: calc(100% - 32px);

    margin: 0;
    padding: 0;

    border: 0;
    background: none;

    color: var(--nostril-lowering-photo-label-color) !important;

    font-size: 10px !important;
    font-weight: 300 !important;
    line-height: 1.5 !important;
    letter-spacing: 0;

    text-align: left;

    text-shadow:
        var(--nostril-lowering-photo-label-shadow) !important;

    opacity: 1;
    visibility: visible;

    pointer-events: none;
}


/* =========================================================
   05. 수술정보 안내
========================================================= */

html body main#main-content.nostril-lowering-page
.surgery-info__notice {
    font-weight: 500 !important;
}


/* =========================================================
   06. 전후사진 하단 안내

   사진 간격·CASE·더보기는 공통 시스템 유지.
========================================================= */

.nostril-lowering-page
.nostril-lowering-results__notice {
    margin: 22px 0 0;
    padding: 0;

    color: #81786f;

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

    text-align: left;

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


/* =========================================================
   07. 태블릿
========================================================= */

@media (min-width: 768px) and (max-width: 1023px) {
    html body main#main-content.nostril-lowering-page
    :is(
        .nostril-lowering-design,
        .nostril-lowering-method
    )
    > .revision-container
    > .revision-section-heading
    + :is(
        .key-points__layout,
        .surgery-method__list
    ) {
        margin-top: var(--content-media-gap, 52px) !important;
    }
}


/* =========================================================
   08. 모바일
========================================================= */

@media (max-width: 767px) {
    html body main#main-content.nostril-lowering-page
    :is(
        .nostril-lowering-design,
        .nostril-lowering-method
    )
    > .revision-container
    > .revision-section-heading
    + :is(
        .key-points__layout,
        .surgery-method__list
    ) {
        margin-top: var(--content-media-gap, 32px) !important;
    }

    html body main#main-content.nostril-lowering-page
    .key-points__photo-label {
        bottom: 12px;
        left: 12px;

        max-width: calc(100% - 24px);

        font-size: 9px !important;
    }

    .nostril-lowering-page
    .nostril-lowering-results__notice {
        margin-top: 18px;
        font-size: 11px;
    }
}
