/* Testimonials */
.section.testimonials .testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 24px;
}

.section.testimonials .testimonial-card {
	background: #fff;
	border-radius: 12px;
	padding: 28px 30px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	display: flex;
	flex-direction: column;
	gap: 16px;
	height: 100%;
}

.section.testimonials .testimonial-card .quote {
	font-size: 0.92em;
	line-height: 1.65;
	color: #444;
	margin: 0;
	flex: 1;
}

.section.testimonials .testimonial-card .stars {
	color: #1a1a1a;
	font-size: 0.85em;
	letter-spacing: 2px;
}

.section.testimonials .testimonial-card .client {
	border-top: 1px solid #f0f0f0;
	padding-top: 16px;
}

.section.testimonials .testimonial-card .client strong {
	display: block;
	font-size: 0.95em;
	color: #1a1a1a;
}

.section.testimonials .testimonial-card .client span {
	font-size: 0.8em;
	color: #888;
}

.section.testimonials .freelance-tag {
	display: inline-block;
	background: #1a1a1a;
	color: #fff;
	font-size: 0.7em;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	letter-spacing: 0.3px;
}

/* Blog cards on homepage */
.section.blog-preview .blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 24px;
}

.section.blog-preview .blog-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.section.blog-preview .blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

.section.blog-preview .blog-card .blog-thumb {
	height: 180px;
	overflow: hidden;
	background: #0d0d0d;
}

.section.blog-preview .blog-card .blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section.blog-preview .blog-card .blog-body {
	padding: 22px 24px 26px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.section.blog-preview .blog-card .blog-tag {
	font-size: 0.72em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #888;
	margin-bottom: 8px;
}

.section.blog-preview .blog-card .blog-title {
	font-size: 1.05em;
	font-weight: 700;
	line-height: 1.35;
	margin: 0 0 10px 0;
}

.section.blog-preview .blog-card .blog-title a {
	color: #1a1a1a;
	text-decoration: none;
}

.section.blog-preview .blog-card .blog-title a:hover {
	text-decoration: underline;
}

.section.blog-preview .blog-card .blog-excerpt {
	font-size: 0.88em;
	line-height: 1.55;
	color: #555;
	margin: 0 0 14px 0;
	flex: 1;
}

.section.blog-preview .blog-card .blog-date {
	font-size: 0.78em;
	color: #aaa;
}

.section.blog-preview .blog-actions {
	margin-top: 32px;
	text-align: center;
}

/* Contact email block */
.contact-email-block {
	margin-bottom: 28px;
	padding: 20px 24px;
	background: #f8f8f8;
	border-radius: 10px;
	border: 1px solid #eee;
}

.contact-email-block p {
	margin: 0 0 6px 0;
	font-size: 0.9em;
	color: #666;
}

.contact-email-block a {
	font-size: 1.1em;
	font-weight: 700;
	color: #1a1a1a;
	text-decoration: none;
}

.contact-email-block a:hover {
	text-decoration: underline;
}

/* Blog index & post pages */
.blog-page-header {
	padding: 100px 0 40px;
	background: #0d0d0d;
	text-align: center;
}

.blog-page-header h1 {
	color: #fff;
	font-family: 'Montserrat', helvetica;
	font-size: clamp(1.8rem, 4vw, 2.8rem);
	margin: 0 0 10px 0;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.blog-page-header p {
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	font-size: 0.95em;
}

.blog-page-header a {
	color: #ede574;
	text-decoration: none;
	font-size: 0.85em;
	display: inline-block;
	margin-bottom: 16px;
}

.blog-list-page {
	padding: 60px 0 80px;
}

.blog-list-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.blog-list-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.blog-list-card .blog-thumb {
	height: 200px;
	overflow: hidden;
}

.blog-list-card .blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-list-card .blog-body {
	padding: 24px 28px 28px;
}

.blog-post-page {
	padding: 60px 0 80px;
}

.blog-post-page .post-meta {
	font-size: 0.85em;
	color: #999;
	margin-bottom: 24px;
}

.blog-post-page .post-content h2 {
	font-size: 1.4em;
	margin: 32px 0 12px 0;
	color: #1a1a1a;
}

.blog-post-page .post-content p,
.blog-post-page .post-content li {
	font-size: 1em;
	line-height: 1.75;
	color: #444;
	margin-bottom: 16px;
}

.blog-post-page .post-content ul {
	padding-left: 24px;
	margin-bottom: 20px;
}

.blog-post-page .post-content a {
	color: #1a1a1a;
	font-weight: 600;
}

.blog-breadcrumb {
	font-size: 0.85em;
	margin-bottom: 20px;
	color: #999;
}

.blog-breadcrumb a {
	color: #666;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.section.testimonials .testimonial-grid,
	.section.blog-preview .blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.section.testimonials .testimonial-grid,
	.section.blog-preview .blog-grid,
	.blog-list-grid {
		grid-template-columns: 1fr;
	}
}
