/**
 * Fastly SEO Homepage CSS (Plugin Level)
 * Optimized for layout stability (CLS), responsive speeds, and modern UX design.
 */

.mg-container {
	margin: 20px 0;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.mg-container h1,
.mg-container h2,
.mg-container h3,
.mg-container h4 {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* 1. HERO SECTION */
.mg-hero {
	padding: 35px 30px;
	border-radius: 20px;
	background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 50%),
	            linear-gradient(135deg, var(--secondary-bg), rgba(241, 245, 249, 0.6));
	border: 1px solid var(--border-color);
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	position: relative;
	overflow: hidden;
}

.mg-hero-badge {
	background: rgba(37, 99, 235, 0.1);
	color: var(--primary-color);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.5px;
	padding: 6px 14px;
	border-radius: 50px;
	border: 1px solid rgba(37, 99, 235, 0.15);
	display: inline-block;
}

.mg-hero-title {
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1.2;
	color: #0f172a;
	max-width: 800px;
	margin: 0;
	letter-spacing: -1px;
}

.mg-hero-desc {
	font-size: 1.15rem;
	color: var(--text-light);
	max-width: 650px;
	line-height: 1.6;
	margin: 0;
}

/* NATIVE ZERO-JS SEARCH */
.mg-hero-search {
	display: flex;
	width: 100%;
	max-width: 620px;
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 50px;
	padding: 6px;
	box-shadow: var(--shadow-md);
	transition: border-color 0.3s, box-shadow 0.3s;
	margin-top: 10px;
}

.mg-hero-search:focus-within {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), var(--shadow-lg);
}

.search-input-wrapper {
	display: flex;
	align-items: center;
	flex: 1;
	padding-left: 15px;
	gap: 10px;
}

.search-icon {
	width: 20px;
	height: 20px;
	fill: var(--text-light);
}

.mg-hero-search input[type="search"] {
	border: none;
	background: transparent;
	width: 100%;
	padding: 10px 0;
	font-size: 1.05rem;
	color: var(--text-color);
	outline: none;
}

.mg-hero-search input[type="search"]::placeholder {
	color: #94a3b8;
}

.search-submit-btn {
	background: var(--primary-color);
	color: #ffffff;
	border: none;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.2s, transform 0.1s;
}

.search-submit-btn:hover {
	background: var(--primary-hover);
}

.search-submit-btn:active {
	transform: scale(0.98);
}

/* 2. STATS BAR */
.mg-stats-bar {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.stat-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 24px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s;
}

.stat-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	border-color: rgba(37, 99, 235, 0.2);
}

.stat-num {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary-color);
}

.stat-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* SECTION GLOBAL HEADINGS */
.section-title {
	font-size: 1.8rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 6px 0;
	letter-spacing: -0.5px;
}

.section-subtitle {
	font-size: 1rem;
	color: var(--text-light);
	margin: 0 0 30px 0;
}

/* 3. CUISINE TOPICAL CLUSTERS */
.cuisine-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 24px;
}

.cuisine-cluster-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.cuisine-cluster-card:hover {
	border-color: var(--primary-color);
	box-shadow: var(--shadow-md);
}

.cluster-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cluster-emoji {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	height: 24px;
}

.cluster-emoji img {
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

.cluster-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 24px !important;
	display: inline-flex;
	align-items: center;
}

.cluster-desc {
	font-size: 0.9rem;
	color: var(--text-light);
	line-height: 1.5;
	margin: 0;
}

.cluster-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px dashed var(--border-color);
	padding-top: 15px;
	margin-top: auto;
}

.cluster-links li {
	position: relative;
	padding-left: 14px;
}

.cluster-links li::before {
	content: "›";
	position: absolute;
	left: 0;
	top: -1px;
	color: var(--primary-color);
	font-weight: bold;
	font-size: 1.1rem;
}

.cluster-links a {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-color);
	text-decoration: none;
	transition: color 0.2s;
}

.cluster-links a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

/* 4. RECENT UPDATES SECTION */
.recently-updated-section {
	display: flex;
	flex-direction: column;
}

