@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&display=swap');

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: "GmarketSans";
    font-weight: 300;
    src: url(../GmarketSansLight.woff2) format(woff);
}

@font-face {
    font-family: "GmarketSans";
    font-weight: 500;
    src: url(../GmarketSansMedium.woff2) format(woff);
}

@font-face {
    font-family: "GmarketSans";
    font-weight: 800;
    src: url(../GmarketSansBold.woff2) format(woff);
}

: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: 'Pretendard-Regular', sans-serif;
    color: var(--text);
    line-height: 1.7;
    word-break: keep-all;
    background: #fff;
}

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-1776846373 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 99999;
}

.custom-shape-divider-top-1776846373 svg {
    position: relative;
    display: block;
    width: calc(195% + 1.3px);
    height: 104px;
    transform: rotateY(180deg);
}

.custom-shape-divider-top-1776846373 .shape-fill {
    fill: #FFFFFF;
}

/** For mobile devices **/
@media (max-width: 767px) {
    .custom-shape-divider-top-1776846373 svg {
        width: calc(258% + 1.3px);
        height: 61px;
    }
}

/* =========================
   HEADER
========================= */
.leaders-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100000;
    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: 120px;
    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: 1;
    z-index: 2;
}

.leaders-logo .logo-white {
    opacity: 0;
    z-index: 1;
}

.leaders-header.is-scroll .leaders-logo .logo-black {
    opacity: 0;
}

.leaders-header.is-scroll .leaders-logo .logo-white {
    opacity: 1;
}

/* =========================
   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: #fff;
    font-size: .95rem;
    font-weight: 700;
    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:120px;
    line-height:1;
    padding:0;
    font-size:1.15rem;
    font-weight:800;
    color:#000;
    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{
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    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:absolute;
    left:50%;
    top:0;
    transform:translateX(-50%);
    width:100vw;
    height:100%;
    background:#efefef;
    border-top:1px solid #e5e7eb;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 18px 34px rgba(15,23,42,.08);
}

.leaders-mega-grid{
    position:relative;
    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:220px;
    z-index:2;
}

.leaders-mega-col{
    width:var(--ld-col-width);
    display:flex;
    justify-content:center;   /* 서브메뉴 묶음을 칸 가운데로 */
    align-items:flex-start;
	margin-left: 45px;
}

.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;
}

/* =========================
   HEADER ACTIONS
========================= */
.leaders-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.leaders-request-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 176px;
    height: 60px;
    background: #101a33;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: -0.3px;
    white-space: nowrap;
    transition: all .25s ease;
}

.leaders-request-btn:hover {
    background: #1a274a;
    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: #111;
}

/* =========================
   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-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: 'Paperozi';
    font-weight: 500;
	margin-top: 55px;
}

.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;
}

.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: 'Noto Sans KR', '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: 100px;
    }

    #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: 78px;
    }

    .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: 150px;
    }

    .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;
    }
}

/* =========================================================
   MATTIAN 타입 서브비주얼 / 서브네비 보정
   - head.php의 leaders-sub-visual__bg 레이어를 천천히 확대/이동시켜
     상단 서브이미지가 은은하게 움직이는 효과를 만듭니다.
========================================================= */
.leaders-sub-hero--mattian {
    position: relative;
    background: #fff;
}

.leaders-sub-visual--mattian {
    position: relative;
    height: 420px;
    margin-top: 0;
    overflow: hidden;
    background: #eee6d8;
}

.leaders-sub-visual--mattian .leaders-sub-visual__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transform: scale(1.08) translate3d(-14px, -8px, 0);
    transform-origin: center center;
    animation: leadersSubVisualSlowMove 22s ease-in-out infinite alternate;
    will-change: transform;
}

.leaders-sub-visual--mattian .leaders-sub-visual__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(255,255,255,.34), rgba(255,255,255,.12) 45%, rgba(255,255,255,.30)),
        rgba(238, 230, 216, .18);
    pointer-events: none;
}

