/* Trusted Pharmacy Latest Posts
   Override any of these variables in your theme to restyle the section, e.g.
   .tplp { --tplp-accent: #0b6e6e; } */
.tplp {
	--tplp-accent: #0f766e;
	--tplp-accent-contrast: #ffffff;
	--tplp-text: inherit;
	--tplp-muted: #5b6770;
	--tplp-card-bg: #ffffff;
	--tplp-border: #e3e8ea;
	--tplp-radius: 14px;
	--tplp-gap: 24px;
	--tplp-cols: 3;

	box-sizing: border-box;
	width: 100%;
	color: var(--tplp-text);
}
.tplp *,
.tplp *::before,
.tplp *::after { box-sizing: inherit; }

.tplp__head { margin: 0 0 32px; }

.tplp__eyelet {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--tplp-accent);
	border-radius: 999px;
	color: var(--tplp-accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	line-height: 1.2;
}

.tplp .tplp__heading {
	margin: 14px 0 8px;
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.2;
}

.tplp .tplp__desc {
	margin: 0;
	max-width: 640px;
	color: var(--tplp-muted);
	font-size: 17px;
	line-height: 1.6;
}

.tplp__grid {
	display: grid;
	grid-template-columns: repeat(var(--tplp-cols), minmax(0, 1fr));
	gap: var(--tplp-gap);
}

.tplp__card {
	background: var(--tplp-card-bg);
	border: 1px solid var(--tplp-border);
	border-radius: var(--tplp-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.tplp__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(15, 40, 45, .10);
}

.tplp .tplp__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.tplp .tplp__link:focus-visible {
	outline: 3px solid var(--tplp-accent);
	outline-offset: -3px;
}

.tplp__media {
	aspect-ratio: 16 / 9;
	background: #eef3f3;
	overflow: hidden;
}
.tplp__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}
.tplp__card:hover .tplp__media img { transform: scale(1.04); }

.tplp .tplp__title {
	margin: 18px 20px 10px;
	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
}

.tplp__more {
	margin: auto 20px 20px;
	color: var(--tplp-accent);
	font-size: 14px;
	font-weight: 600;
}

.tplp__empty { color: var(--tplp-muted); }

.tplp__footer {
	margin-top: 36px;
	text-align: center;
}
.tplp .tplp__button {
	display: inline-block;
	padding: 13px 30px;
	border-radius: 999px;
	background: var(--tplp-accent);
	color: var(--tplp-accent-contrast);
	font-weight: 600;
	text-decoration: none;
	transition: opacity .2s ease;
}
.tplp .tplp__button:hover { opacity: .88; color: var(--tplp-accent-contrast); }

@media (max-width: 1024px) {
	.tplp__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.tplp__grid { grid-template-columns: minmax(0, 1fr); }
	.tplp__head { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.tplp__card,
	.tplp__media img { transition: none; }
	.tplp__card:hover,
	.tplp__card:hover .tplp__media img { transform: none; }
}
