/* ==========================================================================
   Nejat Single Blog Header Widget
   Hero-style header with featured image background
   ========================================================================== */

.nejat-single-blog-header {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Dark overlay for text readability
   -------------------------------------------------------------------------- */
.nejat-single-blog-header__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		rgba(26, 26, 46, 0.4) 0%,
		rgba(26, 26, 46, 0.75) 100%
	);
	z-index: 1;
}

/* --------------------------------------------------------------------------
   Content container
   -------------------------------------------------------------------------- */
.nejat-single-blog-header__content {
	position: relative;
	z-index: 2;
	max-width: var(--nejat-max-width, 1200px);
	margin: 0 auto;
	padding: 60px var(--nejat-gutter, 24px) 60px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.nejat-single-blog-header__breadcrumb {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 8px;
}

.nejat-single-blog-header__breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

.nejat-single-blog-header__breadcrumb a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.nejat-single-blog-header__breadcrumb-sep {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Category badge
   -------------------------------------------------------------------------- */
.nejat-single-blog-header__category-badge {
	display: inline-block;
	padding: 6px 18px;
	border-radius: 100px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	background-color: rgba(0, 188, 212, 0.95);
	backdrop-filter: blur(8px);
	color: #ffffff;
	line-height: 1.4;
	align-self: flex-start;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* --------------------------------------------------------------------------
   Title
   -------------------------------------------------------------------------- */
.nejat-single-blog-header__title {
	margin: 8px 0 0;
	font-size: clamp(2rem, 4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	max-width: 900px;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Meta information (author, date, reading time)
   -------------------------------------------------------------------------- */
.nejat-single-blog-header__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 12px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
}

.nejat-single-blog-header__meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nejat-single-blog-header__meta svg {
	flex-shrink: 0;
	opacity: 0.85;
}

/* --------------------------------------------------------------------------
   Responsive breakpoints
   -------------------------------------------------------------------------- */

/* Tablet */
@media (max-width: 1024px) {
	.nejat-single-blog-header {
		min-height: 360px;
	}

	.nejat-single-blog-header__content {
		padding: 50px var(--nejat-gutter, 20px) 50px;
	}
}

/* Mobile */
@media (max-width: 768px) {
	.nejat-single-blog-header {
		min-height: 320px;
	}

	.nejat-single-blog-header__content {
		padding: 40px 20px 40px;
		gap: 12px;
	}

	.nejat-single-blog-header__breadcrumb {
		font-size: 0.8125rem;
		gap: 8px;
	}

	.nejat-single-blog-header__category-badge {
		font-size: 0.75rem;
		padding: 5px 14px;
	}

	.nejat-single-blog-header__title {
		margin: 4px 0 0;
	}

	.nejat-single-blog-header__meta {
		font-size: 0.875rem;
		gap: 16px;
	}
}

/* Small mobile */
@media (max-width: 480px) {
	.nejat-single-blog-header {
		min-height: 280px;
	}

	.nejat-single-blog-header__content {
		padding: 32px 16px 32px;
	}

	.nejat-single-blog-header__meta {
		gap: 12px;
		font-size: 0.8125rem;
	}
}
