/**
 * Valco Theme — component styles.
 *
 * The compiled design stylesheet lives in style.css. This file adds only what
 * the static HTML had no equivalent for: dropdown menus, breadcrumbs, gallery,
 * pagination, Contact Form 7 styling and the WordPress editor output.
 *
 * Design tokens (--primary, --secondary, --foreground, --border, --muted-foreground)
 * come from style.css and can be overridden from the Customizer.
 */

:root {
	--valco-footer-bg: #02010a;
	--valco-anim-duration: 800ms;
	--valco-header-height: 6rem;
}

/* -------------------------------------------------------------------------
 * Layout basics
 * ---------------------------------------------------------------------- */

body {
	overflow-x: hidden;
}

.valco-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}

.valco-skip-link:focus {
	left: 1rem;
	top: 1rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1.5rem;
	background: var(--primary);
	color: #fff;
	font-weight: 600;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.valco-footer {
	background-color: var(--valco-footer-bg);
}

/* The fixed header overlaps content; hero/banner sections already pad for it. */
.valco-has-fixed-header > section:first-child:not(.valco-hero):not(.valco-page-banner) {
	padding-top: calc(var(--valco-header-height) + 3rem);
}

/* -------------------------------------------------------------------------
 * Header dropdown menus
 * ---------------------------------------------------------------------- */

.valco-has-dropdown {
	position: relative;
	display: flex;
	align-items: center;
}

.valco-caret {
	display: inline-block;
	margin-left: 0.375rem;
	vertical-align: middle;
	transition: transform 0.3s ease;
}

.valco-has-dropdown:hover .valco-caret,
.valco-has-dropdown:focus-within .valco-caret {
	transform: rotate(180deg);
}

.valco-dropdown {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 10px);
	padding-top: 1.5rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 60;
}

.valco-has-dropdown:hover > .valco-dropdown,
.valco-has-dropdown:focus-within > .valco-dropdown,
.valco-has-dropdown.is-open > .valco-dropdown {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translate(-50%, 0);
}

.valco-dropdown-inner {
	min-width: 18rem;
	background: #fff;
	border-top: 3px solid var(--primary);
	box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
	padding: 0.75rem 0;
}

.valco-dropdown-link {
	display: flex;
	align-items: center;
	padding: 0.75rem 1.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--foreground);
	transition: color 0.25s ease, background-color 0.25s ease, padding 0.25s ease;
}

.valco-dropdown-link:hover,
.valco-dropdown-link:focus,
.valco-dropdown-link-active {
	color: var(--primary);
	background: var(--secondary);
	padding-left: 2.25rem;
}

.valco-dropdown-bar {
	display: inline-block;
	width: 0;
	height: 2px;
	margin-right: 0;
	background: var(--primary);
	transition: width 0.25s ease, margin-right 0.25s ease;
}

.valco-dropdown-link:hover .valco-dropdown-bar,
.valco-dropdown-link:focus .valco-dropdown-bar,
.valco-dropdown-link-active .valco-dropdown-bar {
	width: 1rem;
	margin-right: 0.75rem;
}

/* Active top-level item keeps its underline visible. */
.valco-nav-active > span:last-child,
.valco-nav-active span.absolute {
	width: 100%;
}

/* -------------------------------------------------------------------------
 * Mobile drawer
 * ---------------------------------------------------------------------- */

#valco-mobile-overlay,
#valco-mobile-drawer {
	transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

#valco-mobile-overlay[hidden],
#valco-mobile-drawer[hidden] {
	display: none;
}

#valco-mobile-overlay {
	opacity: 0;
}

#valco-mobile-drawer {
	transform: translateX(100%);
	overflow-y: auto;
}

body.valco-menu-open #valco-mobile-overlay {
	opacity: 1;
}

body.valco-menu-open #valco-mobile-drawer {
	transform: translateX(0);
}

body.valco-menu-open {
	overflow: hidden;
}

.valco-mobile-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
}

.valco-mobile-row .valco-mobile-parent-link {
	flex: 1 1 auto;
	border-bottom: 0;
	padding-bottom: 0;
}

.valco-mobile-group {
	border-bottom: 1px solid var(--border);
	padding-bottom: 1rem;
}

.valco-mobile-toggle {
	flex: 0 0 auto;
	padding: 0.5rem;
	color: var(--foreground);
	transition: transform 0.3s ease, color 0.3s ease;
}

.valco-mobile-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
	color: var(--primary);
}

