<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="">
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&amp;family=Noto+Sans+KR:wght@300;400;500;600;700&amp;display=swap" rel="stylesheet">

<!-- Font Awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">


/* =========================================================
   교회 연혁 페이지 공통 설정
========================================================= */
.history-page {
    --history-main: #697255;
    --history-main-dark: #4f5941;
    --history-deep: #29332a;
    --history-point: #b39268;
    --history-point-soft: #d9c5a5;
    --history-bg: #f8f6f1;
    --history-bg-soft: #f1eee7;
    --history-line: rgba(78, 89, 69, 0.2);
    --history-text: #353b35;
    --history-muted: #747a73;

    width: 100%;
    overflow: hidden;
    color: var(--history-text);
    background: #fff;
    font-family: "Noto Sans KR", sans-serif;
    word-break: keep-all;
}

.history-page * {
    box-sizing: border-box;
}

.history-page img {
    display: block;
    max-width: 100%;
}

.history-page a {
    color: inherit;
    text-decoration: none;
}

.history-page .history-inner {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   공통 타이틀
========================================================= */
.history-page .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 17px;
    color: var(--history-main);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.history-page .section-eyebrow::before {
    width: 32px;
    height: 1px;
    background: var(--history-point);
    content: "";
}

.history-page .section-title {
    margin: 0;
    color: var(--history-deep);
    font-size: clamp(33px, 4vw, 58px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 1.22;
}

.history-page .section-desc {
    margin: 22px 0 0;
    color: var(--history-muted);
    font-size: 16px;
    line-height: 1.95;
}

/* =========================================================
   1. 상단 비주얼
========================================================= */
.history-page .history-hero {
    position: relative;
    display: flex;
    min-height: 470px;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background-color: #354036;
    background-image:
        linear-gradient(
            90deg,
            rgba(28, 37, 30, 0.92) 0%,
            rgba(33, 43, 35, 0.76) 48%,
            rgba(33, 43, 35, 0.34) 100%
        ),
        url("/img/history/history_visual.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.history-page .history-hero::after {
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 480px;
    height: 480px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.history-page .history-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 95px 0;
}

.history-page .hero-small {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.history-page .hero-small::before {
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, 0.58);
    content: "";
}

.history-page .history-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(43px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -0.09em;
    line-height: 1.15;
}

.history-page .history-hero-text {
    max-width: 680px;
    margin: 23px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.9;
}

/* =========================================================
   2. 소개 영역
========================================================= */
.history-page .history-intro {
    padding: 130px 0 125px;
    background: var(--history-bg);
}

.history-page .history-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 85px;
}

.history-page .history-intro-visual {
    position: relative;
    padding: 0 23px 24px 0;
}

.history-page .history-intro-visual::before {
    position: absolute;
    right: 0;
    bottom: 0;
    width: calc(100% - 35px);
    height: calc(100% - 35px);
    border: 1px solid rgba(105, 114, 85, 0.32);
    content: "";
}

.history-page .history-intro-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 470px;
    object-fit: cover;
}

.history-page .history-intro-badge {
    position: absolute;
    right: -20px;
    bottom: 52px;
    z-index: 2;
    min-width: 180px;
    padding: 25px 23px;
    color: #fff;
    background: var(--history-main-dark);
    box-shadow: 0 18px 38px rgba(34, 44, 34, 0.17);
}

.history-page .history-intro-badge strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 41px;
    font-weight: 700;
    line-height: 1;
}

.history-page .history-intro-badge span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.history-page .history-intro-copy {
    max-width: 620px;
}

.history-page .history-intro-note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 31px;
    color: var(--history-main-dark);
    font-size: 14px;
    font-weight: 700;
}

.history-page .history-intro-note::before {
    width: 37px;
    height: 1px;
    background: var(--history-point);
    content: "";
}

/* =========================================================
   3. 요약 숫자 영역
========================================================= */
.history-page .history-summary {
    padding: 0 0 125px;
    background: var(--history-bg);
}

.history-page .history-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--history-line);
    border-bottom: 1px solid var(--history-line);
}

.history-page .summary-item {
    position: relative;
    padding: 34px 25px 32px;
    border-right: 1px solid var(--history-line);
    text-align: center;
}

.history-page .summary-item:first-child {
    border-left: 1px solid var(--history-line);
}

