/*
Theme Name: K-대리 GeneratePress Child
Theme URI: https://kdaeri.co.kr/
Description: K-대리운전·탁송을 위한 GeneratePress 경량 자식 테마입니다.
Author: K-대리운전
Template: generatepress
 Version: 0.3.87
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: kdaeri-generatepress-child
*/

:root {
	--kdaeri-blue: #075fe4;
	--kdaeri-navy: #14213d;
	--kdaeri-surface: #ffffff;
	--kdaeri-page: #f4f7fb;
	--kdaeri-border: #e5eaf2;
	--kdaeri-font: "%eb%82%98%eb%88%94%ec%8a%a4%ed%80%98%ec%96%b4%eb%84%a4%ec%98%a4", "Noto Sans KR", sans-serif;
}

/* Keep featured images for SEO/social data without duplicating them above service content. */
.kdaeri-gp-child:not(.home) .page-header-image-single,
.kdaeri-gp-child:not(.home) .inside-article > footer.entry-meta {
	display: none;
}

/* Service posts and noindex utility listings do not need a visible author row. */
.kdaeri-gp-child.single .entry-header .entry-meta,
.kdaeri-gp-child.archive .entry-header .entry-meta,
.kdaeri-gp-child.search .entry-header .entry-meta {
	display: none;
}

/* Keep service-page typography readable and consistent with the existing brand font. */
.kdaeri-gp-child,
.kdaeri-gp-child button,
.kdaeri-gp-child input,
.kdaeri-gp-child select,
.kdaeri-gp-child textarea {
	font-family: var(--kdaeri-font) !important;
}

.kdaeri-gp-child .entry-title,
.kdaeri-gp-child .entry-content h1 {
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.kdaeri-gp-child .entry-content h2 {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.3;
}

.kdaeri-gp-child .entry-content h3 {
	font-size: 22px;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.3;
}

.kdaeri-gp-child .entry-content {
	font-size: 17px;
	letter-spacing: normal;
	line-height: 1.75;
}

.kdaeri-gp-child .entry-content p,
.kdaeri-gp-child .entry-content li {
	line-height: inherit;
}

/* Restore service-page telephone CTAs that were previously styled by Inspiro. */
.kdaeri-gp-child .entry-content a.kcta-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 60px;
	padding: 14px 18px;
	border-radius: 999px;
	background: #0066ff;
	box-shadow: 0 6px 14px rgba(0, 102, 255, 0.25);
	color: #ffffff;
	font-size: 16.8px;
	font-weight: 600;
	line-height: 1.9;
	text-align: center;
	text-decoration: none;
}

.kdaeri-gp-child .entry-content a.kcta-phone--full {
	width: 100%;
	max-width: 680px;
}

.kdaeri-gp-child .entry-content .kcta-wrap {
	display: flex;
	justify-content: center;
	width: 100%;
}

/* Restore the strong service links that Inspiro presented as centered buttons. */
.kdaeri-gp-child .entry-content a.kservice-btn-strong {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: fit-content;
	min-width: min(100%, 360px);
	min-height: 56px;
	margin: 24px auto;
	padding: 13px 26px;
	border-radius: 999px;
	background: #0066ff;
	box-shadow: 0 6px 14px rgba(0, 102, 255, 0.22);
	color: #ffffff;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
}

.kdaeri-gp-child .entry-content a.kcta-phone:hover,
.kdaeri-gp-child .entry-content a.kcta-phone:focus-visible,
.kdaeri-gp-child .entry-content a.kservice-btn-strong:hover,
.kdaeri-gp-child .entry-content a.kservice-btn-strong:focus-visible {
	background: #075fe4;
	color: #ffffff;
	transform: translateY(-1px);
}

body.kdaeri-gp-child {
	background: var(--kdaeri-page);
	color: #202938;
}

.kdaeri-gp-child.home .entry-header {
	display: none;
}

.kdaeri-gp-child.home .featured-image.page-header-image,
.kdaeri-gp-child.home .entry-content > .pattern_multiple_covers {
	display: none;
}

.kdaeri-home-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
	gap: clamp(30px, 5vw, 72px);
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 24px auto 0;
	padding: clamp(38px, 5vw, 68px);
	border: 1px solid #dce7f7;
	border-radius: 28px;
	overflow: hidden;
	background:
		radial-gradient(circle at 88% 12%, rgba(7, 95, 228, 0.16), transparent 34%),
		linear-gradient(135deg, #ffffff 0%, #f5f9ff 58%, #edf5ff 100%);
	box-shadow: 0 24px 70px rgba(20, 33, 61, 0.1);
}

.kdaeri-home-hero::before {
	position: absolute;
	top: -110px;
	right: -80px;
	width: 300px;
	height: 300px;
	border: 1px solid rgba(7, 95, 228, 0.13);
	border-radius: 50%;
	content: "";
}

.kdaeri-home-hero__copy,
.kdaeri-home-hero__visual {
	position: relative;
	z-index: 1;
}

.kdaeri-home-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.kdaeri-home-hero__eyebrow {
	width: fit-content;
	margin: 0 0 18px;
	padding: 7px 12px;
	border-radius: 999px;
	background: #e7f0ff;
	color: #0753bd;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.kdaeri-home-hero h1 {
	margin: 0;
	color: var(--kdaeri-navy);
	font-size: clamp(30px, 2.8vw, 38px);
	font-weight: 850;
	letter-spacing: -0.035em;
	line-height: 1.35;
}

