/**
 * Hainsworth & Vow — Wedding venue directory styles.
 *
 * Scoped to venue surfaces only (single gd_place, gd_place archive, the
 * Wedding Venues landing page) so nothing here can affect the budget
 * calculator or the wider site. Brand tokens are declared locally on the
 * .hv-venue wrapper to avoid depending on global variable names.
 */

.hv-venue {
	--hv-cocoa: #5A3D32;
	--hv-ink: #2B211D;
	--hv-clay: #9B6F5B;
	--hv-cream: #EFE4D7;
	--hv-ivory: #F8F3EC;
	--hv-line: #E4D7C9;
	--hv-white: #FFFFFF;
	--hv-radius: 14px;
	--hv-radius-sm: 9px;
	--hv-shadow: 0 10px 30px rgba(43, 33, 29, 0.08);
	--hv-gap: clamp(28px, 4vw, 48px);

	color: var(--hv-ink);
	max-width: 920px;
	margin: 0 auto;
}

/* GeoDirectory admin hints aren't needed on the public venue page. The theme's
   own title header is removed via a PHP filter (HV_Venue_Template::suppress_theme_title),
   not CSS, so only the hero H1 remains. */
body.single-gd_place .geodir-notifications,
body.single-gd_place .gd-notifications-wrap {
	display: none;
}

.hv-venue-contact {
	margin: 0 0 14px;
	font-size: 1rem;
}

.hv-venue-contact a {
	color: var(--hv-cocoa);
	text-decoration: none;
	border-bottom: 1px solid var(--hv-line);
}

.hv-venue-contact a:hover {
	border-color: var(--hv-cocoa);
}

.hv-venue-contact .hv-sep {
	margin: 0 10px;
	color: var(--hv-clay);
}

.hv-venue *,
.hv-venue *::before,
.hv-venue *::after {
	box-sizing: border-box;
}

.hv-venue > * + * {
	margin-top: var(--hv-gap);
}

/* ---------- Buttons ---------- */
.hv-venue .hv-btn,
.hv-venue-quickbar .hv-btn {
	display: inline-block;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1;
	letter-spacing: 0.01em;
	padding: 14px 26px;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
	cursor: pointer;
	border: 1px solid transparent;
}

.hv-btn--primary {
	background: var(--hv-cocoa);
	color: var(--hv-ivory);
}

.hv-btn--primary:hover {
	background: var(--hv-ink);
	color: var(--hv-ivory);
	transform: translateY(-1px);
}

.hv-btn--ghost {
	background: transparent;
	color: var(--hv-cocoa);
	border-color: var(--hv-clay);
}

.hv-btn--ghost:hover {
	background: var(--hv-cocoa);
	color: var(--hv-ivory);
}

/* ---------- Hero ---------- */
.hv-venue-hero {
	position: relative;
	border-radius: var(--hv-radius);
	overflow: hidden;
	padding: clamp(40px, 7vw, 88px) clamp(28px, 5vw, 64px);
	background-size: cover;
	background-position: center;
	color: var(--hv-ivory);
	min-height: 420px;
	display: flex;
	align-items: flex-end;
	box-shadow: var(--hv-shadow);
}

.hv-venue-hero.hv-no-image {
	background:
		radial-gradient(120% 90% at 78% 12%, rgba(255, 244, 232, 0.16) 0%, rgba(255, 244, 232, 0) 55%),
		linear-gradient(152deg, #6a4a3d 0%, var(--hv-cocoa) 42%, #46322a 100%);
}

.hv-venue-hero__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(43, 33, 29, 0) 35%, rgba(43, 33, 29, 0.78) 100%);
	pointer-events: none;
}

.hv-venue-hero.hv-no-image .hv-venue-hero__scrim {
	display: none;
}

.hv-venue-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
}

.hv-venue-crumbs {
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.9;
	margin-bottom: 20px;
}

.hv-venue-crumbs a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(248, 243, 236, 0.4);
}

.hv-venue-crumbs .hv-sep {
	margin: 0 6px;
	opacity: 0.7;
}

.hv-venue-hero__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(2.2rem, 5.2vw, 3.6rem);
	line-height: 1.04;
	margin: 0 0 12px;
	color: var(--hv-ivory);
}

.hv-venue-hero__location {
	font-size: 1.05rem;
	margin: 0 0 6px;
	opacity: 0.95;
}

.hv-venue-hero__location .hv-pin {
	font-size: 0.7rem;
	vertical-align: middle;
	margin-right: 4px;
}

.hv-venue-hero__tagline {
	font-size: 1.12rem;
	font-style: italic;
	margin: 0;
	max-width: 36em;
	opacity: 0.95;
}

