/* ========================================
   Fumot - Blog Page
   Fashion-forward, premium editorial style
======================================== */

.blog-page {
	padding-bottom: 72px;
}

.blog-hero {
	margin-top: 20px;
	margin-bottom: 34px;
}

.blog-hero-inner {
	position: relative;
	border-radius: 20px;
	padding: 56px 52px;
	background-position: center;
	background-size: cover;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 16px 42px rgba(0, 0, 0, 0.16);
}

.blog-hero-inner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(116deg, rgba(113, 73, 192, 0.16) 0%, rgba(113, 73, 192, 0) 54%);
	pointer-events: none;
}

.blog-hero-kicker {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 6px 12px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
}

.blog-hero-title,
.blog-hero-desc {
	position: relative;
	z-index: 1;
	max-width: 720px;
	color: #fff;
}

.blog-hero-title {
	margin: 0;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.04;
	font-weight: 900;
	letter-spacing: -0.02em;
}

.blog-hero-desc {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.92);
}

.blog-main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 32px;
	align-items: start;
}

.blog-content {
	min-width: 0;
}

.blog-featured-card {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 18px;
	overflow: hidden;
	margin-bottom: 28px;
	box-shadow: 0 14px 35px rgba(16, 16, 16, 0.08);
}

.blog-featured-cover {
	display: block;
	position: relative;
	overflow: hidden;
	min-height: 280px;
}

.blog-featured-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s ease;
}

.blog-featured-card:hover .blog-featured-cover img {
	transform: scale(1.06);
}

.blog-featured-body {
	padding: 28px 26px 24px;
	display: flex;
	flex-direction: column;
}

.blog-featured-body h2 {
	margin: 14px 0 12px;
	font-size: 28px;
	line-height: 1.24;
}

.blog-featured-body h2 a {
	color: #141414;
	text-decoration: none;
}

.blog-featured-body p {
	margin: 0;
	color: #666;
	line-height: 1.72;
	font-size: 15px;
}

.blog-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: auto;
	padding-top: 18px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7b7b7b;
}

.blog-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.blog-meta span:not(:last-child)::after {
	content: "•";
	color: #b5b5b5;
}

.blog-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.blog-section-head h2 {
	margin: 0;
	font-size: 24px;
	font-weight: 900;
	color: #171717;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	border: 1px solid #ececec;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(16, 16, 16, 0.06);
	transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.blog-card:hover {
	transform: translateY(-4px);
	border-color: rgba(113, 73, 192, 0.52);
	box-shadow: 0 16px 34px rgba(16, 16, 16, 0.1);
}

.blog-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.blog-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
	transform: scale(1.06);
}

.blog-card-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f7f7f7 0%, #ececec 100%);
}

.blog-card-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 16px 14px;
	flex: 1;
}

.blog-pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9a6500;
	background: rgba(113, 73, 192, 0.14);
	border: 1px solid rgba(113, 73, 192, 0.26);
}

.blog-card-body h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.35;
}

.blog-card-body h3 a {
	color: #171717;
	text-decoration: none;
}

.blog-card-body h3 a:hover,
.blog-featured-body h2 a:hover,
.blog-popular-list a:hover strong {
	color: #7149c0;
}

.blog-card-body p {
	margin: 0;
	color: #6d6d6d;
	font-size: 14px;
	line-height: 1.72;
}

.blog-card .blog-meta {
	margin-top: auto;
	padding-top: 2px;
}

.blog-empty {
	padding: 28px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #ececec;
	color: #666;
}

.blog-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.blog-widget {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #ececec;
	padding: 20px;
	box-shadow: 0 8px 24px rgba(16, 16, 16, 0.06);
}

.blog-widget h3 {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 800;
	color: #171717;
}

.blog-search-widget form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.blog-search-widget input[type="search"] {
	height: 42px;
	border: 1px solid #dedede;
	border-radius: 10px;
	padding: 0 14px;
	font-size: 14px;
	outline: none;
}

.blog-search-widget input[type="search"]:focus {
	border-color: rgba(113, 73, 192, 0.75);
	box-shadow: 0 0 0 3px rgba(113, 73, 192, 0.12);
}

.blog-search-widget button {
	height: 42px;
	padding: 0 16px;
	border: none;
	border-radius: 10px;
	background: #7149c0;
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.blog-search-widget button:hover {
	background: #5d3aa0;
}

.blog-category-list,
.blog-popular-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.blog-category-list li + li,
.blog-popular-list li + li {
	margin-top: 10px;
}

.blog-category-list a,
.blog-popular-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	text-decoration: none;
	border-radius: 10px;
	color: #2c2c2c;
	background: #fafafa;
	border: 1px solid #efefef;
	transition: all 0.2s ease;
}

.blog-category-list a:hover,
.blog-popular-list a:hover {
	background: #fff9ee;
	border-color: rgba(113, 73, 192, 0.35);
}

.blog-category-list em {
	font-style: normal;
	font-size: 12px;
	color: #777;
}

.blog-popular-list a {
	flex-direction: column;
	align-items: flex-start;
}

.blog-popular-list strong {
	font-size: 14px;
	line-height: 1.45;
	color: #171717;
}

.blog-popular-list span {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #7d7d7d;
}

.blog-pagination {
	margin-top: 26px;
}

.blog-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.blog-pagination .page-numbers li {
	margin: 0;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
	display: inline-flex;
	min-width: 38px;
	height: 38px;
	padding: 0 14px;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	border: 1px solid #e4e4e4;
	text-decoration: none;
	color: #2b2b2b;
	background: #fff;
	font-weight: 600;
}

.blog-pagination .page-numbers .current {
	background: #7149c0;
	border-color: #7149c0;
	color: #fff;
}

.blog-pagination .page-numbers a:hover {
	border-color: rgba(113, 73, 192, 0.5);
	color: #b87900;
}

@media (max-width: 1200px) {
	.blog-main {
		grid-template-columns: minmax(0, 1fr);
	}

	.blog-sidebar {
		position: static;
	}
}

@media (max-width: 1024px) {
	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blog-featured-card {
		grid-template-columns: 1fr;
	}

	.blog-featured-cover {
		min-height: 240px;
	}
}

@media (max-width: 767px) {
	.blog-page {
		padding-bottom: 52px;
	}

	.blog-hero {
		margin-top: 10px;
		margin-bottom: 22px;
	}

	.blog-hero-inner {
		min-height: 0;
		padding: 25px 20px;
		border-radius: 16px;
	}

	.blog-hero-desc {
		font-size: 14px;
		line-height: 1.65;
	}

	.blog-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.blog-featured-body {
		padding: 18px 16px;
	}

	.blog-featured-body h2 {
		font-size: 22px;
	}

	.blog-card-body {
		padding: 14px;
	}
}