.history-page .summary-number {
    display: block;
    color: var(--history-main-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: 47px;
    font-weight: 700;
    line-height: 1;
}

.history-page .summary-label {
    display: block;
    margin-top: 12px;
    color: var(--history-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* =========================================================
   4. 연혁 타임라인 영역
========================================================= */
.history-page .history-timeline-section {
    padding: 135px 0 145px;
    background: #fff;
}

.history-page .timeline-heading {
    max-width: 740px;
    margin-bottom: 76px;
}

.history-page .history-timeline {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 4px 0;
}

/* 중앙 세로선 */
.history-page .history-timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--history-line);
    content: "";
    transform: translateX(-50%);
}

/* 시대 구분 */
.history-page .timeline-era {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    margin: 7px 0 42px;
}

.history-page .timeline-era span {
    display: inline-flex;
    min-width: 184px;
    align-items: center;
    justify-content: center;
    padding: 13px 19px;
    border: 1px solid rgba(105, 114, 85, 0.35);
    border-radius: 999px;
    color: var(--history-main-dark);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* 개별 연혁 항목 */
.history-page .timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 84px 1fr;
    align-items: start;
    margin-bottom: 37px;
}

.history-page .timeline-item:last-child {
    margin-bottom: 0;
}

.history-page .timeline-dot-wrap {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    padding-top: 23px;
}

.history-page .timeline-dot {
    width: 15px;
    height: 15px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--history-point);
    box-shadow: 0 0 0 1px rgba(179, 146, 104, 0.62);
}

/* 카드 */
.history-page .timeline-card {
    padding: 26px 27px 25px;
    border: 1px solid rgba(78, 89, 69, 0.14);
    background: #fff;
    transition: 0.28s ease;
}

.history-page .timeline-card:hover {
    border-color: rgba(105, 114, 85, 0.35);
    background: var(--history-bg);
    box-shadow: 0 17px 34px rgba(52, 62, 50, 0.08);
    transform: translateY(-5px);
}

.history-page .timeline-year {
    display: block;
    margin-bottom: 13px;
    color: var(--history-main-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1;
}

.history-page .timeline-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.history-page .timeline-list li {
    position: relative;
    margin-top: 8px;
    padding-left: 15px;
    color: var(--history-muted);
    font-size: 14px;
    line-height: 1.78;
}

.history-page .timeline-list li:first-child {
    margin-top: 0;
}

.history-page .timeline-list li::before {
    position: absolute;
    top: 10px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--history-point);
    content: "";
}

/* 왼쪽 카드 */
.history-page .timeline-item.is-left .timeline-card {
    grid-column: 1;
    text-align: right;
}

.history-page .timeline-item.is-left .timeline-dot-wrap {
    grid-column: 2;
}

.history-page .timeline-item.is-left .timeline-list li {
    padding-right: 15px;
    padding-left: 0;
}

.history-page .timeline-item.is-left .timeline-list li::before {
    right: 0;
    left: auto;
}

/* 오른쪽 카드 */
.history-page .timeline-item.is-right .timeline-dot-wrap {
    grid-column: 2;
}

.history-page .timeline-item.is-right .timeline-card {
    grid-column: 3;
}

/* =========================================================
   5. 하단 메시지 영역
========================================================= */
.history-page .history-bottom {
    position: relative;
    padding: 112px 0;
    overflow: hidden;
    color: #fff;
    background-color: #354034;
    background-image:
        linear-gradient(
            90deg,
            rgba(43, 53, 43, 0.96) 0%,
            rgba(43, 53, 43, 0.84) 56%,
            rgba(43, 53, 43, 0.55) 100%
        ),
        url("/img/history/history_bottom.jpg");
    background-position: center 56%;
    background-repeat: no-repeat;
    background-size: cover;
}

.history-page .history-bottom-content {
    max-width: 760px;
}

.history-page .bottom-small {
    display: block;
    margin-bottom: 15px;
    color: #d7c3a4;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.history-page .bottom-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.08em;
    line-height: 1.3;
}

.history-page .bottom-desc {
    margin: 19px 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;

    line-height: 1.9;
}

/* =========================================================
   태블릿 반응형
========================================================= */
@media (max-width: 1024px) {
    .history-page .history-hero {
        min-height: 430px;
    }

    .history-page .history-intro {
        padding: 102px 0 95px;
    }

    .history-page .history-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .history-page .history-intro-visual {
        width: min(700px, calc(100% - 20px));
    }

    .history-page .history-intro-photo {
        min-height: 430px;
    }

    .history-page .history-intro-copy {
        max-width: 750px;
    }

    .history-page .history-summary {
        padding-bottom: 98px;
    }

    .history-page .history-timeline-section {
        padding: 102px 0 112px;
    }
}

