/*
Theme Name: PilotFish Healthcare
Theme URI: https://healthcare.pilotfishtechnology.com/
Author: PilotFish
Description: Custom WordPress theme for PilotFish Healthcare pages, powered by ACF Pro Flexible Content and Tailwind CSS.
Version: 0.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
Text Domain: pilotfish-healthcare
*/

.pfh-flexible-layout[data-has-padding-top="1"] > *:first-child {
	padding-top: var(--pfh-section-padding-top) !important;
}

.pfh-flexible-layout[data-has-padding-bottom="1"] > *:first-child {
	padding-bottom: var(--pfh-section-padding-bottom) !important;
}

.pfh-header-search {
	position: relative;
}

.pfh-header-search.is-open .pfh-search-toggle {
	opacity: 0;
	pointer-events: none;
}

.pfh-header-search-panel {
	position: absolute;
	top: calc(100% + 0.75rem);
	right: 0;
	z-index: 80;
	width: min(30rem, calc(100vw - 2rem));
}

.pfh-header-search-form {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	border-radius: 1rem;
	background: #fff;
	border: 1px solid rgba(203, 213, 225, 0.9);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.pfh-header-search-icon {
	flex: 0 0 auto;
	font-size: 1.75rem;
	color: rgb(100 116 139);
}

input.pfh-header-search-input,
input.pfh-header-search-input:focus,
input.pfh-header-search-input:focus-visible {
	flex: 1 1 auto;
	width: 100%;
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 0 !important;
	color: rgb(15 23 42);
	font-size: 16px;
	line-height: 1.5;
}

input.pfh-header-search-input::placeholder {
	color: rgb(148 163 184);
}

@media (max-width: 1023px) {
	.pfh-header-search-panel {
		right: -0.5rem;
		width: min(24rem, calc(100vw - 2rem));
	}
}

.pfh-sticky-resource-filter {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 4.75rem) !important;
}

@media (min-width: 1024px) {
	.pfh-sticky-resource-filter {
		top: calc(var(--wp-admin--admin-bar--height, 0px) + -0.1rem) !important;
	}
}

.pfh-footer-menu a,
.pfh-footer-widget-column a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.pfh-footer-menu a:hover,
.pfh-footer-widget-column a:hover {
	color: #fff;
}

.pfh-footer-widget-column .widget:last-child {
	margin-bottom: 0;
}

.pfh-footer-widget-column img {
	display: block;
	height: auto;
	max-width: 100%;
}

.pfh-footer-widget-column p,
.pfh-footer-widget-column ul,
.pfh-footer-widget-column ol {
	margin: 0 0 1rem;
}

.pfh-footer-widget-column p:last-child,
.pfh-footer-widget-column ul:last-child,
.pfh-footer-widget-column ol:last-child {
	margin-bottom: 0;
}
