/* Merchant Reviews Theme - Main Styles */

:root {
	--mr-primary: #473bf0;
	--mr-primary-dark: #3b2fd4;
	--mr-text: #1a1a2e;
	--mr-text-light: #666666;
	--mr-bg: #ffffff;
	--mr-bg-light: #f8fafc;
	--mr-bg-hero: #faf7f3;
	--mr-border: #e2e8f0;
	--mr-purple: #473bf0;
	--mr-container: 1440px;
	--mr-hero-height: 560px;
	--mr-radius: 8px;
	--mr-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	--mr-transition: 0.3s ease;

	/* Typography scale */
	--mr-fs-body: 16px;
	--mr-fs-nav: 16px;
	--mr-fs-hero-cat: 16px;
	--mr-fs-hero-title: 38px;
	--mr-fs-section-h1: 34px;
	--mr-fs-section-h2: 32px;
	--mr-fs-card-title: 20px;
	--mr-fs-excerpt: 16px;
	--mr-fs-meta: 15px;
	--mr-fs-cat-label: 12px;
	--mr-fs-btn: 16px;
	--mr-fs-page-title: 42px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: var(--mr-fs-body);
	line-height: 1.6;
	color: var(--mr-text);
	background: var(--mr-bg);
}

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

a {
	color: var(--mr-primary);
	text-decoration: none;
	transition: color var(--mr-transition);
}

a:hover {
	color: var(--mr-primary-dark);
}

.mr-container {
	max-width: var(--mr-container);
	margin: 0 auto;
	padding: 0 15px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 9999;
	background: var(--mr-primary);
	color: #fff;
	padding: 10px 20px;
	width: auto;
	height: auto;
	clip: auto;
}

/* ===== HEADER ===== */
.mr-topbar {
	background: var(--mr-primary);
	color: #fff;
	font-size: 13px;
	padding: 8px 0;
}

.mr-topbar-inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.mr-topbar-email {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 6px;
}

.mr-topbar-email:hover {
	color: rgba(255, 255, 255, 0.85);
}

.mr-navbar {
	background: #fff;
	border-bottom: 1px solid var(--mr-border);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.mr-navbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 10px;
	gap: 20px;
}

.mr-brand {
	flex: 0 0 auto;
	max-width: 240px;
	min-width: 0;
}

.mr-header-logo {
	display: block;
	line-height: 0;
}

.mr-header-logo .custom-logo-link {
	display: block;
	line-height: 0;
}

.mr-header-logo .custom-logo,
.mr-header-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 240px;
	max-height: 56px;
	object-fit: contain;
}

.mr-logo {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--mr-text);
	font-weight: 800;
	font-size: 18px;
	line-height: 1.1;
}

.mr-logo:hover {
	color: var(--mr-text);
}

.mr-logo-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: var(--mr-purple);
	color: #fff;
	border-radius: 6px;
	font-size: 16px;
}

.mr-logo-text {
	display: flex;
	flex-direction: column;
}

.mr-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
	flex-wrap: wrap;
}

.mr-nav-list li a {
	display: block;
	padding: 8px 10px;
	color: var(--mr-text);
	font-size: var(--mr-fs-nav);
	font-weight: 500;
	border-radius: 4px;
	transition: color var(--mr-transition), background var(--mr-transition);
}

.mr-nav-list li a:hover,
.mr-nav-list .current-menu-item>a,
.mr-nav-list .current-cat>a {
	color: var(--mr-primary);
}

.mr-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mr-search-toggle,
.mr-menu-toggle {
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	color: var(--mr-text);
	display: flex;
	align-items: center;
	justify-content: center;
}

.mr-menu-toggle {
	flex-direction: column;
	gap: 5px;
	display: none;
}

.mr-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--mr-text);
	transition: var(--mr-transition);
}

.mr-menu-toggle.is-active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.mr-menu-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.mr-menu-toggle.is-active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

.mr-search-panel {
	background: var(--mr-bg-light);
	border-bottom: 1px solid var(--mr-border);
	padding: 16px 0;
}

