/* =========================================================
 * PRESS 365 — Most Read
 * Version: 1.1.0
 * =========================================================
 *
 * Typography aligned with PRESS 365 Core Design System.
 * Ranking layout and visual structure preserved.
 * ======================================================= */


/* =========================================================
 * 1. Section
 * ======================================================= */

.p365-most-read {
	position: relative;

	padding-top:
		24px;
}


/* =========================================================
 * 2. Shell
 * ======================================================= */

.p365-most-read__shell {
	overflow:
		hidden;

	border:
		1px solid var(--p365-border);

	border-radius:
		var(--p365-radius-lg);

	background:
		var(--p365-white);

	box-shadow:
		var(--p365-shadow-sm);
}


/* =========================================================
 * 3. Header
 * ======================================================= */

.p365-most-read__header {
	position: relative;

	display: flex;

	align-items:
		center;

	justify-content:
		space-between;

	min-height:
		94px;

	padding:
		22px 30px;

	border-bottom:
		1px solid var(--p365-border);
}


.p365-most-read__header::before {
	content:
		"";

	position:
		absolute;

	top:
		25px;

	right:
		0;

	width:
		4px;

	height:
		44px;

	border-radius:
		4px 0 0 4px;

	background:
		var(--p365-orange);
}


/* =========================================================
 * 4. Header Typography
 * ======================================================= */

.p365-most-read__eyebrow {
	display:
		block;

	margin-bottom:
		4px;

	color:
		var(--p365-teal);

	font-size:
		12px;

	font-weight:
		var(--p365-weight-extrabold);

	line-height:
		1.4;
}


.p365-most-read__title {
	margin:
		0;

	color:
		var(--p365-dark);

	font-size:
		34px;

	font-weight:
		var(--p365-weight-black);

	line-height:
		1.25;
}


/* =========================================================
 * 5. Pulse
 * ======================================================= */

.p365-most-read__pulse {
	position: relative;

	display: block;

	width:
		9px;

	height:
		9px;

	flex:
		0 0 9px;

	margin-left:
		5px;

	border-radius:
		50%;

	background:
		var(--p365-orange);
}


.p365-most-read__pulse::before {
	content:
		"";

	position:
		absolute;

	inset:
		-5px;

	border:
		1px solid rgba(243,154,34,.35);

	border-radius:
		50%;
}


/* =========================================================
 * 6. Grid
 * ======================================================= */

.p365-most-read__grid {
	display:
		grid;

	grid-template-columns:
		repeat(
			2,
			minmax(0, 1fr)
		);
}


/* =========================================================
 * 7. Item
 * ======================================================= */

.p365-most-read__item {
	position: relative;

	min-width:
		0;

	border-bottom:
		1px solid var(--p365-border);
}


.p365-most-read__item:nth-child(odd) {
	border-left:
		1px solid var(--p365-border);
}


.p365-most-read__item:nth-last-child(-n + 2) {
	border-bottom:
		0;
}


/* =========================================================
 * 8. Link
 * ======================================================= */

.p365-most-read__link {
	display: grid;

	grid-template-columns:
		86px minmax(0, 1fr);

	align-items:
		center;

	gap:
		22px;

	min-height:
		142px;

	padding:
		22px 28px;

	color:
		inherit;

	transition:
		background-color var(--p365-transition);
}


.p365-most-read__link:hover {
	background:
		var(--p365-cream);
}


/* =========================================================
 * 9. Ranking Number
 * ======================================================= */

.p365-most-read__number {
	display:
		block;

	color:
		rgba(3,47,51,.10);

	font-size:
		58px;

	font-weight:
		var(--p365-weight-extrabold);

	line-height:
		1;

	letter-spacing:
		-0.04em;

	transition:
		color var(--p365-transition),
		transform var(--p365-transition);
}


.p365-most-read__link:hover
.p365-most-read__number {
	color:
		var(--p365-orange);

	transform:
		translateX(-3px);
}


/* =========================================================
 * 10. Content
 * ======================================================= */

.p365-most-read__content {
	min-width:
		0;
}


/* =========================================================
 * 11. Meta
 * ======================================================= */