.kdaeri-home-hero h1 span {
	color: var(--kdaeri-blue);
}

.kdaeri-home-hero__lead {
	max-width: 650px;
	margin: 24px 0 0;
	color: #526079;
	font-size: 18px;
	line-height: 1.72;
}

.kdaeri-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.kdaeri-home-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 20px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.kdaeri-home-hero__button:hover {
	transform: translateY(-2px);
}

.kdaeri-home-hero__button--primary {
	background: var(--kdaeri-blue);
	box-shadow: 0 10px 24px rgba(7, 95, 228, 0.24);
	color: #ffffff;
}

.kdaeri-home-hero__button--primary:hover,
.kdaeri-home-hero__button--primary:focus {
	color: #ffffff;
}

.kdaeri-home-hero__button strong {
	margin-left: 7px;
}

.kdaeri-home-hero__button--secondary {
	border-color: #cbd9ee;
	background: rgba(255, 255, 255, 0.8);
	color: #18314f;
}

.kdaeri-home-hero__trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.kdaeri-home-hero__trust li {
	display: flex;
	flex-direction: column;
	padding: 13px 14px;
	border-left: 3px solid #b9d2f7;
}

.kdaeri-home-hero__trust strong {
	color: #163354;
	font-size: 18px;
}

.kdaeri-home-hero__trust span {
	margin-top: 2px;
	color: #6a7890;
	font-size: 13px;
}

.kdaeri-home-hero__visual {
	display: flex;
	align-items: center;
	justify-content: center;
}

.kdaeri-route-card {
	width: 100%;
	max-width: 420px;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 24px 60px rgba(23, 64, 120, 0.18);
	backdrop-filter: blur(10px);
}

.kdaeri-route-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 20px;
	border-bottom: 1px solid #e5edf8;
	color: #172b48;
	font-size: 16px;
	font-weight: 800;
}

.kdaeri-route-card__top em {
	padding: 5px 9px;
	border-radius: 999px;
	background: #e8f8ef;
	color: #15803d;
	font-size: 12px;
	font-style: normal;
}

.kdaeri-route-card__route {
	padding: 24px 4px 18px;
}

.kdaeri-route-card__point {
	display: flex;
	align-items: center;
	gap: 14px;
}

.kdaeri-route-card__point i {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #e7f0ff;
	color: var(--kdaeri-blue);
	font-size: 13px;
	font-style: normal;
	font-weight: 850;
}

.kdaeri-route-card__point--end i {
	background: #14213d;
	color: #ffffff;
}

.kdaeri-route-card__point span {
	color: #1c2f4a;
	font-size: 15px;
	font-weight: 800;
}

.kdaeri-route-card__point small {
	display: block;
	margin-top: 2px;
	color: #7a879b;
	font-size: 13px;
	font-weight: 500;
}

.kdaeri-route-card__line {
	width: 2px;
	height: 28px;
	margin: 4px 0 4px 18px;
	background: repeating-linear-gradient(to bottom, #9eb7da 0 4px, transparent 4px 8px);
}

.kdaeri-route-card__services {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.kdaeri-route-card__services a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	min-height: 48px;
	padding: 0 12px;
	border: 1px solid #dbe7f7;
	border-radius: 11px;
	background: #f0f5fb;
	box-shadow: 0 8px 18px rgba(20, 33, 61, 0.1);
	color: #1f3c63;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.kdaeri-route-card__services a:hover,
.kdaeri-route-card__services a:focus {
	border-color: #bfd4f3;
	background: #e3edfb;
	box-shadow: 0 12px 24px rgba(20, 33, 61, 0.16);
	color: #0753bd;
	transform: translateY(-2px);
}

.kdaeri-route-card__services a:first-child {
	border-color: #ff6633;
	background: #ff6633;
	box-shadow: 0 8px 18px rgba(255, 102, 51, 0.24);
	color: #ffffff;
}

.kdaeri-route-card__services a:first-child:hover,
.kdaeri-route-card__services a:first-child:focus {
	border-color: #e95525;
	background: #e95525;
	box-shadow: 0 12px 24px rgba(255, 102, 51, 0.32);
	color: #ffffff;
}

.kdaeri-route-card > p {
	margin: 18px 0 0;
	color: #64748b;
	font-size: 13px;
	text-align: center;
}

.kdaeri-gp-child.home #page {
	display: none;
}

.kdaeri-home-main {
	display: block;
	padding-bottom: 56px;
}

.kdaeri-home-section {
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 32px auto 0;
	padding: clamp(42px, 5vw, 72px);
	border: 1px solid var(--kdaeri-border);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 14px 44px rgba(20, 33, 61, 0.06);
}

.kdaeri-home-section__heading {
	max-width: 720px;
	margin: 0 auto 38px;
	text-align: center;
}

.kdaeri-home-section__heading--left {
	max-width: 760px;
	margin-right: auto;
	margin-left: 0;
	text-align: left;
}

.kdaeri-home-section__heading > p,
.kdaeri-home-wide > div > p,
.kdaeri-home-final > p {
	margin: 0 0 10px;
	color: var(--kdaeri-blue);
	font-size: 16px;
	font-weight: 850;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.kdaeri-home-section__heading h2,
.kdaeri-home-wide h2,
.kdaeri-home-final h2 {
	margin: 0;
	color: var(--kdaeri-navy);
	font-size: clamp(30px, 2.8vw, 38px);
	font-weight: 830;
	letter-spacing: -0.035em;
	line-height: 1.35;
}

.kdaeri-home-section__heading > span,
.kdaeri-home-wide > div > span {
	display: block;
	margin-top: 15px;
	color: #66758b;
	font-size: 16px;
	line-height: 1.65;
}

.kdaeri-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.kdaeri-home-feature {
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 32px auto 0;
	border: 1px solid var(--kdaeri-border);
	border-radius: 24px;
	overflow: hidden;
	background: #dbe7f7;
	box-shadow: 0 14px 44px rgba(20, 33, 61, 0.08);
}

.kdaeri-home-feature__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1898 / 829;
	object-fit: cover;
}

.kdaeri-service-card {
	position: relative;
	padding: 34px;
	border: 1px solid #dfe7f2;
	border-radius: 18px;
	overflow: hidden;
	background: #fbfdff;
}

.kdaeri-service-card::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--kdaeri-blue);
	content: "";
}

