/* ==========================================================================
   Homepage Editor Public Design System & Stylesheet
   ========================================================================== */

:root {
	--b360-font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--b360-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--b360-primary: #9E1B1E;
	--b360-primary-hover: #7A1518;
	--b360-accent-gold: #B8860B;
	--b360-bg-main: #FAF9F7;
	--b360-bg-card: #FFFFFF;
	--b360-text-main: #1A1A1A;
	--b360-text-muted: #64748B;
	--b360-text-light: #94A3B8;
	--b360-border: #E5E1DA;
	--b360-radius-sm: 8px;
	--b360-radius-md: 12px;
	--b360-radius-lg: 16px;
	--b360-radius-full: 9999px;
	--b360-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--b360-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	--b360-shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	--b360-bg-tint: #F5F1EA;
	--b360-dark-bg: #1A1A1A;
}

/* Reset & Base Settings */
.blog360-body {
	margin: 0;
	padding: 0;
	font-family: var(--b360-font);
	background-color: var(--b360-bg-main);
	color: var(--b360-text-main);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}

.blog360-wrapper * {
	box-sizing: border-box;
}

.blog360-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}

/* Typography & Links */
.blog360-wrapper a {
	color: inherit;
	text-decoration: none;
	transition: all 0.2s ease;
}

/* Hide the active theme's own header/footer everywhere — Blog360's custom
   nav (wp_body_open) and footer (wp_footer) below are the site-wide ones. */
#masthead,
#colophon {
	display: none !important;
}

/* HEADER NAVBAR */
.blog360-header {
	background: #FFFFFF;
	border-bottom: 1px solid var(--b360-border);
	position: sticky;
	top: 0;
	z-index: 100;
}

.blog360-header-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 24px;
}

.blog360-header-bottom {
	border-top: 1px solid var(--b360-border);
	background: var(--b360-bg-tint);
}

.blog360-brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	min-width: 0;
}

.blog360-brand-logo {
	height: 44px;
	width: auto;
	flex-shrink: 0;
}

.blog360-brand-text {
	font-family: var(--b360-font-serif);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: 0;
	color: #1A1A1A;
	line-height: 1;
}

.blog360-brand-text.light {
	color: #FFFFFF;
}

.blog360-deg {
	color: #C0272B;
}

.blog360-subtag-footer {
	font-size: 12px;
	color: #94A3B8;
	margin-top: 4px;
}

.blog360-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
	padding: 12px 24px;
}

.blog360-nav::-webkit-scrollbar {
	display: none;
}

.blog360-nav-link {
	font-size: 14px;
	font-weight: 500;
	color: #475569;
	position: relative;
	padding: 6px 0;
	flex-shrink: 0;
	white-space: nowrap;
}

.blog360-nav-link:hover,
.blog360-nav-link.active {
	color: var(--b360-primary);
	font-weight: 600;
}

.blog360-nav-link.active::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--b360-primary);
	border-radius: 2px;
}

.blog360-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-shrink: 0;
}

@media (max-width: 1120px) {
	.blog360-header-top {
		gap: 16px;
	}

	.blog360-nav {
		gap: 16px;
	}

	.blog360-nav-link,
	.blog360-btn-ghost,
	.blog360-btn-primary {
		font-size: 13px;
	}

	.blog360-btn-ghost {
		padding: 8px 12px;
	}

	.blog360-btn-primary {
		padding: 10px 14px;
	}
}

@media (max-width: 640px) {
	.blog360-container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.blog360-header-top {
		height: auto;
		min-height: 64px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.blog360-brand-logo {
		height: 34px;
	}

	.blog360-brand-text {
		font-size: 20px;
	}

	.blog360-header-actions {
		gap: 8px;
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.blog360-nav {
		gap: 20px;
		padding: 10px 16px;
	}

	.blog360-nav-link {
		font-size: 13px;
	}
}

.blog360-icon-btn {
	background: none;
	border: none;
	cursor: pointer;
	color: #64748B;
	padding: 8px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, color 0.2s;
}

.blog360-icon-btn:hover {
	background: #F5F1EA;
	color: var(--b360-text-main);
}

.blog360-btn-ghost {
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	padding: 8px 16px;
	border-radius: var(--b360-radius-sm);
	border: 1px solid var(--b360-border);
}

.blog360-btn-ghost:hover {
	background: #FAF9F7;
}

.blog360-btn-primary {
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
	background: var(--b360-primary);
	padding: 10px 20px;
	border-radius: var(--b360-radius-sm);
	box-shadow: 0 2px 4px rgba(158, 27, 30, 0.2);
}

.blog360-btn-primary:hover {
	background: var(--b360-primary-hover);
}

/* SECTIONS COMMON */
.blog360-section {
	padding: 48px 0;
}

.b360-section-tinted {
	background: var(--b360-bg-tint);
}

.b360-section-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 32px;
}

.b360-kicker {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	color: var(--b360-primary);
	margin-bottom: 10px;
}

.b360-kicker::before {
	content: '';
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--b360-primary);
}

