@charset "utf-8";

/* ============================================
   CSS 변수 정의
   ============================================ */
:root {
    /* 컬러 팔레트 */
    --primary-color: #2698b5;      /* 메인 강조색 */
    --primary-hover: #185f96 ;      /* 메인 강조색 */
    --primary-blue-bg: rgb(106 163 233 / 10%);
    --primary-red: #E74C3C;      /* 메인 강조색 */
    --light-red: #FBEAEA;        /* 보조 강조색 */
    --dark-gray: #333;
    --medium-gray: #555;
    --light-gray: #EEE;
    --background-color: #FDFDFD;
    --card-bg: #FFF;
    --primary-yellow: #FFD700;   /* 구분선에 사용할 황금색 계열 */
    --main-green: #385E3B;
    --accent-gold: #D4AF37;
    --text-white: #FFF;
    --font-gmarket: 'GMarketSans', sans-serif;
    
    /* 트랜지션 */
    --transition-speed: 0.5s;
}

/* 주석 처리된 변수 */
/* --main-green: #38A752; kfhi 사이트의 메인 녹색 */

/* 선한청지기요청 강제지정 */
.btn-gsch{background-color: var(--primary-color);color: #ffffff;}
.btn-gsch:hover{background-color: var(--primary-hover);color: #ffffff;}
.btn{border-radius: 0!important;}
.btn-outline-info:hover{background-color: var(--primary-hover);color:white!important}
#ctt_con .text-info{color:var(--primary-hover)!important}
.lt_more {
    font-size:0;
    line-height:0;
    /* 기존 스타일 유지 및 중앙 정렬을 위한 display: flex 추가 */
    width: 30px; 
    height: 30px;
    display: flex; /* 중앙 정렬을 위해 flex로 변경 */
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: center; /* 가로 중앙 정렬 */
    position: relative; 
    overflow: hidden; 

    /* Font Awesome 설정 */
    font-family: 'Font Awesome 6 Pro', sans-serif; 
    font-weight: 500; 
    font-style: normal;
    text-decoration: none; /* 링크 밑줄 제거 */
    
    
    /* 박스 스타일 */
    background-color: #ebebeb; 

}

/* 가상 요소 대신, .lt_more 자체에 유니코드를 넣고 
   display: flex로 중앙 정렬하는 것이 더 간결합니다. */
.lt_more::before {
    content: "\f0c9"; 
    font-size: 1rem;
    line-height: 1;
    color: var(--primary-color); /* 아이콘 색상 설정 */
}


/* ============================================
   기본 리셋 및 전역 스타일
   ============================================ */

/* 폰트 설정 */
.font-power {
    font-family: 'GangwonEdu_Power', sans-serif;
}

/* Swiper 컨테이너 */
.swiper-container {
    position: relative;
}

/* HTML 기본 스타일 */
html {
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

html::-webkit-scrollbar-thumb {
    background-color: #19A3C0;
}

/* Body 기본 스타일 */
body {
    overflow-x: hidden;
    font-weight: 400;
}

/* body, a:not(.btn) 기본 스타일은 필요시 추가 */

/* 링크 스타일 */
a,
a:link,
a:hover,
a:visited,
a:active {
    text-decoration: none;
}

/* 스크린 리더 전용 텍스트 */
.msg_sound_only,
.sound_only {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important;
}

/* 상단으로 이동 버튼 */
.back-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 2;
    width: 50px;
    height: 50px;
    color: #fff !important;
    line-height: 50px;
    font-weight: 500;
    text-align: center;
    display: none;
    font-family: 'Roboto';
    background: #19A3C0;
}

/* 박스 그림자 유틸리티 */
.box-shadow {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    border: 1px solid var(--light-gray);
}


/* ============================================
   헤더 영역
   ============================================ */

/* 헤더 래퍼 */
#header-wrapper {
    width: 100%;
    height: 150px;
    z-index: 50;
    transition: height 0.1s, padding 0.1s;
    border-bottom: 1px solid rgba(238, 238, 238, 0);
    background: rgba(255, 255, 255, 0);
    position:fixed;
}

/* #header 스타일은 필요시 추가 */

/* 헤더 상단 유틸리티 */
.header_top {
    padding: 10px 0;
    transition: all 0.3s;
    opacity: 1;
}

.header_top .utility a {
    font-size: 0.8em;
    padding: 5px 7px;
}

/* 헤더 메뉴 섹션 */
#header .menu-section {
    display: flex;
    justify-content: space-between;
}

