/* =========================
   GMARKET SANS WEBFONT
   /public_html/theme/ch_pc/
========================= */

/* Light */
@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Medium - 기본/중간 굵기 */
@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansMedium.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansMedium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansMedium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Bold - 제목/강조 */
@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GmarketSans';
    src: url('../GmarketSansBold.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #0f172a;
    --secondary: #334155;
    --accent: cadetblue;
    --accent-dark: #C5A065;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #1e293b;
    --line: #e2e8f0;
    --radius: 18px;
    --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);

    --navy: #22334c;
    --navy-soft: rgba(34, 51, 76, 0.35);
    --red: #b52b38;
    --gold: #d6b36a;
    --muted: #64748b;
}

/* =========================
   RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'GmarketSans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    word-break: keep-all;
    background: #fff;
}

/* 폼/버튼까지 GmarketSans 통일 */
button,
input,
select,
textarea {
    font-family: 'GmarketSans', sans-serif;
}


body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#leadersWrap {
    overflow-x: hidden;
    overflow-y: visible;
}

.leaders-container {
    width: min(100% - 40px, 1400px);
    margin: 0 auto;
}

.custom-shape-divider-top-1776850408 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 9999;
}

.custom-shape-divider-top-1776850408 svg {
    position: relative;
    display: block;
    width: calc(179% + 1.3px);
    height: 100px;
}

.custom-shape-divider-top-1776850408 .shape-fill {
    fill: #FFFFFF;
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-top-1776850408 svg {
        width: calc(207% + 1.3px);
        height: 61px;
    }
}

.custom-shape-divider-bottom-1776850850 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 9999;
}

.custom-shape-divider-bottom-1776850850 svg {
    position: relative;
    display: block;
    width: calc(210% + 1.3px);
    height: 91px;
}

.custom-shape-divider-bottom-1776850850 .shape-fill {
    fill: #FFFFFF;
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-bottom-1776850850 svg {
        width: calc(207% + 1.3px);
        height: 61px;
    }
}


/* =========================
   HEADER
========================= */
.leaders-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
/*    background: rgba(255, 255, 255, 0.98);*/
    border-bottom: 0 solid rgba(226, 232, 240, .8);
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

.leaders-header.is-scroll {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(255, 255, 255, .08);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .18);
}

.leaders-inner {
    width: min(100% - 40px, 1400px);
    margin: 0 auto;
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
}

.leaders-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1006;
}

.leaders-logo a {
    display: flex;
    align-items: center;
    height: 88px;
    text-decoration: none;
}

.leaders-logo__imgbox {
    position: relative;
    display: block;
    width: 220px;
    height: 60px;
    overflow: hidden;
}

.leaders-logo .logo-img {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 220px;
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
    transition: opacity .25s ease;
}

.leaders-logo .logo-black {
    opacity: 0;
    z-index: 2;
}

.leaders-logo .logo-white {
    opacity: 1;
    z-index: 1;
}

.leaders-header.is-scroll .leaders-logo .logo-black {
    opacity: 1;
}

.leaders-header.is-scroll .leaders-logo .logo-white {
    opacity: 0;
}

/* =========================
   BUTTON
========================= */
.leaders-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--primary);
    color: #333;
    font-size: .95rem;
    font-weight: 500;
    transition: all .25s ease;
    border: 1px solid var(--primary);
}

.leaders-btn:hover {
    transform: translateY(-2px);
}

.leaders-btn--line {
    background: transparent;
    border-color: rgba(255, 255, 255, .6);
    color: #fff;
}

.leaders-btn--line:hover {
    background: #fff;
    border-color: #fff;
    color: var(--primary);
}

.leaders-btn--header {
    min-height: 46px;
    padding: 0 22px;
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.leaders-btn--header:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
}

.leaders-btn--white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.leaders-btn--white:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.leaders-btn--mobile {
    margin-top: 16px;
    width: 100%;
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.leaders-btn--mobile:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}


/* =========================
   PC MENU
========================= */
.leaders-nav{
    flex:1;
    margin-left:auto;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:stretch;
    height:100%;
    overflow:visible;
}

.leaders-nav-pc{
    --ld-menu-gap: 50px;     /* 대메뉴끼리 간격 */
    --ld-col-width: 120px;   /* 각 대메뉴 기준 칸 폭 */
    position:relative;
    display:inline-block;
    overflow:visible;
}

.leaders-gnb{
    display:grid;
    grid-template-columns:repeat(var(--ld-menu-count), var(--ld-col-width));
    column-gap:var(--ld-menu-gap);
    justify-content:center;
    align-items:stretch;
    margin:0;
    padding:0;
}

.leaders-gnb-item{
    position:relative;
    display:flex;
    align-items:stretch;
    justify-content:center;
}

.leaders-gnb-item > a{
    display:flex;
    align-items:center;
    justify-content:center;
    height:88px;
    line-height:1;
    padding:0;
    font-size:1.15rem;
    font-weight:500;
    color:#fff;
    transition:color .2s ease;
    white-space:nowrap;
    position:relative;
    z-index:3;
    box-sizing:border-box;
}

.leaders-gnb-item > a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:18px;
    width:0;
    height:3px;
    background:var(--accent);
    transition:width .25s ease;
}

.leaders-gnb-item:hover > a{
    color:var(--accent);
}

.leaders-gnb-item:hover > a::after{
    width:100%;
}

.leaders-header.is-scroll .leaders-gnb-item > a{
    color:#111;
}

.leaders-header.is-scroll .leaders-gnb-item:hover > a{
    color:var(--accent);
}

.leaders-header.is-scroll .leaders-gnb-item > a::after{
    background:var(--accent);
}

/* =========================
   MEGA MENU
========================= */
.leaders-mega-panel{
    /* 대메뉴(.leaders-nav-pc) 바로 아래에 붙여서
       상단 대메뉴와 하위메뉴의 열 위치를 정확히 일치시킴 */
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    height:286px; /* 서브비주얼 400px의 하단까지 맞춤: 400 - 114 */
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease, visibility .22s ease;
    z-index:1004;
}

.leaders-nav-pc:hover .leaders-mega-panel,
.leaders-mega-panel:hover{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.leaders-mega-panel__bg{
    /* 배경은 메뉴 폭과 관계없이 화면 좌우 끝까지 채움 */
    position:fixed;
    left:0;
    right:0;
    top:114px;
    width:auto;
    height:286px;
    background:#efefef;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 18px 34px rgba(15,23,42,.08);
    pointer-events:none;
}

.leaders-mega-grid{
    /* GNB와 동일한 부모/동일한 grid 값을 사용하므로
       각 하위메뉴가 해당 대메뉴 바로 아래에 정렬됨 */
    position:relative;
    width:100%;
    height:100%;
    margin:0;
    display:grid;
    grid-template-columns:repeat(var(--ld-menu-count), var(--ld-col-width));
    column-gap:var(--ld-menu-gap);
    justify-content:center;
    align-items:start;
    padding:22px 0 28px;
    min-height:0;
    z-index:2;
}

.leaders-mega-col{
    width:var(--ld-col-width);
    display:flex;
    justify-content:center;   /* 서브메뉴 묶음을 칸 가운데로 */
    align-items:flex-start;
}

.leaders-mega-col.is-empty{
    min-height:1px;
}

.leaders-mega-menu{
    display:flex;
    flex-direction:column;
    gap:10px;
    width:max-content;
    margin:0 auto;
    padding:0;
    text-align:left;          /* 텍스트는 왼쪽 정렬 유지 */
}

.leaders-mega-menu li{
    display:block;
}

.leaders-mega-menu a{
    display:block;
    padding:2px 0;
    font-size:15px;
    font-weight:500;
    line-height:1.65;
    color:#2b2b2b;
    white-space:nowrap;
    transition:color .18s ease, transform .18s ease;
}

.leaders-mega-menu a:hover{
    color:var(--accent);
    transform:translateX(2px);
}

.leaders-mega-empty{
    min-height:10px;
}

/* 이전 방식 숨김 */
.leaders-sub-wrap,
.leaders-submenu{
    display:none !important;
}

@media (max-width: 1400px){
    .leaders-nav-pc{
        --ld-menu-gap: 62px;
        --ld-col-width: 138px;
    }
}

@media (max-width: 1280px){
    .leaders-nav-pc{
        --ld-menu-gap: 48px;
        --ld-col-width: 126px;
    }

    .leaders-gnb-item > a{
        font-size:1.02rem;
    }
}

@media (max-width: 1180px){
    .leaders-nav-pc{
        --ld-menu-gap: 34px;
        --ld-col-width: 112px;
    }

    .leaders-gnb-item > a{
        font-size:.96rem;
    }
}



/* =========================
   LOGIN QUICK
========================= */
.hd_login_quick {
    display: block;
    position: relative;
    flex: 0 0 auto;
    z-index: 1006;
}

.hd_login_quick_box {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #8ba43c;
    border-radius: 999px;
    padding: 4px 6px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all .25s ease;
}

.hd_login_quick_box a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 16px;
    color: #666;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    line-height: 1;
    border-radius: 999px;
    white-space: nowrap;
    transition: all .2s ease;
    box-sizing: border-box;
}

.hd_login_quick_box a + a::before {
    content: "";
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: #d9d9d9;
}

.hd_login_quick_box a i {
    font-size: 13px;
    color: #6f8231;
}

.hd_login_quick_box a:hover {
    background: #f7faef;
    color: #222;
}

.leaders-header.is-scroll .hd_login_quick_box {
    background: rgba(255, 255, 255, .9);
    border-color: rgba(0, 0, 0, .22);
    box-shadow: none;
}

.leaders-header.is-scroll .hd_login_quick_box a {
    color: #111;
}

.leaders-header.is-scroll .hd_login_quick_box a + a::before {
    background: rgba(255, 255, 255, .22);
}

.leaders-header.is-scroll .hd_login_quick_box a i {
    color: #d8e7a7;
}

.leaders-header.is-scroll .hd_login_quick_box a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}


/* =========================
   MOBILE MENU BUTTON
========================= */
.leaders-menu-btn {
    width: 46px;
    height: 46px;
    border: 0;
    background: transparent;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    padding: 0;
}

.leaders-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111;
    margin: 0 auto;
    transition: all .25s ease;
}

.leaders-header.is-scroll .leaders-menu-btn span {
    background: #fff;
}

/* =========================
   MOBILE NAV
========================= */
.leaders-dim {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    opacity: 0;
    visibility: hidden;
    transition: all .25s ease;
    z-index: 1001;
}

.leaders-dim.is-open {
    opacity: 1;
    visibility: visible;
}

.leaders-mobile-nav {
    position: fixed;
    top: 0;
    right: -340px;
    width: min(86vw, 320px);
    height: 100dvh;
    background: #fff;
    z-index: 1002;
    padding: 22px 22px 30px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .12);
    transition: right .28s ease;
    overflow-y: auto;
}

.leaders-mobile-nav.is-open {
    right: 0;
}

.leaders-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.leaders-mobile-top strong {
    color: var(--primary);
    font-size: 1rem;
}

.leaders-mobile-close {
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--primary);
}

/* 모바일 메뉴 상단 로그인 / 회원가입 */
.leaders-mobile-member {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -4px 0 20px;
}

.leaders-mobile-member__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #d9dee7;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.leaders-mobile-member__btn i {
    font-size: 13px;
    color: #6f8231;
}

.leaders-mobile-member__btn:hover {
    border-color: #9aa76b;
    background: #f7faef;
    color: #111827;
}

.leaders-mobile-member__btn--dark {
    border-color: #111827;
    background: #111827;
    color: #fff;
}

.leaders-mobile-member__btn--dark i {
    color: #fff;
}

.leaders-mobile-member__btn--dark:hover {
    border-color: #374151;
    background: #374151;
    color: #fff;
}

.leaders-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.leaders-mobile-menu > li {
    border-bottom: 1px solid #e5e7eb;
}

.leaders-mobile-item > a {
    display: block;
    padding: 14px 4px;
    font-size: 17px;
    font-weight: 700;
    color: #111827;
}