.valco-mobile-submenu {
	display: none;
	flex-direction: column;
	gap: 0.25rem;
	margin-top: 1rem;
	padding-left: 1rem;
	border-left: 2px solid var(--secondary);
}

.valco-mobile-submenu.is-open {
	display: flex;
}

.valco-mobile-sublink {
	display: block;
	padding: 0.5rem 0;
	font-size: 1.0625rem;
	font-weight: 300;
	color: var(--muted-foreground, #6b7280);
	transition: color 0.25s ease, padding-left 0.25s ease;
}

.valco-mobile-sublink:hover,
.valco-mobile-sublink:focus {
	color: var(--primary);
	padding-left: 0.5rem;
}

/* -------------------------------------------------------------------------
 * Hero slider (Slick)
 * ---------------------------------------------------------------------- */

/* The section owns the height; every slider wrapper inherits it so the slide
   content stays vertically centred and is never clipped by .slick-list. */
.valco-hero {
	min-height: 760px;
}

.valco-hero-slider,
.valco-hero-slider .slick-list,
.valco-hero-slider .slick-track,
.valco-hero-slide {
	height: 100%;
}

.valco-hero-slider {
	position: absolute;
	inset: 0;
}

.valco-hero-slide {
	position: relative;
	display: block;
	width: 100%;
	padding-top: var(--valco-header-height);
}

/* Before Slick initialises, only show the first slide. */
.valco-hero-slider--multi:not(.slick-initialized) .valco-hero-slide + .valco-hero-slide {
	display: none;
}

/* The hero text is static, so the slider only moves the background image.
   Dots are off; the prev/next arrows sit above the overlay so they stay
   clickable over the fixed text. */
.valco-hero-slider .slick-dots {
	display: none !important;
}

.valco-hero-slider .slick-prev,
.valco-hero-slider .slick-next {
	z-index: 30;
	width: 3.5rem;
	height: 3.5rem;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: rgb(255 255 255 / 0.12);
	backdrop-filter: blur(2px);
	transition: background-color 0.3s ease;
}

.valco-hero-slider .slick-prev:hover,
.valco-hero-slider .slick-next:hover,
.valco-hero-slider .slick-prev:focus,
.valco-hero-slider .slick-next:focus {
	background: var(--primary);
}

.valco-hero-slider .slick-prev {
	left: 2rem;
}

.valco-hero-slider .slick-next {
	right: 2rem;
}

.valco-hero-slider .slick-prev:before,
.valco-hero-slider .slick-next:before {
	font-size: 2rem;
	line-height: 1;
	opacity: 0.9;
	color: #fff;
}

/* The slider is aria-hidden, so keep its arrows out of the a11y tree too. */
.valco-hero-slider .slick-arrow {
	cursor: pointer;
}

@media (max-width: 1024px) {
	.valco-hero-slider .slick-prev,
	.valco-hero-slider .slick-next {
		display: none !important;
	}
}

/* Slow zoom on the active slide image. */
.valco-hero-image {
	transform: scale(1);
	transition: transform 8s ease-out;
}

.slick-active .valco-hero-image {
	transform: scale(1.08);
}

.valco-hero-scroll {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 20;
	display: block;
	width: 1px;
	height: 4rem;
	overflow: hidden;
	background: rgb(255 255 255 / 0.25);
}

.valco-hero-scroll-line {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 40%;
	background: #fff;
	animation: valco-scroll-hint 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes valco-scroll-hint {
	0% { transform: translateY(-100%); }
	100% { transform: translateY(300%); }
}

@media (max-width: 1024px) {
	.valco-hero-slider .slick-dots { bottom: 1.5rem; }
	.valco-hero-scroll { display: none; }
}

/* -------------------------------------------------------------------------
 * Page banner
 * ---------------------------------------------------------------------- */

.valco-page-banner-inner {
	min-height: 26rem;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

@media (min-width: 1024px) {
	.valco-page-banner-inner {
		min-height: 32rem;
	}
}

.valco-banner-image {
	transform: scale(1.05);
	animation: valco-banner-zoom 12s ease-out forwards;
}

@keyframes valco-banner-zoom {
	from { transform: scale(1.15); }
	to   { transform: scale(1); }
}

/* -------------------------------------------------------------------------
 * Breadcrumbs
 * ---------------------------------------------------------------------- */

.valco-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.6);
}

.valco-breadcrumbs a {
	color: rgb(255 255 255 / 0.6);
	transition: color 0.25s ease;
}

.valco-breadcrumbs a:hover {
	color: #fff;
}

.valco-crumb-sep {
	color: rgb(255 255 255 / 0.3);
}

.valco-crumb-current {
	color: #fff;
}

/* -------------------------------------------------------------------------
 * Service tabs
 * ---------------------------------------------------------------------- */

.valco-tab-panel[hidden] {
	display: none;
}

[data-valco-tab] {
	cursor: pointer;
}

/* -------------------------------------------------------------------------
 * Category / product filter pills
 * ---------------------------------------------------------------------- */

.valco-filter-pill {
	display: inline-flex;
	align-items: center;
	padding: 0.625rem 1.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--foreground);
	background: #fff;
	border: 1px solid var(--border);
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.valco-filter-pill:hover,
.valco-filter-pill--active {
	color: #fff;
	background: var(--primary);
	border-color: var(--primary);
}

/* -------------------------------------------------------------------------
 * Gallery
 * ---------------------------------------------------------------------- */

.valco-gallery-item {
	background: var(--secondary);
}

/* Lightbox */
.valco-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem;
	background: rgb(0 0 0 / 0.92);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s;
}