#header .header_menu {
    display: flex;
    align-items: center;
}

/* 로고 스타일 */
#header .logo img {
    width: 80px;
}

#header .logo a:hover img {
    animation: bounce;
    animation-duration: 1s;
}

#header .mobile-open {
    display: none;
}

/* 스크롤 시 헤더 스타일 */
.scrollOn #header-wrapper {
    background-color: white;
    box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);
    opacity: 1;
    height:100px;
    padding-top:10px;
}

.scrollOn #header-wrapper .header_top {
    opacity: 0;
    height: 0;
    padding: 0;
}


/*서브페이지 메뉴색깔*/
body.is-subpage:not(.scrollOn) .utility a {
    color:white;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.5);
    font-weight:700;
}


/* ============================================
   모바일 메뉴
   ============================================ */

/* 모바일 네비게이션 */
#mobileNav {
    position: fixed;
    width: 300px;
    height: 100%;
    top: 0;
    left: -300px;
    z-index: 101;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#mobileNav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 모바일 헤더 */
#mobileNav .mobile-header {
    position: relative;
    padding: 10px;
    background: #19A3C0;
    display: none;
    height: 60px;
    color: white;
}

.mobile-header {
    display: none;
}

.mobile-header h4 {
    margin-top: 10px;
}

#mobileNav .mobile-header h4 a {
    color: #fff;
    font-size: 300;
    letter-spacing: -1px;
}

#mobileNav .mobile-header button {
    color: #fff;
}

#mobileNav .mobile-header .mobile-close {
    position: absolute;
    right: 15px;
    top: 10px;
    border: 0;
    font-size: 28px;
    color: #fff;
    background-color: #19A3C0;
}

#mobileNav .mobile-header .mobile-close i {
    font-size: 28px;
}

/* 모바일 메뉴 네비게이션 바 */
#mobileNav .mgnb {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

#mobileNav .mgnb a {
    font-weight: 400;
    display: block;
}

#mobileNav .mgnb > li > a {
    background: #fff;
    border-top: 1px solid #ccc;
    font-size: 20px;
    padding: 15px 20px;
    color: #333333;
    font-weight: 400;
}

#mobileNav .mgnb > li:first-child > a {
    border-top: 0;
}

/* #mobileNav .mgnb > li.active > a 활성화 상태 스타일은 필요시 추가 */

#mobileNav .mgnb li > a i {
    margin-right: 5px;
    color: #767a81;
    transition: all 0.2s ease-out 0;
    -webkit-transition: all 0.2s ease-out 0;
}

#mobileNav .mgnb li > ul > li > a i {
    color: white;
}

#mobileNav .mgnb li a i.rightico {
    float: right;
    margin: 0;
}

#mobileNav .mgnb li.active > a i.rightico {
    color: #91cb5a;
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out 0s;
    -webkit-transition: all 0.2s ease-in-out 0s;
}

/* 모바일 서브메뉴 */
#mobileNav .mgnb > li > ul {
    border-top: 1px solid #596170;
}

#mobileNav .mgnb > li > ul > li > a {
    background: #757c89;
    border-bottom: 1px solid #596170;
    font-size: 16px;
    padding: 12px 20px 12px 30px;
    color: #fff;
}

#mobileNav .mgnb > li > ul > li > ul > li > a {
    background: #f5f5f5;
    border-top: 1px solid #cccccc;
    padding: 12px 40px;
    color: #777;
    font-size: 15px;
}

#mobileNav .mgnb > li > ul > li > ul > li:first-child > a {
    border-top: 0;
}

