/* Homepage news shortcode: [jssx_news] */
.jssx-news {
	max-width: 1440px;
	margin: 0 auto;
	padding: 32px 20px 72px;
}

.jssx-news__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2vw, 32px);
}

.jssx-news__header {
	margin-bottom: 28px;
	text-align: center;
}

.jssx-news__heading {
	margin: 0;
	color: #071723;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.25;
}

.jssx-news__item {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #e4e9ed;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(7, 23, 35, 0.07);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.jssx-news__item:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 36px rgba(7, 23, 35, 0.14);
}

.jssx-news__image {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: linear-gradient(135deg, #073449, #0d7898);
}

.jssx-news__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.jssx-news__item:hover .jssx-news__image img {
	transform: scale(1.05);
}

.jssx-news__image-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 76% 24%, rgba(97, 224, 232, 0.55), transparent 0 24%),
		linear-gradient(135deg, #073449, #0d7898);
}

.jssx-news__content {
	display: flex;
	min-height: 220px;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.jssx-news__date {
	margin-bottom: 10px;
	color: #0d7898;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.jssx-news__title {
	margin: 0;
	color: #071723;
	font-size: clamp(18px, 1.35vw, 22px);
	line-height: 1.45;
}

.jssx-news__title a,
.jssx-news__more {
	color: inherit;
	text-decoration: none;
}

.jssx-news__title a:hover,
.jssx-news__more:hover {
	color: #0078c0;
}

.jssx-news__excerpt {
	display: -webkit-box;
	margin: 12px 0 18px;
	overflow: hidden;
	color: #60717d;
	font-size: 14px;
	line-height: 1.75;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.jssx-news__more {
	margin-top: auto;
	color: #0d7898;
	font-size: 14px;
	font-weight: 600;
}

@media (max-width: 921px) {
	.jssx-news__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.jssx-news {
		padding: 24px 16px 48px;
	}

	.jssx-news__grid {
		grid-template-columns: 1fr;
	}

	.jssx-news__content {
		min-height: 0;
		padding: 20px;
	}
}