/* =========================================================
   모바일 반응형
========================================================= */
@media (max-width: 767px) {
    .history-page .history-inner {
        width: min(100% - 32px, 620px);
    }

    .history-page .section-eyebrow {
        margin-bottom: 13px;
        font-size: 11px;
        letter-spacing: 0.14em;
    }

    .history-page .section-eyebrow::before {
        width: 23px;
    }

    .history-page .section-title {
        font-size: 34px;
        line-height: 1.28;
    }

    .history-page .section-desc {
        margin-top: 18px;
        font-size: 15px;
        line-height: 1.85;
    }

    /* 상단 비주얼 */
    .history-page .history-hero {
        min-height: 380px;
        background-position: 58% center;
    }

    .history-page .history-hero-content {
        padding: 76px 0;
    }

    .history-page .hero-small {
        margin-bottom: 16px;
        font-size: 10px;
        letter-spacing: 0.15em;
    }

    .history-page .hero-small::before {
        width: 27px;
    }

    .history-page .history-hero-title {
        font-size: 44px;
    }

    .history-page .history-hero-text {
        margin-top: 18px;
        font-size: 14px;
        line-height: 1.85;
    }

    /* 소개 */
    .history-page .history-intro {
        padding: 78px 0 72px;
    }

    .history-page .history-intro-grid {
        gap: 35px;
    }

    .history-page .history-intro-visual {
        width: calc(100% - 8px);
        padding: 0 10px 12px 0;
    }

    .history-page .history-intro-visual::before {
        width: calc(100% - 15px);
        height: calc(100% - 15px);
    }

    .history-page .history-intro-photo {
        min-height: 330px;
    }

    .history-page .history-intro-badge {
        right: -7px;
        bottom: 26px;
        min-width: 144px;
        padding: 18px 17px;
    }

    .history-page .history-intro-badge strong {
        font-size: 32px;
    }

    .history-page .history-intro-badge span {
        margin-top: 7px;
        font-size: 11px;
    }

    .history-page .history-intro-note {
        margin-top: 23px;
        font-size: 13px;
    }

    /* 요약 숫자 */
    .history-page .history-summary {
        padding-bottom: 76px;
    }

    .history-page .history-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .history-page .summary-item {
        padding: 25px 15px 23px;
        border-bottom: 1px solid var(--history-line);
    }

    .history-page .summary-item:nth-child(2n) {
        border-right: 1px solid var(--history-line);
    }

    .history-page .summary-item:nth-child(n+3) {
        border-bottom: 0;
    }

    .history-page .summary-number {
        font-size: 38px;
    }

    .history-page .summary-label {
        margin-top: 9px;
        font-size: 12px;
    }

    /* 타임라인 */
    .history-page .history-timeline-section {
        padding: 78px 0 84px;
    }

    .history-page .timeline-heading {
        margin-bottom: 48px;
    }

    .history-page .history-timeline {
        padding-left: 24px;
    }

    .history-page .history-timeline::before {
        left: 7px;
        transform: none;
    }

    .history-page .timeline-era {
        justify-content: flex-start;
        margin: 4px 0 25px;
    }

    .history-page .timeline-era span {
        min-width: auto;
        padding: 10px 16px;
        font-size: 12px;
    }

    .history-page .timeline-item {
        display: block;
        margin-bottom: 17px;
    }

    .history-page .timeline-dot-wrap,
    .history-page .timeline-item.is-left .timeline-dot-wrap,
    .history-page .timeline-item.is-right .timeline-dot-wrap {
        position: absolute;
        top: 0;
        left: -23px;
        display: block;
        padding-top: 25px;
    }

    .history-page .timeline-dot {
        width: 13px;
        height: 13px;
    }

    .history-page .timeline-item.is-left .timeline-card,
    .history-page .timeline-item.is-right .timeline-card {
        text-align: left;
    }

    .history-page .timeline-card {
        padding: 21px 19px 20px;
    }

    .history-page .timeline-card:hover {
        transform: none;
    }

    .history-page .timeline-year {
        margin-bottom: 11px;
        font-size: 30px;
    }

    .history-page .timeline-item.is-left .timeline-list li,
    .history-page .timeline-item.is-right .timeline-list li {
        padding-right: 0;
        padding-left: 14px;
    }

    .history-page .timeline-item.is-left .timeline-list li::before,
    .history-page .timeline-item.is-right .timeline-list li::before {
        right: auto;
        left: 0;
    }

    .history-page .timeline-list li {
        margin-top: 7px;
        font-size: 13px;
        line-height: 1.75;
    }

    /* 하단 메시지 */
    .history-page .history-bottom {
        padding: 78px 0;
        background-position: 63% center;
    }

    .history-page .bottom-small {
        margin-bottom: 11px;
        font-size: 17px;
    }

    .history-page .bottom-title {
        font-size: 32px;
    }

    .history-page .bottom-desc {
        margin-top: 15px;
        font-size: 14px;
    }
}
	
	
/* =========================================================
   교회 연혁 페이지 - 따뜻한 색상 테마
   기존 CSS 가장 아래에 추가
========================================================= */
.history-page {
    /* 전체 포인트 색상 */
    --history-main: #a56f52 !important;
    --history-main-dark: #78523f !important;
    --history-deep: #493b34 !important;
    --history-point: #c4926f !important;
    --history-point-soft: #e5c5ab !important;

    /* 배경 색상 */
    --history-bg: #fbf6ef !important;
    --history-bg-soft: #f4ebe1 !important;

    /* 선과 텍스트 */
    --history-line: rgba(137, 99, 76, 0.20) !important;
    --history-text: #50443e !important;
    --history-muted: #85756d !important;
}

