@charset "utf-8";

/* === TG Daily 말씀묵상 스킨 === */

/* 안내 배너 */
.tg-info-banner {
	background: #fffde7;
	border-left: 4px solid #ffc107;
	padding: 12px 16px;
	margin-bottom: 20px;
	border-radius: 0 4px 4px 0;
	font-size: 14px;
	line-height: 1.7;
	color: #5d4037;
}
.tg-info-banner p { margin: 0; padding: 0; }

/* 목록: 월 헤더 */
.tg-month-header {
	background: #f5f5f5;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: bold;
	color: #333;
	border-bottom: 2px solid #1976d2;
	margin-top: 15px;
}
.tg-month-header:first-child { margin-top: 0; }

/* 목록: 날짜 카드 */
.tg-list {
	margin-bottom: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	overflow: hidden;
}
.tg-date-card {
	display: flex;
	align-items: center;
	padding: 10px 16px;
	border-bottom: 1px solid #eee;
	text-decoration: none;
	color: #333;
	transition: background 0.15s;
}
.tg-date-card:hover { background: #f5f9ff; text-decoration: none; color: #333; }
.tg-date-card:last-child { border-bottom: 0; }
.tg-date-card.is-today { background: #e3f2fd; }
.tg-date-card.is-today:hover { background: #bbdefb; }

.tg-date-card .tg-date {
	min-width: 70px;
	font-weight: bold;
	font-size: 14px;
	color: #1976d2;
	font-family: 'Roboto', sans-serif;
}
.tg-date-card .tg-subject {
	flex: 1;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding: 0 10px;
}
.tg-date-card .tg-count {
	min-width: 40px;
	text-align: center;
}
.tg-date-card .tg-count .badge {
	background: #1976d2;
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 10px;
}

/* 목록: 체크박스 */
.tg-date-card .tg-chk { min-width: 30px; }

/* 본문: 성경 말씀 헤더 카드 */
.tg-verse-header {
	background: linear-gradient(135deg, #1976d2, #1565c0);
	color: #fff;
	padding: 24px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	text-align: center;
}
.tg-verse-header .tg-verse-date {
	font-size: 13px;
	opacity: 0.85;
	margin-bottom: 6px;
}
.tg-verse-header .tg-verse-title {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
	margin: 0;
	word-break: keep-all;
}

/* 본문: 내용 영역 */
.tg-view-content {
	padding: 15px;
	margin-bottom: 15px;
	line-height: 1.8;
	font-size: 15px;
	color: #333;
	white-space: pre-line;
}

/* 참여자 섹션 제목 */
.tg-participants-title {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	margin: 20px 0 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1976d2;
	display: inline-block;
}

/* 참여자 묵상 카드 */
.tg-participant-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 14px 16px;
	margin-bottom: 10px;
	background: #fff;
	transition: box-shadow 0.15s;
}
.tg-participant-card:hover { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }

.tg-participant-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
}
.tg-participant-name {
	font-weight: bold;
	color: #1976d2;
	font-size: 14px;
}
.tg-participant-date {
	font-size: 12px;
	color: #999;
	font-family: 'Roboto', sans-serif;
}
.tg-participant-content {
	font-size: 14px;
	line-height: 1.7;
	color: #444;
	white-space: pre-line;
	word-break: break-word;
}
.tg-participant-actions {
	margin-top: 6px;
	text-align: right;
}
.tg-participant-actions a {
	font-size: 12px;
	color: #999;
	margin-left: 8px;
}
.tg-participant-actions a:hover { color: #d32f2f; }

/* 댓글 작성 폼 */
.tg-comment-form {
	margin-top: 20px;
	padding: 16px;
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
}
.tg-comment-form .form-group { margin-bottom: 10px; }
.tg-comment-form textarea {
	resize: vertical;
	min-height: 80px;
}
.tg-comment-form .btn-submit {
	background: #1976d2;
	color: #fff;
	border: none;
	padding: 8px 24px;
	border-radius: 4px;
	font-weight: bold;
	font-size: 14px;
}
.tg-comment-form .btn-submit:hover { background: #1565c0; }

/* 네비게이션 */
.tg-nav { margin: 20px 0 30px; }

/* 글쓰기 폼 */
.tg-write-wrap { width: 100%; overflow: hidden; }
.tg-write-wrap h2 { padding: 0; margin: 0; font-size: 14px; font-weight: bold; }
.tg-write-wrap label { font-weight: bold; margin-top: 4px; }
.tg-write-wrap .write-content { height: 200px; }
.tg-write-wrap .write-btn { margin: 15px 0 25px; text-align: center; }

/* 빈 목록 */
.tg-list-none {
	padding: 80px 0;
	text-align: center;
	color: #999;
}

/* 목록 공통 */
.tg-list-wrap { width: 100%; }
.tg-list-btn-box { margin-bottom: 15px; }
.tg-list-btn-box a span { margin-left: 4px; }

/* 반응형 */
@media all and (max-width: 600px) {
	.tg-date-card .tg-date { min-width: 55px; font-size: 13px; }
	.tg-date-card .tg-subject { font-size: 13px; }
	.tg-verse-header { padding: 18px 14px; }
	.tg-verse-header .tg-verse-title { font-size: 17px; }
	.tg-participant-card { padding: 10px 12px; }
	.tg-info-banner { font-size: 13px; padding: 10px 12px; }
}
