/* ==========================================================================
   Golden Hour: clinic components (reviews, prices, FAQ, contact, posts)
   ========================================================================== */

.gh-brand--image img { width: 88px; height: auto; }
.gh-footer__contact { margin: 0 0 4px; padding: 0; list-style: none; }
.gh-footer__contact li { margin-bottom: 4px; }
.gh-editor-note { padding: 12px; border: 1px dashed var(--gh-border); text-align: center; font-size: 13px; }
.gh-meta-line { color: var(--gh-gold); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.gh-offer-line { color: var(--gh-heading); font-size: 18px; font-weight: 400; letter-spacing: .04em; }
.gh-list, .gh-split__text ul { display: inline-block; margin: 0 0 1.2em; padding-left: 1.1em; text-align: left; }
.gh-center-block { width: 100%; max-width: 780px; margin-inline: auto; }
.elementor-widget.gh-center-block { align-self: center; }

/* Value / icon boxes */
.gh-value .elementor-icon-box-title { margin-bottom: 8px; font-size: 14px; letter-spacing: .14em; }
.gh-value .elementor-icon-box-description { font-size: 14px; }
.gh-value .elementor-icon-box-icon { margin-bottom: 14px !important; }

/* Card grid as treatment cards */
.gh-treatment-cards .gh-card__media { aspect-ratio: 4 / 3; background: var(--gh-cream); }
.gh-treatment-cards .gh-card__title { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.gh-treatment-cards .gh-card__meta { color: var(--gh-gold); }

/* Price list */
.gh-prices { margin-inline: auto; }
.gh-prices__group { margin: 36px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--gh-border); color: var(--gh-gold); font-size: 13px; letter-spacing: .16em; }
.gh-prices__group:first-child { margin-top: 0; }
.gh-prices__group-note { margin: 4px 0 10px; font-size: 13px; }
.gh-price { padding: 12px 0; border-bottom: 1px dashed var(--gh-border); }
.gh-price__row { display: flex; align-items: baseline; gap: 12px; }
.gh-price__name { color: var(--gh-heading); font-size: 15px; font-weight: 400; }
body .gh-price__name a { color: inherit; }
.gh-price__dots { flex: 1; }
.gh-price__amount { color: var(--gh-heading); font-size: 15px; font-weight: 500; white-space: nowrap; }
.gh-price__note { margin: 4px 0 0; font-size: 13px; }

/* FAQ */
.gh-faq { border-top: 1px solid var(--gh-border); }
.gh-faq__item { border-bottom: 1px solid var(--gh-border); }
.gh-faq__q {
	position: relative;
	padding: 18px 40px 18px 0;
	color: var(--gh-heading);
	font-size: 15px;
	font-weight: 400;
	list-style: none;
	cursor: pointer;
}
.gh-faq__q::-webkit-details-marker { display: none; }
.gh-faq__q::after {
	content: "+";
	position: absolute;
	right: 4px;
	top: 50%;
	color: var(--gh-gold);
	font-size: 22px;
	font-weight: 300;
	line-height: 1;
	transform: translateY(-50%);
	transition: transform .2s var(--gh-ease);
}
.gh-faq__item[open] .gh-faq__q::after { transform: translateY(-50%) rotate(45deg); }
.gh-faq__q:hover { color: var(--gh-gold); }
.gh-faq__a { padding: 0 0 20px; font-size: 14px; }
.gh-faq__a ul { margin: 0 0 1em; padding-left: 1.1em; }
.gh-faq__a li { margin-bottom: 4px; }
.gh-faq__a p:last-child { margin-bottom: 0; }

/* Google reviews */
.gh-reviews { --gh-review-cols: 3; position: relative; }
.gh-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.gh-reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.gh-reviews__score strong { color: var(--gh-heading); font-size: 26px; font-weight: 400; line-height: 1; }
.gh-reviews__score .gh-stars .gh-icon { width: 18px; height: 18px; }
.gh-reviews__count { font-size: 13px; }
.gh-reviews__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.gh-reviews__actions .gh-btn { min-height: 40px; padding: 10px 20px; }
.gh-stars .is-off { color: var(--gh-border); }

.gh-reviews__viewport { overflow: hidden; }
.gh-reviews__track { display: grid; grid-template-columns: repeat(var(--gh-review-cols), minmax(0, 1fr)); gap: 20px; }
.gh-reviews--carousel .gh-reviews__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-behavior: smooth;
}
.gh-reviews--carousel .gh-reviews__viewport::-webkit-scrollbar { display: none; }
.gh-reviews--carousel .gh-reviews__track {
	grid-auto-flow: column;
	grid-template-columns: none;
	grid-auto-columns: calc((100% - (var(--gh-review-cols) - 1) * 20px) / var(--gh-review-cols));
}
.gh-review {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	background: var(--gh-white);
	border: 1px solid var(--gh-border);
	scroll-snap-align: start;
}
.gh-review__head { display: flex; align-items: center; gap: 12px; }
.gh-review__head .gh-google-logo { flex: none; margin-left: auto; }
.gh-review__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; object-fit: cover; }
.gh-review__avatar--initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gh-gold);
	color: var(--gh-white);
	font-size: 18px;
	font-weight: 400;
}
.gh-review__author { margin: 0; color: var(--gh-heading); font-size: 14px; font-weight: 500; line-height: 1.3; }
.gh-review__date { margin: 0; font-size: 12px; }
.gh-review__text { font-size: 14px; line-height: 1.65; }
.gh-review__text p { margin: 0; }
.gh-review.is-clamped .gh-review__text { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
body button.gh-review__more {
	align-self: flex-start;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gh-gold);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .1em;
	text-decoration: underline;
	text-transform: uppercase;
	text-underline-offset: 3px;
	cursor: pointer;
}
body button.gh-review__more:hover { background: none; color: var(--gh-heading); }
.gh-reviews__nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.gh-reviews__nav[hidden] { display: none; }
body .gh-reviews__nav button {
	width: 42px;
	height: 42px;
	min-height: 0;
	padding: 0;
	border: 1px solid var(--gh-border);
	border-radius: 50%;
	background: var(--gh-white);
	color: var(--gh-heading);
	font-size: 16px;
	cursor: pointer;
}
body .gh-reviews__nav button:hover { border-color: var(--gh-gold); background: var(--gh-gold); color: var(--gh-white); }
body .gh-reviews__nav button:disabled { border-color: var(--gh-border); background: var(--gh-white); color: var(--gh-heading); opacity: .35; cursor: default; }
@media (max-width: 1024px) { .gh-reviews { --gh-review-cols: 2; } }
@media (max-width: 640px) {
	.gh-reviews { --gh-review-cols: 1; }
	.gh-reviews--carousel .gh-reviews__track { grid-auto-columns: 86%; }
	.gh-reviews__summary, .gh-reviews__score { justify-content: center; text-align: center; }
}

