/*
 * /blog/ archive (templates/vs-blog.php) - reproduces Elementor Pro archive
 * template 4260 as rendered on 2026-10-04: container geometry from
 * post-4260.css + Elementor container defaults, card styling from the
 * widget's custom CSS, typography from the Elementor kit globals the widget
 * used (titles/excerpt/read-more = Roboto, date/pagination = Roboto Slab;
 * fonts in assets/css/fonts-blog.css), and the 82% thumbnail crop from
 * components.css ("Visual Batch 1B", 2026-08-26).
 * Loaded only on the posts page while the native template is in use.
 */

/* ---- Wrappers (Elementor container equivalents) ---- */
.vs-blog-archive {
	display: block;
}

.vs-blog-hero {
	box-sizing: border-box;
	display: flex;
	padding: 0 20px;
}

.vs-blog-hero__inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px 0;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	padding: 90px 0 70px;
}

.vs-blog-hero__title,
.vs-blog-hero__intro {
	position: relative;
	max-width: 100%;
	text-align: center;
}

.vs-blog-archive .vs-blog-hero__h1 {
	margin: 0;
	padding: 0;
	font-family: "Poppins", Sans-serif;
	font-size: 56px;
	font-weight: 800;
	line-height: 1.4em;
	color: #000000;
}

.vs-blog-hero__intro {
	font-family: "Poppins", Sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #6f6873;
}

.vs-blog-list {
	box-sizing: border-box;
	display: flex;
	padding: 0 10px;
}

.vs-blog-list__inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: min(100%, 1140px);
	margin: 0 auto;
	padding: 10px 0;
}

.vs-blog-posts {
	position: relative;
	width: 100%;
	max-width: 100%;
}

/* ---- Grid ---- */
.vs-posts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 30px;
	row-gap: 35px;
}

/* ---- Card ---- */
.vs-blog-posts .vs-post-card {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 22px;
	overflow: visible;
	background: rgba(255, 127, 127, 0.15);
	border-radius: 24px;
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vs-blog-posts .vs-post-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.11);
}

.vs-blog-posts .vs-post-card__thumb-link {
	position: relative;
	display: block;
	width: 100%;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.08);
}

.vs-blog-posts .vs-post-card__thumb {
	position: relative;
	height: 0;
	padding-bottom: 82%;
	overflow: hidden;
}

.vs-blog-posts .vs-post-card__thumb img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	transform: none;
	object-fit: cover;
	object-position: center 25%;
}

.vs-blog-posts .vs-post-card__text {
	display: block;
	flex-grow: 1;
}

.vs-blog-posts .vs-post-card__title {
	margin: 0 0 10px;
	padding: 0;
	font-family: "Roboto", Sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3em;
	color: #54595f;
}

.vs-blog-posts .vs-post-card__title a {
	font-family: "Roboto", Sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25em;
	color: #111111;
	text-decoration: none;
}

.vs-blog-posts .vs-post-card__meta {
	margin-bottom: 12px;
	font-family: "Roboto Slab", Sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.3em;
	color: #9a8f99;
}

.vs-blog-posts .vs-post-card__excerpt {
	margin-bottom: 10px;
}

.vs-blog-posts .vs-post-card__excerpt p {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	font-family: "Roboto", Sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6em;
	color: #6f6873;
}

.vs-blog-posts .vs-post-card__more {
	font-family: "Roboto", Sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #ff7f7f;
	text-decoration: none;
}

.vs-blog-posts .vs-post-card__more:hover {
	color: #c39bff;
}

/* ---- Pagination ---- */
.vs-blog-posts .vs-pagination {
	font-family: "Roboto Slab", Sans-serif;
	font-weight: 400;
	text-align: center;
}

.vs-blog-posts .vs-pagination .page-numbers:not(:first-child) {
	margin-left: 5px;
}

.vs-blog-posts .vs-pagination .page-numbers:not(:last-child) {
	margin-right: 5px;
}

.vs-blog-posts .vs-posts-nothing-found {
	text-align: center;
}

/* ---- Tablet ---- */
@media (max-width: 1024px) {
	.vs-posts {
		grid-template-columns: repeat(2, 1fr);
	}

	.vs-blog-archive .vs-blog-hero__h1 {
		font-size: 50px;
	}
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
	.vs-posts {
		grid-template-columns: repeat(1, 1fr);
	}

	.vs-blog-hero {
		padding: 0 18px;
	}

	.vs-blog-hero__inner {
		max-width: 100%;
		padding: 75px 0 55px;
	}

	.vs-blog-archive .vs-blog-hero__h1 {
		font-size: 38px;
	}
}
