/* Adisp redesign */

/* Remove Enfold's grid lines */
#top [id*="after_grid_row_"] {
	border: 0 !important;
}

#main .adisp-hero-section h1, #main .adisp-hero-section p {
	color:#fff;
	text-align:center;
}


/* Our leaner spacer */
#top .content:has(.adisp-spacer) {
	padding-top: 12px;
	padding-bottom: 12px;
}
/* --------------------------- */
/* 3 badges overlapping hero */
/* --------------------------- */

/* Enfold grid container, hero version pulls up to overlap the hero section */
.adisp-badge-row, .adisp-badge-row-hero {
	display: flex;
	justify-content: center;
}

/* Pull the badges up so they overlap the bottom of the hero */
/*.adisp-badge-row-hero .flex_cell_inner {
    margin-top:-60px !important;
}*/

/* Outer/small hero badges should overlap less */
/*.adisp-badge-row-hero .flex_cell_inner:has(.adisp-badge--small) {
	margin-top: -30px !important;
}*/

/* Outer cells overlap less */
.adisp-badge-row-hero .adisp-hero-badge-cell--small .flex_cell_inner {
	margin-top: -30px !important;
}

/* Centre cell overlaps more */
.adisp-badge-row-hero .adisp-hero-badge-cell--large .flex_cell_inner {
	margin-top: -60px !important;
}

/* Set gaps between badges */
.adisp-badge-row {
	display: flex;
	justify-content: center;
	gap: 24px;
	padding-left: 12px;
	padding-right: 12px;
}

.adisp-badge-row > .adisp-badge-cell {
	width: auto !important;
	padding: 0;
	overflow: visible !important; /* stop Enfold hiding these at smaller evice size */
}



/* Common look for all badges */
.adisp-badge {
    background: #1f9db0;
    border-radius: 24px;
    color:#fff;
}

/* Badges under hero have unique padding */
.adisp-badge-row-hero .adisp-badge {
    padding: 0 28px 18px;
    text-align: center;
}

.adisp-badge-row .adisp-badge {
	width: clamp(210px, 26vw, 345px) !important;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

.adisp-badge-row .adisp-badge--small {
	width: clamp(180px, 22vw, 268px) !important;
        background:#3a4d5c;
}

/* Non-hero badges have their own padding */
.adisp-badge-row .adisp-badge--small .adisp-badge-text{

   padding-left:16px;
   padding-right:16px;
   position:relative;
   padding-right: 58px;
   padding-top:10px;
   padding-bottom:10px;
}

#top .adisp-badge-row .adisp-badge--small .adisp-badge-text p {
    color:#76f5f0;
    margin-top:0px;
    font-size:0.9em;
	line-height:1.2em;
}

.adisp-service h3 {
    font-size:22px;
}

#top .adisp-badge-row .adisp-badge--small .adisp-badge-text h3 {
	font-size:18px;
}

#main .adisp-help h3, .adisp-lozenge-copy h3 {
	font-size:42px;
	font-weight:bold;
}

.adisp-service h3 {
	text-align:center;
}
/* ---------------------------------------------------------------- */
/* Lower badge height stabilisation + icon alignment                */
/* ---------------------------------------------------------------- */

/*
Problem:
- The lower 3-up badges contain headings/text with different line counts.
- At some responsive widths this made each badge/text area a different height.
- The arrow icon is positioned with top: 50%, so it drifted when its
  positioning context had variable height.

Approach:
- Stabilise the row first using flex stretching:
    1. The badge row stretches its children.
    2. Each .adisp-badge-cell becomes a flex container.
    3. Each .adisp-badge fills the available height.
    4. The Enfold textblock wrapper and .adisp-badge-text stretch to fill
       the remaining card height.

Result:
- All badges in the row share the height of the tallest badge.
- The text area becomes a stable positioning context.
- The icon can be centred with top: 50% and translateY(-50%) without
  depending on heading/text line length. BUT its 40 not 50 because a margin on the img container makes the coloured bg larger so it looks off by the amount of the margin.

Why the icon stays on .adisp-badge-text:
- Positioning the icon relative to the whole badge centred it in the
  complete card, including the image, which looked wrong.
- The desired visual alignment is the centre of the text panel, not
  the centre of the full badge.

Key lesson:
- Stabilise the card/text area first.
- Then place the icon relative to that stable text area.
*/