/* ---------- Quick bar (CTA + chips) ---------- */
.hv-venue-quickbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background: var(--hv-white);
	border: 1px solid var(--hv-line);
	border-radius: 999px;
	padding: 10px 12px 10px 28px;
	box-shadow: 0 4px 16px rgba(43, 33, 29, 0.06);
}

.hv-venue-quickbar__cta {
	padding: 13px 28px;
	white-space: nowrap;
}

.hv-venue-quickbar__info {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
}

.hv-quick__chip {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.hv-quick__k {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hv-clay);
}

.hv-quick__val {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--hv-ink);
}

/* ---------- Quick facts strip ---------- */
.hv-facts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.hv-fact {
	background: var(--hv-ivory);
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius-sm);
	padding: 24px 20px;
	text-align: center;
}

.hv-fact__label {
	display: block;
	font-size: 0.74rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hv-clay);
	margin-bottom: 6px;
}

.hv-fact__value {
	display: block;
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.45rem;
	color: var(--hv-ink);
}

/* ---------- Generic content block ---------- */
.hv-venue-block__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	color: var(--hv-cocoa);
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--hv-line);
}

.hv-venue-prose p {
	margin: 0 0 1em;
	line-height: 1.7;
	font-size: 1.05rem;
}

.hv-venue-prose p:last-child {
	margin-bottom: 0;
}

/* Highlights */
.hv-venue-highlights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 26px;
}

.hv-venue-highlights li {
	position: relative;
	padding-left: 28px;
	line-height: 1.5;
}

.hv-venue-highlights li::before {
	content: "\2766";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--hv-clay);
	font-size: 1.1rem;
}

/* Tick lists */
.hv-venue-ticks,
.hv-venue-goodtoknow {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 26px;
}

.hv-venue-ticks li,
.hv-venue-goodtoknow li {
	position: relative;
	padding-left: 30px;
	line-height: 1.5;
}

.hv-venue-ticks li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--hv-cocoa);
	font-weight: 700;
}

.hv-tick {
	position: absolute;
	left: 0;
	top: 0;
	color: var(--hv-cocoa);
	font-weight: 700;
}

/* Map + address */
.hv-venue-map {
	border-radius: var(--hv-radius);
	overflow: hidden;
	margin-bottom: 18px;
	border: 1px solid var(--hv-line);
}

.hv-venue-map .geodir-map-wrap,
.hv-venue-map .geodir_map_container,
.hv-venue-map [id^="geodir_map"] {
	min-height: 360px;
}

.hv-venue-address__lines {
	font-size: 1.05rem;
	margin: 0 0 14px;
}

/* Tables */
.hv-venue-table {
	width: 100%;
	border-collapse: collapse;
}

.hv-venue-table th,
.hv-venue-table td {
	text-align: left;
	padding: 12px 4px;
	border-bottom: 1px solid var(--hv-line);
	font-size: 1.02rem;
}

.hv-venue-table th {
	font-weight: 600;
	color: var(--hv-cocoa);
	width: 55%;
}

/* Pricing */
.hv-venue-pricing__bracket {
	margin: 0 0 6px;
}

.hv-venue-pricing__symbol {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.8rem;
	color: var(--hv-cocoa);
	letter-spacing: 2px;
}

.hv-venue-pricing__guide {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 6px;
}

.hv-venue-pricing__notes {
	margin: 0 0 14px;
	color: var(--hv-ink);
}

.hv-venue-caveat {
	font-size: 0.9rem;
	font-style: italic;
	color: var(--hv-clay);
	margin: 0;
}

.hv-venue-line {
	font-size: 1.05rem;
	margin: 0 0 8px;
}

/* Gallery */
.hv-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.hv-gallery__item {
	display: block;
	border-radius: var(--hv-radius-sm);
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.hv-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.hv-gallery__item:hover img {
	transform: scale(1.05);
}

/* FAQs */
.hv-faq {
	border-bottom: 1px solid var(--hv-line);
	padding: 6px 0;
}

.hv-faq__q {
	cursor: pointer;
	font-weight: 600;
	font-size: 1.08rem;
	color: var(--hv-cocoa);
	padding: 12px 0;
	list-style: none;
	position: relative;
	padding-right: 28px;
}

.hv-faq__q::-webkit-details-marker {
	display: none;
}

.hv-faq__q::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 10px;
	font-size: 1.3rem;
	color: var(--hv-clay);
}

.hv-faq[open] .hv-faq__q::after {
	content: "\2013";
}

.hv-faq__a {
	padding: 0 0 14px;
	line-height: 1.6;
}

.hv-faq__a p {
	margin: 0 0 0.8em;
}

/* Enquiry */
.hv-venue-block#hv-enquiry {
	background: var(--hv-ivory);
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius);
	padding: clamp(24px, 4vw, 40px);
}

.hv-venue-enquiry__intro {
	margin: 0 0 20px;
	font-size: 1.05rem;
}

.hv-venue-enquiry__form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 22px;
}