.p365-most-read__meta {
	display: flex;

	align-items:
		center;

	flex-wrap:
		wrap;

	gap:
		7px;

	margin-bottom:
		8px;

	color:
		var(--p365-muted);

	font-size:
		11px;

	font-weight:
		var(--p365-weight-medium);

	line-height:
		1.5;
}


.p365-most-read__category {
	color:
		var(--p365-orange);

	font-weight:
		var(--p365-weight-extrabold);
}


.p365-most-read__dot {
	width:
		4px;

	height:
		4px;

	flex:
		0 0 4px;

	border-radius:
		50%;

	background:
		var(--p365-orange);
}


/* =========================================================
 * 12. Story Title
 * ======================================================= */

.p365-most-read__item-title {
	display:
		-webkit-box;

	overflow:
		hidden;

	margin:
		0;

	color:
		var(--p365-text-dark);

	font-size:
		18px;

	font-weight:
		var(--p365-weight-extrabold);

	line-height:
		1.6;

	-webkit-box-orient:
		vertical;

	-webkit-line-clamp:
		2;

	transition:
		color var(--p365-transition);
}


.p365-most-read__link:hover
.p365-most-read__item-title {
	color:
		var(--p365-teal);
}


/* =========================================================
 * 13. Views
 * ======================================================= */

.p365-most-read__views {
	display:
		block;

	margin-top:
		8px;

	color:
		var(--p365-muted);

	font-size:
		11px;

	font-weight:
		var(--p365-weight-medium);

	line-height:
		1.4;
}


/* =========================================================
 * 14. Tablet
 * ======================================================= */

@media (max-width: 1000px) {

	.p365-most-read__title {
		font-size:
			30px;
	}


	.p365-most-read__link {
		grid-template-columns:
			66px minmax(0, 1fr);

		gap:
			18px;

		padding:
			20px 22px;
	}


	.p365-most-read__number {
		font-size:
			48px;
	}


	.p365-most-read__item-title {
		font-size:
			16px;

		font-weight:
			var(--p365-weight-extrabold);

		line-height:
			1.6;
	}


	.p365-most-read__meta {
		font-size:
			10px;
	}


	.p365-most-read__views {
		font-size:
			10px;
	}
}


/* =========================================================
 * 15. Mobile
 * ======================================================= */

@media (max-width: 760px) {

	.p365-most-read {
		padding-top:
			18px;
	}


	.p365-most-read__header {
		min-height:
			80px;

		padding:
			18px 20px;
	}


	.p365-most-read__header::before {
		top:
			20px;

		height:
			38px;
	}


	.p365-most-read__eyebrow {
		font-size:
			11px;
	}


	.p365-most-read__title {
		font-size:
			28px;

		font-weight:
			var(--p365-weight-black);

		line-height:
			1.28;
	}


	.p365-most-read__grid {
		grid-template-columns:
			1fr;
	}


	.p365-most-read__item:nth-child(odd) {
		border-left:
			0;
	}


	.p365-most-read__item:nth-last-child(-n + 2) {
		border-bottom:
			1px solid var(--p365-border);
	}


	.p365-most-read__item:last-child {
		border-bottom:
			0;
	}


	.p365-most-read__link {
		grid-template-columns:
			58px minmax(0, 1fr);

		min-height:
			116px;

		gap:
			14px;

		padding:
			18px;
	}


	.p365-most-read__number {
		font-size:
			42px;
	}


	.p365-most-read__meta {
		margin-bottom:
			7px;

		font-size:
			10px;
	}


	.p365-most-read__item-title {
		font-size:
			15px;

		font-weight:
			var(--p365-weight-extrabold);

		line-height:
			1.55;
	}


	.p365-most-read__views {
		margin-top:
			7px;

		font-size:
			10px;
	}
}


/* =========================================================
 * 16. Small Mobile
 * ======================================================= */

@media (max-width: 480px) {

	.p365-most-read__header {
		padding:
			16px 17px;
	}


	.p365-most-read__title {
		font-size:
			26px;

		font-weight:
			var(--p365-weight-black);
	}


	.p365-most-read__link {
		grid-template-columns:
			48px minmax(0, 1fr);

		gap:
			12px;

		padding:
			16px;
	}


	.p365-most-read__number {
		font-size:
			36px;
	}


	.p365-most-read__item-title {
		font-size:
			14px;

		font-weight:
			var(--p365-weight-extrabold);

		line-height:
			1.55;
	}
}