@media only screen and (min-width: 768px) {
	.adisp-badge-row:not(.adisp-badge-row-hero) > .adisp-badge-cell {
		display: flex;
	}

	.adisp-badge-row:not(.adisp-badge-row-hero) .adisp-badge {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.adisp-badge-row:not(.adisp-badge-row-hero) .adisp-badge .av_textblock_section {
		flex: 1 1 auto;
		display: flex;
	}

	.adisp-badge-row:not(.adisp-badge-row-hero) .adisp-badge-text {
		position: relative;
		flex: 1 1 auto;
	}
}

.adisp-badge-row:not(.adisp-badge-row-hero) .adisp-badge-text::after {
	content: "";
	position: absolute;
	right: 16px;
	top: 40%;
	transform: translateY(-50%);
	width: 28px;
	height: 28px;
	background: #76f5f0;

	-webkit-mask-image: url('/wp-content/uploads/2026/05/Component-2-–-1.svg');
	mask-image: url('/wp-content/uploads/2026/05/Component-2-–-1.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}
/* Common styles for img on a badge */
.adisp-badge img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 0px;
    border-top-left-radius: 18px;
	border-top-right-radius: 18px;
}

/* The hero badge images are hoisted up out of their box a bit */
.adisp-badge-row-hero .adisp-badge img {
    margin-top: -27%;
}

/*.pill-button {
	display: inline-flex;
	align-items: center;
	position: relative;
	padding: 8px 18px;
	border: 1px solid #fff;
	border-radius: 999px;
	background: transparent;
	color: #48f4f1;
	font-family: Arial, sans-serif;
	font-weight: 700;
	font-size: 1em;
	line-height: 1;
	text-decoration: none !important;
	letter-spacing: 0.5px;
	white-space: nowrap;
}*/

.pill-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;

	min-height: 20px;
	padding: 9px 54px 9px 20px;

	border: 2px solid currentColor;
	border-radius: 999px;

	background: transparent;
	color: #48f4f1 !important;

	font-family: Arial, sans-serif;
	font-weight: 700;
	font-size: 0.875rem;
	line-height: 1;
	text-decoration: none !important;
	letter-spacing: 0.5px;
	white-space: nowrap;

	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}
#top .adisp-other-row .pill-button  {
	color:inherit !important;
}

#top .adisp-other-row .adisp-button-block a {
	border-color:#3a4d5c;
}

#top .pill-button:hover,
#top .pill-button:focus {
	background: #fff;
	color: #3a4d5c;
	border-color: #48f4f1;
}


.pill-button::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 2px;
	transform: translateY(-50%);
	color: #48f4f1 !important;
	width: 28px;
	height: 28px;
	border-radius: 50%;

	background-color: currentColor;

	-webkit-mask-image: url('/wp-content/uploads/2026/05/Component-2-–-1.svg');
	mask-image: url('/wp-content/uploads/2026/05/Component-2-–-1.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 80% 80%;
	mask-size: 80% 80%;

	transition: background-color 0.2s ease;
}

/* ---------------------------- */
/* 2 col layout, img breaks out */
/* ---------------------------- */

.expo-breakout-section {
	background: #1f9db0 !important;
	overflow: visible;
	position: relative;
	margin-top: 0px;
	margin-bottom: 0px;
}

#top .expo-breakout-section::before {
	top: 80px;
}

.expo-breakout-section .entry-content-wrapper h2 {
	text-transform:none;
	font-size:2.8em;
}
.expo-breakout-section::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	pointer-events: none;
	background: #55c0cc;

	clip-path: polygon(
		58% 0,
		100% 0,
		100% 100%,
		48% 100%
	);
}

.expo-breakout-section .container {
	position: relative;
	z-index: 1;
	overflow: visible;
}

.expo-breakout-image {
	position: relative;
	z-index: 2;
	--expo-breakout-y: 25%;
	--expo-breakout-bottom: 32%;
    --expo-breakout-bottom-none: 20%;
}

.custom-gap-row {
	margin-left: -20px;
	margin-right: -10px;
}

.custom-gap-row .flex_column {
	padding-left: 20px;
	padding-right: 20px;
}

/* The image should breakout of its background both top and bottom */
.expo-breakout-image img {
	display: block;
	transform: translateY(calc(-1 * var(--expo-breakout-y)));
	margin-bottom: calc(-1 * var(--expo-breakout-bottom));
}