.hv-field {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
}

.hv-field--half {
	grid-column: span 1;
}

.hv-field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hv-cocoa);
	margin-bottom: 6px;
}

.hv-field label span {
	font-weight: 400;
	color: var(--hv-clay);
}

.hv-field input,
.hv-field textarea {
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius-sm);
	padding: 12px 14px;
	font-family: inherit;
	font-size: 1rem;
	background: var(--hv-white);
	color: var(--hv-ink);
}

.hv-field textarea {
	min-height: 90px;
	resize: vertical;
}

.hv-venue-enquiry__note {
	font-size: 0.85rem;
	color: var(--hv-clay);
	margin: 14px 0 0;
}

/* Freshness + related */
.hv-venue-freshness {
	font-size: 0.9rem;
	font-style: italic;
	color: var(--hv-clay);
	text-align: center;
	margin: 0;
}

.hv-venue-related {
	text-align: center;
	padding-top: 8px;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
	.hv-facts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.hv-venue-highlights,
	.hv-venue-ticks,
	.hv-venue-goodtoknow {
		grid-template-columns: 1fr;
	}

	.hv-venue-enquiry__form {
		grid-template-columns: 1fr;
	}

	.hv-field--half {
		grid-column: 1 / -1;
	}

	.hv-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.hv-venue-quickbar {
		flex-direction: column;
		align-items: stretch;
		border-radius: var(--hv-radius);
		padding: 16px;
	}

	.hv-venue-quickbar__cta {
		text-align: center;
	}

	.hv-venue-map .geodir-map-wrap,
	.hv-venue-map .geodir_map_container,
	.hv-venue-map [id^="geodir_map"] {
		height: 300px !important;
		min-height: 300px;
	}
}


/* ---------- Result / archive cards ---------- */
.hv-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--hv-white);
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius);
	overflow: hidden;
	text-decoration: none;
	color: var(--hv-ink);
	box-shadow: 0 4px 16px rgba(43, 33, 29, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.hv-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 32px rgba(43, 33, 29, 0.12);
}

.hv-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	background-size: cover;
	background-position: center;
}

.hv-card__media--plain {
	background: linear-gradient(152deg, #6a4a3d 0%, var(--hv-cocoa) 60%, #46322a 100%);
}

.hv-card__price {
	position: absolute;
	top: 12px;
	left: 12px;
	background: rgba(248, 243, 236, 0.94);
	color: var(--hv-cocoa);
	font-weight: 600;
	letter-spacing: 1px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 0.85rem;
}

.hv-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px 22px 22px;
	flex: 1;
}

.hv-card__type {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--hv-clay);
}

.hv-card__title {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.4rem;
	line-height: 1.15;
	color: var(--hv-ink);
	margin-top: 2px;
}

.hv-card__loc {
	font-size: 0.92rem;
	color: var(--hv-clay);
}

.hv-card__tagline {
	font-size: 0.98rem;
	font-style: italic;
	margin-top: 4px;
	color: var(--hv-ink);
}

.hv-card__meta {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--hv-cocoa);
	margin-top: 8px;
}

.hv-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}

.hv-chip {
	font-size: 0.75rem;
	background: var(--hv-ivory);
	border: 1px solid var(--hv-line);
	color: var(--hv-cocoa);
	padding: 4px 10px;
	border-radius: 999px;
}

.hv-card__cta {
	margin-top: 16px;
	align-self: flex-start;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--hv-cocoa);
	border-bottom: 2px solid var(--hv-clay);
	padding-bottom: 2px;
}

.hv-card:hover .hv-card__cta {
	border-color: var(--hv-cocoa);
}

/* Let GeoDirectory's archive loop items host our card cleanly. */
.geodir-post .hv-card {
	margin: 0;
}


/* ---------- Directory landing chrome ---------- */
.hv-dir-intro {
	text-align: center;
	margin: 0 auto 8px;
}

.hv-dir-intro__lead {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--hv-ink);
	max-width: 40em;
	margin: 0 auto 18px;
}

.hv-dir-intro__cta {
	margin: 0;
}

.hv-dir-reassure {
	margin: 8px auto 0;
}

.hv-dir-reassure__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.hv-dir-reassure__item {
	background: var(--hv-ivory);
	border: 1px solid var(--hv-line);
	border-radius: var(--hv-radius-sm);
	padding: 22px 20px;
}

.hv-dir-reassure__item h3 {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 1.1rem;
	color: var(--hv-cocoa);
	margin: 0 0 8px;
}

.hv-dir-reassure__item p {
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
	color: var(--hv-ink);
}

.hv-dir-reassure__cta {
	text-align: center;
	margin: 28px 0 0;
}

@media (max-width: 880px) {
	.hv-dir-reassure__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.hv-dir-reassure__grid {
		grid-template-columns: 1fr;
	}
}