.posts-grid-homepage {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.recent-menu-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.recent-menu-card:hover {
	transform: translateY(-4px);
	border-color: var(--primary-color);
	box-shadow: var(--shadow-lg);
}

.card-image-wrap {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16/9;
}

.card-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s;
}

.recent-menu-card:hover .card-image-wrap img {
	transform: scale(1.04);
}

.card-badge-fresh {
	position: absolute;
	top: 15px;
	right: 15px;
	background: #10b981;
	color: #ffffff;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 50px;
	box-shadow: var(--shadow-sm);
}

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

.card-title-h3 {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.card-title-h3 a {
	color: #0f172a;
	text-decoration: none;
	transition: color 0.2s;
}

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

.card-meta-details {
	display: flex;
	gap: 15px;
	font-size: 0.85rem;
	color: var(--text-light);
	background: var(--accent-color);
	padding: 6px 12px;
	border-radius: 8px;
	font-weight: 600;
	width: fit-content;
}

.card-excerpt-p {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.5;
	margin: 0;
	flex: 1;
}

.card-action-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid var(--border-color);
	padding-top: 15px;
	margin-top: 8px;
}

.card-date {
	font-size: 0.8rem;
	color: var(--text-light);
	font-weight: 500;
}

.card-read-link {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--primary-color);
	text-decoration: none;
}

.card-read-link:hover {
	text-decoration: underline;
}

/* 5. TOPICAL COVERAGE ARTICLE */
.topical-coverage-article {
	background: var(--secondary-bg);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	padding: 50px 40px;
}

.article-content-wrapper {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.coverage-title {
	font-size: 2rem;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.coverage-lead {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--text-color);
	margin: 0 0 10px 0;
}

.coverage-text-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	border-top: 1px solid var(--border-color);
	padding-top: 30px;
}

.coverage-text-columns h3 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 0 0 10px 0;
	color: #0f172a;
}

.coverage-text-columns p {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0;
}

/* 6. SEMANTIC FAQ SECTION (DETAILS/SUMMARY) */
.mg-faq-section {
	display: flex;
	flex-direction: column;
}

.faq-container-homepage {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq-details {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-details[open] {
	border-color: rgba(37, 99, 235, 0.4);
	box-shadow: var(--shadow-md);
}

.faq-summary {
	padding: 20px 24px;
	font-weight: 700;
	font-size: 1.05rem;
	color: #0f172a;
	cursor: pointer;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	user-select: none;
}

.faq-summary::-webkit-details-marker {
	display: none;
}

.faq-icon {
	font-size: 0.75rem;
	color: var(--text-light);
	transition: transform 0.2s;
}

.faq-details[open] .faq-icon {
	transform: rotate(180deg);
	color: var(--primary-color);
}

.faq-content {
	padding: 0 24px 20px 24px;
	border-top: 1px solid rgba(226, 232, 240, 0.5);
	background: rgba(248, 250, 252, 0.5);
}

.faq-content p {
	margin: 15px 0 0 0;
	font-size: 0.95rem;
	color: var(--text-color);
	line-height: 1.6;
}

/* 7. E-E-A-T AUTHOR & EDITORIAL BLOCK */
.mg-eeat-section {
	border-top: 1px solid var(--border-color);
	padding-top: 40px;
}

.eeat-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-left: 4px solid var(--primary-color);
	border-radius: 16px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	box-shadow: var(--shadow-sm);
}

.eeat-badge {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	padding: 4px 10px;
	border-radius: 50px;
	width: fit-content;
}

.eeat-title {
	font-size: 1.25rem;
	font-weight: 800;
	margin: 0;
	color: #0f172a;
}

.eeat-text {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0;
}

.eeat-meta-box {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	font-size: 0.85rem;
	color: var(--text-color);
	border-top: 1px solid var(--border-color);
	padding-top: 15px;
}

.eeat-item strong {
	color: #0f172a;
}

/* RESPONSIVE MEDIA QUERIES */
@media screen and (max-width: 768px) {
	.mg-hero {
		padding: 40px 20px;
	}
	
	.mg-hero-title {
		font-size: 2rem;
	}
	
	.mg-hero-search {
		flex-direction: column;
		border-radius: 16px;
		padding: 6px;
	}
	
	.search-input-wrapper {
		padding: 4px 10px;
	}
	
	.search-submit-btn {
		width: 100%;
		border-radius: 12px;
		padding: 12px;
	}
	
	.mg-stats-bar {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
	
	.coverage-text-columns {
		grid-template-columns: 1fr;
		gap: 25px;
	}
}

@media screen and (max-width: 480px) {
	.mg-stats-bar {
		grid-template-columns: 1fr;
	}
}

/* 8. COMPARISON TABLE SECTION (Information Gain) */
.mg-comparison-section {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 20px;
	padding: 40px;
	box-shadow: var(--shadow-sm);
}

.comparison-table-wrapper {
	width: 100%;
	overflow-x: auto;
	margin-top: 25px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
}

.comparison-table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
	font-size: 0.95rem;
}

.comparison-table th {
	background: #f8fafc;
	color: #0f172a;
	font-weight: 700;
	padding: 16px 20px;
	border-bottom: 2px solid var(--border-color);
}

.comparison-table td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	color: var(--text-color);
	vertical-align: middle;
}

