@charset "UTF-8";

/* ========================================
   About Page - 한의원 소개
   ======================================== */


/* ----------------------------------------
   Section 01 : 히어로 배너
   ---------------------------------------- */
.about-hero {
    position: relative;
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(34, 30, 31, 0.6);
}

.about-hero-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-hero-title {
    position: absolute;
    top: 340px;
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
}

.about-hero-sub {
    position: absolute;
    bottom: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.about-hero-sub-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.about-hero-sub-desc {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

/* ----------------------------------------
   Section 02 : 통합 섹션 (철학 + 진료과정 + 추구하는 치료)
   ---------------------------------------- */

/* --- 철학 (Our Philosophy) --- */
.about-philosophy {
    padding: 160px 0 0;
}

.philosophy-top {
    display: flex;
    gap: 120px;
}

.philosophy-top-img {
    flex-shrink: 0;
    width: 800px;
    height: 444px;
    border-radius: 30px;
    overflow: hidden;
    background: #ddd;
}

.philosophy-top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.philosophy-top-text {
    display: flex;
    flex-direction: column;
    gap: 60px;
    flex-shrink: 0;
}

.philosophy-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.philosophy-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
}

.philosophy-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1;
}

.philosophy-desc {
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.6;
}

/* --- 진료 과정 (How We Care) --- */
.about-process {
    padding: 160px 0 0;
    --process-visual-height: 500px;
    --process-visual-offset: calc(50vh - (var(--process-visual-height) / 2));
}

.process-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
}

.process-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
    text-align: center;
}

.process-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1;
    text-align: center;
}

.process-desc {
    font-size: 20px;
    color: #221E1F;
    line-height: 1.6;
    text-align: center;
}

.process-scroll-area {
    position: relative;
    margin-top: 40px;
}

.process-body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    width: 100%;
}

/* 탭 버튼 */
.process-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
    z-index: 20;
    padding: 16px 0;
}

.process-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid #8C9091;
    background: none;
    font-size: 18px;
    font-weight: 400;
    color: #8C9091;
    cursor: pointer;
    transition: all 0.3s;
}

.process-tag.active {
    border-color: #221E1F;
    color: #221E1F;
}

/* 좌: sticky 이미지 */
.process-left {
    position: sticky;
    top: var(--process-visual-offset);
    flex-shrink: 0;
    width: 1000px;
}

.process-panels {
    position: relative;
    width: 1000px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    background: #ddd;
}

.process-panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.process-panel.active {
    opacity: 1;
}

.process-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 우: 스크롤 트리거 + sticky 텍스트 */
.process-right {
    position: relative;
    flex: 1;
    height: calc((var(--process-visual-height) * 4) + (80px * 3) + var(--process-visual-offset));
}

.process-triggers {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
}

.process-trigger {
    flex: 1;
}

.process-items {
    position: sticky;
    top: var(--process-visual-offset);
}

.process-item {
    display: none;
    flex-direction: column;
    gap: 52px;
    padding: 24px 0;
}

.process-item.active {
    display: flex;
    animation: processItemFadeUp 0.4s ease forwards;
}

@keyframes processItemFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.process-card {
    display: flex;
    gap: 60px;
    width: 100%;
}

.process-card-img {
    flex-shrink: 0;
    width: 1000px;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    background: #ddd;
}

.process-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-card-body {
    display: flex;
    flex-direction: column;
    gap: 52px;
    padding: 24px 0;
    width: 460px;
    flex-shrink: 0;
}

.process-card-step {
    font-family: 'Noto Serif KR', serif;
    font-size: 72px;
    font-weight: 700;
    color: #CDCAC3;
    line-height: 1;
}

.process-card-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.process-card-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1;
}

.process-card-desc {
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.6;
}

/* --- 추구하는 치료 (The Way We Treat) --- */
.about-treat {
    padding: 160px 0;
}

.about-treat .inner {
    display: flex;
    justify-content: space-between;
    gap: 168px;
}