.leaders-sub-visual--mattian .leaders-sub-visual__inner {
    position: relative;
    z-index: 3;
    width: min(100% - 40px, 1200px);
    height: 100%;
    margin: 0 auto;
    padding-top: 78px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.leaders-sub-visual__eyebrow {
    margin: 0 0 16px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 500;
    color: #8a5c2e;
    letter-spacing: .02em;
}

.leaders-sub-visual--mattian .leaders-sub-visual__inner h2 {
    margin: 0;
    font-family: 'Noto Sans KR', 'GmarketSans', sans-serif;
    font-size: clamp(34px, 3.6vw, 50px);
    line-height: 1.22;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.06em;
}

@keyframes leadersSubVisualSlowMove {
    0% {
        transform: scale(1.08) translate3d(-18px, -8px, 0);
    }
    50% {
        transform: scale(1.13) translate3d(18px, 10px, 0);
    }
    100% {
        transform: scale(1.10) translate3d(-8px, 18px, 0);
    }
}

/* 접근성: 사용자가 OS에서 움직임 줄이기를 켠 경우 애니메이션 중지 */
@media (prefers-reduced-motion: reduce) {
    .leaders-sub-visual--mattian .leaders-sub-visual__bg {
        animation: none;
        transform: scale(1.06);
    }
}

/* 서브페이지 하단 제목 중복 제거: 제목은 서브비주얼 안에서 출력 */
.subbbs_title {
    display: block;
}

/* MATTIAN 스타일 서브네비 */
.leaders-subnav-align--mattian {
    position: relative;
    width: min(100% - 40px, 1000px);
    max-width: 1000px;
    min-height: 66px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 34px;
    border-bottom: 1px solid #dedede;
    background: #fff;
    overflow: visible !important;
}

.leaders-subnav-home {
    flex: 0 0 34px;
    width: 34px;
    min-height: 66px !important;
    height: 66px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9b6a3d !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.leaders-subnav-align--mattian > :not(.leaders-subnav-home) {
    flex: 1 1 auto;
    min-width: 0;
}

.leaders-subnav-align--mattian ul,
.leaders-subnav-align--mattian ol {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    min-height: 66px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    scrollbar-width: none;
}

.leaders-subnav-align--mattian ul::-webkit-scrollbar,
.leaders-subnav-align--mattian ol::-webkit-scrollbar {
    display: none;
}

.leaders-subnav-align--mattian li {
    flex: 0 0 auto;
}

.leaders-subnav-align--mattian a:not(.leaders-subnav-home),
.leaders-subnav-align--mattian button,
.leaders-subnav-align--mattian .current,
.leaders-subnav-align--mattian .dropdown-toggle,
.leaders-subnav-align--mattian .leaders-subnav-current,
.leaders-subnav-align--mattian .subnav-current {
    position: relative !important;
    min-height: 66px !important;
    height: 66px !important;
    padding: 0 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #999 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.leaders-subnav-align--mattian a:not(.leaders-subnav-home):hover,
.leaders-subnav-align--mattian button:hover {
    color: #8a5c2e !important;
}

.leaders-subnav-align--mattian li.active > a,
.leaders-subnav-align--mattian li.on > a,
.leaders-subnav-align--mattian a.active,
.leaders-subnav-align--mattian a.on,
.leaders-subnav-align--mattian a[aria-current='page'],
.leaders-subnav-align--mattian .active > a,
.leaders-subnav-align--mattian .on > a,
.leaders-subnav-align--mattian .current,
.leaders-subnav-align--mattian .leaders-subnav-current,
.leaders-subnav-align--mattian .subnav-current {
    color: #8a5c2e !important;
    font-weight: 800 !important;
}

.leaders-subnav-align--mattian li.active > a::after,
.leaders-subnav-align--mattian li.on > a::after,
.leaders-subnav-align--mattian a.active::after,
.leaders-subnav-align--mattian a.on::after,
.leaders-subnav-align--mattian a[aria-current='page']::after,
.leaders-subnav-align--mattian .active > a::after,
.leaders-subnav-align--mattian .on > a::after {
    content: '';
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: -1px;
    height: 1px;
    background: #8a5c2e;
}

@media (max-width: 1024px) {
    .leaders-sub-visual--mattian {
        height: 340px;
        margin-top: 78px;
    }

    .leaders-sub-visual--mattian .leaders-sub-visual__inner {
        padding-top: 0;
    }

    .leaders-subnav-align--mattian {
        width: 100%;
        max-width: none;
        padding: 0 20px;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .leaders-sub-visual--mattian {
        height: 280px;
    }

    .leaders-sub-visual__eyebrow {
        margin-bottom: 12px;
        font-size: 16px;
    }

    .leaders-sub-visual--mattian .leaders-sub-visual__inner h2 {
        font-size: 32px;
    }

    .leaders-subnav-align--mattian {
        min-height: 56px;
        padding: 0 15px;
        gap: 12px;
    }

    .leaders-subnav-home {
        flex-basis: 28px;
        width: 28px;
        min-height: 56px !important;
        height: 56px !important;
        font-size: 16px !important;
    }

    .leaders-subnav-align--mattian ul,
    .leaders-subnav-align--mattian ol {
        min-height: 56px !important;
    }

    .leaders-subnav-align--mattian a:not(.leaders-subnav-home),
    .leaders-subnav-align--mattian button,
    .leaders-subnav-align--mattian .current,
    .leaders-subnav-align--mattian .dropdown-toggle,
    .leaders-subnav-align--mattian .leaders-subnav-current,
    .leaders-subnav-align--mattian .subnav-current {
        min-height: 56px !important;
        height: 56px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
    }

    .leaders-subnav-align--mattian li.active > a::after,
    .leaders-subnav-align--mattian li.on > a::after,
    .leaders-subnav-align--mattian a.active::after,
    .leaders-subnav-align--mattian a.on::after,
    .leaders-subnav-align--mattian a[aria-current='page']::after,
    .leaders-subnav-align--mattian .active > a::after,
    .leaders-subnav-align--mattian .on > a::after {
        left: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .leaders-sub-visual--mattian {
        height: 235px;
    }

    .leaders-sub-visual__eyebrow {
        font-size: 14px;
    }

    .leaders-sub-visual--mattian .leaders-sub-visual__inner h2 {
        font-size: 27px;
    }

    .leaders-subnav-align--mattian a:not(.leaders-subnav-home),
    .leaders-subnav-align--mattian button,
    .leaders-subnav-align--mattian .current,
    .leaders-subnav-align--mattian .dropdown-toggle,
    .leaders-subnav-align--mattian .leaders-subnav-current,
    .leaders-subnav-align--mattian .subnav-current {
        padding: 0 10px !important;
        font-size: 13px !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;
    }
}
/* =========================
   PC 메가메뉴 배경 100% 보정
   - 대분류 마우스오버 시 배경이 화면 전체 폭으로 나오게 처리
========================= */

@media (min-width: 1025px) {

    .leaders-mega-panel {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        top: 120px !important;
        width: 100vw !important;
        z-index: 99990 !important;
    }

    .leaders-mega-panel__bg {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        width: 100vw !important;
        height: 100% !important;
        transform: none !important;
        background: #efefef !important;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 18px 34px rgba(15, 23, 42, .08);
    }

    .leaders-mega-grid {
        width: min(100% - 40px, 1400px) !important;
        margin: 0 auto !important;
        position: relative !important;
        z-index: 2 !important;
    }

}
/* ==============================
   SIR 스타일 메인 슬라이드
============================== */

.sir-main-visual {
    position: relative;
    width: 100%;
    padding: 142px 0 70px;
    overflow: hidden;
    background: #fff;
}

.sir-main-swiper {
    width: 100%;
    overflow: visible !important;
    padding-left: max(24px, calc((100vw - 1540px) / 2));
    padding-right: 24px;
    box-sizing: border-box;
}

/* 중요: 기존 swiper-slide width:100% 잡히는 문제 방지 */
.sir-main-swiper .swiper-slide {
    width: clamp(620px, 46vw, 790px) !important;
    height: 650px !important;
    flex-shrink: 0;
}

.sir-main-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: #111;
}

.sir-main-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(47,79,113,90%) 0%,
        rgba(0,0,0,0.62) 46%,
        rgba(0,0,0,0.12) 100%
    );
}

.sir-bg-purple {
    background: radial-gradient(circle at 80% 50%, #6423d9 0%, #2c0d3d 42%, #111 100%);
}

.sir-bg-red {
    background: radial-gradient(circle at 80% 50%, #651515 0%, #240909 50%, #111 100%);
}

.sir-bg-blue {
    background: radial-gradient(circle at 80% 50%, #174d77 0%, #082238 50%, #111 100%);
}

.sir-bg-red-only {
    background: linear-gradient(135deg, #c51d35 0%, #8e1025 100%);
}

.sir-bg-red-only::before {
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.42) 0%,
        rgba(0,0,0,0.05) 100%
    );
}

.sir-main-txt {
    position: relative;
    z-index: 5;
    padding: 105px 0 0 52px;
    box-sizing: border-box;
}

.sir-main-txt h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -1.8px;
    color: #fff;
}

.sir-main-txt p {
    margin: 16px 0 0;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 600;
    letter-spacing: -0.7px;
    color: rgba(255,255,255,0.92);
}

.sir-main-txt span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 52px;
    margin-top: 28px;
    padding: 0 28px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.sir-main-img {
    position: absolute;
    z-index: 3;
    right: -12px;
    bottom: 18px;
    width: 420px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.88;
}

.sir-main-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sir-main-logo {
    position: absolute;
    z-index: 6;
    right: 285px;
    bottom: 44px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b00ff 0%, #5b20ff 100%);
    color: #fff;
    font-size: 68px;
    font-weight: 900;
    letter-spacing: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 컨트롤 */
.sir-main-control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.sir-main-page {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 30px;
    padding: 0 16px;
    border-radius: 999px;
    background: #f4f4f5;
    color: #aaa;
    font-size: 15px;
    font-weight: 800;
}

.sir-main-page strong {
    color: #111;
}

.sir-main-page em {
    position: relative;
    display: block;
    width: 82px;
    height: 2px;
    background: #ccc;
    overflow: hidden;
}

.sir-main-page em i {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #111;
    transition: width 0.35s ease;
}

.sir-main-pause {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #f4f4f5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.sir-main-pause b {
    display: block;
    width: 3px;
    height: 11px;
    background: #111;
    border-radius: 2px;
}

.sir-main-pause.is-play b:first-child {
    width: 0;
    height: 0;
    border-left: 9px solid #111;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    background: transparent;
    border-radius: 0;
}

.sir-main-pause.is-play b:last-child {
    display: none;
}

/* ==============================
   반응형
============================== */

@media (max-width: 1400px) {
    .sir-main-swiper .swiper-slide {
        width: 700px !important;
        height: 370px !important;
    }

    .sir-main-txt {
        padding-top: 88px;
    }

    .sir-main-txt h2 {
        font-size: 34px;
    }

    .sir-main-img {
        width: 380px;
        height: 250px;
    }

    .sir-main-logo {
        right: 250px;
        width: 135px;
        height: 135px;
        font-size: 60px;
    }
}

@media (max-width: 1024px) {
    .sir-main-visual {
        padding: 34px 0 58px;
    }

    .sir-main-swiper {
        padding-left: 24px;
    }

    .sir-main-swiper .swiper-slide {
        width: 72vw !important;
        height: 350px !important;
    }

    .sir-main-txt {
        padding: 70px 38px 0;
    }

    .sir-main-txt h2 {
        font-size: 30px;
    }

    .sir-main-txt p {
        font-size: 16px;
    }

    .sir-main-img {
        right: -70px;
        width: 360px;
        height: 240px;
        opacity: 0.5;
    }

    .sir-main-logo {
        right: 38px;
        bottom: 34px;
        width: 112px;
        height: 112px;
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .sir-main-visual {
        padding: 100px 0 48px;
    }

    .sir-main-swiper {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sir-main-swiper .swiper-slide {
        width: 86vw !important;
        height: 320px !important;
    }

    .sir-main-card {
        border-radius: 22px;
    }

    .sir-main-txt {
        padding: 48px 26px 0;
    }

    .sir-main-txt h2 {
        font-size: 26px;
        line-height: 1.3;
        letter-spacing: -1.2px;
    }

    .sir-main-txt p {
        margin-top: 12px;
        font-size: 15px;
    }

    .sir-main-txt span {
        min-width: 116px;
        height: 44px;
        margin-top: 24px;
        padding: 0 20px;
        font-size: 14px;
    }

    .sir-main-img {
        right: -100px;
        bottom: 0;
        width: 330px;
        height: 220px;
        opacity: 0.36;
    }

    .sir-main-logo {
        right: 24px;
        bottom: 28px;
        width: 92px;
        height: 92px;
        font-size: 42px;
    }

    .sir-main-page em {
        width: 64px;
    }
}

@media (max-width: 480px) {
    .sir-main-swiper .swiper-slide {
        width: 88vw !important;
        height: 300px !important;
    }

    .sir-main-txt {
        padding: 40px 23px 0;
    }

    .sir-main-txt h2 {
        font-size: 23px;
    }

    .sir-main-txt p {
        font-size: 14px;
    }

    .sir-main-control {
        margin-top: 22px;
        gap: 14px;
    }
}


/* ================================
   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: 'Pretendard', 'Noto Sans KR', sans-serif;
}

/* 설교 영역 */
.church-main-sermon {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
}

.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('/theme/ch_pc/image/index/sermon_bg.png');
    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;
    }
}
/* =========================================================
   메인 슬라이드 이미지 오른쪽 영역 꽉 채우기
   - PC: 텍스트는 왼쪽, 첨부 이미지는 오른쪽 전체 높이로 배치
   - 태블릿/모바일: 가독성을 위해 이미지 투명도를 낮추고 배경처럼 사용
========================================================= */
@media (min-width: 1025px) {
    .sir-main-swiper .swiper-slide {
        width: clamp(760px, 48vw, 900px) !important;
        height: 500px !important;
    }

    .sir-main-txt {
        width: 48%;
        min-width: 0;
        padding: 92px 26px 0 52px;
    }

    .sir-main-img {
        top: 0;
        right: 0;
        bottom: auto;
        width: 62%;
        height: 100%;
        border-radius: 0;
        opacity: 1;
    }

    .sir-main-img::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(0, 0, 0, .30) 0%,
            rgba(0, 0, 0, .08) 20%,
            rgba(0, 0, 0, 0) 46%
        );
    }

    .sir-main-img img {
        position: relative;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .sir-main-swiper .swiper-slide {
        width: 760px !important;
        height: 420px !important;
    }

    .sir-main-txt {
        width: 49%;
        padding: 78px 22px 0 46px;
    }

    .sir-main-img {
        width: 51%;
    }
}

@media (max-width: 1024px) {
    .sir-main-img {
        top: 0;
        right: 0;
        bottom: auto;
        width: 56%;
        height: 100%;
        border-radius: 0;
        opacity: .45;
    }

    .sir-main-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .sir-main-txt {
        max-width: 76%;
    }
}

@media (max-width: 768px) {
    .sir-main-img {
        width: 100%;
        opacity: .26;
    }

    .sir-main-txt {
        max-width: 100%;
    }
}

.church-tail-wrap {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
}

/* 상단 배경 영역 */
.church-tail-top {
    position: relative;
    padding: 90px 0 150px;
background: linear-gradient(135deg, rgb(51 51 51), rgb(52 59 95)), url(../img/footer_bg.jpg) center center / cover no-repeat;
    color: #fff;
}





.church-tail-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.church-tail-top::before {
    content: "";
    position: absolute;
    right: 3%;
    top: 40px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.church-tail-top::after {
    content: "";
    position: absolute;
    left: -100px;
    bottom: 30px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 72%);
    pointer-events: none;
}

/* 사이트맵 */
.church-tail-sitemap {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 45px;
    padding-bottom: 70px;
}

.church-tail-col h3 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.church-tail-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: rgba(255,255,255,0.85);
}

.church-tail-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.church-tail-col li {
    margin-bottom: 11px;
}

.church-tail-col li:last-child {
    margin-bottom: 0;
}

.church-tail-col a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.45;
    transition: all .2s ease;
}

.church-tail-col a:hover {
    color: #fff;
    padding-left: 6px;
}

/* 연락 박스 - 기존 이미지와는 다르게 카드형 */
.church-tail-contact {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0 auto -90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 32px;
    padding: 18px;
    box-sizing: border-box;
    box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.church-tail-contact-item {
    text-align: center;
    padding: 28px 20px;
    border-radius: 24px;
    background: rgba(255,255,255,0.08);
    transition: transform .2s ease, background .2s ease;
}

.church-tail-contact-item:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.14);
}

