/*
Theme Name: AGES
Theme URI:
Author: Indigo Tree
Author URI:
Description:
Requires at least: 6.7
Tested up to: 6.6
Requires PHP: 5.7
Version:
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: indigotree-ages
Tags:
*/

/* stylelint-disable no-descending-specificity, rule-empty-line-before */
/* stylelint-disable no-eol-whitespace */
/* stylelint-disable block-closing-brace-newline-before */
/* stylelint-disable block-closing-brace-newline-after */
/* stylelint-disable declaration-block-semicolon-newline-after */
/* stylelint-disable max-line-length */
/* stylelint-disable no-duplicate-selectors */

.ages-profilefield--internal fieldset {
	border-color: #000;
	border-style: dashed;
}

/* -- Defaults -- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

.entry-content {
	margin: 0;
}

a,
button,
input,
textarea,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

.wp-block-button:hover,
.wp-block-button__link:hover,
.wp-block-button__link.has-lime-background-color:hover,
.wp-element-button.has-lime-background-color:hover,
.wp-block-button__link.has-lime-light-background-color:hover,
.wp-element-button.has-lime-light-background-color:hover {
	border-color: var(--wp--preset--color--black) !important;
	background-color: var(--wp--preset--color--white) !important;
}

.wp-block-button__link.has-sand-background-color:hover,
.wp-element-button.has-sand-background-color:hover {
	border-color: var(--wp--preset--color--black) !important;
	background-color: var(--wp--preset--color--white) !important;
}

.wp-block-button__link.has-white-background-color:hover,
.wp-element-button.has-white-background-color:hover {
	border-color: var(--wp--preset--color--black) !important;
	background-color: var(--wp--preset--color--white) !important;
}

.wp-block-button__link.has-black-background-color:hover,
.wp-element-button.has-black-background-color:hover {
	border-color: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--black) !important;
	background-color: var(--wp--preset--color--white) !important;
}

sup {
	color: var(--wp--preset--color--primary-500);
	font-size: 0.75rem;

	a {
		color: var(--wp--preset--color--primary-500);
		text-decoration: none;
	}
}

.wp-block-button[style="text-transform:capitalize"] a {
	text-transform: capitalize !important;
}

.wp-block-button[style="text-transform:lowercase"] a {
	text-transform: lowercase !important;
}

.is-style-plus {
	position: relative;
	-webkit-mask-image: radial-gradient(
		circle at 50% 50%,
		transparent 35px,
		var(--wp--preset--color--black) 36px
	);
	mask-image: radial-gradient(
		circle at 50% 50%,
		transparent 35px,
		var(--wp--preset--color--black) 36px
	);
}

.plus-symbol {
	display: flex;
	position: absolute;
	width: 40px;
	aspect-ratio: 1/1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 99;
}

.plus-symbol[data-color="lime-dark"] svg path {
	fill: var(--wp--preset--color--lime-dark);
}

.plus-symbol[data-color="lime"] svg path {
	fill: var(--wp--preset--color--lime);
}

.border-plus-wrapper {
	position: relative;
}

.is-style-plus-border {
	position: relative;
	-webkit-clip-path: polygon(
		40px 0,
		100% 0,
		100% 100%,
		0 100%,
		0 40px,
		20px 40px,
		20px 20px,
		40px 20px
	);
	clip-path: polygon(
		40px 0,
		100% 0,
		100% 100%,
		0 100%,
		0 40px,
		20px 40px,
		20px 20px,
		40px 20px
	);
}

.corner-overlay {
	position: absolute;
	width: 40px;
	aspect-ratio: 1/1;
	top: 0;
	left: 0;
	z-index: 99;
	transform: translate(-15px, -16px);
}

.corner-overlay[data-color="white"] svg path {
	fill: var(--wp--preset--color--white);
}

.corner-overlay[data-color="lime"] svg path {
	fill: var(--wp--preset--color--lime);
}

.corner-overlay[data-color="lime-dark"] svg path {
	fill: var(--wp--preset--color--lime-dark);
}

.separator-wrapper {
	position: relative;
	margin: 0 auto 25px;
}

.wp-block-site-logo a {
	border-bottom: 0;
}

header {
	.wp-block-navigation__responsive-container-open,
	.wp-block-navigation__responsive-container-close {
		display: flex;
		justify-content: flex-end;
		align-items: flex-start;
	}

	.wp-block-navigation__responsive-container-content {
		max-width: 100%;
		margin: 0 auto;
		padding-top: 0 !important;
		overflow-y: scroll !important;
		height: 100%;
	}

	.wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-container-content {
		overflow-y: auto !important;
		overflow-x: hidden !important;
	}

	.wp-block-navigation__submenu-container {
		display: none !important;
	}

	.burger-nav-icon,
	.burger-close-icon {
		display: inline-block;
		width: 47px;
		position: relative;
		cursor: pointer;
	}

	.burger-part {
		display: block;
		width: 100%;
		height: 5px;
		background-color: var(--wp--preset--color--lime);
		margin: 7px 0;
		transition:
			transform 0.3s ease,
			opacity 0.3s ease;
	}

	.burger-part:not(:first-child):not(:last-child) {
		background-color: var(--wp--preset--color--white);
	}

	.burger-close-icon {
		transform: rotate(45deg);

		.burger-part:first-child {
			background-color: var(--wp--preset--color--white);
		}
	}

	.burger-nav-icon:hover {
		.burger-part:first-child,
		.burger-part:last-child {
			background-color: var(--wp--preset--color--purple);
		}
	}

	.burger-x1 {
		transform: translateY(10px);
	}

	.burger-x2 {
		transform: rotate(90deg);
	}

	.custom-burger-button[aria-expanded="true"] .burger-part:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.custom-burger-button[aria-expanded="true"] .burger-part:nth-child(2) {
		opacity: 0;
	}

	.custom-burger-button[aria-expanded="true"] .burger-part:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.wp-block-navigation__responsive-dialog {
		margin-top: 0 !important;
		max-height: 100%;
		height: 100%;
	}

	.wp-block-navigation__responsive-container {
		overflow: visible !important;
		height: calc(100vh - 130px);
		margin-top: 130px !important;

		.wp-block-navigation__responsive-close {
			max-width: 1280px;
			margin: 0 auto;
			height: 100%;
			background-color: var(--wp--preset--color--lime);
			padding: 35px 0;
			position: relative;
		}
	}

	.wp-block-navigation__responsive-container::after {
		content: "";
		position: absolute;
		bottom: 30px;
		right: 30px;
		width: 100px;
		height: 100px;
		-webkit-clip-path: polygon(
			60px 0%,
			100% 0%,
			100% 100%,
			0% 100%,
			0% 60px,
			60px 60px
		);
		clip-path: polygon(
			60px 0%,
			100% 0%,
			100% 100%,
			0% 100%,
			0% 60px,
			60px 60px
		);
		transform: rotate(0deg);
		background-color: var(--wp--preset--color--black);
	}

	.burger-nav-container {
		.wp-block-navigation__responsive-container {
			padding: 35px !important;
		}

		.wp-block-navigation__responsive-container-open {
			width: 50px !important;
			height: 50px !important;
			align-self: flex-end !important;
			position: relative;
			left: 5px;

			svg {
				width: 50px !important;
				height: 50px !important;
			}
		}

		.wp-block-navigation__container {
			padding: 25px 0 !important;
			gap: 40px !important;
			width: 100%;

			> li {
				padding: 0 25px !important;

				a {
					border-bottom: 0;
				}
			}

			.wp-block-navigation__submenu-container {
				padding: 0 !important;

				li {
					padding: 5px 0 !important;
					border-bottom: 0 !important;

					a {
						border-bottom: 0;
					}
				}
			}
		}

		.wp-block-navigation__responsive-container-content * {
			max-width: 400px;
		}

		.wp-block-navigation__container:not(:first-child) {
			padding: 15px 25px;
			width: 100%;
			margin-bottom: 10px;
			border-bottom: 2px solid var(--wp--preset--color--black);
			gap: 0px !important;

			> * {
				width: 100%;
				max-width: 400px;
			}

			li {
				width: 100%;
				align-items: flex-start !important;
				flex-direction: row !important;
				flex-wrap: wrap;
				padding: 15px !important;
				position: relative;

				.wp-block-navigation-submenu__toggle {
					width: 100%;
					position: relative;
					z-index: 2;
					&.current-menu-ancestor {
						text-decoration: underline;
					}
				}

				&.menu-open,
				&:hover {
					background-color: var(
						--wp--preset--color--lime-dark
					) !important;
					position: relative;

					.wp-block-navigation__submenu-container {
						width: 100%;
						border-top: 2px solid var(--wp--preset--color--black);
						padding-top: 10px;
					}

					&:before {
						position: absolute;
						left: -99999px;
						width: 99999999999px;
						height: 100%;
						top: 0;
						background-color: var(--wp--preset--color--lime-dark);
						content: "";
						z-index: 1;
					}
					a {
						color: var(--wp--preset--color--black) !important;
						width: 100%;
						position: relative;
						z-index: 2;
					}
					.wp-block-navigation-submenu__toggle {
						text-decoration: none !important;
					}
				}

				&.menu-open {
					.wp-block-navigation__submenu-icon {
						transform: rotate(180deg);
					}
				}

				.wp-block-navigation__submenu-icon {
					color: var(--wp--preset--color--black);
					display: inline-block;
					position: absolute;
					z-index: 2;
					right: 20px;
					top: 25px;
					transition: all 0.3s ease;
					svg {
						margin-top: -0.1em;
						width: 18px;
						height: 18px;
					}
				}

				.wp-block-navigation__submenu-container {
					li {
						padding: 7px 0 !important;
						&:first-child {
							padding-top: 20px !important;
						}
						&:hover,
						&.current-menu-item {
							text-decoration: underline;
						}
					}
				}
			}

			li::after {
				display: none;
			}
		}

		.wp-block-navigation__responsive-container-close {
			width: 50px;
			height: 50px;
			position: absolute;
			background-color: var(--wp--preset--color--black) !important;
			right: -5px;
			top: -130px;
			z-index: 9999;

			svg {
				width: 50px;
				height: 50px;

				path {
					fill: var(--wp--preset--color--lime) !important;
				}
			}
		}

		.wp-block-buttons {
			align-items: center;
			gap: 10px;

			.wp-block-button {
				width: 100%;
			}

			.wp-block-button__link {
				width: 100%;
				max-width: 240px;
				margin: 0 auto;
			}

			.wp-block-button__link:hover,
			.wp-block-button__link:focus,
			.wp-block-button__link:active {
				background-color: var(--wp--preset--color--black) !important;
				color: var(--wp--preset--color--white) !important;
			}
		}

		.home-icon {
			text-transform: uppercase;
			position: relative;
			text-decoration: underline;
			padding-left: 30px;
		}

		.home-icon::after {
			/* stylelint-disable-next-line function-url-quotes */
			content: url(./assets/images/home-icon-v1.svg);
			position: absolute;
			top: -5px;
			left: -20px;
			width: 40px;
			height: 40px;
		}
	}

	.wp-block-navigation__submenu-container.loggedin-user-menu {
		top: 108%;
		background-color: var(--wp--preset--color--lime) !important;
		border: 10px solid var(--wp--preset--color--black) !important;
		padding: 10px !important;
		left: calc(-25% + 15px) !important;
		padding-inline-start: 0;
		font-size: var(--wp--preset--font-size--extra-small) !important;

		li {
			text-align: center;
			min-width: 200px !important;
			color: var(--wp--preset--color--black) !important;
			align-items: center;
			background-color: inherit;
			display: flex;
			position: relative;

			> a,
			> span {
				display: flex;
				flex-grow: 1;
				color: var(--wp--preset--color--black) !important;
				justify-content: center;
				text-align: center;
				padding: 4px 5px;
				border: none;
			}
		}

		li:hover {
			background-color: var(--wp--preset--color--white) !important;
			border-bottom: 0 !important;
		}
	}

	.wp-block-indigotree-site-navigation {
		.wp-block-indigotree-site-navigation-container {
			.site-navigation__nav {
				display: flex;
				justify-content: center;
				flex-wrap: wrap;
				align-items: center;
				gap: var(--wp--preset--spacing--base);
				color: var(--wp--preset--color--white);

				.site-navigation__menu {
					flex-direction: row;
					flex-grow: 1;
					justify-content: flex-end;
					gap: 40px;
					padding-inline-start: 0;

					> li {
						align-items: center;
						background-color: inherit;
						display: flex;
						position: relative;
						border-bottom: 2px solid transparent;

						> span {
							color: var(--wp--preset--color--white);
							text-transform: uppercase;
						}

						.site-navigation__toggle.--submenu {
							align-self: center;
							background-color: inherit;
							border: none;
							color: currentcolor;
							display: inline-block;
							font-size: inherit;
							height: 0.6em;
							line-height: 0;
							margin-left: 0.35em;
							padding: 0;
							width: 0.6em;
							min-width: unset;
							min-height: unset;

							svg {
								width: 16px;
								height: 14px;
								margin-top: 0.1em;

								line {
									stroke: var(--wp--preset--color--white);
									stroke-width: 6;
								}
							}
						}

						.site-navigation__submenu {
							top: 108%;
							background-color: var(
								--wp--preset--color--lime
							) !important;
							border: 10px solid var(--wp--preset--color--black) !important;
							padding: 10px !important;
							left: calc(-25% + 15px) !important;
							padding-inline-start: 0;

							li {
								text-align: center;
								min-width: 200px !important;
								color: var(
									--wp--preset--color--black
								) !important;
								align-items: center;
								background-color: inherit;
								display: flex;
								position: relative;

								> a,
								> span {
									display: flex;
									flex-grow: 1;
									color: var(
										--wp--preset--color--black
									) !important;
									justify-content: center;
									text-align: center;
									padding: 8px 10px;
									border: none;
								}
							}

							li:hover {
								background-color: var(
									--wp--preset--color--white
								) !important;
								border-bottom: 0 !important;
							}
						}
					}

					> li:hover {
						border-bottom: 2px solid var(--wp--preset--color--white);
					}

					> li:not(:last-child)::after {
						content: "|";
						position: absolute;
						font-size: var(--wp--preset--font-size--base);
						color: var(--wp--preset--color--lime);
						top: 0;
						right: -20px;
					}
				}
			}
		}
	}

	.member-bar a {
		border: 0 !important;
	}

	@media screen and (max-width: 991px) {
		.nav-container {
			display: none;
		}

		nav[aria-label="Navigation"] {
			display: none;
		}

		.logo-container,
		.burger-nav-container {
			flex-basis: 50% !important;
		}
	}
}