.leaders-mobile-item > a:hover {
    color: var(--accent);
}

.leaders-mobile-submenu {
    padding: 0 0 10px 12px;
}

.leaders-mobile-submenu li a {
    display: block;
    padding: 9px 4px;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
}

.leaders-mobile-submenu li a:hover {
    color: var(--accent);
}

/* =========================
   CONTAINER
========================= */
#leadersContainer {
    padding-top: 38px;
}

.subbbs_title {
    width: 100%;
    text-align: center;
    color: #333;
    font-size: 35px;
    font-family: 'GmarketSans', sans-serif;
    font-weight: 500;
	margin-top: 100px;
}

.subbbs_title span {
    font-size: 16px;
}

/* =========================
   HERO
========================= */
.leaders-hero {
    position: relative;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    background: var(--primary);
}

.leaders-hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(15, 23, 42, .55), rgba(15, 23, 42, .50)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    transform: scale(1.03);
}

.leaders-hero__content {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 120px 0 110px;
    max-width: 900px;
}

.leaders-hero__eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: #e2e8f0;
    font-size: .85rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.leaders-hero h2 {
    font-size: clamp(2.3rem, 5vw, 4.5rem);
    line-height: 1.18;
    font-weight: 900;
    letter-spacing: -1.8px;
    margin-bottom: 24px;
}

.leaders-hero h2 span {
    color: var(--accent);
}

.leaders-hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #e2e8f0;
    font-weight: 300;
    margin-bottom: 38px;
}

.leaders-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================
   PARTNERS
========================= */
.leaders-partners {
    padding: 56px 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.leaders-sec-mini {
    text-align: center;
    font-size: .84rem;
    color: #94a3b8;
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 24px;
}

.leaders-partner-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.leaders-partner-item {
    padding: 12px 22px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    color: #64748b;
    background: #fff;
    transition: all .2s ease;
}

.leaders-partner-item:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: #fffaf5;
}

/* =========================
   SECTION TITLE
========================= */
.leaders-features,
.leaders-projects {
    padding: 80px 0 10px;
}

.leaders-features {
    background: var(--light);
}

.leaders-sec-title {
    text-align: center;
    margin-bottom: 64px;
}

.leaders-sec-title h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.2;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.leaders-sec-title p {
    color: var(--secondary);
    font-size: 1.08rem;
}

.leaders-photo {
    width: 100%;
}

/* =========================
   FEATURE CARD
========================= */
.leaders-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.leaders-feature-card {
    position: relative;
    padding: 42px 34px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .25s ease;
}

.leaders-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: opacity .25s ease;
}

.leaders-feature-card:hover {
    transform: translateY(-8px);
}

.leaders-feature-card:hover::before {
    opacity: 1;
}

.leaders-feature-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff7ed;
    color: var(--accent);
    font-weight: 900;
    margin-bottom: 22px;
    border: 1px solid #fed7aa;
}

.leaders-feature-card h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 14px;
}

.leaders-feature-card p {
    color: #64748b;
    font-size: 1rem;
}

/* =========================
   PROJECTS
========================= */
.leaders-category-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 58px 0 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
}

.leaders-category-head h3 {
    font-size: 1.7rem;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -.5px;
}

.leaders-category-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}

.leaders-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.leaders-project-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all .22s ease;
}

.leaders-project-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .07);
}

.leaders-project-body {
    padding: 28px 26px;
}

.leaders-client-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff7ed;
    color: var(--accent);
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: 14px;
    border: 1px solid #fed7aa;
}

.leaders-project-body h4 {
    font-size: 1.18rem;
    line-height: 1.45;
    letter-spacing: -.4px;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 10px;
}

.leaders-project-body p {
    color: #64748b;
    font-size: .96rem;
}

/* =========================
   SUB VISUAL
========================= */
.leaders-sub-visual {
    position: relative;
    height: 400px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    overflow: hidden;
    margin-top: 0;
}

.leaders-sub-visual__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

.leaders-sub-visual__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaders-sub-visual__inner h2 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

/* =========================
   SUB TABS
========================= */
.leaders-sub-tabs-wrap {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.leaders-sub-tabs {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 18px 0;
}

.leaders-sub-tabs li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid #dcdfe4;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 17px;
    font-weight: 600;
    transition: all .2s ease;
}

.leaders-sub-tabs li a:hover {
    border-color: #0d57a1;
    color: #0d57a1;
}

.leaders-sub-tabs li.active a {
    background: #0d57a1;
    border-color: #0d57a1;
    color: #fff;
}

.leaders-sub-visual + .leaders-sub-tabs-wrap + #leadersContainer,
.leaders-sub-visual + #leadersContainer {
    padding-top: 0;
}

/* =========================
   FOOTER
========================= */
.leaders-footer {
    padding: 90px 0 72px;
    background: var(--primary);
    color: #fff;
	margin-top: 100px;
}

.leaders-footer-cta {
    text-align: center;
}

.leaders-footer-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.35;
    font-weight: 900;
    margin-bottom: 28px;
    letter-spacing: -1px;
}

.leaders-footer-info {
    margin-top: 56px;
    padding-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    text-align: center;
    color: #cbd5e1;
    font-size: .96rem;
}

.leaders-footer-info strong {
    color: #fff;
    font-weight: 800;
}

.leaders-footer-info a {
    color: olive;
}

.leaders-copy {
    margin-top: 16px;
    color: #94a3b8;
    font-size: .85rem;
}

/* =========================
   ANCHOR OFFSET
========================= */
#about,
#projects,
#contact {
    scroll-margin-top: 110px;
}

/* =========================
   게시판 넓이
========================= */
#bo_list,
#bo_v,
#bo_w,
#fboardlist,
#faq_wrap,
#inq_write,
#new_sch,
#cop_search_rlt,
#search_result {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.idx_text {
    position: absolute;
    width: 100%;
    height: auto;
    text-align: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    font-size: 80px;
    font-weight: bold;
    color: #fff;
}

/* =========================
   SERMON PAGE
========================= */
.sermon-page {
    /* min-height: 100vh; */
}

.sermon-hero {
    position: relative;
    overflow: hidden;
    padding: 18px 22px 46px;
}

.sermon-hero__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 82%, rgba(255, 255, 255, 0.12) 0 0.35%, transparent 0.36%),
        radial-gradient(circle at 24% 14%, rgba(255, 255, 255, 0.12) 0 0.35%, transparent 0.36%),
        radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.1) 0 0.38%, transparent 0.39%),
        radial-gradient(circle at 90% 62%, rgba(255, 255, 255, 0.1) 0 0.32%, transparent 0.33%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    background-size: 260px 260px, 320px 320px, 300px 300px, 260px 260px, auto;
    filter: grayscale(1);
    opacity: 0.9;
}

.sermon-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1420px;
    margin: 0 auto;
}

.sermon-hero__header {
    text-align: center;
    margin-bottom: 28px;
}

.sermon-hero__header h1 {
    margin: 0;
    font-size: 55px;
    line-height: 1.1;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.sermon-poster {
    position: relative;
    max-width: 1390px;
    margin: 0 auto;
    padding: 28px 24px 40px;
    min-height: 760px;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 62%, rgba(255, 246, 207, 0.98) 0 9%, rgba(255, 231, 174, 0.75) 10%, transparent 28%),
        radial-gradient(circle at 74% 24%, rgba(255, 255, 255, 0.52) 0 10%, transparent 32%),
        radial-gradient(circle at 26% 36%, rgba(248, 221, 162, 0.42) 0 12%, transparent 34%),
        linear-gradient(180deg, rgba(110, 155, 177, 0.72), rgba(248, 206, 116, 0.46) 58%, rgba(76, 101, 126, 0.68) 100%),
        linear-gradient(135deg, #6aa0b0 0%, #d6d5c5 48%, #f0c47d 74%, #766151 100%);
    box-shadow: var(--shadow);
}

.sermon-poster::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background:
        radial-gradient(circle at 16% 88%, rgba(66, 85, 111, 0.46) 0 16%, transparent 17%),
        radial-gradient(circle at 34% 92%, rgba(71, 88, 108, 0.52) 0 18%, transparent 19%),
        radial-gradient(circle at 54% 96%, rgba(58, 72, 95, 0.52) 0 20%, transparent 21%),
        radial-gradient(circle at 76% 100%, rgba(52, 65, 85, 0.44) 0 19%, transparent 20%);
}

.sermon-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.68) 0 8%, transparent 20%),
        radial-gradient(circle at 60% 12%, rgba(255, 255, 255, 0.24) 0 10%, transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 22%);
    pointer-events: none;
}

.sermon-poster__topline {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: var(--navy);
    font-size: clamp(0.95rem, 1vw, 1.2rem);
    font-weight: 700;
}

.sermon-poster__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 126px;
}

.sermon-poster__subtitle {
    position: relative;
    margin: 0 0 26px;
    color: var(--navy);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
}

.sermon-poster__subtitle::before,
.sermon-poster__subtitle::after {
    content: "";
    position: absolute;
    top: 50%;
    width: clamp(70px, 10vw, 140px);
    height: 3px;
    background: var(--navy-soft);
}

.sermon-poster__subtitle::before {
    right: 100%;
    margin-right: 18px;
}

.sermon-poster__subtitle::after {
    left: 100%;
    margin-left: 18px;
}

.sermon-poster h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(3.2rem, 8vw, 9rem);
    line-height: 0.98;
    letter-spacing: -0.09em;
    font-weight: 700;
}

.sermon-poster__play {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 22px 0 18px;
    border: 0;
    border-radius: 50%;
    background: rgba(58, 56, 53, 0.82);
    cursor: pointer;
}

.sermon-poster__play::before {
    content: "";
    position: absolute;
    left: 34px;
    top: 27px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #ffffff;
}

.sermon-poster__meta {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.6rem, 2vw, 2.8rem);
    line-height: 1.35;
    letter-spacing: -0.06em;
    font-weight: 500;
}

.sermon-poster__meta strong {
    font-weight: 700;
}

.sermon-poster__cross {
    position: absolute;
    right: 88px;
    bottom: 92px;
    width: 42px;
    height: 310px;
    background: linear-gradient(180deg, rgba(72, 31, 78, 0.9), rgba(92, 43, 83, 0.68));
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(255, 199, 152, 0.18);
}

.sermon-poster__cross::before {
    content: "";
    position: absolute;
    left: -68px;
    top: 66px;
    width: 178px;
    height: 38px;
    background: linear-gradient(90deg, rgba(92, 43, 83, 0.74), rgba(85, 53, 96, 0.9));
    border-radius: 4px;
}

.sermon-hero__cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.live-tag {
    display: inline-block;
    padding: 12px 20px;
    background: var(--red);
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    line-height: 1;
    font-weight: 700;
}

.sermon-hero__copy {
    margin: 26px 0 28px;
    text-align: center;
    font-size: clamp(1.4rem, 1.8vw, 2.2rem);
    line-height: 1.4;
    letter-spacing: -0.05em;
}

.sermon-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sermon-menu a {
    display: inline-block;
    padding: 14px 22px;
    background: var(--gold);
    color: #4b3a3a;
    text-decoration: none;
    font-size: clamp(1rem, 1.1vw, 1.28rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.04em;
    border: 1px solid #999;
}

.sermon-menu .is-accent {
    background: var(--red);
}

/* =========================
   ONLINE PAGE
========================= */
.online-page {
    max-width: 1450px;
    margin: 0 auto;
    padding: 56px 24px 76px;
}

.online-service__header {
    margin-bottom: 32px;
}

.online-service__header h1 {
    margin: 0 auto 14px;
    font-size: clamp(3rem, 5vw, 4.3rem);
    line-height: 1;
    letter-spacing: -0.07em;
    font-weight: 800;
    text-align: center;
}

.online-service__header p {
    margin: 0 auto;
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    line-height: 1.3;
    color: var(--muted);
    font-weight: 700;
    letter-spacing: -0.05em;
}

.online-service__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
}

.service-tile {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 190px;
    padding: 20px;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    box-shadow: var(--shadow);
}