.church-tail-contact-item .icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
}

.church-tail-contact-item h4 {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.church-tail-contact-item p {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
}

/* 하단 footer */
.church-tail-bottom {
    background: #f7f7f7;
    padding: 150px 0 70px;
}

.church-tail-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

.church-tail-info h2 {
    margin: 0 0 18px;
    font-size: 40px;
    line-height: 1.2;
    color: #177f89;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.church-tail-info p {
    margin: 0 0 7px;
    font-size: 17px;
    line-height: 1.5;
    color: #555;
}

.church-tail-info .copy {
    margin-top: 22px;
    color: #7b7b7b;
    font-size: 14px;
}

.church-tail-links {
    display: flex;
    gap: 80px;
    align-items: flex-end;
}

.church-tail-policy,
.church-tail-sns {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.church-tail-policy a,
.church-tail-sns a {
    color: #555;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    transition: color .2s ease;
}

.church-tail-policy a:hover,
.church-tail-sns a:hover {
    color: #177f89;
}

.church-tail-sns i {
    width: 20px;
    text-align: center;
    margin-right: 6px;
}

/* 반응형 */
@media (max-width: 1200px) {
    .church-tail-sitemap {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 28px;
    }

    .church-tail-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .church-tail-links {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .church-tail-top {
        padding: 70px 0 120px;
    }

    .church-tail-sitemap {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 22px;
        padding-bottom: 50px;
    }

    .church-tail-col h3 {
        font-size: 20px;
    }

    .church-tail-col a {
        font-size: 15px;
    }

    .church-tail-contact {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 18px;
        border-radius: 24px;
        margin-bottom: -70px;
    }

    .church-tail-contact-item {
        padding: 22px 16px;
        text-align: left;
    }

    .church-tail-contact-item .icon {
        margin: 0 0 14px;
    }

    .church-tail-contact-item h4 {
        font-size: 22px;
    }

    .church-tail-contact-item p {
        font-size: 15px;
    }

    .church-tail-bottom {
        padding: 120px 0 55px;
    }

    .church-tail-info h2 {
        font-size: 32px;
    }

    .church-tail-info p {
        font-size: 15px;
    }

    .church-tail-links {
        width: 100%;
        flex-direction: column;
        gap: 26px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .church-tail-sitemap {
        grid-template-columns: 1fr;
    }

    .church-tail-col h3 {
        margin-bottom: 14px;
    }
}
/* tail 전용 컨테이너 - leaders-container 사용 안 함 */
.church-tail-container {
    width: calc(100% - 80px);
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .church-tail-container {
        width: calc(100% - 32px);
    }
}

.church-tail-col h3 a {
    color: #fff;
    text-decoration: none;
}

.church-tail-col h3 a:hover {
    color: #fff;
}

.church-tail-col h3 {
    margin: 0 0 18px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.church-tail-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: rgba(255,255,255,0.85);
}

.church-tail-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.church-tail-col li {
    margin-bottom: 11px;
}

.church-tail-col li:last-child {
    margin-bottom: 0;
}

.church-tail-col li a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.45;
    transition: all .2s ease;
}

.church-tail-col li a:hover {
    color: #fff;
    padding-left: 6px;
}

.church-tail-title {
    display: block;
}

.church-tail-title-link {
    display: inline-block;
}

.church-tail-acc-btn {
    display: none;
}

@media (max-width: 768px) {
    .church-tail-sitemap {
        display: block;
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 38px;
        border-top: 1px solid rgba(255,255,255,0.16);
    }

    .church-tail-col {
        border-bottom: 1px solid rgba(255,255,255,0.16);
    }

    .church-tail-col h3,
    .church-tail-col .church-tail-title {
        margin: 0;
        padding: 0;
        font-size: 19px;
    }

    .church-tail-col h3::after {
        display: none;
    }

    .church-tail-title-link {
        display: none;
    }

    .church-tail-acc-btn {
        width: 100%;
        min-height: 58px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        border: 0;
        background: transparent;
        padding: 0 4px;
        color: #fff;
        font-family: inherit;
        font-size: 19px;
        font-weight: 800;
        line-height: 1.35;
        letter-spacing: -0.03em;
        text-align: left;
        cursor: pointer;
    }

    .church-tail-acc-btn i {
        flex: 0 0 auto;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.14);
        color: rgba(255,255,255,0.9);
        font-size: 12px;
        transition: transform .25s ease, background .25s ease;
    }

    .church-tail-acc-btn[aria-expanded="true"] i {
        transform: rotate(180deg);
        background: rgba(255,255,255,0.24);
    }

    .church-tail-col ul.church-tail-menu-list {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0 14px;
        transition: max-height .3s ease, opacity .22s ease, padding .25s ease;
    }

    .church-tail-col ul.church-tail-menu-list.is-open {
        max-height: 520px;
        opacity: 1;
        padding: 0 14px 18px;
    }

    .church-tail-col li {
        margin: 0;
    }

    .church-tail-col li + li {
        margin-top: 6px;
    }

    .church-tail-col li a {
        display: block;
        padding: 8px 10px 8px 14px;
        border-radius: 8px;
        color: rgba(255,255,255,0.82);
        font-size: 15px;
        line-height: 1.45;
        background: rgba(255,255,255,0.06);
    }

    .church-tail-col li a:hover {
        padding-left: 18px;
        background: rgba(255,255,255,0.11);
    }
}

.tail_logo { font-size: 35px;}

/* =========================================================
   LOVE CHURCH reference header + rounded main slide
   첨부 이미지형: 낮은 헤더, 전체폭 메가메뉴, 라운드 메인비주얼
========================================================= */
@media (min-width: 1025px) {
    .leaders-header {
        background: #fff;
        box-shadow: none;
        border-bottom: 0 solid #f1f1f1;
    }

    .leaders-header.is-scroll {
        background: rgba(255,255,255,.96);
        box-shadow: 0 10px 28px rgba(15,23,42,.08);
    }

    .leaders-inner {
        width: min(100% - 80px, 1840px);
        min-height: 80px;
        gap: 30px;
    }

    .leaders-logo a {
        height: 80px;
    }

    .leaders-logo__imgbox {
        width: 170px;
        height: 58px;
    }

    .leaders-logo .logo-img {
        max-width: 170px;
        max-height: 58px;
    }

    .leaders-header.is-scroll .leaders-logo .logo-black {
        opacity: 1;
    }

    .leaders-header.is-scroll .leaders-logo .logo-white {
        opacity: 0;
    }

    .leaders-nav {
        justify-content: center;
        min-width: 0;
    }

    .leaders-nav-pc {
        --ld-menu-gap: clamp(42px, 4vw, 76px);
        --ld-col-width: 96px;
    }

    .leaders-gnb {
        column-gap: var(--ld-menu-gap);
    }

    .leaders-gnb-item > a {
        height: 80px;
        font-size: 16px;
        font-weight: 700;
        color: #202020;
        letter-spacing: -.04em;
    }

    .leaders-gnb-item > a::after {
        bottom: 0;
        height: 2px;
        background: #222;
    }

    .leaders-gnb-item:hover > a,
    .leaders-header.is-scroll .leaders-gnb-item:hover > a {
        color: #000;
    }

    .hd_login_quick {
        display: none;
    }

    .leaders-actions {
        display: flex;
        margin-left: 0;
    }

    .leaders-menu-btn {
        display: flex;
        width: 44px;
        height: 44px;
        gap: 6px;
    }

    .leaders-menu-btn span {
        width: 24px;
        height: 2px;
        background: #111;
    }

    .leaders-mega-panel {
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        z-index: 99990 !important;
    }

    .leaders-mega-panel__bg {
        background: #efefef !important;
        border-top: 0;
        border-bottom: 1px solid #d9d9d9;
        box-shadow: none;
    }

    .leaders-mega-grid {
        width: var(--ld-mega-width, min(100% - 80px, 900px)) !important;
        max-width: none !important;
        margin-left: var(--ld-mega-left, auto) !important;
        margin-right: auto !important;
        min-height: 230px;
        padding: 22px 0 32px;
        column-gap: var(--ld-menu-gap);
        align-items: start;
        justify-content: start;
    }

    .leaders-mega-col {
        width: var(--ld-col-width);
        margin-left: 0;
        justify-content: flex-start;
    }

    .leaders-mega-menu {
        width: 100%;
        gap: 7px;
        margin: 0;
        text-align: left;
    }

    .leaders-mega-menu a {
        font-size: 15px;
        font-weight: 500;
        line-height: 1.55;
        color: #222;
        letter-spacing: -.04em;
    }
}

.sir-main-visual {
    padding: 25px clamp(16px, 2.2vw, 42px) 42px;
    background: #fff;
    overflow: hidden;
}

.sir-main-swiper {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden !important;
    border-radius: clamp(22px, 2.4vw, 42px);
}

.sir-main-swiper .swiper-wrapper {
    align-items: stretch;
}

.sir-main-swiper .swiper-slide {
    width: 100% !important;
    height: clamp(460px, 41.8vw, 800px) !important;
}

.sir-main-card {
    border-radius: inherit;
    background: #e9dfd3;
    overflow: hidden;
    isolation: isolate;
}

.sir-main-card::before {
    z-index: 3;
    background:
        linear-gradient(90deg, rgba(247,238,226,.84) 0%, rgba(247,238,226,.48) 36%, rgba(247,238,226,.10) 64%, rgba(0,0,0,.18) 100%),
        linear-gradient(0deg, rgba(0,0,0,.12), rgba(255,255,255,.08));
}

.sir-main-img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 0;
    opacity: 1;
}

.sir-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 5.8s ease;
}