.mr-search-panel[hidden] {
	display: none;
}

.mr-search-form {
	display: flex;
	gap: 8px;
}

.mr-search-form input[type="search"] {
	flex: 1;
	padding: 10px 16px;
	border: 1px solid var(--mr-border);
	border-radius: var(--mr-radius);
	font-family: inherit;
	font-size: 14px;
}

.mr-search-form button {
	padding: 10px 20px;
	background: var(--mr-primary);
	color: #fff;
	border: none;
	border-radius: var(--mr-radius);
	cursor: pointer;
	font-family: inherit;
	font-weight: 600;
}

/* ===== HERO SLIDER — Smooth crossfade ===== */
.mr-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--mr-bg-hero);
}

.mr-hero-viewport {
	position: relative;
	width: 100%;
}

.mr-hero-track {
	position: relative;
	width: 100%;
	height: var(--mr-hero-height, 560px);
}

.mr-hero-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0.85s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.mr-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	pointer-events: auto;
}

.mr-hero-slide-bg {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: 100%;
	z-index: 0;
	transition: background-color 0.85s ease;
}

.mr-hero-container {
	position: relative;
	z-index: 1;
	height: 100%;
}

.mr-hero-slide-inner {
	display: grid;
	grid-template-columns: 44% 56%;
	height: var(--mr-hero-height, 560px);
	overflow: hidden;
}

.mr-hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	padding: 48px 36px 48px 0px;
}

.mr-hero-content>* {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.mr-hero-slide.is-active .mr-hero-category {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.2s;
}

.mr-hero-slide.is-active .mr-hero-title {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.35s;
}

.mr-hero-slide.is-active .mr-hero-description {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.45s;
}

.mr-hero-slide.is-active .mr-hero-description {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.45s;
}

.mr-hero-slide.is-active .mr-hero-btn {
	opacity: 1;
	transform: translateY(0);
	transition-delay: 0.5s;
}

.mr-hero-category {
	display: inline-block;
	font-size: var(--mr-fs-hero-cat);
	font-weight: 700;
	color: var(--mr-primary);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 18px;
}

.mr-hero-title {
	font-size: var(--mr-fs-hero-title);
	font-weight: 800;
	color: var(--mr-text);
	line-height: 1.28;
	margin: 0 0 26px;
	-webkit-text-stroke: 0px #ffffff;
	color: #000000;
	text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff, 1px 1px 0 #ffffff;
}

.mr-hero-description {
	margin: 0 0 22px;
	max-width: 520px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.65;
	color: rgba(0, 0, 0, 0.82);
}

.mr-hero-description {
	margin: 0 0 20px;
	max-width: 520px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
	color: #000;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

.mr-hero-image {
	position: relative;
	overflow: hidden;
	height: 100%;
}

.mr-hero-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--mr-bg-hero) 0%, transparent 18%);
	z-index: 1;
	pointer-events: none;
	opacity: 0.6;
}

.mr-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mr-hero-slide.is-active .mr-hero-image img {
	transform: scale(1);
}

/* Dots + progress */
.mr-hero-controls {
	position: relative;
	z-index: 5;
	padding: 20px 0 12px;
}

.mr-hero-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.mr-hero-dot {
	position: relative;
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50px;
	border: 1px solid;
	background: #d1d5db;
	cursor: pointer;
	overflow: hidden;
	transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.mr-hero-dot:hover {
	background: #9ca3af;
}

.mr-hero-dot.is-active {
	width: 40px;
	background: #e5e7eb;
}

.mr-hero-dot-progress {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 0;
	background: var(--mr-text);
	border-radius: 50px;
}

.mr-hero-dot.is-active .mr-hero-dot-progress {
	animation: mr-hero-dot-fill var(--mr-autoplay, 6s) linear forwards;
}

.mr-hero.is-paused .mr-hero-dot.is-active .mr-hero-dot-progress {
	animation-play-state: paused;
}

@keyframes mr-hero-dot-fill {
	from {
		width: 0;
	}

	to {
		width: 100%;
	}
}

.mr-hero.is-transitioning .mr-hero-slide.is-active .mr-hero-content>* {
	transition-delay: 0s;
}

/* ===== BUTTONS ===== */
.mr-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 30px;
	font-weight: 600;
	font-size: var(--mr-fs-btn);
	cursor: pointer;
	border: none;
	transition: var(--mr-transition);
	line-height: 1;
}

