/**
 * MetroPress Core Public Styles
 *
 * Minimal styles for plugin output.
 * Most styling should be in the theme.
 */

/* Most Read List */
.metropress-most-read {
	list-style: none;
	padding-left: 0;
	margin: 0;
	counter-reset: most-read;
}

.metropress-most-read__item {
	counter-increment: most-read;
	position: relative;
	padding-left: 2.5rem;
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--wp--preset--color--border, #dee2e6);
}

.metropress-most-read__item:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.metropress-most-read__item::before {
	content: counter(most-read);
	position: absolute;
	left: 0;
	top: 0;
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--wp--preset--color--accent, #e94560);
	line-height: 1;
}

.metropress-most-read__link {
	font-family: var(--wp--preset--font-family--heading, inherit);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--foreground, #1a1a2e);
	text-decoration: none;
	display: block;
}

.metropress-most-read__link:hover {
	color: var(--wp--preset--color--accent, #e94560);
}

.metropress-most-read__meta {
	font-family: var(--wp--preset--font-family--ui, sans-serif);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--foreground-muted, #6c757d);
	margin-top: 0.25rem;
}

/* Empty state */
.metropress-most-read-empty {
	font-style: italic;
	color: var(--wp--preset--color--foreground-muted, #6c757d);
}

/* Ad Slots */
.metropress-ad-slot {
	display: block;
	text-align: center;
	margin: 1.5rem auto;
	min-height: 50px;
}

.metropress-ad-label {
	font-family: var(--wp--preset--font-family--ui, sans-serif);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--foreground-muted, #6c757d);
	margin-bottom: 0.5rem;
}

/* Responsive ad sizes */
@media (max-width: 767px) {
	.metropress-ad-slot--header,
	.metropress-ad-slot--footer {
		max-width: 320px;
	}

	.metropress-ad-slot--content {
		max-width: 300px;
	}
}