.admin-bar header {
	.wp-block-navigation__responsive-container {
		overflow: visible !important;
		height: calc(100vh - 160px);
		margin-top: 160px !important;
	}
}

.nav-container {
	.wp-block-navigation-item__content,
	.wp-block-site-logo a {
		border-bottom: 0;
	}

	.wp-block-navigation-item__content {
		border-bottom: 2px solid transparent;
	}

	.wp-block-navigation-item__content:hover {
		border-bottom: 2px solid var(--wp--preset--color--white);
	}

	.wp-block-navigation .wp-block-navigation__submenu-icon svg {
		margin-top: -0.1em;
		width: 18px;
		height: 18px;
	}

	.wp-block-navigation__submenu-container {
		background-color: var(--wp--preset--color--lime) !important;
		border: 10px solid var(--wp--preset--color--black) !important;
		padding: 10px !important;
		left: calc(-25% + 15px) !important;

		.wp-block-navigation-item {
			min-width: 200px !important;
			text-align: center;
			color: var(--wp--preset--color--black) !important;
		}

		.wp-block-navigation-item__content {
			justify-content: center;
			text-align: center;
			padding: 8px 10px;
		}

		.wp-block-navigation-item:hover {
			background-color: var(--wp--preset--color--white) !important;
			border-bottom: 0 !important;
		}

		.wp-block-navigation-item:active {
			background-color: var(--wp--preset--color--black) !important;
			color: var(--wp--preset--color--white) !important;
		}
	}
}