.mr-btn-primary {
	background: var(--mr-primary);
	color: #fff;
}

.mr-btn-primary:hover {
	background: var(--mr-primary-dark);
	color: #fff;
}

/* ===== SECTIONS ===== */
.mr-section {
	padding: 45px 0;
}

.mr-section-title {
	font-size: var(--mr-fs-section-h1);
	font-weight: 800;
	color: var(--mr-text);
	text-align: center;
	margin: 0 0 32px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mr-section-header .mr-section-title {
	font-size: var(--mr-fs-section-h2);
}

.mr-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 36px;
	flex-wrap: wrap;
	gap: 12px;
}

.mr-section-header .mr-section-title {
	margin: 0;
	text-align: left;
}

.mr-view-all {
	font-size: 13px;
	font-weight: 700;
	color: var(--mr-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ===== POST GRID ===== */
.mr-post-grid {
	display: grid;
	gap: 24px;
}

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

.mr-post-grid-4 {
	grid-template-columns: repeat(4, 1fr);
}

.mr-post-card {
	background: #fff;
	border-radius: var(--mr-radius);
	overflow: hidden;
	box-shadow: var(--mr-shadow);
	transition: transform var(--mr-transition), box-shadow var(--mr-transition);
}

.mr-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.mr-post-card-link {
	color: inherit;
	display: block;
}

.mr-post-card-link:hover {
	color: inherit;
}

/* Whole-card click without nested anchors */
.mr-post-card,
.mr-post-horizontal,
.mr-wn-item,
.mr-wn-lead {
	position: relative;
}

.mr-post-card-stretched-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	font-size: 0;
	line-height: 0;
	color: transparent;
	text-decoration: none;
}

.mr-post-card .mr-cat-label,
.mr-post-horizontal .mr-cat-label,
.mr-wn-item .mr-cat-label,
.mr-wn-lead .mr-cat-label {
	position: relative;
	z-index: 3;
}

.mr-post-card-image,
.mr-post-card-body,
.mr-post-horizontal-image,
.mr-post-horizontal-body,
.mr-wn-item-thumb,
.mr-wn-item-body,
.mr-wn-item-arrow,
.mr-wn-lead-media,
.mr-wn-lead-body {
	position: relative;
	z-index: 0;
}

.mr-post-card-image {
	overflow: hidden;
	aspect-ratio: 3/2;
}

.mr-post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.mr-post-card:hover .mr-post-card-image img {
	transform: scale(1.05);
}

.mr-post-card-body {
	padding: 20px;
}

.mr-cat-label {
	font-size: var(--mr-fs-cat-label);
	font-weight: 700;
	color: var(--mr-primary);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.mr-cat-label::before {
	content: '●';
	margin-right: 6px;
	font-size: 8px;
}

.mr-post-card-title {
	font-size: var(--mr-fs-card-title);
	font-weight: 700;
	color: var(--mr-text);
	margin: 8px 0 10px;
	line-height: 1.45;
}

.mr-post-card-excerpt {
	font-size: var(--mr-fs-excerpt);
	color: var(--mr-text-light);
	margin: 0 0 12px;
	line-height: 1.55;
}

.mr-post-meta {
	display: flex;
	gap: 16px;
	font-size: var(--mr-fs-meta);
	color: var(--mr-text-light);
}

.mr-meta-item {
	display: flex;
	align-items: center;
	gap: 4px;
}

/* ===== HORIZONTAL POST CARD ===== */
.mr-whats-new-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.mr-post-horizontal {
	background: #fff;
	border-radius: var(--mr-radius);
	overflow: hidden;
	box-shadow: var(--mr-shadow);
}

.mr-post-horizontal-link {
	display: grid;
	grid-template-columns: 200px 1fr;
	color: inherit;
}

.mr-post-horizontal-link:hover {
	color: inherit;
}

.mr-post-horizontal-image {
	overflow: hidden;
}

.mr-post-horizontal-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 160px;
}

.mr-post-horizontal-body {
	padding: 20px;
}

.mr-post-horizontal-title {
	font-size: var(--mr-fs-card-title);
	font-weight: 700;
	margin: 8px 0;
	line-height: 1.45;
}

.mr-post-horizontal-excerpt {
	font-size: var(--mr-fs-excerpt);
	color: var(--mr-text-light);
	margin: 0 0 10px;
}

/* ===== CATEGORY TABS ===== */
.mr-category-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: 32px;
}

