/*
Theme Name: MBA Reports Guru SEO
Theme URI: https://mbareportsguru.com/
Author: MBA Reports Guru
Description: Lightweight SEO-focused theme for MBA Reports Guru content library.
Version: 1.0.0
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: mbarg-seo
*/

:root {
	--mrg-text: #18212f;
	--mrg-muted: #667085;
	--mrg-line: #e5e7eb;
	--mrg-bg: #ffffff;
	--mrg-soft: #f6f7f9;
	--mrg-brand: #166534;
	--mrg-brand-dark: #14532d;
	--mrg-accent: #0f766e;
	--mrg-warning: #b45309;
	--mrg-radius: 8px;
	--mrg-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--mrg-bg);
	color: var(--mrg-text);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

a {
	color: var(--mrg-brand);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--mrg-brand-dark);
}

img {
	max-width: 100%;
	height: auto;
}

.mrg-container {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.site-header {
	border-bottom: 1px solid var(--mrg-line);
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .site-header {
	top: 32px;
}

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

.site-title {
	margin: 0;
	font-size: 24px;
	line-height: 1.2;
}

.site-title a {
	color: var(--mrg-text);
	text-decoration: none;
}

.site-description {
	margin: 4px 0 0;
	color: var(--mrg-muted);
	font-size: 14px;
}

.main-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a {
	color: var(--mrg-text);
	font-weight: 700;
	text-decoration: none;
}

.hero {
	background: linear-gradient(180deg, #f7fbf9 0%, #fff 100%);
	border-bottom: 1px solid var(--mrg-line);
	padding: 42px 0 28px;
}

.hero h1 {
	max-width: 780px;
	margin: 0 0 14px;
	font-size: clamp(32px, 5vw, 52px);
	line-height: 1.08;
}

.hero p {
	max-width: 760px;
	margin: 0 0 22px;
	color: var(--mrg-muted);
	font-size: 18px;
}

.search-panel {
	display: flex;
	gap: 10px;
	max-width: 720px;
}

.search-panel input[type="search"] {
	flex: 1;
	min-width: 0;
	border: 1px solid var(--mrg-line);
	border-radius: var(--mrg-radius);
	padding: 14px 16px;
	font-size: 16px;
}

.button,
button,
input[type="submit"] {
	border: 0;
	border-radius: var(--mrg-radius);
	background: var(--mrg-brand);
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 18px;
	font-weight: 700;
	text-decoration: none;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
	background: var(--mrg-brand-dark);
	color: #fff;
}

.content-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 34px;
	padding: 34px 0;
}

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

.post-card,
.widget,
.single-article,
.archive-header,
.not-found {
	border: 1px solid var(--mrg-line);
	border-radius: var(--mrg-radius);
	background: #fff;
	box-shadow: var(--mrg-shadow);
}

.post-card {
	overflow: hidden;
}

.post-card .thumb {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--mrg-soft);
	overflow: hidden;
}

.post-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-card-body,
.single-article,
.archive-header,
.not-found {
	padding: 22px;
}

.post-card h2,
.single-article h1,
.archive-header h1 {
	margin: 0 0 10px;
	line-height: 1.22;
}

.post-card h2 {
	font-size: 22px;
}

.post-card h2 a {
	color: var(--mrg-text);
	text-decoration: none;
}

.meta {
	color: var(--mrg-muted);
	font-size: 14px;
	margin-bottom: 12px;
}

.excerpt {
	color: #344054;
	margin: 0 0 16px;
}

.read-more {
	font-weight: 700;
}

.sidebar {
	display: grid;
	gap: 18px;
	align-content: start;
}

.widget {
	padding: 18px;
}

.widget h2,
.widget h3 {
	margin-top: 0;
	font-size: 18px;
}

.widget ul {
	margin: 0;
	padding-left: 20px;
}

.category-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}

.category-pill {
	border: 1px solid var(--mrg-line);
	border-radius: var(--mrg-radius);
	background: #fff;
	color: var(--mrg-text);
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	text-decoration: none;
}

.category-pill strong {
	font-size: 14px;
}

.category-pill span {
	color: var(--mrg-muted);
	font-size: 13px;
}

.single-article {
	max-width: 820px;
}

.single-article h1 {
	font-size: clamp(30px, 4vw, 44px);
}

.entry-content {
	overflow-wrap: anywhere;
}

.entry-content h2,
.entry-content h3 {
	line-height: 1.25;
	margin-top: 1.6em;
}

.entry-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--mrg-line);
	padding: 8px 10px;
}

.mrg-summary {
	border-left: 4px solid var(--mrg-accent);
	background: #f0fdfa;
	margin: 18px 0;
	padding: 14px 16px;
}