footer {
	.wp-block-navigation-item {
		position: relative;
	}

	.wp-block-navigation-item:not(.no-line)::after {
		content: "|";
		position: absolute;
		font-size: var(--wp--preset--font-size--base);
		color: var(--wp--preset--color--lime);
		top: 0;
		right: -20px;
	}

	.wp-block-navigation-item__content {
		border-bottom: 0;
	}

	.wp-block-navigation-item__label:hover {
		border-bottom: 3px solid var(--wp--preset--color--lime);
	}

	.wp-block-columns {
		.wp-block-column {
			.wp-block-group.is-vertical {
				height: 100%;
				p:last-of-type {
					margin-top: auto;
				}
			}
		}
	}
}

.margin-top-auto {
	margin-top: auto !important;
}

@media screen and (max-width: 781px) {
	.footer-lower {
		flex-direction: column;

		nav {
			flex-basis: 1 !important;
			margin-top: 25px !important;

			ul {
				justify-content: center;
			}
		}
	}
}

.wp-block-search {
	width: 100%;
	padding: 0 25px;

	.wp-block-search__inside-wrapper {
		padding: 0;
		border: 0;

		button {
			margin: 0;
			background-color: var(--wp--preset--color--black);

			svg path {
				fill: var(--wp--preset--color--lime);
			}
		}

		input {
			border: 0;
			padding: 8px 12px;
		}

		input::placeholder {
			color: var(--wp--preset--color--black);
		}
	}
}

figure {
	position: relative;

	img {
		width: 100%;
	}
	a {
		border: none;
		.anww-external-link-icon {
			display: none;
		}
	}
}

.wp-lightbox-container {
	pointer-events: none !important;
}

.site-header {
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 10001;

	.wp-block-navigation > .wp-block-navigation-item:not(:last-child)::after {
		content: "|";
		position: absolute;
		font-size: var(--wp--preset--font-size--base);
		color: var(--wp--preset--color--lime);
		top: 0;
		right: -10%;
	}

	.wp-block-navigation-item {
		text-transform: uppercase;
	}
}

@media screen and (max-width: 781px) {
	.media-text-advanced__img-r .wp-block-columns {
		flex-direction: column-reverse;
	}
}

.is-style-slim {
	max-width: 1100px !important;
	margin-left: auto;
	margin-right: auto;
}

.is-style-plus-top-left,
.is-style-plus-top-right,
.is-style-plus-bottom-right,
.is-style-plus-bottom-left {
	position: relative;
}