/* Posts widget */
.gh-post-grid--widget { gap: 40px 28px; }
.gh-post-grid--no-excerpt .gh-card-post__excerpt { display: none; }
.gh-card-post__media { aspect-ratio: 4 / 3; }

/* --------------------------------------------------------------------------
   Rounded images (everything except the hero and photo page banners)
   Change --gh-radius in main.css to adjust, or set it to 0 to turn off.
   -------------------------------------------------------------------------- */
/* Every image inside the page content. The selector (0,2,2) outranks Elementor's
   ".elementor img { border-radius: 0 }" (0,1,1), so Elementor images round too. */
body .gh-site-content img,
body .gh-site-content iframe[src*="google.com/maps"],
body .gh-site-content .gh-card__media,
body .gh-site-content .gh-card-post__media {
	border-radius: var(--gh-radius);
}
/* Wrappers clip their zoom-on-hover images to the rounded shape. */
.gh-card__media,
.gh-card-post__media { overflow: hidden; isolation: isolate; }
/* "body" prefix beats Elementor's .elementor img { height: auto } so photos fill the frame. */
body .gh-site-content .gh-card__media img,
body .gh-site-content .gh-card-post__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* Exceptions: hero stays square; logos, emoji square; avatars circular. */
body .gh-site-content .gh-hero img,
body .gh-site-content .custom-logo,
body .gh-site-content .gh-brand img,
body .gh-site-content img.emoji,
body .gh-site-content img.wp-smiley { border-radius: 0; }
body .gh-site-content .gh-review__avatar,
body .gh-site-content img.avatar { border-radius: 50%; }

/* Golden Hour widgets inside Elementor flex containers: stretch to full width so the
   container measures them at their real width. Otherwise it measures at shrink-to-fit
   width, where width-based card heights are 0, locks in a too-small height, and the
   content spills over the next section (seen on phones). */
.e-con [class*="elementor-widget-gh-"] { align-self: stretch; width: 100%; flex-shrink: 0; }
.e-con [class*="elementor-widget-gh-"] > .elementor-widget-container { height: auto; }

/* --------------------------------------------------------------------------
   Overlay treatment cards
   -------------------------------------------------------------------------- */
