/*
Block Name: Post Loop
Description: Enter the category slug, the post order and this lists posts.
*/

.post-listing.boxed { background: #fff; }
.block-post-loop .post-listing{ position: relative; }
.block-post-loop img { width: 100%; height: auto; }
.post-listing-categories a { background: transparent; color: var(--brand-2); border: 1px solid var(--brand-2); font-size: 70%; padding: 0.5rem 1rem; margin: 1rem 0; display: inline-block; border-radius: 1rem; }
.post-listing-categories a:hover { background: var(--brand-1); border: 1px solid var(--brand-1); color: #fff; }
.post-listing a.button { position: absolute; bottom: 2rem; left: 2rem;}
.block-post-loop h4 a {  }
.block-post-loop .post-list-content a h4 { color: var(--brand-2); }
.block-post-loop .post-list-content a:hover h4 { color: var(--brand-1); }

.arrow-link .post-list-content h4 {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 2rem;
}

.arrow-link .post-list-content h4::after {
	content: "\f0a9";
	flex: 0 0 auto;

	font-family: "Font Awesome 6 Free";
	font-weight: 900;

	font-size: 0.8em;
	color: var(--brand-1);

	transition: transform 0.2s ease;
}

.arrow-link .post-list-content a:hover h4::after {
	transform: translateX(0.25rem);
}

.therapy .grid > .post-listing.boxed:nth-last-child(2) {
	grid-column: span 2;
}

.therapy .grid > .post-listing.boxed:last-child {
	grid-column: span 1;
}

.therapy .post-listing-thumbnail {
	height: 24rem;
	overflow: hidden;
}

.therapy .post-listing-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.conditions .post-listing-thumbnail {
	display: none;
}

.conditions .post-listing.boxed {
	background: var(--brand-3);
	border: 1px solid var(--brand-5);
}

.conditions .post-listing.boxed h4 {
	color: var(--brand-1);
}

.conditions .post-listing.boxed a:hover h4 {
	color: var(--brand-2);
}

/* Fix Slick when listing changed to slider */

@media (max-width: 768px) and (min-width: 481px) {
    .block-post-loop.therapy .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}


@media (max-width: 768px) {
	.block-post-loop .post-listings{grid-template-columns:1fr;}
	.therapy .grid > .post-listing.boxed:nth-last-child(2),
	.therapy .grid > .post-listing.boxed:last-child {
		grid-column: span 1;
	}
}

@media (max-width: 550px) {
}