.related-posts {
	margin-top: 28px;
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.page-numbers,
.nav-links a,
.nav-links span {
	border: 1px solid var(--mrg-line);
	border-radius: 6px;
	padding: 8px 12px;
	text-decoration: none;
}

.page-numbers.current {
	background: var(--mrg-brand);
	color: #fff;
	border-color: var(--mrg-brand);
}

.site-footer {
	border-top: 1px solid var(--mrg-line);
	background: var(--mrg-soft);
	color: var(--mrg-muted);
	padding: 28px 0;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid #1d4ed8;
	outline-offset: 2px;
}

@media (max-width: 900px) {
	.header-inner,
	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.content-wrap,
	.post-grid,
	.category-list {
		grid-template-columns: 1fr;
	}

	.site-header {
		position: static;
	}

	.search-panel {
		flex-direction: column;
	}

	.button,
	button,
	input[type="submit"] {
		width: 100%;
	}
}

/* Homepage redesign */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.site-header {
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.main-navigation a:hover {
	color: var(--mrg-brand);
}

.home-hero {
	background: linear-gradient(180deg, #f8fafc 0%, #eef8f3 58%, #fff 100%);
	border-bottom: 1px solid var(--mrg-line);
	padding: 58px 0 46px;
}

.home-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	align-items: center;
	gap: 42px;
}

.home-hero-copy h1 {
	max-width: 820px;
	margin: 0 0 16px;
	font-size: clamp(34px, 4.6vw, 58px);
	line-height: 1.04;
	letter-spacing: 0;
}

.eyebrow {
	margin: 0 0 10px;
	color: var(--mrg-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.hero-intro {
	max-width: 780px;
	margin: 0 0 24px;
	color: #475467;
	font-size: 18px;
}

.hero-search {
	background: #fff;
	border: 1px solid var(--mrg-line);
	border-radius: 8px;
	box-shadow: var(--mrg-shadow);
	padding: 8px;
}

.hero-search input[type="search"] {
	border: 0;
	padding-left: 12px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.button-secondary {
	background: #fff;
	border: 1px solid var(--mrg-line);
	color: var(--mrg-text);
}

.button-secondary:hover {
	background: #f8fafc;
	color: var(--mrg-brand-dark);
}

.featured-report {
	background: #fff;
	border: 1px solid var(--mrg-line);
	border-radius: var(--mrg-radius);
	box-shadow: var(--mrg-shadow);
	overflow: hidden;
}

.featured-thumb {
	display: grid;
	place-items: center;
	min-height: 260px;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #0f766e, #166534);
	color: #fff;
	font-size: 28px;
	font-weight: 800;
	text-decoration: none;
}

.featured-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-report-body {
	padding: 22px;
}

.featured-report h2 {
	margin: 0 0 10px;
	font-size: 25px;
	line-height: 1.22;
}

.featured-report h2 a {
	color: var(--mrg-text);
	text-decoration: none;
}

.home-section {
	padding: 48px 0;
}

.home-section-alt {
	background: #f8fafc;
	border-bottom: 1px solid var(--mrg-line);
	border-top: 1px solid var(--mrg-line);
}

.section-heading {
	max-width: 760px;
	margin-bottom: 24px;
}

.section-heading h2,
.value-grid h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.12;
	letter-spacing: 0;
}

.section-heading p,
.value-grid p,
.value-list p {
	color: #475467;
	margin-bottom: 0;
}

.home-category-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 0;
}

.home-category-list .category-pill {
	min-height: 86px;
	align-items: flex-start;
	flex-direction: column;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.home-category-list .category-pill:hover {
	border-color: rgba(22, 101, 52, 0.35);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	transform: translateY(-2px);
}

.home-category-list .category-pill strong {
	font-size: 17px;
	line-height: 1.3;
}

.home-post-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 36px;
	align-items: start;
}

.value-list {
	display: grid;
	gap: 14px;
}

.value-list section {
	border: 1px solid var(--mrg-line);
	border-radius: var(--mrg-radius);
	background: #fff;
	padding: 18px 20px;
}

.value-list h3 {
	margin: 0 0 6px;
	font-size: 19px;
	line-height: 1.25;
}

@media (max-width: 1040px) {
	.home-hero-grid,
	.value-grid,
	.home-post-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	.home-hero {
		padding: 38px 0 34px;
	}

	.home-hero-grid,
	.value-grid,
	.home-category-list,
	.home-post-grid {
		grid-template-columns: 1fr;
	}

	.hero-actions .button,
	.hero-actions .button-secondary {
		width: 100%;
	}

	.featured-thumb {
		min-height: 210px;
	}

	.home-section {
		padding: 36px 0;
	}
}

/* 2026 homepage refresh */
:root {
	--mrg-ink: #111827;
	--mrg-blue: #1d4ed8;
	--mrg-cyan: #0891b2;
	--mrg-gold: #d97706;
	--mrg-mint: #ecfdf5;
	--mrg-panel: #ffffff;
	--mrg-shadow-strong: 0 18px 50px rgba(17, 24, 39, 0.12);
}

body {
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 46%, #ffffff 100%);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.site-header {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(16px);
}

.site-title a {
	font-weight: 900;
	letter-spacing: 0;
}

.main-navigation a {
	border-radius: 999px;
	padding: 8px 10px;
	transition: background-color 160ms ease, color 160ms ease;
}

.main-navigation a:hover {
	background: #eef2ff;
	color: var(--mrg-blue);
}

.home-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(circle at 82% 18%, rgba(8, 145, 178, 0.16), transparent 30%),
		linear-gradient(135deg, #f8fafc 0%, #ffffff 42%, #ecfdf5 100%);
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	padding: 72px 0 54px;
}

.home-hero::before {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 118px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

.home-hero-grid {
	position: relative;
	z-index: 1;
	grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
	gap: 48px;
}

.home-hero-copy h1 {
	max-width: 860px;
	color: var(--mrg-ink);
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 900;
	line-height: 1.02;
}

.eyebrow {
	color: var(--mrg-blue);
	font-size: 12px;
	font-weight: 900;
}

.hero-intro {
	max-width: 760px;
	color: #344054;
	font-size: 19px;
	line-height: 1.7;
}

.hero-search {
	max-width: 760px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: var(--mrg-shadow-strong);
}

.hero-search input[type="search"] {
	font-size: 16px;
}

.hero-search button,
.button {
	background: linear-gradient(135deg, var(--mrg-blue), var(--mrg-cyan));
	box-shadow: 0 10px 24px rgba(29, 78, 216, 0.22);
}

.hero-search button:hover,
.button:hover {
	background: linear-gradient(135deg, #1e40af, #0e7490);
}

.button-secondary {
	background: #fff;
	box-shadow: none;
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 760px;
	margin: 18px 0 0;
}

.hero-stats div {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.74);
	padding: 14px 16px;
}

.hero-stats strong,
.hero-stats span {
	display: block;
}

.hero-stats strong {
	color: var(--mrg-ink);
	font-size: 25px;
	line-height: 1.1;
}

.hero-stats span {
	color: var(--mrg-muted);
	font-size: 13px;
	font-weight: 700;
}

.hero-topic-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 760px;
	margin-top: 18px;
}

.hero-topic-strip a {
	border: 1px solid rgba(29, 78, 216, 0.16);
	border-radius: 999px;
	background: #fff;
	color: #1e3a8a;
	font-size: 14px;
	font-weight: 800;
	padding: 8px 12px;
	text-decoration: none;
}

.featured-report {
	position: relative;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: var(--mrg-shadow-strong);
}

.featured-report-top {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	background: #111827;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.featured-thumb {
	min-height: 288px;
	background:
		linear-gradient(135deg, rgba(29, 78, 216, 0.88), rgba(8, 145, 178, 0.88)),
		linear-gradient(45deg, #e0f2fe, #ecfdf5);
	font-size: 30px;
	letter-spacing: 0;
}

.featured-report-body {
	padding: 24px;
}

.featured-report h2 {
	font-size: 27px;
}

.research-path-section {
	padding-top: 0;
}

.research-path {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: -20px;
	position: relative;
	z-index: 2;
}

.research-path section {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
	padding: 22px;
}

.research-path span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fef3c7;
	color: #92400e;
	font-size: 13px;
	font-weight: 900;
}

.research-path h2 {
	margin: 14px 0 8px;
	font-size: 20px;
	line-height: 1.25;
}

.research-path p {
	margin: 0;
	color: #475467;
}

.home-section {
	padding: 58px 0;
}

.home-section-alt {
	background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.section-heading {
	max-width: 820px;
}

.section-heading h2,
.value-grid h2 {
	color: var(--mrg-ink);
	font-weight: 900;
}

.home-category-list {
	gap: 16px;
}

.home-category-list .category-pill {
	position: relative;
	overflow: hidden;
	border-color: rgba(17, 24, 39, 0.08);
	background: #fff;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
	padding: 20px;
	text-decoration: none;
}

.home-category-list .category-pill::after {
	content: "";
	position: absolute;
	right: 18px;
	bottom: 18px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(29, 78, 216, 0.14), rgba(217, 119, 6, 0.18));
}

.home-category-list .category-pill:hover {
	border-color: rgba(29, 78, 216, 0.24);
	box-shadow: 0 18px 40px rgba(17, 24, 39, 0.1);
}

.home-category-list .category-pill strong {
	max-width: calc(100% - 44px);
	color: var(--mrg-ink);
}

.home-category-list .category-pill span {
	color: var(--mrg-blue);
	font-weight: 800;
}

.home-post-grid {
	gap: 18px;
}

.home-post-grid .post-card {
	border-color: rgba(17, 24, 39, 0.08);
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-post-grid .post-card:hover {
	box-shadow: 0 18px 40px rgba(17, 24, 39, 0.11);
	transform: translateY(-2px);
}

.home-post-grid .post-card-body {
	padding: 22px;
}

.home-post-grid .post-card h2 {
	font-size: 21px;
}

.read-more {
	color: var(--mrg-blue);
	font-weight: 900;
}

.value-grid {
	align-items: center;
}

.value-copy {
	border-left: 4px solid var(--mrg-gold);
	padding-left: 22px;
}

.value-list section {
	border-color: rgba(17, 24, 39, 0.08);
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.value-list h3 {
	color: var(--mrg-ink);
	font-weight: 900;
}

@media (max-width: 1040px) {
	.home-hero-grid,
	.value-grid {
		grid-template-columns: 1fr;
	}

	.research-path,
	.home-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.site-header {
		position: static;
	}

	.home-hero {
		padding: 44px 0 36px;
	}

	.home-hero-copy h1 {
		font-size: 38px;
	}

	.hero-stats,
	.research-path,
	.home-category-list,
	.home-post-grid {
		grid-template-columns: 1fr;
	}

	.hero-search {
		padding: 10px;
	}

	.hero-topic-strip a {
		max-width: 100%;
	}

	.featured-report-body,
	.research-path section {
		padding: 18px;
	}

	.home-section {
		padding: 40px 0;
	}
}

/* Slider and dropdown additions */
.primary-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-menu li {
	position: relative;
}

.primary-menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
}

.category-menu-item > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-bottom: 2px solid currentColor;
	border-right: 2px solid currentColor;
	margin-left: 8px;
	transform: rotate(45deg) translateY(-2px);
}

.category-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(190px, 1fr));
	gap: 6px;
	min-width: 460px;
	margin: 0;
	padding: 12px;
	list-style: none;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 20px 50px rgba(17, 24, 39, 0.16);
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
	z-index: 100;
}

.category-menu-item:hover .category-dropdown,
.category-menu-item:focus-within .category-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.category-dropdown a {
	display: grid;
	gap: 2px;
	border-radius: 8px;
	padding: 10px 12px;
	text-decoration: none;
}

.category-dropdown a:hover {
	background: #eef2ff;
}

.category-dropdown span {
	color: var(--mrg-ink);
	font-weight: 900;
}

.category-dropdown small {
	color: var(--mrg-muted);
	font-size: 12px;
	font-weight: 700;
}

.section-heading-row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	max-width: none;
}