/* 모바일 푸터 */
.mobile-footer {
    float: left;
    width: 100%;
    padding: 5px 0;
    background: #fff;
    display: none;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.mobile-footer ul {
    display: flex;
    justify-content: space-between;
}

.mobile-footer ul > li {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-footer ul.three > li:nth-child(2) {
    border-right: 1px solid #D0D0D0;
    border-left: 1px solid #D0D0D0;
}

.mobile-footer ul.three:first-child {
    border-bottom: 1px solid #D0D0D0;
}

.mobile-footer ul > li i {
    display: block;
}

.mobile-footer ul > li > a {
    display: block;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    text-align: center;
    color: #757575;
}

.mobile-footer ul > li > a i {
    font-size: 1.5rem;
    padding-bottom: 5px;
}

.mobile-footer .formember {
    border-top: 1px solid #dddddd;
    padding: 5px;
    margin-top: 5px;
    float: left;
    width: 100%;
    font-size: 1.1em;
    font-weight: bold;
    color: #0D74EB;
}

/* .mobile-footer .sns SNS 링크 스타일은 필요시 추가 */


/* ============================================
   팝업 레이어
   ============================================ */

#hd_pop {
    z-index: 1000;
    position: relative;
    margin: 0 auto;
    height: 0;
}

#hd_pop h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.hd_pops {
    position: absolute;
    border: 1px solid #e9e9e9;
    background: #fff;
}

.hd_pops img {
    max-width: 100%;
}

/* .hd_pops_con 팝업 콘텐츠 스타일은 필요시 추가 */

.hd_pops_footer {
    padding: 0;
    background: #000;
    color: #fff;
    text-align: left;
    position: relative;
}

.hd_pops_footer:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.hd_pops_footer button {
    padding: 10px;
    border: 0;
    color: #fff;
}

.hd_pops_footer .hd_pops_reject {
    background: #000;
    text-align: left;
}

.hd_pops_footer .hd_pops_close {
    background: #393939;
    position: absolute;
    top: 0;
    right: 0;
}
.gjs-plus-button{display: none!important;}

.brother-menu{display: flex;justify-content: center;align-items: center;    margin-top: 20px;}
.brother-menu li{padding: 1px 15px;border-radius: 15px;margin: 0 2px;}
.brother-menu li a{color: #353535;font-size:.9em}
.brother-menu li.active{background-color: var(--primary-color)}
.brother-menu li.active a{color: #ffffff;}

/*게시판 카테고리*/
#bo_cate_ul li{padding: 1px 15px;border-radius: 15px;margin: 0 2px;}
#bo_cate_ul li a{color: #353535;font-size:.9em}
#bo_cate_ul li.active{background-color: var(--primary-color);border: 0px}
#bo_cate_ul li.active a{color: #ffffff;}



.bo_list_title{display: flex;justify-content: center;align-items: center;font-size:2.5em;font-weight: 700;color: rgb(59 59 59);margin-top:30px;margin-bottom:20px}
/* ============================================
   컨텐츠 섹션
   ============================================ */
.breadcom, .breadcom a{color:white;text-align: center;text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.9);}
.breadcom h4, .breadcom a{}
.breadcom h4{margin-top:100px;font-size:3em;font-weight:600}

h2.lat-subject a, .lat-subject{font-size:40px;font-weight:600}
.lat-header{margin-bottom:20px}

/* 공지 리스트 pill 카드 스타일 */
#churchNews .lat-item {
 position: relative;
 padding: 0.75rem 1rem;
 margin-bottom: 0.75rem;
 background-color: #f8f9fa;          /* Bootstrap bg-light 색감 */
 /*border-radius: 999px;               */
 transition: background 0.3s ease-in-out;
 overflow: hidden;
 padding-left:30px;
 min-height:84px;
 display: flex;
 align-items: center;
}

#churchNews .lat-item:last-child {
 margin-bottom: 0;
}

#churchNews .lat-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, #e0f2ff, #e8f6ff, #f0fbff);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.6s ease;
  transform: scale(1.3);
  z-index: 0;
}

#churchNews .lat-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* 글자가 위에 있도록 설정 */
#churchNews .lat-item > * {
  position: relative;
  z-index: 1;
}

#churchNews .lt_info {
 min-width: 70px;
}
#churchNews .lat-item a{font-size:1.1em}
/* 모바일에서 제목 잘릴 때 말줄임표 */
#churchNews .notice-list .text-truncate a {
 display: inline-block;
 max-width: 100%;
 vertical-align: middle;
}

#churchNews .lt_more{display: none;}

#churchEvent .swiper-pagination-bullet{background-color: white!important}

.btn-outline-danger:hover {color:white!important}
/*은혜나눔*/
#graceNews .lat-item {
 padding: 0.75rem 0rem;
 border-bottom:1px solid #c3c3c3;
}
#graceNews .lat-item a{font-size:1.1em}


/* 콘텐츠 래퍼 */
#content-wrapper {
    margin-top:150px;
    min-height: 1200px;
    transition: all 0.2s ease-out 0;
    -webkit-transition: all 0.2s ease-out 0;
}