.kdaeri-service-card--delivery::before {
	background: #14213d;
}

.kdaeri-service-card--golf::before {
	background: #0d7f75;
}

.kdaeri-service-card--daily::before {
	background: #6a56b3;
}

.kdaeri-service-card__number {
	position: absolute;
	top: 26px;
	right: 30px;
	color: #d8e4f4;
	font-size: 34px;
	font-weight: 850;
	line-height: 1;
}

.kdaeri-service-card__label {
	margin: 0 0 12px;
	color: #5d6e85;
	font-size: 13px;
	font-weight: 750;
}

.kdaeri-service-card h3 {
	margin: 0;
	color: var(--kdaeri-navy);
	font-size: 30px;
	font-weight: 820;
	letter-spacing: -0.04em;
}

.kdaeri-service-card > p:not(.kdaeri-service-card__label) {
	max-width: 500px;
	margin: 16px 0 0;
	color: #5f6d82;
	font-size: 15px;
	line-height: 1.7;
}

.kdaeri-service-card ul {
	display: grid;
	gap: 8px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.kdaeri-service-card li {
	position: relative;
	padding-left: 17px;
	color: #32455f;
	font-size: 14px;
}

.kdaeri-service-card li::before {
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--kdaeri-blue);
	content: "";
}

.kdaeri-service-card__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 28px;
}

.kdaeri-text-link {
	color: #38506f;
	font-size: 14px;
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.kdaeri-card-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 17px;
	border-radius: 10px;
	background: #eaf2ff;
	color: #0753bd;
	font-size: 14px;
	font-weight: 800;
}

.kdaeri-home-steps {
	border-color: #14213d;
	background: #14213d;
}

.kdaeri-home-steps .kdaeri-home-section__heading > p {
	color: #78aef8;
}

.kdaeri-home-steps .kdaeri-home-section__heading h2 {
	color: #ffffff;
}

.kdaeri-home-steps .kdaeri-home-section__heading > span {
	color: #b7c3d4;
}

.kdaeri-step-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kdaeri-step-grid li {
	display: flex;
	gap: 16px;
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.05);
}

.kdaeri-step-grid b {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ffffff;
	color: #14213d;
	font-size: 14px;
}

.kdaeri-step-grid h3 {
	margin: 3px 0 0;
	color: #ffffff;
	font-size: 18px;
	font-weight: 780;
}

.kdaeri-step-grid p {
	margin: 8px 0 0;
	color: #b8c4d4;
	font-size: 14px;
	line-height: 1.55;
}

.kdaeri-home-benefits {
	display: grid;
	grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(30px, 5vw, 72px);
	align-items: start;
}

.kdaeri-benefit-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.kdaeri-benefit-grid article {
	padding: 24px;
	border: 1px solid #e2e9f3;
	border-radius: 14px;
	background: #fbfcfe;
}

.kdaeri-benefit-grid article > span {
	color: #8aa7d0;
	font-size: 12px;
	font-weight: 850;
}

.kdaeri-benefit-grid h3 {
	margin: 14px 0 0;
	color: #1d3452;
	font-size: 18px;
	font-weight: 800;
}

.kdaeri-benefit-grid p {
	margin: 9px 0 0;
	color: #6a778b;
	font-size: 14px;
	line-height: 1.6;
}

.kdaeri-home-wide {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 32px auto 0;
	padding: clamp(34px, 4vw, 52px);
	border-radius: 22px;
	background: #eaf3ff;
}

.kdaeri-home-wide > div {
	max-width: 760px;
}

.kdaeri-home-wide > a {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 0 28px;
	border-radius: 11px;
	background: var(--kdaeri-blue);
	box-shadow: 0 10px 24px rgba(7, 95, 228, 0.2);
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.kdaeri-home-final {
	width: calc(100% - 40px);
	max-width: 1200px;
	margin: 32px auto 0;
	padding: clamp(40px, 5vw, 62px);
	border-radius: 24px;
	background: #ffffff;
	box-shadow: 0 14px 44px rgba(20, 33, 61, 0.07);
	text-align: center;
}

.kdaeri-home-final__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 240px));
	justify-content: center;
	gap: 10px;
	margin-top: 24px;
}