.is-style-plus-top-left::after,
.is-style-plus-top-right::after,
.is-style-plus-bottom-right::after,
.is-style-plus-bottom-left::after {
	content: "";
	position: absolute;
	overflow: hidden;
	width: clamp(57px, 10vw, 188px);
	aspect-ratio: 1/1;
	max-width: 180px;
	background-color: inherit;
	/* stylelint-disable-next-line function-url-quotes */
	-webkit-mask-image: url(./assets/images/plus-corner-mask.svg);
	/* stylelint-disable-next-line function-url-quotes */
	mask-image: url(./assets/images/plus-corner-mask.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: top left;
	mask-position: top left;
	-webkit-mask-size: contain;
	mask-size: contain;
	z-index: 99;

	@media screen and (max-width: 1240px) {
		width: clamp(57px, 10vw, 188px);
	}
}

.wp-block-post-template .is-style-plus-top-left::after,
.wp-block-post-template .is-style-plus-top-right::after,
.wp-block-post-template .is-style-plus-bottom-right::after,
.wp-block-post-template .is-style-plus-bottom-left::after {
	/* resize the plus symbol in cards */
	max-width: 90px;
}

.is-style-plus-top-left::after,
figure.is-style-plus-top-left img {
	top: -1px;
	left: -1px;
	transform: rotate(270deg);
}

.is-style-plus-top-right::after,
figure.is-style-plus-top-right img {
	top: -1px;
	right: -1px;
	transform: rotate(0deg);
}

.is-style-plus-bottom-right::after,
figure.is-style-plus-bottom-right img {
	bottom: -1px;
	right: -1px;
	transform: rotate(90deg);
}

.is-style-plus-bottom-left::after,
figure.is-style-plus-bottom-left img {
	bottom: -1px;
	left: -1px;
	transform: rotate(180deg);
}

figure.is-style-plus-top-left img {
	-webkit-clip-path: polygon(
		30% 0,
		100% 0,
		100% 100%,
		0 100%,
		0 30%,
		12% 30%,
		12% 12%,
		30% 12%
	);
	clip-path: polygon(
		30% 0,
		100% 0,
		100% 100%,
		0 100%,
		0 30%,
		12% 30%,
		12% 12%,
		30% 12%
	);
	transform: rotate(0deg);
}

figure.is-style-plus-top-right img {
	-webkit-clip-path: polygon(
		70% 0,
		0% 0,
		0% 100%,
		100% 100%,
		100% 30%,
		88% 30%,
		88% 12%,
		70% 12%
	);
	clip-path: polygon(
		70% 0,
		0% 0,
		0% 100%,
		100% 100%,
		100% 30%,
		88% 30%,
		88% 12%,
		70% 12%
	);
	transform: rotate(0deg);
}

figure.is-style-plus-bottom-left img {
	-webkit-clip-path: polygon(
		30% 100%,
		100% 100%,
		100% 0,
		0% 0,
		0% 70%,
		12% 70%,
		12% 88%,
		30% 88%
	);
	clip-path: polygon(
		30% 100%,
		100% 100%,
		100% 0,
		0% 0,
		0% 70%,
		12% 70%,
		12% 88%,
		30% 88%
	);
	transform: rotate(0deg);
}

figure.is-style-plus-bottom-right img {
	-webkit-clip-path: polygon(
		70% 100%,
		0% 100%,
		0% 0,
		100% 0,
		100% 70%,
		88% 70%,
		88% 88%,
		70% 88%
	);
	clip-path: polygon(
		70% 100%,
		0% 100%,
		0% 0,
		100% 0,
		100% 70%,
		88% 70%,
		88% 88%,
		70% 88%
	);
	transform: rotate(0deg);
}

figcaption {
	text-align: right;
	margin: 10px 0 !important;
	font-size: 16px !important;
}

hr.is-style-wide {
	position: relative;
}

.wp-block-column {
	hr.is-style-wide {
		width: 80%;
	}

	.separator-wrapper {
		width: 80%;
	}
}

.wp-block-post-template {
	.taxonomy-category {
		border: 0 !important;
		pointer-events: none;
		font-size: 16px;
		font-weight: 500;
		line-height: 18px;
		padding-top: 10px !important;
	}
}

@media screen and (min-width: 781px) {
	.wp-block-post-template .flickity-slider .wp-block-post {
		display: inline-flex;
		min-height: 100%;
	}

	.wp-block-post-template .flickity-slider .wp-block-post .wp-block-group {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
}

@media screen and (max-width: 781px) {
	.carousel .flickity-slider > * {
		width: 100% !important;
	}
}

.yoast-breadcrumbs {
	font-size: 16px;

	a {
		text-decoration: none;
		border-bottom: 0 !important;
	}

	a:hover {
		text-decoration: underline;
	}
}

.wp-block-quote {
	font-style: italic !important;

	cite {
		margin: 15px 0;
		font-weight: 700;
		font-style: normal !important;
	}
}

blockquote p {
	quotes: "“" "”" "‘" "’";
	position: relative;
	margin: 1em 0;
	padding: 0.5em 0;
}

blockquote p::before {
	content: open-quote;
	margin-right: 10px;
}

blockquote p::after {
	content: close-quote;
	margin-left: 10px;
}

.c-accordion__title {
	margin: 0;
	padding: 20px 80px 15px;
	position: relative;
	font-weight: 500;
}

.c-accordion__title::before {
	content: "Q";
	position: absolute;
	height: 100%;
	top: 0;
	left: 0;
	padding: 0 22px;
	font-size: calc(var(--wp--preset--font-size--large) + 10px);
	font-weight: 400;
	color: var(--wp--preset--color--lime);
	background-color: var(--wp--preset--color--black);
	z-index: 99;
	display: flex;
	align-items: center;
}

.c-accordion__content {
	padding: 20px 30px 20px 80px !important;
	padding-left: 50px;
}

.wp-block-pb-accordion-item {
	padding: 0;
	margin-top: 20px;
	background-color: var(--wp--preset--color--sand);

	.c-accordion__title::after {
		font-size: var(--wp--preset--font-size--x-large);
		font-weight: 700;
		color: var(--wp--preset--color--black);
		top: 35px;
		right: 20px;
	}
}

.wp-block-pb-accordion-item.is-open {
	background-color: var(--wp--preset--color--lime);

	.c-accordion__title {
		border-bottom: 5px solid var(--wp--preset--color--black);
	}

	.c-accordion__title::after {
		font-size: var(--wp--preset--font-size--x-large);
		font-weight: 700;
		color: var(--wp--preset--color--black);
		top: 36px;
		right: 20px;
	}
}

.wp-block-social-link {
	border-radius: 0;
	background-color: var(--wp--preset--color--black);

	svg path {
		fill: var(--wp--preset--color--lime);
	}
}

.wp-block-social-link:hover {
	background-color: var(--wp--preset--color--lime) !important;

	svg path {
		fill: var(--wp--preset--color--black);
	}
}

.wp-block-categories-list {
	list-style: none;
	padding-left: 25px;

	a {
		line-height: 34px;
		border-bottom: 2px solid var(--wp--preset--color--black);
	}

	a:hover {
		border-bottom: 2px solid transparent;
	}
}

.team-cards .border-plus-wrapper:hover {
	.has-black-border-color {
		transition: border-color 200ms ease-in-out;
		border-color: var(--wp--preset--color--white) !important;

		.wp-block-button__link {
			background-color: var(--wp--preset--color--white) !important;
			color: var(--wp--preset--color--black) !important;
		}
	}

	.has-lime-border-color {
		border-color: var(--wp--preset--color--white) !important;

		.wp-block-button__link {
			background-color: var(--wp--preset--color--white) !important;
			color: var(--wp--preset--color--black) !important;
		}
	}

	.has-white-border-color {
		border-color: var(--wp--preset--color--black) !important;

		.wp-block-button__link {
			background-color: var(--wp--preset--color--black) !important;
			color: var(--wp--preset--color--white) !important;
		}
	}

	.corner-overlay[data-color="black"] {
		svg path {
			transition: all 200ms ease-in-out;
			fill: var(--wp--preset--color--white) !important;
		}
	}

	.corner-overlay[data-color="lime"] {
		svg path {
			transition: all 200ms ease-in-out;
			fill: var(--wp--preset--color--white) !important;
		}
	}

	.corner-overlay[data-color="white"] {
		svg path {
			transition: all 200ms ease-in-out;
			fill: var(--wp--preset--color--black) !important;
		}
	}
}

.blog {
	.wp-block-post {
		.is-style-plus-top-left::after,
		.is-style-plus-top-right::after,
		.is-style-plus-bottom-right::after,
		.is-style-plus-bottom-left::after {
			min-width: 80px;
			max-width: 80px;
		}

		.wp-block-post-date,
		.wp-block-post-title,
		span {
			color: var(--wp--preset--color--black);
		}

		figure,
		.wp-block-post-terms {
			a {
				border-bottom: 0 !important;
			}
		}

		span:last-child {
			border-bottom: 2px solid var(--wp--preset--color--lime);
		}
	}

	.wp-block-post:hover {
		.wp-block-group.has-white-background-color {
			background-color: var(--wp--preset--color--black) !important;
			color: var(--wp--preset--color--white) !important;
			transition: background-color 200ms ease-in-out;

			.wp-block-read-more {
				color: var(--wp--preset--color--white) !important;
			}

			.wp-block-post-date,
			.wp-block-post-title,
			span {
				color: var(--wp--preset--color--white);
			}
		}

		.taxonomy-category span {
			color: var(--wp--preset--color--black) !important;
		}
	}
}

.gform_wrapper {
	margin-top: 0 !important;
}

.gform_fields {
	row-gap: 20px !important;
}

.gfield_label {
	font-weight: 400 !important;
	font-size: var(--wp--preset--font-size--extra-small) !important;
}

.gform-field-label {
	font-size: var(--wp--preset--font-size--extra-small) !important;
}

.gfield_consent_label {
	font-size: var(--wp--preset--font-size--extra-extra-small) !important;
}

.gfield_required,
.gfield_required_text {
	font-size: 0 !important;
	position: relative !important;
	color: inherit !important;
}

.gfield_required.gfield_required_text::after {
	content: "*";
	font-size: 16px;
	position: absolute;
	left: -2px;
	top: -15px;
	color: inherit;
}

.ginput_container_consent {
	input[type="checkbox"] {
		width: 30px !important;
		height: 30px !important;
	}

	.gform-field-label {
		margin-top: 5px !important;
	}
}

.gform-footer,
.gform_page_footer {
	justify-content: flex-end !important;
}

.gform_button,
.gform-theme-button {
	width: calc(50% + -5px) !important;
	max-width: 320px !important;
	text-transform: uppercase !important;
	border: 2px solid transparent !important;
}

.gform_button:hover,
.gform-theme-button:hover {
	background-color: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--black) !important;
	border-color: var(--wp--preset--color--black) !important;
}

.gform-theme.gform-theme--framework.gform_wrapper input:is([type="submit"]) {
	height: 55px !important;
}

.gform-theme--foundation div.gfield label,
.gform-theme--foundation div.ginput_complex label,
.gform-theme--foundation div.gfield legend {
	text-transform: uppercase;
}

.validation_message,
.gform_validation_errors,
.gform_validation_error {
	color: var(--wp--preset--color--error) !important;
}

.wp-block-query-filter-post-type__select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: var(--wp--preset--color--white);
	border: none;
	padding: 16px 16px;
	text-transform: lowercase;
	font-weight: 500;
	width: 100%;
	cursor: pointer;
	border-radius: 0;
	position: relative;
	outline: none;
	font-family: var(--wp--preset--font-family--base);
	font-size: 16px;
}

