/* Seoriful Daily Blog 2.0 — detailed service page template */
.srf-auto-page {
	--srf-red: #c9141d;
	--srf-red-dark: #9f1017;
	--srf-navy: #142238;
	--srf-ink: #202733;
	--srf-muted: #687180;
	--srf-line: #dfe3e8;
	--srf-soft: #f5f6f8;
	--srf-rose: #fff3f3;
	width: min(1180px, calc(100vw - 40px));
	max-width: none !important;
	margin: 0 0 72px 50% !important;
	transform: translateX(-50%);
	color: var(--srf-ink);
	font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 17px;
	line-height: 1.78;
	letter-spacing: -0.022em;
	word-break: keep-all;
}

.srf-auto-page * { box-sizing: border-box; }
.srf-auto-page p { margin: 0; }
.srf-auto-page h2,
.srf-auto-page h3 { margin: 0; padding: 0; border: 0; color: inherit; font-family: inherit; }
.srf-auto-page h2::before,
.srf-auto-page h3::before { display: none !important; }

.srf-hero {
	position: relative;
	padding: 50px 54px 46px;
	background: linear-gradient(132deg, #fff 0%, #fff 58%, #fff2f2 100%);
	border-top: 4px solid var(--srf-red);
	border-bottom: 1px solid var(--srf-line);
}

.srf-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 25px;
	color: var(--srf-red);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.srf-kicker span + span { padding-left: 12px; border-left: 1px solid #d7dade; color: var(--srf-muted); }
.srf-hero-lead { max-width: 930px; color: #303946; font-size: clamp(19px, 2vw, 24px); line-height: 1.72; font-weight: 600; }

.srf-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: 38px;
	background: var(--srf-line);
	border: 1px solid var(--srf-line);
}

.srf-fact { min-height: 142px; padding: 24px; background: #fff; }
.srf-fact > span { display: block; margin-bottom: 12px; color: var(--srf-red); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.srf-fact p { color: #303744; font-size: 15px; line-height: 1.68; font-weight: 650; }

.srf-inline-image { margin: 0 !important; background: #edf0f3; overflow: hidden; }
.srf-inline-image img { display: block; width: 100%; aspect-ratio: 16 / 7.2; object-fit: cover; }

.srf-section { padding: 80px 54px; }
.srf-section + .srf-section { border-top: 1px solid var(--srf-line); }

.srf-section-heading { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 34px; }
.srf-section-heading > span { display: grid; flex: 0 0 42px; height: 42px; place-items: center; background: var(--srf-red); color: #fff; font-size: 13px; font-weight: 900; }
.srf-section-heading p { margin: 0 0 4px; color: var(--srf-red); font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.srf-section-heading h2 { font-size: clamp(27px, 3vw, 39px) !important; line-height: 1.28 !important; font-weight: 850 !important; letter-spacing: -.045em; }
.srf-section-intro { max-width: 930px; margin-bottom: 32px !important; color: #4d5663; font-size: 17px; }

.srf-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.srf-card { position: relative; min-height: 245px; padding: 30px 25px 26px; background: #fff; border: 1px solid var(--srf-line); transition: transform .2s ease, box-shadow .2s ease; }
.srf-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20,34,56,.09); }
.srf-card-number { display: block; margin-bottom: 32px; color: var(--srf-red); font-size: 13px; font-weight: 900; }
.srf-card h3 { margin-bottom: 13px; color: var(--srf-navy); font-size: 20px !important; line-height: 1.4 !important; font-weight: 800 !important; }
.srf-card p { color: #5a6370; font-size: 15px; line-height: 1.72; }

.srf-precheck { background: var(--srf-navy); color: #fff; }
.srf-precheck .srf-section-heading h2 { color: #fff; }
.srf-precheck .srf-section-heading p { color: #ff9fa4; }
.srf-precheck-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 55px; align-items: start; }
.srf-precheck-layout > p { color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.85; }
.srf-check-list { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; list-style: none !important; }
.srf-check-list li { display: flex; gap: 13px; margin: 0 !important; padding: 13px 0 !important; border-bottom: 1px solid rgba(255,255,255,.16); color: #fff; }
.srf-check-list li:first-child { padding-top: 0 !important; }
.srf-check-list span { display: grid; flex: 0 0 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--srf-red); font-size: 12px; font-weight: 900; }

.srf-document-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.srf-document { display: flex; gap: 22px; min-height: 180px; padding: 29px; background: var(--srf-soft); border-left: 3px solid var(--srf-red); }
.srf-document > span { color: var(--srf-red); font-size: 13px; font-weight: 900; }
.srf-document h3 { margin-bottom: 10px; color: var(--srf-navy); font-size: 19px !important; line-height: 1.45 !important; font-weight: 800 !important; }
.srf-document p { color: #5a6370; font-size: 15px; line-height: 1.75; }

.srf-process { background: #fafafa; }
.srf-process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.srf-step { min-height: 225px; padding: 27px; background: #fff; border: 1px solid var(--srf-line); }
.srf-step > span { display: inline-block; margin-bottom: 30px; color: var(--srf-red); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.srf-step h3 { margin-bottom: 10px; color: var(--srf-navy); font-size: 19px !important; line-height: 1.45 !important; font-weight: 800 !important; }
.srf-step p { color: #5a6370; font-size: 15px; line-height: 1.72; }

.srf-warning { display: grid; grid-template-columns: 170px 1fr; gap: 32px; padding: 45px 54px; background: var(--srf-rose); border-top: 1px solid #f0c9cb; border-bottom: 1px solid #f0c9cb; }
.srf-warning > span { align-self: start; padding: 8px 12px; background: var(--srf-red); color: #fff; text-align: center; font-size: 13px; font-weight: 850; }
.srf-warning h2 { margin-bottom: 9px; color: var(--srf-red-dark); font-size: 23px !important; line-height: 1.4 !important; font-weight: 850 !important; }
.srf-warning p { color: #5d3d40; font-size: 16px; line-height: 1.8; }

.srf-faq-list { border-top: 2px solid var(--srf-navy); }
.srf-faq details { border-bottom: 1px solid var(--srf-line); }
.srf-faq summary { display: flex; gap: 17px; align-items: center; padding: 23px 8px; cursor: pointer; color: var(--srf-navy); font-size: 17px; font-weight: 750; list-style: none; }
.srf-faq summary::-webkit-details-marker { display: none; }
.srf-faq summary::after { content: "+"; margin-left: auto; color: var(--srf-red); font-size: 24px; font-weight: 400; }
.srf-faq details[open] summary::after { content: "–"; }
.srf-faq summary > span,
.srf-answer > span { color: var(--srf-red); font-size: 16px; font-weight: 900; }
.srf-answer { display: flex; gap: 17px; padding: 0 40px 25px 8px; color: #5c6571; }
.srf-answer p { font-size: 16px; line-height: 1.8; }

.srf-sources { margin: 0; padding: 35px 54px; background: #f1f3f5; border-top: 1px solid var(--srf-line); }
.srf-sources h2 { margin-bottom: 14px; color: var(--srf-navy); font-size: 18px !important; font-weight: 800 !important; }
.srf-sources ul { display: grid; gap: 8px; margin: 0 0 15px !important; padding: 0 !important; background: transparent !important; border: 0 !important; list-style: none !important; }
.srf-sources li { margin: 0 !important; padding: 0 !important; }
.srf-sources a { color: #374e69; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.srf-sources small { margin-left: 9px; color: var(--srf-muted); font-size: 12px; }
.srf-sources > p { color: var(--srf-muted); font-size: 13px; }

.srf-cta { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; padding: 58px 54px; background: var(--srf-navy); color: #fff; }
.srf-cta-eyebrow { margin-bottom: 12px !important; color: #ff9fa4; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.srf-cta h2 { margin-bottom: 16px; color: #fff; font-size: clamp(28px, 3.6vw, 44px) !important; line-height: 1.24 !important; font-weight: 850 !important; letter-spacing: -.045em; }
.srf-cta > div > p:last-child { max-width: 650px; color: rgba(255,255,255,.72); font-size: 15px; }
.srf-cta-actions { display: grid; gap: 10px; min-width: 190px; }
.srf-cta-actions a { display: block; padding: 14px 22px; text-align: center; font-size: 15px; font-weight: 800; text-decoration: none !important; }
.srf-cta-primary { background: var(--srf-red); color: #fff !important; }
.srf-cta-primary:hover { background: var(--srf-red-dark); }
.srf-cta-secondary { border: 1px solid rgba(255,255,255,.45); color: #fff !important; }

@media (max-width: 900px) {
	.srf-facts,
	.srf-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srf-process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.srf-precheck-layout { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
	.srf-auto-page { width: calc(100vw - 24px); margin-bottom: 40px !important; font-size: 16px; line-height: 1.72; word-break: normal; }
	.srf-hero,
	.srf-section { padding: 40px 22px; }
	.srf-kicker { align-items: flex-start; flex-direction: column; gap: 4px; }
	.srf-kicker span + span { padding-left: 0; border-left: 0; }
	.srf-facts,
	.srf-card-grid,
	.srf-document-grid,
	.srf-process-grid { grid-template-columns: 1fr; }
	.srf-fact,
	.srf-card,
	.srf-document,
	.srf-step { min-height: auto; }
	.srf-section-heading { gap: 14px; }
	.srf-section-heading > span { flex-basis: 36px; height: 36px; }
	.srf-inline-image img { aspect-ratio: 4 / 3; }
	.srf-warning { grid-template-columns: 1fr; gap: 18px; padding: 35px 22px; }
	.srf-warning > span { justify-self: start; }
	.srf-sources { padding: 30px 22px; }
	.srf-sources small { display: block; margin: 3px 0 0; }
	.srf-cta { grid-template-columns: 1fr; gap: 28px; padding: 44px 22px; }
	.srf-cta-actions { min-width: 0; }
}

@media print {
	.srf-auto-page { width: 100%; margin: 0 !important; transform: none; color: #111; font-size: 10.5pt; }
	.srf-inline-image,
	.srf-cta-actions { display: none; }
	.srf-hero,
	.srf-section,
	.srf-warning,
	.srf-sources,
	.srf-cta { padding: 10mm 0; background: #fff; color: #111; break-inside: avoid; }
	.srf-precheck .srf-section-heading h2,
	.srf-cta h2 { color: #111; }
}

/* 1.x posts remain readable until they are reviewed or removed manually. */
.seoriful-ai-article:not(.srf-auto-page) {
	max-width: 820px;
	margin: 0 auto;
	color: #27343b;
	font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
	font-size: 11pt;
	line-height: 1.78;
}
.seoriful-ai-article:not(.srf-auto-page) .seoriful-article-kicker { display: flex; justify-content: space-between; margin-bottom: 22px; padding-bottom: 11px; border-bottom: 1px solid #dce6ea; color: #28718f; font-size: 9.5pt; font-weight: 700; }
.seoriful-ai-article:not(.srf-auto-page) .seoriful-article-summary { margin-bottom: 30px; padding: 22px 24px; background: #edf7fa; border-left: 5px solid #28718f; }
.seoriful-ai-article:not(.srf-auto-page) h2 { margin: 2em 0 .8em; color: #173c52; font-size: 13pt; }
.seoriful-ai-article:not(.srf-auto-page) h3 { color: #244b60; font-size: 11.5pt; }
.seoriful-ai-article:not(.srf-auto-page) .seoriful-article-sources { margin-top: 34px; padding: 20px 22px; background: #f7f9fa; border: 1px solid #dce6ea; }
.seoriful-ai-article:not(.srf-auto-page) .seoriful-article-cta { margin-top: 34px; padding: 28px 30px; background: #173c52; color: #fff; }
.seoriful-ai-article:not(.srf-auto-page) .seoriful-article-cta h2,
.seoriful-ai-article:not(.srf-auto-page) .seoriful-article-cta p { color: #fff; }
