﻿/* from LatestBlogs.module.css */
[data-tp="home-LatestBlogs"] {
.section { 
	padding: 64px 0 56px;
    background: #ededed;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 20px; }
.head { text-align: center; margin-bottom: 32px; }
.kicker {
	color: var(--tp-brand);
	font-size: var(--tp-section-kicker-fs);
	font-weight: var(--tp-section-kicker-weight);
	letter-spacing: var(--tp-section-kicker-tracking);
	text-transform: uppercase;
	margin: 0 0 8px;
}
.title {
	font-size: var(--tp-section-title-fs);
	font-weight: var(--tp-section-title-weight);
	line-height: var(--tp-section-title-lh);
	color: #0f172a;
	margin: 0;
	margin-bottom: 10px;
}

.scrollWrap {
	position: relative;
}

.viewport {
	overflow: hidden;
	width: 100%;
	padding: 8px 4px 18px;
}

.track {
	display: flex;
	flex-wrap: nowrap;
	will-change: transform;
}

.slide {
	flex: 0 0 auto;
	min-width: 0;
}

.card {
	width: 100%;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid #f1f5f9;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	position: relative;
}
.card:hover { transform: translateY(-4px); }

.media {
    width: 100%;
	overflow: hidden;
	display: block;
	background: #f1f5f9;
}
.media img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.card:hover .media img { transform: scale(1.06); }

.dateBadge {
	position: absolute; top: 12px; left: 12px;
	background: rgba(255, 255, 255, 0.95); color: var(--tp-brand);
	font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 6px;
}

.body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.cardTitle {
	font-size: 18px; font-weight: 500; color: #0f172a; line-height: 1.4; margin: 0;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
	overflow: hidden; min-height: 66px;
}
.cardTitle a { color: inherit; text-decoration: none; }
.cardTitle a:hover { color: var(--tp-brand); }

.cta {
	margin-top: auto; display: inline-flex; align-items: center; gap: 6px;
	color: var(--tp-brand); font-weight: 700; font-size: 13px; text-decoration: none;
	padding: 4px 0;
}
.cta:hover { opacity: 0.85; }
.cta i { transition: transform 0.2s ease; }
.cta:hover i { transform: translate(2px, -2px); }

.footer { text-align: center; margin-top: 24px; }
.viewAll {
	display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 43px;
    border-radius: 5px;
    background: var(--tp-brand);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s, transform 0.2s;
}
.viewAll:hover { opacity: 0.92; transform: translateY(-1px); }

.arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #fff;
	color: #1f2937;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(0, 0, 0, 0.06);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 4;
	transition: background 0.2s, transform 0.2s;
	font-size: 16px;
}
.arrow:hover {
	background: var(--tp-hover-surface);
	color: var(--tp-brand);
	transform: translateY(-50%) scale(1.05);
}
.arrowLeft  { left: -8px; }
.arrowRight { right: -8px; }

@media (max-width: 575px) {
	.section { padding: 44px 0 36px; }
	.arrowLeft  { left: 4px; }
	.arrowRight { right: 4px; }
	.media,
	.media img { height: 200px; }
}

}