.wp-block-query-filter {
	position: relative;
}

.wp-block-query-filter::after {
	content: "";
	width: 50px;
	height: 100%;
	font-size: 16px;
	background-image: url(./assets/images/chevron-lime.svg);
	background-position: center center;
	background-size: 20px;
	background-repeat: no-repeat;
	background-color: var(--wp--preset--color--black);
	position: absolute;
	right: 0;
	top: 0;
	pointer-events: none;
	z-index: 99;
}

.wp-block-query {
	.wp-block-post-featured-image :where(img) {
		height: clamp(200px, 30vh, 250px);
	}
}

.has-home-icon:not(.has-home-icon > .has-home-icon) {
	position: relative;
	padding-left: calc(40px + 0.5rem) !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.has-home-icon:not(.has-home-icon > .has-home-icon)::before {
	display: flex;
	align-self: center;
	content: "";
	width: 40px;
	height: 40px;
	background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2287.728%22%20height%3D%2280.044%22%20viewBox%3D%220%200%2087.728%2080.044%22%3E%3Cg%20id%3D%22Group_2%22%20data-name%3D%22Group%202%22%20transform%3D%22translate%28-412.12%20-247.667%29%22%3E%3Cpath%20id%3D%22Path_2%22%20data-name%3D%22Path%202%22%20d%3D%22M485.768%2C304.566v9.065h-9.041v5.014h9.041v9.066h5.039v-9.066h9.041v-5.014h-9.041v-9.065Z%22%20fill%3D%22%23030504%22%2F%3E%3Cg%20id%3D%22Group_1%22%20data-name%3D%22Group%201%22%3E%3Cpath%20id%3D%22Path_12%22%20data-name%3D%22Path%2012%22%20d%3D%22M488.258%2C299.58V269.53L451.286%2C250.5%2C414.635%2C269.53v46.6h57.037%22%20fill%3D%22none%22%20stroke%3D%22%231a1818%22%20stroke-miterlimit%3D%2210%22%20stroke-width%3D%225.028%22%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	left: 0;
}

.counter-column {
	> p {
		padding: 0 50px;
	}
	@media screen and (min-width: 781px) {
		display: flex;
		flex-wrap: wrap;
		align-self: stretch !important;
		justify-content: center;
		align-content: space-between;
		hr.is-style-wide {
			height: 8px !important;
		}
		> p {
			padding: 0 0;
		}
	}
}

/* BUDDYPRESS ======================================== */

.buddypress-wrap {
	.wp-block-cover {
		background-position: center center;
		background-repeat: no-repeat;
		background-size: cover;
	}

	.profile-excerpt {
		color: var(--wp--preset--color--white);
		margin-top: 50px;
		max-width: 450px;
	}
}

.bp-profile-avatar {
	img {
		object-fit: contain;
		object-position: left;
	}
}

.bp-profile-left-column {
	flex: 1 1 70%;
	width: 70%;

	ol,
	ul {
		list-style: none;
		padding-left: 30px;
	}

	li {
		position: relative;
		margin-bottom: 5px;
	}

	li::before {
		content: "";
		width: 12px;
		aspect-ratio: 1/1;
		position: absolute;
		top: calc(25% + 3px);
		left: -26px;
		background-color: var(--wp--preset--color--lime);
	}
}

.bp-profile-right-column {
	flex: 1 1 30%;
	width: 30%;
	max-width: 400px;

	.bp-profile-group {
		button:hover {
			color: var(--wp--preset--color--black);
		}
	}
}

@media screen and (max-width: 781px) {
	.bp-profile-wrapper {
		flex-wrap: wrap;
	}

	.bp-profile-right-column {
		flex: 1 1 100%;
	}
}

.bp-profile-section {
	margin-bottom: 2rem;
}

.bp-profile-section hr {
	margin: 2em 0;
	border: none;
	border-top: 2px solid #ddd;
}

.bp-profile-section a {
	color: var(--wp--preset--color--black);
}

.bp-profile-section h4 {
	font-weight: 700 !important;
}

.rtmedia-container #rtm-gallery-title-container .rtm-gallery-title {
	display: none;
}