.report-showcase-section {
	background: #fff;
}

.report-slider,
.testimonial-slider,
.mini-slider {
	overflow: hidden;
}

.report-slider {
	border-radius: 8px;
}

.report-slider-track {
	display: flex;
	gap: 18px;
	width: max-content;
	animation: mrg-slide-left 30s ease-in-out infinite;
	animation-direction: alternate;
}

.report-slider:hover .report-slider-track,
.testimonial-slider:hover .testimonial-track,
.mini-slider:hover .mini-slider-track {
	animation-play-state: paused;
}

.report-slide {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	width: min(760px, calc(100vw - 40px));
	min-height: 230px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08);
	overflow: hidden;
}

.report-slide-image {
	display: block;
	background: linear-gradient(135deg, #e0f2fe, #ecfdf5);
}

.report-slide-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.report-slide-content {
	display: grid;
	align-content: center;
	gap: 10px;
	padding: 24px;
}

.report-slide-content span {
	color: var(--mrg-blue);
	font-size: 13px;
	font-weight: 900;
}

.report-slide-content h3 {
	margin: 0;
	font-size: 24px;
	line-height: 1.18;
}

.report-slide-content h3 a {
	color: var(--mrg-ink);
	text-decoration: none;
}

.mini-slider-section {
	border-block: 1px solid rgba(17, 24, 39, 0.08);
	background: #111827;
	color: #fff;
	padding: 14px 0;
}

.mini-slider-wrap {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.mini-slider-wrap > strong {
	color: #fbbf24;
	font-size: 13px;
	text-transform: uppercase;
}

.mini-slider-track {
	display: flex;
	gap: 12px;
	width: max-content;
	animation: mrg-mini-slide 38s ease-in-out infinite;
	animation-direction: alternate;
}

.mini-slider-track a {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: #fff;
	padding: 7px 12px;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.testimonials-section {
	background: linear-gradient(135deg, #f8fafc, #ecfdf5);
	border-block: 1px solid rgba(17, 24, 39, 0.08);
}

.testimonial-track {
	display: flex;
	gap: 16px;
	width: max-content;
	animation: mrg-slide-left 34s ease-in-out infinite;
	animation-direction: alternate;
}

.testimonial-track article {
	width: min(380px, calc(100vw - 40px));
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
	padding: 22px;
}

.testimonial-track p {
	margin: 0 0 16px;
	color: #344054;
	font-size: 17px;
}

.testimonial-track strong,
.testimonial-track span {
	display: block;
}

.testimonial-track strong {
	color: var(--mrg-ink);
	font-weight: 900;
}

.testimonial-track span {
	color: var(--mrg-blue);
	font-size: 13px;
	font-weight: 800;
}

@keyframes mrg-slide-left {
	0% { transform: translateX(0); }
	100% { transform: translateX(calc(-50% - 18px)); }
}

@keyframes mrg-mini-slide {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}

@media (max-width: 900px) {
	.header-inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 14px 0;
	}

	.category-dropdown {
		left: 0;
		right: auto;
		grid-template-columns: 1fr;
		min-width: min(320px, calc(100vw - 32px));
	}

	.section-heading-row {
		align-items: flex-start;
		flex-direction: column;
	}

	.report-slide {
		grid-template-columns: 1fr;
		width: min(360px, calc(100vw - 40px));
	}

	.report-slide-image {
		aspect-ratio: 16 / 10;
	}

	.mini-slider-wrap {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.report-slider-track,
	.testimonial-track,
	.mini-slider-track {
		animation: none;
		width: auto;
		overflow-x: auto;
	}
}


/* Hero visual and mobile navigation upgrade */
.home-hero-side {
	display: grid;
	gap: 18px;
	align-self: start;
}

.hero-visual-card {
	position: relative;
	margin: 0;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
	overflow: hidden;
}

.hero-visual-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 48%, rgba(17, 24, 39, 0.18) 100%);
	pointer-events: none;
}

.hero-visual-card img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
}

.nav-toggle,
.nav-toggle-label {
	display: none;
}

.nav-toggle-label {
	width: 44px;
	height: 44px;
	border: 1px solid rgba(17, 24, 39, 0.12);
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex-direction: column;
	box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
}

.nav-toggle-label span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: var(--mrg-ink);
	transition: transform 160ms ease, opacity 160ms ease;
}