.valco-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.valco-lightbox img {
	max-width: 100%;
	max-height: 88vh;
	object-fit: contain;
	transform: scale(0.94);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.valco-lightbox.is-open img {
	transform: scale(1);
}

.valco-lightbox-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	padding: 0.75rem;
	color: #fff;
	background: rgb(255 255 255 / 0.1);
	transition: background-color 0.25s ease;
}

.valco-lightbox-close:hover {
	background: var(--primary);
}

/* -------------------------------------------------------------------------
 * Pagination
 * ---------------------------------------------------------------------- */

.valco-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 4rem;
}

.valco-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 3rem;
	height: 3rem;
	padding: 0 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--foreground);
	background: #fff;
	border: 1px solid var(--border);
	transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.valco-pagination .page-numbers:hover,
.valco-pagination .page-numbers.current {
	color: #fff;
	background: var(--primary);
	border-color: var(--primary);
}

.valco-pagination .dots:hover {
	color: var(--foreground);
	background: #fff;
	border-color: var(--border);
}

/* -------------------------------------------------------------------------
 * Rich text (the_content and WYSIWYG fields)
 * ---------------------------------------------------------------------- */

.valco-rich-text > * + * {
	margin-top: 1.5rem;
}

.valco-rich-text p {
	line-height: 1.8;
}

.valco-rich-text h1,
.valco-rich-text h2,
.valco-rich-text h3,
.valco-rich-text h4,
.valco-rich-text h5,
.valco-rich-text h6 {
	font-family: "Playfair Display", serif;
	color: var(--foreground);
	line-height: 1.25;
	margin-top: 2.5rem;
}

.valco-rich-text h2 { font-size: clamp(2rem, 4vw, 3rem); }
.valco-rich-text h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.valco-rich-text h4 { font-size: 1.5rem; }