.service-tile::before {
    content: "";
    position: absolute;
    inset: 0;
}

.service-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46));
}

.service-tile > * {
    position: relative;
    z-index: 1;
}

.service-tile__label {
    text-align: center;
    font-size: clamp(1.55rem, 2vw, 2.1rem);
    line-height: 1.35;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.service-tile__icon {
    position: absolute;
    top: 44px;
    left: 50%;
    transform: translateX(-50%);
}

.service-tile__icon--book {
    width: 56px;
    height: 46px;
    border: 4px solid #ffffff;
    border-radius: 6px;
    border-top-width: 6px;
}

.service-tile__icon--book::before,
.service-tile__icon--book::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 22px;
    height: 30px;
    border: 4px solid #ffffff;
    border-top: 0;
    border-bottom: 0;
}

.service-tile__icon--book::before {
    left: 4px;
}

.service-tile__icon--book::after {
    right: 4px;
}

.service-tile__icon--sprout {
    width: 56px;
    height: 60px;
}

.service-tile__icon--sprout::before {
    content: "";
    position: absolute;
    left: 25px;
    bottom: 0;
    width: 4px;
    height: 34px;
    background: #ffffff;
    border-radius: 999px;
}

.service-tile__icon--sprout::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 48px;
    height: 34px;
    background:
        radial-gradient(circle at 12px 22px, transparent 0 9px, #ffffff 9px 11px, transparent 12px),
        radial-gradient(circle at 35px 18px, transparent 0 9px, #ffffff 9px 11px, transparent 12px);
}

.service-tile--bulletin::before {
    background:
        linear-gradient(180deg, rgba(38, 24, 14, 0.1), rgba(0, 0, 0, 0.26)),
        linear-gradient(135deg, #2d2118 0%, #0e0d0d 100%);
}

.service-tile--offering::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(0, 0, 0, 0.14)),
        linear-gradient(135deg, #ba2f3f 0%, #8c1b27 100%);
}

.service-tile--donation::before {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.16)),
        linear-gradient(135deg, #3d7a40 0%, #24552f 100%);
}

.service-tile--search::before {
    background:
        radial-gradient(circle at 58% 42%, rgba(255, 241, 217, 0.26) 0 12%, transparent 13%),
        linear-gradient(135deg, #83603d 0%, #30261f 100%);
}

.service-tile--bank::before {
    background:
        radial-gradient(circle at 26% 34%, rgba(255, 180, 98, 0.32) 0 10%, transparent 11%),
        linear-gradient(135deg, #412619 0%, #152820 100%);
}

.service-tile--bulletin .service-tile__label,
.service-tile--offering .service-tile__label {
    padding-top: 90px;
}

/* =========================
   서브메뉴 보정
========================= */
.leaders-subnav-align,
.leaders-subnav-align * {
    box-sizing: border-box;
}

.leaders-subnav-align {
    overflow: visible !important;
}

.leaders-subnav-align a,
.leaders-subnav-align button,
.leaders-subnav-align select,
.leaders-subnav-align .current,
.leaders-subnav-align .dropdown-toggle,
.leaders-subnav-align .leaders-subnav-current,
.leaders-subnav-align .subnav-current {
    font-family: 'GmarketSans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    min-height: 56px !important;
    height: auto !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
}

.leaders-subnav-align a span,
.leaders-subnav-align button span,
.leaders-subnav-align .current span,
.leaders-subnav-align .dropdown-toggle span,
.leaders-subnav-align .leaders-subnav-current span,
.leaders-subnav-align .subnav-current span,
.leaders-subnav-align strong,
.leaders-subnav-align em {
    display: inline-block !important;
    line-height: 1.5 !important;
    padding-top: 2px !important;
    overflow: visible !important;
}

.leaders-subnav-align > div,
.leaders-subnav-align ul,
.leaders-subnav-align li {
    overflow: visible !important;
}

.leaders-subnav-align select {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 42px !important;
    background-position: right 14px center !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1280px) {
    .leaders-gnb {
        gap: 34px;
    }

    .leaders-gnb-item > a {
        font-size: 1rem;
    }

    .leaders-mega-panel__inner {
        column-gap: 22px;
    }

    .online-service__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .leaders-feature-grid,
    .leaders-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leaders-gnb {
        gap: 24px;
    }

    .leaders-gnb-item > a {
        font-size: .95rem;
    }

    .sermon-hero {
        padding: 20px 16px 34px;
    }

    .sermon-poster {
        min-height: 620px;
    }

    .sermon-poster__body {
        padding-top: 92px;
    }

    .sermon-poster__cross {
        right: 34px;
        bottom: 58px;
        height: 250px;
    }

    .sermon-poster__cross::before {
        left: -58px;
        width: 152px;
    }
}

@media (max-width: 1024px) {
    #leadersHeader .leaders-nav {
        display: none !important;
    }

    #leadersHeader .leaders-request-btn {
        display: none !important;
    }

    #leadersHeader .hd_login_quick {
        display: none !important;
    }

    #leadersHeader .leaders-menu-btn {
        display: flex !important;
    }

    #leadersHeader .leaders-actions {
        margin-left: auto;
    }

    .leaders-inner {
        min-height: 78px;
    }

    #leadersContainer {
        padding-top: 78px;
    }

    .leaders-hero {
        min-height: calc(100vh - 78px);
    }

    .leaders-hero__content {
        padding: 100px 0 90px;
    }

    .leaders-sub-visual {
        height: 180px;
        margin-top: 0;
    }

    .leaders-sub-visual__inner h2 {
        font-size: 34px;
    }

    .leaders-sub-tabs {
        justify-content: flex-start;
        gap: 10px;
        padding: 16px 0;
    }

    .leaders-sub-tabs li a {
        min-height: 42px;
        padding: 0 18px;
        font-size: 15px;
    }
}

@media (max-width: 820px) {
    .online-page {
        padding: 34px 16px 44px;
    }

    .online-service__header {
        margin-bottom: 24px;
    }

    .online-service__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .service-tile {
        min-height: 170px;
        border-radius: 18px;
    }

    .service-tile__icon {
        top: 34px;
    }
}

@media (max-width: 768px) {
    .leaders-container,
    .leaders-inner {
        width: min(100% - 28px, 1400px);
    }

    .leaders-logo a {
        height: 78px;
    }

    .leaders-logo__imgbox {
        width: 170px;
        height: 48px;
    }

    .leaders-logo .logo-img,
    .leaders-logo img {
        max-width: 170px;
        max-height: 48px;
    }

    .leaders-hero h2 {
        letter-spacing: -1px;
    }

    .leaders-hero p br {
        display: none;
    }

    .leaders-feature-grid,
    .leaders-project-grid {
        grid-template-columns: 1fr;
    }

    .leaders-features,
    .leaders-projects {
        padding: 82px 0;
    }

    .leaders-feature-card,
    .leaders-project-body {
        padding: 24px 22px;
    }

    .leaders-category-head h3 {
        font-size: 1.35rem;
    }

    .leaders-footer {
        padding: 76px 0 60px;
    }

    .leaders-sub-visual {
        height: 400px;
    }

    .leaders-sub-visual__inner h2 {
        font-size: 28px;
    }

    .leaders-sub-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 14px 0;
        white-space: nowrap;
    }

    .leaders-sub-tabs::-webkit-scrollbar {
        height: 6px;
    }

    .leaders-sub-tabs::-webkit-scrollbar-thumb {
        background: #d1d5db;
        border-radius: 999px;
    }

    .leaders-sub-tabs li a {
        padding: 0 16px;
        font-size: 14px;
    }

    #bo_list,
    #bo_v,
    #bo_w,
    #fboardlist,
    #faq_wrap,
    #inq_write,
    #new_sch,
    #cop_search_rlt,
    #search_result {
        padding-left: 14px;
        padding-right: 14px;
    }

    .idx_text {
        width: 100%;
        height: auto;
        position: absolute;
        text-align: center;
        top: 50%;
        left: auto;
        transform: translateY(-50%);
        z-index: 9;
        font-size: 30px;
        font-weight: bold;
        color: #fff;
    }
}

@media (max-width: 760px) {
    .sermon-hero__header {
        margin-bottom: 18px;
    }

    .sermon-poster {
        min-height: 470px;
        padding: 18px 16px 28px;
    }

    .sermon-poster__topline {
        flex-direction: column;
        gap: 6px;
        font-size: 0.88rem;
    }

    .sermon-poster__body {
        padding-top: 42px;
    }

    .sermon-poster__subtitle {
        margin-bottom: 16px;
    }

    .sermon-poster__subtitle::before,
    .sermon-poster__subtitle::after {
        width: 42px;
    }

    .sermon-poster__play {
        width: 64px;
        height: 64px;
        margin: 16px 0 14px;
    }

    .sermon-poster__play::before {
        left: 27px;
        top: 21px;
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 18px;
    }

    .sermon-poster__cross {
        right: 18px;
        bottom: 34px;
        width: 24px;
        height: 150px;
    }

    .sermon-poster__cross::before {
        left: -36px;
        top: 36px;
        width: 96px;
        height: 20px;
    }

    .sermon-hero__copy {
        margin: 20px 0 22px;
    }

    .sermon-menu {
        gap: 10px 8px;
    }

    .sermon-menu a {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .leaders-btn {
        width: 100%;
    }

    .leaders-hero__buttons {
        flex-direction: column;
    }

    .leaders-partner-item {
        width: 100%;
        text-align: center;
        border-radius: 14px;
    }

    .leaders-mobile-nav {
        width: min(92vw, 320px);
    }

    .online-service__grid {
        grid-template-columns: 1fr;
    }
}

.church-main-visual {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: #111;
}

.church-main-swiper,
.church-main-swiper .swiper-wrapper,
.church-main-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.church-main-slide {
    position: relative;
    overflow: hidden;
}

.church-main-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 6s ease;
}

.church-main-swiper .swiper-slide-active .church-main-bg {
    transform: scale(1);
}

.church-main-bg-empty {
    background: #222;
}

.church-main-video {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #000;
}

.church-main-video iframe {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100vw;
    height: 56.25vw;
    min-width: 177.77777778vh;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.church-main-dim {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
}

.church-main-content {
    position: absolute;
    left: 50%;
    top: 52%;
    z-index: 5;
    width: min(100% - 40px, 1200px);
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.church-main-small {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.church-main-content h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
}

.church-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 62px;
    margin-top: 38px;
    padding: 0 34px;
    background: #fff;
    color: #111;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s ease;
}

.church-main-btn:hover {
    background: #d33b2f;
    color: #fff;
}

.church-main-prev,
.church-main-next {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 34px;
    height: 60px;
    transform: translateY(-50%);
    cursor: pointer;
}

.church-main-prev {
    left: 34px;
}

.church-main-next {
    right: 34px;
}

.church-main-prev::before,
.church-main-next::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 28px;
    height: 28px;
    border-top: 4px solid rgba(255,255,255,.85);
    border-left: 4px solid rgba(255,255,255,.85);
}

.church-main-prev::before {
    left: 5px;
    transform: translateY(-50%) rotate(-45deg);
}

.church-main-next::before {
    right: 5px;
    transform: translateY(-50%) rotate(135deg);
}

.church-main-pagination {
    position: absolute;
    left: 0;
    bottom: 42px !important;
    z-index: 20;
    width: 100%;
    text-align: center;
}

.church-main-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    margin: 0 5px !important;
    background: #fff;
    opacity: .45;
}