/* The image should breakout of its background only at the top, not the bottom */
.expo-breakout-image-top-only img {
	display: block;
	transform: translateY(calc(-1 * var(--expo-breakout-y)));
	margin-bottom: calc(-1 * var(--expo-breakout-bottom-none));
}


/* --------------------------- */
/* Banner with CTA             */
/* --------------------------- */

/* Darker colour for the central area */
.main_color.adisp-banner {
	background-color:#3a4d5c;
	position: relative;
	overflow: hidden;
}

/* Banner text is white centered */
.adisp-banner-text, .main_color .adisp-banner-text h3 {
	color:#fff;
	margin:0 auto;
	text-align:center;
}

#top .adisp-banner .adisp-banner-text p:first-of-type {
	font-size:1.2em;
	color: #76f5f0;
}

.adisp-banner-text h3 {
	font-size:1.7em;
}

.adisp-bg-image-banner .adisp-banner-text {
	text-align:left;
	font-weight:600;

}
/* Keep banner content above the curve layers */
.main_color.adisp-banner .container,
.main_color.adisp-banner .entry-content-wrapper,
.adisp-banner-text {
	position: relative;
	z-index: 2;
}

/* Left 15% teal area */
/*
.main_color.adisp-banner::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 15%;
	z-index: 1;
	pointer-events: none;
	background: #365767;

	clip-path: polygon(
		0 0,
		100% 0,
		82% 70%,
		72% 88%,
		58% 97%,
		42% 100%,
		0 100%
	);

	transform: scaleY(-1);
	transform-origin: center;
}
*/
/* Right 15% teal area */
/*
.main_color.adisp-banner::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 15%;
	z-index: 1;
	pointer-events: none;
	background: #365767;

	clip-path: polygon(
		0 0,
		100% 0,
		100% 100%,
		58% 100%,
		42% 97%,
		28% 88%,
		18% 70%
	);
}
*/
.adisp-banner .pill-button {
	position:relative;
	top:20px;
}


/* --------------------------- */
/* 3 col other svcs with icon  */
/* --------------------------- */

.adisp-other-row h3, .adisp-other-row h4 {
	font-weight:600 !important;

}

.adisp-other-row h3 {
	font-size:3em;
	line-height:3em;
}

.adisp-other-row h4 {
	font-size:1.6em;
	line-height:1.6em;
}


/* Stop Enfold dflt centering. Design has icon left of text. */
.adisp-circle-icon.avia-image-container {
	text-align: left !important;
	margin-left:-10px !important;
}

.adisp-circle-icon .avia-image-container-inner {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 105px;
	height: 105px;
	border-radius: 50%;
	background: #3a4d5c;
	margin-top:20px !important;
	margin-bottom:20px !important;
}

.adisp-circle-icon .avia_image,
.adisp-circle-icon img {
	display: block;
	width: 70px !important;
	height: 70px !important;
	object-fit: contain;
	margin: 0 !important;
}

/* Buttons inside other services */
.adisp-other-row .flex_column {
	position: relative;
	padding-bottom: 60px; /* reserve space for button */
}

/* button text block anchor to bottom to ensure alignment despite text length */
/*.adisp-other-row .flex_column > .av_textblock_section:last-child {*/
.adisp-other-row .adisp-button-block {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
}

/* --------------------------- */
/* Visit our shop lozenge layout*/
/* --------------------------- */

/*
Enfold limitation:
- Classes added in ALB are applied to INNER wrappers (e.g. .avia_textblock),
  not to the direct children of .adisp-lozenge.

CSS Grid requirement:
- grid-area must be applied to DIRECT children of the grid container.

Solution:
- Use :has() to "bubble up" the inner class to the parent element.
- This lets us target the correct grid items without changing markup.

Structure expected (order does not matter due to grid-template-areas):

.adisp-lozenge
  section (contains .adisp-lozenge-copy)
  section (contains .adisp-lozenge-search)
  div (image, has .adisp-lozenge-image directly)
  section (contains .adisp-lozenge-button)
*/

/* Main grid container */
.adisp-lozenge {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-areas:
		"copy image"
		"search button";
	row-gap: 0px;
	column-gap: 48px;
	overflow: hidden;
	border-radius: 28px;
	background: #1f9db0;
	padding: 45px;
	padding-top:28px;
	color:#fff;
}

/* Add curve to the lozenge section */
.adisp-lozenge .adisp-lozenge-bg {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	margin: 0 !important;
	padding: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	background: #55c0cc;

	clip-path: polygon(
		58% 0,
		100% 0,
		100% 100%,
		48% 100%
	);
}

