/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  GeneratePress Child Theme — KL Divers
 Author:       KL Divers
 Author URI:   https://generatepress.com
 Template:     generatepress
 Version:      1.0.0
 Text Domain:  generatepress-child
*/

/* =====================================================
   KL Divers 커스텀 CSS
   ===================================================== */

a {
	text-decoration: none !important;
}

.inside-right-sidebar .widget:not(:last-child) {
	margin-bottom: -20px;
}

#kboard-default-document .kboard-content .content-view { color: black; }

.dt-mobile-header .sub-nav .next-level-button:before,
.sub-downwards .sub-nav .next-level-button:before,
.sub-downwards.dt-parent-menu-clickable.side-header .sub-nav .next-level-button:before {
	font-size: 16px;
	color: #FC6652;
}

#kboard-ask-one-list .kboard-list-header .kboard-left { display: none; }

#kboard-modern-gallery-list .kboard-list { text-align: center; }
#kboard-modern-gallery-list .kboard-list .kboard-list-item { float: none; display: inline-block; }

#kboard-default-latest table thead { display: none; }

#kboard-default-list .kboard-list-header .kboard-total-count { color: black; }
.kboard-comments-default .comments-list .comments-list-content p { color: black; }

.kboard-thumbnail-cut-strings {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	white-space: unset;
}

#kboard-thumbnail-latest table .kboard-latest-title .kboard-comments-count { color: red; }
#kboard-default-latest table .kboard-latest-title .kboard-comments-count { color: red; }

/* ── 블로그/아카이브 메타 정보 숨기기 ── */
.home .entry-meta,
.archive .entry-meta { display: none; }
.single footer.entry-meta { display: none; }

/* 헤더 내 자동 광고 숨기기 */
header#masthead .google-auto-placed { display: none; }

/* ── 오른쪽 사이드바 (데스크톱) ── */
@media (min-width: 769px) {
	#right-sidebar {
		width: 200px;
	}
	body:not(.no-sidebar) #primary {
		width: calc(100% - 200px);
	}
	.sidebar .widget {
		margin: 10px 0 0 0;
		padding: 0 0 20px 0;
		text-align: left;
	}
	.kboard-default-widget-list { padding: 0 !important; }
	.inside-right-sidebar {
		position: -webkit-sticky;
		position: sticky;
		top: 0px;
	}
}

#kboard-pic-gallery-list .kboard-list .kboard-list-item { width: 30%; }

.entry-title { text-align: center; }

/* ── 헤더-본문 간격 줄이기 ── */
.site-content { padding-top: 0 !important; }
.inside-article { padding-top: 1px !important; }

.elementor-section.elementor-top-section:first-child {
	padding-top: 1px !important;
	margin-top: 0 !important;
}

.entry-header {
	margin-top: 0 !important;
	padding-top: 1px !important;
}

/* ── 모바일 좌우 여백 ── */
@media (max-width: 768px) {
	.separate-containers .inside-article,
	.separate-containers .comments-area,
	.separate-containers .page-header,
	.separate-containers .paging-navigation,
	.one-container .site-content,
	.inside-page-header {
		padding: 10px !important;
	}
	.inside-article,
	.elementor-section.elementor-top-section:first-child {
		padding-top: 5px !important;
	}
}