.church-main-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* 모바일 */
@media (max-width: 768px) {
    .church-main-visual {
        height: 620px;
        min-height: 620px;
    }

    .church-main-content {
        top: 53%;
        width: calc(100% - 34px);
    }

    .church-main-small {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .church-main-content h2 {
        font-size: 32px;
        line-height: 1.35;
    }

    .church-main-btn {
        min-width: 150px;
        height: 50px;
        margin-top: 26px;
        font-size: 15px;
    }

    .church-main-prev,
    .church-main-next {
        display: none;
    }

    .church-main-pagination {
        bottom: 28px !important;
    }
}

/* ================================
   Church Main Responsive Section
================================ */

.church-main-wrap {
    width: 100%;
    max-width: 1500px;
    margin: 80px auto 0;
    padding: 0 30px 80px;
    box-sizing: border-box;
    font-family: 'GmarketSans', sans-serif;
}

/* 설교 영역 */
.church-main-sermon {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    
}

.church-sermon-bg {
    position: relative;
    width: 100%;
    min-height: 680px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;

    /* 배경 이미지 교체 */
    background-image:
        linear-gradient(rgba(42, 4, 17, 0.25), rgba(42, 4, 17, 0.65)),
        url('');
    background-size: cover;
    background-position: center;
}

.church-sermon-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 680px;
    padding: 42px 40px;
    box-sizing: border-box;
    color: #fff;
}

.church-sermon-label {
    position: absolute;
    left: 42px;
    top: 38px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.church-sermon-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 92%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.church-sermon-line {
    width: 260px;
    height: 1px;
    margin: 0 auto 22px;
    background: rgba(255,255,255,0.45);
}

.church-sermon-eng {
    margin-bottom: 32px;
    font-size: 30px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.church-sermon-center h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(46px, 6vw, 96px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.07em;
}

.church-sermon-play {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    margin: 45px auto 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.38);
    transition: all .25s ease;
}

.church-sermon-play:hover {
    background: rgba(0,0,0,0.55);
    transform: scale(1.05);
}

.church-sermon-play span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 7px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 22px solid #fff;
}

.church-sermon-bible {
    margin-bottom: 10px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
}

.church-sermon-pastor {
    font-size: 23px;
    font-weight: 700;
}

/* 예배 버튼 영역 */
.church-service-box {
    padding: 30px 20px 43px;
    text-align: center;
    background: #e9e9e9;
    border-radius: 0 0 16px 16px;
}

.church-service-box h3 {
    margin: 0 0 22px;
    color: #355987;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.06em;
}

.church-service-tabs {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.church-service-tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 48px;
    padding: 0 25px;
    border: 1px solid #999;
    border-radius: 7px;
    background: #f8f8f8;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
    transition: all .2s ease;
}

.church-service-tabs a:hover,
.church-service-tabs a.active {
    color: #b05c80;
    border-color: #b05c80;
    background: #fff;
}

/* 온라인 서비스 */
.church-online {
    padding-top: 65px;
    padding-bottom: 65px;
    text-align: center;
}

.church-online h3 {
    margin: 0 0 65px;
    color: #0d1e42;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.church-online-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 26px;
}

.church-online-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 185px;
    padding: 25px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    color: #111;
    text-decoration: none;
    box-shadow: 0 0 12px rgba(0,0,0,0.08);
    box-sizing: border-box;
    transition: all .25s ease;
}

.church-online-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.13);
}

.church-online-icon {
    position: relative;
    margin-bottom: 18px;
    color: #17315c;
    font-size: 52px;
    line-height: 1;
}

.church-online-card p {
    margin: 0;
    color: #111;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.06em;
}

/* 아이콘 포인트 색상 */
.church-online-icon::after {
    content: '';
    position: absolute;
    right: -8px;
    bottom: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #63ad90;
}

.icon-04::after {
    right: -12px;
    bottom: 5px;
}

.icon-05::after {
    display: none;
}

.icon-05 i {
    color: #17315c;
}

/* ================================
   Tablet
================================ */
@media (max-width: 1024px) {

    .church-main-wrap {
        padding: 0 20px 70px;
    }

    .church-sermon-bg,
    .church-sermon-inner {
        min-height: 560px;
    }

    .church-sermon-label {
        font-size: 21px;
    }

    .church-sermon-eng {
        font-size: 25px;
    }

    .church-sermon-play {
        width: 78px;
        height: 78px;
        margin: 35px auto 28px;
    }

    .church-sermon-bible {
        font-size: 29px;
    }

    .church-service-box h3 {
        font-size: 34px;
    }

    .church-online {
        padding-top: 95px;
    }

    .church-online h3 {
        margin-bottom: 45px;
        font-size: 38px;
    }

    .church-online-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .church-online-card {
        min-height: 165px;
    }
}

/* ================================
   Mobile
================================ */
@media (max-width: 768px) {

    .church-main-wrap {
        padding: 0 15px 55px;
    }

    .church-main-sermon {
        border-radius: 12px;
    }

    .church-sermon-bg {
        min-height: 480px;
        border-radius: 12px 12px 0 0;
        background-position: center center;
    }

    .church-sermon-inner {
        min-height: 480px;
        padding: 26px 20px;
    }

    .church-sermon-label {
        left: 24px;
        top: 24px;
        font-size: 18px;
    }

    .church-sermon-line {
        width: 150px;
        margin-bottom: 16px;
    }

    .church-sermon-eng {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .church-sermon-center h2 {
        font-size: clamp(38px, 12vw, 60px);
        line-height: 1.18;
        word-break: keep-all;
    }

    .church-sermon-play {
        width: 66px;
        height: 66px;
        margin: 30px auto 25px;
    }

    .church-sermon-play span {
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 17px;
    }

    .church-sermon-bible {
        font-size: 24px;
    }

    .church-sermon-pastor {
        font-size: 18px;
    }

    .church-service-box {
        padding: 28px 14px 34px;
    }

    .church-service-box h3 {
        margin-bottom: 20px;
        font-size: 28px;
        word-break: keep-all;
    }

    .church-service-tabs {
        gap: 10px;
    }

    .church-service-tabs a {
        min-width: calc(50% - 8px);
        height: 44px;
        padding: 0 10px;
        font-size: 16px;
    }

    .church-online {
        padding-top: 75px;
    }

    .church-online h3 {
        margin-bottom: 35px;
        font-size: 34px;
    }

    .church-online-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .church-online-card {
        min-height: 145px;
        border-radius: 13px;
    }

    .church-online-icon {
        margin-bottom: 14px;
        font-size: 42px;
    }

    .church-online-icon::after {
        width: 16px;
        height: 16px;
    }

    .church-online-card p {
        font-size: 19px;
    }
}

/* ================================
   Small Mobile
================================ */
@media (max-width: 480px) {

    .church-main-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .church-sermon-bg,
    .church-sermon-inner {
        min-height: 430px;
    }

    .church-sermon-label {
        font-size: 16px;
    }

    .church-sermon-center {
        width: 94%;
    }

    .church-sermon-center h2 {
        font-size: 40px;
    }

    .church-service-box h3 {
        font-size: 24px;
    }

    .church-service-tabs a {
        font-size: 15px;
    }

    .church-online h3 {
        font-size: 30px;
    }

    .church-online-grid {
        grid-template-columns: 1fr;
    }

    .church-online-card {
        min-height: 120px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 22px 28px;
        text-align: left;
    }

    .church-online-icon {
        width: 58px;
        margin: 0 22px 0 0;
        font-size: 38px;
        text-align: center;
    }

    .church-online-card p {
        font-size: 20px;
    }
}

/* ==============================
   Church Main Section
   ============================== */

.ch-main-wrap {
    width: min(100% - 40px, 1400px);
    margin: 0 auto;
}

/* 영상 카드 영역 */
.ch-main-video-section {
    padding: 0;
    background: #fff;
}

.ch-main-video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 54px;
}

.ch-main-video-card {
    display: block;
    color: #111;
    text-decoration: none;
}

.ch-main-video-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1.58 / 1;
    overflow: hidden;
    background: #eee;
}

.ch-main-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}

.ch-main-video-card:hover .ch-main-video-thumb img {
    transform: scale(1.06);
}

.ch-main-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 66px;
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(1px);
}

.ch-main-play i {
    margin-left: 4px;
}

.ch-main-video-text {
    padding-top: 28px;
}

.ch-main-video-text h3 {
    margin: 0 0 8px;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #050505;
}

.ch-main-video-text p {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 500;
    color: #4b4b4b;
    letter-spacing: -0.04em;
}

.ch-main-video-text span {
    display: block;
    margin-top: 2px;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.03em;
}


/* 중앙 메시지 배너 */
.ch-main-message {
    position: relative;
    padding: 82px 20px 78px;
    background: #8ba8d6;
    overflow: hidden;
    text-align: center;
}

.ch-main-message-inner {
    position: relative;
    z-index: 2;
}

.ch-main-message h2 {
    margin: 0;
    font-size: clamp(44px, 6vw, 88px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.08em;
    color: #fff;
}

.ch-main-message strong {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 34px 9px;
    background: #e5704f;
    color: #fff;
    font-size: clamp(17px, 1.7vw, 26px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.ch-main-message p {
    margin: 24px 0 0;
    font-size: clamp(15px, 1.3vw, 20px);
    line-height: 1.7;
    color: #fff;
    letter-spacing: -0.04em;
}

/* 양쪽 사선 장식 */
.ch-main-line {
    position: absolute;
    width: 165px;
    height: 74px;
    z-index: 1;
}

.ch-main-line::before,
.ch-main-line::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 3px;
    background: #d93b62;
    transform: rotate(-28deg);
}

.ch-main-line::after {
    top: 26px;
    left: -16px;
    background: #b98f9c;
}

.ch-main-line-left {
    left: 70px;
    bottom: 38px;
}

.ch-main-line-right {
    right: 52px;
    top: 62px;
}

.ch-main-line-right::before,
.ch-main-line-right::after {
    transform: rotate(-28deg);
}


/* 바로가기 아이콘 */
.ch-main-quick-section {
    padding: 115px 0 95px;
    background: #fff;
}

.ch-main-quick-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 50px;
    align-items: start;
}

.ch-main-quick {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #111;
}

.ch-main-quick-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: #7cab39;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 42px;
    transition: all .3s ease;
}

.ch-main-quick:hover .ch-main-quick-icon {
    transform: translateY(-8px);

    background: #0D4105 ;
    box-shadow: 0 14px 26px rgba(223, 111, 118, .28);
}

.ch-main-quick p {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #151515;
}


/* ==============================
   Responsive
   ============================== */

@media (max-width: 1280px) {
    .ch-main-video-grid {
        gap: 34px;
    }

    .ch-main-video-text h3 {
        font-size: 22px;
    }

    .ch-main-video-text span {
        font-size: 20px;
    }

    .ch-main-quick-grid {
        gap: 36px;
    }
}

@media (max-width: 1024px) {
    .ch-main-video-section {
        padding: 45px 0 80px;
    }

    .ch-main-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 42px 34px;
    }

    .ch-main-message {
        padding: 70px 20px;
    }

    .ch-main-line {
        opacity: .45;
        transform: scale(.8);
    }

    .ch-main-line-left {
        left: 20px;
        bottom: 24px;
    }

    .ch-main-line-right {
        right: 12px;
        top: 34px;
    }

    .ch-main-quick-section {
        padding: 80px 0;
    }

    .ch-main-quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 46px 30px;
    }
}

@media (max-width: 768px) {
    .ch-main-wrap {
        width: min(100% - 28px, 1400px);
    }

    .ch-main-video-section {
        padding: 35px 0 60px;
    }

    .ch-main-video-grid {
        gap: 30px;
    }

    .ch-main-video-text {
        padding-top: 18px;
    }

    .ch-main-video-text h3 {
        font-size: 20px;
    }

    .ch-main-video-text p {
        font-size: 16px;
    }

    .ch-main-video-text span {
        font-size: 18px;
    }

    .ch-main-play {
        width: 56px;
        height: 56px;
        font-size: 20px;
    }

    .ch-main-message {
        padding: 58px 16px 54px;
    }

    .ch-main-message h2 {
        font-size: clamp(36px, 10vw, 58px);
    }

    .ch-main-message p {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        word-break: keep-all;
    }

    .ch-main-line {
        display: none;
    }

    .ch-main-quick-section {
        padding: 65px 0;
    }

    .ch-main-quick-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px 18px;
    }

    .ch-main-quick-icon {
        width: 92px;
        height: 92px;
        margin-bottom: 18px;
        font-size: 34px;
    }

    .ch-main-quick p {
        font-size: 18px;
    }
}