.kdaeri-home-final__actions a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 18px;
	border: 1px solid #dbe5f2;
	border-radius: 12px;
	background: #f8fbff;
	color: #1d3554;
	text-decoration: none;
}

.kdaeri-home-final__actions a:first-child {
	border-color: var(--kdaeri-blue);
	background: var(--kdaeri-blue);
	color: #ffffff;
}

.kdaeri-home-final__actions span {
	font-size: 14px;
	font-weight: 750;
	opacity: 0.75;
}

.kdaeri-home-final__actions strong {
	margin-left: 7px;
	font-size: 20px;
	line-height: 1.2;
}

/* Homepage and search listings use two service actions instead of the legacy call pill. */
.home.kdaeri-gp-child > a.kcb-fixed,
.search.kdaeri-gp-child > a.kcb-fixed {
	display: none !important;
}

.kdaeri-home-call-dock {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9999;
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 8px;
}

.kdaeri-home-call-dock a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	height: 48px;
	min-height: 48px;
	padding: 0 16px;
	border: 1px solid #cbd9ee;
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(20, 33, 61, 0.18);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.2;
	text-decoration: none;
}

.kdaeri-home-call-dock a strong {
	margin-left: 7px;
	font-size: 17px;
}

.kdaeri-home-hero__button strong,
.kdaeri-home-final__actions strong,
.kdaeri-home-call-dock a strong {
	display: inline-block;
	width: 5.95em;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
	text-align: left;
	white-space: nowrap;
}

.kdaeri-home-call-dock a.kdaeri-home-call-dock__driver {
	border-color: var(--kdaeri-blue);
	background: var(--kdaeri-blue);
	color: #ffffff;
}

.kdaeri-home-call-dock__delivery {
	background: #ffffff;
	color: var(--kdaeri-navy);
}

/* Keep every homepage primary call action visually consistent with the app CTA. */
.kdaeri-home-hero__button,
.kdaeri-home-wide > a,
.kdaeri-home-final__actions a,
.kdaeri-home-call-dock a {
	box-sizing: border-box;
	height: 48px;
	min-height: 48px;
	padding: 0 28px;
	border: 1px solid var(--kdaeri-blue);
	border-radius: 11px;
	background: var(--kdaeri-blue);
	box-shadow: 0 10px 24px rgba(7, 95, 228, 0.2);
	color: #ffffff;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.kdaeri-home-hero__button:hover,
.kdaeri-home-hero__button:focus,
.kdaeri-home-wide > a:hover,
.kdaeri-home-wide > a:focus,
.kdaeri-home-final__actions a:hover,
.kdaeri-home-final__actions a:focus,
.kdaeri-home-call-dock a:hover,
.kdaeri-home-call-dock a:focus {
	border-color: #064fbf;
	background: #064fbf;
	box-shadow: 0 14px 30px rgba(7, 95, 228, 0.3);
	color: #ffffff;
	transform: translateY(-2px);
}

.kdaeri-home-final__actions span,
.kdaeri-home-hero__button strong,
.kdaeri-home-final__actions strong,
.kdaeri-home-call-dock a strong {
	font-size: 16px;
	font-weight: 800;
	opacity: 1;
}

/* Delivery actions keep their original light treatment while sharing size and motion. */
.kdaeri-home-hero__button--secondary {
	border-color: #cbd9ee;
	background: rgba(255, 255, 255, 0.8);
	color: #18314f;
}

.kdaeri-home-final__actions a:last-child {
	border-color: #dbe5f2;
	background: #f8fbff;
	color: #1d3554;
}

.kdaeri-home-call-dock a.kdaeri-home-call-dock__delivery {
	border-color: #cbd9ee;
	background: #ffffff;
	color: var(--kdaeri-navy);
}

.kdaeri-home-hero__button--secondary:hover,
.kdaeri-home-hero__button--secondary:focus,
.kdaeri-home-final__actions a:last-child:hover,
.kdaeri-home-final__actions a:last-child:focus,
.kdaeri-home-call-dock a.kdaeri-home-call-dock__delivery:hover,
.kdaeri-home-call-dock a.kdaeri-home-call-dock__delivery:focus {
	border-color: #9eb7da;
	background: #eef4fc;
	color: var(--kdaeri-navy);
}

.kdaeri-gp-child .site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid #e2e8f0;
	background: #f5f8ff;
	box-shadow: 0 5px 22px rgba(20, 33, 61, 0.06);
}

.admin-bar.kdaeri-gp-child .site-header {
	top: 32px;
}

.kdaeri-gp-child .inside-header {
	display: flex;
	align-items: center;
	gap: 22px;
	width: 100%;
	max-width: 1440px;
	min-height: 76px;
	margin: 0 auto;
	padding: 8px 28px;
}

.kdaeri-gp-child .site-branding-container {
	display: inline-flex;
	flex: 0 1 auto;
	align-items: center;
	min-width: 0;
}

.kdaeri-gp-child .site-branding-container .site-logo {
	flex: 0 0 auto;
	width: 46px;
	max-width: 46px;
	margin-right: 10px;
}

.kdaeri-gp-child .site-header .header-image {
	display: block;
	width: 46px !important;
	height: 46px !important;
	max-width: 46px;
	max-height: 46px;
	border-radius: 50%;
	object-fit: contain;
}

