/* 
Theme Name: Flare Path
Theme URI: https://flarepath.co.uk/
Author: Freelance-Creator
Author URI: https://www.freelance-creator.com/
Template: astra
Version: 1.0.0
*/

/* Astra Header Builder */
#ast-desktop-header, #ast-mobile-header {
	position: fixed;
	top: 0;
	left: 0;
	padding: 0;
	width: 100%;
	transition: all ease-out 0.5s;
}

#ast-desktop-header.active, #ast-mobile-header.active {
	background: rgba(0, 0, 0, 0.9);
	box-shadow: 0 2px 12px rgba(255, 255, 255, 0.07);
	padding: 0;
}

.custom-logo-link .custom-logo {
	content: url('/wp-content/uploads/2026/10/flarepath-logo-animated-white-600.png')!important;
}

body.home header img.custom-logo {
	width: 220px !important;
	max-width: 220px !important;
	height: auto !important;
}

@media (max-width: 921px) {
	body.home header img.custom-logo {
		width: 140px !important;
		max-width: 140px !important;
	}
}

#ast-desktop-header.active img.custom-logo,
#ast-mobile-header.active img.custom-logo {
	width: 80px!important;
	transition: all ease-out 0.5s;
}

/* Submenu links on non-transparent-header pages */
body:not(.ast-theme-transparent-header) .ast-builder-menu-1 .sub-menu .menu-item .menu-link {
	color: #000000 !important;
}

body:not(.ast-theme-transparent-header) .ast-builder-menu-1 .sub-menu .menu-item .menu-link:hover,
body:not(.ast-theme-transparent-header) .ast-builder-menu-1 .sub-menu .menu-item.current-menu-item > .menu-link {
	color: #ca2e2f !important;
}

/* Match the small arrow icons inside the submenu links */
body:not(.ast-theme-transparent-header) .ast-builder-menu-1 .sub-menu .menu-link .ast-arrow-svg {
	fill: #000000 !important;
}

body:not(.ast-theme-transparent-header) .ast-builder-menu-1 .sub-menu .menu-link:hover .ast-arrow-svg {
	fill: #ca2e2f !important;
}

/* Deals Slider */
.fp-deals {
	--fp-red: #ca2e2f;
	--fp-red-dark: #a82425;
	--fp-black: #000000;
	--fp-white: #ffffff;
	--fp-grey: #f7f8f8;
	--fp-text: #4a4a4a;
	--fp-border: #e3e5e5;

	position: relative;
	max-width: 100%;
	margin: 0 auto;
}

.fp-deals__radio {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.fp-deals__viewport {
	overflow: hidden;
	border-radius: 6px;
}

.fp-deals__track {
	display: flex;
	width: 100%;
	transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.fp-deals__slide {
	flex: 0 0 100%;
	min-width: 100%;
	box-sizing: border-box;
}

#fp-deal-1:checked ~ .fp-deals__viewport .fp-deals__track { transform: translateX(0); }
#fp-deal-2:checked ~ .fp-deals__viewport .fp-deals__track { transform: translateX(-100%); }
#fp-deal-3:checked ~ .fp-deals__viewport .fp-deals__track { transform: translateX(-200%); }
#fp-deal-4:checked ~ .fp-deals__viewport .fp-deals__track { transform: translateX(-300%); }

.fp-deals__card {
	position: relative;
	background: var(--fp-white);
	border: 1px solid var(--fp-border);
	border-left: 6px solid var(--fp-red);
	border-radius: 6px;
	padding: 56px 64px;
	min-height: 300px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.fp-deals__tag {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--fp-red);
	margin-bottom: 14px;
}

.fp-deals__heading {
	margin: 0 0 16px;
	font-size: clamp(24px, 3vw, 36px);
	line-height: 1.2;
	font-weight: 700;
	color: var(--fp-black);
}

.fp-deals__text {
	margin: 0 0 28px;
	max-width: 640px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--fp-text);
}

.fp-deals__btn {
	display: inline-block;
	padding: 16px 24px;
	background: var(--fp-red);
	color: var(--fp-white);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1em;
	text-transform: uppercase;
	border: 2px solid var(--fp-red);
	border-radius: 4px;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.fp-deals__btn:hover,
.fp-deals__btn:focus-visible {
	background: var(--fp-black);
	border-color: var(--fp-black);
	color: var(--fp-white);
}

.fp-deals__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 28px;
}

.fp-deals__dots {
	display: flex;
	gap: 10px;
}

.fp-deals__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #c9cccc;
	cursor: pointer;
	transition: background-color 0.25s ease, width 0.25s ease;
}

.fp-deals__dot:hover {
	background: var(--fp-black);
}

#fp-deal-1:checked ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-1"],
#fp-deal-2:checked ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-2"],
#fp-deal-3:checked ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-3"],
#fp-deal-4:checked ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-4"] {
	width: 32px;
	border-radius: 6px;
	background: var(--fp-red);
}

#fp-deal-1:focus-visible ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-1"],
#fp-deal-2:focus-visible ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-2"],
#fp-deal-3:focus-visible ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-3"],
#fp-deal-4:focus-visible ~ .fp-deals__controls .fp-deals__dot[for="fp-deal-4"] {
	outline: 2px solid var(--fp-black);
	outline-offset: 3px;
}

.fp-deals__arrow {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--fp-black);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: background-color 0.25s ease;
}

.fp-deals__arrow::before {
	content: "";
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--fp-white);
	border-right: 2px solid var(--fp-white);
}

.fp-deals__arrow--prev::before { transform: translateX(2px) rotate(-135deg); }
.fp-deals__arrow--next::before { transform: translateX(-2px) rotate(45deg); }

.fp-deals__arrow:hover {
	background: var(--fp-red);
}

#fp-deal-1:checked ~ .fp-deals__controls .fp-deals__arrow--s1,
#fp-deal-2:checked ~ .fp-deals__controls .fp-deals__arrow--s2,
#fp-deal-3:checked ~ .fp-deals__controls .fp-deals__arrow--s3,
#fp-deal-4:checked ~ .fp-deals__controls .fp-deals__arrow--s4 {
	display: flex;
}

@media (max-width: 767px) {
	.fp-deals__card {
		padding: 36px 28px;
		min-height: 0;
		border-left-width: 4px;
	}

	.fp-deals__text {
		font-size: 16px;
	}

	.fp-deals__btn {
		width: 100%;
		text-align: center;
		box-sizing: border-box;
	}

	.fp-deals__arrow {
		width: 38px;
		height: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fp-deals__track,
	.fp-deals__dot,
	.fp-deals__btn {
		transition: none;
	}
}