/* =========================================================
   Blog / News Archive Hero  (글 목록 상단 히어로)
   Brand: navy #2f318b / accent teal #00ffc8
   ========================================================= */

.blog-hero {
	position: relative;
	width: 100%;
	background: linear-gradient(120deg, #2f318b 0%, #1c1e57 60%, #14163f 100%);
	overflow: hidden;
	box-sizing: border-box;
}

/* 은은한 장식 라인/광원 */
.blog-hero::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(0, 255, 200, 0.16) 0%, rgba(0, 255, 200, 0) 70%);
	pointer-events: none;
}
.blog-hero::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, #00ffc8 0%, #2f318b 100%);
}

.blog-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 92px 20px 84px;
	text-align: center;
}

.blog-hero__eyebrow {
	display: inline-block;
	font-size: 12px;
	letter-spacing: 0.45em;
	font-family: Tahoma, sans-serif;
	font-weight: 600;
	color: #00ffc8;
	text-transform: uppercase;
	margin-bottom: 16px;
}

.blog-hero__title {
	font-size: 46px;
	line-height: 1.2;
	font-weight: 800;
	color: #fff;
	margin: 0;
	letter-spacing: -0.01em;
}

.blog-hero__desc {
	font-size: 16px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	margin: 18px auto 0;
	max-width: 640px;
}

/* Astra 기본 아카이브 제목/설명 숨김 (히어로와 중복 방지) */
.archive .ast-archive-description,
.blog .ast-archive-description,
.search .ast-archive-description {
	display: none !important;
}

/* =========================================================
   블로그 히어로 (목록 + 단일 글 공통) — /services/ 상단과 통일
   · 풀폭 배경 이미지 + 어두운 좌측 그라데이션
   · 좌측 정렬, 흰색 제목 + 옅은 부제 (eyebrow/하단 라인 없음)
   ========================================================= */
.post-hero {
	background: #0a0f28;
}
.post-hero .blog-hero__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 20px;
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;
}
.post-hero::after { display: none; }            /* 하단 teal 라인 제거 */
.post-hero .blog-hero__eyebrow { text-align: left; margin-bottom: 14px; }
.post-hero .blog-hero__title {
	text-align: left;
	font-weight: 600;
	font-size: 1.875rem;
}
.post-hero .blog-hero__desc {
	margin: 18px 0 0;
	max-width: 620px;
	text-align: left;
}

/* 배경 이미지 모드 */
.post-hero.post-hero--img {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.post-hero.post-hero--img::before {
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	/* 왼쪽 진하게(글자 가독성) → 오른쪽은 이미지가 비치도록 */
	background: linear-gradient(90deg, rgba(8, 12, 33, 0.88) 0%, rgba(8, 12, 33, 0.55) 45%, rgba(8, 12, 33, 0.22) 100%);
}

/* =========================================================
   블로그 전 구간: 헤더를 히어로 위에 투명 오버레이
   (단일 글 + 글 목록 + 아카이브 + 검색)
   ========================================================= */
.single-post #masthead,
.blog #masthead,
.archive #masthead,
.search #masthead {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 99;
	background: transparent !important;
}
.single-post #masthead .ast-above-header,
.single-post #masthead .main-header-bar,
.single-post #masthead .ast-below-header,
.single-post #masthead .site-header-focus-item,
.blog #masthead .main-header-bar,
.archive #masthead .main-header-bar,
.search #masthead .main-header-bar {
	background: transparent !important;
	box-shadow: none !important;
	border-bottom: 0 !important;
}
.single-post #masthead .main-header-menu .menu-link,
.single-post #masthead .ast-builder-menu .menu-item > .menu-link,
.single-post #masthead .site-title a,
.single-post #masthead .ast-icon,
.blog #masthead .menu-link,
.archive #masthead .menu-link,
.search #masthead .menu-link,
.blog #masthead .site-title a,
.archive #masthead .site-title a,
.search #masthead .site-title a {
	color: #fff !important;
}

/* ---- Responsive ---- */
@media (max-width: 921px) {
	.post-hero .blog-hero__inner {
		min-height: 340px;
		padding-top: 84px;
	}
	.blog-hero::before { width: 360px; height: 360px; }
}
@media (max-width: 544px) {
	.post-hero .blog-hero__inner {
		min-height: 420px;
		padding: 15px;
	}
	.post-hero .blog-hero__title { font-size: 1.5625rem; }
	.post-hero .blog-hero__desc { font-size: 14px; }
	.post-hero.post-hero--img::before {
		background: linear-gradient(90deg, rgba(8, 12, 33, 0.90) 0%, rgba(8, 12, 33, 0.68) 100%);
	}
}
