/* Blog Feed cards (markup: resources/views/page-builder/blog-feed/post-card).
   Deep-green card, white text, gold gradient rule under the photo, and a white
   "Read More" link with a gold chevron. Gold on this green is only ~3.6:1, so it's
   kept to the chevron and the (large, bold) title hover — never small text. */

.blog-feed-layout .gm-blog-card {
	overflow: hidden;
}

/* Gold gradient rule along the bottom of the photo */
.blog-feed-layout .gm-blog-card .card-img-top {
	position: relative;
	height: 175px;
	border-radius: 0;
}

/* Fill the photo area whatever the thumbnail's shape, so cards line up */
.blog-feed-layout .gm-blog-card .card-img-top a,
.blog-feed-layout .gm-blog-card .card-img-top img {
	display: block;
	height: 100%;
}

.blog-feed-layout .gm-blog-card .card-img-top img {
	object-fit: cover;
}

.blog-feed-layout .gm-blog-card .card-img-top::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--bs-accent) 45%, #fff) 0%,
		var(--bs-accent) 50%,
		color-mix(in srgb, var(--bs-accent) 80%, #000) 100%);
	pointer-events: none;
}

.blog-feed-layout .gm-blog-card .card-body {
	padding: 1.25rem 1.25rem 1.5rem;
	color: rgba(255, 255, 255, .85);
}

.blog-feed-layout .gm-blog-card .card-title a {
	color: #fff;
}

.blog-feed-layout .gm-blog-card .card-title a:hover,
.blog-feed-layout .gm-blog-card .card-title a:focus-visible {
	color: var(--bs-accent);
}

/* "Read More": plain link with a chevron that nudges right on hover */
.gm-blog-card__more {
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.gm-blog-card__more i {
	color: var(--bs-accent);
	transition: transform .15s ease;
}

.gm-blog-card__more:hover,
.gm-blog-card__more:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: var(--bs-accent);
	text-underline-offset: .2em;
}

.gm-blog-card__more:hover i,
.gm-blog-card__more:focus-visible i {
	transform: translateX(3px);
}