.comparison-table tr:last-child td {
	border-bottom: none;
}

.comparison-table tr:hover td {
	background: #f8fafc;
}

.comparison-table-brand {
	font-weight: 700;
	color: var(--primary-color) !important;
	text-decoration: none;
}

.comparison-table-brand:hover {
	text-decoration: underline;
}

.comparison-badge-green {
	background: rgba(16, 185, 129, 0.1);
	color: #10b981;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 50px;
	border: 1px solid rgba(16, 185, 129, 0.15);
	display: inline-block;
}

.price-range-text {
	font-family: monospace;
	font-weight: 600;
	color: #0f172a;
}

/* 9. US STATE DIRECTORY MATRIX */
.mg-state-directory-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.state-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 15px;
}

.state-card {
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 25px;
	box-shadow: var(--shadow-sm);
	transition: border-color 0.3s, box-shadow 0.3s;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.state-card:hover {
	border-color: var(--primary-color);
	box-shadow: var(--shadow-md);
}

.state-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 12px;
}

.state-flag-badge {
	background: #0f172a;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0 8px !important;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 24px !important;
	line-height: 1 !important;
}

.state-card-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 24px !important;
	display: inline-flex;
	align-items: center;
}

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

.state-link-list li a {
	color: var(--text-color);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color 0.2s;
	display: inline-block;
}

.state-link-list li a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

.no-menus-state {
	font-size: 0.85rem;
	color: var(--text-light);
	font-style: italic;
}

@media screen and (max-width: 992px) {
	.state-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 768px) {
	.mg-comparison-section {
		padding: 25px 15px;
	}
	
	.state-grid {
		grid-template-columns: 1fr;
	}
}


/* 11. US DINING OUT PRICE INSIGHTS */
.price-insights-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.insights-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 15px;
}

.insight-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 25px;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
}

.insight-card::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
}

