﻿/* ================================================================
   sub_procedure.css — 시술 상세 서브페이지 공용 템플릿 CSS (.fhg-*)
   기준: forehead_g010.php (이마거상술)
   대상: Hero Visual 아래 "이런분들께 추천합니다 / 핵심포인트 /
        수술방법 / Before&After / 주의사항" 구조를 쓰는 모든 시술 페이지
        (forehead_g010.php, lifting_4020.php 등)
   ※ 새 시술 페이지를 추가할 때 이 파일은 그대로 두고, 페이지 쪽에서
     <link rel="stylesheet" href="...sub_procedure.css">만 추가하면 됨.
     페이지 전용으로 색만 다르게 하고 싶으면(예: --ba-after-bg) 그 페이지
     안에서만 별도 <style>로 덧써서 오버라이드.
   ================================================================ */

.fhg-page { padding: 0; color: #222; font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; }
.fhg-page .container { max-width: 1400px; }

.fhg-sec-head { text-align: center; margin-bottom: 100px; position: relative; }
.fhg-kicker {
    display: inline-block;
    position: relative;
    margin-bottom: 16px;
    padding-top: 50px;
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 2px;
    color: #aa9b90;
}
.fhg-kicker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 30px;
    background: #c9b8a8;
}
.fhg-sec-head h2 {
    font-family: var(--f-display);
    font-size: 48px;
    font-weight: 600;
    color: #111;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}
.fhg-sec-head h2 strong { font-weight: 700; color: #654835; }
.fhg-sec-desc {
    margin-top: 20px;
    font-size: 21px !important;
    color: var(--c-text-mid);
    letter-spacing: -0.04em;
 }

/* 이런분들께 추천합니다 */
.fhg-recommend { padding: 150px 0; }
.fhg-reco-row { margin-top: 10px; background: #fbfaf9; padding: 70px 30px; display: flex; flex-wrap: wrap; }
.fhg-reco-row > [class*="col-"] { display: flex; }
.fhg-reco-card {
    height: 100%;
    width: 100%;
    padding: 0 24px;
    margin-bottom: 36px;
    background: transparent;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    border: none;
}
.fhg-reco-num {
    display: block;
    margin: 0 auto 28px;
    font-family: var(--f-display);
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    color: #5c4632;
}
.fhg-reco-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: -1px;
    color: #444;
    word-break: keep-all;
}
/* 4열로 나란히 배치되는 구간(lg, ≥1200px)에서만 세로 구분선 + 여백 제거 */
@media (min-width: 1200px) {
    .fhg-reco-row > [class*="col-"] { margin-bottom: 0; }
    .fhg-reco-card { margin-bottom: 0; }
    .fhg-reco-row > div:not(:first-child) > .fhg-reco-card { border-left: 1px solid #ddd2c4; }
}

/* 핵심포인트 */
.fhg-point-sec { padding: 100px 0; }
.fhg-point-row {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 80px;
}
.fhg-point-row:last-child { margin-bottom: 0; }
.fhg-point-row.fhg-reverse { flex-direction: row-reverse; }
.fhg-point-img { flex: 0 0 48%; max-width: 48%; }
.fhg-point-img img {
    width: 100%;
    border-radius: 8px;
}
.fhg-point-txt-box { flex: 1; }
.fhg-point-tag {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: -.3px;
    color: #654835;
    font-family: var(--f-display);
}
.fhg-point-txt-box h3 {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.fhg-point-txt-box p {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    word-break: keep-all;
}

/* 수술방법 */
.fhg-step-sec { padding: 100px 0; background: #f7f9fb; }
.fhg-step-row { margin-top: 10px; display: flex; flex-wrap: wrap; margin-bottom: -30px; }
.fhg-step-row > [class*="col-"] { display: flex; margin-bottom: 30px; }
.fhg-step-card { height: 100%; width: 100%; }
.fhg-step-thumb {
    position: relative;
    margin-bottom: 22px;
    border-radius: 8px;
    overflow: hidden;
}
.fhg-step-thumb img { width: 100%; display: block; }
.fhg-step-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #111;
    margin: 0 0 10px;
    text-align: center;
}
.fhg-step-card p {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    word-break: keep-all;
    text-align: center;
}
.fhg-guide-note {
    display: inline-block;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.5;
    color: #888;
    word-break: keep-all;
}

/* Before & After — 슬라이더 자체(.ba-*)는 sub_default.css의 공용 CSS를 사용.
   페이지별 강조색만 --ba-after-bg 변수로 오버라이드(각 페이지 쪽 추가
   <style>에서 .fhg-ba-sec { --ba-after-bg: #색상; } 형태로 지정) */
.fhg-ba-sec { padding: 100px 0; --ba-after-bg: #654835; }
.fhg-ba-sec .ba-slider-wrap { max-width: 1000px; margin: 0 auto; }
.fhg-ba-sec .ba-login-btn { background: #654835; }
.fhg-ba-sec .ba-login-btn:hover { background: #4f3729; }
.fhg-ba-sec .ba-arrow:hover { background: #654835; }

/* 주의사항 */
.fhg-caution-sec { padding: 60px 0 90px; background: #f7f9fb; }
.fhg-caution-list { max-width: 900px; margin: 0 auto; padding: 0; list-style: none; }
.fhg-caution-list li {
    padding: 18px 30px;
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--c-text-mid);
    box-sizing: border-box;
    background: #fff;
    letter-spacing: -0.02em;
    border: 1px solid #ececec;
    border-radius: 50px;
}
.fhg-caution-list li .glyphicon { color: #654835; margin-right: 10px; }

/* ── 태블릿 ── */
@media screen and (max-width: 991px) {
    .fhg-sec-head h2 { font-size: 26px; }
    .fhg-point-row { gap: 30px; margin-bottom: 50px; }
    .fhg-point-img { flex: 0 0 100%; max-width: 100%; margin-bottom: 22px; }
    .fhg-point-row, .fhg-point-row.fhg-reverse { flex-direction: column; }
    .fhg-sec-desc {font-size:14px !important; margin-top: 8px;}
    .fhg-point-txt-box{width: 95%;}
    .fhg-kicker{font-size:15px; margin-bottom: 8px;}
}

/* ── 모바일 ── */
@media screen and (max-width: 767px) {
    .fhg-recommend, .fhg-point-sec, .fhg-step-sec, .fhg-ba-sec { padding: 44px 0; }
    .fhg-caution-sec { padding: 44px 0 60px; }
    .fhg-sec-head { margin-bottom: 28px; }
    .fhg-sec-head h2 { font-size: 26px; }
    .fhg-reco-card { padding: 0 16px; margin-bottom: 28px; }
    .fhg-reco-num { font-size: 38px; margin-bottom: 16px; }
    .fhg-reco-card p { font-size: 15px; }
    .fhg-point-row { gap: 14px; margin-bottom: 28px; }
    .fhg-point-txt-box h3 { font-size: 17px; }
    .fhg-point-txt-box p { font-size: 15px; }
    .fhg-step-card h3 { font-size: 18px; }
    .fhg-step-card p { font-size: 15px; }
    .fhg-caution-list li { padding: 11px 16px; font-size: 15px; }
}
