/*
Theme Name: Sierra Child
Theme URI: https://sierra.keydesign.xyz/
Description: SaaS & Tech Startup Elementor WordPress Theme
Author: Key-Design
Author URI: http://themeforest.net/user/Key-Design
Template: sierra
Version: 1.1.0.1
License: Envato Standard License
License URI: https://themeforest.net/licenses/standard
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-menu, featured-images, flexible-header, post-formats, sticky-post, translation-ready
Text Domain: sierra-child-old
*/

/* ============================================
   Homepage Posts Display Styles
   ============================================ */

/* Homepage Section Container */
.vh-homepage-section {
	padding: 60px 0;
	margin-bottom: 40px;
}

.vh-homepage-section:last-child {
	margin-bottom: 0;
}

.vh-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Section Title */
.vh-section-title {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 40px;
	text-align: center;
	color: #333;
}

/* Posts Grid */
.vh-posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-top: 30px;
}

/* Post Card */
.vh-post-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vh-post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Post Thumbnail */
.vh-post-thumbnail {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f5f5f5;
}

.vh-post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.vh-post-card:hover .vh-post-thumbnail img {
	transform: scale(1.05);
}

.vh-post-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}
/* Loading state */
.vh-toggle-loading {
	opacity: 0.6;
	cursor: wait !important;
	pointer-events: none;
}

.vh-toggle-loading .vh-toggle-slider {
	cursor: wait !important;
}

.vh-toggle-loading .vh-toggle-slider:before {
	animation: vh-toggle-pulse 1.5s ease-in-out infinite;
}

@keyframes vh-toggle-pulse {
	0%, 100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

/* Post Content */
.vh-post-content {
	padding: 20px;
}

.vh-post-title {
	margin: 0 0 15px 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4;
}

.vh-post-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.vh-post-title a:hover {
	color: #0073aa;
}

.vh-post-excerpt {
	color: #666;
	font-size: 14px;
	line-height: 1.6;
	margin-bottom: 15px;
}

.vh-post-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 15px;
	border-top: 1px solid #eee;
	font-size: 13px;
}

.vh-post-date {
	color: #999;
}

.vh-read-more {
	color: #0073aa;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s ease;
}

.vh-read-more:hover {
	color: #005177;
	text-decoration: underline;
}

/* Shortcode Container */
.vh-homepage-posts-container {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
}

.vh-homepage-post-item {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 15px;
	transition: box-shadow 0.3s ease;
}

.vh-homepage-post-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vh-homepage-post-item .vh-post-thumbnail {
	height: 150px;
	margin-bottom: 15px;
}

.vh-homepage-post-item .vh-post-title {
	font-size: 18px;
	margin-bottom: 10px;
}