/* 아이콘 그리드 섹션 - 디자인 스타일 */
.icon-grid-section {
    background-color: var(--card-bg);
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.icon-item:hover {
    transform: translateY(-5px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 2.2em;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.icon-item p {
    font-size: 1em;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 0;
    line-height: 1.3;
}

/* 웰컴 섹션 */

.welcome-info h2 {
    font-size: 2.8em;
    font-weight: 900;
    color: var(--dark-gray);
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.2;
}

/* CTA 버튼 */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: var(--card-bg);
    font-size: 1.1em;
    font-weight: 700;
    text-decoration: none;

    transition: background-color 0.2s, transform 0.2s;

}

.cta-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.cta-button i {
    margin-left: 10px;
    font-size: 0.9em;
}

/* 스텝 카드 */
.step-card {
    background-color: var(--card-bg);
    /*border-radius: 12px;*/
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
    border: 1px solid var(--light-gray);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.step-icon-outline {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2.2em;
}

.step-number {
    font-size: 1.1em;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.step-description {
    font-size: 0.95em;
    color: var(--medium-gray);
    font-weight: 400;
    line-height: 1.4;
}

/* 패널 컨테이너 (사역소개) */
.panel-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    min-height: 400px;
}

.panel-item {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-white);
    display: block;
    height: 100%;
    min-height: 600px;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    transition: transform 0.8s ease-in-out;
}

.panel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color var(--transition-speed) ease-in-out;
}

.panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    z-index: 3;
    width: 100%;
    box-sizing: border-box;
    transition: transform var(--transition-speed) ease-in-out;
}

.panel-title {
    font-size: 1.5em;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.panel-description {
    font-size: 1em;
    line-height: 1.4;
    font-weight: 400;
    margin: 0;
}

/* 패널 호버 효과 */
.panel-item:hover .panel-bg {
    transform: scale(1.05);
}

.panel-item:hover::before {
    background-color: rgba(56, 167, 82, 0.75);
}

.panel-item:hover .panel-content {
    transform: translateY(-50px);
}

.panel-item:hover .panel-description {
    opacity: 1;
    transform: translateY(0);
}

/* 타이틀 섹션 */
section.title {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

section.title h1 {
    font-size: 2.8em;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.04em;
    line-height: 1.2;
    position: relative;
}

section.title h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 20px auto 0;
    border-radius: 2px;
    opacity: 0.7;
}

section.title h3 {
    font-size: 1.4em;
    font-weight: 400;
    margin-top: 0;
    line-height: 1.5;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 카드 목록 섹션 */
.card-list-section {
    background-color: var(--background-color);
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
}

.card-item {
    background-color: var(--card-bg);
    /*border-radius: 12px;*/
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--light-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

.card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card-item-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--dark-gray);
    margin: 0 0 10px;
}

.card-content p {
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
    color: var(--medium-gray);
    flex-grow: 1;
}

.card-content .source {
    font-size: 0.8em;
    font-weight: 500;
    color: #d93025;
    margin-bottom: 5px;
    display: block;
}

.card-list-section .card-item {
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}
.card-list-section .card-item:hover {
    box-shadow: none !important;
    transform: translateY(-5px); /* Keep the hover movement or remove? User didn't specify, but removing shadow usually means cleaner UI. I'll keep movement for feedback. */
}
.card-list-section .card-item-image {
     /* border-radius: 12px; Restore border radius if it was on card-item */
}
 /* Ensure text is readable */
.card-list-section .card-overlay-title, 
.card-list-section .card-item h3 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-weight: bold;
}

/* 비전 가로 섹션 */
.vision-garo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* max-width: 1000px; */ /* 전체 너비 사용을 위해 주석 처리 */
    margin: 50px auto;
    padding: 40px 20px;
    background-color: #fcfbf9; /* 샘플 이미지와 유사한 연한 베이지색 */
}

/* 기존 로고 스타일 초기화 및 재설정 */
.vision-garo .vision-logo {
    margin: 0 0 20px 0;
    max-width: 250px;
    height: auto;
    display: block;
    border: none;
    padding: 0;
    /* border-radius: 8px; */
}