.mr-cat-tab {
	padding: 8px 20px;
	border: 1px solid var(--mr-border);
	background: #fff;
	border-radius: 50px;
	font-family: inherit;
	font-size: var(--mr-fs-nav);
	font-weight: 600;
	cursor: pointer;
	color: var(--mr-text);
	transition: var(--mr-transition);
}

.mr-cat-tab:hover,
.mr-cat-tab.is-active {
	background: var(--mr-primary);
	color: #fff;
	border-color: var(--mr-primary);
}

.mr-category-loading,
.mr-post-category-loading {
	text-align: center;
	padding: 20px;
}

.mr-post-category-footer {
	text-align: center;
	margin-top: 32px;
}

.mr-post-category-load-more.is-loading,
.mr-archive-load-more-btn.is-loading {
	opacity: 0.65;
	cursor: wait;
}

.mr-post-category-load-more[hidden],
.mr-archive-load-more-btn[hidden] {
	display: none;
}

/* ===== POST CATEGORY PAGE (shortcode) ===== */
.mr-post-category-page .mr-post-category-page-content {
	max-width: none;
	margin: 0;
	padding: 0;
}

.mr-post-category-page .mr-post-category-shortcode {
	width: 100%;
}

.mr-post-category-page .mr-post-category-grid {
	width: 100%;
}

.mr-archive-load-more {
	width: 100%;
}

.mr-spinner {
	display: inline-block;
	width: 32px;
	height: 32px;
	border: 3px solid var(--mr-border);
	border-top-color: var(--mr-primary);
	border-radius: 50%;
	animation: mr-spin 0.8s linear infinite;
}

@keyframes mr-spin {
	to {
		transform: rotate(360deg);
	}
}

.mr-no-posts {
	text-align: center;
	color: var(--mr-text-light);
	padding: 40px 0;
	grid-column: 1 / -1;
}

/* ===== PAGE HERO ===== */
.mr-page-hero {
	background: linear-gradient(135deg, #f0f4ff 0%, #faf8f5 100%);
	padding: 50px 0 40px;
	position: relative;
}

.mr-page-hero-title {
	font-size: var(--mr-fs-page-title);
	font-weight: 800;
	color: var(--mr-text);
	margin: 0 0 12px;
}

.mr-breadcrumbs {
	font-size: 14px;
	color: var(--mr-text-light);
}

.mr-breadcrumb-sep {
	margin: 0 8px;
}

.mr-breadcrumb-current {
	color: var(--mr-text);
}

/* ===== SINGLE POST ===== */
.mr-single-layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
}

.mr-single-title {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 800;
	margin: 0 0 12px;
	line-height: 1.3;
}

.mr-single-meta {
	font-size: 14px;
	color: var(--mr-text-light);
	margin: 12px 0 24px;
}

.mr-meta-sep {
	margin: 0 8px;
}

.mr-single-featured {
	margin-bottom: 24px;
	border-radius: var(--mr-radius);
	overflow: hidden;
}

.mr-disclosure {
	background: #fff8e1;
	border-left: 4px solid #ffc107;
	padding: 16px 20px;
	margin-bottom: 24px;
	font-size: 14px;
	border-radius: 0 var(--mr-radius) var(--mr-radius) 0;
}

.mr-single-content {
	font-size: var(--mr-fs-body);
	line-height: 1.8;
}