@media (min-width: 901px) {
	.home-hero-side .featured-report {
		max-width: 100%;
	}
}

@media (max-width: 900px) {
	.header-inner {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 12px;
	}

	.nav-toggle-label {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1;
	}

	.main-navigation {
		grid-column: 1 / -1;
		width: 100%;
		max-height: 0;
		overflow: hidden;
		transition: max-height 220ms ease;
	}

	.nav-toggle:checked + .nav-toggle-label + .main-navigation {
		max-height: 760px;
	}

	.nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
		opacity: 0;
	}

	.nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}

	.primary-menu {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		border: 1px solid rgba(17, 24, 39, 0.08);
		border-radius: 8px;
		background: #fff;
		box-shadow: 0 16px 38px rgba(17, 24, 39, 0.12);
		margin-top: 12px;
		padding: 12px;
	}

	.primary-menu > li > a {
		justify-content: space-between;
		width: 100%;
		padding: 11px 12px;
	}

	.category-dropdown {
		position: static;
		display: grid;
		grid-template-columns: 1fr;
		min-width: 0;
		width: 100%;
		margin-top: 4px;
		padding: 6px;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
		background: #f8fafc;
	}

	.category-dropdown a {
		padding: 9px 10px;
	}

	.home-hero-grid {
		gap: 28px;
	}

	.home-hero-side {
		gap: 14px;
	}
}

@media (max-width: 560px) {
	.hero-visual-card img {
		aspect-ratio: 4 / 3;
	}
}

/* Header branding upgrade */
.branding {
	min-width: 0;
}

.brand-link {
	display: inline-grid;
	grid-template-columns: 54px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	color: var(--mrg-ink);
	text-decoration: none;
}

.brand-link:hover {
	color: var(--mrg-ink);
}

.brand-mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	background: linear-gradient(135deg, #1d4ed8 0%, #0891b2 62%, #d97706 100%);
	box-shadow: 0 12px 28px rgba(29, 78, 216, 0.24);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	overflow: hidden;
}

.brand-mark::before {
	content: "";
	position: absolute;
	inset: 8px 8px auto auto;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.24);
}

.brand-mark::after {
	content: "";
	position: absolute;
	left: 10px;
	bottom: 10px;
	width: 28px;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.7);
}

.brand-mark span {
	position: relative;
	z-index: 1;
}

.brand-copy {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.brand-copy .site-title {
	margin: 0;
	color: var(--mrg-ink);
	font-size: clamp(22px, 2.4vw, 29px);
	font-weight: 950;
	line-height: 1.05;
	letter-spacing: 0;
	white-space: nowrap;
}

.brand-copy .site-description {
	margin: 0;
	color: #475467;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
	white-space: nowrap;
}

.site-header {
	border-bottom-color: rgba(17, 24, 39, 0.08);
}

@media (max-width: 560px) {
	.brand-link {
		grid-template-columns: 46px minmax(0, 1fr);
		gap: 10px;
	}

	.brand-mark {
		width: 46px;
		height: 46px;
		font-size: 12px;
	}

	.brand-copy .site-title {
		font-size: 21px;
	}

	.brand-copy .site-description {
		font-size: 12px;
		white-space: normal;
	}
}

/* Footer redesign */
.site-footer {
	border-top: 1px solid rgba(17, 24, 39, 0.08);
	background: #0f172a;
	color: #cbd5e1;
	padding: 54px 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.75fr));
	gap: 32px;
	align-items: start;
}

.footer-brand-link {
	display: inline-grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	color: #fff;
	text-decoration: none;
}

