/**
 * 어스루프 캐러셀 – guide screens (hub home and detail pages).
 * Every selector starts with .elg so theme styles do not leak in or out.
 * Colors come from the settings as --elg-ink, --elg-canvas, --elg-action, --elg-accent.
 */

.elg {
	--elg-ink: #102f3d;
	--elg-canvas: #f5f3ef;
	--elg-action: #17364a;
	--elg-accent: #b93a68;
	--elg-body: #445d68;
	--elg-muted: #6f8088;
	--elg-line: rgba(16, 47, 61, 0.08);
	--elg-line-soft: rgba(160, 140, 110, 0.18);
	--elg-panel: rgba(255, 255, 255, 0.62);
	--elg-link: #0b63ce;
	--elg-radius: 14px;
	--elg-card-line: var(--elg-line-soft);
	--elg-card-wash: #eceae6;
	--elg-width: 1040px;

	min-height: 100vh;
	background: var(--elg-canvas);
	color: var(--elg-body);
	font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	word-break: keep-all;
	-webkit-font-smoothing: antialiased;
	background-image: var(--elg-bg-image, none);
	background-size: cover;
	background-position: center top;
	background-attachment: var(--elg-bg-attach, scroll);
}

@supports (color: color-mix(in srgb, red, blue)) {
	.elg {
		--elg-body: color-mix(in srgb, var(--elg-ink) 78%, #fff);
		--elg-card-line: color-mix(in srgb, var(--elg-accent) 20%, #fff);
		--elg-card-wash: color-mix(in srgb, var(--elg-accent) 9%, #fff);
		--elg-muted: color-mix(in srgb, var(--elg-ink) 58%, #fff);
		--elg-line: color-mix(in srgb, var(--elg-ink) 9%, transparent);
	}
}

body.elg-body {
	margin: 0;
}

.elg *,
.elg *::before,
.elg *::after {
	box-sizing: border-box;
}

.elg h1,
.elg h2,
.elg h3,
.elg p {
	font-family: inherit;
}

.elg img {
	max-width: 100%;
	height: auto;
}

.elg-wrap {
	width: 100%;
	max-width: var(--elg-width);
	margin: 0 auto;
	padding: 0 20px;
}

.elg-sr-only,
.elg .elg-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.elg .elg-skip {
	position: absolute;
	top: -60px;
	left: 12px;
	z-index: 1000;
	padding: 8px 14px;
	border-radius: 0;
	background: var(--elg-ink);
	color: #fff;
}

.elg .elg-skip:focus {
	top: 12px;
}

/* Buttons ---------------------------------------------------------------- */

.elg .elg-btn {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	padding: 8px 14px;
	border: 1px solid transparent;
	border-radius: 0;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.elg .elg-btn--primary {
	background: var(--elg-action);
	color: #fff;
}

.elg .elg-btn--accent {
	background: var(--elg-accent);
	color: #fff;
}

.elg .elg-btn--light {
	background: #fff;
	color: var(--elg-ink);
}

.elg .elg-btn--outline {
	border-color: rgba(255, 255, 255, 0.7);
	color: #fff;
}

.elg .elg-btn--line {
	border-color: var(--elg-line-soft);
	background: #fff;
	color: var(--elg-ink);
}

.elg .elg-btn:hover,
.elg .elg-btn:focus-visible {
	filter: brightness(0.94);
}

.elg .elg-btn--light:hover,
.elg .elg-btn--light:focus-visible,
.elg .elg-btn--line:hover,
.elg .elg-btn--line:focus-visible {
	color: var(--elg-ink);
}

.elg .elg-btn--primary:hover,
.elg .elg-btn--accent:hover,
.elg .elg-btn--outline:hover {
	color: #fff;
}

/* Header ----------------------------------------------------------------- */

.elg-header {
	position: sticky;
	top: 0;
	z-index: 50;
	padding: 12px 0 0;
}

.elg .elg-btn--ghost {
	border-color: var(--elg-accent);
	background: #fff;
	color: var(--elg-accent);
}

.elg .elg-btn--ghost:hover,
.elg .elg-btn--ghost:focus-visible {
	color: var(--elg-accent);
}

.admin-bar .elg-header {
	top: 32px;
}

.elg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 0 20px;
	border: 1px solid var(--elg-line);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 6px 18px rgba(16, 47, 61, 0.06);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}

.elg-header--left .elg-header__inner {
	justify-content: flex-start;
	gap: 16px;
}

@media (max-width: 599px) {
	.elg-header__inner,
	.elg-header--left .elg-header__inner {
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 8px;
		min-height: 0;
		padding: 10px 12px;
	}

	.elg-header__actions {
		width: 100%;
	}

	.elg .elg-header__actions .elg-btn {
		flex: 1 1 0;
		justify-content: center;
		padding: 8px 6px;
	}
}

.elg .elg-header__logo {
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
}

.elg-header__actions {
	display: flex;
	gap: 6px;
}

/* Main ------------------------------------------------------------------- */

.elg-main {
	padding: 20px 0 40px;
}

.elg .elg-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	color: var(--elg-muted);
	font-size: 0.8125rem;
}

.elg .elg-breadcrumb li + li::before {
	content: "›";
	margin-right: 4px;
}

.elg .elg-breadcrumb a {
	color: var(--elg-muted);
	text-decoration: none;
}

.elg-article__header {
	margin: 0 0 18px;
}

.elg .elg-article__title {
	margin: 0;
	color: var(--elg-ink);
	font-size: clamp(1.375rem, 2.6vw, 1.875rem);
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.elg .elg-article__subtitle {
	margin: 6px 0 0;
	color: var(--elg-muted);
	font-size: 0.9375rem;
}

.elg-article--hub {
	margin-top: 28px;
}

/* Cards ------------------------------------------------------------------ */

.elg-cards {
	margin: 0 0 22px;
}

.elg-cards__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

@media (min-width: 560px) {
	.elg-cards__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.elg .elg-card {
	overflow: hidden;
	border: 1px solid var(--elg-card-line);
	border-radius: 10px;
	background: #fff;
	transition: border-color 0.16s, box-shadow 0.16s, transform 0.16s;
}

/* The whole card is one link; the <article> keeps the card semantics for search engines. */
.elg .elg-card__link {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.elg .elg-card:hover,
.elg .elg-card:focus-within {
	border-color: var(--elg-accent);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
	outline: none;
}

.elg .elg-card.is-current {
	border-color: var(--elg-accent);
	box-shadow: 0 0 0 1px var(--elg-accent);
}

.elg-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: var(--elg-card-wash);
}

.elg .elg-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.elg-card__body {
	display: flex;
	flex-direction: column;
	padding: 11px 11px 13px;
}

/*
 * The date line sits above the title on screen while the heading stays first in the
 * markup, so the reading order search engines and screen readers get is unchanged.
 */
.elg-card__meta {
	order: 1;
	margin-bottom: 5px;
	color: var(--elg-accent);
	font-size: 0.59375rem;
	font-weight: 500;
	letter-spacing: 0.12em;
}

.elg-card__title {
	order: 2;
	margin-bottom: 6px;
	color: var(--elg-ink);
	font-size: 0.84375rem;
	font-weight: 600;
	line-height: 1.45;
}

.elg-card__desc {
	display: -webkit-box;
	order: 3;
	overflow: hidden;
	margin-bottom: 6px;
	color: var(--elg-muted);
	font-size: 0.75rem;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.elg-card__more {
	order: 4;
	margin-top: auto;
	color: var(--elg-muted);
	font-size: 0.71875rem;
	font-weight: 400;
}

@media (max-width: 559px) {
	.elg-card__desc {
		display: none;
	}
}

/* Contact, business ------------------------------------------------------ */

.elg-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 20px;
	margin: 0 0 22px;
	padding: 22px 24px;
	border-radius: 0;
	background-color: var(--elg-action);
	background-image: radial-gradient(120% 140% at 100% 0, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0) 55%);
	box-shadow: 0 10px 28px rgba(16, 47, 61, 0.14);
	color: #fff;
}

.elg-cta__text {
	flex: 1 1 300px;
	min-width: 0;
}

.elg .elg-cta__label {
	display: inline-block;
	margin: 0 0 8px;
	padding: 4px 10px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
}

.elg .elg-cta__title {
	margin: 0 0 4px;
	color: #fff;
	font-size: clamp(1.0625rem, 2.2vw, 1.3125rem);
	font-weight: 700;
	line-height: 1.45;
}

.elg .elg-cta__desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.875rem;
	line-height: 1.65;
}

.elg-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.elg .elg-cta .elg-btn {
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	font-size: 0.9375rem;
	font-weight: 700;
}

.elg .elg-btn--kakao,
.elg .elg-btn--kakao:hover,
.elg .elg-btn--kakao:focus-visible {
	background: #fee500;
	color: #191919;
}

@media (max-width: 599px) {
	.elg-cta {
		padding: 20px 18px;
	}

	.elg-cta__actions {
		width: 100%;
	}

	.elg .elg-cta .elg-btn {
		flex: 1 1 calc(50% - 4px);
	}
}

.elg-biz {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 22px;
	padding: 16px 18px;
	border: 1px solid var(--elg-line-soft);
	border-radius: 0;
	background: #fff;
}

.elg .elg-biz__name {
	margin: 0 0 2px;
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 700;
}

.elg .elg-biz__address,
.elg .elg-biz__note {
	margin: 0;
	font-size: 0.875rem;
}

.elg .elg-biz__note {
	color: var(--elg-muted);
}

.elg .elg-biz__phone {
	display: inline-block;
	margin-top: 4px;
	color: var(--elg-action);
	font-weight: 700;
	text-decoration: none;
}

/* Lead, summary, table of contents ------------------------------------- */

.elg .elg-lead {
	margin: 30px 0 12px;
	color: var(--elg-ink);
	font-size: clamp(1.125rem, 2.2vw, 1.375rem);
	font-weight: 700;
	line-height: 1.45;
}

.elg-summary,
.elg-toc {
	margin: 0 0 16px;
	padding: 16px 18px;
	border: 1px solid var(--elg-line-soft);
	border-radius: 0;
	background: var(--elg-panel);
}

.elg .elg-summary__heading,
.elg .elg-toc__heading {
	margin: 0 0 10px;
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 600;
}

.elg .elg-summary__list,
.elg .elg-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.elg .elg-summary__list li {
	display: flex;
	gap: 10px;
	padding: 6px 0;
	border-top: 1px solid var(--elg-line);
}

.elg .elg-summary__list li:first-child {
	border-top: 0;
}

.elg .elg-summary__list p {
	margin: 0;
	color: var(--elg-ink);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.elg-num {
	flex: none;
	padding-top: 3px;
	color: var(--elg-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.elg .elg-toc__list a {
	display: flex;
	gap: 10px;
	padding: 5px 0;
	color: var(--elg-ink);
	font-size: 0.9375rem;
	text-decoration: none;
}

.elg .elg-toc__list a:hover .elg-toc__label {
	text-decoration: underline;
}

.elg .elg-hub-link {
	margin: 0 0 16px;
	font-size: 0.875rem;
}

.elg .elg-hub-link a {
	color: var(--elg-link);
	font-weight: 600;
	text-decoration: none;
}

/* Sections --------------------------------------------------------------- */

.elg-section {
	padding: 22px 0;
	border-top: 1px solid var(--elg-line);
	scroll-margin-top: 80px;
}

.elg .elg-section__heading {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 12px;
	color: var(--elg-ink);
	font-size: clamp(1.125rem, 2.2vw, 1.3125rem);
	font-weight: 700;
	line-height: 1.45;
}

.elg-section__icon {
	flex: none;
}

.elg-section__text {
	min-width: 0;
}

.elg .elg-section__body > p:first-child {
	color: var(--elg-ink);
	font-weight: 600;
}

.elg .elg-content p {
	margin: 0 0 12px;
}

.elg .elg-content h3 {
	margin: 18px 0 8px;
	color: var(--elg-ink);
	font-size: 1rem;
	font-weight: 700;
}

.elg .elg-content ul,
.elg .elg-content ol {
	margin: 0 0 12px;
	padding-left: 1.3em;
}

.elg .elg-content a {
	color: var(--elg-link);
}

.elg .elg-content img {
	border-radius: 0;
}

.elg .elg-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 14px;
	overflow-x: auto;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.elg .elg-content th,
.elg .elg-content td {
	min-width: 6em;
	padding: 8px 10px;
	border: 1px solid var(--elg-line-soft);
	text-align: left;
	vertical-align: top;
}

.elg .elg-content th {
	background: rgba(255, 255, 255, 0.7);
	color: var(--elg-ink);
}

.elg .elg-content blockquote {
	margin: 0 0 14px;
	padding: 10px 14px;
	border-left: 3px solid var(--elg-accent);
	background: var(--elg-panel);
}

.elg-intro {
	margin: 0 0 8px;
}

/* A pasted design kept whole: the plugin adds no typography, only anchor spacing for the table of contents. */
.elg-raw {
	margin: 0 0 8px;
}

.elg-raw h2[id] {
	scroll-margin-top: 80px;
}

/* Content components for pasted HTML: elg-table, elg-steps, elg-boxes, elg-check, elg-callout, elg-link */

.elg .elg-content .elg-table {
	margin: 6px 0 14px;
	overflow-x: auto;
	border-radius: 0;
	background: #fff;
	-webkit-overflow-scrolling: touch;
}

.elg .elg-content .elg-table table {
	display: table;
	width: 100%;
	min-width: 520px;
	margin: 0;
	overflow: visible;
}

.elg .elg-content .elg-table-hint {
	margin: -6px 0 14px;
	color: var(--elg-muted);
	font-size: 0.75rem;
}

@media (min-width: 600px) {
	.elg .elg-content .elg-table-hint {
		display: none;
	}
}

.elg .elg-content .elg-steps {
	margin: 6px 0 16px;
	padding: 0;
	list-style: none;
	counter-reset: elg-step;
}

.elg .elg-content .elg-steps li {
	position: relative;
	margin: 0 0 8px;
	padding: 12px 14px 12px 50px;
	border: 1px solid var(--elg-line-soft);
	border-radius: 0;
	background: #fff;
}

.elg .elg-content .elg-steps li::before {
	content: counter(elg-step);
	position: absolute;
	top: 13px;
	left: 14px;
	width: 24px;
	height: 24px;
	border-radius: 0;
	background: var(--elg-action);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 24px;
	text-align: center;
	counter-increment: elg-step;
}

.elg .elg-content .elg-steps strong {
	display: block;
	color: var(--elg-ink);
	font-size: 0.9375rem;
}

.elg .elg-content .elg-steps span {
	display: block;
	font-size: 0.875rem;
}

.elg .elg-content .elg-boxes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin: 6px 0 16px;
}

@media (max-width: 599px) {
	.elg .elg-content .elg-boxes {
		grid-template-columns: 1fr;
	}
}

.elg .elg-content .elg-box {
	padding: 14px 16px;
	border: 1px solid var(--elg-line-soft);
	border-radius: 0;
	background: #fff;
}

.elg .elg-content .elg-box h3 {
	margin: 0 0 4px;
	font-size: 0.9375rem;
}

.elg .elg-content .elg-box p {
	margin: 0;
	font-size: 0.875rem;
}

.elg .elg-content .elg-check {
	margin: 6px 0 16px;
	padding: 4px 16px;
	border: 1px solid var(--elg-line-soft);
	border-radius: 0;
	background: #fff;
	list-style: none;
}

.elg .elg-content .elg-check li {
	position: relative;
	padding: 9px 0 9px 26px;
	border-bottom: 1px dashed var(--elg-line);
	font-size: 0.9375rem;
}

.elg .elg-content .elg-check li:last-child {
	border-bottom: 0;
}

.elg .elg-content .elg-check li::before {
	content: "✓";
	position: absolute;
	top: 9px;
	left: 2px;
	color: var(--elg-accent);
	font-weight: 700;
}

.elg .elg-content .elg-callout {
	margin: 6px 0 16px;
	padding: 14px 16px;
	border: 1px solid rgba(185, 58, 104, 0.2);
	border-radius: 0;
	background: rgba(185, 58, 104, 0.06);
}

@supports (color: color-mix(in srgb, red, blue)) {
	.elg .elg-content .elg-callout {
		border-color: color-mix(in srgb, var(--elg-accent) 22%, transparent);
		background: color-mix(in srgb, var(--elg-accent) 6%, #fff);
	}
}

.elg .elg-content .elg-callout strong {
	display: block;
	margin-bottom: 2px;
	color: var(--elg-ink);
}

.elg .elg-content .elg-callout p {
	margin: 0;
	font-size: 0.9375rem;
}

.elg .elg-content .elg-link {
	margin: 4px 0 0;
	font-size: 0.9375rem;
}

.elg .elg-content .elg-link a {
	font-weight: 600;
	text-decoration: none;
}

/* FAQ, related ----------------------------------------------------------- */

.elg-faq,
.elg-related {
	padding: 22px 0;
	border-top: 1px solid var(--elg-line);
}

.elg .elg-faq__heading,
.elg .elg-related__heading {
	margin: 0 0 10px;
	color: var(--elg-ink);
	font-size: 1.125rem;
	font-weight: 700;
}

.elg-faq__item {
	border-bottom: 1px solid var(--elg-line);
}

.elg .elg-faq__q {
	position: relative;
	padding: 13px 28px 13px 0;
	color: var(--elg-ink);
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.elg .elg-faq__q::-webkit-details-marker {
	display: none;
}

.elg .elg-faq__q::after {
	content: "+";
	position: absolute;
	top: 11px;
	right: 4px;
	color: var(--elg-muted);
	font-size: 1.2rem;
	font-weight: 400;
}

.elg .elg-faq__item[open] .elg-faq__q::after {
	content: "−";
}

.elg .elg-faq__a {
	padding: 0 0 14px;
	font-size: 0.9375rem;
}

.elg .elg-faq__a p {
	margin: 0 0 8px;
}

.elg .elg-related__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elg .elg-related__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border: 1px solid var(--elg-line-soft);
	border-radius: 0;
	background: #fff;
	color: var(--elg-ink);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
}

.elg .elg-related__btn:hover {
	border-color: rgba(16, 47, 61, 0.3);
}

/* Notice, footer ---------------------------------------------------------- */

.elg-notice {
	margin: 24px 0 0;
	padding: 14px 16px;
	border-left: 3px solid var(--elg-line-soft);
	background: var(--elg-panel);
	font-size: 0.8125rem;
}

.elg .elg-notice__label {
	margin: 0 0 2px;
	color: var(--elg-ink);
	font-weight: 700;
}

.elg .elg-notice__body {
	margin: 0;
	color: var(--elg-muted);
}

.elg-footer {
	padding: 18px 0 24px;
	border-top: 1px solid var(--elg-line);
	color: var(--elg-muted);
	font-size: 0.8125rem;
}

.elg .elg-footer p {
	margin: 0 0 4px;
}

.elg .elg-footer__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
}

.elg .elg-footer a {
	color: var(--elg-ink);
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 599px) {
	.elg .elg-btn {
		padding: 7px 11px;
		font-size: 0.8125rem;
	}

	.elg .elg-header__logo {
		font-size: 1rem;
	}

	.admin-bar .elg-header {
		top: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.elg .elg-card {
		transition: none;
	}

	.elg .elg-card:hover {
		transform: none;
	}
}

/* 랜딩형: 상단 앵커 메뉴 ------------------------------------------------- */
.elg .elg-anchors {
	margin: 0 0 22px;
	padding: 12px 14px;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 1px 3px rgba(16, 47, 61, 0.06);
}

/* 모던형에서는 머리글 자리를 대신합니다. */
.elg .elg-anchors--header {
	position: sticky;
	top: 0;
	z-index: 30;
	margin: 0 0 22px;
	padding: 10px 16px;
	border-bottom: 1px solid rgba(16, 47, 61, 0.1);
	box-shadow: 0 2px 10px rgba(16, 47, 61, 0.07);
}

.elg .elg-anchors__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elg .elg-anchors__home {
	display: block;
	margin: 0 0 8px;
	padding: 9px 12px;
	border: 1px solid var(--elg-action);
	background: #fff;
	color: var(--elg-action);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.elg .elg-anchors__home:hover,
.elg .elg-anchors__home:focus-visible,
.elg .elg-anchors__home.is-current {
	background: var(--elg-action);
	color: #fff;
}

/* 줄 수가 달라도 버튼 크기는 모두 같습니다. */
.elg .elg-anchors__list > li {
	display: flex;
}

@media (min-width: 560px) {
	.elg .elg-anchors__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.elg .elg-anchors__link {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 6px 8px;
	border: 1px solid rgba(16, 47, 61, 0.12);
	border-radius: 0;
	background: #fff;
	color: var(--elg-ink);
	font-size: 13px;
	line-height: 1.32;
	text-align: center;
	text-decoration: none;
	word-break: keep-all;
	overflow: hidden;
}

.elg .elg-anchors__link:hover,
.elg .elg-anchors__link:focus-visible {
	border-color: var(--elg-action);
	background: var(--elg-action);
	color: #fff;
}

.elg .elg-anchors__link.is-current {
	border-color: var(--elg-accent);
	background: var(--elg-accent);
	color: #fff;
}

/* 랜딩형: 하단 고정 상담 바 ---------------------------------------------- */
.elg .elg-sticky {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 40;
	display: flex;
	gap: 1px;
	width: 100%;
	max-width: var(--elg-width);
	margin: 0 auto;
	background: rgba(16, 47, 61, 0.12);
	box-shadow: 0 -2px 14px rgba(16, 47, 61, 0.16);
}

.elg .elg-sticky .elg-btn {
	flex: 1 1 0;
	justify-content: center;
	min-height: 64px;
	margin: 0;
	padding: 14px 10px;
	border-radius: 0;
	font-size: 16px;
}

body.elg-body {
	padding-bottom: 72px;
}

/* 정장형은 떠 있는 바가 옆으로 붙어서 바닥을 비울 필요가 없습니다. */
body.elg-body:has(.is-skin-formal) {
	padding-bottom: 0;
}

/* 모던형은 푸터가 그 자리를 덮습니다. */
body.elg-body:has(.elg-footer--full) {
	padding-bottom: 0;
}

/* 랜딩형: 사이드 플로팅 -------------------------------------------------- */
.elg .elg-side {
	display: none;
}

/* 모바일은 하단 바, PC는 사이드. 둘이 겹치지 않게 폭으로 나눕니다. */
@media (min-width: 768px) {
	.elg .elg-side {
		position: fixed;
		top: 44%;
		right: 20px;
		z-index: 40;
		display: block;
		width: 212px;
		padding: 16px 16px 14px;
		background: #fff;
		box-shadow: 0 10px 30px rgba(16, 47, 61, 0.18);
		transform: translateY(-50%);
	}

	.elg .elg-side__title {
		margin: 0 0 10px;
		padding-bottom: 10px;
		border-bottom: 1px solid rgba(16, 47, 61, 0.12);
		color: var(--elg-ink);
		font-size: 14px;
		font-weight: 700;
		line-height: 1.45;
		word-break: keep-all;
	}

	.elg .elg-side__list {
		margin: 0 0 12px;
		padding: 0;
		list-style: none;
	}

	.elg .elg-side__item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
		margin-bottom: 6px;
		padding: 10px 12px;
		background: #f6f4f0;
		color: var(--elg-ink);
		font-size: 14px;
		line-height: 1.35;
		text-decoration: none;
		word-break: keep-all;
	}

	.elg .elg-side__item:hover,
	.elg .elg-side__item:focus-visible,
	.elg .elg-side__item.is-current {
		background: var(--elg-action);
		color: #fff;
	}

	.elg .elg-side__arrow {
		flex: none;
		font-size: 17px;
		line-height: 1;
	}

	.elg .elg-side__actions {
		display: grid;
		gap: 6px;
		margin-bottom: 8px;
	}

	.elg .elg-side .elg-btn {
		justify-content: center;
		min-height: 44px;
		margin: 0;
		padding: 11px 10px;
		border-radius: 0;
		font-size: 14px;
		text-align: center;
	}

	.elg .elg-side__top {
		display: block;
		padding: 8px;
		border: 1px solid rgba(16, 47, 61, 0.14);
		border-radius: 0;
		color: var(--elg-ink);
		font-size: 13px;
		text-align: center;
		text-decoration: none;
	}

	.elg .elg-side__top:hover,
	.elg .elg-side__top:focus-visible {
		border-color: var(--elg-action);
		background: var(--elg-action);
		color: #fff;
	}
}

/* 랜딩형: 바닥 키워드 링크 줄 -------------------------------------------- */
.elg .elg-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 34px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(16, 47, 61, 0.1);
}

.elg .elg-keywords__item {
	display: inline-block;
	padding: 9px 15px;
	border: 1px solid rgba(16, 47, 61, 0.14);
	background: #fff;
	color: var(--elg-ink);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	word-break: keep-all;
}

.elg a.elg-keywords__item:hover,
.elg a.elg-keywords__item:focus-visible {
	border-color: var(--elg-action);
	background: var(--elg-action);
	color: #fff;
}

/* 랜딩형: 카드 목록 = 이미지만 세로로 이어 붙임 ------------------------- */
.elg .elg-cards--strip {
	margin: 0;
}

.elg .elg-cards--strip .elg-cards__grid {
	display: block;
}

.elg .elg-cards--strip .elg-card {
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
}

.elg .elg-cards--strip .elg-card__link {
	display: block;
	height: auto;
	padding: 0;
	background: none;
}

.elg .elg-cards--strip .elg-card__media {
	display: block;
	aspect-ratio: auto;
	border-radius: 0;
	background: none;
}

.elg .elg-cards--strip .elg-card__media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0;
	object-fit: fill;
}

/* 제목과 요약은 화면에서 감추고 검색엔진과 보조기기에는 남깁니다. */
.elg .elg-cards--strip .elg-card__body {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.elg .elg-cards--strip .elg-card,
.elg .elg-cards--strip .elg-card:hover {
	transform: none;
	transition: none;
}

.elg .elg-cards--strip .elg-card__link:focus-visible {
	outline: 3px solid var(--elg-accent);
	outline-offset: -3px;
}

.elg-body {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	.elg-body {
		scroll-behavior: auto;
	}
}

/* 랜딩형: 첫 화면 아래 주제별 요약 · FAQ ----------------------------------- */
.elg .elg-topics {
	margin: 34px 0 0;
}

.elg .elg-topics__heading {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--elg-ink);
	color: var(--elg-ink);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.elg .elg-topic {
	margin: 0 0 14px;
	padding: 20px 20px 12px;
	border: 1px solid rgba(16, 47, 61, 0.1);
	background: #fff;
}

.elg .elg-topic__title {
	margin: 0 0 14px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.4;
	word-break: keep-all;
}

.elg .elg-topic__title a {
	color: var(--elg-ink);
	text-decoration: none;
}

.elg .elg-topic__title a:hover,
.elg .elg-topic__title a:focus-visible {
	color: var(--elg-action);
	text-decoration: underline;
}

.elg .elg-topic .elg-summary,
.elg .elg-topic .elg-faq {
	margin: 0 0 14px;
}

.elg .elg-topic__more {
	margin: 0;
	padding-top: 10px;
	border-top: 1px solid rgba(16, 47, 61, 0.08);
	font-size: 14px;
}

.elg .elg-topic__more a {
	color: var(--elg-action);
	font-weight: 600;
	text-decoration: none;
}

.elg .elg-topic__more a:hover,
.elg .elg-topic__more a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 599px) {
	.elg .elg-topic {
		padding: 16px 15px 10px;
	}

	.elg .elg-topic__title {
		font-size: 17px;
	}
}

/* 랜딩형: 주제 필터 ------------------------------------------------------- */
.elg .elg-topics.is-filtered .elg-topic {
	display: none;
}

.elg .elg-topics.is-filtered .elg-topic.is-active {
	display: block;
}

/* 랜딩형: 푸터 ----------------------------------------------------------- */
.elg .elg-footer--full {
	margin-top: 40px;
	/* 하단 고정 바 높이(76px)만큼 더 덮어 아래에 빈 띠가 생기지 않게 합니다. */
	padding: 34px 0 102px;
	background: var(--elg-ink);
	color: rgba(255, 255, 255, 0.78);
}

.elg .elg-footer--full .elg-footer__info {
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.elg .elg-footer--full .elg-footer__name a {
	color: #fff;
	text-decoration: none;
}

.elg .elg-footer--full .elg-footer__name {
	margin: 0 0 12px;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.elg .elg-footer--full .elg-footer__list {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 5px 14px;
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

.elg .elg-footer--full .elg-footer__list dt {
	color: rgba(255, 255, 255, 0.5);
	font-size: 13px;
	white-space: nowrap;
}

.elg .elg-footer--full .elg-footer__list dd {
	margin: 0;
	word-break: keep-all;
}

.elg .elg-footer--full .elg-footer__list a,
.elg .elg-footer--full .elg-footer__site a {
	color: #fff;
	text-decoration: none;
}

.elg .elg-footer--full .elg-footer__list a:hover,
.elg .elg-footer--full .elg-footer__site a:hover {
	text-decoration: underline;
}

.elg .elg-footer--full .elg-footer__site {
	margin: 14px 0 0;
	font-size: 14px;
	font-weight: 600;
}

.elg .elg-footer--full .elg-footer__notice {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.6;
	opacity: 0.7;
}

.elg .elg-footer--full .elg-footer__copy {
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
}

.elg .elg-footer--full .elg-keywords {
	margin-top: 18px;
	padding-top: 0;
	border-top: 0;
}

.elg .elg-footer--full .elg-keywords__item {
	border-color: rgba(255, 255, 255, 0.22);
	background: none;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}

.elg .elg-footer--full a.elg-keywords__item:hover,
.elg .elg-footer--full a.elg-keywords__item:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--elg-ink);
}

/* Detail page: article beside a side column ------------------------------ */

.elg-split {
	display: grid;
	gap: 28px;
}

@media (min-width: 1040px) {
	.elg-split {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 44px;
		align-items: start;
	}

	.elg-aside {
		position: sticky;
		top: 96px;
	}
}

.elg-aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.elg-aside__box {
	padding: 22px 22px 24px;
	border: 1px solid var(--elg-card-line);
	border-radius: 12px;
	background: var(--elg-card-wash);
}

.elg-aside__kicker {
	margin-bottom: 8px;
	color: var(--elg-accent);
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
}

.elg-aside__title {
	color: var(--elg-ink);
	font-size: 1rem;
	font-weight: 700;
}

.elg-aside__note {
	margin-top: 8px;
	color: var(--elg-body);
	font-size: 0.8125rem;
	line-height: 1.6;
}

.elg .elg-aside__call {
	display: block;
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--elg-action);
	color: #fff;
	text-align: center;
	text-decoration: none;
}

.elg-aside__call strong {
	display: block;
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.elg-aside__call span {
	display: block;
	margin-top: 2px;
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	opacity: 0.82;
}

.elg-aside__list {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px 14px;
	margin-top: 4px;
	font-size: 0.8125rem;
}

.elg-aside__list dt {
	color: var(--elg-muted);
	white-space: nowrap;
}

.elg-aside__list dd {
	color: var(--elg-ink);
	line-height: 1.55;
}

/* Quick bar: stays on screen the whole way down -------------------------- */

.elg-quick {
	position: fixed;
	top: 50%;
	right: 18px;
	z-index: 40;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(16, 47, 61, 0.1);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 6px 22px rgba(16, 47, 61, 0.12);
	transform: translateY(-50%);
}

.elg .elg-quick__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: 72px;
	padding: 12px 10px;
	color: var(--elg-body);
	text-decoration: none;
}

.elg .elg-quick__item + .elg-quick__item {
	border-top: 1px solid rgba(16, 47, 61, 0.07);
}

.elg .elg-quick__item:hover {
	background: var(--elg-card-wash);
	color: var(--elg-action);
}

.elg-quick__icon {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.elg-quick__label {
	font-size: 0.71875rem;
	letter-spacing: -0.01em;
	line-height: 1.1;
}

/* 좁은 화면에서는 아래쪽에 가로로 눕힙니다. */
@media (max-width: 1039px) {
	.elg-quick {
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		flex-direction: row;
		border: 0;
		border-top: 1px solid rgba(16, 47, 61, 0.1);
		border-radius: 0;
		transform: none;
	}

	.elg .elg-quick__item {
		flex: 1 1 0;
		width: auto;
		padding: 9px 4px 10px;
	}

	.elg .elg-quick__item + .elg-quick__item {
		border-top: 0;
		border-left: 1px solid rgba(16, 47, 61, 0.07);
	}

	.elg-main {
		padding-bottom: 76px;
	}
}

/* Clean skin: header, keyword row, closing band and footer ---------------- */

.elg-header {
	padding: 0;
	border-bottom: 1px solid var(--elg-card-line);
	background: #fff;
}

.elg-header__inner {
	max-width: var(--elg-width);
	min-height: 104px;
	margin: 0 auto;
	padding: 10px 24px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* 키워드 줄: 글머리표 없는 알약 ------------------------------------------ */

.elg .elg-keywords,
.elg .elg-keywords__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elg .elg-keywords {
	margin: 34px 0 0;
	padding-top: 20px;
	border-top: 1px solid var(--elg-card-line);
}

.elg .elg-keywords li {
	list-style: none;
}

.elg .elg-keywords__item {
	display: inline-block;
	padding: 7px 14px;
	border: 1px solid var(--elg-card-line);
	border-radius: 999px;
	background: var(--elg-card-wash);
	color: var(--elg-action);
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.5;
}

.elg a.elg-keywords__item:hover,
.elg a.elg-keywords__item:focus-visible {
	border-color: var(--elg-action);
	background: var(--elg-action);
	color: #fff;
}

/* 마무리 상담 띠 --------------------------------------------------------- */

.elg-band {
	margin-top: 46px;
	padding: 46px 24px;
	border-top: 1px solid var(--elg-card-line);
	background: var(--elg-card-wash);
	text-align: center;
}

.elg-band__in {
	max-width: var(--elg-width);
	margin: 0 auto;
}

.elg-band__lead {
	margin: 0 0 22px;
	color: var(--elg-body);
	font-size: 0.9375rem;
	line-height: 1.8;
}

.elg-band__buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.elg .elg-band__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	padding: 13px 22px;
	border: 2px solid var(--elg-card-line);
	border-radius: 999px;
	background: #fff;
	color: var(--elg-action);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.elg .elg-band__btn:first-child {
	border-color: var(--elg-action);
	background: var(--elg-action);
	color: #fff;
}

.elg-band__btn small {
	font-size: 0.8125rem;
	font-weight: 400;
	opacity: 0.86;
}

.elg-band__note {
	margin: 18px 0 0;
	color: var(--elg-muted);
	font-size: 0.78125rem;
	line-height: 1.8;
}

/* 푸터 ------------------------------------------------------------------- */

.elg-footer {
	margin: 0;
	padding: 44px 24px 40px;
	border-top: 1px solid var(--elg-card-line);
	background: var(--elg-card-wash);
}

.elg-footer__in {
	max-width: var(--elg-width);
	margin: 0 auto;
}

.elg-footer__name {
	margin-bottom: 14px;
	color: var(--elg-ink);
	font-size: 1rem;
	font-weight: 700;
}

.elg .elg-footer p {
	margin: 0 0 6px;
	color: var(--elg-body);
	font-size: 0.875rem;
}

.elg-footer__copy {
	max-width: var(--elg-width);
	margin: 28px auto 0;
	padding-top: 20px;
	border-top: 1px solid var(--elg-card-line);
	color: var(--elg-muted);
	font-size: 0.78125rem;
	line-height: 1.8;
}

.elg .elg-header__logoimg {
	display: block;
	width: auto;
	max-width: min(62vw, 460px);
	height: 80px;
}

@media (max-width: 599px) {
	.elg .elg-header__logoimg {
		height: 54px;
	}
}

/* Closing block and footer, in the firm's own dark navy --------------------- */

.elg-closing,
.elg-footer--dark {
	background: var(--elg-dark, #0a2540);
	color: #fff;
}

.elg-closing {
	margin-top: 46px;
	padding: 72px 24px;
}

.elg-closing__in,
.elg-footer--dark .elg-footer__in,
.elg-footer--dark .elg-footer__copy {
	max-width: var(--elg-width);
	margin: 0 auto;
}

.elg-closing__in {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.elg-closing__text {
	flex: 1 1 320px;
}

.elg-closing__kicker {
	margin-bottom: 14px;
	color: var(--elg-gold, #c9a96e);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.25em;
}

.elg .elg-closing__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
}

.elg-closing__note {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.elg-closing__card {
	flex: 0 1 320px;
	padding: 22px 24px 24px;
	border-radius: 14px;
	background: var(--elg-gold, #c9a96e);
	color: #14213d;
	text-align: center;
}

.elg-closing__firm {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	opacity: 0.78;
}

.elg-closing__tel {
	margin: 6px 0 14px;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.elg .elg-closing__btn {
	display: block;
	padding: 12px 18px;
	border-radius: 8px;
	background: #14213d;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none;
}

.elg-footer--dark {
	margin: 0;
	padding: 52px 24px 36px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.elg-footer--dark .elg-footer__name {
	margin-bottom: 10px;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.elg .elg-footer--dark .elg-footer__tagline {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.8125rem;
	line-height: 1.75;
}

.elg-footer--dark .elg-footer__rows {
	margin-top: 26px;
}

.elg .elg-footer--dark .elg-footer__rows p {
	margin: 0 0 4px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.8125rem;
	line-height: 1.75;
}

.elg-footer--dark .elg-footer__copy {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
}

@media (max-width: 719px) {
	.elg-closing {
		padding: 48px 20px;
	}

	.elg .elg-closing__title {
		font-size: 1.5rem;
	}

	.elg-closing__card {
		flex: 1 1 100%;
	}
}

.elg .elg-footer__logoimg {
	display: block;
	width: auto;
	max-width: min(72vw, 300px);
	height: 30px;
}

/* 어두운 배경용 로고를 따로 안 올렸을 때 기본 로고를 흰색으로 */
.elg .elg-footer__logoimg.is-inverted {
	filter: brightness(0) invert(1);
	opacity: 0.92;
}

/* 푸터 간격을 업체 사이트 리듬에 맞춥니다 ------------------------------- */

.elg-footer--dark .elg-footer__name {
	margin-bottom: 16px;
}

.elg .elg-footer--dark .elg-footer__tagline {
	margin: 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8125rem;
	line-height: 1.7;
}

.elg-footer--dark .elg-footer__rows {
	margin-top: 30px;
}

.elg .elg-footer--dark .elg-footer__rows p {
	margin: 0 0 7px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.84375rem;
	line-height: 1.7;
	letter-spacing: -0.01em;
}

.elg-footer--dark .elg-footer__copy {
	margin-top: 30px;
	padding-top: 22px;
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.78125rem;
	letter-spacing: 0.01em;
}

/* 저작권 줄: 푸터 본문과 같은 선에 두고 위를 띄웁니다.
   앞서 .elg .elg-footer p 가 margin 을 덮어써서 가운데 정렬이 풀려 있었습니다. */
.elg .elg-footer--dark .elg-footer__copy {
	max-width: var(--elg-width);
	margin: 25px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.78125rem;
	letter-spacing: 0.01em;
}

.elg .elg-footer__logoimg {
	height: 70px;
}

@media (max-width: 599px) {
	.elg .elg-footer__logoimg {
		height: 50px;
	}
}

.elg .elg-closing__firm {
	color: #14213d;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	opacity: 1;
}

/* 본문에 깔리는 사진 ----------------------------------------------------- */

.elg-shots {
	display: grid;
	gap: 16px;
	margin: 26px 0 30px;
}

.elg-shot {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--elg-card-line);
	border-radius: 10px;
	background: var(--elg-card-wash);
}

.elg .elg-shot img {
	display: block;
	width: 100%;
	height: auto;
}

/* 링크가 걸린 본문 사진 */
.elg .carousel-board__image--link,
.elg .elg-shot--link {
	display: block;
	transition: opacity 0.14s;
}

.elg .carousel-board__image--link:hover,
.elg .elg-shot--link:hover {
	opacity: 0.9;
}

/* 목차와 번호 붙은 소제목 ------------------------------------------------ */

.elg .elg-toc {
	margin: 0 0 34px;
	padding: 24px 26px 26px;
	border: 1px solid var(--elg-card-line);
	border-radius: 12px;
	background: var(--elg-card-wash);
}

.elg .elg-toc__heading {
	margin: 0 0 12px;
	color: var(--elg-accent);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
}

.elg .elg-toc__list {
	display: grid;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: elg-toc;
}

.elg .elg-toc__list li {
	list-style: none;
}

.elg .elg-toc__list a {
	display: flex;
	gap: 10px;
	color: var(--elg-ink);
	font-size: 0.90625rem;
	line-height: 1.6;
	text-decoration: none;
}

.elg .elg-toc__list a::before {
	counter-increment: elg-toc;
	content: counter(elg-toc) ".";
	flex: none;
	color: var(--elg-muted);
	font-variant-numeric: tabular-nums;
}

.elg .elg-toc__list a:hover {
	color: var(--elg-action);
}

/* 소제목마다 01 · 02 … 가 자동으로 붙습니다. 글을 고칠 필요가 없습니다. */
.elg .elg-content {
	counter-reset: elg-sec;
}

.elg .elg-content h2 {
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid var(--elg-card-line);
	font-size: 1.375rem;
	line-height: 1.45;
	letter-spacing: -0.02em;
}

.elg .elg-content h2::before {
	counter-increment: elg-sec;
	content: counter(elg-sec, decimal-leading-zero);
	display: block;
	margin-bottom: 8px;
	color: var(--elg-accent);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
}

.elg .elg-content h2:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
}

.elg .elg-content p {
	margin: 0 0 18px;
	line-height: 1.85;
}

/* 라벨 + 설명 줄 ---------------------------------------------------------- */

.elg-rows {
	display: grid;
	gap: 12px;
	margin: 22px 0 28px;
}

.elg-row {
	display: grid;
	gap: 14px;
	align-items: stretch;
	border: 1px solid var(--elg-card-line);
	border-radius: 10px;
	overflow: hidden;
}

@media (min-width: 640px) {
	.elg-row {
		grid-template-columns: 168px minmax(0, 1fr);
		gap: 0;
	}
}

.elg-row__label {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px 16px;
	background: var(--elg-action);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
}

.elg-row__text {
	padding: 16px 20px;
	background: #fff;
	color: var(--elg-body);
	font-size: 0.90625rem;
	line-height: 1.75;
}

/* 글자 다듬기 ------------------------------------------------------------ */

.elg {
	font-size: 16.5px;
	line-height: 1.8;
	letter-spacing: -0.012em;
	text-rendering: optimizeLegibility;
}

.elg .elg-article__title {
	margin-bottom: 6px;
	font-size: 2.0625rem;
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: -0.035em;
	word-break: keep-all;
}

.elg .elg-content p {
	margin: 0 0 20px;
	color: var(--elg-body);
	font-size: 1rem;
	line-height: 1.9;
	letter-spacing: -0.012em;
	word-break: keep-all;
}

.elg .elg-content h2 {
	color: var(--elg-ink);
	font-weight: 700;
	word-break: keep-all;
}

/* 핵심요약: 번호를 왼쪽에 세우고 줄을 넉넉히 */
.elg .elg-summary {
	margin: 36px 0;
	padding: 26px 28px 28px;
	border: 1px solid var(--elg-card-line);
	border-radius: 12px;
	background: var(--elg-card-wash);
}

.elg .elg-summary__heading {
	margin: 0 0 16px;
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.elg .elg-summary__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.elg .elg-summary__list li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.elg .elg-summary__list .elg-num {
	padding-top: 2px;
	color: var(--elg-accent);
	font-size: 0.78125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.elg .elg-summary__list p {
	margin: 0;
	color: var(--elg-ink);
	font-size: 0.9375rem;
	line-height: 1.78;
	letter-spacing: -0.012em;
	word-break: keep-all;
}

/* 자주 묻는 질문 */
.elg .elg-faq {
	margin: 36px 0 0;
}

.elg .elg-faq__heading {
	margin: 0 0 14px;
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.elg .elg-faq__item {
	border-top: 1px solid var(--elg-card-line);
}

.elg .elg-faq__item:last-child {
	border-bottom: 1px solid var(--elg-card-line);
}

.elg .elg-faq__q {
	padding: 17px 34px 17px 0;
	color: var(--elg-ink);
	font-size: 0.96875rem;
	font-weight: 600;
	line-height: 1.6;
	letter-spacing: -0.018em;
	word-break: keep-all;
	cursor: pointer;
}

.elg .elg-faq__a p {
	margin: 0;
	padding: 0 0 20px;
	color: var(--elg-body);
	font-size: 0.9375rem;
	line-height: 1.85;
	letter-spacing: -0.012em;
	word-break: keep-all;
}

@media (max-width: 599px) {
	.elg .elg-article__title {
		font-size: 1.625rem;
	}

	.elg .elg-content h2 {
		font-size: 1.1875rem;
	}

	.elg .elg-summary {
		padding: 22px 20px 24px;
	}
}

/* 정장형 ---------------------------------------------------------------
   설정 › 화면 모양 = 정장형 일 때만 붙습니다. 글과 캐러셀 구조는 건드리지
   않고 보이는 모양만 바꿉니다. 기본형 사이트는 아무 영향을 받지 않습니다. */

.elg.is-skin-formal {
	--elg-navy: #16233c;
	--elg-navy-deep: #0e1a2f;
	--elg-gold: #c9a96e;
	--elg-gold-soft: #f0e4cd;
	--elg-ink: #16233c;
	--elg-body: #4a5668;
	--elg-muted: #8a94a4;
	--elg-line: #e3e8ef;
	--elg-wash: #f5f7fa;
	--elg-canvas: #fff;
	--elg-width: 1120px;
	--elg-radius: 12px;

	background: #fff;
	font-size: 16.5px;
	line-height: 1.8;
	letter-spacing: -0.012em;
}
.elg.is-skin-formal .elg-wrap {
	max-width: var(--elg-width);
	padding-inline: 28px;
}

/* 머리글 */
.elg.is-skin-formal .elg-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: #fff;
	border-bottom: 1px solid var(--elg-line);
	box-shadow: none;
}
.elg.is-skin-formal .elg-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 104px;
}
.elg.is-skin-formal .elg-header__logoimg {
	height: 64px;
	width: auto;
}
.elg.is-skin-formal .elg-header__actions,
.elg.is-skin-formal .elg-header__buttons {
	margin-left: auto;
	display: flex;
	gap: 10px;
}
.elg.is-skin-formal .elg-header__actions .elg-btn,
.elg.is-skin-formal .elg-header__buttons .elg-btn {
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--elg-navy);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
}

/* 첫 화면: 소개 글을 카드 위 남색 띠로 올립니다 */
.elg.is-skin-formal .elg-main > .elg-wrap {
	display: flex;
	flex-direction: column;
}
.elg.is-skin-formal .elg-main {
	padding-top: 0;
}
.elg.is-skin-formal .elg-cards {
	order: 1;
	margin-top: 54px;
}
.elg.is-skin-formal .elg-keywords {
	order: 2;
}
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-intro {
	order: 0;
	margin: 0 calc(50% - 50vw);
	padding: 64px calc(50vw - 50% + 28px) 68px;
	max-width: none;
	background: var(--elg-navy);
	color: rgba(255, 255, 255, 0.78);
	border: 0;
	border-radius: 0;
}
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-intro p {
	max-width: 46em;
	font-size: 1.0625rem;
	line-height: 1.9;
}
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-intro p:first-child {
	margin-top: 0;
	color: #fff;
	font-size: 2.125rem;
	font-weight: 800;
	line-height: 1.38;
	letter-spacing: -0.035em;
}

/* 카드 */
.elg.is-skin-formal .elg-cards__grid {
	counter-reset: elgcard;
	gap: 22px;
}
.elg.is-skin-formal .elg-card {
	border: 1px solid var(--elg-line);
	border-radius: 12px;
	background: #fff;
	overflow: hidden;
	box-shadow: none;
	transition: border-color 0.15s, transform 0.15s;
}
.elg.is-skin-formal .elg-card:hover {
	border-color: var(--elg-gold);
	transform: translateY(-2px);
}
.elg.is-skin-formal .elg-card__media {
	position: relative;
	/* 가로형. 자료에 글자가 위쪽에 있어 위를 기준으로 자릅니다. */
	/* 가로형을 유지하되 세로를 조금 더 줍니다. 글 영역을 줄여 사진 아래쪽이 더 보입니다. */
	aspect-ratio: 4 / 3;
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-card__media::before {
	counter-increment: elgcard;
	content: counter(elgcard, decimal-leading-zero);
	position: absolute;
	left: 14px;
	top: 14px;
	/* 카드 사진 위에 얹습니다. 낮은 값은 사진에 가려집니다. */
	z-index: 50;
	padding: 5px 11px;
	border-radius: 5px;
	background: rgba(14, 26, 47, 0.82);
	color: var(--elg-gold);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}
.elg.is-skin-formal .elg-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* 제목이 위에 있는 자료가 많아 위를 기준으로 맞춥니다. */
	object-position: center top;
}
.elg.is-skin-formal .elg-card__body {
	gap: 6px;
	padding: 13px 15px 15px;
}
.elg.is-skin-formal .elg-card__title {
	margin: 0;
	color: var(--elg-ink);
	font-size: 1.03125rem;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.02em;
}
.elg.is-skin-formal .elg-card__meta {
	display: none;
}
.elg.is-skin-formal .elg-card__desc {
	margin: 0;
	color: var(--elg-body);
	font-size: 0.875rem;
	line-height: 1.62;
}
.elg.is-skin-formal .elg-card__more {
	margin-top: 9px;
	color: var(--elg-navy);
	font-size: 0.84375rem;
	font-weight: 700;
}

/* 상세: 제목 띠 */
.elg.is-skin-formal .elg-top {
	background: var(--elg-navy);
	color: #fff;
}
.elg.is-skin-formal .elg-top .elg-wrap {
	padding-block: 54px 58px;
}
.elg.is-skin-formal .elg-top .elg-crumb {
	margin: 0;
	color: rgba(255, 255, 255, 0.52);
	font-size: 0.8125rem;
}
.elg.is-skin-formal .elg-top .elg-crumb a {
	color: inherit;
}
.elg.is-skin-formal .elg-top .elg-article__header {
	margin: 0;
	padding: 0;
	border: 0;
}
.elg.is-skin-formal .elg-top .elg-article__title {
	margin: 18px 0 0;
	color: #fff;
	font-size: 2.375rem;
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: -0.035em;
}
.elg.is-skin-formal .elg-top .elg-article__subtitle {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 1rem;
}

/* 상세: 두 단 */
.elg.is-skin-formal .elg-split {
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 48px;
	padding-block: 52px 72px;
	align-items: start;
}
.elg.is-skin-formal .elg-article {
	display: flex;
	flex-direction: column;
}
.elg.is-skin-formal .elg-toc {
	order: 0;
	margin: 0 0 34px;
	padding: 22px 26px 24px;
	border: 1px solid var(--elg-line);
	border-radius: 12px;
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-toc__heading {
	margin: 0 0 12px;
	color: var(--elg-gold);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
}
.elg.is-skin-formal .elg-toc__list {
	display: grid;
	gap: 7px;
}
.elg.is-skin-formal .elg-toc__list a {
	display: flex;
	gap: 10px;
	color: var(--elg-ink);
	font-size: 0.90625rem;
}
.elg.is-skin-formal .elg-toc__list .elg-num {
	color: var(--elg-muted);
	font-variant-numeric: tabular-nums;
}
.elg.is-skin-formal .elg-intro,
.elg.is-skin-formal .elg-content {
	order: 1;
}
.elg.is-skin-formal .elg-shots {
	order: 2;
}
.elg.is-skin-formal .elg-summary {
	order: 3;
}
.elg.is-skin-formal .elg-faq {
	order: 4;
}
.elg.is-skin-formal .elg-split > .elg-article > :not(.elg-toc):not(.elg-intro):not(.elg-content):not(.elg-shots):not(.elg-summary):not(.elg-faq) {
	order: 5;
}

/* 상세: 글 */
.elg.is-skin-formal .elg-content {
	counter-reset: elgsec;
}
.elg.is-skin-formal .elg-content h2 {
	margin: 44px 0 16px;
	padding-top: 24px;
	border-top: 1px solid var(--elg-line);
	color: var(--elg-ink);
	font-size: 1.375rem;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: -0.02em;
}
.elg.is-skin-formal .elg-content h2::before {
	counter-increment: elgsec;
	content: counter(elgsec, decimal-leading-zero);
	display: block;
	margin-bottom: 8px;
	color: var(--elg-gold);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
}
.elg.is-skin-formal .elg-content p {
	margin: 0 0 20px;
	font-size: 1rem;
	line-height: 1.9;
}

/* 상세: 표 */
.elg.is-skin-formal .elg-content .elg-table,
.elg.is-skin-formal .elg-content .wp-block-table {
	margin: 22px 0 30px;
	border: 0;
}
.elg.is-skin-formal .elg-content .elg-table table,
.elg.is-skin-formal .elg-content .wp-block-table table {
	border-collapse: separate;
	border-spacing: 0 10px;
	width: 100%;
}
.elg.is-skin-formal .elg-content .elg-table th,
.elg.is-skin-formal .elg-content .wp-block-table th {
	width: 150px;
	padding: 14px 16px;
	border: 0;
	border-radius: 10px 0 0 10px;
	background: var(--elg-navy);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	vertical-align: middle;
}
.elg.is-skin-formal .elg-content .elg-table td,
.elg.is-skin-formal .elg-content .wp-block-table td {
	padding: 16px 20px;
	border: 1px solid var(--elg-line);
	border-left: 0;
	border-radius: 0 10px 10px 0;
	background: #fff;
	font-size: 0.90625rem;
	line-height: 1.75;
}

/* 상세: 사진 */
.elg.is-skin-formal .elg-shots {
	display: grid;
	gap: 16px;
	margin: 34px 0 4px;
}
.elg.is-skin-formal .elg-shot {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--elg-line);
	border-radius: 12px;
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-shot img {
	display: block;
	width: 100%;
	height: auto;
}

/* 상세: 핵심요약 */
.elg.is-skin-formal .elg-summary {
	margin: 36px 0;
	padding: 26px 28px 28px;
	border: 1px solid var(--elg-line);
	border-radius: 12px;
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-summary__heading {
	margin: 0 0 16px;
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.elg.is-skin-formal .elg-summary__list {
	display: grid;
	gap: 14px;
}
.elg.is-skin-formal .elg-summary__list li {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	color: var(--elg-ink);
	font-size: 0.9375rem;
	line-height: 1.78;
}
.elg.is-skin-formal .elg-summary__list .elg-num {
	padding-top: 2px;
	color: var(--elg-gold);
	font-size: 0.78125rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* 상세: 자주 묻는 질문 */
.elg.is-skin-formal .elg-faq {
	margin: 36px 0 0;
}
.elg.is-skin-formal .elg-faq__heading {
	margin: 0 0 14px;
	color: var(--elg-ink);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.elg.is-skin-formal .elg-faq__list {
	display: block;
}
.elg.is-skin-formal .elg-faq__item {
	margin: 0;
	padding: 0;
	border: 0;
	border-top: 1px solid var(--elg-line);
	border-radius: 0;
	background: none;
}
.elg.is-skin-formal .elg-faq__item:last-child {
	border-bottom: 1px solid var(--elg-line);
}
.elg.is-skin-formal .elg-faq__q {
	position: relative;
	padding: 17px 34px 17px 0;
	color: var(--elg-ink);
	font-size: 0.96875rem;
	font-weight: 600;
	line-height: 1.6;
}
.elg.is-skin-formal .elg-faq__q::after {
	content: "+";
	position: absolute;
	right: 6px;
	top: 15px;
	color: var(--elg-muted);
	font-size: 1.125rem;
}
.elg.is-skin-formal .elg-faq__item[open] .elg-faq__q::after {
	content: "−";
}
.elg.is-skin-formal .elg-faq__a {
	padding: 0 0 20px;
	font-size: 0.9375rem;
	line-height: 1.85;
}
.elg.is-skin-formal .elg-faq__a p {
	margin: 0;
}

/* 상세: 옆 단 */
.elg.is-skin-formal .elg-aside {
	position: sticky;
	top: 124px;
	display: grid;
	gap: 18px;
}
.elg.is-skin-formal .elg-aside__box {
	padding: 22px 22px 24px;
	border: 1px solid var(--elg-line);
	border-radius: 12px;
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-aside__kicker {
	margin: 0 0 8px;
	color: var(--elg-gold);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.16em;
}
.elg.is-skin-formal .elg-aside__title {
	margin: 0;
	color: var(--elg-ink);
	font-size: 1rem;
	font-weight: 700;
}
.elg.is-skin-formal .elg-aside__call {
	display: block;
	margin-top: 16px;
	padding: 16px;
	border-radius: 10px;
	background: var(--elg-navy);
	color: #fff;
	text-align: center;
	font-size: 1.25rem;
	font-weight: 800;
}

/* 키워드 줄 */
.elg.is-skin-formal .elg-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	padding-bottom: 56px;
}
.elg.is-skin-formal .elg-keywords__item {
	padding: 7px 14px;
	border: 1px solid var(--elg-line);
	border-radius: 999px;
	background: var(--elg-wash);
	color: var(--elg-navy);
	font-size: 0.8125rem;
	font-weight: 500;
}

/* 맺는 상담 영역 */
.elg.is-skin-formal .elg-closing {
	background: var(--elg-navy);
	color: #fff;
}
.elg.is-skin-formal .elg-closing__in {
	gap: 48px;
	padding-block: 64px;
	align-items: center;
}
.elg.is-skin-formal .elg-closing__kicker {
	color: var(--elg-gold);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
}
.elg.is-skin-formal .elg-closing__title {
	margin: 14px 0;
	color: #fff;
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.03em;
}
.elg.is-skin-formal .elg-closing__text,
.elg.is-skin-formal .elg-closing__note {
	color: rgba(255, 255, 255, 0.72);
}
.elg.is-skin-formal .elg-closing__card {
	padding: 28px 30px 30px;
	border: 0;
	border-radius: 14px;
	background: var(--elg-gold);
	color: var(--elg-navy-deep);
	text-align: center;
}
.elg.is-skin-formal .elg-closing__firm {
	color: var(--elg-navy-deep);
	font-size: 0.78125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
}
.elg.is-skin-formal .elg-closing__tel {
	margin: 6px 0 18px;
	color: var(--elg-navy-deep);
	font-size: 2.125rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.elg.is-skin-formal .elg-closing__btn {
	display: block;
	padding: 13px;
	border: 0;
	border-radius: 8px;
	background: var(--elg-navy-deep);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 700;
}
.elg.is-skin-formal .elg-closing__btn + .elg-closing__btn {
	margin-top: 10px;
	border: 1px solid rgba(14, 26, 47, 0.3);
	background: transparent;
	color: var(--elg-navy-deep);
}

/* 꼬리글 */
.elg.is-skin-formal .elg-footer--dark {
	background: var(--elg-navy-deep);
	color: rgba(255, 255, 255, 0.72);
}
.elg.is-skin-formal .elg-footer__in {
	padding-block: 48px 38px;
}
.elg.is-skin-formal .elg-footer__logoimg {
	height: 62px;
	width: auto;
}
.elg.is-skin-formal .elg-footer__copy {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.78125rem;
}

@media (max-width: 1023px) {
	.elg.is-skin-formal .elg-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.elg.is-skin-formal .elg-aside {
		position: static;
	}
}
@media (max-width: 639px) {
	.elg.is-skin-formal .elg-wrap {
		padding-inline: 18px;
	}
	.elg.is-skin-formal .elg-main > .elg-wrap > .elg-intro {
		padding-inline: calc(50vw - 50% + 18px);
	}
	.elg.is-skin-formal .elg-header__inner {
		min-height: 78px;
	}
	.elg.is-skin-formal .elg-header__logoimg {
		height: 46px;
	}
	.elg.is-skin-formal .elg-top .elg-article__title {
		font-size: 1.75rem;
	}
	.elg.is-skin-formal .elg-content h2 {
		font-size: 1.1875rem;
	}
}

/* 정장형 첫 화면 ------------------------------------------------------- */

.elg.is-skin-formal .elg-hero {
	background: var(--elg-navy);
	color: rgba(255, 255, 255, 0.78);
}
.elg.is-skin-formal .elg-hero .elg-wrap {
	padding-block: 82px 88px;
}
.elg.is-skin-formal .elg-hero__tag {
	display: inline-block;
	padding: 7px 15px;
	border-radius: 999px;
	background: rgba(201, 169, 110, 0.16);
	color: var(--elg-gold);
	font-size: 0.78125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.elg.is-skin-formal .elg-hero__title {
	margin: 22px 0 20px;
	color: #fff;
	font-size: 3rem;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.04em;
}
.elg.is-skin-formal .elg-hero__title em {
	font-style: normal;
	color: var(--elg-gold);
}
.elg.is-skin-formal .elg-hero__text {
	margin: 0 0 6px;
	max-width: 44em;
	font-size: 1.0625rem;
	line-height: 1.85;
}
.elg.is-skin-formal .elg-hero__text em {
	font-style: normal;
	font-weight: 700;
	color: #fff;
}
.elg.is-skin-formal .elg-hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}
.elg.is-skin-formal .elg-hero__buttons .elg-btn {
	padding: 15px 26px;
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: 8px;
	background: transparent;
	color: #fff;
	font-size: 0.96875rem;
	font-weight: 700;
}
.elg.is-skin-formal .elg-hero__buttons .elg-btn--accent {
	border-color: var(--elg-gold);
	background: var(--elg-gold);
	color: var(--elg-navy-deep);
}

/* 세 가지 요점 */
.elg.is-skin-formal .elg-points {
	border-bottom: 1px solid var(--elg-line);
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-points__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin: 0;
	padding-block: 38px 40px;
	list-style: none;
}
.elg.is-skin-formal .elg-points__item {
	display: grid;
	gap: 6px;
	padding-left: 52px;
	position: relative;
}
.elg.is-skin-formal .elg-points__num {
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--elg-gold);
	font-size: 1.125rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}
.elg.is-skin-formal .elg-points__title {
	color: var(--elg-ink);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.elg.is-skin-formal .elg-points__text {
	color: var(--elg-body);
	font-size: 0.90625rem;
	line-height: 1.7;
}

/* 목록 위 제목 */
.elg.is-skin-formal .elg-cardshead {
	order: 1;
	margin: 64px 0 30px;
	text-align: center;
}
.elg.is-skin-formal .elg-cardshead__eyebrow {
	color: var(--elg-gold);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
}
.elg.is-skin-formal .elg-cardshead__title {
	margin: 14px 0 12px;
	color: var(--elg-ink);
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.34;
	letter-spacing: -0.035em;
}
.elg.is-skin-formal .elg-cardshead__title em {
	font-style: normal;
	background: linear-gradient(transparent 62%, var(--elg-gold-soft) 0);
}
.elg.is-skin-formal .elg-cardshead__text {
	margin: 0;
	color: var(--elg-body);
	font-size: 1rem;
}
.elg.is-skin-formal .elg-cardshead + .elg-cards,
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-cardshead + .elg-cards {
	order: 2;
	margin-top: 0;
}

/* 책임 구조 */
.elg.is-skin-formal .elg-resp {
	order: 3;
	margin: 70px calc(50% - 50vw) 0;
	padding-inline: calc(50vw - 50%);
	border-top: 1px solid var(--elg-line);
	background: var(--elg-wash);
}
.elg.is-skin-formal .elg-resp__in {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 52px;
	align-items: center;
	padding-block: 68px 72px;
}
.elg.is-skin-formal .elg-resp__shot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}
.elg.is-skin-formal .elg-resp__eyebrow {
	color: var(--elg-gold);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.22em;
}
.elg.is-skin-formal .elg-resp__title {
	margin: 14px 0 14px;
	color: var(--elg-ink);
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.4;
	letter-spacing: -0.035em;
}
.elg.is-skin-formal .elg-resp__title em {
	font-style: normal;
	background: linear-gradient(transparent 62%, var(--elg-gold-soft) 0);
}
.elg.is-skin-formal .elg-resp__text {
	margin: 0 0 22px;
	color: var(--elg-body);
}
.elg.is-skin-formal .elg-resp__checks {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.elg.is-skin-formal .elg-resp__checks li {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	color: var(--elg-ink);
	font-size: 0.96875rem;
	line-height: 1.7;
}
.elg.is-skin-formal .elg-resp__checks span {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--elg-navy);
	color: var(--elg-gold);
	font-size: 0.75rem;
}
.elg.is-skin-formal .elg-resp__checks em {
	font-style: normal;
	font-weight: 700;
}

/* 첫 화면의 차례: 머리띠 · 요점은 넓은 띠, 나머지는 본문 폭 */
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-hero,
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-points {
	order: 0;
	margin-inline: calc(50% - 50vw);
	padding-inline: calc(50vw - 50%);
}
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-points {
	order: 0;
}
/* 차례를 못 받은 칸은 맨 앞으로 떠오릅니다. 상담 띠와 안내문에도 자리를 줍니다. */
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-cta {
	order: 4;
	margin-top: 56px;
}
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-notice {
	order: 5;
}
.elg.is-skin-formal .elg-main > .elg-wrap > .elg-keywords {
	order: 6;
	margin-top: 40px;
}

@media (max-width: 1023px) {
	.elg.is-skin-formal .elg-resp__in {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.elg.is-skin-formal .elg-points__list {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}
@media (max-width: 639px) {
	.elg.is-skin-formal .elg-hero .elg-wrap {
		padding-block: 54px 58px;
	}
	.elg.is-skin-formal .elg-hero__title {
		font-size: 2rem;
	}
	.elg.is-skin-formal .elg-cardshead__title {
		font-size: 1.5rem;
	}
	.elg.is-skin-formal .elg-resp__title {
		font-size: 1.375rem;
	}
}

.elg.is-skin-formal .elg-header__actions .elg-btn:not(:first-child),
.elg.is-skin-formal .elg-header__buttons .elg-btn:not(:first-child) {
	display: none;
}

/* 정장형 — 좁은 화면 규격 ------------------------------------------------
   휴대폰에서는 글자와 여백을 한 단계씩 줄입니다. 데스크톱 값을 그대로 쓰면
   한 화면에 머리글과 큰 제목밖에 안 들어갑니다. */

@media (max-width: 767px) {
	.elg.is-skin-formal {
		font-size: 15.5px;
		line-height: 1.75;
	}
	.elg.is-skin-formal .elg-wrap {
		padding-inline: 18px;
	}

	/* 머리글: 로고와 단추를 한 줄에 */
	.elg.is-skin-formal .elg-header__inner {
		flex-wrap: nowrap;
		gap: 10px;
		min-height: 58px;
	}
	.elg.is-skin-formal .elg-header__logoimg {
		height: 34px;
	}
	.elg.is-skin-formal .elg-header__actions,
	.elg.is-skin-formal .elg-header__buttons {
		margin-left: auto;
		gap: 6px;
	}
	.elg.is-skin-formal .elg-header__actions .elg-btn,
	.elg.is-skin-formal .elg-header__buttons .elg-btn {
		padding: 8px 14px;
		font-size: 0.8125rem;
	}

	/* 머리띠 */
	.elg.is-skin-formal .elg-hero .elg-wrap {
		padding-block: 40px 44px;
	}
	.elg.is-skin-formal .elg-hero__tag {
		padding: 5px 12px;
		font-size: 0.71875rem;
	}
	.elg.is-skin-formal .elg-hero__title {
		margin: 16px 0 14px;
		font-size: 1.625rem;
		line-height: 1.34;
		letter-spacing: -0.035em;
	}
	.elg.is-skin-formal .elg-hero__text {
		font-size: 0.9375rem;
		line-height: 1.72;
	}
	.elg.is-skin-formal .elg-hero__buttons {
		gap: 8px;
		margin-top: 22px;
	}
	.elg.is-skin-formal .elg-hero__buttons .elg-btn {
		flex: 1 1 0;
		justify-content: center;
		padding: 13px 10px;
		font-size: 0.875rem;
		text-align: center;
	}

	/* 세 가지 요점 */
	.elg.is-skin-formal .elg-points__list {
		gap: 14px;
		padding-block: 24px 26px;
	}
	.elg.is-skin-formal .elg-points__item {
		padding-left: 40px;
	}
	.elg.is-skin-formal .elg-points__num {
		font-size: 1rem;
	}
	.elg.is-skin-formal .elg-points__title {
		font-size: 0.9375rem;
	}
	.elg.is-skin-formal .elg-points__text {
		font-size: 0.84375rem;
		line-height: 1.62;
	}

	/* 목록 위 제목 · 카드 */
	.elg.is-skin-formal .elg-cardshead {
		margin: 40px 0 20px;
	}
	.elg.is-skin-formal .elg-cardshead__eyebrow {
		font-size: 0.6875rem;
	}
	.elg.is-skin-formal .elg-cardshead__title {
		margin: 10px 0 8px;
		font-size: 1.375rem;
	}
	.elg.is-skin-formal .elg-cardshead__text {
		font-size: 0.90625rem;
	}
	.elg.is-skin-formal .elg-cards__grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.elg.is-skin-formal .elg-card__body {
		padding: 11px 13px 13px;
	}
	.elg.is-skin-formal .elg-card__title {
		font-size: 1rem;
	}
	.elg.is-skin-formal .elg-card__desc {
		/* 기본형은 좁은 화면에서 설명을 감추지만, 시안은 두 줄까지 보여 줍니다. */
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: 0.875rem;
		line-height: 1.68;
	}
	.elg.is-skin-formal .elg-card__media::before {
		left: 10px;
		top: 10px;
		padding: 4px 9px;
		font-size: 0.6875rem;
	}

	/* 책임 구조 */
	.elg.is-skin-formal .elg-resp {
		margin-top: 44px;
	}
	.elg.is-skin-formal .elg-resp__in {
		gap: 22px;
		padding-block: 42px 46px;
	}
	.elg.is-skin-formal .elg-resp__title {
		margin: 10px 0 10px;
		font-size: 1.3125rem;
		line-height: 1.42;
	}
	.elg.is-skin-formal .elg-resp__text {
		margin-bottom: 16px;
		font-size: 0.90625rem;
	}
	.elg.is-skin-formal .elg-resp__checks li {
		font-size: 0.90625rem;
		line-height: 1.62;
	}

	/* 상세: 제목 띠 */
	.elg.is-skin-formal .elg-top .elg-wrap {
		padding-block: 34px 38px;
	}
	.elg.is-skin-formal .elg-top .elg-crumb {
		font-size: 0.75rem;
	}
	.elg.is-skin-formal .elg-top .elg-article__title {
		margin-top: 12px;
		font-size: 1.5rem;
		line-height: 1.38;
	}
	.elg.is-skin-formal .elg-top .elg-article__subtitle {
		margin-top: 10px;
		font-size: 0.90625rem;
	}

	/* 상세: 글 */
	.elg.is-skin-formal .elg-article {
		min-width: 0;
	}
	.elg.is-skin-formal .elg-content .elg-table table,
	.elg.is-skin-formal .elg-content .wp-block-table table {
		display: block;
		min-width: 0;
		border-spacing: 0;
	}
	.elg.is-skin-formal .elg-content .elg-table tbody,
	.elg.is-skin-formal .elg-content .wp-block-table tbody,
	.elg.is-skin-formal .elg-content .elg-table tr,
	.elg.is-skin-formal .elg-content .wp-block-table tr {
		display: block;
		width: 100%;
	}
	.elg.is-skin-formal .elg-content .elg-table tr,
	.elg.is-skin-formal .elg-content .wp-block-table tr {
		margin-bottom: 10px;
	}
	.elg.is-skin-formal .elg-content .elg-table th,
	.elg.is-skin-formal .elg-content .wp-block-table th {
		display: block;
		width: 100%;
		padding: 11px 14px;
		border-radius: 10px 10px 0 0;
		font-size: 0.90625rem;
		text-align: left;
	}
	.elg.is-skin-formal .elg-content .elg-table td,
	.elg.is-skin-formal .elg-content .wp-block-table td {
		display: block;
		width: 100%;
		padding: 13px 14px;
		border: 1px solid var(--elg-line);
		border-top: 0;
		border-radius: 0 0 10px 10px;
		font-size: 0.875rem;
	}
	.elg.is-skin-formal .elg-split {
		padding-block: 32px 44px;
		gap: 28px;
	}
	.elg.is-skin-formal .elg-toc {
		margin-bottom: 24px;
		padding: 16px 18px 18px;
	}
	.elg.is-skin-formal .elg-toc__list a {
		font-size: 0.875rem;
	}
	.elg.is-skin-formal .elg-content h2 {
		margin: 30px 0 12px;
		padding-top: 18px;
		font-size: 1.1875rem;
		line-height: 1.42;
	}
	.elg.is-skin-formal .elg-content p {
		margin-bottom: 16px;
		font-size: 0.9375rem;
		line-height: 1.8;
	}
	.elg.is-skin-formal .elg-shots {
		gap: 12px;
		margin: 24px 0 0;
	}
	.elg.is-skin-formal .elg-summary {
		margin: 26px 0;
		padding: 20px 18px 22px;
	}
	.elg.is-skin-formal .elg-summary__heading,
	.elg.is-skin-formal .elg-faq__heading {
		font-size: 1rem;
	}
	.elg.is-skin-formal .elg-summary__list {
		gap: 11px;
	}
	.elg.is-skin-formal .elg-summary__list li {
		grid-template-columns: 22px minmax(0, 1fr);
		gap: 9px;
		font-size: 0.875rem;
		line-height: 1.7;
	}
	.elg.is-skin-formal .elg-faq__q {
		padding: 14px 30px 14px 0;
		font-size: 0.90625rem;
	}
	.elg.is-skin-formal .elg-faq__q::after {
		top: 12px;
	}
	.elg.is-skin-formal .elg-faq__a {
		padding-bottom: 16px;
		font-size: 0.875rem;
		line-height: 1.78;
	}
	.elg.is-skin-formal .elg-aside__box {
		padding: 18px 18px 20px;
	}
	.elg.is-skin-formal .elg-aside__call {
		margin-top: 12px;
		padding: 13px;
		font-size: 1.125rem;
	}

	/* 키워드 · 맺음 · 꼬리 */
	.elg.is-skin-formal .elg-keywords {
		gap: 6px 7px;
		padding-bottom: 36px;
	}
	.elg.is-skin-formal .elg-keywords__item {
		padding: 6px 11px;
		font-size: 0.75rem;
	}
	.elg.is-skin-formal .elg-closing__in {
		gap: 26px;
		padding-block: 44px;
	}
	.elg.is-skin-formal .elg-closing__title {
		margin: 10px 0;
		font-size: 1.5rem;
		line-height: 1.38;
	}
	.elg.is-skin-formal .elg-closing__card {
		padding: 22px 20px 24px;
	}
	.elg.is-skin-formal .elg-closing__tel {
		margin: 4px 0 14px;
		font-size: 1.75rem;
	}
	.elg.is-skin-formal .elg-closing__btn {
		padding: 12px;
		font-size: 0.875rem;
	}
	.elg.is-skin-formal .elg-footer__in {
		padding-block: 34px 28px;
	}
	.elg.is-skin-formal .elg-footer__logoimg {
		height: 44px;
	}
	.elg.is-skin-formal .elg-footer__in p,
	.elg.is-skin-formal .elg-footer__rows {
		font-size: 0.8125rem;
	}
	.elg.is-skin-formal .elg-footer__copy {
		margin-top: 18px;
		padding-top: 15px;
		font-size: 0.71875rem;
	}

	/* 아래 고정 바에 가리지 않게 바닥을 비웁니다 */
	.elg.is-skin-formal .elg-footer {
		padding-bottom: 64px;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.elg.is-skin-formal .elg-hero__title {
		font-size: 2.25rem;
	}
	.elg.is-skin-formal .elg-cards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.elg.is-skin-formal .elg-top .elg-article__title {
		font-size: 2rem;
	}
}

/* 정장형 — 칸마다 색을 바꿉니다 --------------------------------------------
   남색 한 가지로 위에서 아래까지 가면 어디가 어디인지 구별이 안 됩니다.
   따뜻한 톤(모래)과 차가운 톤(안개)을 번갈아 깔고, 남색은 머리띠·제목띠·
   맺음에만 씁니다. */

.elg.is-skin-formal {
	--elg-warm: #faf7f1;
	--elg-warm-line: #ece3d4;
	--elg-cool: #f2f5fa;
	--elg-cool-line: #dde5f0;
	--elg-slate: #1d3154;
}

/* 머리띠·제목띠: 평평한 남색 대신 위아래로 번지는 남색 */
.elg.is-skin-formal .elg-hero,
.elg.is-skin-formal .elg-top {
	background: linear-gradient(152deg, var(--elg-navy-deep) 0%, var(--elg-slate) 62%, #24406b 100%);
	border-bottom: 3px solid var(--elg-gold);
}
.elg.is-skin-formal .elg-top {
	border-bottom-width: 2px;
}

/* 요점 줄: 모래빛 */
.elg.is-skin-formal .elg-points {
	border-bottom: 1px solid var(--elg-warm-line);
	background: var(--elg-warm);
}

/* 책임 구조: 안개빛 */
.elg.is-skin-formal .elg-resp {
	border-top: 1px solid var(--elg-cool-line);
	border-bottom: 1px solid var(--elg-cool-line);
	background: var(--elg-cool);
}

/* 목차는 모래빛, 핵심요약은 안개빛 — 길게 읽다 보면 구분이 됩니다 */
.elg.is-skin-formal .elg-toc {
	border-color: var(--elg-warm-line);
	background: var(--elg-warm);
}
.elg.is-skin-formal .elg-summary {
	border-color: var(--elg-cool-line);
	background: var(--elg-cool);
}

/* 옆 칸: 상담은 금색, 정보는 흰색 */
.elg.is-skin-formal .elg-aside__box {
	border-color: var(--elg-cool-line);
	background: #fff;
}
.elg.is-skin-formal .elg-aside__box:first-child {
	border-color: var(--elg-warm-line);
	background: var(--elg-warm);
}
.elg.is-skin-formal .elg-aside__call {
	background: var(--elg-gold);
	color: var(--elg-navy-deep);
}
.elg.is-skin-formal .elg-aside__call span {
	color: rgba(14, 26, 47, 0.68);
}
.elg.is-skin-formal .elg-aside__site {
	display: block;
	margin-top: 14px;
	padding: 12px;
	border: 1px solid var(--elg-navy);
	border-radius: 9px;
	color: var(--elg-navy);
	font-size: 0.875rem;
	font-weight: 700;
	text-align: center;
}
.elg.is-skin-formal .elg-aside__site:hover {
	background: var(--elg-navy);
	color: #fff;
}
.elg.is-skin-formal .elg-aside__list dd a {
	color: var(--elg-navy);
	font-weight: 600;
}

/* 표: 머리 칸은 남색, 몸 칸은 아주 옅은 안개빛 */
.elg.is-skin-formal .elg-content .elg-table td,
.elg.is-skin-formal .elg-content .wp-block-table td {
	border-color: var(--elg-cool-line);
	background: #fbfcfe;
}

/* 카드: 모서리에 금색이 스치게 */
.elg.is-skin-formal .elg-card {
	border-color: #e7ebf2;
}
.elg.is-skin-formal .elg-card:hover {
	border-color: var(--elg-gold);
	box-shadow: 0 10px 26px rgba(22, 35, 60, 0.09);
}

/* 사진 틀 */
.elg.is-skin-formal .elg-shot {
	border-color: var(--elg-cool-line);
	background: var(--elg-cool);
}

/* 키워드: 모래빛 */
.elg.is-skin-formal .elg-keywords__item {
	border-color: var(--elg-warm-line);
	background: var(--elg-warm);
}

/* 맺음: 남색보다 한 단계 짙게, 위에 금색 선 */
.elg.is-skin-formal .elg-closing {
	border-top: 3px solid var(--elg-gold);
	background: linear-gradient(118deg, var(--elg-navy) 0%, var(--elg-navy-deep) 100%);
}

/* 꼬리글: 가장 짙은 색으로 바닥을 닫습니다 */
.elg.is-skin-formal .elg-footer--dark {
	background: #0a1322;
}

/* 떠 있는 바 */
.elg.is-skin-formal .elg-quick {
	border-color: var(--elg-cool-line);
}
.elg.is-skin-formal .elg-quick__item:hover {
	color: var(--elg-navy);
}
