/* =========================================================
 * PRESS 365 — Syrians Abroad
 * Version: 1.1.0
 * =========================================================
 *
 * Typography aligned with PRESS 365 Core Design System.
 * Layout and visual structure preserved.
 * ======================================================= */


/* =========================================================
 * 1. Module
 * ======================================================= */

.p365-abroad {
	width:
		100%;

	height:
		100%;
}


/* =========================================================
 * 2. Shell
 * ======================================================= */

.p365-abroad__shell {
	position:
		relative;

	height:
		100%;

	overflow:
		hidden;

	border-radius:
		var(--p365-radius-lg);

	background:
		var(--p365-dark);

	color:
		var(--p365-white);

	box-shadow:
		var(--p365-shadow-xs);
}


/* =========================================================
 * 3. Subtle Global Motif
 * ======================================================= */

.p365-abroad__shell::before {
	content:
		"";

	position:
		absolute;

	inset:
		0;

	pointer-events:
		none;

	background:
		radial-gradient(
			circle at 20% 10%,
			rgba(243,154,34,.08),
			transparent 30%
		),
		radial-gradient(
			circle at 90% 85%,
			rgba(20,114,122,.20),
			transparent 35%
		);
}


/* =========================================================
 * 4. Header
 * ======================================================= */

.p365-abroad__head {
	position:
		relative;

	z-index:
		2;

	display:
		flex;

	align-items:
		center;

	justify-content:
		space-between;

	gap:
		16px;

	min-height:
		60px;

	padding:
		0 18px;

	border-bottom:
		1px solid rgba(255,255,255,.10);
}


.p365-abroad__title {
	position:
		relative;

	margin:
		0;

	padding-right:
		13px;

	color:
		var(--p365-white);

	font-size:
		22px;

	font-weight:
		var(--p365-weight-black);

	line-height:
		1.2;
}


.p365-abroad__title::before {
	content:
		"";

	position:
		absolute;

	top:
		50%;

	right:
		0;

	width:
		4px;

	height:
		22px;

	border-radius:
		20px;

	background:
		var(--p365-orange);

	transform:
		translateY(-50%);
}


.p365-abroad__more {
	display:
		inline-flex;

	align-items:
		center;

	gap:
		6px;

	color:
		rgba(255,255,255,.62);

	font-size:
		11px;

	font-weight:
		var(--p365-weight-extrabold);

	line-height:
		1.4;
}


.p365-abroad__more:hover {
	color:
		var(--p365-orange);
}


/* =========================================================
 * 5. Grid
 * ======================================================= */

.p365-abroad__grid {
	position:
		relative;

	z-index:
		2;

	display:
		grid;

	grid-template-columns:
		repeat(
			3,
			minmax(0, 1fr)
		);
}


/* =========================================================
 * 6. Cards
 * ======================================================= */

.p365-abroad-card {
	min-width:
		0;

	border-left:
		1px solid rgba(255,255,255,.09);
}


.p365-abroad-card:last-child {
	border-left:
		0;
}


.p365-abroad-card__link {
	display:
		block;

	height:
		100%;

	padding:
		12px;

	color:
		var(--p365-white);

	transition:
		background-color var(--p365-transition-fast);
}


.p365-abroad-card__link:hover {
	background:
		rgba(255,255,255,.035);
}


/* =========================================================
 * 7. Media
 * ======================================================= */

.p365-abroad-card__media {
	position:
		relative;

	width:
		100%;

	aspect-ratio:
		4 / 3;

	overflow:
		hidden;

	border-radius:
		8px;

	background:
		var(--p365-teal);
}


.p365-abroad-card__media img {
	width:
		100%;

	height:
		100%;

	object-fit:
		cover;

	transition:
		transform var(--p365-transition);
}


.p365-abroad-card__link:hover
.p365-abroad-card__media img {
	transform:
		scale(1.03);
}


.p365-abroad-card__media.is-placeholder {
	background:
		linear-gradient(
			145deg,
			#14727a,
			#075258 45%,
			#032f33
		);
}


