/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root {
	--curve-mask: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='70' height='21.194' version='1.1' viewBox='0 0 70 21.194' xml:space='preserve'%3e%3cpath class='st0' d='m28.272 12.222c-8.554-4.8657-14.588-12.222-28.272-12.222v21.194l70-0.0056c-23.053 0.2-34.804-5.0284-41.728-8.9672z'/%3e%3c/svg%3e");
	--wave-svg: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg width='122px' height='48px' viewBox='0 0 122 48' version='1.1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,14.028l1.291,0.034c11.808,0 17.045,-2.424 24.287,-5.776c8.392,-3.885 17.902,-8.286 35.416,-8.286c17.516,0 27.023,4.399 35.412,8.283c7.248,3.355 12.485,5.779 24.293,5.779l1.101,-0.029l0,22.882l-1.101,0.031c-12.87,0 -19.097,-2.881 -26.309,-6.22c-7.944,-3.677 -16.942,-7.842 -33.396,-7.842c-16.452,0 -25.453,4.165 -33.393,7.842c-7.213,3.339 -13.44,6.22 -26.31,6.22l-1.291,-0.037l0,-22.881Z' fill='%23A22767'/%3E%3C/svg%3E");
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

.icon__circled {
	padding: 1.25rem;
	border: 3px solid currentcolor;
	border-radius: 50%;
}

header {
	--height: 150px;
	position: sticky;
	z-index: 10000;
	top: calc(-1 * var(--height));
	transition: top 0.3s ease;
	box-shadow: 0 0 4px var(--wp--preset--color--dark-shade);
}

header::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--height) / 2);
    z-index: -1;
}

header:hover {
	top: var(--wp-admin--admin-bar--height, 0);
}

header a[href] {
	white-space: nowrap;
}

/* wp default stylings can suck a fat one */
footer {
	--_color: var(--wp--preset--color--primary);
	position: relative;
	box-shadow: 0 100dvh 0 100dvh var(--_color);
}

header nav .current-menu-item {
    color: var(--wp--preset--color--primary);
	font-weight: bolder;
}

body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}
body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

div.wavy {
    background: var(--wave-svg) #992167;
    color: #fff;
}

:focus {
	outline: none;
}
ul.is-style-checkmark-list {
    list-style: none;
}

ul.is-style-checkmark-list li {
    position: relative;
	padding-left: 0;
}

ul.is-style-checkmark-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 400;
    color: var(--wp--preset--color--primary);
	margin-right: 0.875rem;
}

a.hover-download {
	position: relative;
	color: var(--wp--preset--color--primary);
	text-decoration: none ! important;
}

a.hover-download figcaption {
	font-size: 1rem;
}

a.hover-download::before,
a.hover-download::after {
	opacity: 0;
	transition: opacity 0.3s;
	position: absolute;
}

a.hover-download::before {
	content: "Download brochure";
	color: relative;
	font-family: inherit;
	font-weight: 600;
	font-size: 1.25rem;
	align-content: center;
	text-align: center;
	background-image: url('/wp-content/uploads/download.svg');
	background-repeat: no-repeat;
	background-position: center 1rem;
	background-size: min(50px, 30%);
	width: min(100%, 100px);
	aspect-ratio: 1;
	padding-top: 2rem;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}

a.hover-download::after {
	content: "";
	inset: 0;
	background-color: #ffffffcc;
}

a.hover-download:hover::before,
a.hover-download:hover::after {
	opacity: 1;
}

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) .wp-block-navigation-item:not(:first-child) {
    border-left: 1px solid var(--wp--preset--color--black);
    padding-left: var(--wp--style--block-gap);
}

.wp-block-cover[data-attribution] {
	position: relative;
}

.wp-block-cover[data-attribution]::after {
    content: 'Pool built by ' attr(data-attribution);
    position: absolute;
    font-size: inherit;
    font-family: inherit;
    display: block;
    right: 0;
    bottom: 1rem;
    z-index: 1000;
    background-color: rgba(0,0,0,0.75);
    color: var(--wp--preset--color--white);
    padding: 0.5rem 1rem;
}

/* Form override for font size */
.fluentform {
	font-size: medium;
}

a.selector-card {
	&:hover {
		z-index: 1;
		
		& > * {
			border-image: linear-gradient(45deg, #ff6a00, #ee0979) 1;
		}
	}
	& > * {
		border: 5px solid transparent;
	}
}

@media (max-width: 1023px) {
	footer > div {
		padding-top: var(--wp--preset--spacing--50);
	}
}

@media (min-width: 1024px) {
	.featured {
		--_color: var(--wp--preset--color--white);
		position: relative;
	}
	
	.featured::before,
	.featured::after,
	footer > div::before,
	footer > div::after {
		content: '';
		position: absolute;
		background-color: var(--_color);
		z-index: 3;
		height: 3rem;
	}
	
	.featured::before,
	.featured::after {
		bottom: -1px;
	}
	
	.featured::before {
		right: 0;
		inline-size: 35%;
	}

	.featured::after {
		-webkit-mask: var(--curve-mask);
		-webkit-mask-size: cover;
		-webkit-mask-repeat: no-repeat;
		mask: var(--curve-mask);
		mask-size: cover;
		mask-repeat: no-repeat;
		transform: scaleX(-1);
		width: 148px;
		right: calc(35% - 1px);
	}
	
	footer > div {
		--_inline: calc(max(((100% - var(--wp--style--global--content-size)) / 2), 0px) + 250px);
		margin-block-start: calc(3rem + var(--wp--preset--spacing--50)) ! important;
	}
	
	footer > div::before,
	footer > div::after {
		bottom: 100%;
	}
	
	footer > div::before {
		width: 148px;
		left: calc(var(--_inline) - 1px);
		-webkit-mask: var(--curve-mask);
		-webkit-mask-size: cover;
		-webkit-mask-repeat: no-repeat;
		mask: var(--curve-mask);
		mask-size: cover;
		mask-repeat: no-repeat;
	}
	
	footer > div::after {
		left: 0;
		inline-size: var(--_inline);
	}
}

@media (min-width: 1280px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;
	}
	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}


@media (min-width: 782px) {
	.wp-block-cover .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		border-top-right-radius: 2rem;
		border-bottom-right-radius: 2rem;
	}
}