/* Farm cards (GeoDirectory loop items) everywhere: homepage, route pages, search. */
.geodir-post .card {
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(75, 9, 36, .08) !important;
	border-radius: 26px !important;
	overflow: hidden;
	background: #fff !important;
	box-shadow: 0 1px 0 #fff inset, 0 26px 48px -36px rgba(75, 9, 36, .6) !important;
	transition: transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s, border-color .4s;
}
.geodir-post:hover .card {
	transform: translateY(-7px);
	border-color: rgba(154, 114, 48, .5) !important;
	box-shadow: 0 1px 0 #fff inset, 0 38px 58px -34px rgba(75, 9, 36, .7) !important;
}
.geodir-post .card > .elementor { flex: 1 1 auto; display: flex; flex-direction: column; padding-bottom: 22px; }
.geodir-post .card .elementor-section,
.geodir-post .card .elementor-container,
.geodir-post .card .elementor-column,
.geodir-post .card .elementor-widget-wrap { padding: 0 !important; margin: 0 !important; width: 100% !important; }
.geodir-post .card .elementor-widget:not(:last-child) { margin-bottom: 0 !important; }

/* picture: a soft tinted stage with the logo or bottle set inside it */
.geodir-post .geodir-image-container { background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F6EFE2 100%); }
.geodir-post .geodir-image-container { border-bottom: 1px solid rgba(75, 9, 36, .07); }
.geodir-post .geodir-image-container .ratio { --bs-aspect-ratio: 70% !important; }
.geodir-post .geodir-image-container img { object-fit: contain !important; padding: 28px 32px; box-sizing: border-box; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.geodir-post:hover .geodir-image-container img { transform: scale(1.04); }

/* name: always reserves two lines so every card's rows line up */
.geodir-post .geodir-entry-title { margin: 0 !important; padding: 22px 24px 4px !important; min-height: 84px; box-sizing: border-box; text-align: left !important; white-space: normal !important; display: flex; align-items: flex-start; }
.geodir-post .geodir-entry-title a {
	font: 500 24px/1.15 var(--cvs-serif, "Cormorant Garamond", Georgia, serif) !important;
	letter-spacing: -.01em; color: #2E0516 !important; text-decoration: none;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* farms with no opening hours have no meta row: give their title the same room so the pills still line up */
.geodir-post .card:not(:has(.geodir_post_meta)) .geodir-entry-title { margin-bottom: 24px !important; }

/* "Open now" line: fixed one-line slot, even when a farm has no hours */
.geodir-post .geodir_post_meta { margin: 0 !important; padding: 0 24px 12px; min-height: 34px; box-sizing: border-box; text-align: left !important; font: 400 13px/1.4 var(--cvs-sans, Lato, sans-serif); color: #6B5B55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geodir-post .geodir_post_meta .gd-bh-expand-range,
.geodir-post .geodir_post_meta a { color: inherit !important; text-decoration: none; }
.geodir-post .geodir_post_meta .gd-bh-open-now,
.geodir-post .geodir_post_meta .gd-bh-days-list + * { font-weight: 700; }

/* pills: all full width and the same height */
.geodir-post .geodir-post-badge,
.geodir-post .cvs-vs-wrap { display: block; padding: 0 24px; margin: 0; text-align: left; }
.geodir-post .gd-badge-meta { display: block; margin: 0; }
.geodir-post .gd-badge,
.geodir-post .cvs-vs {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 40px;
	margin: 8px 0 0 !important;
	padding: 8px 16px !important;
	border-radius: 999px !important;
	border: 0 !important;
	font: 700 11px/1.25 var(--cvs-sans, Lato, "Helvetica Neue", Arial, sans-serif) !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: center;
	white-space: normal;
	box-sizing: border-box;
}
.geodir-post .gd-badge i { margin: 0 !important; font-size: 11px; }
.geodir-post .cvs-vs-wrap .cvs-vs { margin-top: 8px; }

/* route: deep burgundy; anything else (price and so on): soft sand */
.geodir-post .gd-badge { background: #EFE6D6 !important; color: #4B0924 !important; }
.geodir-post .gd-badge[data-badge="default_category"] {
	min-height: 48px; /* room for a two-line route name, so the pills below align across cards */
	margin-top: 0 !important;
	font-size: 10.5px !important;
	background: linear-gradient(145deg, #5E0F2E, #3A0A1E) !important;
	color: #FBF7EE !important;
	box-shadow: 0 10px 20px -14px rgba(46, 5, 22, .9);
}
.geodir-post .gd-badge[data-badge="default_category"] i { color: #D7B374; }

/* award pill: full width like the others */
.geodir-post .cvs-aw-wrap { padding: 0 24px; }
.geodir-post .cvs-aw {
	display: flex !important; align-items: center; justify-content: center; gap: 8px;
	width: 100% !important; min-height: 40px; margin: 8px 0 0 !important; padding: 8px 16px !important; box-sizing: border-box;
	border-radius: 999px !important; font-size: 11px !important; line-height: 1.25 !important; letter-spacing: .1em; text-align: center; white-space: normal;
}
@media (max-width: 767px) { .geodir-post .cvs-aw-wrap { padding-left: 20px !important; padding-right: 20px !important; } }

/* visiting status: three clear looks, same footprint */
.geodir-post .cvs-vs--open { background: rgba(215, 179, 116, .3); color: #4B0924; }
.geodir-post .cvs-vs--open i { color: #9A7230; }
.geodir-post .cvs-vs--appointment { background: transparent; color: #6B5B55; box-shadow: inset 0 0 0 1px rgba(107, 91, 85, .45); border: 0; }
.geodir-post .cvs-vs--private { background: #2E0516; color: #D7B374; }

@media (max-width: 767px) {
	.geodir-post .geodir-entry-title a { font-size: 22px !important; }
	.geodir-post .geodir-entry-title { min-height: 78px; }
	.geodir-post .geodir-post-badge, .geodir-post .cvs-vs-wrap, .geodir-post .geodir-entry-title, .geodir-post .geodir_post_meta { padding-left: 20px !important; padding-right: 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.geodir-post .card, .geodir-post .geodir-image-container img { transition: none !important; }
}
