/* ══════════════════════════════════════════
   BLOG — Listing + Single
   ══════════════════════════════════════════ */

/* ── HERO ── */
.blog-hero {
	background: #fff;
	padding: 6rem 0 1rem;
}
.blog-hero .container {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}
.blog-single-content ul {
    list-style: disc;
}
.blog-hero-title {
	font-size: clamp(2rem, 4vw, 2.3rem);
	line-height: 1.15;
	color: #101942;
	font-weight: 600;
	margin: 0.4rem 0 0;
}
.blog-hero-sub {
	color: #4a5b6d;
	font-size: 1.05rem;
	max-width: 640px;
	margin: 0;
}

/* ── LIST ── */
.blog-list {
	background: #fff;
	padding: 1rem 0 6rem;
}
.blog-entry {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: center;
	padding: 3rem 0;
	border-top: 1px solid #e8ecf1;
}
.blog-entry:first-child { border-top: 0; padding-top: 1rem; }

.blog-entry-text { display: flex; flex-direction: column; gap: 0.9rem; }
.blog-entry-title {
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
	line-height: 1.25;
	color: #101942;
	font-weight: 500;
	margin: 0;
}
.blog-entry-title a { color: #101942; text-decoration: none; transition: color 0.2s; }
.blog-entry-title a:hover { color: #1a6fcc; }

.blog-entry-date {
	position: relative;
	font-size: 0.9rem;
	color: #6b7c90;
	font-weight: 500;
	padding-bottom: 0.55rem;
	margin-bottom: 0.2rem;
}
.blog-entry-date::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 42px; height: 2px;
	background: #3b82f6;
	border-radius: 2px;
}

.blog-entry-excerpt {
	color: #6b7280
;
	font-size: 0.92rem;
	line-height: 1.7;
}
.blog-entry-excerpt p { margin: 0 0 0.9rem; }
.blog-entry-excerpt p:last-child { margin-bottom: 0; }

.blog-entry-more {
	color: #3b82f6;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	width: fit-content;
	margin-top: 0.3rem;
	transition: gap 0.2s;
}
.blog-entry-more:hover { text-decoration: underline; }

.blog-entry-image {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #f1f5f9;
	aspect-ratio: 16 / 10;
	box-shadow: 0 8px 24px rgba(6, 39, 67, 0.08);
}
.blog-entry-image a { display: block; width: 100%; height: 100%; }
.blog-entry-image img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}
.blog-entry-image:hover img { transform: scale(1.03); }

.blog-entry-placeholder {
	width: 100%; height: 100%;
	display: flex; align-items: center; justify-content: center;
	color: #cbd5e1;
	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

/* ── EMPTY STATE ── */
.blog-empty {
	text-align: center;
	padding: 5rem 1rem;
	color: #4a5b6d;
}
.blog-empty h3 { font-size: 1.4rem; color: #062743; margin-bottom: 0.6rem; }
.blog-empty .btn-primary { display: inline-flex; margin-top: 1rem; }

/* ── PAGINATION ── */
.blog-pagination {
	margin-top: 3rem;
	display: flex;
	justify-content: center;
}
.blog-pagination .page-numbers {
	display: inline-flex;
	list-style: none;
	gap: 0.4rem;
	padding: 0; margin: 0;
}
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px; height: 40px;
	padding: 0 0.9rem;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	color: #062743;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	background: #fff;
	transition: all 0.15s;
}
.blog-pagination .page-numbers li a:hover {
	background: #1a6fcc; color: #fff; border-color: #1a6fcc;
}
.blog-pagination .page-numbers li .current {
	background: #062743; color: #fff; border-color: #062743;
}

/* ══════════════════════════════════════════
   SINGLE POST
   ══════════════════════════════════════════ */
.blog-single {
	background: #fff;
	padding: 4rem 0 6rem;
}
.blog-single-inner {
	max-width: 820px;
}
.blog-single-back {
	margin-bottom: 1.5rem;
}
.blog-single-back a {
	color: #1a6fcc;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}
.blog-single-back a:hover { text-decoration: underline; }

.blog-single-header { margin-bottom: 2rem; }
.blog-single-title {
	font-size: clamp(1.9rem, 3.5vw, 2.1rem);
	line-height: 1.2;
	color: #101942;
	font-weight: 600;
	margin: 0 0 0.9rem;
}
.blog-single-meta {
	display: flex; align-items: center; gap: 0.55rem;
	color: #6b7c90; font-size: 0.9rem;
}
.blog-single-dot { color: #cbd5e1; }

.blog-single-cover {
	margin: 1.5rem 0 2.5rem;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(6, 39, 67, 0.10);
}
.blog-single-cover img {
	width: 100%; height: auto; display: block;
}
.wp-block-list ul{
list-style-type: disc;
}

.blog-single-content {
	color: #6b7280;
	font-size: 1.05rem;
	line-height: 1.75;
}
.blog-single-content h2,
.blog-single-content h3,
.blog-single-content h4 {
	color: #101942;
	margin: 2rem 0 0.8rem;
	line-height: 1.3;
}
.blog-single-content h2 { font-size: 1.6rem; }
.blog-single-content h3 { font-size: 1.3rem; }
.blog-single-content p { margin: 0 0 1.2rem; }
.blog-single-content a { color: #1a6fcc; }
.blog-single-content img {
	max-width: 100%; height: auto;
	border-radius: 10px;
	margin: 1.2rem 0;
}
.blog-single-content ul,
.blog-single-content ol {
	margin: 0 0 1.2rem 1.4rem; padding: 0;
}
.blog-single-content li { margin-bottom: 0.4rem; }
.blog-single-content blockquote {
	border-left: 4px solid #1a6fcc;
	padding: 0.4rem 1rem;
	margin: 1.5rem 0;
	color: #4a5b6d;
	font-style: italic;
	background: #f8fafc;
	border-radius: 0 8px 8px 0;
}

.blog-single-tags {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e8ecf1;
	display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.blog-single-tag {
	background: #eff5fb; color: #1a6fcc;
	padding: 0.32rem 0.8rem;
	border-radius: 999px;
	font-size: 0.82rem; font-weight: 600;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
	.blog-entry {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
	.blog-entry-image {
		order: -1; /* image on top for mobile */
		aspect-ratio: 16 / 10;
	}
	.blog-hero { padding: 7rem 0 2rem; }
	.blog-list { padding: 2rem 0 4rem; }
	.blog-single { padding: 6rem 0 4rem; }
}
