/**
 * VERHI Gallery page visual layer - v3.5.21
 *
 * Light, tech-forward styling for the Kadence-native Gallery page.
 * Uses the same color system, type scale and card language as the homepage,
 * About, Contact, Services and Mission pages so every VERHI page feels like
 * one product. Header and footer keep using the Kadence theme.
 */

body.vh-gallery-page {
}

body.vh-gallery-page .vh-g-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	margin-bottom: 14px;
	color: var(--vh-red);
}

body.vh-gallery-page .vh-g-kicker::before,
body.vh-gallery-page .vh-g-kicker::after {
	content: "";
	width: 26px;
	height: 2px;
	flex: none;
	background: linear-gradient(90deg, var(--vh-red), var(--vh-cyan));
}

body.vh-gallery-page .vh-g-kicker::before {
	margin-right: 4px;
}

body.vh-gallery-page .vh-g-kicker::after {
	margin-left: 4px;
}

body.vh-gallery-page .vh-g-title {
	margin-bottom: 16px;
	color: var(--vh-ink);
}

body.vh-gallery-page .vh-g-lead {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
	color: var(--vh-muted);
}

/* Hero: light tech canvas with grid and soft glow, no dark panels. */
body.vh-gallery-page #vh-gallery-hero {
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(rgba(47, 111, 214, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(47, 111, 214, 0.06) 1px, transparent 1px),
		radial-gradient(circle at 82% 10%, rgba(53, 182, 232, 0.28), transparent 42%),
		radial-gradient(circle at 8% 92%, rgba(199, 0, 11, 0.07), transparent 40%),
		linear-gradient(135deg, #eaf3ff 0%, #ffffff 48%, #dceeff 100%);
	background-size: 44px 44px, 44px 44px, auto, auto, auto;
	background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
	background-position: center, center, 82% 10%, 8% 92%, center;
	background-attachment: scroll;
}

body.vh-gallery-page #vh-gallery-hero .kt-row-column-wrap {
	min-height: 68vh;
	min-height: 68svh;
	padding-top: clamp(120px, 14vh, 160px);
	padding-bottom: 70px;
	align-content: center;
}

body.vh-gallery-page .vh-g-hero-title {
	max-width: 940px;
	margin-left: auto;
	margin-right: auto;
	color: var(--vh-ink);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

body.vh-gallery-page .vh-g-hero-lead {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	color: var(--vh-muted);
}

body.vh-gallery-page #vh-gallery-hero .kb-buttons-wrap {
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
}

body.vh-gallery-page #vh-gallery-hero .wp-block-kadence-advancedbtn:nth-child(5) .kb-button {
	border: 1px solid rgba(47, 111, 214, .45);
	background: transparent !important;
	color: var(--vh-blue) !important;
}

/* Story section: framed media card and stat cards. */
body.vh-gallery-page #vh-gallery-story .kt-row-column-wrap {
	align-items: stretch;
}

body.vh-gallery-page .vh-g-media {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 26px 60px rgba(47, 111, 214, 0.16);
}

body.vh-gallery-page .vh-g-media::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	z-index: 2;
	background: linear-gradient(90deg, var(--vh-red), var(--vh-blue), var(--vh-cyan));
}

body.vh-gallery-page .vh-g-media .kt-inside-inner-col {
	padding: clamp(20px, 2.5vw, 30px);
}

body.vh-gallery-page .vh-g-media .wp-block-kadence-advancedgallery img,
body.vh-gallery-page .vh-g-media .kb-gal-image-radius {
	border-radius: 8px;
}

body.vh-gallery-page .vh-g-caption {
	margin: 14px 2px 0;
	color: var(--vh-muted);
	font-size: 14px;
}

body.vh-gallery-page .vh-g-card-title {
	color: var(--vh-ink);
	margin-bottom: 12px;
}

body.vh-gallery-page .vh-g-text {
	color: var(--vh-muted);
}

body.vh-gallery-page .vh-g-stat {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

body.vh-gallery-page .vh-g-stat:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 32px rgba(47, 111, 214, 0.14);
}

body.vh-gallery-page .vh-g-stat::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--vh-red), var(--vh-cyan));
}

body.vh-gallery-page .vh-g-stat .kt-inside-inner-col {
	padding: clamp(20px, 2.5vw, 28px);
}

body.vh-gallery-page .vh-g-stat .kb-count-up-number {
	display: block;
	font-size: clamp(30px, 3.4vw, 42px);
	font-weight: 800;
	line-height: 1.1;
	color: var(--vh-red);
	margin-bottom: 6px;
}

body.vh-gallery-page .vh-g-stat .kb-count-up-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .02em;
	color: var(--vh-muted);
}

/* Service section: native Kadence accordion. */
body.vh-gallery-page .vh-g-acc .kt-blocks-accordion-header {
	border-radius: 8px !important;
	margin-bottom: 10px;
	box-shadow: 0 8px 20px rgba(22, 50, 79, 0.06);
}

body.vh-gallery-page .vh-g-acc .kt-blocks-accordion-title {
	font-weight: 700;
	color: var(--vh-ink);
}

body.vh-gallery-page .vh-g-acc .kt-accordion-panel-inner {
	border-radius: 0 0 8px 8px;
}