.footer-brand-link:hover {
	color: #fff;
}

.footer-brand-link strong,
.footer-brand-link small {
	display: block;
}

.footer-brand-link strong {
	font-size: 24px;
	font-weight: 950;
	line-height: 1.05;
}

.footer-brand-link small {
	color: #93c5fd;
	font-size: 13px;
	font-weight: 800;
	margin-top: 3px;
}

.footer-brand p {
	max-width: 430px;
	margin: 18px 0 0;
	color: #cbd5e1;
	line-height: 1.75;
}

.footer-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 8px;
	background: linear-gradient(135deg, #1d4ed8, #0891b2);
	color: #fff;
	font-weight: 900;
	padding: 10px 14px;
	text-decoration: none;
}

.footer-cta:hover {
	color: #fff;
	background: linear-gradient(135deg, #1e40af, #0e7490);
}

.footer-cta-secondary {
	background: #16a34a;
}

.footer-cta-secondary:hover {
	background: #15803d;
}

.footer-column {
	display: grid;
	gap: 10px;
}

.footer-column h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 15px;
	font-weight: 950;
	letter-spacing: 0;
	text-transform: uppercase;
}

.footer-column a {
	color: #cbd5e1;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.footer-column a:hover {
	color: #93c5fd;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 42px;
	padding: 18px 0;
	color: #94a3b8;
	font-size: 13px;
	font-weight: 700;
}

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

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.site-footer {
		padding-top: 38px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.footer-brand-link strong {
		font-size: 22px;
	}

	.footer-cta {
		width: 100%;
	}

	.footer-bottom {
		margin-top: 30px;
	}
}

/* Featured report card refresh */
.home-hero-side .featured-report {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
		linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(8, 145, 178, 0.1));
	border: 1px solid rgba(29, 78, 216, 0.14);
	box-shadow: 0 22px 54px rgba(17, 24, 39, 0.14);
}

.home-hero-side .featured-report-top {
	align-items: center;
	background:
		linear-gradient(135deg, rgba(29, 78, 216, 0.96), rgba(8, 145, 178, 0.94)),
		#1d4ed8;
	padding: 18px 20px;
}

.featured-report-top > div:first-child {
	display: grid;
	gap: 4px;
}

.featured-kicker {
	display: inline-flex;
	width: fit-content;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fef3c7;
	font-size: 11px;
	font-weight: 950;
	letter-spacing: 0;
	padding: 5px 9px;
	text-transform: uppercase;
}

.featured-report-top strong {
	color: #fff;
	font-size: 18px;
	line-height: 1.2;
}

.featured-meta-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 7px;
}

.featured-meta-pills span {
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 12px;
	font-weight: 900;
	padding: 7px 9px;
}

.home-hero-side .featured-thumb {
	min-height: 220px;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.home-hero-side .featured-report-body {
	padding: 22px;
}

.home-hero-side .featured-report h2 {
	font-size: 24px;
	line-height: 1.18;
}

.featured-benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 16px 0 18px;
}

.featured-benefits span {
	border: 1px solid rgba(29, 78, 216, 0.14);
	border-radius: 999px;
	background: #eef2ff;
	color: #1e3a8a;
	font-size: 12px;
	font-weight: 900;
	padding: 7px 10px;
}

.featured-report-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 46px;
	border-radius: 8px;
	background: linear-gradient(135deg, #d97706, #1d4ed8);
	color: #fff;
	font-weight: 950;
	text-decoration: none;
	box-shadow: 0 12px 26px rgba(217, 119, 6, 0.18);
}

.featured-report-cta:hover {
	background: linear-gradient(135deg, #b45309, #1e40af);
	color: #fff;
}

@media (max-width: 560px) {
	.home-hero-side .featured-report-top {
		align-items: flex-start;
		flex-direction: column;
	}

	.featured-meta-pills {
		justify-content: flex-start;
	}
}

/* Compact featured report card */
.home-hero-side .featured-report {
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	box-shadow: 0 16px 38px rgba(17, 24, 39, 0.11);
}

.home-hero-side .featured-report-top {
	align-items: flex-start;
	background: #fff;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	color: var(--mrg-ink);
	padding: 18px 20px 14px;
}

.home-hero-side .featured-report-top strong {
	color: var(--mrg-ink);
	font-size: 17px;
}

.home-hero-side .featured-kicker {
	border-color: rgba(29, 78, 216, 0.18);
	background: #eef2ff;
	color: #1d4ed8;
}

.home-hero-side .featured-meta-pills span {
	background: #ecfeff;
	color: #0e7490;
}

.home-hero-side .featured-report-body {
	padding: 22px 20px 20px;
}

.home-hero-side .featured-report h2 {
	font-size: 25px;
}

/* Report pages and category hubs */
.report-hero,
.category-hub-hero {
	background:
		radial-gradient(circle at 86% 14%, rgba(8, 145, 178, 0.16), transparent 30%),
		linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #eef2ff 100%);
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	padding: 54px 0;
}

.report-hero-grid,
.category-hub-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 34px;
	align-items: center;
}

.report-badges,
.report-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	align-items: center;
}

.report-badges a,
.report-badges span,
.report-meta-row span {
	border-radius: 999px;
	font-size: 13px;
	font-weight: 900;
	padding: 7px 10px;
}

.report-badges a {
	background: #eef2ff;
	color: #1d4ed8;
	text-decoration: none;
}

.report-badges span,
.report-meta-row span {
	background: #ecfeff;
	color: #0e7490;
}

.report-hero h1,
.category-hub-hero h1 {
	max-width: 900px;
	margin: 16px 0 14px;
	color: var(--mrg-ink);
	font-size: clamp(34px, 4.8vw, 58px);
	font-weight: 950;
	line-height: 1.04;
}

.report-summary-lead,
.category-hub-hero p,
.category-hub-description {
	max-width: 820px;
	color: #344054;
	font-size: 18px;
	line-height: 1.7;
}

.report-summary-lead p,
.category-hub-description p {
	margin: 0;
}

.report-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.report-help-panel,
.category-hub-panel,
.report-sticky-cta,
.report-overview-box {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
}

