/*
Theme Name: StartPro Child
Theme URI: https://startpro.qodeinteractive.com
Description: A child theme of StartPro
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: startpro
Template: startpro
*/

/* Blog 3-column grid */
.qodef-blog.qodef--list:not(.qodef-shortcode) {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	align-items: start;
}

.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-blog-item:not(:last-of-type) {
	margin-bottom: 0;
}

.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-m-pagination {
	grid-column: 1 / -1;
}

@media only screen and (max-width: 1024px) {
	.qodef-blog.qodef--list:not(.qodef-shortcode) {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media only screen and (max-width: 680px) {
	.qodef-blog.qodef--list:not(.qodef-shortcode) {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

/* Blog grid card — image uniform height */
.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-e-media-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	border-radius: 12px;
}

.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-e-media-image a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
}

.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-e-media-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
}

/* Blog grid card — smaller text */
.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-e-title h4,
.qodef-blog.qodef--list:not(.qodef-shortcode) h4.qodef-e-title {
	font-size: 16px;
	line-height: 1.4;
}

.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-e-excerpt {
	font-size: 13px;
	line-height: 1.5;
}

.qodef-blog.qodef--list:not(.qodef-shortcode) .qodef-e-info {
	font-size: 12px;
}

/* Custom Content Width 1600px */
@media (min-width: 1713px) {
	.qodef-content-grid-1600 .qodef-content-grid {
		width: 1600px;
	}
	.qodef-content-grid-1600 .qodef-content-grid.qodef-extended-grid--right {
		padding-left: calc((100% - 1600px) / 2);
	}
	.qodef-content-grid-1600 .qodef-content-grid.qodef-extended-grid--left {
		padding-right: calc((100% - 1600px) / 2);
	}
	.qodef--boxed.qodef-content-grid-1600 .qodef-content-grid {
		width: 1660px;
	}
}