.mr-single-content h2,
.mr-single-content h3 {
	margin-top: 32px;
	margin-bottom: 16px;
	font-weight: 700;
}

.mr-single-content p {
	margin-bottom: 16px;
}

.mr-single-content ul,
.mr-single-content ol {
	margin-bottom: 16px;
	padding-left: 24px;
}

.mr-single-tags {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--mr-border);
}

.mr-single-tags a {
	display: inline-block;
	background: var(--mr-bg-light);
	padding: 4px 12px;
	border-radius: 50px;
	margin: 4px;
	font-size: 13px;
}

/* ===== SIDEBAR ===== */
.mr-sidebar .widget {
	background: #fff;
	border-radius: var(--mr-radius);
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: var(--mr-shadow);
}

.mr-sidebar .widget-title {
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--mr-primary);
}

.mr-sidebar-cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mr-sidebar-cats li {
	border-bottom: 1px solid var(--mr-border);
}

.mr-sidebar-cats li a {
	display: block;
	padding: 10px 0;
	color: var(--mr-text);
	font-size: 14px;
}

.mr-sidebar-cats li a:hover {
	color: var(--mr-primary);
}

.mr-sidebar-recent {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mr-sidebar-recent li {
	margin-bottom: 16px;
}

.mr-sidebar-recent a {
	display: flex;
	gap: 12px;
	color: var(--mr-text);
	font-size: 13px;
}

.mr-sidebar-recent-thumb {
	flex-shrink: 0;
	width: 70px;
	height: 50px;
	border-radius: 4px;
	overflow: hidden;
}

.mr-sidebar-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mr-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.mr-tag {
	display: inline-block;
	background: var(--mr-bg-light);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	color: var(--mr-text);
}

.mr-tag small {
	color: var(--mr-text-light);
}

/* ===== COMMENTS ===== */
.mr-comments {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--mr-border);
}

.mr-comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.mr-comments .comment-form input,
.mr-comments .comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--mr-border);
	border-radius: var(--mr-radius);
	font-family: inherit;
	margin-bottom: 12px;
}

.mr-comments .form-submit input {
	width: auto;
	background: var(--mr-primary);
	color: #fff;
	border: none;
	padding: 12px 28px;
	cursor: pointer;
	font-weight: 600;
	border-radius: 50px;
}

/* ===== PAGE CONTENT ===== */
.mr-page-content {
	max-width: 900px;
	margin: 0 auto;
}

.mr-page-content .entry-content {
	font-size: 16px;
	line-height: 1.8;
}

/* ===== PAGINATION ===== */
.mr-pagination {
	margin-top: 40px;
	text-align: center;
}

.mr-pagination .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.mr-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--mr-border);
	border-radius: var(--mr-radius);
	color: var(--mr-text);
	font-size: 14px;
}

.mr-pagination .page-numbers.current,
.mr-pagination .page-numbers:hover {
	background: var(--mr-primary);
	color: #fff;
	border-color: var(--mr-primary);
}

/* ===== NEWSLETTER ===== */
.mr-newsletter {
	background: #d7d6db;
	padding: 56px 0 64px;
	text-align: center;
	border-top: 1px solid;
}

.mr-newsletter-card {
	max-width: 1024px;
	margin: 0 auto;
	padding: 100px 40px 100px;
	border-radius: 8px;
	background-color: #f5e8de;
	background-image:
		radial-gradient(circle at 8% 12%, rgba(192, 155, 108, 0.55) 0, rgba(192, 155, 108, 0.55) 3px, transparent 4px),
		radial-gradient(circle at 10% 18%, rgba(192, 155, 108, 0.45) 0, rgba(192, 155, 108, 0.45) 2px, transparent 3px),
		radial-gradient(circle at 88% 14%, rgba(244, 181, 78, 0.95) 0, rgba(244, 181, 78, 0.95) 52px, transparent 54px),
		radial-gradient(circle at 79% -8%, rgba(117, 149, 132, 0.95) 0, rgba(117, 149, 132, 0.95) 46px, transparent 48px),
		radial-gradient(circle at 64% -6%, rgba(90, 132, 129, 0.85) 0, rgba(90, 132, 129, 0.85) 36px, transparent 38px),
		radial-gradient(circle at 98% 58%, rgba(95, 76, 76, 0.62) 0, rgba(95, 76, 76, 0.62) 44px, transparent 46px),
		radial-gradient(circle at 6% 88%, rgba(143, 171, 180, 0.92) 0, rgba(143, 171, 180, 0.92) 52px, transparent 54px);
	background-repeat: no-repeat;
}