.report-help-panel,
.category-hub-panel {
	padding: 22px;
}

.report-help-panel h2,
.report-sticky-cta h2,
.report-overview-box h2 {
	margin: 0 0 12px;
	color: var(--mrg-ink);
	font-size: 21px;
	line-height: 1.2;
}

.report-help-panel ul {
	display: grid;
	gap: 9px;
	margin: 0 0 18px;
	padding-left: 19px;
	color: #475467;
	font-weight: 700;
}

.report-help-panel a,
.category-hub-panel a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	border-radius: 8px;
	background: #16a34a;
	color: #fff;
	font-weight: 900;
	text-decoration: none;
}

.report-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: start;
	padding: 42px 0;
}

.report-article {
	max-width: none;
	padding: 0;
	overflow: hidden;
}

.report-featured-image {
	margin: 0;
	background: #f8fafc;
}

.report-featured-image img {
	display: block;
	width: 100%;
	max-height: 460px;
	object-fit: cover;
}

.report-overview-box {
	box-shadow: none;
	margin: 24px;
	padding: 20px;
}

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

.report-overview-grid div {
	border-radius: 8px;
	background: #f8fafc;
	padding: 14px;
}

.report-overview-grid strong,
.report-overview-grid span {
	display: block;
}

.report-overview-grid strong {
	color: #1d4ed8;
	font-size: 12px;
	text-transform: uppercase;
}

.report-overview-grid span {
	color: var(--mrg-ink);
	font-weight: 800;
	margin-top: 4px;
}

.report-article .entry-content {
	padding: 0 24px 28px;
}

.report-sticky-cta {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 12px;
	padding: 20px;
}

.report-sticky-cta p {
	margin: 0;
	color: #475467;
}

.report-sticky-cta .button {
	width: 100%;
}

.report-related-section {
	padding: 8px 0 54px;
}

.category-hub-panel {
	text-align: center;
}

.category-hub-panel strong,
.category-hub-panel span {
	display: block;
}

.category-hub-panel strong {
	color: var(--mrg-blue);
	font-size: 52px;
	line-height: 1;
}

.category-hub-panel span {
	color: #475467;
	font-weight: 900;
	margin: 8px 0 18px;
}

.category-search {
	margin-top: 22px;
	background: #fff;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	padding: 8px;
}

.category-search input[type="search"] {
	border: 0;
}

.category-subtopics-section,
.category-report-section {
	padding: 46px 0;
}

.category-report-section .navigation.pagination {
	margin-top: 28px;
}

@media (max-width: 980px) {
	.report-hero-grid,
	.category-hub-grid,
	.report-layout {
		grid-template-columns: 1fr;
	}

	.report-sticky-cta {
		position: static;
	}
}

@media (max-width: 720px) {
	.report-hero,
	.category-hub-hero {
		padding: 38px 0;
	}

	.report-overview-grid {
		grid-template-columns: 1fr;
	}

	.report-hero-actions .button {
		width: 100%;
	}

	.report-article .entry-content,
	.report-overview-box {
		margin: 18px;
		padding: 18px;
	}

	.report-article .entry-content {
		margin-top: 0;
	}
}

/* Search hub and readable content typography */
.search-hero {
	background:
		radial-gradient(circle at 82% 16%, rgba(8, 145, 178, 0.14), transparent 28%),
		linear-gradient(135deg, #f8fafc 0%, #ffffff 48%, #ecfdf5 100%);
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	padding: 52px 0;
}

.search-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	gap: 28px;
	align-items: center;
}

.search-hero h1 {
	max-width: 820px;
	margin: 0 0 12px;
	color: var(--mrg-ink);
	font-size: clamp(34px, 4.4vw, 56px);
	font-weight: 950;
	line-height: 1.04;
}

.search-hero p {
	max-width: 760px;
	margin: 0;
	color: #475467;
	font-size: 18px;
}

.search-count-card {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
	padding: 24px;
	text-align: center;
}

.search-count-card strong,
.search-count-card span {
	display: block;
}

.search-count-card strong {
	color: var(--mrg-blue);
	font-size: 48px;
	line-height: 1;
}

.search-count-card span {
	color: #475467;
	font-weight: 900;
	margin-top: 8px;
}

.search-tools-section {
	padding: 30px 0 12px;
}

.advanced-search-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 230px auto;
	gap: 10px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	padding: 10px;
}

.advanced-search-panel input,
.advanced-search-panel select {
	min-height: 46px;
	border: 1px solid var(--mrg-line);
	border-radius: 8px;
	background: #fff;
	color: var(--mrg-ink);
	font: inherit;
	font-weight: 700;
	padding: 10px 12px;
}

.popular-searches {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 16px;
}

.popular-searches strong {
	color: var(--mrg-ink);
	font-size: 14px;
}

.popular-searches a {
	border: 1px solid rgba(29, 78, 216, 0.14);
	border-radius: 999px;
	background: #eef2ff;
	color: #1e3a8a;
	font-size: 13px;
	font-weight: 900;
	padding: 7px 10px;
	text-decoration: none;
}

.search-results-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 30px;
	align-items: start;
	padding: 34px 0 56px;
}

.search-results-heading {
	margin-bottom: 22px;
}

.search-suggestion-panel {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 9px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	padding: 18px;
}

.search-suggestion-panel h2 {
	margin: 0 0 8px;
	color: var(--mrg-ink);
	font-size: 19px;
}

.search-suggestion-panel a {
	display: grid;
	gap: 2px;
	border-radius: 8px;
	background: #f8fafc;
	padding: 10px;
	text-decoration: none;
}

.search-suggestion-panel span {
	color: var(--mrg-ink);
	font-weight: 900;
}

.search-suggestion-panel small {
	color: var(--mrg-blue);
	font-weight: 800;
}

.report-article .entry-content {
	color: #243043;
	font-size: 18px;
	line-height: 1.85;
}

.report-article .entry-content > * {
	max-width: 780px;
}

.report-article .entry-content > .alignwide,
.report-article .entry-content > .alignfull,
.report-article .entry-content > table,
.report-article .entry-content > figure {
	max-width: 100%;
}

.report-article .entry-content p {
	margin: 0 0 1.25em;
}

