/**
 * Paste this entire file into Impreza → Theme Options → Custom CSS.
 * It replaces the previous Custom CSS block.
 *
 * Omitted (already in pwd-impreza-child/style.css):
 * - .w-tabs.accordion.category-accord grid
 * - .hp-menu--user-account mobile horizontal scroll + listings-edit hide (except sidebar padding below)
 *
 * HivePress .hp-page__content / .hp-page__header padding: see style.css (--hp-page-padding-*).
 * If Theme Options still has the old `.woocommerce-account .hp-page__sidebar { padding: 0.75rem }`
 * block, remove it or re-paste this entire file so the rules below win.
 */

/* -- Footer - Replace Image with FontAwesome Icons -- */
.c-footer-icons .w-iconbox.style_circle .w-iconbox-icon,
.c-footer-icons .w-iconbox.style_outlined .w-iconbox-icon {
	width: auto;
}

/* -- Resolve HivePress Elements Issue After Theme/Plugin Updates -- */
.hp-form__field.hp-form__field--location .hp-field--location a {
	width: 100% !important;
}

.hp-form__field.hp-form__field--location i.hp-icon.fas.fa-location-arrow {
	position: absolute !important;
	right: 32px !important;
}

.hp-form__field.hp-form__field--location i.hp-icon.fas.fa-location-arrow::before {
	color: var(--inputs-text-color);
}

.hp-form__field.hp-form__field--select .select2-selection:after {
	top: 25px;
}

.hp-field.hp-field--date-range a {
	padding-right: 32px;
}

.hp-form--listing-search button.hp-form__button {
	background: var(--color-dark-blue);
	color: #fff !important;
}

.hp-form--listing-search button.hp-form__button:hover,
.hp-form--listing-search button.hp-form__button:focus {
	background: var(--color-blue);
}

.hp-form--narrow.hp-block.hp-form.hp-form--user-login .hp-form__button:not(:last-child) {
	font-family: forma-djr-display;
	font-style: normal;
	text-transform: none;
	font-size: 18px;
	line-height: 1.2 !important;
	font-weight: 500;
	letter-spacing: 0.036em;
	padding: var(--btn-padding, 0.72em 1.45em) !important;
	transition-duration: 0.3s;
	border-radius: var(--btn-radius, 9999px) !important;
	transition-timing-function: ease;
	--btn-border-width: 2px;
	--btn-background: var(--color-dark-blue);
	--btn-hover-background: var(--color-blue);
	background: var(--btn-background, transparent);
	border-color: var(--btn-border-color, transparent);
	border-image: none;
	color: #fff !important;
}

.hp-form--narrow.hp-block.hp-form.hp-form--user-login .hp-form__button:not(:last-child):hover,
.hp-form--narrow.hp-block.hp-form.hp-form--user-login .hp-form__button:not(:last-child):focus {
	background: var(--color-blue);
}

.hp-form--listing-search .hp-form__fields .hp-form__field {
	padding-left: 32px;
}

.pagination > :not(.custom) .page-numbers {
	font-size: 1.4rem;
	line-height: 3.5rem;
	height: 3.5rem;
	width: 3.5rem;
	overflow: hidden;
	border-radius: 50%;
	transition: none;
}

.pagination .page-numbers {
	flex-shrink: 0;
	text-align: center;
	position: relative;
	margin: 0.2rem;
}

button[type='submit']:not(.w-btn),
input[type='submit']:not(.w-btn),
.woocommerce .button,
.woocommerce .actions .button,
.woocommerce .button.alt,
.woocommerce .button.checkout,
.woocommerce .button.add_to_cart_button,
.us-nav-style_1 > *,
.navstyle_1 > .owl-nav button,
.w-btn[class*='us-btn-style_']:not(.w-search-form-btn):not(.w-tabs-section-header),
.us-btn-style_1,
.us-btn-style_2,
.us-btn-style_3,
.us-btn-style_4 {
	font-family: forma-djr-display;
	font-style: normal;
	text-transform: none;
	font-size: 18px;
	line-height: 1.2 !important;
	font-weight: 500;
	letter-spacing: 0.036em;
	padding: var(--btn-padding, 0.72em 1.45em) !important;
	transition-duration: 0.3s;
	border-radius: var(--btn-radius, 9999px) !important;
	transition-timing-function: ease;
}

/* Primary filled Impreza buttons (Sign Up, View Job, etc.) — not header Login (style_4). */
.w-btn.us-btn-style_1,
.us-btn-style_1 {
	background: var(--color-dark-blue);
	border-color: transparent;
	border-image: none;
	color: #fff !important;
}

.no-touch .w-btn.us-btn-style_1:hover,
.no-touch .us-btn-style_1:hover {
	background: var(--color-blue);
}

.w-btn[class*='us-btn-style_']:not(.w-search-form-btn):not(.w-tabs-section-header)::before {
	border-radius: inherit;
}

/* -- Mobile Optimisation -- */
@media screen and (max-width: 768px) {
	.w-tabs.accordion > div > .w-tabs-section > .w-tabs-section-content {
		padding-bottom: 0 !important;
		padding-left: 32px !important;
		padding-right: 32px !important;
	}

	.w-tabs.accordion.accord-style-3 > div > .w-tabs-section > .w-tabs-section-content {
		padding-bottom: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.w-tabs.accordion.accord-style-2 > div > .w-tabs-section > button.w-tabs-section-header {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.w-tabs.accordion.accord-style-2 > div > .w-tabs-section > .w-tabs-section-content {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.c-three-columns-layout-fields .gfield_radio {
		display: block !important;
	}

	/* Account sidebar inset (body-level HivePress + WooCommerce classes). */
	body.hp-template--user-account-page .hp-page__sidebar,
	body.hp-template--user-account-page .hp-row .hp-page__sidebar,
	body.woocommerce-account .hp-page__sidebar,
	body.woocommerce-account .hp-row .hp-page__sidebar {
		min-width: 0 !important;
		max-width: 100%;
		overflow: hidden;
		padding-block: var(--hp-page-padding-block, 2rem);
		padding-inline: var(--hp-page-padding-inline, 1rem);
		margin-bottom: 0;
		box-sizing: border-box;
	}

	.post-type-archive-hp_request .hp-row .hp-grid__item.hp-col-sm-12.hp-col-xs-12 {
		padding-right: 0;
		padding-left: 0;
	}

	.hp-listing--view-block,
	.hp-offer--view-block,
	.hp-membership-plan--view-block {
		padding-right: 0;
		padding-left: 0;
	}

}