.vision-divider-container {
    position: relative;
    width: 100%;
    max-width: 100%; /* 화면 전체 너비 */
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.vision-line {
    width: 100%;
    height: 1px;
    background-color: #0076a3; /* 샘플 이미지의 파란색 */
}

.vision-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #0076a3;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vision-text {
    font-size: 1.1rem;
    color: #005a80; /* 텍스트는 선보다 약간 진하게 */
    text-align: center;
    font-weight: 500;
}

.vision-text strong {
    font-weight: 800;
    color: #005a80;
}

/* 기존 divider-line 스타일은 유지 (다른 곳에서 안 쓰지만 혹시 몰라 남겨둠) */
.divider-line {
    flex-grow: 1;
    height: 2px;
    background-color: var(--accent-gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}


/* ============================================
   페럴렉스 섹션
   ============================================ */

.palax-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    height:1200px;
}

.palax-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    z-index: 1;
}

.palax-gray {
    background-color: rgba(112, 99, 90, 0.55);
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#8c70635a, endColorstr=#8c70635a);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#8c70635a, endColorstr=#8c70635a);
    zoom: 1;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.content-overlay,
.content-overlay h1 {
    color: white;
}
#churchEvent.palax-section{height:800px;}

@media screen and (max-width: 1400px) {
    .palax-section {height:1400px;}
}
@media screen and (max-width: 1400px) {
    .palax-section {height:1200px;}
}
@media screen and (max-width: 1200px) {
    .palax-section {height:1000px;}
    #churchEvent.palax-section{height:800px;}
}
@media screen and (max-width: 990px) {
    .palax-section {height:900px;}
    #churchEvent.palax-section{height:850px;}
}
@media screen and (max-width: 768px) {
    .palax-section {height:800px;}
    #churchEvent.palax-section{height:750px;}
}
@media screen and (max-width: 576px) {
    .palax-section {height:700px;}
}




/* 배경 비디오 */
#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


/* ============================================
   푸터
   ============================================ */

#footer {
    background-color: #185f96;
    min-height: 200px;
    color: white;
    padding: 20px;
    font-size: 0.8em;
}


/* ============================================
   반응형 유틸리티 클래스
   ============================================ */

.show-sm,
.show-md,
.show-lg,
.show-xl,
.show-xxl,
.show-3xl,
.show-sm-in,
.show-md-in,
.show-lg-in,
.show-xl-in,
.show-xxl-in,
.show-3xl-in {
    display: none;
}


/* ============================================
   미디어 쿼리
   ============================================ */

/* 슬라이더 높이 조정 (1400px 이상) */
@media (min-width: 1400px) {
    #slider-wrap-7 {
        height: calc(100vh - 130px) !important;
    }
}

/* 모바일 메뉴 열기 버튼 (992px 이하) */
@media screen and (max-width: 992px) {
    .mobile-open {
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: fixed;
        left: 0;
        top: 0;
        color: #fff;
        background: #4d525a;
        font-size: 28px;
        border: 0;
        border-right: 1px solid #444;
        line-height: 0;
        height: 60px;
        width: 60px;
        z-index: 2;
    }
}

/* 반응형 유틸리티 - 576px 이하 */
@media screen and (max-width: 576px) {
    .show-sm {
        display: block;
    }
    .show-sm-in {
        display: inline-block;
    }
    .hide-sm {
        display: none;
    }
}