.adisp-lozenge > * {
	position: relative;
	z-index: 2;
}

.main_color .adisp-lozenge h3, #main .adisp-help h3 {
	color:#fff;
}

/*
Map Enfold elements to grid areas.

We target the parent .av_textblock_section using :has()
because the identifying class is applied to the inner .avia_textblock.
*/
.adisp-lozenge > .av_textblock_section:has(.adisp-lozenge-copy) {
	grid-area: copy;
}

/*.adisp-lozenge > .av_textblock_section:has(.adisp-lozenge-search) {*/
.adisp-lozenge > .avia_search_element.adisp-product-search {
	grid-area: search;
}

.adisp-lozenge > .avia-image-container.adisp-lozenge-image {
	grid-area: image;
	margin-bottom: -20px; /* Counteract Enfold's margin so that row2 is closer to row 1*/
}

.adisp-lozenge > .av_textblock_section:has(.adisp-lozenge-button) {
	grid-area: button;
	align-self: end;
}


.adisp-lozenge > * {
	position: relative;
	z-index: 1;
}

.adisp-lozenge .adisp-lozenge-copy {
	max-width: clamp(320px, 36vw, 420px);
}

.adisp-lozenge-button {
	float:right;
}

.main_color .adisp-lozenge-button a{
	color:#fff;
}


.adisp-lozenge-button p {
	margin-top: 0;
	margin-bottom: 0;
}

#top .adisp-product-search form {
	margin-bottom:0;
}

/* product search styling inside visit lozenge */

.adisp-product-search .av_searchform_wrapper {
	display: flex;
	align-items: center;
	max-width: 420px;
	border: 2px solid #fff;
	border-radius: 999px;
	background: transparent;
	overflow: hidden;
}

.adisp-product-search input[type="text"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0 !important;
	background: transparent !important;
	color: #fff !important;
	padding: 12px 18px !important;
	box-shadow: none !important;
	height:32px !important;
}

.adisp-product-search input[type="text"]::placeholder {
	color: #fff !important;
	opacity: 1;
}

.adisp-product-search .av_searchsubmit_wrapper {
	flex: 0 0 38px;
	margin-right: 6px;
	height:inherit !important;
	top:inherit !important;
}

.adisp-product-search input[type="submit"] {
	width: 28px !important;
	height: 28px !important;
	min-width: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50%;
	font-size: 0 !important;
	color: transparent !important;
	background-color: #76f5f0 !important;

	-webkit-mask-image: url('/wp-content/uploads/2026/05/Component-2-–-1.svg');
	mask-image: url('/wp-content/uploads/2026/05/Component-2-–-1.svg');
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

/* Style search results */
.main_color .adisp-product-search .av_searchform_element_results .av_ajax_search_title, .main_color .adisp-product-search .av_searchform_element_results .ajax_search_excerpt, .main_color .adisp-product-search .av_searchform_element_results h4 {
	color:#fff;
}

.main_color .adisp-product-search .av_searchform_element_results h4 {
		padding-top:0;
}

/* --------------------------- */
/* Help/contact two col layout */
/* --------------------------- */

#main .adisp-help {
	background-color:#3a4d5c;
}

.adisp-help .adisp-help-copy, .adisp-help label {
	color:#fff;
}

/* --------------------------------------------- */
/* ADISP help form                               */
/* --------------------------------------------- */

/* Rounded inputs + textarea */
.adisp-help .avia_ajax_form .text_input,
.adisp-help .avia_ajax_form .text_area {
	border-radius: 24px !important;
	padding: 14px 18px !important;
	border: 1px solid #d9d9d9;
	box-shadow: none !important;
}

/* Textarea slightly softer */
.adisp-help .avia_ajax_form .text_area {
	border-radius: 28px !important;
}

/* Submit wrapper */
.adisp-help .avia_ajax_form .form_element:last-child {
	position: relative;
	display: inline-block;
}

/* Submit button */
.adisp-help .avia_ajax_form input[type="submit"] {
	display: inline-flex;
	align-items: center;

	padding: 10px 56px 10px 20px !important;

	border: 1px solid #fff !important;
	border-radius: 999px !important;

	background: transparent !important;
	color: #48f4f1 !important;

	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.5px;

	box-shadow: none !important;
	float:right;
}

