/*
Theme Name: Enfold Child
Template: enfold
Author: 김재성
Phone : 010-5576-5457
Description: Enfold 테마의 자식 테마
Version: 1.0.0
*/
@font-face {
	font-family: 'CustomFont';
	/*
	src: url(http://fonts.gstatic.com/s/nanumgothic/v26/PN_3Rfi-oW3hYwmKDpxS7F_z-9LZxnthzY0SO7Jj27F-wOe3JI_cmfgf-Q.0.woff2) format('woff2');	
	src: url('https://cdn.jsdelivr.net/gh/webdesignfarm/font/SeoulNamsanMedium.woff') format('woff');
	*/
	src: url('https://kinjesus.kr/wp-contents/themes/enfold-child/fonts/malgun.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

body {
	font-family: 'CustomFont', sans-serif;
}

/* S:대표 페이지 메뉴 줄 */
.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc; /* 회색 줄 */
    padding-bottom: 1px;
    position: relative;
}

.title-link {
    font-size: 23px;
    font-weight: bold;
    color: #2d5d86; /* 글자색 */
    text-decoration: none; /* 기본 밑줄 제거 */
    position: relative;
    padding-bottom: 5px;
}

.title-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #1a3d7c; /* 파란색 밑줄 */
    position: absolute;
    bottom: -2px; /* custom-header의 border-bottom과 겹치도록 조정 */
    left: 0;
}

.more-link {
    font-size: 17px;
    color: #888;
    text-decoration: none;
    font-weight: bold;
}

.more-link:hover {
    color: #555;
}
/* E:대표 페이지 메뉴 줄 */

/* S:대표페이지 게시판 디자인 */
.home_board thead th.kboard-latest-title,
.home_board thead th.kboard-latest-date {
	display:none !important;
}

.home_board tbody td.kboard-latest-title{
	background-color : white;
	color : black;
}

.home_board tbody td.kboard-latest-date {
	background-color : white;
	color : black;
	text-align : right !important;
}
/* E:대표페이지 게시판 디자인 */

/* S: PC */
@media screen and (min-width: 990px) {
	/* S: PC 헤더 텍스트 조절 */
	.avia-menu-text{
		font-size: 23px !important;
		color:#2d5d86;
	}
	/* E: PC 헤더 텍스트 조절 */
	
	/* S:PC 헤더 밑 메뉴 */
	#top #header .mega_menu_title a{
		font-size: 19px;
	}
	
	#top #header .mega_menu_title a:hover{
		font-size: 19px;
		text-decoration-line: none;
	}	
	/* E:PC 헤더 밑 메뉴 */
	
	/* S:PC 헤더 텍스트 간격 조절 */
	/*
	.av-main-nav > li > a{
		padding: 0 25px !important;
	}
	*/
	
	.av-main-nav ul a{
		text-align:center !important;
	}
	/* S:PC 헤더 텍스트 간격 조절 */
}
/* E: PC */

/* S:모바일 */
@media screen and (max-width: 768px) {	
	/* S:mobile 메뉴 텍스트 크기 조절 */
	.avia-menu-text{
		font-size: 20px !important;
	}
	/* E:mobile 메뉴 텍스트 크기 조절 */
	
	/* S: 1/3 이미지, 2/3 텍스트 정렬 */
	.text-left-middle {
		text-align: left;
		padding: 9.5% 0;
	}
	/* E: 1/3 이미지, 2/3 텍스트 정렬 */

	/* S:대표페이지 모바일 상단 */
	.custom-section {
        display: flex;
        flex-direction: row;        
        align-items: center;
    }

    .custom-section .left {
        flex: none;
        padding-left: 0px;
    }
    
    .custom-section .left img {
        width: 200px; /* 원하는 고정 크기 지정 */
        height: auto; /* 이미지 비율 유지 */
        display: block;
    }

    .custom-section .right {
        flex: 1;
        background-color: #2d5d86; /* 배경색 조정 */
        padding: 15px;
        color: #c0c0c0;
        display: flex;
        flex-direction: column;
        justify-content: center; /* 텍스트 중앙 정렬 */
        min-height: 15rem; /* 최소 높이 15rem 설정 */
    }
    
    .custom-section .right h2{
		font-size: 20px;
		font-weight: 500;
		color: white;
	}
	/* E:대표페이지 모바일 상단 */
}
/* E:모바일 */

/* S:망보드 갤러리 공통 목록 디자인 */
.gallery-item-box{
	margin-bottom: 30px !important;
}