.b360-section-title {
	font-family: var(--b360-font-serif);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--b360-text-main);
	margin: 0;
}

.b360-section-sub {
	font-size: 15px;
	color: var(--b360-text-muted);
	margin: 6px 0 0 0;
}

.b360-btn-outline-header {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
	border: 1px solid var(--b360-border);
	padding: 8px 16px;
	border-radius: var(--b360-radius-sm);
	background: #FFFFFF;
}

.b360-btn-outline-header:hover {
	border-color: #CBD5E1;
	background: #FAF9F7;
}

/* SECTION 1: HERO & TRENDING */
.blog360-hero-grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr;
	gap: 28px;
}

.b360-hero-card {
	position: relative;
	border-radius: var(--b360-radius-lg);
	overflow: hidden;
	background: #000000;
	min-height: 480px;
	display: flex;
	box-shadow: var(--b360-shadow-lg);
}

.b360-hero-img-wrap {
	width: 100%;
	position: relative;
}

.b360-hero-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.82;
	transition: transform 0.4s ease;
}

.b360-hero-card:hover .b360-hero-img-wrap img {
	transform: scale(1.02);
}

.b360-badge-featured {
	position: absolute;
	top: 20px;
	left: 20px;
	background: #7A1518;
	color: #FFFFFF;
	font-size: 11px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: var(--b360-radius-full);
	letter-spacing: 0.08em;
	z-index: 2;
}

.b360-hero-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 36px 32px;
	background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.95) 85%);
	color: #FFFFFF;
	z-index: 2;
}

.b360-cat-tag {
	font-size: 12px;
	font-weight: 700;
	color: #F0AEB0;
	letter-spacing: 0.05em;
	display: block;
	margin-bottom: 8px;
}

.b360-hero-title {
	font-family: var(--b360-font-serif);
	font-size: 32px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 12px 0;
	color: #FFFFFF;
}

.b360-hero-title a:hover {
	color: #F5C6C7;
}

.b360-hero-excerpt {
	font-size: 15px;
	color: #E2E8F0;
	margin: 0 0 24px 0;
	max-width: 680px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.b360-hero-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.b360-author-info {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: #CBD5E1;
}

.b360-author-img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 1.5px solid #FFFFFF;
}

.b360-meta-dot {
	color: #64748B;
}

.b360-btn-hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	color: #FFFFFF;
	font-size: 13px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: var(--b360-radius-sm);
}

.b360-btn-hero-cta:hover {
	background: #FFFFFF;
	color: var(--b360-primary);
}

/* TRENDING CARD */
.b360-trending-card {
	background: #FFFFFF;
	border: 1px solid var(--b360-border);
	border-radius: var(--b360-radius-lg);
	padding: 24px;
	box-shadow: var(--b360-shadow-sm);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.b360-trending-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #F5F1EA;
	padding-bottom: 16px;
	margin-bottom: 20px;
}

.b360-trending-title {
	font-size: 18px;
	font-weight: 800;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--b360-text-main);
}

.b360-trending-icon {
	color: var(--b360-primary);
}

.b360-live-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #C0272B;
	position: relative;
	display: inline-block;
	margin-left: 2px;
}

.b360-live-dot::after {
	content: '';
	position: absolute;
	inset: -5px;
	border-radius: 50%;
	background: rgba(239, 68, 68, 0.35);
	animation: b360-pulse 1.8s ease-out infinite;
}

@keyframes b360-pulse {
	0% { transform: scale(0.6); opacity: 1; }
	100% { transform: scale(1.9); opacity: 0; }
}

