/* =========================
   NEWS HUB
========================= */
.news-hub {
	background: #fff;
}

.news-hub__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 30px 56px;
}

.news-hub__header {
	margin-bottom: 30px;
}

.news-hub__title {
	margin: 0;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hs-dark, #2B2E31);
	font-family: 'Poppins', sans-serif;
}

.news-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
}

.news-section-heading--split {
	margin-top: 46px;
}

.news-section-title {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
	font-weight: 600;
	color: #2B2E31;
	font-family: 'Poppins', sans-serif;
}

.news-view-all {
	color: #2B2E31;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 600;
	border-bottom: 2px solid #6EC1E4;
	padding-bottom: 2px;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.news-view-all:hover {
	color: #6EC1E4;
}

/* =========================
   CATEGORY CARDS
========================= */
.news-category-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.news-category-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 140px;
	padding: 22px;
	border: 1px solid rgba(43, 46, 49, 0.10);
	border-radius: 18px;
	background: #f8fafb;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.news-category-card:hover {
	transform: translateY(-4px);
	border-color: rgba(110, 193, 228, 0.45);
	background: #ffffff;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.news-category-card__label {
	font-size: 1.2rem;
	line-height: 1.2;
	font-weight: 600;
	color: #2B2E31;
	font-family: 'Poppins', sans-serif;
}

.news-category-card__meta {
	margin-top: 20px;
	font-size: 0.95rem;
	color: rgba(43, 46, 49, 0.72);
	font-family: 'Poppins', sans-serif;
}

/* =========================
   LATEST POSTS GRID
========================= */
.news-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.news-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(43, 46, 49, 0.10);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
	border-color: rgba(110, 193, 228, 0.35);
}

.news-post-card__image-link {
	display: block;
	text-decoration: none;
}

.news-post-card__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef3f5;
}

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

.news-post-card:hover .news-post-card__image img {
	transform: scale(1.03);
}

.news-post-card__image--placeholder {
	background: linear-gradient(135deg, #eef3f5 0%, #dde9ef 100%);
}

.news-post-card__content {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.news-post-card__category {
	align-self: flex-start;
	margin-bottom: 14px;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(110, 193, 228, 0.14);
	color: #2B2E31;
	text-decoration: none;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.news-post-card__title {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.2;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
}

.news-post-card__title a {
	color: #2B2E31;
	text-decoration: none;
}

.news-post-card__title a:hover {
	color: #6EC1E4;
}

.news-post-card__meta {
	margin-bottom: 12px;
	font-size: 0.92rem;
	color: rgba(43, 46, 49, 0.68);
}

.news-post-card__excerpt {
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(43, 46, 49, 0.82);
	margin-bottom: 18px;
}

.news-post-card__link {
	margin-top: auto;
	align-self: flex-start;
	color: #2B2E31;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 2px solid #6EC1E4;
	padding-bottom: 2px;
	transition: color 0.25s ease;
}

.news-post-card__link:hover {
	color: #6EC1E4;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px) {
	.news-category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.news-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.news-hub__container {
		padding: 32px 20px 42px;
	}

	.news-category-grid,
	.news-post-grid {
		grid-template-columns: 1fr;
	}

	.news-section-heading,
	.news-section-heading--split {
		flex-direction: column;
		align-items: flex-start;
	}

	.news-category-card {
		min-height: 120px;
	}

	.news-post-card__content {
		padding: 18px 18px 20px;
	}

	.news-post-card__title {
		font-size: 1.2rem;
	}
}

/* =========================
   CASE STUDIES HUB
========================= */
.case-studies-hub {
	background: #fff;
}

.case-studies-hub__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 30px 56px;
}

.case-studies-hub__header {
	margin-bottom: 18px;
}

.case-studies-hub__title {
	margin: 0;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hs-dark, #2B2E31);
	font-family: 'Poppins', sans-serif;
}

.case-studies-hub__meta {
	margin-bottom: 28px;
	font-size: 0.98rem;
	color: rgba(43, 46, 49, 0.72);
	font-weight: 500;
}

/* Grid */
.case-study-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.case-study-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid rgba(43, 46, 49, 0.10);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.case-study-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
	border-color: rgba(110, 193, 228, 0.35);
}

.case-study-card__image-link {
	display: block;
	text-decoration: none;
}

.case-study-card__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef3f5;
}

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

.case-study-card:hover .case-study-card__image img {
	transform: scale(1.03);
}

.case-study-card__image--placeholder {
	background: linear-gradient(135deg, #eef3f5 0%, #dde9ef 100%);
}

.case-study-card__content {
	padding: 22px 22px 24px;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.case-study-card__meta {
	margin-bottom: 10px;
	font-size: 0.92rem;
	color: rgba(43, 46, 49, 0.68);
}

.case-study-card__title {
	margin: 0 0 12px;
	font-size: 1.35rem;
	line-height: 1.2;
	font-weight: 600;
	font-family: 'Poppins', sans-serif;
}

.case-study-card__title a {
	color: #2B2E31;
	text-decoration: none;
}

.case-study-card__title a:hover {
	color: #6EC1E4;
}

.case-study-card__excerpt {
	font-size: 0.98rem;
	line-height: 1.65;
	color: rgba(43, 46, 49, 0.82);
	margin-bottom: 18px;
}

.case-study-card__link {
	margin-top: auto;
	align-self: flex-start;
	color: #2B2E31;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 2px solid #6EC1E4;
	padding-bottom: 2px;
	transition: color 0.25s ease;
}

.case-study-card__link:hover {
	color: #6EC1E4;
}

.case-studies-pagination {
	margin-top: 38px;
}

/* Responsive */
@media (max-width: 1100px) {
	.case-study-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.case-studies-hub__container {
		padding: 32px 20px 42px;
	}

	.case-study-grid {
		grid-template-columns: 1fr;
	}

	.case-study-card__content {
		padding: 18px 18px 20px;
	}

	.case-study-card__title {
		font-size: 1.2rem;
	}
}

/* =========================
   CATEGORY PAGE
========================= */
.news-category-page {
	background: #fff;
}

.news-category-page__container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 48px 30px 56px;
}

.news-category-page__header {
	margin-bottom: 28px;
}

.news-category-page__back {
	display: inline-block;
	margin-bottom: 16px;
	color: #2B2E31;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 600;
	border-bottom: 2px solid #6EC1E4;
	padding-bottom: 2px;
	transition: color 0.25s ease;
}

.news-category-page__back:hover {
	color: #6EC1E4;
}

.news-category-page__title {
	margin: 0 0 12px;
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--hs-dark, #2B2E31);
	font-family: 'Poppins', sans-serif;
}

.news-category-page__meta {
	font-size: 0.98rem;
	color: rgba(43, 46, 49, 0.72);
	font-weight: 500;
}

.news-category-page__pagination {
	margin-top: 38px;
}

@media (max-width: 767px) {
	.news-category-page__container {
		padding: 32px 20px 42px;
	}
}