.insight-card.accent-red::before { background-color: #ef4444; }
.insight-card.accent-blue::before { background-color: #3b82f6; }
.insight-card.accent-orange::before { background-color: #f97316; }

.insight-stat {
	font-size: 2.2rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1;
	margin-bottom: 8px;
	font-family: system-ui, sans-serif;
}

.insight-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 8px;
}

.insight-desc {
	font-size: 0.88rem;
	color: var(--text-light);
	line-height: 1.5;
	margin: 0;
}

@media screen and (max-width: 992px) {
	.brands-grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.insights-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

@media screen and (max-width: 576px) {
	.brands-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 15px;
	}
}

/* 12. EEAT AUTHORITY CITATIONS */
.eeat-citations-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 25px;
	padding: 18px 25px;
	background: var(--secondary-bg);
	border-radius: 12px;
	border: 1px dashed var(--border-color);
	margin-top: -30px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.citation-label {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.citation-logos {
	display: flex;
	align-items: center;
	gap: 25px;
	flex-wrap: wrap;
}

.citation-logo {
	font-size: 0.95rem;
	font-weight: 800;
	user-select: none;
	opacity: 0.75;
	transition: opacity 0.2s;
}

.citation-logo:hover {
	opacity: 1;
}

.logo-yahoo {
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 900;
	color: #6001d2;
}

.logo-yahoo .finance-tag {
	color: #1e293b;
	font-weight: 600;
}

.logo-mashed {
	font-family: Georgia, serif;
	font-weight: 700;
	color: #b45309;
	font-style: italic;
}

.logo-eatthis {
	font-family: 'Helvetica Neue', Arial, sans-serif;
	font-weight: 900;
	color: #0f172a;
}

.logo-eatthis .notthat-tag {
	color: #e11d48;
}

.logo-thrillist {
	font-family: 'Impact', 'Arial Black', sans-serif;
	color: #000000;
	letter-spacing: 1px;
	font-weight: 900;
}

.logo-usatoday {
	font-family: -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 900;
	color: #0284c7;
	display: inline-flex;
	align-items: center;
}

/* 13. SEARCH INTENT FILTERS */
.search-intent-section {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-bottom: 10px;
}

.intent-pills-container {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.intent-pill {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-color);
	text-decoration: none;
	transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
	box-shadow: var(--shadow-sm);
}

.intent-pill:hover {
	border-color: var(--primary-color);
	background: var(--secondary-bg);
	box-shadow: var(--shadow-md);
	color: var(--primary-color);
}


/* 15. PRICE DISTRIBUTION MATRIX */
.price-distribution-box {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 20px;
	box-shadow: var(--shadow-sm);
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.dist-title-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.88rem;
	font-weight: 700;
	color: #0f172a;
}

.dist-bar-wrapper {
	height: 12px;
	background: #f1f5f9;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	width: 100%;
}

.dist-seg-budget { background-color: #10b981; transition: width 0.3s; }
.dist-seg-standard { background-color: #3b82f6; transition: width 0.3s; }
.dist-seg-premium { background-color: #f97316; transition: width 0.3s; }

.dist-legend {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-light);
}

.legend-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
}

.legend-dot.dot-budget { background-color: #10b981; }
.legend-dot.dot-standard { background-color: #3b82f6; }
.legend-dot.dot-premium { background-color: #f97316; }

/* 16. VALUE LEADERBOARD */
.leaderboard-section {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.leaderboard-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
	margin-top: 15px;
}

.leaderboard-card {
	background: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 25px;
	box-shadow: var(--shadow-sm);
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.leaderboard-card:hover {
	border-color: var(--primary-color);
	box-shadow: var(--shadow-md);
}

.rank-badge {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 50px;
	color: #fff;
	text-transform: uppercase;
}

.rank-badge.rank-1 { background-color: #d97706; }
.rank-badge.rank-2 { background-color: #64748b; }
.rank-badge.rank-3 { background-color: #b45309; }

.leaderboard-price {
	font-size: 2rem;
	font-weight: 800;
	color: #10b981;
	line-height: 1;
}

.leaderboard-item-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
	line-height: 1.4;
}

.leaderboard-brand-link {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text-light);
	text-decoration: none;
	transition: color 0.2s;
	margin-top: auto;
}

.leaderboard-brand-link:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

@media screen and (max-width: 992px) {
	.leaderboard-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* 17. NO-INLINE-CSS REFACTORING */
.usatoday-dot {
	display: inline-block;
	vertical-align: middle;
	margin-right: 4px;
}

.dist-seg-budget {
	width: var(--pct-budget, 33%);
}

.dist-seg-standard {
	width: var(--pct-standard, 33%);
}

.dist-seg-premium {
	width: var(--pct-premium, 34%);
}

.result-brand a {
	text-decoration: underline;
	color: var(--primary-color);
}

.state-card-ca { background: linear-gradient(135deg, rgba(239, 68, 68, 0.03), transparent) !important; }
.state-card-tx { background: linear-gradient(135deg, rgba(59, 130, 246, 0.03), transparent) !important; }
.state-card-fl { background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), transparent) !important; }
.state-card-ny { background: linear-gradient(135deg, rgba(16, 185, 129, 0.03), transparent) !important; }
.state-card-pa { background: linear-gradient(135deg, rgba(139, 92, 246, 0.03), transparent) !important; }
.state-card-il { background: linear-gradient(135deg, rgba(236, 72, 153, 0.03), transparent) !important; }

/* 18. ALPHABETICAL DIRECTORY MATRIX (A-Z İndeksi) */
.az-index-section {
	margin-top: 10px;
}

.az-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;
	margin-top: 25px;
}

.az-column {
	background: var(--secondary-bg);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 20px;
}

.az-letter-header {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--primary-color);
	margin: 0 0 12px 0 !important;
	border-bottom: 2px solid rgba(37, 99, 235, 0.1);
	padding-bottom: 6px;
}

.az-brand-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.az-brand-list li {
	font-size: 0.92rem;
	line-height: 1.4;
}

.az-brand-list a {
	color: var(--text-color);
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}

.az-brand-list a:hover {
	color: var(--primary-color);
	text-decoration: underline;
}

@media screen and (max-width: 992px) {
	.az-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media screen and (max-width: 576px) {
	.az-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}
}

/* 19. A-Z NAVIGATION BAR (Homepage compact bar) */
.az-navigation-section {
	margin-top: 10px;
}

.az-navigation-bar {
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 20px;
}

.az-nav-letter {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: var(--secondary-bg);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	font-weight: 700;
	color: var(--text-color);
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}

.az-nav-letter:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #ffffff;
	transform: translateY(-2px);
}

.az-nav-letter:active {
	transform: scale(0.95);
}

.mg-directory-container {
	margin-top: 8px;
	margin-bottom: 40px;
}

/* 20. DIRECTORY PAGE LAYOUT */
.mg-directory-container.mg-container {
	gap: 0;
}

.directory-header {
	margin-bottom: 32px;
}

.directory-title {
	font-size: 1.9rem;
	font-weight: 800;
	color: var(--text-color);
	margin: 0 0 8px 0 !important;
}

.directory-subtitle {
	font-size: 1rem;
	color: var(--text-muted, #6b7280);
	margin: 0 0 24px 0 !important;
}

/* Search Box */
.directory-search-wrapper {
	position: relative;
	max-width: 560px;
	margin-bottom: 20px;
}

.directory-search-wrapper .search-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 20px;
	height: 20px;
	fill: var(--text-muted, #9ca3af);
	pointer-events: none;
	flex-shrink: 0;
}

#directory-instant-search {
	width: 100%;
	padding: 12px 16px 12px 44px;
	font-size: 0.95rem;
	font-family: inherit;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	background: var(--secondary-bg);
	color: var(--text-color);
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
	box-sizing: border-box;
}

#directory-instant-search:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

#directory-instant-search::placeholder {
	color: var(--text-muted, #9ca3af);
}

/* Sticky Nav Bar */
.directory-sticky-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nav-letter-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: var(--secondary-bg);
	border: 1px solid var(--border-color);
	border-radius: 7px;
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--text-color);
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.1s;
}

.nav-letter-btn:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: #ffffff;
	transform: translateY(-2px);
}

.nav-letter-btn.disabled {
	opacity: 0.3;
	cursor: not-allowed;
	pointer-events: none;
}

/* Letter Count Badge */
.az-letter-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.az-letter-count {
	font-size: 0.75rem;
	font-weight: 600;
	background: rgba(37, 99, 235, 0.1);
	color: var(--primary-color);
	padding: 2px 8px;
	border-radius: 20px;
}

/* Filtered-out state (instant search) */
.az-brand-item.filtered-out {
	display: none;
}

.az-column.filtered-out {
	display: none;
}

/* No listings state */
.no-menus-state {
	font-size: 0.85rem;
	color: var(--text-muted, #9ca3af);
	font-style: italic;
}

@media screen and (max-width: 768px) {
	.directory-title {
		font-size: 1.5rem;
	}

	.directory-sticky-nav {
		gap: 4px;
	}

	.nav-letter-btn {
		width: 30px;
		height: 30px;
		font-size: 0.78rem;
	}
}