.b360-link-viewall {
	font-size: 13px;
	font-weight: 600;
	color: var(--b360-primary);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

/* TRENDING NOW — vertical auto-scrolling carousel */
.b360-trending-viewport {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
	        mask-image: linear-gradient(180deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}

.b360-trending-track {
	display: flex;
	flex-direction: column;
	gap: 16px;
	animation: b360-trend-scroll var(--b360-trend-duration, 22s) linear infinite;
}

.b360-trending-viewport:hover .b360-trending-track,
.b360-trending-viewport:focus-within .b360-trending-track,
.b360-trending-viewport.b360-paused .b360-trending-track {
	animation-play-state: paused;
}

@keyframes b360-trend-scroll {
	from { transform: translateY(0); }
	to   { transform: translateY(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.b360-trending-track {
		animation: none;
	}
}

.b360-trending-item {
	display: flex;
	align-items: center;
	gap: 14px;
}

.b360-trending-num {
	font-size: 22px;
	font-weight: 800;
	color: #94A3B8;
	min-width: 28px;
}

.b360-trending-thumb {
	width: 64px;
	height: 64px;
	border-radius: var(--b360-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.b360-trending-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b360-trending-details {
	display: flex;
	flex-direction: column;
}

.b360-cat-micro {
	font-size: 10px;
	font-weight: 800;
	color: #C0272B;
	letter-spacing: 0.05em;
}

.b360-trending-item-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	margin: 2px 0 4px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.b360-trending-item-title a:hover {
	color: var(--b360-primary);
}

.b360-item-meta {
	font-size: 12px;
	color: var(--b360-text-muted);
}

/* CATEGORY ARCHIVE */
.b360-archive-header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--b360-border);
}

.b360-archive-title {
	font-family: var(--b360-font-serif);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--b360-text-main);
	margin: 0 0 10px 0;
}

.b360-archive-desc {
	font-size: 15px;
	color: var(--b360-text-muted);
	max-width: 640px;
	line-height: 1.6;
}

.b360-archive-count {
	font-size: 13px;
	font-weight: 600;
	color: var(--b360-text-light);
	margin: 10px 0 0 0;
}

.b360-archive-empty {
	font-size: 15px;
	color: var(--b360-text-muted);
	padding: 40px 0;
	text-align: center;
}

.b360-archive-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.b360-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: var(--b360-radius-sm);
	border: 1px solid var(--b360-border);
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	background: #FFFFFF;
}

.b360-archive-pagination .page-numbers:hover {
	border-color: var(--b360-primary);
	color: var(--b360-primary);
}

.b360-archive-pagination .page-numbers.current {
	background: var(--b360-primary);
	border-color: var(--b360-primary);
	color: #FFFFFF;
}

.b360-archive-pagination .page-numbers.dots {
	border: none;
	background: none;
}

/* SECTION 2: LATEST ARTICLES GRID */
.b360-latest-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.b360-article-card {
	background: #FFFFFF;
	border: 1px solid var(--b360-border);
	border-radius: var(--b360-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b360-article-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--b360-shadow-md);
}

.b360-card-thumb {
	width: 100%;
	height: 190px;
	overflow: hidden;
}

.b360-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.b360-article-card:hover .b360-card-thumb img {
	transform: scale(1.04);
}

.b360-card-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.b360-cat-tag-solid {
	font-size: 11px;
	font-weight: 800;
	color: #9E1B1E;
	letter-spacing: 0.05em;
	margin-bottom: 6px;
}

.b360-card-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.b360-card-title a:hover {
	color: var(--b360-primary);
}

.b360-card-excerpt {
	font-size: 13px;
	color: var(--b360-text-muted);
	margin: 0 0 16px 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.b360-card-author-row {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 12px;
	border-top: 1px solid #F5F1EA;
}

.b360-author-avatar-sm {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	object-fit: cover;
}

.b360-author-meta {
	display: flex;
	flex-direction: column;
	font-size: 11px;
}

.b360-author-by {
	font-weight: 600;
	color: var(--b360-text-main);
}

.b360-post-dates {
	color: var(--b360-text-muted);
}

/* CATEGORY HIGHLIGHTS — horizontal per-category carousels */
.b360-carousel-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.b360-carousel-arrow {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--b360-border);
	background: #FFFFFF;
	color: #334155;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.b360-carousel-arrow:hover {
	background: var(--b360-primary);
	border-color: var(--b360-primary);
	color: #FFFFFF;
}

.b360-carousel-arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.b360-cat-carousel-viewport {
	position: relative;
	margin: 0 -24px;
	padding: 0 24px;
}

.b360-cat-carousel-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-behavior: smooth;
	padding-bottom: 8px;
	scrollbar-width: none;
}

.b360-cat-carousel-track::-webkit-scrollbar {
	display: none;
}

.b360-cat-carousel-card {
	flex: 0 0 auto;
	width: 290px;
	scroll-snap-align: start;
	background: #FFFFFF;
	border: 1px solid var(--b360-border);
	border-radius: var(--b360-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.b360-cat-carousel-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--b360-shadow-md);
}

/* SECTION 3: EXPLORE TOPICS */
.b360-topics-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.b360-topic-card {
	position: relative;
	background: #FFFFFF;
	border: 1px solid var(--b360-border);
	border-radius: var(--b360-radius-md);
	padding: 30px 20px 26px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	overflow: hidden;
	box-shadow: var(--b360-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.b360-topic-accent {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	transform: scaleX(0.35);
	opacity: 0.55;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.b360-topic-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--b360-shadow-lg);
	border-color: rgba(26, 26, 26, 0.06);
}

.b360-topic-card:hover .b360-topic-accent {
	transform: scaleX(1);
	opacity: 1;
}

.b360-topic-icon-wrap {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	transition: transform 0.25s ease;
}

.b360-topic-card:hover .b360-topic-icon-wrap {
	transform: scale(1.08);
}

.b360-topic-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--b360-text-main);
	margin: 0 0 6px 0;
}

