/*
Theme Name: 월세체크 GeneratePress Child
Theme URI: https://wolsecheck.kr/
Description: GeneratePress 기반 월세체크 비교 플랫폼 전용 자식테마입니다.
Author: WOLSECHECK
Version: 1.0.1
Template: generatepress
Text Domain: wolsecheck-generatepress-child
Requires at least: 6.6
Requires PHP: 8.1
*/

:root {
	--wc-navy: #10233f;
	--wc-blue: #246bfd;
	--wc-blue-soft: #eaf0ff;
	--wc-bg: #f4f7fb;
	--wc-card: #ffffff;
	--wc-border: #dce5ef;
	--wc-text: #172033;
	--wc-muted: #65738a;
	--wc-radius: 22px;
	--wc-shadow: 0 18px 48px rgba(16, 35, 63, 0.07);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--wc-bg);
	color: var(--wc-text);
	font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
	font-size: 17px;
	letter-spacing: -0.018em;
	line-height: 1.75;
}

a {
	text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
	outline: 3px solid rgba(36, 107, 253, 0.28);
	outline-offset: 3px;
}

.site-header {
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid var(--wc-border);
}

.site-header .inside-header {
	max-width: 1240px;
	padding: 22px 26px;
}

.site-branding .main-title,
.site-branding .main-title a {
	color: var(--wc-navy);
	font-size: 28px;
	font-weight: 850;
	letter-spacing: -0.055em;
}

.site-description {
	color: var(--wc-muted);
	font-size: 13px;
	margin-top: 2px;
}

.main-navigation,
.main-navigation .inside-navigation {
	background: #fff;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-item > a {
	color: #33435b;
	font-weight: 700;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
	background: transparent;
	color: var(--wc-blue);
}

body.wolsecheck-platform-view .site-content {
	box-sizing: border-box;
	max-width: 1240px;
	padding: 44px 24px 76px;
}

body.wolsecheck-platform-view .content-area {
	float: none;
	width: 100%;
}

body.wolsecheck-platform-view .site-main {
	margin: 0;
}

body.wolsecheck-platform-view .inside-article {
	background: var(--wc-card);
	border: 1px solid rgba(220, 229, 239, 0.95);
	border-radius: var(--wc-radius);
	box-shadow: var(--wc-shadow);
	padding: clamp(28px, 5vw, 62px);
}

body.wolsecheck-platform-view .entry-header {
	margin-bottom: 34px;
}

body.wolsecheck-platform-view .entry-title {
	color: var(--wc-navy);
	font-size: clamp(34px, 5vw, 54px);
	font-weight: 850;
	letter-spacing: -0.06em;
	line-height: 1.18;
}

body.single-wolse_service .entry-meta,
body.post-type-archive-wolse_service .entry-meta {
	display: none;
}

body.single-wolse_service .entry-content > h2 {
	color: var(--wc-navy);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 800;
	letter-spacing: -0.045em;
	line-height: 1.35;
	margin-top: 48px;
}

body.single-wolse_service .entry-content > h2:first-child {
	margin-top: 0;
}

body.single-wolse_service .entry-content p,
body.single-wolse_service .entry-content li {
	color: #2d394c;
}

body.wolsecheck-comparison-page .wolsecheck-compare {
	margin-bottom: 0;
}

body.wolsecheck-platform-view .wolsecheck-filters {
	border-radius: 16px;
	padding: 18px;
}

body.wolsecheck-platform-view .wolsecheck-table-wrap,
body.wolsecheck-platform-view .wolsecheck-service-details {
	border-radius: 18px;
}

body.wolsecheck-platform-view .wolsecheck-detail-button,
body.wolsecheck-platform-view .wolsecheck-primary-button {
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.wolsecheck-platform-view .wolsecheck-detail-button:hover,
body.wolsecheck-platform-view .wolsecheck-primary-button:hover {
	box-shadow: 0 10px 24px rgba(36, 107, 253, 0.2);
	transform: translateY(-1px);
}

.site-footer {
	background: var(--wc-navy);
	color: rgba(255, 255, 255, 0.72);
}

.site-footer .site-info {
	background: transparent;
	font-size: 13px;
	padding: 26px 20px;
}

.site-footer a {
	color: #fff;
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.site-header .inside-header {
		padding: 17px 20px;
	}

	body.wolsecheck-platform-view .site-content {
		padding: 20px 14px 52px;
	}

	body.wolsecheck-platform-view .inside-article {
		border-radius: 16px;
		padding: 25px 18px;
	}

	body.wolsecheck-platform-view .entry-header {
		margin-bottom: 24px;
	}

	body.wolsecheck-platform-view .entry-title {
		font-size: 34px;
	}
}
