@charset "utf-8";

/* 설교 보드 전용 스타일 */
.sermon-video {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%; /* 16:9 비율 */
	margin-bottom: 1rem;
}

.sermon-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
	border-radius: 0.375rem;
}

.sermon-info {
	background: #f8f9fa;
	border-radius: 0.375rem;
	padding: 1rem;
	margin-bottom: 1rem;
}

.sermon-info .info-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.5rem;
}

.sermon-info .info-item:last-child {
	margin-bottom: 0;
}

.sermon-info .info-label {
	font-weight: 600;
	color: #495057;
	min-width: 80px;
	margin-right: 1rem;
}

.sermon-info .info-value {
	color: #6c757d;
}

.sermon-actions {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.sermon-actions .btn {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

/* 모바일 목록 */
@media all and (max-width:767px) {
	.responsive #bo_list .float-left.float-md-none {
		margin-right:0.75rem;
	}
	.responsive #bo_list .na-title {
		margin-bottom:0.14rem;
	}
}

/* gallery */
#bo_gallery .chk-box {
	position:absolute;
	bottom:5px;
	right:10px;
	z-index:2;
}
#bo_gallery .wr-now {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.75);
	z-index:1;
}

/* 게시판 읽기 */
#bo_v_title {
	font-size:23px;
	font-weight:bold;
	line-height:1.4;
	letter-spacing:-1px;
}
#bo_v_con {
	min-height:200px; 
	word-break:break-all;
	overflow:hidden
}
@media all and (max-width:575px) {
	.responsive #bo_v_title {
		font-size:20px;
		line-height:1.5;
	}
	.responsive #bo_v_con { 
		min-height:140px; 
	}
}

#bo_v_con img {
	max-width:100%;
	height:auto
}
#bo_v_img {
	width:100%;
	text-align:center;
	overflow:hidden;
	zoom:1;
}
#bo_v_img:after {
	display:block;
	visibility:hidden;
	clear:both;
	content:"";
}
#bo_v_img a.view_image {
	display:block;
}
#bo_v_img img {
	margin-bottom:1.0rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon { 
	margin:-5px auto; 
}
#bo_v_sns_icon img { 
	width:40px; 
	border-radius:50%; 
	margin:5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
	top:0;
	left:-16px;
}
.by-writer { 
	background:#fbefef !important;
	border-top:1px solid #f6cece !important;
}
.cmt-content {
	word-break:break-all;
	overflow:hidden
}
.cmt-content img {
	max-width:100%;
	height:auto
}

/* 버튼 스타일 개선 */
.btn_b01 {
	background-color: #6c757d;
	border-color: #6c757d;
	color: #fff;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	border-radius: 0.375rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	transition: all 0.2s ease-in-out;
	font-weight: 500;
}

.btn_b01:hover {
	background-color: #5a6268;
	border-color: #545b62;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn_b01:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn_b01:focus {
	box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* 버튼 그룹 스타일 */
.btn-group {
	border-radius: 0.375rem;
	overflow: hidden;
}

.btn-group .btn_b01 {
	border-radius: 0;
	border-right: 1px solid rgba(255,255,255,0.2);
}

.btn-group .btn_b01:first-child {
	border-top-left-radius: 0.375rem;
	border-bottom-left-radius: 0.375rem;
}

.btn-group .btn_b01:last-child {
	border-top-right-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
	border-right: none;
}

/* 설교 액션 버튼 스타일 */
.sermon-actions .btn {
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	border-radius: 0.5rem;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sermon-actions .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.15);
	text-decoration: none;
}

.sermon-actions .btn-primary {
	background: linear-gradient(135deg, #007bff, #0056b3);
	border: none;
}

.sermon-actions .btn-primary:hover {
	background: linear-gradient(135deg, #0056b3, #004085);
}

.sermon-actions .btn-success {
	background: linear-gradient(135deg, #28a745, #1e7e34);
	border: none;
}

.sermon-actions .btn-success:hover {
	background: linear-gradient(135deg, #1e7e34, #155724);
}

.sermon-actions .btn-info {
	background: linear-gradient(135deg, #17a2b8, #117a8b);
	border: none;
}

.sermon-actions .btn-info:hover {
	background: linear-gradient(135deg, #117a8b, #0c5460);
}

/* 모바일 반응형 버튼 */
@media (max-width: 767px) {
	.btn-group {
		flex-direction: column;
	}
	
	.btn-group .btn_b01 {
		border-radius: 0.375rem !important;
		border-right: none !important;
		border-bottom: 1px solid rgba(255,255,255,0.2);
		margin-bottom: 0.25rem;
	}
	
	.btn-group .btn_b01:last-child {
		margin-bottom: 0;
		border-bottom: none;
	}
	
	.sermon-actions {
		flex-direction: column;
	}
	
	.sermon-actions .btn {
		width: 100%;
		justify-content: center;
	}
}

/* 아이콘 스타일 */
.btn_b01 i,
.sermon-actions .btn i {
	font-size: 1rem;
}

/* 접근성 개선 */
.btn_b01:focus,
.sermon-actions .btn:focus {
	outline: 2px solid #007bff;
	outline-offset: 2px;
}

/* 목록 페이지 설교 메타 정보 */
.sermon-meta {
	font-size: 0.875rem;
	line-height: 1.4;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
}

.sermon-meta .bible-verse {
	font-weight: 500;
	color: #007bff;
}

.sermon-meta .preacher {
	font-weight: 500;
	color: #6c757d;
}

.sermon-meta i {
	margin-right: 0.25rem;
	font-size: 0.8rem;
}

/* 모바일에서 메타 정보 스타일 */
@media (max-width: 767px) {
	.sermon-meta {
		font-size: 0.8rem;
		gap: 0.5rem;
	}
	
	.sermon-meta .bible-verse,
	.sermon-meta .preacher {
		display: flex;
		align-items: center;
	}
}