/* Arrow icon */
.adisp-help .avia_ajax_form .form_element:last-child::after {
	content: "";

	position: absolute;
	top: 50%;
	right: 5px;

	transform: translateY(-50%);

	width: 32px;
	height: 32px;

	border-radius: 50%;

	background-image: url('/wp-content/uploads/2026/05/other-btn-arrow.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;

	pointer-events: none;
}


/* media queries */

@media only screen and (min-width: 768px) {
	.adisp-badge-row-hero {
		align-items: stretch;
	}

	.adisp-badge-row-hero > .adisp-badge-cell {
		display: flex;
	}

	.adisp-badge-row-hero .flex_cell_inner {
		display: flex;
		width: 100%;
	}

	.adisp-badge-row-hero .adisp-badge {
		display: flex;
		flex-direction: column;
		height: 100%;
	}

	.adisp-badge-row-hero .adisp-badge .av_textblock_section {
		flex: 1 1 auto;
		display: flex;
	}

	.adisp-badge-row-hero .adisp-badge .avia_textblock {
		display: flex;
		flex-direction: column;
	}



	/* Hero badges become positioning contexts */
	.adisp-badge-row-hero .adisp-badge {
		position: relative;
		padding-bottom: 80px; /* reserve space for button */
	}

	/* Anchor button to bottom */
	.adisp-badge-row-hero .adisp-badge p:last-child {
		position: absolute;
		left: 28px;
		right: 28px;
		bottom: 40px;
		margin: 0;
	}

	/* Small badges need text nudging lower because images are visually shorter */
	/* Use a custom property so we can tune one value */
	.adisp-badge-row-hero {
		--adisp-hero-small-text-offset: 20%;
	}

	.adisp-badge-row-hero .adisp-badge--small .avia_textblock {
		margin-top: var(--adisp-hero-small-text-offset);
	}

}

@media only screen and (min-width: 768px) and (max-width: 1024px) {

	.adisp-badge-row {
		gap: 6px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.adisp-badge-row .adisp-badge {
		width: 36vw !important;
	}

	.adisp-badge-row .adisp-badge--small {
		width: 30vw !important;
	}

	.adisp-badge-row-hero .adisp-badge {
		padding-left: 18px;
		padding-right: 18px;
	}

	.adisp-badge-row-hero {
		--adisp-hero-small-text-offset: 12%;
	}
}




/* Mid desktop/tablet-landscape: 20% is too much here */
@media only screen and (min-width: 1024px) and (max-width: 1300px) {
	.adisp-badge-row-hero {
		--adisp-hero-small-text-offset: 12%;
	}
}


@media only screen and (max-width: 767px) {
    .responsive #top .container .entry-content-wrapper .flex_column.hero-badge-small {
        max-width:100%
    }
    .adisp-badge-row-hero .adisp-badge {
        margin-bottom:165px !important;
    }

    /*Last one has section spacing under it*/
	.adisp-badge-row-hero > .adisp-badge-cell:last-child .adisp-badge {
		margin-bottom: 0 !important;
	}
    .expo-breakout-image img {
        --expo-breakout-y:5%;
    }

    /*
	On mobile we stack in logical reading order:
	copy → search → image → button

	This is independent of DOM order thanks to grid-template-areas.
	*/
    .adisp-lozenge {
		grid-template-columns: 1fr;
		grid-template-areas:
			"copy"
			"search"
			"image"
			"button";
		border-radius: 32px;
	}

	.adisp-lozenge::before {
		display: none;
	}
}

@media (max-width: 767px) {

	.adisp-badge-row > .flex_cell {
		margin: 12px 0 !important;
		width: 100% !important;
	}

	.adisp-badge-row .adisp-badge,
	.adisp-badge-row .adisp-badge--small {
		width: 97% !important; /* accommodate our less than ideal images */
		max-width: 100% !important;
	}
}

@media only screen and (max-width: 989px) {
	.expo-breakout-section::before {
		display: none;
	}
	.adisp-lozenge .adisp-lozenge-copy {
		max-width: none;
		width: 100%;
	}
	.adisp-lozenge .adisp-lozenge-bg {
		background:initial;
	}
}

@media only screen and (max-width: 1024px) {
	.expo-breakout-image {
		--expo-breakout-y: 25%;
		--expo-breakout-bottom: 22%;
	}
}

@media (max-width: 767px) {
	.adisp-badge-row {
		flex-direction: column;
		align-items: center;
	}

	.adisp-badge-row .flex_cell {
		margin: 12px 0;
	}
}