.report-article .entry-content h2,
.report-article .entry-content h3,
.report-article .entry-content h4 {
	color: var(--mrg-ink);
	font-weight: 950;
	letter-spacing: 0;
	line-height: 1.18;
}

.report-article .entry-content h2 {
	border-top: 1px solid rgba(17, 24, 39, 0.08);
	font-size: clamp(27px, 3vw, 36px);
	margin: 2em 0 0.65em;
	padding-top: 0.9em;
}

.report-article .entry-content h3 {
	font-size: clamp(22px, 2.4vw, 28px);
	margin: 1.55em 0 0.55em;
}

.report-article .entry-content ul,
.report-article .entry-content ol {
	margin: 0 0 1.35em;
	padding-left: 1.25em;
}

.report-article .entry-content li {
	margin-bottom: 0.45em;
	padding-left: 0.2em;
}

.report-article .entry-content blockquote {
	border-left: 4px solid var(--mrg-blue);
	border-radius: 0 8px 8px 0;
	background: #eef2ff;
	color: #1e3a8a;
	font-weight: 800;
	margin: 1.6em 0;
	padding: 18px 20px;
}

.report-article .entry-content table {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
	font-size: 16px;
	margin: 1.6em 0;
	overflow: auto;
}

.report-article .entry-content th {
	background: #f8fafc;
	color: var(--mrg-ink);
	font-weight: 950;
}

.report-article .entry-content th,
.report-article .entry-content td {
	padding: 12px 14px;
}

.report-article .entry-content img {
	border-radius: 8px;
	box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
}

.report-article .entry-content a {
	font-weight: 800;
}

@media (max-width: 980px) {
	.search-hero-grid,
	.search-results-layout {
		grid-template-columns: 1fr;
	}

	.search-suggestion-panel {
		position: static;
	}
}

@media (max-width: 760px) {
	.search-hero {
		padding: 38px 0;
	}

	.advanced-search-panel {
		grid-template-columns: 1fr;
	}

	.popular-searches a {
		max-width: 100%;
	}

	.report-article .entry-content {
		font-size: 17px;
		line-height: 1.78;
	}
}

/* Enhanced homepage category showcase */
.category-showcase-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.category-showcase-card {
	position: relative;
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) auto;
	gap: 14px;
	align-items: center;
	min-height: 142px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
	padding: 20px;
	text-decoration: none;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
	overflow: hidden;
}

.category-showcase-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 5px;
	background: linear-gradient(180deg, #1d4ed8, #0891b2);
}

.category-showcase-card:hover {
	border-color: rgba(29, 78, 216, 0.24);
	box-shadow: 0 22px 48px rgba(17, 24, 39, 0.12);
	transform: translateY(-3px);
}

.category-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 8px;
	background: #eef2ff;
	color: #1d4ed8;
	font-size: 14px;
	font-weight: 950;
}

.category-card-copy {
	display: grid;
	gap: 5px;
	min-width: 0;
}

.category-card-copy strong {
	color: var(--mrg-ink);
	font-size: 18px;
	line-height: 1.25;
}

.category-card-copy em {
	color: #475467;
	font-size: 14px;
	font-style: normal;
	line-height: 1.45;
}

.category-card-copy small {
	color: var(--mrg-blue);
	font-size: 13px;
	font-weight: 900;
}

.category-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 999px;
	background: #f8fafc;
	color: var(--mrg-blue);
	font-size: 26px;
	font-weight: 700;
}