.mr-newsletter-title {
	font-size: var(--mr-fs-section-h2);
	font-weight: 800;
	margin: 0 0 20px;
	line-height: 1.25;
}

.mr-newsletter-form {
	display: flex;
	max-width: 600px;
	margin: 0 auto;
	gap: 12px;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	justify-content: center;
	align-items: center;
}

.mr-newsletter-form input {
	flex: 1;
	padding: 15px;
	border: 1px solid #dfdfdf;
	border-radius: 999px;
	background: #fff;
	font-family: inherit;
	font-size: var(--mr-fs-body);
	outline: none;
}

.mr-newsletter-form button {
	padding: 15px;
	background: var(--mr-primary);
	color: #fff;
	border: none;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
}

/* ===== FOOTER ===== */
.mr-footer-main {
	background: #1e293b;
	color: #cbd5e1;
	padding: 50px 0 30px;
}

.mr-footer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
}

.mr-footer-col h5,
.mr-footer-col h6 {
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	text-transform: uppercase;
	margin: 0 0 16px;
	letter-spacing: 0.5px;
}

.mr-footer-brand {
	margin: 0 0 18px;
}

.mr-footer-logo {
	display: block;
	line-height: 0;
}

.mr-footer-logo-img {
	display: block;
	width: auto;
	height: auto;
	max-width: 200px;
	max-height: 60px;
	object-fit: contain;
}

.mr-footer-brand .mr-logo {
	color: #fff;
}

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

.mr-footer-brand .mr-logo-icon {
	background: var(--mr-primary);
}

.mr-footer-brand .mr-logo-line {
	color: #fff;
}

.mr-footer-links,
.mr-social-list,
.mr-footer-recent,
.mr-footer-col .widget_pages ul,
.mr-footer-col .widget_categories ul,
.mr-footer-col .widget_meta ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mr-footer-links li,
.mr-social-list li,
.mr-footer-col .widget_pages li,
.mr-footer-col .widget_categories li,
.mr-footer-col .widget_meta li {
	margin-bottom: 8px;
}

.mr-footer-links a,
.mr-social-list a,
.mr-footer-col .widget_pages a,
.mr-footer-col .widget_categories a,
.mr-footer-col .widget_meta a {
	color: #fff;
	font-size: 16px;
}

.mr-footer-links a:hover,
.mr-social-list a:hover,
.mr-footer-col .widget_pages a:hover,
.mr-footer-col .widget_categories a:hover,
.mr-footer-col .widget_meta a:hover {
	color: #94a3b8;
}