.swiper-slide-active .sir-main-img img {
    transform: scale(1);
}

.sir-main-txt {
    position: absolute;
    left: clamp(30px, 10.4vw, 195px);
    top: 50%;
    z-index: 5;
    width: min(760px, 58vw);
    padding: 0;
    transform: translateY(-50%);
    opacity: 0;
}

.swiper-slide-active .sir-main-txt {
    animation: sirMainTextUp .9s ease .18s forwards;
}

.sir-main-txt h2 {
    color: #3b1d0e;
    font-family: 'GmarketSans', 'Noto Sans KR', sans-serif;
    font-size: clamp(42px, 4.7vw, 86px);
    line-height: 1.16;
    font-weight: 800;
    letter-spacing: -.075em;
    text-shadow: none;
}

.sir-main-txt p {
    max-width: 560px;
    margin-top: 18px;
    color: rgba(59,29,14,.78);
    font-size: clamp(16px, 1.25vw, 22px);
    font-weight: 500;
    line-height: 1.65;
}

.sir-main-txt span {
    display: none;
}

.sir-main-control {
    position: absolute;
    right: clamp(30px, 4vw, 72px);
    bottom: clamp(24px, 3vw, 54px);
    z-index: 8;
    margin-top: 0;
    gap: 12px;
}