.treat-text {
    display: flex;
    flex-direction: column;
    gap: 54px;
    width: 552px;
    flex-shrink: 0;
}

.treat-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.treat-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #840028;
    line-height: 1;
}

.treat-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1;
}

.treat-desc {
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1.6;
}

.treat-img {
    flex-shrink: 0;
    width: 800px;
    height: 540px;
    border-radius: 30px;
    overflow: hidden;
    background: #ddd;
}

.treat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ----------------------------------------
   Section 05 : 치료 기준 (Our Care Standards)
   ---------------------------------------- */
.about-standards {
    background: #221E1F;
    padding: 160px 0;
}

.standards-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
}

.standards-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.standards-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
    text-align: center;
}

.standards-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-align: center;
}

.standards-desc {
    font-size: 20px;
    color: #fff;
    text-align: center;
    line-height: 1;
}

/* 2컬럼 지그재그 그리드 */
.standards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 120px;
    margin-top: 120px;
}

/* 짝수 카드(2,4번)는 아래로 오프셋 */
.standard-item {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.standard-item-offset {
    margin-top: 175px;
}

.standard-item-img {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    background: #333;
    flex-shrink: 0;
}

.standard-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.standard-item-text {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.standard-item-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.standard-item-desc {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.standard-col-title-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}

.standard-col-title-wrap .divider {
    width: 2px;
    height: 26px;
    background: #fff;
    flex-shrink: 0;
}

.standard-col-title {
    font-family: 'Noto Serif KR', serif;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* ----------------------------------------
   Section 06 : 이런 분들을 위한 공간 (Who We Are For)
   ---------------------------------------- */
.about-target {
    padding: 160px 0;
}

.about-target .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1220px;
}

.target-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.target-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
    color: #840028;
    line-height: 1;
}

.target-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1;
}

.target-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    width: 100%;
}

.target-card {
    width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.target-card-img {
    width: 100%;
    height: 320px;
    border-radius: 30px;
    overflow: hidden;
}

.target-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.target-card-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #221E1F;
    line-height: 1;
    text-align: center;
}

/* ----------------------------------------
   Section 07 : 의료진 소개 (Our Medical Directors)
   ---------------------------------------- */
.about-doctors {
    background: #221E1F;
    padding: 160px 0;
}

.doctors-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
}

.doctors-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.doctors-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 400;
    color: #F7941C;
    line-height: 1;
}

.doctors-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.doctors-desc {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    text-align: center;
}

.doctors-list {
    display: flex;
    flex-direction: column;
    gap: 160px;
    margin-top: 100px;
}

/* --- 의사 카드 --- */
.doctor-card {
    display: flex;
    flex-direction: column;
}

/* 상단: 사진(좌하단) + 인용구(우상단) + 프로필(우하단) */
.doctor-top {
    position: relative;
    width: 100%;
    height: 428px;
}

.doctor-photo {
    position: absolute;
    left: 0;
    top: 0;
    width: 600px;
    height: 428px;
    border-radius: 35px;
    overflow: hidden;
    background: #333;
}

.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 인용구: 우측 상단 */
.doctor-quote {
    position: absolute;
    right: 0;
    top: 0;
    width: 860px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    /* text-align: center; */
    gap: 20px;
}

.quote-mark {
    display: block;
    width: 16px;
    height: 12px;
    fill: #fff;
}

.quote-mark.open {
    align-self: center;
}

.quote-mark.close {
    align-self: center;
}

.quote-text {
    font-family: 'Noto Serif KR', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    text-align: center;
}