.kdaeri-gp-child .site-branding {
	min-width: 0;
}

.kdaeri-gp-child .main-title {
	margin: 0;
	color: #123f7a;
	font-size: clamp(23px, calc(1.8vw + 3px), 28px);
	font-weight: 750;
	line-height: 1.25;
	white-space: nowrap;
}

.kdaeri-gp-child .main-title a {
	color: #123f7a;
}

.kdaeri-gp-child .main-title a:hover,
.kdaeri-gp-child .main-title a:focus-visible {
	color: var(--kdaeri-blue);
}

.kdaeri-gp-child .site-description {
	display: none;
}

.kdaeri-gp-child .main-navigation {
	margin-left: auto;
	background: transparent;
}

.kdaeri-gp-child .main-navigation .main-nav > ul > li > a,
.kdaeri-gp-child .main-navigation .main-nav > ul > li > a + .dropdown-menu-toggle {
	color: #26344c;
	font-weight: 650;
}

.kdaeri-gp-child .main-navigation .main-nav > ul > li > a {
	padding-right: 15px;
	padding-left: 15px;
}

/* GeneratePress native navigation search modal trigger. */
.kdaeri-gp-child #site-navigation .menu-bar-items {
	margin-left: 4px;
}

.kdaeri-gp-child #site-navigation .menu-bar-item > a[data-gpmodal-trigger="gp-search"] {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 12px;
	color: #26344c;
}

.kdaeri-gp-child #site-navigation .menu-bar-item > a[data-gpmodal-trigger="gp-search"]:hover,
.kdaeri-gp-child #site-navigation .menu-bar-item > a[data-gpmodal-trigger="gp-search"]:focus-visible {
	background: #eef4fc;
	color: var(--kdaeri-blue);
}

.kdaeri-gp-child #site-navigation .menu-bar-item > a[data-gpmodal-trigger="gp-search"] svg {
	width: 20px;
	height: 20px;
}

.kdaeri-gp-child .featured-image.page-header-image {
	width: calc(100% - 40px);
	max-width: 1040px;
	margin-top: 16px;
	border: 1px solid var(--kdaeri-border);
	border-radius: 18px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(20, 33, 61, 0.05);
}

.kdaeri-gp-child .featured-image.page-header-image img {
	display: block;
	width: 100%;
	height: auto;
}

.kdaeri-gp-child .main-navigation .main-nav > ul > li > a:hover,
.kdaeri-gp-child .main-navigation .main-nav > ul > li.sfHover > a,
.kdaeri-gp-child .main-navigation .main-nav > ul > li.current-menu-item > a {
	color: var(--kdaeri-blue);
}

.kdaeri-gp-child .site-content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px 40px;
}

.kdaeri-gp-child .content-area,
.kdaeri-gp-child #primary,
.kdaeri-gp-child #main {
	width: 100%;
}

.kdaeri-gp-child.separate-containers .site-main {
	margin: 20px 0 0;
}

.kdaeri-gp-child.separate-containers .inside-article,
.kdaeri-gp-child.separate-containers .page-header {
	padding: clamp(22px, 3.5vw, 46px);
	border: 1px solid var(--kdaeri-border);
	border-radius: 18px;
	background: var(--kdaeri-surface);
	box-shadow: 0 10px 30px rgba(20, 33, 61, 0.05);
}

.kdaeri-gp-child .entry-title {
	color: var(--kdaeri-navy);
}

.kdaeri-gp-child.search .page-header .page-title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
}

.kdaeri-gp-child.search article .entry-title {
	font-size: 26px;
	line-height: 1.35;
}

.kdaeri-gp-child .entry-content {
	margin-top: 24px;
}

/* Match every generated driver hero's title spacing to the delivery hero. */
.kdaeri-gp-child .kdb-page .kdb-eyebrow {
	margin-bottom: 20px;
}

.kdaeri-gp-child:has(#kdaeri-driver_nationwide) #kdaeri-driver_nationwide .kdb-quick-facts {
	display: none;
}

@media (min-width: 769px) {
	/* Use more of the wide desktop hero while preserving comfortable reading length. */
	.kdaeri-gp-child .kdb-page .kdb-hero-copy,
	.kdaeri-gp-child .kdt-page .kdt-hero-copy {
		max-width: 920px;
	}
}

.kdaeri-gp-child.no-sidebar .entry-content > .alignfull {
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

.kdaeri-gp-child .site-info {
	background: #09111f;
	color: #cbd5e1;
}

.kdaeri-gp-child .inside-site-info {
	padding: 34px 20px 30px;
}

.kdaeri-gp-child .site-info a {
	color: #ffffff;
	text-decoration: none;
}

.kdaeri-footer-business {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
}

.kdaeri-footer-business__main {
	display: block;
}

.kdaeri-footer-business__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	color: #aeb9ca;
	font-size: 13px;
	line-height: 1.55;
}

.kdaeri-footer-business__details strong {
	width: 100%;
	color: #ffffff;
	font-size: 17px;
}

.kdaeri-footer-business__details a {
	color: #cbd5e1;
}

.kdaeri-footer-business__copyright {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #8998ac;
	font-size: 12px;
}

@media (max-width: 782px) {
	.admin-bar.kdaeri-gp-child .site-header {
		top: 46px;
	}
}