body.vh-gallery-page .vh-g-faq-text {
	color: var(--vh-muted);
	margin-bottom: 0;
}

body.vh-gallery-page .vh-g-book {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 14px 30px rgba(22, 50, 79, 0.08);
}

body.vh-gallery-page .vh-g-book .kt-inside-inner-col {
	padding: 18px 22px;
}

body.vh-gallery-page .vh-g-book-title {
	color: var(--vh-ink);
}

body.vh-gallery-page .vh-g-book-title mark {
	color: var(--vh-red);
	background: none;
}

body.vh-gallery-page #vh-gallery-service_book_btn .kb-buttons-wrap {
	justify-content: flex-end;
}

/* Equipment section: light tech band with clean image grids. */
body.vh-gallery-page #vh-gallery-equipment {
	position: relative;
	background:
		radial-gradient(circle at 90% 8%, rgba(53, 182, 232, 0.22), transparent 34%),
		radial-gradient(circle at 5% 96%, rgba(47, 111, 214, 0.12), transparent 40%),
		linear-gradient(180deg, #eef7fc 0%, #e9f5fb 100%);
}

body.vh-gallery-page #vh-gallery-equipment .wp-block-kadence-advancedgallery .kb-gal-image-radius {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 26px rgba(22, 50, 79, 0.10);
	transition: transform .25s ease, box-shadow .25s ease;
}

body.vh-gallery-page #vh-gallery-equipment .kadence-blocks-gallery-item:hover .kb-gal-image-radius {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(47, 111, 214, 0.18);
}

/* Smart technology card. */
body.vh-gallery-page .vh-g-tech-card {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(22, 50, 79, 0.08);
}

body.vh-gallery-page .vh-g-tech-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--vh-red), var(--vh-blue), var(--vh-cyan));
}

body.vh-gallery-page .vh-g-tech-card .kt-inside-inner-col {
	padding: clamp(26px, 3.5vw, 40px);
}

body.vh-gallery-page .vh-g-tech-card .vh-g-card-title mark {
	color: var(--vh-red);
	background: none;
}

body.vh-gallery-page .vh-g-tech-card .wp-block-kadence-advancedgallery {
	margin-top: 24px;
}

body.vh-gallery-page #vh-gallery-tech_icons .kadence-blocks-gallery-item {
	transition: transform .2s ease;
}

body.vh-gallery-page #vh-gallery-tech_icons .kadence-blocks-gallery-item:hover {
	transform: translateY(-3px);
}

body.vh-gallery-page #vh-gallery-tech_icons .kb-gal-image-radius {
	border-radius: 50%;
}

/* CTA: same decisive red gradient as the other VERHI pages. */
body.vh-gallery-page #vh-gallery-cta {
	position: relative;
	background: linear-gradient(120deg, #c7000b, #e3333d 60%, #35b6e8);
}

body.vh-gallery-page .vh-g-cta-title {
	color: #ffffff;
}

body.vh-gallery-page .vh-g-cta-text {
	color: rgba(255, 255, 255, .94);
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

body.vh-gallery-page #vh-gallery-cta .kt-inside-inner-col {
	display: block;
}

body.vh-gallery-page #vh-gallery-cta .kb-buttons-wrap {
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}

body.vh-gallery-page #vh-gallery-cta .wp-block-kadence-advancedbtn {
	display: inline-flex !important;
	vertical-align: middle;
	margin-right: 10px;
}

body.vh-gallery-page #vh-gallery-cta .wp-block-kadence-advancedbtn:last-child {
	margin-right: 0;
}

body.vh-gallery-page #vh-gallery-cta .wp-block-kadence-advancedbtn:nth-child(4) .kb-button {
	border: 1px solid rgba(255, 255, 255, .65);
	background: transparent !important;
	color: #ffffff !important;
}

@media (max-width: 1024px) {
	body.vh-gallery-page #vh-gallery-hero .kt-row-column-wrap {
		min-height: auto;
		padding-top: 110px;
		padding-bottom: 58px;
	}

	body.vh-gallery-page .vh-g-media,
	body.vh-gallery-page .vh-g-tech-card {
		margin-top: 24px;
	}

	body.vh-gallery-page #vh-gallery-service_book_btn .kb-buttons-wrap {
		justify-content: center;
	}
}

@media (max-width: 767px) {
	body.vh-gallery-page #vh-gallery-hero .kt-row-column-wrap {
		padding-top: 100px;
		padding-bottom: 46px;
	}

	body.vh-gallery-page #vh-gallery-hero .kb-buttons-wrap .kb-button,
	body.vh-gallery-page #vh-gallery-cta .kb-buttons-wrap .kb-button {
		width: 100%;
		justify-content: center;
	}

	body.vh-gallery-page .vh-g-book .kt-inside-inner-col {
		padding: 16px 18px;
	}

	body.vh-gallery-page .vh-g-media .kt-inside-inner-col,
	body.vh-gallery-page .vh-g-tech-card .kt-inside-inner-col,
	body.vh-gallery-page .vh-g-stat .kt-inside-inner-col {
		padding: 22px 18px;
	}
}