@media (max-width: 540px) {
    .ch-main-video-grid {
        grid-template-columns: 1fr;
    }

    .ch-main-video-thumb {
        aspect-ratio: 1.6 / 1;
    }

    .ch-main-message {
        padding: 50px 14px;
    }

    .ch-main-message h2 {
        font-size: 38px;
        line-height: 1.15;
        word-break: keep-all;
    }

    .ch-main-message strong {
        margin-top: 12px;
        padding: 7px 22px 8px;
        font-size: 17px;
    }

    .ch-main-message p {
        margin-top: 18px;
        font-size: 15px;
    }

    .ch-main-quick-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 12px;
    }

    .ch-main-quick-icon {
        width: 84px;
        height: 84px;
        font-size: 30px;
    }

    .ch-main-quick p {
        font-size: 16px;
    }
}

/* ==============================
   메인 최신글 + 슬라이드 영역
============================== */

.ch-home-latest-section {
    background: #dfece3;
    padding: 95px 0 110px;
    overflow: hidden;
}

.ch-home-latest-inner {
    width: min(calc(100% - 40px), 1420px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 26px;
    align-items: start;
}

.ch-home-latest-title {
    margin-bottom: 28px;
}

.ch-home-latest-title h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    color: #414946;
    letter-spacing: -0.04em;
}

.ch-home-latest-title p {
    margin: 0;
    font-size: 19px;
    color: #414946;
    letter-spacing: -0.03em;
}

.ch-home-latest-side {
    padding-top: 22px;
}


/* ==============================
   왼쪽 환영 슬라이드
============================== */

.ch-main-welcome-latest {
    width: 100%;
}

.ch-main-welcome-swiper {
    width: 100%;
    overflow: hidden;
}

/*.ch-main-welcome-swiper .swiper-slide a {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1.86 / 1;
    min-height: 260px;
    overflow: hidden;
    background: #333;
    text-decoration: none;
}*/

/* ==============================
   메인 환영 슬라이드 높이 안정화
============================== */

.ch-main-welcome-latest {
    width: 100%;
}

.ch-main-welcome-swiper {
    width: 100%;
    overflow: hidden;
}

.ch-main-welcome-swiper .swiper-wrapper {
    align-items: stretch;
}

.ch-main-welcome-swiper .swiper-slide {
    width: 100%;
    height: auto;
}

.ch-main-welcome-swiper .swiper-slide > a {
    display: block;
    position: relative;
    width: 100%;
    height: 290px;
    overflow: hidden;
    background: #222;
    text-decoration: none;
}

.ch-main-welcome-swiper .swiper-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.ch-main-welcome-noimg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6e655c, #252525);
}

.ch-main-welcome-swiper .swiper-slide > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 1;
}

.ch-main-welcome-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
}

.ch-main-welcome-text strong {
    display: block;
    max-width: 92%;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.28;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.06em;
    word-break: keep-all;
}

.ch-main-welcome-text p {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    word-break: keep-all;
}

.ch-main-welcome-swiper .swiper-pagination {
    position: static;
    margin-top: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ch-main-welcome-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 6px !important;
    background: #65706b;
    opacity: 1;
}

.ch-main-welcome-swiper .swiper-pagination-bullet-active {
    background: #d97b0d;
}


/* 태블릿 */
@media (max-width: 1024px) {
    .ch-main-welcome-swiper .swiper-slide > a {
        height: 42vw;
        min-height: 260px;
        max-height: 390px;
    }
}


/* 모바일 */
@media (max-width: 768px) {
    .ch-main-welcome-swiper .swiper-slide > a {
        height: 54vw;
        min-height: 220px;
        max-height: 320px;
    }

    .ch-main-welcome-text {
        padding: 24px;
    }

    .ch-main-welcome-text strong {
        font-size: 27px;
        line-height: 1.32;
    }

    .ch-main-welcome-text p {
        font-size: 15px;
    }

    .ch-main-welcome-swiper .swiper-pagination {
        margin-top: 18px;
    }
}


/* 작은 모바일 */
@media (max-width: 480px) {
    .ch-main-welcome-swiper .swiper-slide > a {
        height: 60vw;
        min-height: 190px;
        max-height: 250px;
    }

    .ch-main-welcome-text {
        padding: 20px;
    }

    .ch-main-welcome-text strong {
        font-size: 23px;
    }

    .ch-main-welcome-text p {
        display: none;
    }
}

.ch-main-welcome-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.03);
    transition: transform 1.4s ease;
}

.ch-main-welcome-swiper .swiper-slide-active img {
    transform: scale(1);
}

.ch-main-welcome-swiper .swiper-slide a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.38);
    z-index: 1;
}

.ch-main-welcome-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
}

.ch-main-welcome-text strong {
    display: block;
    max-width: 90%;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.28;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.06em;
    word-break: keep-all;
}

.ch-main-welcome-text p {
    margin: 14px 0 0;
    font-size: 17px;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
}

.ch-main-welcome-empty {
    height: 300px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.ch-main-welcome-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6e655c, #252525);
}

.ch-main-welcome-swiper .swiper-pagination {
    position: static;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ch-main-welcome-swiper .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    margin: 0 6px !important;
    background: #65706b;
    opacity: 1;
}

.ch-main-welcome-swiper .swiper-pagination-bullet-active {
    background: #d97b0d;
}


/* ==============================
   교회소식 / 선교소식 카드
============================== */

.ch-card-latest {
    background: #fff;
    height: 420px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(35, 55, 45, 0.06);
}

.ch-card-latest__list {
    flex: 1 1 50%;
    padding: 46px 44px 36px;
    background: #fff;
}

.ch-card-latest__list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ch-card-latest__list li {
    margin-bottom: 13px;
}

.ch-card-latest__list li:last-child {
    margin-bottom: 0;
}

.ch-card-latest__list a {
    display: block;
    font-size: 17px;
    line-height: 1.45;
    color: #343a37;
    text-decoration: none;
    letter-spacing: -0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color .2s ease;
}

.ch-card-latest__list a:hover {
    color: #d85b61;
}

.ch-card-latest__visual {
    position: relative;
    flex: 0 0 50%;
    min-height: 210px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: visible;
}

.ch-card-latest__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    z-index: 1;
}