.b360-topic-count {
	font-size: 12px;
	font-weight: 600;
	color: #64748B;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: gap 0.2s ease, color 0.2s ease;
}

.b360-topic-card:hover .b360-topic-count {
	gap: 7px;
	color: var(--b360-text-main);
}

/* SECTION 4: EDITOR'S PICKS */
.b360-editors-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 24px;
}

.b360-editor-hero-card {
	border-radius: var(--b360-radius-lg);
	background-size: cover;
	background-position: center;
	min-height: 400px;
	position: relative;
	display: flex;
	align-items: flex-end;
	padding: 32px;
	overflow: hidden;
	box-shadow: var(--b360-shadow-md);
}

.b360-editor-hero-content {
	color: #FFFFFF;
}

.b360-cat-tag-pink {
	font-size: 11px;
	font-weight: 800;
	color: #D4AF37;
	letter-spacing: 0.05em;
}

.b360-editor-hero-title {
	font-family: var(--b360-font-serif);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.3;
	margin: 8px 0 10px 0;
	color: #FFFFFF;
}

.b360-editor-hero-title a:hover {
	color: #E8CB6B;
}

.b360-editor-hero-excerpt {
	font-size: 14px;
	color: #E2E8F0;
	margin: 0 0 20px 0;
}

.b360-editor-side-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.b360-editor-side-card {
	background: #FFFFFF;
	border: 1px solid var(--b360-border);
	border-radius: var(--b360-radius-md);
	padding: 16px;
	display: flex;
	gap: 16px;
	align-items: center;
}

.b360-side-thumb {
	width: 120px;
	height: 100px;
	border-radius: var(--b360-radius-sm);
	overflow: hidden;
	flex-shrink: 0;
}

.b360-side-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.b360-side-content {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.b360-cat-micro-orange {
	font-size: 11px;
	font-weight: 800;
	color: #B8860B;
}

.b360-side-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin: 4px 0 8px 0;
}

.b360-side-title a:hover {
	color: var(--b360-primary);
}