.sir-main-page,
.sir-main-pause {
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(10px);
}

@keyframes sirMainTextUp {
    from {
        opacity: 0;
        transform: translateY(calc(-50% + 24px));
    }
    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

@media (max-width: 1024px) {
    .sir-main-visual {
        padding: 26px 20px 36px;
    }

    .sir-main-swiper .swiper-slide {
        width: 100% !important;
        height: clamp(420px, 58vw, 560px) !important;
    }

    .sir-main-txt {
        left: 7vw;
        width: min(620px, 76vw);
    }

    .sir-main-txt h2 {
        font-size: clamp(36px, 6.4vw, 62px);
    }
}

@media (max-width: 768px) {
    .leaders-inner {
        min-height: 78px;
    }

    .sir-main-visual {
        padding: 24px 14px 32px;
    }

    .sir-main-swiper {
        border-radius: 24px;
    }

    .sir-main-swiper .swiper-slide {
        height: 420px !important;
    }

    .sir-main-card::before {
        background:
            linear-gradient(180deg, rgba(247,238,226,.78) 0%, rgba(247,238,226,.34) 48%, rgba(0,0,0,.18) 100%);
    }

    .sir-main-txt {
        left: 26px;
        right: 26px;
        top: 45%;
        width: auto;
    }

    .sir-main-txt h2 {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.2;
    }

    .sir-main-txt p {
        display: none;
    }

    .sir-main-control {
        right: 26px;
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .sir-main-swiper .swiper-slide {
        height: 360px !important;
    }

    .sir-main-txt {
        left: 22px;
        right: 22px;
    }

    .sir-main-txt h2 {
        font-size: 32px;
    }
}
