﻿/*
Theme Name: Twenty Twenty-One Wedding Herface
Theme URI: https://wedding.herface.co.kr/
Description: Child theme for Wedding Herface custom ad slot layout.
Author: Codex
Template: twentytwentyone
Version: 1.0.0
Text Domain: twentytwentyone-wedding-herface
*/

body.single-post {
	background: #f7f8f9;
	color: #222222;
}

body.home {
	background:
		radial-gradient(circle at top left, rgba(188, 225, 220, 0.7), rgba(188, 225, 220, 0) 42%),
		linear-gradient(180deg, #f3f7f5 0%, #eef3f0 100%);
	color: #1e2f39;
}

body.single-post .site {
	background: transparent;
}

body.home .site {
	background: transparent;
}

.primary-navigation,
.site-header.has-menu .menu-button-container {
	display: none !important;
}

.entry-content .herface-cta-wrap {
	margin: 20px 0 30px;
}

.entry-content .herface-cta-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	width: min(100%, 592px);
	min-height: 80px;
	margin: 20px auto;
	padding: 10px 20px;
	border-radius: 30px;
	background: #fb8c00;
	box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.35);
	color: #ffffff;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.entry-content .herface-cta-button:hover,
.entry-content .herface-cta-button:focus {
	background: #ef6c00;
	color: #ffffff;
	text-decoration: none;
}

body.home .widget-area {
	display: none;
}

body.home .site-main.wh-home-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 28px 24px 72px;
}

.wh-home-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 28px;
	padding: 44px 36px;
	border: 1px solid rgba(148, 175, 168, 0.22);
	border-radius: 32px;
	background:
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72) 32%, rgba(255, 255, 255, 0.58) 100%),
		linear-gradient(135deg, rgba(210, 233, 228, 0.96), rgba(236, 242, 238, 0.94));
	box-shadow: 0 24px 60px rgba(24, 45, 55, 0.08);
}

.wh-home-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -80px;
	width: 300px;
	height: 300px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(253, 173, 84, 0.22), rgba(253, 173, 84, 0) 68%);
	pointer-events: none;
}

.wh-home-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 760px;
}

.wh-home-kicker,
.wh-home-section__kicker {
	margin: 0 0 12px;
	color: #385765;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wh-home-title {
	margin: 0 0 18px;
	color: #193847;
	font-size: clamp(2.6rem, 5vw, 4.6rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	word-break: keep-all;
}

.wh-home-summary {
	max-width: 640px;
	margin: 0 0 28px;
	color: #425861;
	font-size: 1.08rem;
	line-height: 1.85;
}

.wh-home-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 28px;
}

.wh-home-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 15px 24px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.wh-home-button:hover,
.wh-home-button:focus {
	transform: translateY(-1px);
	text-decoration: none;
}

.wh-home-button--primary,
.wh-home-button--secondary {
	background: #fb8c00;
	color: #ffffff;
	box-shadow: 0 14px 28px rgba(251, 140, 0, 0.18);
}

.wh-home-button--primary:hover,
.wh-home-button--primary:focus,
.wh-home-button--secondary:hover,
.wh-home-button--secondary:focus {
	background: #ef6c00;
	color: #ffffff;
}

.wh-home-button--ghost {
	background: rgba(255, 255, 255, 0.68);
	border: 1px solid rgba(56, 87, 101, 0.14);
	color: #234052;
}

.wh-home-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	max-width: 760px;
}

.wh-home-stat {
	padding: 18px 20px;
	border: 1px solid rgba(71, 104, 111, 0.1);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.68);
	backdrop-filter: blur(8px);
}

.wh-home-stat__value {
	display: block;
	margin-bottom: 6px;
	color: #173847;
	font-size: 1.7rem;
	font-weight: 700;
}

.wh-home-stat__label {
	color: #50646d;
	font-size: 0.95rem;
}

.wh-home-section {
	margin-top: 28px;
	padding: 32px 0 0;
}

.wh-home-section__header {
	margin-bottom: 20px;
}

.wh-home-section__title {
	margin: 0;
	color: #173847;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.wh-home-topic-grid,
.wh-home-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.wh-home-topic,
.wh-home-post-card {
	padding: 24px;
	border: 1px solid rgba(69, 95, 104, 0.1);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.84);
	box-shadow: 0 16px 38px rgba(19, 39, 46, 0.05);
}

.wh-home-topic h3,
.wh-home-post-card__title {
	margin: 0 0 10px;
	color: #173847;
	font-size: 1.2rem;
	line-height: 1.35;
}

.wh-home-topic p,
.wh-home-post-card__summary {
	margin: 0;
	color: #53656e;
	font-size: 0.98rem;
	line-height: 1.75;
}

.wh-home-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.wh-home-post-card__title a:hover,
.wh-home-post-card__title a:focus {
	text-decoration: underline;
}

.wh-home-post-card__meta {
	margin: 0 0 10px;
	color: #6a7d85;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.wh-home-post-card__link {
	display: inline-flex;
	margin-top: 16px;
	color: #1d5068;
	font-weight: 700;
	text-decoration: none;
}

.wh-home-post-card__link:hover,
.wh-home-post-card__link:focus {
	text-decoration: underline;
}

.wh-home-more {
	margin-top: 22px;
}

body.wh-import-post #primary.content-area,
body.wh-import-post .site-main {
	max-width: none;
}

body.wh-import-post .site-main {
	padding: 32px 24px 72px;
}

body.wh-import-post .herface-import-entry {
	margin: 0;
}