.b360-side-meta-row {
	font-size: 12px;
	color: var(--b360-text-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}

.b360-side-arrow-link {
	margin-left: auto;
	color: var(--b360-primary);
}

/* SECTION 5: NEWSLETTER BANNER */
.b360-newsletter-box {
	background: linear-gradient(135deg, #9E1B1E 0%, #6B1315 100%);
	border-radius: var(--b360-radius-lg);
	padding: 40px 48px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #FFFFFF;
	box-shadow: var(--b360-shadow-lg);
}

.b360-newsletter-left {
	display: flex;
	align-items: center;
	gap: 20px;
}

.b360-newsletter-icon {
	width: 54px;
	height: 54px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: var(--b360-radius-md);
	display: flex;
	align-items: center;
	justify-content: center;
}

.b360-newsletter-title {
	font-family: var(--b360-font-serif);
	font-size: 22px;
	font-weight: 800;
	margin: 0;
}

.b360-newsletter-sub {
	font-size: 14px;
	color: #F5C6C7;
	margin: 4px 0 0 0;
}

.b360-newsletter-form {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	padding: 6px;
	border-radius: var(--b360-radius-md);
	width: 440px;
}

.b360-newsletter-form input {
	border: none;
	outline: none;
	padding: 10px 16px;
	font-size: 14px;
	flex-grow: 1;
}

.b360-btn-subscribe-banner {
	background: #1A1A1A;
	color: #FFFFFF;
	border: none;
	font-size: 14px;
	font-weight: 700;
	padding: 12px 24px;
	border-radius: var(--b360-radius-sm);
	cursor: pointer;
	transition: background 0.2s;
}

.b360-btn-subscribe-banner:hover {
	background: #1A1A1A;
}

/* FOOTER */
.blog360-footer {
	background: var(--b360-dark-bg);
	color: #94A3B8;
	padding-top: 64px;
	margin-top: 60px;
}

.blog360-footer-inner {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
	gap: 40px;
	padding-bottom: 48px;
}

.b360-footer-desc {
	font-size: 13px;
	line-height: 1.6;
	margin: 16px 0;
	color: #94A3B8;
}

.b360-social-links {
	display: flex;
	gap: 14px;
}

.b360-social-links a {
	color: #94A3B8;
}

.b360-social-links a:hover {
	color: #FFFFFF;
}

.b360-footer-head {
	font-size: 14px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 20px 0;
}

.b360-footer-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.b360-footer-list a {
	font-size: 13px;
	color: #94A3B8;
}

.b360-footer-list a:hover {
	color: #FFFFFF;
}

.b360-footer-sub-text {
	font-size: 13px;
	margin-bottom: 12px;
}

.b360-footer-form {
	display: flex;
	gap: 6px;
}

.b360-footer-form input {
	background: #1E293B;
	border: 1px solid #334155;
	border-radius: var(--b360-radius-sm);
	padding: 10px 12px;
	color: #FFFFFF;
	font-size: 13px;
	outline: none;
	width: 100%;
}

.b360-footer-form button {
	background: var(--b360-primary);
	color: #FFFFFF;
	border: none;
	padding: 0 14px;
	border-radius: var(--b360-radius-sm);
	cursor: pointer;
}

.b360-footer-bottom {
	border-top: 1px solid #1E293B;
	padding: 24px 0;
	font-size: 13px;
}

.b360-footer-bottom-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* SEARCH MODAL */
.blog360-search-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 999;
}

.blog360-search-modal.active {
	display: block;
}

.blog360-search-overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 26, 0.7);
	backdrop-filter: blur(4px);
}

.blog360-search-box {
	position: relative;
	max-width: 640px;
	margin: 100px auto 0 auto;
	background: #FFFFFF;
	border-radius: var(--b360-radius-lg);
	box-shadow: var(--b360-shadow-lg);
	overflow: hidden;
	z-index: 1000;
}

.blog360-search-input-wrap {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--b360-border);
	gap: 12px;
}

.blog360-search-input-wrap input {
	border: none;
	outline: none;
	font-size: 16px;
	width: 100%;
}

.b360-close-search {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: var(--b360-text-muted);
}

.blog360-search-results {
	padding: 20px;
	max-height: 400px;
	overflow-y: auto;
}

.b360-search-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid #F5F1EA;
}

.b360-search-item img {
	width: 48px;
	height: 48px;
	border-radius: 6px;
	object-fit: cover;
}

/* RESPONSIVE LAYOUTS */
@media (max-width: 1024px) {
	.blog360-hero-grid,
	.b360-editors-grid {
		grid-template-columns: 1fr;
	}

	.b360-latest-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.b360-topics-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.blog360-footer-inner {
		grid-template-columns: 1fr 1fr;
	}

	.b360-newsletter-box {
		flex-direction: column;
		gap: 24px;
		text-align: center;
	}

	.b360-newsletter-left {
		flex-direction: column;
	}

	.b360-newsletter-form {
		width: 100%;
	}

	.b360-trending-viewport {
		max-height: 460px;
	}
}

@media (max-width: 640px) {
	.b360-latest-grid,
	.b360-topics-grid {
		grid-template-columns: 1fr;
	}

	.b360-hero-title {
		font-size: 22px;
	}

	.blog360-footer-inner {
		grid-template-columns: 1fr;
	}

	.b360-cat-carousel-card {
		width: 240px;
	}

	.b360-cat-carousel-viewport {
		margin: 0 -16px;
		padding: 0 16px;
	}

	.b360-carousel-controls {
		gap: 6px;
	}
}