.valco-rich-text a {
	color: var(--primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.valco-rich-text a:hover {
	color: var(--foreground);
}

.valco-rich-text ul,
.valco-rich-text ol {
	padding-left: 1.5rem;
	list-style: disc;
}

.valco-rich-text ol {
	list-style: decimal;
}

.valco-rich-text li + li {
	margin-top: 0.5rem;
}

.valco-rich-text blockquote {
	padding: 1.5rem 2rem;
	border-left: 4px solid var(--primary);
	background: var(--secondary);
	font-size: 1.25rem;
	font-style: italic;
}

.valco-rich-text img {
	max-width: 100%;
	height: auto;
}

.valco-rich-text table {
	width: 100%;
	border-collapse: collapse;
}

.valco-rich-text th,
.valco-rich-text td {
	padding: 0.875rem 1rem;
	border: 1px solid var(--border);
	text-align: left;
}

.valco-rich-text th {
	background: var(--secondary);
	font-weight: 600;
}

.valco-editor-note {
	padding: 1rem 1.25rem;
	background: #fff8e5;
	border-left: 4px solid #f0b429;
	font-size: 0.9375rem;
	color: #6b5200;
}

/* -------------------------------------------------------------------------
 * Product PDF links
 * ---------------------------------------------------------------------- */

.valco-pdf-badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	padding: 0.375rem 0.75rem;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: var(--primary);
}

.valco-pdf-size {
	margin-left: 0.5rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: none;
	color: var(--muted-foreground, #6b7280);
}

/* Grow the rule on hover, matching the design's link treatment. */
.group\/pdf:hover .w-8.h-px,
a:hover > .w-8.h-px {
	width: 3rem;
}

/* -------------------------------------------------------------------------
 * Specification list
 * ---------------------------------------------------------------------- */

.valco-spec-row {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--border);
}

.valco-spec-row:last-child {
	border-bottom: 0;
}

.valco-spec-row dt {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-foreground, #6b7280);
}

.valco-spec-row dd {
	margin: 0;
	font-weight: 500;
	text-align: right;
	color: var(--foreground);
}

/* -------------------------------------------------------------------------
 * Post meta, tags, comments
 * ---------------------------------------------------------------------- */

.valco-post-cats a,
.valco-post-tags a {
	color: var(--primary);
	transition: color 0.25s ease;
}

.valco-post-cats a:hover,
.valco-post-tags a:hover {
	color: var(--foreground);
}

.valco-post-tags a {
	display: inline-block;
	margin: 0 0.5rem 0.5rem 0;
	padding: 0.375rem 1rem;
	font-size: 0.8125rem;
	background: var(--secondary);
	color: var(--foreground);
}

.valco-post-tags a:hover {
	background: var(--primary);
	color: #fff;
}

.valco-comment-list,
.valco-comment-list .children {
	list-style: none;
	padding: 0;
}

.valco-comment-list .children {
	padding-left: 2rem;
	margin-top: 1.5rem;
}

.valco-comments .comment-body {
	padding: 2rem;
	margin-bottom: 1.5rem;
	background: var(--secondary);
}

.valco-comments .comment-form input[type="text"],
.valco-comments .comment-form input[type="email"],
.valco-comments .comment-form input[type="url"],
.valco-comments .comment-form textarea {
	width: 100%;
	padding-bottom: 0.75rem;
	background: transparent;
	border: 0;
	border-bottom: 2px solid var(--border);
	transition: border-color 0.25s ease;
}

.valco-comments .comment-form input:focus,
.valco-comments .comment-form textarea:focus {
	outline: none;
	border-color: var(--primary);
}

.valco-comments .comment-form label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted-foreground, #6b7280);
}

.valco-comments .comment-form p {
	margin-bottom: 1.75rem;
}

/* -------------------------------------------------------------------------
 * Contact Form 7 — styled to match the design's underlined inputs
 * ---------------------------------------------------------------------- */

.valco-cf7 .wpcf7-form p {
	margin-bottom: 2rem;
}

.valco-cf7 .wpcf7-form-control-wrap {
	display: block;
}

.valco-cf7 input[type="text"],
.valco-cf7 input[type="email"],
.valco-cf7 input[type="tel"],
.valco-cf7 input[type="url"],
.valco-cf7 input[type="number"],
.valco-cf7 input[type="date"],
.valco-cf7 select,
.valco-cf7 textarea {
	width: 100%;
	padding-bottom: 1rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 300;
	color: var(--foreground);
	background: transparent;
	border: 0;
	border-bottom: 2px solid var(--border);
	border-radius: 0;
	transition: border-color 0.25s ease;
	appearance: none;
}

.valco-cf7 select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.25rem center;
	padding-right: 1.75rem;
}

.valco-cf7 textarea {
	resize: none;
	min-height: 7rem;
}

.valco-cf7 input:focus,
.valco-cf7 select:focus,
.valco-cf7 textarea:focus {
	outline: none;
	border-bottom-color: var(--primary);
}

.valco-cf7 ::placeholder {
	color: var(--muted-foreground, #6b7280);
	opacity: 1;
}

.valco-cf7 .valco-form-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.valco-cf7 .valco-form-row {
		grid-template-columns: 1fr 1fr;
	}
}

.valco-cf7 input[type="submit"],
.valco-cf7 .wpcf7-submit {
	width: 100%;
	padding: 1.25rem 2.5rem;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 500;
	color: #fff;
	background: var(--primary);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
	.valco-cf7 input[type="submit"],
	.valco-cf7 .wpcf7-submit {
		width: auto;
	}
}

.valco-cf7 input[type="submit"]:hover,
.valco-cf7 .wpcf7-submit:hover {
	background: #001d9e;
}

.valco-cf7 .wpcf7-spinner {
	margin-left: 1rem;
}

.valco-cf7 .wpcf7-not-valid-tip {
	margin-top: 0.5rem;
	font-size: 0.8125rem;
	color: #dc2626;
}

.valco-cf7 .wpcf7-response-output {
	margin: 2rem 0 0;
	padding: 1rem 1.25rem;
	border-width: 2px;
	font-size: 0.9375rem;
}