.p365-abroad-card:nth-child(2)
.p365-abroad-card__media.is-placeholder {
	background:
		linear-gradient(
			145deg,
			#176872,
			#06454b,
			#02272a
		);
}


.p365-abroad-card:nth-child(3)
.p365-abroad-card__media.is-placeholder {
	background:
		linear-gradient(
			145deg,
			#0d5e65,
			#073d42,
			#021f22
		);
}


/* =========================================================
 * 8. City Label
 * ======================================================= */

.p365-abroad-card__city {
	position:
		absolute;

	right:
		8px;

	bottom:
		8px;

	display:
		inline-flex;

	align-items:
		center;

	min-height:
		23px;

	padding:
		4px 8px;

	border-radius:
		5px;

	background:
		var(--p365-orange);

	color:
		var(--p365-white);

	font-size:
		10px;

	font-weight:
		var(--p365-weight-extrabold);

	line-height:
		1;
}


/* =========================================================
 * 9. Content
 * ======================================================= */

.p365-abroad-card__content {
	padding:
		10px 2px 3px;
}


/* =========================================================
 * 10. Card Title
 * ======================================================= */

.p365-abroad-card__title {
	display:
		-webkit-box;

	overflow:
		hidden;

	margin:
		0 0 8px;

	color:
		rgba(255,255,255,.90);

	font-size:
		15px;

	font-weight:
		var(--p365-weight-extrabold);

	line-height:
		1.6;

	-webkit-box-orient:
		vertical;

	-webkit-line-clamp:
		3;

	transition:
		color var(--p365-transition-fast);
}


.p365-abroad-card__link:hover
.p365-abroad-card__title {
	color:
		var(--p365-white);
}


/* =========================================================
 * 11. Time
 * ======================================================= */

.p365-abroad-card__time {
	color:
		rgba(255,255,255,.44);

	font-size:
		10px;

	font-weight:
		var(--p365-weight-medium);

	line-height:
		1.4;
}


/* =========================================================
 * 12. Responsive — Tablet
 * ======================================================= */

@media (max-width: 1000px) {

	.p365-abroad__grid {
		grid-template-columns:
			repeat(
				2,
				minmax(0, 1fr)
			);
	}


	.p365-abroad-card:nth-child(2) {
		border-left:
			0;
	}


	.p365-abroad-card:nth-child(3) {
		grid-column:
			1 / -1;

		border-top:
			1px solid rgba(255,255,255,.09);

		border-left:
			0;
	}


	.p365-abroad-card__title {
		font-size:
			15px;

		font-weight:
			var(--p365-weight-extrabold);
	}
}


/* =========================================================
 * 13. Responsive — Mobile
 * ======================================================= */

@media (max-width: 600px) {

	.p365-abroad__head {
		gap:
			12px;
	}


	.p365-abroad__title {
		font-size:
			21px;

		font-weight:
			var(--p365-weight-black);
	}


	.p365-abroad__more {
		font-size:
			11px;
	}


	.p365-abroad__grid {
		display:
			block;
	}


	.p365-abroad-card {
		border-left:
			0;

		border-bottom:
			1px solid rgba(255,255,255,.09);
	}


	.p365-abroad-card:last-child {
		border-bottom:
			0;
	}


	.p365-abroad-card__link {
		display:
			grid;

		grid-template-columns:
			118px minmax(0, 1fr);

		align-items:
			center;

		gap:
			12px;

		padding:
			12px;
	}


	.p365-abroad-card__media {
		aspect-ratio:
			4 / 3;
	}


	.p365-abroad-card__content {
		padding:
			2px 0;
	}


	.p365-abroad-card__city {
		right:
			7px;

		bottom:
			7px;

		font-size:
			9px;
	}


	.p365-abroad-card__title {
		margin-bottom:
			8px;

		font-size:
			15px;

		font-weight:
			var(--p365-weight-extrabold);

		line-height:
			1.55;

		-webkit-line-clamp:
			3;
	}


	.p365-abroad-card__time {
		font-size:
			10px;
	}
}