/**
 * Trang tin tức — khớp html mẫu/page-new.html (font, banner, màu dark).
 */

body.hanoi26-magazine-page {
	--hanoi26-dark: #0a0a0a;
	--hanoi26-primary: #e53e3e;
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.hanoi26-magazine-page .font-display {
	font-family: Montserrat, ui-sans-serif, system-ui, sans-serif;
}

/* theme.css ép .bg-dark = #111827 — mockup dùng #0a0a0a */
body.hanoi26-magazine-page .bg-dark,
body.hanoi26-magazine-page section.bg-dark {
	background-color: #0a0a0a !important;
}

body.hanoi26-magazine-page .text-dark {
	color: #0a0a0a !important;
}

/* Hero banner — typography page-new.html */
body.hanoi26-magazine-page .hanoi26-magazine-hero h1 {
	font-family: Montserrat, sans-serif;
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 0.85;
}

body.hanoi26-magazine-page .hanoi26-magazine-hero__stroke {
	-webkit-text-stroke: 2px #e53e3e;
	color: transparent;
}

/* Chi tiết bài viết — PAGE-blogCt.html */
body.hanoi26-magazine-page .hanoi26-article-content {
	font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, sans-serif;
}

body.hanoi26-magazine-page .hanoi26-article-content h2 {
	font-family: Montserrat, sans-serif;
	font-weight: 800;
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	color: #0a0a0a;
	margin-top: 1.85rem;
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

@media (min-width: 768px) {
	body.hanoi26-magazine-page .hanoi26-article-content h2 {
		font-size: 1.25rem;
	}
}

body.hanoi26-magazine-page .hanoi26-article-content p {
	margin-bottom: 0.9rem;
	color: #4b5563;
	line-height: inherit;
	font-size: inherit;
}

body.hanoi26-magazine-page .hanoi26-article-content img {
	display: block;
	width: auto;
	max-width: min(100%, 36rem);
	height: auto;
	margin: 1.25rem auto;
	border-radius: 0.65rem;
}

body.hanoi26-magazine-page .hanoi26-article-content ul {
	list-style-type: disc;
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
	color: #4b5563;
}

body.hanoi26-magazine-page .hanoi26-article-content li {
	margin-bottom: 0.5rem;
	line-height: 1.7;
}

body.hanoi26-magazine-page .hanoi26-article-content blockquote {
	margin: 2rem 0;
	padding: 1.5rem;
	border-left: 4px solid #e53e3e;
	background: #fef2f2;
	border-radius: 0 1rem 1rem 0;
}

body.hanoi26-magazine-page .hanoi26-magazine-hero__deck {
	font-family: Inter, sans-serif;
	font-weight: 300;
}

body.hanoi26-magazine-page .hanoi26-magazine-hero__badge {
	font-family: Inter, sans-serif;
	font-weight: 700;
	letter-spacing: 0.2em;
}

body.hanoi26-magazine-page .hanoi26-magazine-hero__cta {
	font-family: Montserrat, sans-serif;
	font-weight: 900;
	letter-spacing: 0.1em;
}

body.hanoi26-magazine-page .hanoi26-magazine-hero__art-label {
	font-family: Montserrat, sans-serif;
	font-weight: 900;
}

body.hanoi26-magazine-page .hanoi26-magazine-hero__edition {
	font-family: Montserrat, sans-serif;
	font-weight: 900;
}

/* Marquee topbar — tên keyframes giống mockup */
body.hanoi26-magazine-page .marquee span {
	animation: hanoi26-magazine-marquee 25s linear infinite;
}

@keyframes hanoi26-magazine-marquee {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(-100%, 0);
	}
}

/* WordPress global styles đôi khi ép cỡ chữ h1 — giữ đúng scale Tailwind mockup */
body.hanoi26-magazine-page .hanoi26-magazine-hero h1 {
	font-size: 3.75rem;
}

@media (min-width: 768px) {
	body.hanoi26-magazine-page .hanoi26-magazine-hero h1 {
		font-size: 6rem;
	}
}

@media (min-width: 1024px) {
	body.hanoi26-magazine-page .hanoi26-magazine-hero h1 {
		font-size: 100px;
	}
}

/* —— Trang tin tức: lưới bài, tiêu điểm, lọc —— */
body.hanoi26-magazine-page .hanoi26-blog-featured-section > .flex h2 {
	color: #0a0a0a;
}

body.hanoi26-magazine-page .hanoi26-blog-featured {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 1.25rem;
	padding: 1rem;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (min-width: 768px) {
	body.hanoi26-magazine-page .hanoi26-blog-featured {
		padding: 1.25rem;
	}
}

body.hanoi26-magazine-page .hanoi26-blog-featured:hover {
	box-shadow: 0 18px 48px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

body.hanoi26-magazine-page .hanoi26-blog-featured .md\:col-span-7 {
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
}

body.hanoi26-magazine-page .hanoi26-blog-featured .md\:col-span-5 {
	padding: 0.25rem 0.5rem;
}

body.hanoi26-magazine-page .hanoi26-blog-featured h3 {
	letter-spacing: -0.02em;
}

body.hanoi26-magazine-page .hanoi26-blog-featured button {
	border-radius: 0.65rem;
	box-shadow: 0 4px 14px rgba(10, 10, 10, 0.15);
}

body.hanoi26-magazine-page .hanoi26-blog-filter-bar {
	position: sticky !important;
	top: 7.375rem !important;
	z-index: 40;
	background: rgba(255, 255, 255, 0.92) !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1023px) {
	body.hanoi26-magazine-page .hanoi26-blog-filter-bar {
		top: 6.5rem !important;
	}
}

body.hanoi26-magazine-page .hanoi26-blog-filter-track {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.5rem;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	cursor: grab;
	touch-action: pan-x;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 2px;
}

body.hanoi26-magazine-page .hanoi26-blog-filter-track::-webkit-scrollbar {
	display: none;
}

body.hanoi26-magazine-page .hanoi26-blog-filter-track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

body.hanoi26-magazine-page .hanoi26-blog-filter-chip {
	scroll-snap-align: start;
	-webkit-user-drag: none;
	position: relative;
	z-index: 1;
	cursor: pointer;
}

body.hanoi26-magazine-page .hanoi26-blog-filter-track.is-dragging .hanoi26-blog-filter-chip {
	cursor: grabbing;
}

body.hanoi26-magazine-page .hanoi26-blog-grid {
	align-items: stretch;
}

@media (min-width: 1600px) {
	body.hanoi26-magazine-page .hanoi26-blog-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.hanoi26-magazine-page .hanoi26-blog-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	padding: 0.85rem;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
	transition:
		box-shadow 0.3s ease,
		transform 0.3s ease,
		border-color 0.25s ease;
}

body.hanoi26-magazine-page .hanoi26-blog-card:hover {
	border-color: #fecaca;
	box-shadow: 0 14px 36px rgba(229, 62, 62, 0.12);
	transform: translateY(-3px);
}

body.hanoi26-magazine-page .hanoi26-blog-card > div:first-child {
	margin-bottom: 1rem;
	border-radius: 0.85rem;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

body.hanoi26-magazine-page .hanoi26-blog-card > div:first-child .absolute.top-4.left-4 {
	background: #e53e3e !important;
	color: #fff !important;
	border-radius: 999px;
	font-size: 0.625rem;
	letter-spacing: 0.1em;
	padding: 0.35rem 0.75rem;
	box-shadow: 0 4px 12px rgba(229, 62, 62, 0.35);
}

body.hanoi26-magazine-page .hanoi26-blog-card h3 {
	font-size: 1.0625rem;
	line-height: 1.4;
	margin-bottom: 0.65rem;
	letter-spacing: -0.015em;
}

/* Tiêu đề tối đa 2 dòng, phần thừa hiển thị … */
body.hanoi26-magazine-page .hanoi26-blog-card .hanoi26-blog-card__title {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

/* Mô tả tối đa 3 dòng, phần thừa hiển thị … */
body.hanoi26-magazine-page .hanoi26-blog-card .hanoi26-blog-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

@media (min-width: 768px) {
	body.hanoi26-magazine-page .hanoi26-blog-card h3 {
		font-size: 1.125rem;
	}
}

body.hanoi26-magazine-page .hanoi26-blog-card > p.text-gray-500 {
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 1.6;
	margin-bottom: 0.75rem;
}

body.hanoi26-magazine-page .hanoi26-blog-card > div.mt-auto {
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #f3f4f6;
}

body.hanoi26-magazine-page .hanoi26-blog-list-section .flex.justify-center.items-center {
	border-top: 1px solid #e5e7eb;
}

body.hanoi26-magazine-page .hanoi26-blog-list-section .page-numbers {
	border-radius: 0.5rem;
	transition: background 0.2s ease, color 0.2s ease;
}

body.hanoi26-magazine-page .hanoi26-blog-list-section .page-numbers.current {
	border-radius: 0.5rem;
	box-shadow: 0 4px 12px rgba(10, 10, 10, 0.2);
}