.footer-recent-post a {
	color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Show only 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-recent-post .wp-block-latest-posts__featured-image.alignleft {
	margin-bottom: 1em;
}

.mr-footer-col .widget {
	margin: 0;
}

.mr-footer-col .widget + .widget {
	margin-top: 18px;
}

.mr-social-list {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.mr-social-list li {
	margin-bottom: 0;
}

.mr-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(148, 163, 184, 0.15);
	color: #cbd5e1;
	border: 1px solid rgba(148, 163, 184, 0.35);
	transition: all 0.2s ease;
}

.mr-social-icon:hover {
	background: var(--mr-primary);
	border-color: var(--mr-primary);
	color: #fff;
	transform: translateY(-1px);
}

.mr-footer-recent-item {
	display: flex;
	gap: 10px;
	color: #fff;
	font-size: 14px;
	align-items: center;
}

.mr-footer-recent-item:hover {
	color: #94a3b8;
}

.mr-footer-recent li {
	margin-bottom: 12px;
}

.mr-footer-recent li:last-child {
	margin-bottom: 0;
}

.mr-footer-recent-thumb {
	flex-shrink: 0;
	width: 60px;
	height: 45px;
	border-radius: 4px;
	overflow: hidden;
}

.mr-footer-recent-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mr-footer-recent-title {
	display: block;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 190px;
}

.mr-footer-bottom {
	background: #0f172a;
	padding: 16px 0;
	text-align: center;
}

.mr-footer-bottom p {
	margin: 0;
	color: #fff;
	font-size: 13px;
}

/* ===== 404 ===== */
.mr-404-content {
	text-align: center;
	padding: 60px 0;
}

.mr-404-content h2 {
	font-size: 28px;
	margin-bottom: 12px;
}

.mr-404-content p {
	color: var(--mr-text-light);
	margin-bottom: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.mr-post-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.mr-single-layout {
		grid-template-columns: 1fr;
	}

	.mr-hero-track {
		height: 480px;
	}

	.mr-hero-slide-inner {
		height: 480px;
		grid-template-columns: 1fr 1fr;
	}

	.mr-hero-content {
		padding: 36px 0 0 0;
	}
}

@media (max-width: 768px) {
	.mr-menu-toggle {
		display: flex;
	}

	.mr-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background: #fff;
		box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
		padding: 80px 24px 24px;
		transition: right var(--mr-transition);
		z-index: 999;
		overflow-y: auto;
	}

	.mr-nav.is-open {
		right: 0;
	}

	.mr-nav-list {
		flex-direction: column;
		gap: 0;
	}

	.mr-nav-list li a {
		padding: 14px 0;
		border-bottom: 1px solid var(--mr-border);
		font-size: var(--mr-fs-nav);
	}

	body.mr-menu-open {
		overflow: hidden;
	}

	body.mr-menu-open::before {
		content: '';
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.4);
		z-index: 998;
	}

	.mr-post-grid-3,
	.mr-post-grid-4 {
		grid-template-columns: 1fr;
	}

	.mr-whats-new-grid {
		grid-template-columns: 1fr;
	}

	.mr-post-horizontal-link {
		grid-template-columns: 1fr;
	}

	.mr-post-horizontal-image img {
		min-height: 200px;
	}

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

	.mr-section-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.mr-section-header .mr-section-title {
		text-align: left;
	}

	.mr-category-tabs {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 8px;
	}

	.mr-cat-tab {
		white-space: nowrap;
		flex-shrink: 0;
	}

	.mr-newsletter-card {
		padding: 36px 20px 42px;
	}

	.mr-newsletter-form {
		flex-direction: column;
		max-width: 320px;
		gap: 10px;
	}

	.mr-newsletter-form input,
	.mr-newsletter-form button {
		width: 100%;
	}

	.mr-hero-track {
		height: auto;
		min-height: 0;
	}

	.mr-hero-slide {
		position: relative;
		inset: auto;
		height: auto;
		opacity: 1;
		visibility: visible;
		display: none;
		pointer-events: none;
	}

	.mr-hero-slide.is-active {
		display: block;
		position: relative;
		pointer-events: auto;
	}

	.mr-hero-slide-inner {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
	}

	.mr-hero-content {
		padding: 28px 0 0 0;
		order: 2;
	}

	.mr-hero-image {
		order: 1;
		height: 300px;
	}

	.mr-hero-image::after {
		display: none;
	}

	.mr-hero-image img {
		transform: none;
	}

	.mr-hero-slide.is-active .mr-hero-image img {
		transform: none;
	}

	.mr-hero-title {
		max-width: 100%;
	}

	.mr-page-hero {
		padding: 30px 0 24px;
	}
}

@media (max-width: 480px) {
	.mr-topbar-email {
		font-size: 11px;
	}

	.mr-navbar-inner {
		padding: 10px 16px;
	}

	.mr-header-logo .custom-logo,
	.mr-header-logo-img {
		max-width: 180px;
		max-height: 48px;
	}

	.mr-brand {
		max-width: 180px;
	}

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