.bp-profile-wrapper {
	display: flex;
	flex-wrap: no-wrap;
	gap: var(--wp--preset--spacing--huge);
	row-gap: 0;

	h4 {
		font-weight: 500;
	}

	hr {
		background-color: var(--wp--preset--color--lime);
		border: 3px solid var(--wp--preset--color--lime);
		margin-left: 40px;
		position: relative;
		overflow: visible;
		margin-top: var(--wp--preset--spacing--extra-large);
		margin-bottom: var(--wp--preset--spacing--extra-large);
	}

	hr::before {
		content: "";
		width: 30px;
		aspect-ratio: 1/1;
		position: absolute;
		top: -15px;
		left: -45px;
		background-color: inherit;
		/* stylelint-disable-next-line function-url-quotes */
		-webkit-mask-image: url(./assets/images/plus-symbol-mask.svg);
		/* stylelint-disable-next-line function-url-quotes */
		mask-image: url(./assets/images/plus-symbol-mask.svg);
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-position: top left;
		mask-position: top left;
		-webkit-mask-size: contain;
		mask-size: contain;
		z-index: 99;
	}
}

.bp-profile-right-column__title {
	background-color: var(--wp--preset--color--black);
	color: var(--wp--preset--color--lime-light);
	padding: 25px 25px !important;
	margin: 0 !important;
}

.bp-profile-leftover-fields {
	margin-top: 0;
	background-color: var(--wp--preset--color--sand);
	padding: 35px 25px;
	list-style: none;
	color: var(--wp--preset--color--black);

	span {
		font-weight: 400;
	}

	li {
		font-weight: 700;
		margin-bottom: 20px;
		display: flex;
		flex-wrap: wrap;
		gap: 5px;

		a {
			color: var(--wp--preset--color--black);
			border-color: transparent;
		}

		a:hover {
			border-color: var(--wp--preset--color--black);
		}
	}

	.wp-block-button {
		width: 100%;
		margin-top: 25px;

		a {
			width: 100%;
		}
	}
}

.buddypress-wrap {
	.bp-filters {
		display: flex;
		justify-content: space-between;
		align-items: center;

		* {
			font-family: var(--wp--preset--font-family--base);
		}

		.bp-filter-title {
			flex: 1 1 25%;
			width: 25%;
			font-size: var(--wp--preset--font-size--large);
		}

		.bp-member-filters,
		.bp-group-filters {
			flex: 1 1 75%;
			width: 75%;
			display: flex;
			justify-content: space-between;
			gap: 20px;

			select {
				width: 100%;
				padding: 15px 60px 15px 15px;
				background: var(--wp--preset--color--sand);
				font-size: var(--wp--preset--font-size--extra-small);
				font-weight: 500;
				border: 0;
				border-radius: 0 !important;
				appearance: none;
				-webkit-appearance: none;
				-moz-appearance: none;
				position: relative;
			}

			.filter-container {
				width: 100%;
				position: relative;
			}

			.filter-container::after {
				content: "";
				height: 100%;
				aspect-ratio: 1/1;
				font-size: 16px;
				background-image: url(./assets/images/chevron-lime.svg);
				background-position: center center;
				background-size: 20px;
				background-repeat: no-repeat;
				background-color: var(--wp--preset--color--black);
				position: absolute;
				right: 0;
				top: 0;
				pointer-events: none;
				z-index: 99;
			}
		}

		label.hidden {
			visibility: hidden;
			display: none;
		}

		button {
			padding-left: 20px;
			padding-right: 20px;
			background-color: var(--wp--preset--color--black);
			color: var(--wp--preset--color--white);
			border: 0;
			border-radius: 0;
			font-size: var(--wp--preset--font-size--extra-small);
			font-weight: 500;
			cursor: pointer;
		}

		button:hover {
			background-color: var(--wp--preset--color--lime-dark);
			color: var(--wp--preset--color--black);
		}
	}
}