.category-showcase-card-2::before { background: linear-gradient(180deg, #0891b2, #16a34a); }
.category-showcase-card-3::before { background: linear-gradient(180deg, #d97706, #1d4ed8); }
.category-showcase-card-4::before { background: linear-gradient(180deg, #7c3aed, #0891b2); }

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

@media (max-width: 640px) {
	.category-showcase-grid {
		grid-template-columns: 1fr;
	}

	.category-showcase-card {
		grid-template-columns: 48px minmax(0, 1fr);
	}

	.category-arrow {
		display: none;
	}
}

/* Recent reports homepage refresh */
.recent-reports-section {
	background:
		radial-gradient(circle at 90% 10%, rgba(29, 78, 216, 0.1), transparent 28%),
		linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.recent-reports-heading {
	align-items: center;
	margin-bottom: 28px;
}

.recent-reports-heading p:not(.eyebrow) {
	max-width: 820px;
}

.recent-reports-help {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	border-radius: 8px;
	background: #16a34a;
	color: #fff;
	font-weight: 950;
	padding: 10px 14px;
	text-decoration: none;
	white-space: nowrap;
}

.recent-reports-help:hover {
	background: #15803d;
	color: #fff;
}

@media (max-width: 760px) {
	.recent-reports-help {
		width: 100%;
	}
}

/* Report cards and recovery pages */
.report-card {
	display: flex;
	flex-direction: column;
	border-color: rgba(17, 24, 39, 0.08);
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.report-card:hover {
	border-color: rgba(29, 78, 216, 0.22);
	box-shadow: 0 22px 48px rgba(17, 24, 39, 0.12);
	transform: translateY(-3px);
}

.report-card-thumb {
	position: relative;
}

.report-card-image-badge {
	position: absolute;
	left: 12px;
	top: 12px;
	max-width: calc(100% - 24px);
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.82);
	color: #fff;
	font-size: 12px;
	font-weight: 950;
	padding: 6px 9px;
}

.report-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
}

.report-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.report-card-meta span,
.report-card-meta time,
.report-card-category {
	border-radius: 999px;
	font-size: 12px;
	font-weight: 900;
	padding: 6px 9px;
}

.report-card-meta span {
	background: #eef2ff;
	color: #1d4ed8;
}

.report-card-meta time {
	background: #f8fafc;
	color: #475467;
}

.report-card-category {
	display: inline-flex;
	width: fit-content;
	background: #ecfeff;
	color: #0e7490;
	margin-bottom: 10px;
	text-decoration: none;
}

.report-card-excerpt {
	flex: 1;
}

.report-card-footer {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 8px;
	align-items: center;
	margin-top: 16px;
}

.report-card-cta,
.report-card-help {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 8px;
	font-weight: 950;
	padding: 9px 12px;
	text-decoration: none;
}

.report-card-cta {
	background: linear-gradient(135deg, var(--mrg-blue), var(--mrg-cyan));
	color: #fff;
}

.report-card-cta:hover {
	color: #fff;
}

.report-card-help {
	border: 1px solid rgba(22, 163, 74, 0.18);
	background: #f0fdf4;
	color: #15803d;
	font-size: 13px;
}

.error-hero {
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 48%, #eef2ff 100%);
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
	padding: 58px 0;
}

.error-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 30px;
	align-items: center;
}

.error-hero h1 {
	max-width: 840px;
	margin: 0 0 14px;
	color: var(--mrg-ink);
	font-size: clamp(34px, 4.8vw, 58px);
	font-weight: 950;
	line-height: 1.04;
}

.error-hero p {
	max-width: 760px;
	color: #475467;
	font-size: 18px;
}

.error-help-card,
.empty-results-card {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
	padding: 22px;
}

.error-help-card h2,
.error-recovery-grid h2,
.empty-results-card h2 {
	margin: 0 0 10px;
	color: var(--mrg-ink);
	font-size: 24px;
}

.error-help-card a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 44px;
	border-radius: 8px;
	background: #16a34a;
	color: #fff;
	font-weight: 950;
	text-decoration: none;
}

.error-recovery-section {
	padding: 46px 0;
}

.error-recovery-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
	gap: 24px;
}

.error-category-list,
.error-report-list,
.empty-category-chips {
	display: grid;
	gap: 10px;
}

.error-category-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.error-category-list a,
.error-report-list a,
.empty-category-chips a {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
	padding: 13px 14px;
	text-decoration: none;
}

.error-category-list span,
.error-category-list small {
	display: block;
}

.error-category-list span,
.error-report-list a {
	color: var(--mrg-ink);
	font-weight: 950;
}

.error-category-list small {
	color: var(--mrg-blue);
	font-weight: 800;
	margin-top: 3px;
}

.empty-results-card {
	padding: 28px;
}

.empty-results-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0;
}

.empty-category-chips {
	display: flex;
	flex-wrap: wrap;
}

.empty-category-chips a {
	border-radius: 999px;
	box-shadow: none;
	color: var(--mrg-blue);
	font-size: 13px;
	font-weight: 900;
	padding: 7px 10px;
}

@media (max-width: 900px) {
	.error-hero-grid,
	.error-recovery-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.error-category-list,
	.report-card-footer {
		grid-template-columns: 1fr;
	}

	.error-hero {
		padding: 40px 0;
	}
}

.value-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 4px;
}

.value-actions .button {
	min-width: 190px;
}

@media (max-width: 640px) {
	.value-actions .button {
		width: 100%;
	}
}

.report-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 18px 0 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.4;
}

.report-breadcrumbs a {
	color: #166534;
	font-weight: 700;
	text-decoration: none;
}

.report-breadcrumbs span:last-child {
	color: #475569;
	font-weight: 700;
}

.report-use-box,
.report-faq-box {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	margin: 24px;
	padding: 20px;
}

.report-use-box h2,
.report-faq-box h2 {
	margin: 0 0 14px;
	color: var(--mrg-ink, #18212f);
	font-size: 22px;
	line-height: 1.25;
}

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

.report-use-grid div {
	border-radius: 8px;
	background: #f8fafc;
	padding: 16px;
}

.report-use-grid h3 {
	margin: 0 0 8px;
	color: #14532d;
	font-size: 16px;
	line-height: 1.3;
}

.report-use-grid p,
.report-faq-box p {
	margin: 0;
	color: #475467;
}

.report-faq-box details {
	border-top: 1px solid #e5e7eb;
	padding: 14px 0;
}

.report-faq-box details:first-of-type {
	border-top: 0;
}

.report-faq-box summary {
	cursor: pointer;
	color: #18212f;
	font-weight: 800;
}

.report-faq-box details[open] summary {
	margin-bottom: 8px;
}

.mobile-report-cta {
	display: none;
}

@media (max-width: 900px) {
	.report-use-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.single-post {
		padding-bottom: 76px;
	}

	.report-breadcrumbs {
		padding-top: 14px;
		font-size: 13px;
	}

	.report-use-box,
	.report-faq-box {
		margin: 18px;
		padding: 18px;
	}

	.mobile-report-cta {
		position: fixed;
		right: 16px;
		bottom: 16px;
		left: 16px;
		z-index: 80;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 52px;
		border-radius: 8px;
		background: #166534;
		box-shadow: 0 16px 36px rgba(22, 101, 52, 0.28);
		color: #fff;
		font-weight: 800;
		text-decoration: none;
	}

	.mobile-report-cta:hover {
		background: #14532d;
		color: #fff;
	}
}

.home-faq-section {
	background: #f8fafc;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.home-faq-list {
	display: grid;
	gap: 12px;
	max-width: 920px;
}

.home-faq-list details,
.search-empty-card {
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.home-faq-list details {
	padding: 18px 20px;
}

.home-faq-list summary {
	cursor: pointer;
	color: #18212f;
	font-weight: 800;
}

.home-faq-list details[open] summary {
	margin-bottom: 8px;
}

.home-faq-list p {
	margin: 0;
	color: #475467;
}

.search-empty-card {
	padding: 28px;
}

.search-empty-card .search-panel {
	margin-top: 18px;
}

.empty-results-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.empty-search-suggestions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 22px;
}

.empty-search-suggestions h3 {
	margin: 0 0 10px;
	font-size: 16px;
	line-height: 1.3;
}

.empty-category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.empty-category-chips a {
	border: 1px solid #d1d5db;
	border-radius: 999px;
	background: #f8fafc;
	color: #14532d;
	font-size: 14px;
	font-weight: 700;
	padding: 7px 10px;
	text-decoration: none;
}

.empty-category-chips a:hover {
	background: #ecfdf5;
	border-color: #86efac;
}

@media (max-width: 700px) {
	.empty-search-suggestions {
		grid-template-columns: 1fr;
	}

	.search-empty-card {
		padding: 22px;
	}

	.empty-results-actions .button {
		width: 100%;
	}
}