.ch-card-latest__visual span {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.ch-card-latest--church .ch-card-latest__visual {
    background-color: #dd5c62;
    background-image: linear-gradient(135deg, #dd6a6e, #d94f58);
}

.ch-card-latest--church .ch-card-latest__visual::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 12px solid #dd5c62;
    z-index: 3;
}

.ch-card-latest--mission .ch-card-latest__visual {
    background-color: #6b6b5e;
    background-image: linear-gradient(135deg, #81755e, #3d3d36);
}

.ch-card-latest--mission .ch-card-latest__visual::before {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 12px solid rgba(70,70,62,0.95);
    z-index: 3;
}

.ch-card-latest__empty {
    padding: 40px;
    font-size: 16px;
    color: #777;
}


/* ==============================
   반응형
============================== */

@media (max-width: 1200px) {
    .ch-home-latest-inner {
        grid-template-columns: 1fr 1fr;
    }

    .ch-home-latest-left {
        grid-column: 1 / -1;
    }

    .ch-home-latest-title {
        margin-bottom: 34px;
    }

    .ch-home-latest-side {
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .ch-home-latest-section {
        padding: 60px 0 70px;
    }

    .ch-home-latest-inner {
        width: min(calc(100% - 30px), 1420px);
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ch-home-latest-title h2 {
        font-size: 27px;
    }

    .ch-home-latest-title p {
        font-size: 17px;
    }

    .ch-home-latest-title {
        margin-bottom: 28px;
    }

    .ch-main-welcome-swiper .swiper-slide a {
        aspect-ratio: 1.45 / 1;
        min-height: 240px;
    }

    .ch-main-welcome-text {
        padding: 25px;
    }

    .ch-main-welcome-text strong {
        font-size: 27px;
    }

    .ch-card-latest {
        height: auto;
    }

    .ch-card-latest__list {
        padding: 34px 28px 30px;
    }

    .ch-card-latest__visual {
        min-height: 210px;
    }

    .ch-card-latest__visual span {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .ch-home-latest-section {
        padding: 45px 0 55px;
    }

    .ch-home-latest-inner {
        width: min(calc(100% - 24px), 1420px);
    }

    .ch-home-latest-title h2 {
        font-size: 24px;
    }

    .ch-main-welcome-swiper .swiper-slide a {
        min-height: 210px;
    }

    .ch-main-welcome-text strong {
        font-size: 24px;
    }

    .ch-card-latest__list a {
        font-size: 16px;
    }
}

/* =====================================================
   메인 최신글 영역 모바일 깨짐 수정
   기존 CSS 아래쪽에 추가
===================================================== */

/* 전체 영역 */
.ch-home-latest-section {
    background: #dfece3;
}

.ch-home-latest-inner {
    box-sizing: border-box;
}

.ch-home-latest-inner *,
.ch-home-latest-inner *::before,
.ch-home-latest-inner *::after {
    box-sizing: border-box;
}


/* ===============================
   왼쪽 메인 슬라이드 안정화
================================ */

.ch-main-welcome-latest {
    width: 100%;
    max-width: 100%;
}

.ch-main-welcome-swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.ch-main-welcome-swiper .swiper-wrapper {
    height: auto !important;
}

.ch-main-welcome-swiper .swiper-slide {
    height: auto !important;
}

.ch-main-welcome-swiper .swiper-slide > a {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: 290px !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #999;
    text-decoration: none;
}

.ch-main-welcome-swiper .swiper-slide img,
.ch-main-welcome-noimg {
    position: absolute !important;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.ch-main-welcome-swiper .swiper-slide > a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.ch-main-welcome-text {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 25px !important;
    text-align: center !important;
}

.ch-main-welcome-text strong {
    display: block !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
    letter-spacing: -0.06em;
    word-break: keep-all;
}

.ch-main-welcome-text p {
    margin: 12px 0 0;
    color: rgba(255,255,255,0.9) !important;
    font-size: 16px;
    line-height: 1.5;
}

.ch-main-welcome-swiper .swiper-pagination {
    position: static !important;
    margin-top: 22px !important;
}


/* ===============================
   교회소식 / 선교소식 카드 안정화
================================ */

.ch-card-latest {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden;
    background: #fff;
}

.ch-card-latest__visual {
    position: relative !important;
    width: 100% !important;
    height: 210px !important;
    min-height: 210px !important;
    flex: none !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
}

.ch-card-latest__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.ch-card-latest__visual span {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    letter-spacing: -0.06em;
    text-align: center;
}

.ch-card-latest__list {
    width: 100% !important;
    height: auto !important;
    flex: none !important;
    padding: 34px 32px !important;
    background: #fff !important;
}

.ch-card-latest__list ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ch-card-latest__list li {

    margin: 0 0 12px !important;
}

.ch-card-latest__list li:last-child {
    margin-bottom: 0 !important;
}

.ch-card-latest__list a {
    display: block !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: #222 !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* 교회소식 기본 배경 */
.ch-card-latest--church .ch-card-latest__visual {
    background-color: #b05258;
    background-image: linear-gradient(135deg, #c96268, #a84950);
}

/* 선교소식 기본 배경 */
.ch-card-latest--mission .ch-card-latest__visual {
    background-color: #5f5948;
    background-image: linear-gradient(135deg, #746d58, #4f493a);
}


/* ===============================
   모바일 전용
================================ */

@media (max-width: 768px) {

    .ch-home-latest-section {
        padding: 55px 0 60px !important;
    }

    .ch-home-latest-inner {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .ch-home-latest-left,
    .ch-home-latest-side {
        width: 100% !important;
        padding-top: 0 !important;
    }

    .ch-home-latest-title {
        margin-bottom: 30px !important;
    }

    .ch-home-latest-title h2 {
        margin: 0 0 12px !important;
        font-size: 27px !important;
        line-height: 1.3 !important;
        letter-spacing: -0.05em;
    }

    .ch-home-latest-title p {
        margin: 0 !important;
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* 모바일 슬라이드 높이 */
    .ch-main-welcome-swiper .swiper-slide > a {
        height: 54vw !important;
        min-height: 230px !important;
        max-height: 320px !important;
    }

    .ch-main-welcome-text strong {
        font-size: 26px !important;
    }

    .ch-main-welcome-text p {
        font-size: 15px !important;
    }

    /* 모바일에서는 카드 이미지가 위, 게시글이 아래 */
    .ch-card-latest__visual {
        order: 1 !important;
        height: 190px !important;
        min-height: 190px !important;
    }

    .ch-card-latest__list {
        order: 2 !important;
        padding: 30px 28px !important;
    }

    .ch-card-latest__visual span {
        font-size: 28px !important;
    }

    .ch-card-latest__list a {
        font-size: 16px !important;
    }

    /* PC용 삼각형 장식은 모바일에서 숨김 */
    .ch-card-latest__visual::before {
        display: none !important;
    }
}


/* 아주 작은 모바일 */
@media (max-width: 480px) {

    .ch-home-latest-section {
        padding: 48px 0 52px !important;
    }

    .ch-home-latest-inner {
        width: calc(100% - 20px) !important;
        gap: 28px !important;
    }

    .ch-home-latest-title h2 {
        font-size: 25px !important;
    }

    .ch-main-welcome-swiper .swiper-slide > a {
        height: 56vw !important;
        min-height: 210px !important;
        max-height: 280px !important;
    }

    .ch-main-welcome-text {
        padding: 20px !important;
    }

    .ch-main-welcome-text strong {
        font-size: 23px !important;
    }

    .ch-main-welcome-text p {
        display: none !important;
    }

    .ch-card-latest__visual {
        height: 170px !important;
        min-height: 170px !important;
    }

    .ch-card-latest__visual span {
        font-size: 25px !important;
    }

    .ch-card-latest__list {
        padding: 26px 24px !important;
    }
}

.ch-card-latest__visual span,
.ch-main-welcome-text,
.ch-main-welcome-text strong {
    opacity: 1 !important;
    visibility: visible !important;
}

/* =====================================================
   교회 메인 소식영역 - 충돌 방지 새 버전
===================================================== */

.cs-main-board-section {
    width: 100%;
    background: #dfece3;
    padding: 90px 0 105px;
    overflow: hidden;
}

.cs-main-board-section *,
.cs-main-board-section *::before,
.cs-main-board-section *::after {
    box-sizing: border-box;
}

.cs-main-board-wrap {
    width: min(calc(100% - 40px), 1420px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 26px;
    align-items: start;
}

.cs-main-title {
    margin-bottom: 62px;
}

.cs-main-title h2 {
    margin: 0 0 10px;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    color: #3f4744;
    letter-spacing: -0.05em;
}

.cs-main-title p {
    margin: 0;
    font-size: 19px;
    line-height: 1.5;
    color: #3f4744;
    letter-spacing: -0.04em;
}

.cs-main-card {
    padding-top: 22px;
}


/* 왼쪽 환영 슬라이드 */

.cs-welcome-latest {
    width: 100%;
}

.cs-welcome-swiper {
    width: 100%;
    overflow: hidden;
}

.cs-welcome-swiper .swiper-wrapper {
    height: auto !important;
}

.cs-welcome-swiper .swiper-slide {
    height: auto !important;
}

.cs-welcome-link {
    position: relative;
    display: block;
    width: 100%;
    height: 290px;
    overflow: hidden;
    background: #777;
    text-decoration: none;
}

.cs-welcome-link img,
.cs-welcome-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-welcome-bg {
    background: linear-gradient(135deg, #777, #333);
}

.cs-welcome-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: rgba(0,0,0,0.38);
}

.cs-welcome-copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px;
    text-align: center;
}

.cs-welcome-copy strong {
    display: block;
    max-width: 95%;
    color: #fff;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.28;
    font-weight: 900;
    letter-spacing: -0.06em;
    word-break: keep-all;
}

.cs-welcome-copy em {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,0.9);
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    word-break: keep-all;
}

.cs-welcome-swiper .swiper-pagination {
    position: static !important;
    margin-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cs-welcome-swiper .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    margin: 0 6px !important;
    background: #65706b;
    opacity: 1;
}

.cs-welcome-swiper .swiper-pagination-bullet-active {
    background: #d97b0d;
}


/* 교회소식 / 선교소식 카드 */

.cs-news-box {
    width: 100%;
    height: 420px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(35,55,45,0.06);
}

.cs-news-list {
    flex: 1 1 50%;
    padding: 46px 44px 36px;
    background: #fff;
}

.cs-news-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cs-news-list li {
    margin-bottom: 13px;
}

.cs-news-list li:last-child {
    margin-bottom: 0;
}

.cs-news-list a {
    display: block;
    color: #333;
    font-size: 17px;
    line-height: 1.45;
    text-decoration: none;
    letter-spacing: -0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cs-news-list a:hover {
    color: #d85b61;
}

.cs-news-visual {
    position: relative;
    flex: 1 1 50%;
    min-height: 210px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-news-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.28);
}

.cs-news-visual span {
    position: relative;
    z-index: 2;
    display: block;
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.06em;
    text-align: center;
    text-shadow: 0 3px 12px rgba(0,0,0,0.35);
}

.cs-news-box--church .cs-news-visual {
    background-color: #b05258;
    background-image: linear-gradient(135deg, #4f93d9, #81addb);
}

.cs-news-box--mission .cs-news-visual {
    background-color: #5f5948;
    background-image: linear-gradient(135deg, #786f59, #4f493a);
}

.cs-news-empty {
    color: #777;
    font-size: 16px;
}


/* 태블릿 */

@media (max-width: 1200px) {
    .cs-main-board-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .cs-main-left {
        grid-column: 1 / -1;
    }

    .cs-main-title {
        margin-bottom: 34px;
    }

    .cs-main-card {
        padding-top: 0;
    }
}


/* 모바일 */

@media (max-width: 768px) {
    .cs-main-board-section {
        padding: 52px 0 58px;
    }

    .cs-main-board-wrap {
        width: calc(100% - 20px);
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cs-main-title {
        margin-bottom: 28px;
    }

    .cs-main-title h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .cs-main-title p {
        font-size: 16px;
    }

    .cs-welcome-link {
        height: 230px;
    }

    .cs-welcome-copy {
        padding: 24px;
    }

    .cs-welcome-copy strong {
        font-size: 25px;
        line-height: 1.32;
    }

    .cs-welcome-copy em {
        font-size: 15px;
    }

    .cs-welcome-swiper .swiper-pagination {
        margin-top: 17px;
    }

    .cs-news-box {
        height: auto;
        min-height: 0;
    }

    .cs-news-visual {
        order: 1;
        flex: none;
        height: 155px;
        min-height: 155px;
    }

    .cs-news-list {
        order: 2;
        flex: none;
        padding: 25px 26px;
    }

    .cs-news-visual span {
        font-size: 27px;
    }

    .cs-news-list a {
        font-size: 16px;
        line-height: 1.45;
    }
}


/* 작은 모바일 */

@media (max-width: 480px) {
    .cs-main-board-section {
        padding: 45px 0 50px;
    }

    .cs-main-board-wrap {
        width: calc(100% - 20px);
        gap: 22px;
    }

    .cs-main-title h2 {
        font-size: 24px;
    }

    .cs-welcome-link {
        height: 210px;
    }

    .cs-welcome-copy strong {
        font-size: 22px;
    }

    .cs-welcome-copy em {
        display: none;
    }

    .cs-news-visual {
        height: 145px;
        min-height: 145px;
    }

    .cs-news-visual span {
        font-size: 25px;
    }

    .cs-news-list {
        padding: 23px 24px;
    }

    .cs-news-list li {
        margin-bottom: 10px;
    }
}


/* =========================================================
   모바일 햄버거 메뉴 색상 최종 수정
========================================================= */
@media (max-width:1024px) {

    /* 기본 상태 : 흰색 */
    .leaders-header:not(.is-scroll) .leaders-menu-btn span,
    .leaders-header:not(.is-scroll) .leaders-menu-btn::before,
    .leaders-header:not(.is-scroll) .leaders-menu-btn::after {
        background:#fff !important;
    }

    /* 스크롤 후 : 검정색 */
    .leaders-header.is-scroll .leaders-menu-btn span,
    .leaders-header.is-scroll .leaders-menu-btn::before,
    .leaders-header.is-scroll .leaders-menu-btn::after {
        background:#111 !important;
    }

    .leaders-menu-btn span,
    .leaders-menu-btn::before,
    .leaders-menu-btn::after {
        transition:background-color .25s ease;
    }
}

/* =========================================================
   모바일 최신글 영역 표시 보정
   반드시 leaders.css 파일의 가장 마지막 줄에 추가
========================================================= */
@media (max-width: 768px) {

    /* 왼쪽 환영 슬라이드 영역 */
    .cs-main-board-section .cs-welcome-latest,
    .cs-main-board-section .cs-welcome-swiper,
    .cs-main-board-section .cs-welcome-swiper .swiper-wrapper,
    .cs-main-board-section .cs-welcome-swiper .swiper-slide,
    .cs-main-board-section .cs-welcome-link {
        visibility: visible !important;
        opacity: 1 !important;
    }

    .cs-main-board-section .cs-welcome-swiper .swiper-wrapper {
        display: flex !important;
    }

    .cs-main-board-section .cs-welcome-swiper .swiper-slide {
        display: block !important;
        flex-shrink: 0 !important;
        width: 100% !important;
    }

    .cs-main-board-section .cs-welcome-link,
    .cs-main-board-section .cs-welcome-link img,
    .cs-main-board-section .cs-welcome-bg,
    .cs-main-board-section .cs-welcome-cover {
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 왼쪽 슬라이드 제목 */
    .cs-main-board-section .cs-welcome-copy {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 5 !important;
    }

    .cs-main-board-section .cs-welcome-copy > span,
    .cs-main-board-section .cs-welcome-copy strong {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* 교회소식 · 선교소식 이미지 위 제목 */
    .cs-main-board-section .cs-news-visual {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .cs-main-board-section .cs-news-visual span {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 5 !important;
    }

    /* 왼쪽 슬라이드 하단 페이지 점 */
    .cs-main-board-section .cs-welcome-swiper .swiper-pagination {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .cs-main-board-section .cs-welcome-swiper .swiper-pagination-bullet {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   CHURCH FOOTER - LIGHT SITEMAP + NAVY BOTTOM
========================================================= */

.church-tail-wrap {
    position: relative;
    width: 100%;
    margin-top: 100px;
    overflow: visible;
    background: #17233a;
    font-family: 'GmarketSans', sans-serif;
}

.church-tail-wrap *,
.church-tail-wrap *::before,
.church-tail-wrap *::after {
    box-sizing: border-box;
}

.church-tail-container {
    width: min(calc(100% - 80px), 1400px);
    margin: 0 auto;
}

/* ---------- 상단 사이트맵 ---------- */

.church-tail-top {
    position: relative;
    background: #f7f7f5;
    color: #1d293d;
    padding: 74px 0 132px;
}

.church-tail-top-inner {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 62px;
    align-items: start;
}

.church-tail-intro {
    padding-top: 2px;
}

.church-tail-church-name {
    display: block;
    margin-bottom: 18px;
    color: #17233a;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.05em;
}

.church-tail-intro p {
    margin: 0;
    color: #8a8e95;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: -0.03em;
}

/* 자동 메뉴 */
.church-tail-sitemap {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px;
    padding: 0;
}

.church-tail-col {
    min-width: 0;
}

.church-tail-title,
.church-tail-col h3 {
    position: relative;
    margin: 0 0 21px;
    padding: 0 0 15px;
    color: #17233a;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.church-tail-title::after,
.church-tail-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    background: #7d8da6;
}

.church-tail-title-link,
.church-tail-col h3 a {
    display: inline-block;
    color: #17233a;
    text-decoration: none;
}

.church-tail-col h3 a:hover,
.church-tail-title-link:hover {
    color: #17233a;
}

.church-tail-menu-list,
.church-tail-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.church-tail-menu-list li,
.church-tail-col li {
    margin: 0 0 10px;
    padding: 0;
}

.church-tail-menu-list li:last-child,
.church-tail-col li:last-child {
    margin-bottom: 0;
}

.church-tail-menu-list a,
.church-tail-col li a {
    display: inline-block;
    padding: 0;
    color: #72777f;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: -0.035em;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.church-tail-menu-list a:hover,
.church-tail-col li a:hover {
    padding-left: 0;
    color: #17233a;
    transform: translateX(3px);
}

.church-tail-direct a {
    color: #9a9da2;
}

.church-tail-acc-btn {
    display: none;
}

/* ---------- 가운데 플로팅 정보 카드 ---------- */

.church-tail-contact-wrap {
    position: relative;
    z-index: 5;
    height: 0;
    background: #17233a;
}

.church-tail-contact {
    position: relative;
    top: -93px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .06);
    border-radius: 17px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

.church-tail-contact-item {
    position: relative;
    min-height: 128px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 27px 34px;
    text-align: left;
    background: #fff;
    border-radius: 0;
    transition: background .2s ease;
}

.church-tail-contact-item + .church-tail-contact-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;
    width: 1px;
    background: #e7e9ed;
}

.church-tail-contact-item:hover {
    transform: none;
    background: #fafbfc;
}

.church-tail-contact-item .icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef1f5;
    color: #596a83;
    font-size: 20px;
}

.church-tail-contact-text {
    min-width: 0;
}

.church-tail-contact-item h4 {
    margin: 0 0 7px;
    color: #17233a;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.church-tail-contact-item p {
    margin: 0;
    color: #777e89;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.025em;
}

/* ---------- 하단 ---------- */

.church-tail-bottom {
    margin: 0;
    padding: 106px 0 46px;
    background: #17233a;
    color: #aab3c1;
}

.church-tail-bottom-inner {
    min-height: 96px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

.church-tail-info {
    min-width: 0;
}

.tail_logo {
    display: block;
    margin: 0 0 13px;
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.045em;
}

.church-tail-address {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 16px;
    margin-bottom: 7px;
    color: #aeb6c3;
    font-size: 12px;
    line-height: 1.7;
}

.church-tail-address span + span {
    position: relative;
    padding-left: 17px;
}

.church-tail-address span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 10px;
    background: rgba(255,255,255,.2);
    transform: translateY(-50%);
}

.church-tail-info .leaders-copy,
.church-tail-info p.leaders-copy {
    margin: 0;
    color: #748096;
    font-size: 11px;
    line-height: 1.7;
}

.church-tail-powered {
    margin-left: 8px;
}

.church-tail-info .power {
    color: #adb85e;
    text-decoration: none;
}

.church-tail-info .power:hover {
    color: #c4ce73;
}

.church-tail-links {
    display: flex;
    align-items: flex-end;
    gap: 42px;
}

.church-tail-policy {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 9px 22px;
}

.church-tail-policy a {
    color: #aab3c1;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    text-decoration: none;
    transition: color .2s ease;
}

.church-tail-policy a:hover {
    color: #fff;
}

.church-tail-sns {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.church-tail-sns a {
    width: 37px;
    height: 37px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    color: #b5bdc9;
    font-size: 14px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.church-tail-sns a span {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.church-tail-sns a:hover {
    color: #fff;
    border-color: rgba(255,255,255,.42);
    background: rgba(255,255,255,.07);
}

/* ---------- TABLET ---------- */

@media (max-width: 1200px) {
    .church-tail-top-inner {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 42px;
    }

    .church-tail-sitemap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 38px 30px;
    }

    .church-tail-contact-item {
        padding: 25px 24px;
    }

    .church-tail-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }

    .church-tail-links {
        width: 100%;
        justify-content: space-between;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
    .church-tail-wrap {
        margin-top: 70px;
    }

    .church-tail-container {
        width: calc(100% - 36px);
    }

    .church-tail-top {
        padding: 46px 0 94px;
    }

    .church-tail-top-inner {
        display: block;
    }

    .church-tail-intro {
        margin-bottom: 34px;
        padding-bottom: 27px;
        border-bottom: 1px solid #e1e3e6;
    }

    .church-tail-church-name {
        margin-bottom: 10px;
        font-size: 23px;
    }

    .church-tail-intro p {
        font-size: 12px;
        line-height: 1.75;
    }

    /* 모바일 메뉴는 아코디언 */
    .church-tail-sitemap {
        display: block;
        padding: 0;
        border-top: 1px solid #e1e3e6;
    }

    .church-tail-col {
        border-bottom: 1px solid #e1e3e6;
    }

    .church-tail-title,
    .church-tail-col h3 {
        margin: 0;
        padding: 0;
    }

    .church-tail-title::after,
    .church-tail-col h3::after {
        display: none;
    }

    .church-tail-title-link {
        display: none;
    }

    .church-tail-acc-btn {
        width: 100%;
        min-height: 57px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 0 3px;
        border: 0;
        background: transparent;
        color: #17233a;
        font-family: inherit;
        font-size: 15px;
        line-height: 1.4;
        font-weight: 700;
        letter-spacing: -0.04em;
        text-align: left;
        cursor: pointer;
    }

    .church-tail-acc-btn i {
        flex: 0 0 auto;
        width: 27px;
        height: 27px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #eceff3;
        color: #6e7d92;
        font-size: 10px;
        transition: transform .25s ease, background .25s ease;
    }

    .church-tail-acc-btn[aria-expanded="true"] i {
        transform: rotate(180deg);
        background: #e2e7ed;
    }

    .church-tail-col ul.church-tail-menu-list {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        margin: 0;
        padding: 0 7px;
        transition: max-height .3s ease, opacity .2s ease, padding .25s ease;
    }

    .church-tail-col ul.church-tail-menu-list.is-open {
        max-height: 700px;
        opacity: 1;
        padding: 0 7px 16px;
    }

    .church-tail-menu-list li,
    .church-tail-col li {
        margin: 0;
    }

    .church-tail-menu-list li + li,
    .church-tail-col li + li {
        margin-top: 5px;
    }

    .church-tail-menu-list a,
    .church-tail-col li a {
        display: block;
        padding: 8px 11px;
        border-radius: 7px;
        background: #f0f2f4;
        color: #6c737d;
        font-size: 13px;
        line-height: 1.45;
    }

    .church-tail-menu-list a:hover,
    .church-tail-col li a:hover {
        padding-left: 15px;
        color: #17233a;
        background: #e9edf1;
        transform: none;
    }

    /* 카드 */
    .church-tail-contact-wrap {
        height: auto;
        padding: 0 18px;
        background: #17233a;
    }

    .church-tail-contact-wrap .church-tail-container {
        width: 100%;
    }

    .church-tail-contact {
        top: -48px;
        display: block;
        width: 100%;
        border-radius: 14px;
    }

    .church-tail-contact-item {
        min-height: 0;
        padding: 22px 21px;
        gap: 16px;
    }

    .church-tail-contact-item + .church-tail-contact-item::before {
        left: 21px;
        right: 21px;
        top: 0;
        bottom: auto;
        width: auto;
        height: 1px;
    }

    .church-tail-contact-item .icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .church-tail-contact-item h4 {
        margin-bottom: 5px;
        font-size: 14px;
    }

    .church-tail-contact-item p {
        font-size: 11px;
        line-height: 1.6;
    }

    /* 하단 */
    .church-tail-bottom {
        margin-top: -48px;
        padding: 94px 0 32px;
    }

    .church-tail-bottom-inner {
        min-height: 0;
        display: block;
    }

    .tail_logo {
        margin-bottom: 11px;
        font-size: 19px;
    }

    .church-tail-address {
        display: block;
        font-size: 11px;
        line-height: 1.85;
    }

    .church-tail-address span {
        display: block;
    }

    .church-tail-address span + span {
        padding-left: 0;
    }

    .church-tail-address span + span::before {
        display: none;
    }

    .church-tail-powered {
        display: block;
        margin: 3px 0 0;
    }

    .church-tail-links {
        width: 100%;
        margin-top: 25px;
        display: block;
    }

    .church-tail-policy {
        gap: 7px 16px;
    }

    .church-tail-policy a {
        font-size: 11px;
    }

    .church-tail-sns {
        margin-top: 18px;
    }

    .church-tail-sns a {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .church-tail-container {
        width: calc(100% - 30px);
    }

    .church-tail-contact-wrap {
        padding: 0 15px;
    }
}

/* =========================================================
   Simple header login buttons
   PC에서 로그인/회원가입 버튼을 심플하게 다시 표시
========================================================= */
@media (min-width: 1025px) {
    .leaders-header .hd_login_quick {
        display: block !important;
        flex: 0 0 auto !important;
        margin-left: clamp(18px, 2vw, 32px) !important;
        position: relative !important;
        z-index: 100020 !important;
    }

    .leaders-header .hd_login_quick_box,
    .leaders-header.is-scroll .hd_login_quick_box {
        display: inline-flex !important;
        align-items: center !important;
        gap: 7px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .leaders-header .hd_login_quick_box a,
    .leaders-header.is-scroll .hd_login_quick_box a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        height: 38px !important;
        padding: 0 13px !important;
        border: 1px solid #d8d8d8 !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: #222 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        box-sizing: border-box !important;
        transition: background .18s ease, color .18s ease, border-color .18s ease;
    }

    .leaders-header .hd_login_quick_box a + a::before,
    .leaders-header.is-scroll .hd_login_quick_box a + a::before {
        display: none !important;
    }

    .leaders-header .hd_login_quick_box a i,
    .leaders-header.is-scroll .hd_login_quick_box a i {
        color: inherit !important;
        font-size: 12px !important;
    }

    .leaders-header .hd_login_quick_box a:last-child,
    .leaders-header.is-scroll .hd_login_quick_box a:last-child {
        background: #111 !important;
        border-color: #111 !important;
        color: #fff !important;
    }

    .leaders-header .hd_login_quick_box a:hover,
    .leaders-header.is-scroll .hd_login_quick_box a:hover {
        background: #f5f5f5 !important;
        border-color: #bdbdbd !important;
        color: #111 !important;
    }

    .leaders-header .hd_login_quick_box a:last-child:hover,
    .leaders-header.is-scroll .hd_login_quick_box a:last-child:hover {
        background: #333 !important;
        border-color: #333 !important;
        color: #fff !important;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .leaders-header .hd_login_quick {
        margin-left: 14px !important;
    }

    .leaders-header .hd_login_quick_box {
        gap: 5px !important;
    }

    .leaders-header .hd_login_quick_box a {
        height: 36px !important;
        padding: 0 10px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 1024px) {
    .leaders-header .hd_login_quick {
        display: none !important;
    }
}


/* =========================================================
   예배시간 + 양육/훈련 전체
========================================================= */

.church-guide {
    width: 100%;
    position: relative;
    overflow: hidden;
	background:#e5f0e9 url("../img/worship_visual.png") left center no-repeat

}

.guide-wrap {
    width: calc(100% - 60px);
    max-width: 1450px;
    min-height: 550px;
    margin: 0 auto;
    padding: 72px 0 60px;

    display: grid;
    grid-template-columns: 670px 1fr;
    gap: 145px;

    box-sizing: border-box;
}


/* =========================================================
   제목
========================================================= */

.guide-title {
    margin: 0 0 60px;
    padding: 0;

    font-size: 35px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1.8px;
    color: #080808;
}


/* =========================================================
   예배시간 영역
========================================================= */

.worship-area {
    position: relative;
    min-width: 0;
}


/* 중요:
   기존 padding-left:165px 제거
*/
.worship-content {
    position: relative;
    z-index: 2;
    padding-left: 0;
}


/* 왼쪽 십자가 이미지 */

.worship-visual {
    position: absolute;

    /* 예배시간표 왼쪽으로 이동 */
    left: -280px;

    /* 바닥에 붙임 */
    bottom: -60px;

    /* 기존보다 크게 */
    width: 310px;

    z-index: 1;
    pointer-events: none;
}

.worship-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
}


/* =========================================================
   예배시간표
========================================================= */

.worship-table-wrap {
    width: 100%;
    display: grid;

    grid-template-columns: 310px 310px;

    gap: 50px;
}


.worship-table {
    width: 100%;
}


.worship-row {
    width: 100%;
    height: 50px;

    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;

    font-size: 18px;
    line-height: 1.3;
    color: #111;
}


.worship-row.point {
    background: rgba(180, 203, 194, 0.55);
}


.worship-row strong {
    font-weight: 600;
    white-space: nowrap;
}


.worship-row span {
    margin-left: 10px;

    font-size: 18px;
    font-weight: 300;

    white-space: nowrap;
    color: #333b38;
}


/* =========================================================
   양육 / 훈련
========================================================= */

.training-area {
    width: 100%;
    min-width: 0;
}


.training-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, 300px);

    gap: 25px 30px;
}


.training-box {
    width: 300px;
    height: 115px;

    padding: 20px 30px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 22px;

    background: #fff;

    border: 1px solid #d7dde2;
    border-radius: 20px;

    box-sizing: border-box;

    text-decoration: none;
    color: #050505;

    transition: all .25s ease;
}


.training-box i {
    flex: 0 0 48px;

    width: 48px;

    text-align: center;

    font-size: 43px;

    color: #b2987b;
}


.training-box strong {
    font-size: 29px;
    line-height: 1.2;

    font-weight: 700;
    letter-spacing: -1.5px;

    white-space: nowrap;
}


.training-box:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(30, 60, 45, .1);
}


/* =========================================================
   1500px 이하
========================================================= */

@media (max-width: 1500px) {

    .guide-wrap {
        width: calc(100% - 50px);

        grid-template-columns:
            minmax(580px, 670px)
            minmax(520px, 630px);

        gap: 70px;
    }

    .worship-visual {
        left: -220px;
        width: 280px;
    }

    .worship-table-wrap {
        grid-template-columns:
            minmax(270px, 1fr)
            minmax(270px, 1fr);

        gap: 35px;
    }

    .training-grid {
        grid-template-columns: repeat(2, minmax(230px, 1fr));
    }

    .training-box {
        width: 100%;
    }

}


/* =========================================================
   1250px 이하
========================================================= */

@media (max-width: 1250px) {

    .guide-wrap {
        max-width: 1100px;

        grid-template-columns: 1fr 1fr;

        gap: 50px;
    }

    .guide-title {
        font-size: 31px;
    }

    .worship-visual {
        left: -110px;
        width: 200px;

        opacity: .75;
    }

    .worship-table-wrap {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .worship-row {
        font-size: 17px;
    }

    .training-grid {
        grid-template-columns: 1fr 1fr;

        gap: 18px;
    }

    .training-box {
        height: 100px;

        padding-left: 22px;
        padding-right: 22px;
    }

    .training-box i {
        font-size: 36px;
    }

    .training-box strong {
        font-size: 23px;
    }

}


/* =========================================================
   태블릿
========================================================= */

@media (max-width: 950px) {

    .guide-wrap {
        width: calc(100% - 50px);
        max-width: 750px;

        min-height: auto;

        display: block;

        padding: 55px 0 65px;
    }


    .guide-title {
        margin-bottom: 35px;

        font-size: 30px;
    }


    /* 예배시간 */

    .worship-area {
        padding-bottom: 50px;
    }

    .worship-table-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }


    .worship-visual {
        position: absolute;

        left: -130px;
        bottom: 0;

        width: 220px;

        opacity: .35;
    }


    /* 양육 */

    .training-area {
        padding-top: 45px;

        border-top: 1px solid rgba(70, 95, 83, .18);
    }


    .training-grid {
        grid-template-columns: 1fr 1fr;

        gap: 18px;
    }


    .training-box {
        height: 105px;
    }

}


/* =========================================================
   모바일
========================================================= */

@media (max-width: 650px) {

    .guide-wrap {
        width: 100%;

        padding: 42px 20px 50px;
    }


    .guide-title {
        margin-bottom: 28px;

        font-size: 27px;
        letter-spacing: -1.2px;
    }


    /* 모바일에서는 십자가 이미지를 위쪽에 표시 */

    .worship-visual {
        position: relative;

        left: auto;
        bottom: auto;

        width: 200px;

        margin: 0 auto 25px;

        opacity: 1;
    }


    .worship-table-wrap {
        display: block;
    }


    .worship-table {
        width: 100%;
    }


    .worship-row {
        height: 48px;

        padding: 0 13px;

        font-size: 15px;
    }


    .worship-row span {
        font-size: 15px;
    }


    .worship-area {
        padding-bottom: 30px;
    }


    .training-area {
        padding-top: 35px;
    }


    .training-grid {
        grid-template-columns: 1fr 1fr;

        gap: 12px;
    }


    .training-box {
        height: 88px;

        padding: 14px 15px;

        gap: 10px;

        border-radius: 15px;
    }


    .training-box i {
        flex: 0 0 32px;

        width: 32px;

        font-size: 30px;
    }


    .training-box strong {
        font-size: 19px;

        letter-spacing: -1px;
    }

}


/* =========================================================
   작은 모바일
========================================================= */

@media (max-width: 430px) {

    .training-grid {
        grid-template-columns: 1fr;
    }

    .training-box {
        height: 75px;
    }

    .training-box strong {
        font-size: 20px;
    }

}

/* =========================================
   관련기관 롤링 배너
========================================= */

.partner-banner {
    width: 100%;
    padding: 70px 0;
    overflow: hidden;
    background: #fff;
}

.partner-banner-inner {
    width: 100%;
    margin: 0 auto;
}


/* 제목 */
.partner-title {
    text-align: center;
    margin-bottom: 35px;
}

.partner-title span {
    display: block;
    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #7d8858;
}

.partner-title h2 {
    margin: 0;

    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;

    color: #222;
}


/* =========================================
   롤링 영역
========================================= */

.banner-rolling-area {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* 양쪽 끝 자연스러운 페이드 */
.banner-rolling-area::before,
.banner-rolling-area::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;

    width: 80px;
    z-index: 5;

    pointer-events: none;
}

.banner-rolling-area::before {
    left: 0;

    background: linear-gradient(
        to right,
        #fff 0%,
        rgba(255,255,255,0) 100%
    );
}

.banner-rolling-area::after {
    right: 0;

    background: linear-gradient(
        to left,
        #fff 0%,
        rgba(255,255,255,0) 100%
    );
}


/* 한 줄 */
.banner-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-marquee + .banner-marquee {
    margin-top: 18px;
}


/* 움직이는 전체 트랙 */
.banner-track {
    display: flex;
    width: max-content;

    will-change: transform;
}


/* 실제 배너 그룹 */
.banner-group {
    display: flex;
    align-items: center;

    gap: 18px;

    /* 그룹과 복제 그룹 사이 간격 */
    padding-right: 18px;
}


/* =========================================
   배너
   정확히 260px × 85px
========================================= */

.banner-group a {
    display: block;

    flex: 0 0 260px;

    width: 260px;
    height: 85px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e7e7e7;

    box-sizing: border-box;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.banner-group img {
    display: block;

    width: 260px;
    height: 85px;

    object-fit: contain;

    background: #fff;

    transition:
        opacity .3s ease,
        transform .3s ease;
}


/* 마우스 오버 */
.banner-group a:hover {
    transform: translateY(-2px);

    border-color: #ccc;

    box-shadow:
        0 7px 20px rgba(0,0,0,.08);
}

.banner-group a:hover img {
    transform: scale(1.015);
}


/* =========================================
   움직임
========================================= */


/* 위쪽 : 오른쪽 → 왼쪽 */
.banner-left .banner-track {
    animation:
        bannerMoveLeft 32s linear infinite;
}


/* 아래쪽 : 왼쪽 → 오른쪽 */
.banner-right .banner-track {
    animation:
        bannerMoveRight 35s linear infinite;
}


/* 마우스 올리면 일시정지 */
.banner-marquee:hover .banner-track {
    animation-play-state: paused;
}


@keyframes bannerMoveLeft {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


@keyframes bannerMoveRight {

    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }

}


/* =========================================
   태블릿
========================================= */

@media (max-width: 1024px) {

    .partner-banner {
        padding: 55px 0;
    }

    .partner-title {
        margin-bottom: 28px;
    }

    .partner-title h2 {
        font-size: 27px;
    }

    .banner-group {
        gap: 14px;
        padding-right: 14px;
    }

    .banner-marquee + .banner-marquee {
        margin-top: 14px;
    }

}


/* =========================================
   모바일
========================================= */

@media (max-width: 767px) {

    .partner-banner {
        padding: 45px 0;
    }

    .partner-title {
        margin-bottom: 25px;
    }

    .partner-title span {
        font-size: 11px;
    }

    .partner-title h2 {
        font-size: 23px;
    }


    /* 모바일에서도 260 × 85 유지 */
    .banner-group a {
        flex: 0 0 260px;

        width: 260px;
        height: 85px;
    }

    .banner-group img {
        width: 260px;
        height: 85px;
    }


    .banner-group {
        gap: 10px;
        padding-right: 10px;
    }

    .banner-marquee + .banner-marquee {
        margin-top: 10px;
    }


    /* 모바일 양쪽 그라데이션을 조금 작게 */
    .banner-rolling-area::before,
    .banner-rolling-area::after {
        width: 30px;
    }


    /* 모바일은 살짝 느리게 */
    .banner-left .banner-track {
        animation-duration: 28s;
    }

    .banner-right .banner-track {
        animation-duration: 31s;
    }

}


/* 모션 최소화 설정 사용자 */
@media (prefers-reduced-motion: reduce) {

    .banner-track {
        animation: none !important;
    }

}


/* =========================================================
   MATTIAN 서브메뉴 v2 - 기존 subnav 모듈 우회 직접 출력용
   head.php에서 .mattian-local-nav 로 직접 출력하므로 기존 서브메뉴 스킨과 충돌하지 않습니다.
========================================================= */
.mattian-local-nav-wrap {
    width: 100%;
    background: #fff;
}

.mattian-local-nav {
    width: min(100% - 40px, 1000px);
    min-height: 66px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 34px;
    border-bottom: 1px solid #dedede;
    background: #fff;
    box-sizing: border-box;
}

.mattian-local-nav__home {
    flex: 0 0 34px;
    width: 34px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9b6a3d;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
}

.mattian-local-nav__scroller {
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    display: flex;
    justify-content: flex-end;
}

.mattian-local-nav__scroller::-webkit-scrollbar {
    display: none;
}

.mattian-local-nav__list {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    margin: 0 0 0 auto;
    padding: 0;
    white-space: nowrap;
    list-style: none;
}

.mattian-local-nav__item {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mattian-local-nav__item > a {
    position: relative;
    height: 66px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Noto Sans KR', 'GmarketSans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: color .2s ease;
}

.mattian-local-nav__item > a:hover {
    color: #8a5c2e;
}

.mattian-local-nav__item.is-active > a {
    color: #8a5c2e;
    font-weight: 800;
}

.mattian-local-nav__item.is-active > a::after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 2px;
    background: #8a5c2e;
    z-index: 3;
}

@media (max-width: 1024px) {
    .mattian-local-nav {
        width: 100%;
        padding: 0 20px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mattian-local-nav {
        min-height: 56px;
        padding: 0 15px;
        gap: 12px;
    }

    .mattian-local-nav__scroller {
        justify-content: flex-start;
    }

    .mattian-local-nav__list {
        justify-content: flex-start;
        margin-left: 0;
    }

    .mattian-local-nav__home {
        flex-basis: 28px;
        width: 28px;
        height: 56px;
        font-size: 16px;
    }

    .mattian-local-nav__list {
        min-height: 56px;
    }

    .mattian-local-nav__item > a {
        height: 56px;
        padding: 0 12px;
        font-size: 14px;
    }

    .mattian-local-nav__item.is-active > a::after {
        left: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .mattian-local-nav__item > a {
        padding: 0 10px;
        font-size: 13px;
    }
}