.buddypress {
	.is-layout-constrained .item-body {
		padding: 0 !important;
	}

	.profile.edit {
		.screen-heading {
			width: 100%;
			font-size: var(--wp--preset--font-size--extra-large);
			text-align: center;
		}

		.editfield {
			padding: 0;
			background-color: transparent !important;
			border: 0 !important;

			label {
				margin-top: 10px;
				display: block !important;
			}

			fieldset {
				padding: 0.5rem 1rem;

				input,
				textarea,
				select,
				.select2-selection {
					padding: 12px 16px;
					margin-bottom: 10px;
					border-radius: 0 !important;
					&:focus {
						outline: 2px solid var(--wp--preset--color--black);
					}
				}

				.datebox-selects select {
					width: auto;
					min-width: 20%;
				}

				select {
					padding-right: 60px !important;
					appearance: none;
					-webkit-appearance: none;
					-moz-appearance: none;
					position: relative;
				}
			}

			> fieldset {
				border: revert;
			}
		}
	}

	#profile-group-edit-submit {
		padding: 16px 20px !important;
		margin-bottom: 35px;
		background-color: var(--wp--preset--color--black);
		color: var(--wp--preset--color--white);
		border: 0;
		border-radius: 0;
		font-size: var(--wp--preset--font-size--extra-small);
		font-weight: 500;
		cursor: pointer;
	}

	#profile-group-edit-submit:hover {
		background-color: var(--wp--preset--color--lime-dark);
		color: var(--wp--preset--color--black);
	}
}

#groups-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	max-width: calc(4 * 290px + 3 * 35px);
	gap: 35px;
	padding: 0;
	margin: 0;
	align-items: stretch;
	margin-top: 35px;

	.item {
		display: flex;
		flex-direction: column;
		height: 100%;

		.is-style-plus-border,
		.border-plus-wrapper {
			height: 100%;
		}
	}

	.item-container {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.is-style-plus-border {
		border: 8px solid var(--wp--preset--color--black);
		padding: 35px 30px;
	}

	.item-avatar {
		border-bottom: 3px solid var(--wp--preset--color--lime);
		margin-bottom: 30px;
		padding-bottom: 0;

		a {
			border: 0;
		}

		img {
			object-fit: contain;
			width: 200px;
		}
	}

	.member-content,
	.item-block {
		.member-name {
			margin-top: 0;
			font-weight: 500;
			text-align: center;

			a {
				color: var(--wp--preset--color--black);
				border-bottom: 0;
				text-transform: capitalize;
			}
		}

		.member-name {
			margin-bottom: 0;
		}
	}

	.item-entry:hover {
		.is-style-plus-border {
			border: 8px solid var(--wp--preset--color--lime);
		}

		.corner-overlay {
			svg path {
				fill: var(--wp--preset--color--lime);
			}
		}

		.item-avatar {
			border-color: var(--wp--preset--color--black);
		}
	}
}

.flickity-button:focus {
	box-shadow: 0 0 0 5px var(--wp--preset--color--black) !important;
}

body.error404 {
	.wp-block-search.wp-block-search__button-only.wp-block-search__searchfield-hidden
		.wp-block-search__input {
		flex-grow: unset !important;
		flex-basis: 100% !important;
		width: 100% !important;
		border: 1px solid var(--wp--preset--color--black) !important;
		padding-left: 10px !important;
	}
}

.itd-hidden {
	display: none;
}

/**
 * ----------------------------------------
 * Pagination
 * ----------------------------------------
 */
.ages-pagination {
	a {
		color: var(--wp--preset--color--black);
		border-color: rgba(0, 0, 0, 0);

		&:hover {
			border-color: var(--wp--preset--color--lime-dark);
		}
	}
}

.ages-custom-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	border: 0 !important;
	box-shadow: none !important;
}

.ages-custom-pagination-numbers-container {
	flex-grow: 1;
	display: flex;
	justify-content: center;
}

.ages-custom-pagination-numbers {
	display: inline-block;
	text-align: center;

	.current {
		border-color: var(--wp--preset--color--lime-dark);
		border-width: 0 0 3px;
		border-style: solid;
	}
}

.ages-custom-pagination-nav {
	white-space: nowrap;

	.prev {
		display: inline-block;
		padding: var(--wp--preset--spacing--x-small)
			var(--wp--preset--spacing--base);
		background-color: var(--wp--preset--color--lime-dark);
		color: var(--wp--preset--color--black);
	}

	.next {
		display: inline-block;
		padding: var(--wp--preset--spacing--x-small)
			var(--wp--preset--spacing--base);
		background-color: var(--wp--preset--color--black);
		color: var(--wp--preset--color--white);
		margin-left: var(--wp--preset--spacing--x-small);
	}
}

/**
 * ----------------------------------------
 * BuddyPress - navigation bars
 * ----------------------------------------
 */
.buddypress-wrap .single-screen-navs,
.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) {
	border: 0;
	box-shadow: none;
}

.groups-nav,
.users-nav {
	min-height: 60px;
	background-color: var(--wp--preset--color--lime);
	border: 0 !important;
	padding: 8px 0;
	margin: 0 0 25px !important;
	align-items: center;
	justify-content: center;

	a {
		color: var(--wp--preset--color--black);
	}
}

.buddypress-wrap .bp-navs li:not(.current) a:hover,
.buddypress-wrap .bp-navs li:not(.selected) a:hover {
	background: var(--wp--preset--color--black) !important;
	color: var(--wp--preset--color--white) !important;
}

.buddypress-wrap .bp-feedback {
	border: 0;
	box-shadow: none;
	padding-bottom: 2rem;
}

.buddypress-wrap .bp-feedback p {
	color: black;
}

.buddypress-wrap .bp-feedback.help .bp-icon,
.buddypress-wrap .bp-feedback.info .bp-icon {
	display: none;
}

/* These selectors makes the Members styling match the Groups one. */
.buddypress-wrap .bp-navs li.current a {
	background-color: white;
	color: black;
}
@media screen and (max-width: 46.8em) {
	.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li {
		background-color: unset;
	}
}