.vh-homepage-post-item .vh-post-excerpt {
	font-size: 13px;
	margin-bottom: 10px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
	.vh-posts-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.vh-section-title {
		font-size: 24px;
		margin-bottom: 30px;
	}

	.vh-homepage-section {
		padding: 40px 0;
	}

	.vh-homepage-posts-container {
		grid-template-columns: 1fr;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.vh-posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ============================================
   Latest from VeracityHub Section Styles
   ============================================ */

/* Import Plus Jakarta Sans Font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* Main Grid Container */
.vh-latest-veracityhub-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin: 40px 0;
}

/* Blog Card */
.vh-blog-card {
	background: #FFFFFF;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.vh-blog-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Blog Content */
.vh-blog-content {
	padding: 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

/* Blog Tag (Position 1) - Pill Style */
.vh-blog-tag {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #0D9488; /* Dark teal text for better contrast */
	background-color: #CCFBF1; /* Light teal background */
	padding: 6px 12px;
	border-radius: 20px; /* Pill/rounded corners */
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-block;
}

/* Blog Thumbnail */
.vh-blog-thumbnail {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: #f5f5f5;
	position: relative;
	margin-bottom: 16px;
	border-radius: 8px;
}

.vh-blog-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.vh-blog-card:hover .vh-blog-thumbnail img {
	transform: scale(1.08);
}

.vh-blog-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* Blog Title (Position 2) - H5 Tag */
.vh-blog-title {
	margin: 0 0 16px 0;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 25px;
	text-align: center;
	/* display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis; */
	flex-grow: 0;
	min-height: 50px; /* 2 lines: 25px line-height * 2 */
	display: flex;
	align-items: center;
	justify-content: center;
}

.vh-blog-title a {
	color: #1a1a1a !important;
	text-decoration: none;
	transition: color 0.3s ease;
	/* display: block; */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 25px;
	max-height: 50px; /* 2 lines max */
	width: 100%;
	text-align: center;
}

.vh-blog-title a:hover {
	color: #52BCA8 !important;
}

/* Blog Excerpt/Description (Position 3) - P Tag */
.vh-blog-excerpt {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	text-align: center;
	color: #565D6D;
	margin: 0 0 20px 0;
	flex-grow: 1;
}

/* Blog Footer */
.vh-blog-footer {
	margin-top: auto;
	padding-top: 16px;
	text-align: left;
}

/* Read More Button (Position 4) */
.vh-read-more-btn {
	display: inline-block;
	color: #52BCA8;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
	text-align: left;
	text-decoration: none;
	transition: all 0.3s ease;
}

.vh-read-more-btn:hover {
	color: #3a9b8a;
	text-decoration: underline;
}

/* No Posts Message */
.vh-no-posts {
	text-align: center;
	color: #999;
	padding: 40px 20px;
	font-style: italic;
}

/* Responsive Design */
/* Tablet: 2 columns */
@media screen and (max-width: 1024px) and (min-width: 769px) {
	.vh-latest-veracityhub-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
	
	.vh-blog-content {
		padding: 20px;
	}
	
	.vh-blog-title {
		font-size: 17px;
		line-height: 24px;
	}
}

/* Mobile: 1 column */
@media screen and (max-width: 768px) {
	.vh-latest-veracityhub-grid {
		grid-template-columns: 1fr;
		gap: 20px;
		margin: 30px 0;
	}
	
	.vh-blog-content {
		padding: 18px;
	}
	
	.vh-blog-title {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 12px;
	}
	
	.vh-blog-excerpt {
		font-size: 13px;
		line-height: 19px;
		margin-bottom: 16px;
	}
	
	.vh-read-more-btn {
		font-size: 15px;
		line-height: 24px;
	}
}

/* ============================================
   Quality Sections Shortcode Styles
   ============================================ */

.quality-sections-container {
	width: 100%;
	margin: 40px 0;
}

.quality-sections-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.quality-section-column {
	flex: 0 0 320px;
	max-width: 320px;
	box-sizing: border-box;
}

.quality-post-card {
	background: #FFFFFF;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding-top: 10px;
}

.quality-post-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Tag Pill - Above Image */
.post-card-tag {
	padding: 16px 16px 0 16px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	text-align: left;
	width: 100%;
	height: 28px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	line-height: 20px;
	font-weight: 400;
	opacity: 1;
}

.post-card-tag .tag-item {
	height: 30px;
	padding-left: 15px;
	padding-right: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	line-height: 22px;
	font-weight: 500;
	background: rgba(82, 188, 168, 0.1); /* #52BCA81A */
	border: none;
	border-color: transparent;
	color: #52BCA8;
	transition: all 0.3s ease;
	cursor: pointer;
}

.post-card-tag .tag-item > * {
	padding-left: 2px;
	padding-right: 2px;
}

.post-card-tag .tag-item:hover {
	color: #FFFFFF;
	background: #424856;
}

.post-card-tag .tag-item:active {
	color: #FFFFFF;
	background: #323743;
}

.post-card-tag .tag-item:disabled {
	color: #FFFFFF;
	background: #565D6D;
	opacity: 0.4;
	cursor: not-allowed;
}

/* Post Image */
.post-card-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: #FFFFFF;
	position: relative;
	margin-top: 0;
	padding: 10px 16px;
	box-sizing: border-box;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
	border-radius: 8px;
}

.quality-post-card:hover .post-card-image img {
	transform: scale(1.08);
}

.post-card-image a {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* Post Content */
.post-card-content {
	padding: 18px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.post-card-tag span {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	font-weight: 500;
	color: #0D9488;
	background-color: #CCFBF1;
	padding: 6px 12px;
	border-radius: 20px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: inline-block;
}

/* Post Title */
.post-card-title {
	margin: 0 0 16px 0;
	width: 100%;
	max-width: 100%;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 17px;
	line-height: 22px;
	font-weight: 600;
	color: #171A1F;
	flex-grow: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

/* H5 Title Reset */
h5.post-card-title {
	margin: 0 0 16px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 23px;
	color: #171A1F;
	text-align: center;
}

.post-card-title a {
	color: #171A1F !important;
	text-decoration: none;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 23px;
	max-height: 46px;
	width: 100%;
	text-align: center;
}

.post-card-title a:hover {
	color: #52BCA8 !important;
}

/* Post Excerpt */
.post-card-excerpt {
	width: 100%;
	max-width: 100%;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #565D6D;
	margin: 0 auto 16px auto;
	flex-grow: 1;
	text-align: center;
}

.post-card-excerpt p {
	margin: 0 auto;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	max-width: 100%;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
	color: #565D6D;
	text-align: center;
}

/* Read More Button */
.post-card-readmore {
	margin-top: auto;
	padding-top: 16px;
	text-align: left;
}

.read-more-link {
	width: auto;
	min-width: 82px;
	height: 40px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 16px;
	line-height: 26px;
	font-weight: 500;
	color: #52BCA8;
	background: transparent;
	opacity: 1;
	border: none;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	white-space: nowrap;
	word-break: keep-all;
	overflow: visible;
}

.read-more-link:hover {
	color: #52BCA8;
	background: transparent;
}

.read-more-link:active {
	color: #52BCA8;
	background: transparent;
}

.read-more-link:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* No Posts Message */
.no-posts-message {
	text-align: center;
	color: #999;
	padding: 40px 20px;
	font-style: italic;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Responsive Design for Quality Sections */
@media screen and (max-width: 1024px) and (min-width: 769px) {
	.quality-sections-row {
		gap: 20px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.quality-section-column {
		flex: 0 0 300px;
		max-width: 300px;
	}
	
	.post-card-content {
		padding: 20px;
	}
	
	.post-card-title {
		font-size: 17px;
		line-height: 24px;
	}
}

@media screen and (max-width: 768px) {
	.quality-sections-row {
		gap: 20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	.quality-section-column {
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.post-card-content {
		padding: 18px;
	}
	
	.post-card-title {
		font-size: 16px;
		line-height: 22px;
		margin-bottom: 12px;
	}
	
	.post-card-excerpt {
		font-size: 13px;
		line-height: 19px;
		margin-bottom: 16px;
	}
	
	.read-more-link {
		font-size: 15px;
		line-height: 24px;
	}
}

/* No Posts Card Styling */
.quality-post-card.no-posts-card {
	min-height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.no-posts-card .no-posts-message {
	text-align: center;
}


/* Additional Global Styles for Consistency (blog page) */

/* Blog Page css */

.blog .keydesign-container:empty {
	display: none;
}

/* Remove empty blog container causing white gap */
.blog .keydesign-container:empty,
.archive .keydesign-container:empty,
.search .keydesign-container:empty,
.tag .keydesign-container:empty,
.author .keydesign-container:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.blog .keydesign-container.blog-content-area {
	min-height: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}


/* new */

body.blog .page-header,
body.archive .page-header
 {
display: none !important;
}

/* .with-sidebar {
  display: none !important;
} */

/* ---------- Container ---------- */
.vh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 70px;
}

/* ---------- HERO SECTION ---------- */
.vh-resources-hero {
  background: radial-gradient(1200px at 10% 10%, #2ee6a6, transparent),
              linear-gradient(135deg, #0f172a, #020617);
  padding: 100px 0 100px;
  color: #ffffff;
}

.vh-resources-hero .vh-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
}

.vh-hero-content {
  max-width: 580px;
  margin-right: 0px;
}

.vh-hero-content h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #ffffff !important;
  margin-bottom: 24px;
}

.vh-hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.vh-hero-image img {
  max-width: 560px;
  max-height: 353px;
  width: 100%;
  /* flex-shrink: 0; */
  object-fit: fill;
  border-radius: 14px;
  margin-right: 0px;
  display: block;
}
/* Hero section end */


/* ---------- FILTER BAR ---------- */
.vh-resources-filters {
  background: #ffffff;
  padding: 80px 0 60px;
}

.vh-filters-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* .vh-resources-filters .vh-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
} */

/* Single row layout */
.vh-filters-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  max-width: 100%;
}

.vh-resources-filters select {
  min-width: 220px;
  padding: 14px 18px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  cursor: pointer;
}

/* Dropdown styling */ 
.vh-filters-row select {
  width: 360px;
  max-width: 100%;
  height: 40px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}

.vh-search-form {
  position: relative;
  width: 360px;
  max-width: 100%;
}

.vh-filters-row input[type="search"] {
  width: 360px;
  max-width: 100%;
  height: 40px;
  padding: 10px 14px;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
}


/* ---------- GRID ---------- */
.vh-resources-grid {
  padding: 10px 0;
  background: #ffffff;
}

.vh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ---------- CARD ---------- */
.vh-resource-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;

  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease;
}


.vh-resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 10px rgba(0,0,0,0.10);
}

.vh-card-image img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
  object-fit: cover;
}

.vh-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 12px;
}

.vh-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.vh-card-title {
    font-size: 22px;
    /* margin-bottom: 12px; */
    margin: 12px 0 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* .vh-tag {
  display: inline-block;
  background: #e6fbf2;
  color: #0ea472;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  width: fit-content;
} */

.vh-card-tag {
    background: #e9fff3;
    color: #1dbf73;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    width: auto;
}

.vh-resource-card h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 12px;
  color: #020617;
}

.vh-resource-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: auto;
}

.vh-card-excerpt {
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;    /* pushes footer down */
}

.vh-card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

/* .vh-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  font-size: 13px;
} */

.vh-card-footer a {
  color: #10b981;
  font-weight: 500;
  text-decoration: none;
}

.vh-card-footer a:hover {
  text-decoration: underline;
}

.vh-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {

  /*  Scope grid to resources only */
  .vh-resources-grid .vh-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .vh-resources-hero .vh-container {
    flex-direction: column;
    text-align: center;
  }

  .vh-hero-image img {
    max-width: 420px;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 640px) {

  /*  Single column grid */
  .vh-resources-grid .vh-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vh-hero-content h1 {
    font-size: 34px;
    line-height: 1.2;
  }

  .vh-filters-row {
    flex-direction: column;
    gap: 12px;
  }

  .vh-filters-row select,
  .vh-search-form,
  .vh-search-input {
    width: 100%;
  }

  .vh-filters-row input[type="search"] {
  width: 100%;
}

  /*  Card spacing fix on mobile */
  .vh-resource-card {
    padding: 0;
  }

  .vh-card-content {
    padding: 20px;
  }
}

/* Tablet (iPad, 768px–1024px) */
@media (max-width: 1024px) and (min-width: 641px) {

  .vh-filters-row {
    display: flex;
    flex-wrap: nowrap; /* very important */
    gap: 12px;
    align-items: center;
  }

  /* Make search full width on next row */
  .vh-search-form {
    flex: 1.5 1 0;
  }

  .vh-filters-row select {
    flex: 1 1 0;
    min-width: 140px;
  }

  .vh-search-input {
    width: 100%;
  }

  .vh-filters-row input[type="search"] {
  min-width: 140px;
}
}

/* Content-blog */
/* Grid (already wrapped by theme) */
.vh-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

/* Image */
.vh-blog-thumb img {
    width: 50%;
    height: 320px;
    object-fit: cover;
}

/* Content */
.vh-blog-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Category */
.vh-blog-category {
    background: #e9fbf1;
    color: #22b17c;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    width: fit-content;
    margin-bottom: 12px;
}

/* Title */
.vh-blog-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.vh-blog-title a {
    color: #000;
    text-decoration: none;
}

/* Excerpt */
.vh-blog-excerpt {
    color: #5f6b7a;
    line-height: 1.6;
    flex-grow: 1;
}

/* Footer */
.vh-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.vh-blog-date {
    font-size: 14px;
    color: #7a869a;
}

.vh-read-more {
    color: #22b17c;
    font-weight: 600;
    text-decoration: none;
}

/* Resource Card */

/* .vh-resource-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
} */

.vh-pagination {
  margin: 60px auto 20px;
  text-align: center;
}

.vh-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 6px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  color: #020617;
  text-decoration: none;
  font-size: 14px;
}

.vh-pagination .page-numbers.current {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.vh-pagination .page-numbers:hover {
  background: #f1f5f9;
}

/* Blog CTA Section */

.vh-blog-cta {
  margin-top: 20px;
  padding: 100px 20px;
  background: linear-gradient(135deg, #2fe38a, #000000);
  text-align: center;
}

.vh-cta-inner h2 {
  color: #fff;
  font-size: 48px;
  font-weight: 700px;
  font-family: Plus Jakarta Sans;
  line-height: 52px;
  margin-bottom: 30px;
}

.vh-cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.vh-btn-primary {
  background: #52BCA8FF;
  color: #000;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: Plus Jakarta Sans;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.vh-btn-secondary {
  pointer-events: none;
  display: inline-flex;
  align-items: center;
}

.vh-btn-secondary span {
  pointer-events: auto;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  font-weight: 600;
  line-height: 1;   
  color: #52BCA8FF;
  padding: 5px 0;     /* matches primary button height */
}

.vh-btn-primary:hover {
  color: #000;
}

.vh-btn-secondary:hover {
  color: #52BCA8FF; 
}

.archive.category.keydesign-elementor-library .keydesign-container.e-con{
 padding: 0 !important;
}

.archive.tag.keydesign-elementor-library .keydesign-container.e-con{
 padding: 0 !important;
}

.archive.author.keydesign-elementor-library .keydesign-container.e-con{
 padding: 0 !important;
}

 @media (min-width: 768px) {
    .elementor-22419 .elementor-element.elementor-element-837e1c7 {
        --content-width: 1440px;
        max-height: none !important;
				height: auto !important;
    }
} 

/* Tablet */
/* @media (max-width: 1024px) {
    .elementor-22419 .elementor-widget-shortcode,
    .elementor-22419 .elementor-shortcode {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
} */

/* Mobile */
/* @media (max-width: 767px) {
    .elementor-22419 .elementor-widget-shortcode,
    .elementor-22419 .elementor-shortcode {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}  */

/* Mobile + Tablet */
@media (max-width: 1024px) {
    .elementor-22419 .elementor-element.elementor-element-837e1c7 {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}