/* ---------------------------------------------------------
   상단 메인 비주얼
   사진 위에 따뜻한 브라운 계열 오버레이 적용
--------------------------------------------------------- */
.history-page .history-hero {
    background-color: #80604f !important;
    background-image:
        linear-gradient(
            90deg,
            rgba(77, 54, 44, 0.91) 0%,
            rgba(101, 72, 57, 0.74) 48%,
            rgba(124, 90, 69, 0.35) 100%
        ),
        url("/img/history/history_visual.jpg") !important;
}

/* ---------------------------------------------------------
   소개 영역
--------------------------------------------------------- */
.history-page .history-intro {
    background: #fbf6ef !important;
}

/* 이미지 뒤 테두리 */
.history-page .history-intro-visual::before {
    border-color: rgba(165, 111, 82, 0.34) !important;
}

/* Since 2000 박스 */
.history-page .history-intro-badge {
    background: #8a604b !important;
    box-shadow: 0 18px 38px rgba(100, 70, 55, 0.18) !important;
}

/* ---------------------------------------------------------
   숫자로 보는 교회 영역
--------------------------------------------------------- */
.history-page .history-summary {
    background: #fbf6ef !important;
}

.history-page .summary-number {
    color: #8a604b !important;
}

/* ---------------------------------------------------------
   연혁 타임라인 영역
--------------------------------------------------------- */
.history-page .history-timeline-section {
    background: #fffdf9 !important;
}

/* 중앙 세로선 */
.history-page .history-timeline::before {
    background: rgba(165, 111, 82, 0.24) !important;
}

/* 시대별 구분 캡슐 */
.history-page .timeline-era span {
    border-color: rgba(165, 111, 82, 0.38) !important;
    color: #8a604b !important;
    background: #fffaf4 !important;
}

/* 연혁 카드 */
.history-page .timeline-card {
    border-color: rgba(165, 111, 82, 0.17) !important;
    background: #fffdf9 !important;
}

.history-page .timeline-card:hover {
    border-color: rgba(165, 111, 82, 0.44) !important;
    background: #fbf4ec !important;
    box-shadow: 0 17px 34px rgba(119, 80, 60, 0.10) !important;
}

/* 연도 */
.history-page .timeline-year {
    color: #8a604b !important;
}

/* 타임라인 점 */
.history-page .timeline-dot {
    background: #c4926f !important;
    box-shadow: 0 0 0 1px rgba(196, 146, 111, 0.72) !important;
}

/* ---------------------------------------------------------
   하단 메시지 영역
--------------------------------------------------------- */
.history-page .history-bottom {
    background-color: #8a6654 !important;
    background-image:
        linear-gradient(
            90deg,
            rgba(92, 61, 48, 0.95) 0%,
            rgba(117, 80, 61, 0.83) 56%,
            rgba(139, 96, 72, 0.52) 100%
        ),
        url("/img/history/history_bottom.jpg") !important;
}

/* 하단 영문 문구 */
.history-page .bottom-small {
    color: #efd0b5 !important;
}	
	