body.wh-import-post .herface-import-shell {
	width: min(100%, 820px);
	margin: 0 auto;
	padding: 40px 48px 54px;
	background: #ffffff;
	border: 1px solid #e4e7eb;
	border-radius: 22px;
	box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

body.wh-import-post .herface-import-header {
	margin-bottom: 18px;
	padding-bottom: 18px;
	border-bottom: 1px solid #d4dde7;
}

body.wh-import-post .herface-import-title {
	margin: 0;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	color: #1f3c63;
	font-size: clamp(2rem, 3.8vw, 2.75rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	text-align: center;
	word-break: keep-all;
}

body.wh-import-post .wh-ads-slot {
	width: min(100%, 620px);
	margin-left: auto;
	margin-right: auto;
}

body.wh-import-post .wh-ads-slot--title-before {
	margin-bottom: 22px;
}

body.wh-import-post .wh-ads-slot--title-after {
	margin-bottom: 26px;
}

body.wh-import-post .wh-ads-slot--intro {
	margin: 26px 0 34px;
}

body.wh-import-post .wh-ads-slot--h2-1,
body.wh-import-post .wh-ads-slot--h2-2 {
	margin: 18px 0 30px;
}

body.wh-import-post .wh-ads-unit {
	display: block;
	width: 100%;
	min-height: 90px;
}

body.wh-import-post .wh-ads-unit--in-article {
	min-height: 140px;
}

body.wh-import-post .herface-import-content {
	max-width: 620px;
	margin: 0 auto;
	color: #222222;
	font-size: 1.06rem;
	line-height: 1.9;
}

body.wh-import-post .herface-import-content > * {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.wh-import-post .herface-import-content > div[style*="max-width:820px"] {
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.wh-import-post .herface-import-content > div[style] {
	max-width: 100% !important;
	margin: 0 auto !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.wh-import-post .herface-import-content > div[style*="max-width:820px"] > h1 {
	display: none !important;
}

body.wh-import-post .herface-import-content h1 {
	display: none !important;
}

body.wh-import-post .herface-import-content > div[style*="max-width:820px"] > div[style*="max-width:620px"] {
	max-width: 100% !important;
	margin: 0 auto !important;
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

body.wh-import-post .herface-import-content > div[style] div[style] {
	max-width: 100% !important;
	margin: 0 auto !important;
	color: inherit !important;
	font-size: inherit !important;
	line-height: inherit !important;
}

body.wh-import-post .herface-import-content a[style*="background:#fb8c00"] {
	width: 100% !important;
	max-width: 560px !important;
	box-sizing: border-box !important;
}

body.wh-import-post .herface-import-content > p {
	margin-bottom: 1.2rem;
}

body.wh-import-post .herface-import-content > p:first-child {
	margin: 8px 0 26px;
}

body.wh-import-post .herface-import-content > p:first-child a {
	width: min(100%, 560px) !important;
	max-width: 560px !important;
	margin: 8px auto 0 !important;
}

body.wh-import-post .herface-import-content h2 {
	margin-top: 2.15rem;
	margin-bottom: 1rem;
	padding-bottom: 0.65rem;
	color: #1f3c63;
	font-size: clamp(1.55rem, 3vw, 2rem);
	line-height: 1.3;
	border-bottom: 1px solid #e4e7eb;
}

body.wh-import-post .herface-import-content ul,
body.wh-import-post .herface-import-content ol {
	padding-left: 1.25rem;
}

body.wh-import-post .widget-area,
body.wh-import-post .post-navigation,
body.wh-import-post .entry-footer,
body.wh-import-post .author-bio {
	display: none;
}

@media (max-width: 767px) {
	body.wh-import-post .wh-ads-slot--title-before,
	body.wh-import-post .wh-ads-slot--title-after {
		display: none;
	}

	.entry-content .herface-cta-button {
		width: 100%;
		min-height: 64px;
		font-size: 20px;
	}

	body.wh-import-post .site-main {
		padding: 18px 10px 42px;
	}

	body.wh-import-post .herface-import-shell {
		width: 100%;
		padding: 22px 14px 34px;
		border-radius: 14px;
	}

	body.wh-import-post .wh-ads-slot {
		width: 100%;
	}

	body.wh-import-post .wh-ads-slot--title-before {
		margin-bottom: 18px;
	}

	body.wh-import-post .wh-ads-slot--title-after {
		margin-bottom: 22px;
	}

	body.wh-import-post .wh-ads-slot--intro,
	body.wh-import-post .wh-ads-slot--h2-1,
	body.wh-import-post .wh-ads-slot--h2-2 {
		margin: 16px 0 24px;
	}

	body.wh-import-post .wh-ads-unit {
		min-height: 72px;
	}

	body.wh-import-post .herface-import-title {
		font-size: clamp(1.55rem, 7.2vw, 2rem);
		line-height: 1.22;
	}

	body.wh-import-post .herface-import-content {
		max-width: 100%;
		font-size: 1rem;
		line-height: 1.85;
	}

	body.wh-import-post .herface-import-content h2 {
		margin-top: 1.75rem !important;
		font-size: 1.45rem !important;
		line-height: 1.32 !important;
	}

	body.wh-import-post .herface-import-content p[style*="text-align:center"] a {
		min-height: 64px !important;
		padding: 10px 14px !important;
		border-radius: 20px !important;
		font-size: 18px !important;
		line-height: 1.25 !important;
	}

	body.home .site-main.wh-home-main {
		padding: 18px 16px 48px;
	}

	.wh-home-hero {
		padding: 32px 20px;
		border-radius: 24px;
	}

	.wh-home-title {
		font-size: clamp(2.2rem, 10vw, 3.2rem);
	}

	.wh-home-actions,
	.wh-home-stats,
	.wh-home-topic-grid,
	.wh-home-post-grid {
		grid-template-columns: 1fr;
	}

	.wh-home-actions {
		display: grid;
	}

	.wh-home-button {
		width: 100%;
	}
}