/* 반응형 유틸리티 - 768px 이하 */
@media screen and (max-width: 768px) {
    .show-md {
        display: block;
    }
    .show-md-in {
        display: inline-block;
    }
    .hide-md {
        display: none;
    }
    
    /*서브메뉴*/
    .brother-menu{display: grid;grid-template-columns: repeat(3, 1fr);gap: 0;margin-top: 0px;padding: 0;list-style: none;background-color: #ececec;margin:0;padding:0;}
    .brother-menu li{box-sizing: border-box;padding: 10px 15px;border-radius: 0px;background-color: #ececec;color: white;border: 0px solid #ffffff;margin:0;display: flex;justify-content: center;}
    .brother-menu li a{color: #70635a;font-size:.7em}
    .brother-menu li.active{color: #DA262E;border: 0px solid #ffffff;background-color: #DA262E}
    .brother-menu li.active a{color: #ffffff;}


    /* 웰컴 섹션 */
    
    .welcome-info {
        text-align: center;
        padding: 10px 0;
    }
    .welcome-info h2 {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    
    /* 스텝 카드 */
    .step-card {
        padding: 15px 10px;
        aspect-ratio: 1;
        justify-content: center;
    }
    
    
    .step-number {
        font-size: 0.95em;
        margin-bottom: 5px;
    }
    
    .step-description {
        font-size: 0.85em;
        line-height: 1.3;
    }
    
    /* 타이틀 섹션 */
    section.title {
        padding: 40px 15px;
    }
    section.title h1 {
        font-size: 2.2em;
        margin-bottom: 10px;
    }
    section.title h1::after {
        width: 40px;
        height: 2px;
        margin-top: 15px;
    }
    section.title h3 {
        font-size: 1.1em;
    }
    
    /* 카드 목록 */
    .card-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card-item-image {
        height: 200px;
    }
    
    /* 캘리그래피 섹션 */
    .calligraphy-section {
        padding: 30px 15px;
    }
    .divider-section {
        max-width: 90%;
        margin-top: 30px;
    }
    .divider-text {
        font-size: 1em;
        padding: 0 15px;
    }
    .icon-circle {
        width: 70px;
        height: 70px;
        font-size: 2em;
    }
    .icon-item p {
        font-size: 1em;
        font-weight: 400;
    }
}

/* 반응형 유틸리티 - 992px 이하 */
@media screen and (max-width: 992px) {
    .show-lg {
        display: block;
    }
    .show-lg-in {
        display: inline-block;
    }
    .hide-lg {
        display: none;
    }
    
    /* 헤더 조정 */
    #header-wrapper {
        height: 60px!important;
        padding-top:0!important;
    }
    #header .menu-section {
        justify-content: center;
    }
    .header_top {
        display: none;
    }
    #header .logo img {
        width: 56px;
        margin-top: 2px;
    }
    #header .logo span {
        padding-left: 10px;
        font-size: 1.2em;
    }
    #content-wrapper{margin-top:60px!important}
    #subTop{margin-top:0!important;height:300px!important}
    .breadcom h4 {margin-top:0;font-size:2.3em}
    /* 패널 컨테이너 */
    .panel-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 반응형 유틸리티 - 1200px 이하 */
@media screen and (max-width: 1200px) {
    .show-xl {
        display: block;
    }
    .show-xl-in {
        display: inline-block;
    }
    .hide-xl {
        display: none;
    }
    
    
    /* 카드 목록 */
    .card-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* 반응형 유틸리티 - 1400px 이하 */
@media screen and (max-width: 1400px) {
    .show-xxl {
        display: block;
    }
    .show-xxl-in {
        display: inline-block;
    }
    .hide-xxl {
        display: none;
    }
    

}

/* 반응형 유틸리티 - 1920px 이하 */
@media screen and (max-width: 1920px) {
    .show-3xl {
        display: block;
    }
    .show-3xl-in {
        display: inline-block;
    }
    .hide-3xl {
        display: none;
    }
}

/* 480px 이하 */
@media (max-width: 480px) {
    
    /* 스텝 카드 - 작은 모바일에서도 2열 유지 */
    
    .step-card {
        padding: 12px 8px;
    }
    

    .step-number {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .step-description {
        font-size: 0.75em;
    }
    
    /* 웰컴 섹션 */

    .welcome-info {
        padding: 5px 0;
    }
    .welcome-info h2 {
        font-size: 2em;
        margin-bottom: 12px;
    }
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    /* 타이틀 섹션 */
    section.title h1 {
        font-size: 1.8em;
    }
    section.title h3 {
        font-size: 0.9em;
    }
    
    /* 카드 목록 */
    .card-content h3 {
        font-size: 1.1em;
    }
    .card-content p {
        font-size: 0.85em;
    }
    
    /* 캘리그래피 섹션 */
    .calligraphy-section img {
        max-width: 90%;
    }
    .divider-text {
        font-size: 0.9em;
        padding: 0 10px;
    }
}

/* 600px 이하 */
@media (max-width: 600px) {
    /* 비전 가로 섹션 */
    .vision-garo {
        padding: 0 10px;
    }
    .vision-garo img {
        max-width: 150px;
        margin: 0 10px;
    }
    .divider-line {
        height: 1px;
    }
    
    /* 패널 컨테이너 */
    .panel-container {
        grid-template-columns: 1fr;
    }
    .panel-item {
        min-height: 300px;
    }
    .panel-item:hover .panel-content {
        transform: translateY(-30px);
    }
}
