/* Blog Section */
.blog-section {
	padding: 80px 0;
	background: #fff;
}

.blog-section__inner {
	text-align: center;
}
.blog-section__inner {
	padding-bottom: 50px;
}
.blog-section__title {
	font-size: 36px;
	font-weight: 700;
	color: #1c2b39;
	margin: 0 0 48px;
}

/* Slider / Grid container */
.blog-section__slider {
	margin-bottom: 40px;
}

/* Desktop (>= 1100px): 3-column grid */
@media (min-width: 1100px) {
	.blog-section__slider .blog-section__slider-track {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 40px;
		width: 90%;
		margin: auto;
	}

	.blog-section__slider .blog-section__slider-slide {
		width: auto;
		height: auto;
	}

	.blog-section__slider .blog-section__pagination {
		display: none;
	}

	.blog-section__slider {
		margin-bottom: 48px;
		display: flex;
		justify-content: center;
	}
}

/* Mobile + tablet (< 1100px): scroll-snap slider, pagination visible */

.blog-section__card {
	background: #F5F5F5;
	overflow: hidden;
	text-align: left;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.blog-section__card-image {
	display: block;
	aspect-ratio: 16/8;
	overflow: hidden;
}

.blog-section__card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-section__card-image-placeholder {
	width: 100%;
	height: 100%;
	min-height: 200px;
	aspect-ratio: 16/10;
	background: linear-gradient(135deg, #e5e5e5 0%, #f0f0f0 100%);
}

.blog-section__card-content {
	padding: 24px;
}

.blog-section__card-date {
	display: block;
	font-size: 14px;
	margin-bottom: 12px;
	color: #B2ABAB;
	text-align: center;
	font-family: Nunito;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-align: left;
}

.blog-section__card-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 12px;
	text-align: left !important;
}

.blog-section__card-title a {
	color: #000;
	font-family: Playfair;
	font-size: 20px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	text-transform: capitalize;
	text-decoration: none;
}

.blog-section__card-title a:hover {
	text-decoration: none;
}

.blog-section__card-excerpt {
	margin: 0 0 16px;
	color: #2B2C2D;
	font-family: Nunito !important;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

.blog-section__card-link {
	color: #8EA9A2;
	text-align: center;
	font-family: Nunito;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: auto;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
}

.blog-section__card-link:hover {
	text-decoration: underline;
}

.blog-section__cta-wrap {
	margin-top: 24px;
}

.blog-section__cta {
	display: inline-flex;
	padding: 14px 32px;
	background-color: rgba(142, 169, 162, 1);
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	border-radius: 6px;
	transition: background-color 0.2s ease;
	display: inline-flex;
	padding: 14px 40px;
	background-color: rgba(142, 169, 162, 1);
	color: #fff;
	text-decoration: none;
	font-weight: 400;
	border-radius: 8px;
	transition: background-color 0.2s ease;
	text-align: center;
	font-family: Nunito !important;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	text-transform: capitalize;
}

.blog-section__cta:hover {
	background-color: black;
}

/* Mobile carousel - match Figma screenshot */
@media (max-width: 1099px) {

	/* Heading - black, visible */
	.blog-section__title {
		display: block !important;
		visibility: visible !important;
		color: #000 !important;
		font-size: 28px;
		margin-bottom: 32px;
		text-align: center;
	}

	/* Slider container */
	.blog-section__slider {
		padding: 0 20px;
		margin-bottom: 32px;
		overflow: hidden;
	}

	/* Horizontal scroll-snap slider - one card at a time */
	.blog-section__slider .blog-section__slider-track {
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		-ms-overflow-style: none;
		scrollbar-width: none;
	}

	.blog-section__slider .blog-section__slider-track::-webkit-scrollbar {
		display: none;
	}

	.blog-section__slider .blog-section__slider-slide {
		flex: 0 0 100%;
		width: 100%;
		min-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		box-sizing: border-box;
	}

	.blog-section__card {
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
		border: none;
	}

	.blog-section__card-content {
		background: #F8F8F8;
		padding: 24px;
		flex: 1;
	}

	.blog-section__card-date {
		color: #A0A0A0;
		font-size: 13px;
		margin-bottom: 8px;
	}

	.blog-section__card-title a {
		color: #1c2b39;
	}

	.blog-section__card-excerpt {
		color: #666;
		font-size: 14px;
		line-height: 1.6;
	}

	.blog-section__card-link {
		color: #8EA9A2;
		font-size: 14px;
		display: inline-block;
		margin-top: 4px;
		text-decoration: underline !important;
	}

	.blog-section__card-link:hover {
		text-decoration: underline;
	}

	/* Bar-style pagination - single continuous line, no gap */
	.blog-section__pagination {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 0;
		margin-top: 24px;
		margin-bottom: 32px;
	}

	.blog-section__pagination .blog-section__pagination-bullet,
	.blog-section__pagination span {
		width: 30%;
		min-height: 1px;
		background: #e5e5e5;
		opacity: 1;
		margin: 0;
		padding: 0;
		border-radius: 10px !important;
		transition: background 0.2s ease;
		flex-shrink: 0;
	}
	.blog-section__pagination-bullet--active {
		height: 4px;
	}

	.blog-section__pagination span:first-child {
		border-radius: 2px 0 0 2px;
	}

	.blog-section__pagination span:last-child {
		border-radius: 0 2px 2px 0;
	}

	.blog-section__pagination span:only-child {
		border-radius: 2px;
	}

	.blog-section__pagination .blog-section__pagination-bullet--active,
	.blog-section__pagination span.blog-section__pagination-bullet--active {
		background: #8EA9A2;
	}

	.blog-section__cta-wrap {
		margin-top: 40px;
	}

	.blog-section__cta {
		border-radius: 8px;
		padding: 16px 40px;
	}
}