/* -------------------------------------------------------------------------
 * Footer newsletter — The Newsletter Plugin, styled to the HTML design
 *
 * The design is an underlined transparent email field with an arrow-right
 * button beside it. The plugin wraps its input in .tnp-field, so that wrapper
 * is flattened into the flex row here.
 * ---------------------------------------------------------------------- */

.valco-footer-form form,
.valco-footer-form .tnp-subscription {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

/* Flatten the plugin's field wrapper so the input sits inline with the button. */
.valco-footer-form .tnp-field,
.valco-footer-form .tnp-field-email {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.valco-footer-form .tnp-field label {
	display: none;
}

.valco-footer-form input[type="email"],
.valco-footer-form input[type="text"],
.valco-footer-form .tnp-email {
	width: 100%;
	margin: 0;
	padding: 0 0 0.75rem;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.5;
	color: #fff;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.2);
	border-radius: 0;
	box-shadow: none;
	transition: border-color 0.25s ease;
	appearance: none;
}

.valco-footer-form input[type="email"]:focus,
.valco-footer-form .tnp-email:focus {
	outline: none;
	border-bottom-color: #fff;
}

.valco-footer-form input::placeholder,
.valco-footer-form .tnp-email::placeholder {
	color: rgb(255 255 255 / 0.3);
	opacity: 1;
}

/* Arrow submit button, matching the design. */
.valco-footer-form button[type="submit"] {
	padding: 0 0 0.75rem;
	background: none;
	border: 0;
	cursor: pointer;
	line-height: 0;
}

/* If a form supplies the plugin's default input[type=submit] instead of the
   arrow button, keep it on brand rather than letting it render unstyled. */
.valco-footer-form input[type="submit"],
.valco-footer-form .tnp-submit {
	width: auto;
	margin-top: 1rem;
	padding: 0.75rem 2rem;
	color: #fff;
	background: var(--primary);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Plugin response / error messages. */
.valco-footer-form .tnp-error,
.valco-footer-form .tnp-message {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: rgb(255 255 255 / 0.7);
}

/* -------------------------------------------------------------------------
 * Sidebar & widgets
 * ---------------------------------------------------------------------- */

.valco-sidebar .widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.valco-sidebar .widget a {
	transition: color 0.25s ease;
}

.valco-sidebar {
	position: sticky;
	top: calc(var(--valco-header-height) + 2rem);
}

@media (max-width: 1023px) {
	.valco-sidebar {
		position: static;
	}
}

/* -------------------------------------------------------------------------
 * Map
 * ---------------------------------------------------------------------- */

.valco-map-section {
	line-height: 0;
	filter: grayscale(100%) contrast(1.1);
	transition: filter 0.5s ease;
}

.valco-map-section:hover {
	filter: grayscale(0);
}

/* -------------------------------------------------------------------------
 * Back to top
 * ---------------------------------------------------------------------- */

.valco-back-to-top {
	position: fixed;
	right: 1.5rem;
	bottom: 1.5rem;
	z-index: 45;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	color: #fff;
	background: var(--primary);
	opacity: 0;
	visibility: hidden;
	transform: translateY(0.75rem);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.3s ease;
}

.valco-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.valco-back-to-top:hover {
	background: var(--foreground);
}

/* -------------------------------------------------------------------------
 * Header scroll state
 * ---------------------------------------------------------------------- */

#valco-header.is-scrolled {
	height: 5rem;
	box-shadow: 0 10px 30px -15px rgb(0 0 0 / 0.2);
}

#valco-header.is-scrolled img {
	height: 3rem;
}

#valco-header img {
	transition: height 0.3s ease;
}

/* -------------------------------------------------------------------------
 * Utility fallbacks for classes the compiled build may not include
 * ---------------------------------------------------------------------- */

.line-clamp-2,
.line-clamp-3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-2 { -webkit-line-clamp: 2; }
.line-clamp-3 { -webkit-line-clamp: 3; }

.valco-industry-tile {
	display: block;
}

.valco-cat-card {
	position: relative;
	display: block;
	overflow: hidden;
}

.valco-cat-card-media {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--secondary);
}

.valco-page-links {
	margin-top: 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.valco-page-links a {
	display: inline-block;
	margin-left: 0.5rem;
	padding: 0.375rem 0.875rem;
	background: var(--secondary);
	color: var(--foreground);
}

.valco-page-links a:hover {
	background: var(--primary);
	color: #fff;
}