/* 프로필: 우측 하단 */
.doctor-profile {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 860px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.doctor-name {
    font-size: 40px;
    font-weight: 700;
    color: #F7941C;
    line-height: 1;
    text-align: center;
}

.doctor-role {
	font-size: 20px;
	font-weight: 400;
}

/* 경력 테이블 */
.doctor-credentials {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.credentials-top-line,
.credentials-bot-line {
    width: 100%;
    height: 1px;
    background: #fff;
}

.credentials-mid-line {
    display: flex;
    justify-content: space-between;
    height: 1px;
}

.credentials-mid-line::before,
.credentials-mid-line::after {
    content: '';
    width: calc(50% - 10px);
    height: 1px;
    background: rgba(255,255,255,0.3);
}

.credential-row {
    padding: 0;
}

.credential-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.credential-list li {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* ----------------------------------------
   Section 08 : 머무는 동안의 공간
   ---------------------------------------- */
.about-space {
    padding: 160px 0;
}

.about-space > .inner {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.space-title-area {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 20px;
}

.space-subtitle {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
    color: #840028;
    line-height: 1;
}

.space-heading {
    font-family: 'Noto Serif KR', serif;
    font-size: 60px;
    font-weight: 700;
    color: #221E1F;
    line-height: 1.2;
}

.space-gallery {
    width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.space-gallery-main {
    width: 100%;
    aspect-ratio: 1100 / 500;
    border-radius: 30px;
    overflow: hidden;
    background: #ddd;
}

.space-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.space-gallery-thumbs {
    display: flex;
    gap: 20px;
}

.space-gallery-thumb {
    flex: 1;
    min-width: 0;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #ddd;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.space-gallery-thumb:hover {
    opacity: 0.85;
}

.space-gallery-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px #840028;
}

.space-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   Responsive (About)
   ======================================== */
@media (max-width: 1024px) {
    /* Hero - 시안: 300px, 제목 중앙 상단, 설명 중앙 하단 */
    .about-hero {
        height: 300px;
    }

    .about-hero-title {
        top: 80px;
        font-size: 28px;
    }

    .about-hero-sub {
        bottom: 32px;
        gap: 12px;
        padding: 0 var(--inner-pad);
        text-align: center;
    }

    .about-hero-sub-title {
        font-size: 18px;
    }

    .about-hero-sub-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 철학 - 시안: 제목 위(중앙), 이미지 중간, 설명 아래 */
    .about-philosophy {
        padding: 80px 0 0;
    }

    .philosophy-top {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }

    .philosophy-top-img {
        width: 100%;
        height: 200px;
        order: 2;
    }

    .philosophy-top-text {
        gap: 28px;
        align-items: center;
        order: 1;
        text-align: center;
        width: 100%;
    }

    .philosophy-title {
        gap: 16px;
        align-items: center;
    }

    .philosophy-subtitle {
        font-size: 14px;
    }

    .philosophy-heading {
        font-size: 24px;
        text-align: center;
    }

    .philosophy-desc {
        font-size: 14px;
        order: 3;
        text-align: center;
        line-height: 1.7;
    }

    /* 이미지를 title과 desc 사이로: CSS grid로 재배치 */
    .philosophy-top {
        display: flex;
        flex-direction: column;
    }

    .philosophy-top-text {
        display: contents;
    }

    .philosophy-title {
        order: 1;
    }

    .philosophy-top-img {
        order: 2;
    }

    .philosophy-desc {
        order: 3;
        margin-top: 28px;
    }

    /* 진료과정 */
    .about-process {
        padding: 100px 0 0;
    }

    .process-header {
        gap: 32px;
    }

    .process-title {
        gap: 24px;
    }

    .process-heading {
        font-size: 40px;
    }

    .process-desc {
        font-size: 16px;
    }

    /* 태블릿/모바일: process 시안 기반 - 이미지 풀블리드 + 원형 숫자 뱃지 */
    .process-body {
        flex-direction: column;
        gap: 0;
        position: relative;
    }

    .process-left {
        position: relative;
        top: 0;
        width: 100%;
    }

    /* 이미지 풀블리드 (inner padding 뚫기) */
    .process-panels {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        height: 240px;
        aspect-ratio: auto;
        border-radius: 0;
    }

    .process-panel {
        opacity: 0;
    }

    .process-panel.active {
        opacity: 1;
    }

    .process-right {
        flex: none;
        width: 100%;
        height: auto;
        margin-top: -30px;
    }

    .process-triggers {
        display: none;
    }

    .process-items {
        position: relative;
        top: 0;
    }

    .process-tags {
        position: relative;
        top: 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 24px;
        padding: 0 0 8px;
    }

    .process-tags::-webkit-scrollbar {
        display: none;
    }

    .process-tag {
        flex-shrink: 0;
    }

    /* 단일 아이템 표시 + 중앙정렬 */
    .process-item {
        display: none;
        text-align: center;
        align-items: center;
        gap: 20px;
        padding-top: 0;
    }

    .process-item.active {
        display: flex;
    }

    /* step 번호를 원형 뱃지로 변경 (이미지 위로 올림) */
    .process-card-step {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: #F7941C;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
        font-family: 'Pretendard', sans-serif;
        margin: 0 auto;
        position: relative;
        z-index: 2;
    }

    .process-card-text {
        align-items: center;
        width: 100%;
        gap: 16px;
        padding: 24px 0 0;
    }

    .process-card-title {
        text-align: center;
        font-size: 22px;
    }

    .process-card-desc {
        text-align: center;
        font-size: 15px;
    }

    /* 추구하는 치료 - 시안: 이미지 풀블리드, 텍스트 중앙 */
    .about-treat {
        padding: 80px 0;
    }

    .about-treat .inner {
        flex-direction: column-reverse;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .treat-text {
        width: 100%;
        gap: 32px;
        align-items: center;
    }

    .treat-title {
        gap: 24px;
        align-items: center;
    }

    .treat-heading {
        font-size: 40px;
        text-align: center;
    }

    .treat-desc {
        font-size: 16px;
        text-align: center;
    }

    /* 이미지 풀블리드 */
    .treat-img {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        height: 200px;
        aspect-ratio: auto;
        border-radius: 0;
    }

    /* 치료 기준 - 시안: 1열 세로 + 구분선 */
    .about-standards {
        padding: 80px 0;
    }

    .standards-header {
        gap: 24px;
    }

    .standards-heading {
        font-size: 28px;
    }

    .standards-subtitle,
    .standards-desc {
        font-size: 14px;
    }

    .standards-grid {
        display: flex;
        flex-direction: column;
        column-gap: 0;
        gap: 0;
        margin-top: 40px;
    }

    .standard-item {
        gap: 20px;
        margin-bottom: 0;
        padding: 32px 0;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .standard-item:first-child {
        border-top: none;
        padding-top: 0;
    }

    .standard-item-offset {
        margin-top: 0;
    }

    .standard-item-img {
        height: 200px;
        border-radius: 20px;
    }

    .standard-item-text {
        gap: 16px;
    }

    .standard-item-title,
    .standard-col-title {
        font-size: 18px;
    }

    .standard-col-title-wrap {
        gap: 12px;
        flex-wrap: nowrap;
    }

    .standard-col-title-wrap .divider {
        height: 16px;
    }

    .standard-item-desc {
        font-size: 14px;
        line-height: 1.6;
    }

    /* 이런 분들을 위한 공간 - 시안: 1열 세로 */
    .about-target {
        padding: 80px 0;
    }

    .target-heading {
        font-size: 32px;
    }

    .target-cards {
        gap: 28px;
        flex-direction: column;
    }

    .target-card {
        width: 100%;
        gap: 20px;
    }

    .target-card-img {
        height: 200px;
        border-radius: 20px;
    }

    .target-card-title {
        font-size: 16px;
        line-height: 1.4;
    }

    /* 의료진 소개 */
    .about-doctors {
        padding: 100px 0;
    }

    .doctors-intro {
        gap: 32px;
    }

    .doctors-heading {
        font-size: 40px;
    }

    .doctors-desc {
        font-size: 16px;
    }

    .doctors-list {
        gap: 100px;
        margin-top: 60px;
    }

    /* 의사 카드 - 태블릿/모바일 공통 (시안 기반) */
    .doctor-card {
        background: #2B2424;
        border-radius: 24px;
        padding: 0 24px 40px;
        overflow: hidden;
    }

    .doctor-top {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .doctor-photo {
        position: relative;
        width: calc(100% + 48px);
        margin: 0 -24px;
        height: 244px;
        border-radius: 0 0 0 0;
    }

    .doctor-quote {
        position: relative;
        width: 100%;
        gap: 12px;
        padding-top: 24px;
    }

    .quote-text {
        font-size: 16px;
        line-height: 1.6;
    }

    .doctor-profile {
        position: relative;
        width: 100%;
        gap: 16px;
    }

    .doctor-name-wrap {
        text-align: center;
    }

    .doctor-name {
        font-size: 20px;
        color: #F7941C;
    }

    .doctor-role {
        font-size: 14px;
        color: #F7941C;
    }

    /* 경력 리스트: 2열 그리드 해제 → 1열 세로 나열, 각 li에 점선 구분선 */
    .doctor-credentials {
        gap: 0;
    }

    .credentials-top-line,
    .credentials-bot-line {
        display: none;
    }

    .credentials-mid-line {
        display: none;
    }

    .credential-row {
        padding: 0;
    }

    .credential-list {
        display: block;
        padding-left: 0;
        list-style: none;
        margin: 0;
    }

    .credential-list li {
        position: relative;
        padding: 16px 0 16px 12px;
        font-size: 14px;
        color: rgba(255,255,255,0.9);
        line-height: 1.4;
        border-bottom: 1px dashed rgba(255,255,255,0.2);
    }

    .credential-list li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 22px;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #fff;
    }

    /* 마지막 credential-row의 마지막 li는 border 제거 (CSS로는 완벽 제거 어려워 유지) */

    /* 머무는 동안의 공간 - 시안: 제목 중앙, 메인 + 썸네일 4x2 */
    .about-space {
        padding: 80px 0;
    }

    .about-space > .inner {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .space-title-area {
        padding-top: 0;
        gap: 16px;
        align-items: center;
    }

    .space-subtitle {
        font-size: 14px;
    }

    .space-heading {
        font-size: 24px;
        text-align: center;
    }

    .space-gallery-main {
        height: 200px;
    }

    .space-gallery {
        width: 100%;
    }

    .space-gallery-thumbs {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        flex-wrap: initial;
    }

    .space-gallery-thumb {
        flex: none;
        min-width: 0;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (max-width: 640px) {
    /* Hero - 태블릿 스타일 상속 */

    /* 철학 - 태블릿 상속 */

    /* 진료 과정 - 태블릿 스타일 상속 (추가 조정) */
    .about-process {
        padding: 80px 0 0;
    }

    .process-header {
        gap: 20px;
    }

    .process-title {
        gap: 12px;
    }

    .process-subtitle {
        font-size: 14px;
    }

    .process-heading {
        font-size: 24px;
    }

    .process-desc {
        font-size: 14px;
    }

    .process-tag {
        height: 36px;
        padding: 0 14px;
        font-size: 13px;
    }

    /* 추구하는 치료 - 태블릿 상속, 폰트만 축소 */
    .treat-heading {
        font-size: 24px;
    }

    .treat-desc {
        font-size: 14px;
    }

    .treat-subtitle {
        font-size: 14px;
    }

    /* 치료 기준 - 640px 이하 추가 조정 (태블릿 스타일 상속) */
    .standards-title {
        gap: 12px;
    }

    /* 이런 분들을 위한 공간 - 태블릿 상속, 폰트만 조정 */
    .target-heading {
        font-size: 24px;
    }

    .target-subtitle {
        font-size: 14px;
    }

    .target-card-title {
        font-size: 14px;
    }

    /* 의료진 - 태블릿 상속, 폰트만 조정 */
    .doctors-heading {
        font-size: 24px;
    }

    .doctors-subtitle {
        font-size: 14px;
    }

    .doctors-desc {
        font-size: 14px;
    }

    .doctors-list {
        gap: 40px;
    }

    /* 머무는 동안의 공간 - 태블릿 상속 */
    .space-heading {
        font-size: 24px;
    }

    .space-subtitle {
        font-size: 14px;
    }

    .space-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .space-gallery-thumb {
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }
}
