/* [#036] 신규 SEO 콘텐츠 페이지 전용 스타일.
   main.css/reset.css는 건드리지 않음. 클래스는 전부 sp- 접두.
   색상·반경·여백 값은 기존 main.css 톤(#3970B7 주색, #e9714e 강조,
   3px 라운드, 16px 이상 글자, 그림자 없는 플랫 디자인)을 그대로 따름.
   레이아웃 폭(최대 720px, 가운데 정렬)은 기존 body/.box_width 규칙을
   그대로 쓰므로 여기서 다시 정의하지 않음. */

.sp-breadcrumb {
	margin: 16px 16px 0 16px;
	font-size: 14px;
	color: #777;
}

.sp-breadcrumb a {
	color: #777;
	text-decoration: none;
}

.sp-hero {
	margin: 20px 16px 0 16px;
}

.sp-hero h2 {
	font-size: 20px;
	line-height: 28px;
	color: #222;
	margin-bottom: 8px;
}

.sp-hero p {
	font-size: 16px;
	line-height: 24px;
	color: #555;
	margin: 8px 0;
}

.sp-card {
	margin: 20px 16px 0 16px;
	padding: 20px;
	background-color: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 3px;
}

.sp-card h3 {
	font-size: 16px;
	color: #3970B7;
	margin-bottom: 8px;
}

.sp-card p {
	font-size: 16px;
	line-height: 24px;
	color: #555;
}

.sp-table-wrap {
	margin: 20px 16px 0 16px;
	overflow-x: auto;
}

.sp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
}

.sp-table th, .sp-table td {
	border: 1px solid #eee;
	padding: 12px 10px;
	text-align: center;
	min-height: 44px;
}

.sp-table th {
	background-color: #f9f9f9;
	color: #222;
}

.sp-table td {
	color: #555;
}

.sp-btn {
	display: block;
	margin: 20px 16px;
	height: 60px;
	line-height: 60px;
	background-color: #3970B7;
	color: #fff;
	text-align: center;
	border-radius: 3px;
	font-size: 16px;
	text-decoration: none;
}

.sp-btn-sub {
	display: block;
	margin: 12px 16px;
	height: 48px;
	line-height: 48px;
	background-color: #fff;
	color: #3970B7;
	text-align: center;
	border: 1px solid #3970B7;
	border-radius: 3px;
	font-size: 16px;
	text-decoration: none;
}

.sp-disclaimer {
	margin: 24px 16px 0 16px;
	font-size: 14px;
	line-height: 20px;
	color: #999;
}

.sp-source {
	margin: 8px 16px 20px 16px;
	font-size: 12px;
	line-height: 18px;
	color: #999;
}

.sp-paging {
	margin: 20px 16px 0 16px;
	text-align: center;
}

.sp-paging a {
	display: inline-block;
	min-width: 80px;
	height: 44px;
	line-height: 44px;
	margin: 0 4px;
	background-color: #fff;
	color: #3970B7;
	border: 1px solid #3970B7;
	border-radius: 3px;
	font-size: 16px;
	text-decoration: none;
}

.sp-related {
	margin: 20px 16px 40px 16px;
}

.sp-related h4 {
	font-size: 16px;
	color: #222;
	margin-bottom: 8px;
}

.sp-related ul {
	border-top: 1px solid #eee;
}

.sp-related li {
	border-bottom: 1px solid #eee;
}

.sp-related li a {
	display: block;
	min-height: 44px;
	line-height: 44px;
	font-size: 16px;
	color: #3970B7;
	text-decoration: none;
}

/* 띠별(12개) 선택 그리드 */
.sp-zodiac-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 20px 10px 0 10px;
}

.sp-zodiac-grid a {
	display: block;
	width: 25%;
	min-width: 72px;
	box-sizing: border-box;
	text-align: center;
	padding: 10px 4px;
	font-size: 16px;
	color: #222;
	text-decoration: none;
	min-height: 44px;
}

.sp-zodiac-grid img {
	width: 56px;
	height: 56px;
	margin: 0 auto 4px auto;
}

/* 년생별 출생연도 목록 */
.sp-year-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 16px 0 16px;
	gap: 8px;
}

.sp-year-grid a {
	display: inline-block;
	min-width: 64px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	font-size: 16px;
	color: #3970B7;
	background-color: #f9f9f9;
	border: 1px solid #eee;
	border-radius: 3px;
	text-decoration: none;
}

.sp-note-box {
	margin: 20px 16px 0 16px;
	padding: 16px;
	background-color: #fff;
	border: 1px solid #e9714e;
	border-radius: 3px;
	font-size: 14px;
	line-height: 20px;
	color: #555;
}