.gallery-item-img{
	border-radius: 10px;
	display:block;
	overflow: hidden;
}

.gallery-item-img > a{	
	display: block;	
}

.gallery-item-img > a > .img{
	transition: transform 0.3s ease;
	overflow: visible;
	will-change: transform;
	transform: scale(1.1);
}

.gallery-item-img > a > .img:hover{
	transform: scale(1.3);
}
/* E:망보드 갤러리 공통 목록 디자인 */

/* S:포토 갤러리 보기 디자인 */
#mb_tbl_photo_galley_tr_title{
	display:none;
}

#mb_tbl_photo_galley_tr_user_name{
	display:none;
}

#tbl_photo_galley_btn_box{
	display:block;
}

#mb_tbl_photo_galley_tr_file_download{
	display:none;
}

.prev_next_style{
	display:none;
}

.table-view {
    border-collapse: collapse; /* 셀 경계 겹치기 */
    border: none !important;   /* 테이블 자체 테두리 제거 */
}

.table-view th,
.table-view td{
    border: none !important;   /* 셀 테두리도 제거 */
    border-bottom: none !important;
}

.mb-board > gallery-list > list-head{
	display:none !important;
}
/* E:포토 갤러리 보기 디자인 */

/* S:포토 갤러리 제목등 출력 디자인 */
.gallery-item-wrap > .gallery-title > a > span{
	font-size: 22px;
	font-weight:750;
	color: #2d5d86;
	white-space: nowrap;        /* 줄 바꿈 방지 */
	overflow: hidden;           /* 넘치는 내용 숨김 */
	text-overflow: ellipsis;    /* ...으로 표시 */
}

.gallery-item-wrap > .gallery-date{
	display: none;
}

.gallery-item-wrap > .gallery-name{
	display: none;
}

.gallery-list-head{
	display: none;
}

.gallery-list-foot{
	display: none;
}
/* E:포토 갤러리 제목등 출력 디자인 */

/* S:포토 갤러리 페이징 디자인 */
/* E:포토 갤러리 페이징 디자인 */

/* S:교회소식 보기 디자인 */
#mb_tbl_church_news_tr_title{
	display:none;
}

#mb_tbl_church_news_tr_user_name{
	display:none;
}

#tbl_church_news_btn_box{
	display:block;
}

#mb_tbl_church_news_tr_file_download{
	display:none;
}
/* E:교회소식 보기 디자인 */

/* S:신문 보도 보기 디자인 */
#mb_tbl_news_report_tr_title{
	display:none;
}

#mb_tbl_news_report_tr_user_name{
	display:none;
}

#tbl_news_report_btn_box{
	display:block;
}

#mb_tbl_news_report_tr_file_download{
	display:none;
}

/*
#mb_tbl_news_report_tr_content td img{
	width:50% !important;
    height: auto !important;
}
*/
/* E:신문 보도 보기 디자인 */

/* S:말씀 요약 보기 디자인 */
#mb_tbl_sermon_summary_tr_title{
	display:none;
}

#mb_tbl_sermon_summary_tr_user_name{
	display:none;
}

#tbl_sermon_summary_btn_box{
	display:block;
}

#mb_tbl_sermon_summary_tr_file_download{
	display:none;
}
/* E:말씀 요약 보기 디자인 */

/* S:교회소개 > 담임목사소개 약력 */
.about_paster_title_common{
	font-size: 23px;
	font-weight: 300px;
}

.about_paster_text_common{
	font-size: 21px;
}

.about_paster_title_pc{
	font-size: 23px;
	font-weight: 300px;
}

.about_paster_text_pc{
	font-size: 21px;
	vertical-align: 8px;
}

.about_paster_title_mb{
	font-size: 23px;
	font-weight: 300px;
	vertical-align: 8px;
}

.about_paster_text_mb{
	font-size: 18px;
}
/* E:교회소개 > 담임목사소개 약력 */

/* S:교회소개 > 말씀영상, 국내 외 선교 메뉴 탭 */
.link-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.link-tab {
  flex: 1 1 calc(25% - 10px); /* 4개 한 줄 */
  min-width: 120px;
  max-width: 200px;
  background-color: #f0f0f0;
  padding: 10px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {

	.link-tab {
		flex: 1 1 calc(50% - 10px); /* 모바일에서는 2개씩 */
	}

}
/* E:교회소개 > 말씀영상, 국내 외 선교 메뉴 탭 */