/**
 * ----------------------------------------
 * BuddyPress - Groups - styling
 * ----------------------------------------
 */
body.buddypress .count {
	display: none !important;
}

/* search/filter in groups > admin > members */
#group-manage-members-ui .subnav-filters {
	display: none;
}

/* groups > admin > delete group */
#delete-group-groups-li {
	display: none !important;
}

/* groups > admin > members */
#group-members-list-table .profile-photo {
	padding-right: 1rem;
	margin-bottom: 1rem;
}

.ages-group-profile-screen {
	width: 100%;
	font-size: 31px !important;
}

/* match groups profile fields spacing with member profile fields */
body.buddypress.groups.single-item .editfield {
	margin: 1rem 0;
}

/* mark 'pending moderation fields' a different colour. */
body.buddypress.groups.single-item .editfield.visibility-moderated > fieldset {
	border-color: #000;
	border-style: solid;
	border-width: 8px;
}

body.buddypress.groups.single-item .buddypress-wrap .current-visibility-level {
	color: #000;
}

/**
 * ----------------------------------------
 * BuddyPress - Groups - gallery
 * ----------------------------------------
 */
.rtmedia-list li::before {
	/* Hide green bullet points before gallery items. */
	content: none;
}
.rtmedia-gallery-item-actions {
	/* Hide Edit/Delete controls on front-end display. */
	display: none;
}
.rtmedia-single-meta.rtm-single-meta {
	display: none !important;
}
.mfp-content .rtm-single-media {
	width: 100% !important;
}
.rtm-ltb-title {
	display: none;
}
.mfp-arrow {
	display: none !important;
}

/**
 * ----------------------------------------
 * AGES - Tenders Archive
 *
 * Creates consistent column layout for meta field rows
 * ensuring labels and values align across multiple rows
 * ----------------------------------------
 */
/* Main meta field rows - convert flex to grid for consistent columns */
body.post-type-archive-ages-tenders
	.wp-block-group.is-layout-flex.wp-block-group-is-layout-flex:has(p strong),
body.post-type-archive-ages-tenders
	.wp-block-group.is-nowrap.is-layout-flex:has(p strong) {
	display: grid !important;
	grid-template-columns: minmax(120px, max-content) 1fr;
	gap: 0.5rem;
	align-items: start;
}

/* Ensure paragraphs don't have default margins that interfere */
body.post-type-archive-ages-tenders .wp-block-group.is-layout-flex p,
body.post-type-archive-ages-tenders .wp-block-group.is-nowrap.is-layout-flex p {
	margin: 0;
}

/* Label styling - first paragraph with strong text */
body.post-type-archive-ages-tenders
	.wp-block-group.is-layout-flex
	p:has(strong),
body.post-type-archive-ages-tenders
	.wp-block-group.is-nowrap.is-layout-flex
	p:has(strong) {
	justify-self: start;
	white-space: nowrap;
}

/* Value container - spans full remaining width */
body.post-type-archive-ages-tenders
	.wp-block-group.is-layout-flex
	.meta-field-wrapper,
body.post-type-archive-ages-tenders
	.wp-block-group.is-layout-flex
	.wp-block-group.is-nowrap,
body.post-type-archive-ages-tenders
	.wp-block-group.is-nowrap.is-layout-flex
	.meta-field-wrapper {
	justify-self: start;
	width: 100%;
}

/* Special handling for Location row which has nested group */
body.post-type-archive-ages-tenders
	.wp-block-group.is-layout-flex:has(.wp-block-group.is-nowrap) {
	display: grid !important;
	grid-template-columns: minmax(120px, max-content) 1fr;
	gap: 0.5rem;
	align-items: start;
}

/* Location nested values - keep as flex for inline display */
body.post-type-archive-ages-tenders
	.wp-block-group.is-nowrap.is-layout-flex
	.meta-field-wrapper {
	display: inline-block;
	margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	body.post-type-archive-ages-tenders
		.wp-block-group.is-layout-flex.wp-block-group-is-layout-flex:has(
			p strong
		),
	body.post-type-archive-ages-tenders
		.wp-block-group.is-nowrap.is-layout-flex:has(p strong) {
		grid-template-columns: 1fr;
		gap: 0.25rem;
		margin-top: 1rem;
	}

	body.post-type-archive-ages-tenders
		.wp-block-group.is-layout-flex
		p:has(strong),
	body.post-type-archive-ages-tenders
		.wp-block-group.is-nowrap.is-layout-flex
		p:has(strong) {
		margin-bottom: 0.25rem;
	}

	/* Stack Location nested values vertically on mobile */
	body.post-type-archive-ages-tenders
		.wp-block-group.is-nowrap.is-layout-flex
		.meta-field-wrapper {
		display: block;
		margin-right: 0;
		margin-bottom: 0.25rem;
	}

	body.post-type-archive-ages-tenders
		.wp-block-group.is-nowrap.is-layout-flex {
		align-items: flex-start;
	}

	body.post-type-archive-ages-tenders
		.wp-block-group.is-nowrap.is-layout-flex
		.meta-field-wrapper:last-child {
		margin-bottom: 0;
	}

	/* Special handling for Location row which has nested group */
	body.post-type-archive-ages-tenders
		.wp-block-group.is-layout-flex:has(.wp-block-group.is-nowrap) {
		grid-template-columns: unset;
	}

	body.post-type-archive-ages-tenders .wp-block-group.is-layout-flex {
		flex-wrap: wrap;
	}
}

/**
 * ----------------------------------------
 * AGES - Tenders Single
 * ----------------------------------------
 */
.tender-listings li::before {
	/* Hide green bullet points before tenders. */
	content: none;
}

/**
 * ----------------------------------------
 * BuddyPress - Members
 * ----------------------------------------
 */
#change-cover-image-personal-li {
	display: none !important;
}

body.buddypress .profile.edit .screen-heading {
	text-align: left;
}

/* stylelint-enable no-descending-specificity, rule-empty-line-before */
/* stylelint-enable no-eol-whitespace */
/* stylelint-enable block-closing-brace-newline-before */
/* stylelint-enable block-closing-brace-newline-after */
/* stylelint-enable declaration-block-semicolon-newline-after */
/* stylelint-enable max-line-length */
/* stylelint-enable no-duplicate-selectors */