.gh-cards--overlay { gap: 24px; }
.gh-tcard {
	--gh-tcard-accent: var(--gh-gold);
	--gh-tcard-on-accent: var(--gh-white);
	position: relative;
	display: block;
	overflow: hidden;
	isolation: isolate;
	/* Height from a padding ratio (see .gh-tcard::before), not aspect-ratio: Elementor flex
	   containers mis-measure aspect-ratio boxes whose content is all absolutely positioned. */
	border-radius: var(--gh-radius);
	background: var(--gh-dark);
	color: var(--gh-white);
	box-shadow: 0 10px 30px rgba(28, 27, 25, .12);
	transition: transform .35s var(--gh-ease), box-shadow .35s var(--gh-ease);
}
.gh-tcard::before { content: ""; display: block; padding-top: 80%; }
body a.gh-tcard, body a.gh-tcard:hover { color: var(--gh-white); }
.gh-tcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28, 27, 25, .2); }
body .gh-site-content .gh-tcard__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform .8s var(--gh-ease);
}
.gh-tcard:hover .gh-tcard__img { transform: scale(1.06); }
.gh-tcard__shade {
	position: absolute;
	inset: 0;
	/* Black overlay over the whole photo, a little deeper behind the title. */
	background:
		linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 45%),
		rgba(0, 0, 0, .42);
	transition: background-color .35s var(--gh-ease);
}
.gh-tcard:hover .gh-tcard__shade { background-color: rgba(0, 0, 0, .3); }
.gh-tcard__body {
	position: absolute;
	top: 26px;
	left: 26px;
	right: 26px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.gh-tcard__title {
	font-family: var(--gh-font-heading);
	font-size: clamp(22px, 2vw, 28px);
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1.15;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.gh-tcard__subtitle { font-size: 17px; font-weight: 300; opacity: .95; }
.gh-tcard__detail {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 500;
}
.gh-tcard__detail-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--gh-tcard-accent);
	color: var(--gh-tcard-on-accent);
}
.gh-tcard__detail-icon .gh-icon { width: 18px; height: 18px; }
.gh-tcard__go {
	position: absolute;
	bottom: 22px;
	left: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gh-tcard-accent);
	color: var(--gh-tcard-on-accent);
	transition: transform .3s var(--gh-ease);
}
.gh-tcard__go .gh-icon { width: 22px; height: 22px; stroke-width: 2.2; }
.gh-tcard:hover .gh-tcard__go { transform: rotate(45deg); }
.gh-tcard__badge {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 14px 24px 14px 26px;
	border-radius: var(--gh-radius) 0 0 0;
	background: var(--gh-tcard-accent);
	color: var(--gh-tcard-on-accent);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .02em;
}
.gh-tcard:focus-visible { outline: 2px solid var(--gh-gold); outline-offset: 3px; }
@media (max-width: 640px) {
	.gh-tcard::before { padding-top: 85%; }
	.gh-tcard__body { top: 20px; left: 20px; }
	.gh-tcard__badge { font-size: 15px; padding: 12px 20px; }
}

/* Hero: split layout (text panel beside a full-height photo) */
.gh-hero--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	min-height: 640px;
	padding: 0;
	background: var(--gh-cream);
}
.gh-hero--split .gh-hero__media { position: relative; order: 2; min-height: 420px; overflow: hidden; }
.gh-hero--split.gh-hero--image-left .gh-hero__media { order: 0; }
.gh-hero--split .gh-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 30%;
}
.gh-hero--split .gh-hero__box {
	align-self: center;
	justify-self: center;
	max-width: 600px;
	padding: 64px 40px;
	background: none;
	backdrop-filter: none;
}
.gh-hero__eyebrow {
	margin: 0 0 18px;
	color: var(--gh-gold);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: .28em;
	text-transform: uppercase;
}
.gh-hero--split .gh-hero__title { margin-bottom: 18px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.15; }
.gh-hero--split .gh-hero__text { font-size: 15px; }
.gh-hero--split .gh-btns { margin-top: 30px; }
@media (max-width: 900px) {
	.gh-hero--split { grid-template-columns: 1fr; min-height: 0; }
	.gh-hero--split .gh-hero__media { order: -1; min-height: 0; }
	.gh-hero--split .gh-hero__media::before { content: ""; display: block; padding-top: 75%; }
	.gh-hero--split .gh-hero__box { padding: 40px 20px 48px; }
}

/* Photo page banners */
.gh-page-banner .gh-hero__box { padding: 28px 32px 30px; }
.gh-page-banner .gh-hero__title { margin-bottom: 8px; font-size: clamp(24px, 3vw, 34px); }
.gh-page-header--image {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 340px;
	margin-bottom: 56px;
	padding: 48px var(--gh-gutter);
	background-position: center;
	background-size: cover;
}
.gh-page-header--image .gh-container {
	max-width: 560px;
	padding: 28px 32px;
	background: rgba(255, 255, 255, .86);
}

/* Contact page */
.gh-contact-details h3 { font-size: 18px; }
.gh-contact-list { margin: 24px 0 0; padding: 0; list-style: none; }
.gh-contact-list li { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--gh-border); }
.gh-contact-list strong { color: var(--gh-gold); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
body .gh-contact-list a { color: var(--gh-heading); }