@media (max-width: 1024px) {
	.kdaeri-home-hero {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
		gap: 28px;
		padding: 42px;
	}

	.kdaeri-home-benefits {
		grid-template-columns: 1fr;
	}

	.kdaeri-gp-child .inside-header {
		gap: 10px;
		padding-right: 18px;
		padding-left: 18px;
	}

	.kdaeri-gp-child .site-branding-container .site-logo,
	.kdaeri-gp-child .site-header .header-image {
		max-width: 46px;
	}

	.kdaeri-gp-child .main-navigation .main-nav > ul > li > a {
		padding-right: 12px;
		padding-left: 12px;
	}
}

@media (max-width: 768px) {
	.kdaeri-home-hero {
		grid-template-columns: 1fr;
		gap: 28px;
		width: calc(100% - 20px);
		margin-top: 12px;
		padding: 30px 22px 24px;
		border-radius: 20px;
	}

	.kdaeri-home-hero__eyebrow {
		margin-bottom: 14px;
		font-size: 12px;
	}

	.kdaeri-home-hero h1 {
		font-size: 28px;
		line-height: 1.35;
	}

	.kdaeri-home-hero__lead {
		margin-top: 18px;
		font-size: 16px;
		line-height: 1.65;
	}

	.kdaeri-home-hero__actions {
		display: grid;
		grid-template-columns: 1fr;
		margin-top: 22px;
	}

	.kdaeri-home-hero__button {
		width: 100%;
		height: 52px;
		min-height: 52px;
	}

	.kdaeri-route-card__services a {
		height: 52px;
		min-height: 52px;
		padding: 0 6px;
		font-size: 14px;
		white-space: nowrap;
	}

	.kdaeri-home-hero__trust {
		gap: 4px;
		margin-top: 22px;
	}

	.kdaeri-home-hero__trust li {
		padding: 10px 7px;
	}

	.kdaeri-home-hero__trust strong {
		font-size: 15px;
	}

	.kdaeri-home-hero__trust span {
		font-size: 11px;
	}

	.kdaeri-route-card {
		padding: 22px;
		border-radius: 18px;
	}

	.kdaeri-gp-child .inside-header {
		flex-flow: row wrap;
		gap: 8px;
		min-height: 64px;
		padding: 8px 14px;
		text-align: left;
	}

	.kdaeri-gp-child .site-branding-container {
		flex: 0 1 auto;
		width: auto;
		max-width: calc(100% - 108px);
		margin: 0;
	}

	.kdaeri-gp-child .site-branding-container .site-logo {
		width: 40px;
		max-width: 40px;
		margin-right: 8px;
	}

	.kdaeri-gp-child .site-header .header-image {
		width: 40px !important;
		height: 40px !important;
		max-width: 40px !important;
		max-height: 40px;
	}

	.kdaeri-gp-child .site-branding {
		display: block;
		min-width: 0;
	}

	.kdaeri-gp-child .main-title {
		font-size: clamp(19px, calc(5vw + 3px), 23px);
		letter-spacing: -0.04em;
	}

	.kdaeri-gp-child .mobile-menu-control-wrapper {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		margin-left: auto;
	}

	.kdaeri-gp-child .main-navigation.mobile-menu-control-wrapper {
		width: auto;
		margin-left: auto;
	}

	.kdaeri-gp-child .main-navigation.mobile-menu-control-wrapper .menu-toggle {
		width: 48px;
		min-height: 48px;
		padding: 0;
		line-height: 48px;
	}

	.kdaeri-gp-child .main-navigation.mobile-menu-control-wrapper.toggled {
		flex: 0 0 auto;
		width: auto;
		margin-left: auto;
	}

	.kdaeri-gp-child .main-navigation.toggled .main-nav > ul {
		border-top: 1px solid var(--kdaeri-border);
		background: #ffffff;
	}

	.kdaeri-gp-child .main-navigation.toggled .main-nav li a {
		line-height: 48px;
	}

	.kdaeri-gp-child .mobile-menu-control-wrapper .menu-bar-item {
		display: flex;
		align-items: center;
	}

	.kdaeri-gp-child .main-navigation.toggled .main-nav {
		max-height: calc(100dvh - 140px);
		padding-bottom: 16px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.kdaeri-gp-child:has(#site-navigation.toggled) .kdaeri-home-call-dock {
		display: none;
	}

	.kdaeri-gp-child .main-navigation.toggled .main-nav .sub-menu a {
		display: flex;
		align-items: center;
		min-height: 40px;
		padding: 9px 18px;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.35;
	}

	.kdaeri-gp-child .site-content {
		padding: 0 10px 24px;
	}

	.kdaeri-gp-child .featured-image.page-header-image {
		width: calc(100% - 20px);
		margin-top: 12px;
		border-radius: 12px;
	}

	.kdaeri-gp-child.separate-containers .site-main {
		margin-top: 10px;
	}

	.kdaeri-gp-child.separate-containers .inside-article,
	.kdaeri-gp-child.separate-containers .page-header {
		padding: 20px 14px;
		border-radius: 12px;
	}

	.kdaeri-gp-child .entry-title {
		font-size: 30px;
	}

	.kdaeri-gp-child.search .page-header .page-title {
		font-size: 22px;
		font-weight: 700;
		line-height: 1.3;
	}

	.kdaeri-gp-child.search article .entry-title {
		font-size: 20px;
		line-height: 1.35;
	}

	.kdaeri-gp-child .entry-content h1 {
		font-size: 30px;
	}

	.kdaeri-gp-child .entry-content h2 {
		font-size: 24px;
	}

	.kdaeri-gp-child .entry-content h3 {
		font-size: 20px;
	}

	.kdaeri-gp-child .entry-content a.kservice-btn-strong {
		width: 100%;
		min-width: 0;
	}

	.kdaeri-gp-child .entry-content {
		margin-top: 18px;
	}

	/*
	 * Region service pages already provide their own full-width card system.
	 * Remove the theme's second mobile inset so driver and delivery pages share
	 * one compact outer gutter and the same header-to-content spacing.
	 */
	.kdaeri-gp-child:has(.kdb-page, .kdt-page) .site-content {
		padding: 0 6px 24px;
	}

	.kdaeri-gp-child:has(.kdb-page, .kdt-page).separate-containers .site-main {
		margin-top: 6px;
	}

	.kdaeri-gp-child:has(.kdb-page, .kdt-page).separate-containers .inside-article {
		padding: 0;
		border-radius: 14px;
		overflow: hidden;
	}

	.kdaeri-gp-child.single-post:has(.kdb-page) .inside-article .entry-content,
	.kdaeri-gp-child.single-post:has(.kdt-page) .inside-article .entry-content {
		margin-top: 0 !important;
		padding: 0 !important;
	}

	/*
	 * Give every generated driver/delivery section heading the same readable
	 * mobile inset. Related-service headings are direct section children, so
	 * they receive the matching inset separately.
	 */
	.kdaeri-gp-child .kdb-page .kdb-section-head,
	.kdaeri-gp-child .kdt-page .kdt-section-head,
	.kdaeri-gp-child .kdt-page .kdt-related-section > h2,
	.kdaeri-gp-child .kdt-page .kdt-related-section > .kdt-related-intro {
		box-sizing: border-box;
		padding-right: 8px;
		padding-left: 8px;
	}

	/* The standalone fare page also has editorial blocks outside the card wrappers. */
	.kdaeri-gp-child.postid-41469 .inside-article .entry-content > :not(.kdb-page):not(script):not(style) {
		margin-left: 16px;
		margin-right: 16px;
	}
	.kdaeri-gp-child.postid-41469 .inside-article .entry-content > :is(ol, ul) {
		padding-left: 1.5em;
	}

	/* Reveal the cost column before horizontal scrolling on the distance table. */
	.kdaeri-gp-child.postid-41469 section[aria-labelledby="kdaeri-fare-distance-title"] .kdb-table {
		width: 460px;
		min-width: 460px;
		table-layout: fixed;
	}
	.kdaeri-gp-child.postid-41469 section[aria-labelledby="kdaeri-fare-distance-title"] :is(th, td) {
		padding-left: 8px;
		padding-right: 8px;
	}
	.kdaeri-gp-child.postid-41469 section[aria-labelledby="kdaeri-fare-distance-title"] :is(th, td):nth-child(1) { width: 100px; }
	.kdaeri-gp-child.postid-41469 section[aria-labelledby="kdaeri-fare-distance-title"] :is(th, td):nth-child(2) { width: 130px; }

	/* The driver recent-rides stylesheet removed only the first cell inset. */
	.kdaeri-gp-child .kdb-page #kdb-recent-rides .kdb-table th:first-child,
	.kdaeri-gp-child .kdb-page #kdb-recent-rides .kdb-table td:first-child {
		padding-left: 8px;
	}

	.kdaeri-home-main {
		padding-bottom: 32px;
	}

	.kdaeri-home-section,
	.kdaeri-home-feature,
	.kdaeri-home-wide,
	.kdaeri-home-final {
		width: calc(100% - 20px);
		margin-top: 20px;
		border-radius: 18px;
	}

	.kdaeri-home-section {
		padding: 32px 20px;
	}

	.kdaeri-home-section__heading,
	.kdaeri-home-section__heading--left {
		margin: 0 0 28px;
		text-align: left;
	}

	.kdaeri-home-section__heading h2,
	.kdaeri-home-wide h2,
	.kdaeri-home-final h2 {
		font-size: 28px;
		line-height: 1.35;
	}

	.kdaeri-service-grid,
	.kdaeri-step-grid,
	.kdaeri-benefit-grid {
		grid-template-columns: 1fr;
	}

	.kdaeri-service-card {
		padding: 28px 22px;
	}

	.kdaeri-service-card h3 {
		font-size: 26px;
	}

	.kdaeri-service-card__number {
		top: 23px;
		right: 22px;
		font-size: 28px;
	}

	.kdaeri-service-card__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.kdaeri-text-link {
		align-self: flex-start;
	}

	.kdaeri-card-button {
		width: 100%;
	}

	.kdaeri-step-grid li,
	.kdaeri-benefit-grid article {
		padding: 20px;
	}

	.kdaeri-home-wide {
		align-items: stretch;
		flex-direction: column;
		padding: 32px 24px;
	}

	.kdaeri-home-wide > a {
		width: 100%;
		height: 52px;
		min-height: 52px;
	}

	.kdaeri-home-final {
		padding: 32px 18px;
		text-align: left;
	}

	.kdaeri-home-final__actions {
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 22px;
	}

	.kdaeri-home-final__actions a {
		height: 52px;
		min-height: 52px;
		padding: 0 12px;
		text-align: center;
	}

	.kdaeri-home-final__actions span {
		font-size: 16px;
	}

	.kdaeri-home-final__actions strong {
		font-size: 16px;
	}

	body.home.kdaeri-gp-child,
	body.search.kdaeri-gp-child {
		padding-bottom: 68px;
	}

	.kdaeri-home-call-dock {
		right: 8px;
		bottom: 8px;
		left: 8px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.kdaeri-home-call-dock.is-mobile-managed {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		transform: translateY(calc(100% + 16px));
		transition: none;
	}

	.kdaeri-home-call-dock.is-mobile-managed.is-visible {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
		transition: none;
	}

	.kdaeri-home-call-dock a {
		height: 52px;
		min-height: 52px;
		padding: 0 4px;
		border-radius: 11px;
		font-size: 14px;
	}

	.kdaeri-home-call-dock a strong {
		margin-left: 5px;
		font-size: 14px;
	}
}

/* PC homepage: match the corresponding K-대리탁송 heading sizes and app CTA dimensions. */
@media (min-width: 769px) {
    .kdaeri-home-main h2 {
        font-size: clamp(26px, 2.5vw, 34px);
        line-height: 1.4;
    }
    .kdaeri-service-card h3 { font-size: 27px; line-height: 1.4; }
    .kdaeri-step-grid h3,
    .kdaeri-benefit-grid h3 { font-size: 20px; line-height: 1.4; }
    .kdaeri-home-wide > a,
    .kdaeri-home-final__actions a {
        width: 200px;
        height: 48px;
        min-height: 48px;
        padding: 0 14px;
        white-space: nowrap;
    }
    .kdaeri-home-final__actions { grid-template-columns: repeat(2, 200px); }
}

/* Match the K-대리탁송 search panel while retaining GeneratePress modal controls. */
@media(max-width:768px) {
 .kdaeri-gp-child .mobile-menu-control-wrapper { gap:6px; }
 .kdaeri-gp-child .main-navigation.mobile-menu-control-wrapper .menu-toggle,
 .kdaeri-gp-child .main-navigation.mobile-menu-control-wrapper [data-gpmodal-trigger="gp-search"] {
  display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px;
  box-sizing:border-box; width:44px; height:44px; min-height:44px; padding:10px;
  line-height:1; border:0; border-radius:8px; color:#14213d;
 }
 .kdaeri-gp-child .mobile-menu-control-wrapper .menu-toggle { background:#f6f8fb; }
 .kdaeri-gp-child .mobile-menu-control-wrapper [data-gpmodal-trigger="gp-search"] { background:transparent; }
 .kdaeri-gp-child .mobile-menu-control-wrapper .gp-icon { font-size:20px; line-height:0; }
 .kdaeri-gp-child .mobile-menu-control-wrapper .gp-icon svg { width:20px; height:20px; }
}
#gp-search .gp-modal__overlay { align-items:center; padding:16px; background:rgba(9,17,31,.65); }
#gp-search .gp-modal__container { width:min(640px,100%); max-width:640px; padding:0; margin:0; background:#fff; border-radius:18px; box-shadow:0 24px 80px #14213d40; overflow:auto; max-height:calc(100dvh - 32px); }
#gp-search .kdaeri-search-panel { position:relative; padding:40px; box-sizing:border-box; color:#14213d; }
#gp-search .kdaeri-search-panel * { box-sizing:border-box; }
#gp-search h2 { margin:0 36px 24px 0; color:#14213d; font-size:26px; line-height:1.4; font-weight:700; }
#gp-search .kdaeri-search-close { position:absolute; top:12px; right:12px; width:40px; height:40px; padding:0; border:0; background:transparent; color:#526079; font-size:30px; line-height:1; cursor:pointer; }
#gp-search .search-modal-form { width:100%; max-width:none; margin:0; background:#fff; color:#14213d; }
#gp-search label { display:block; margin-bottom:10px; font-size:15px; color:#526079; }
#gp-search .search-modal-fields { display:flex; gap:10px; }
#gp-search .search-field,#gp-search .search-field:focus { min-width:0; width:100%; height:52px; padding:12px 14px; border:1px solid #bbcbe3; border-radius:8px; background:#fff; color:#14213d; font-size:16px; }
#gp-search .search-field:focus { outline:2px solid #075fe4; outline-offset:1px; }
#gp-search .search-modal-fields button { flex:0 0 76px; width:76px; height:52px; padding:0 16px; border:0; border-radius:8px; background:#075fe4; color:#fff; font-size:16px; cursor:pointer; }
#gp-search .search-modal-fields button:hover { background:#0753bd; }
#gp-search button:focus-visible { outline:3px solid #075fe4; outline-offset:3px; }
@media(max-width:480px) {
 #gp-search .kdaeri-search-panel { padding:32px 20px 24px; }
 #gp-search h2 { font-size:22px; }
}

/* Match the 14px location label across every driver and delivery calculator. */
body.kdaeri-gp-child :is(.kdb-location-button, .kdt-location-button),
body.kdaeri-gp-child :is(.kdb-location-button, .kdt-location-button) span {
  font-size: 14px !important;
}

/* Common footer matches the approved Seoul driver page on mobile. */
@media(max-width:768px){body.kdaeri-gp-child footer.site-info{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))!important}}
