/* Tory SEO Blog Grid widget — uniform card grid analogous to the header
   mega-menu's recent-posts panel. Fixed 16:10 thumbs so card heights stay
   even regardless of excerpt length, plus a subtle petrol hover. */

/* `margin-top` pushes the grid away from the section heading above it so
   the card row visually breathes; `gap` controls inner spacing between the
   header CTA row and the card grid itself. */
.tory-seo-blog {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 2.5rem;
}

.tory-seo-blog-head {
	display: flex;
	justify-content: flex-end;
}
.tory-seo-blog-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.55rem 1rem;
	border-radius: 9999px;
	background: #00B9BC;
	color: #ffffff !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.88rem;
	transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	box-shadow: 0 8px 22px -10px rgba(0, 185, 188, 0.55);
}
.tory-seo-blog-cta:hover {
	background: #00737d;
	transform: translateY(-1px);
	box-shadow: 0 12px 28px -10px rgba(0, 185, 188, 0.7);
}
.tory-seo-blog-cta svg { transition: transform 180ms ease; }
.tory-seo-blog-cta:hover svg { transform: translateX(3px); }

.tory-seo-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.tory-seo-blog-card {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 0.6rem;
	margin: -0.6rem;
	border-radius: 14px;
	color: #1f2937;
	text-decoration: none;
	transition: background 180ms ease, transform 180ms ease;
	min-width: 0;
}
.tory-seo-blog-card:hover {
	background: rgba(0, 185, 188, 0.08);
	transform: translateY(-2px);
}

.tory-seo-blog-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(0, 185, 188, 0.10), rgba(0, 115, 125, 0.05));
	color: #00B9BC;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tory-seo-blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tory-seo-blog-body {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
}
.tory-seo-blog-cat {
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 700;
	color: #00737d;
}
.tory-seo-blog-title {
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
	color: #0f172a;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.tory-seo-blog-excerpt {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #4b5563;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.tory-seo-blog-date {
	font-size: 0.72rem;
	color: #6b7280;
	margin-top: 0.15rem;
}

@media (max-width: 980px) {
	.tory-seo-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
}
@media (max-width: 600px) {
	.tory-seo-blog-grid { grid-template-columns: 1fr; gap: 1rem; }
}
