/*!
Theme Name: myhealth
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: myhealth
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

myhealth is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
 
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
:root {
	color-scheme: light dark;

	:has(#light-switch:checked) {
		color-scheme: dark;
	}

	@media (prefers-reduced-motion: no-preference) {
		interpolate-size: allow-keywords;
	}

	--font-text: Arial, Helvetica, sans-serif;

	--clr-white: #fff;

	--clr-neutral: hsl(60, 8.2%, 76.08%);
	--clr-neutral-light: hsl(180, 33.33%, 98.82%);
	--clr-neutral-mid: hsl(180, 9.37%, 87.45%);
	--clr-neutral-dark: hsl(190.29, 100%, 6.86%);

	--clr-green: hsl(181.08, 100%, 21.76%);	
	--clr-green-light: hsl(173.85, 43.82%, 82.55%);
	--clr-green-mid: hsl(180.44, 82.82%, 31.96%);
	--clr-green-dark: hsl(181.08, 100%, 16%);	

	--clr-yellow: hsl(52.94, 51.52%, 74.12%);	
	--clr-yellow-light: hsl(60, 33.33%, 97.06%);
	--clr-yellow-dark: hsl(53.4, 51.02%, 61.57%);
	--clr-yellow-darker: hsl(53.53, 91.26%, 35.88%);

	--foreground: light-dark(var(--clr-neutral-dark), var(--clr-neutral-light));
	--background: light-dark(var(--clr-neutral-light), var(--clr-neutral-dark));

	--dark-grad1: linear-gradient(-10deg, var(--clr-green) 0%, var(--clr-neutral-dark) 80%);
	--dark-grad2: linear-gradient(160deg, var(--clr-green) 0%, var(--clr-neutral-dark) 80%);

}

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	font-size: 1em;
	overflow-x: hidden;
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* 
*   Kevin Powell
*   https://youtu.be/cCAtD_BAHNw 
*/

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

* {
  margin: 0;
  padding: 0;
  font: inherit; /* Get rid of all font sizes and heights */
}

html {
  hanging-punctuation: first last; /* Not supported in Chrome */
}

body {
  min-height: 100vh;
  transition: background 1s, color 1s;
}

/* Media responsive */
img, picture, svg, video {
  display: block;
  max-width: 100%;
}

h1, h2, h3 {
  text-wrap: balance;
}

h4, h5, h6, p {
  max-width: 75ch;
  text-wrap: pretty; /* Prevents orphans on lines */
}

@media (prefers-reduced-motion: no-preference) {
  :has(:target) {
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
  }
}


/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--foreground);
	font-family: var(--font-text);
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

h1 {
	font-size: clamp(2rem, 1.275rem + 3.094vw, 3.75rem);
	color: light-dark(var(--clr-green-mid), var(--clr-green-light));
	font-weight: 900;
	line-height: 1;
	margin: 2rem 0 1rem 0;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		margin: 1rem 0 1rem 0;
	}
}

h2 {
	font-size: clamp(1.75rem, 1.282rem + 1.29vw, 2.25rem);
	color: light-dark(var(--clr-green), var(--clr-yellow-light));
	font-weight: 700;
	margin: 3rem 0 1rem 0;
}

h3 {
	font-size: 1.75rem;
	font-weight: 600;
	color: light-dark(var(--clr-green), var(--clr-yellow-light));
	margin-bottom: 1.5rem;
}

p {
	margin-bottom: 1.5rem;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: var(--background);
	overflow-x: hidden;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5rem;
}

ul,
ol {
	margin: 0 0 1.5rem 3rem;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a, 
a:visited {
	color: light-dark(var(--clr-green-mid), var(--clr-yellow-light));
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: light-dark(var(--clr-green), var(--clr-yellow));
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: var(--clr-neutral-dark);
	border: 1px solid var(--clr-green);
	background: var(--clr-green-light);
	border-radius: 0.125rem;
	padding: 0.25rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: var(--clr-green);
}

select {
	border: 1px solid var(--clr-green);
	background: var(--clr-green-light);
  border-radius: 100px;
  padding: 0.25rem 0.75rem;
}

textarea {
	width: 100%;
}

input.gform_button[type="submit"] {
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	background-color: var(--clr-yellow);
	padding: 1rem 1.5rem;
	border-radius: 500px;
	border: solid 3px var(--foreground);
}

input.gform_button[type="submit"]:hover,
input.gform_button[type="submit"]:active,
input.gform_button[type="submit"]:focus
 {
	color: var(--clr-white);
	background-color: var(--clr-yellow-darker);
}

.gchoice {
	font-size: 1.125rem;
	margin-block: 0.5rem;
}

.gform_wrapper.gravity-theme .gfield_required.gfield_required_text {
	color: var(--foreground);
}

.wp-element-button {
	font-weight: 700;
	color: var(--clr-white);
	background-color: var(--clr-green);
	padding: 1rem 1.5rem;
	border-radius: 500px;
	border: solid 3px var(--foreground);
}

.wp-element-button:hover,
.wp-element-button:active,
.wp-element-button:focus {
	text-decoration: none;
	color: var(--clr-white);
	background-color: light-dark(var(--clr-green-dark), var(--clr-neutral-dark));
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

.full-width {
	background: light-dark(var(--clr-neutral-mid), var(--clr-green));
	padding-block: 2rem;
}

.wrapper {
	max-width: 87.5rem; /* 1400px */
	margin-inline: auto;
	padding-inline: 1rem;

	@media screen and (min-width: 30rem) { /* 480px in normal conditions */
		padding-inline: 2.5rem;
	}
}

.inner-wrapper {
	max-width: 58.75rem; /* 940px */
	margin-inline: auto;
}

.site-main {
	padding-block: 3rem;
}

.space-above {
	margin-top: 4rem;
}

.para-no-space {
	margin-bottom: 0;
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: flex;
	z-index: 411;
}

#primary-menu {
	flex-direction: column;
	list-style: none;
	margin: 0;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 10.5rem;
	background: linear-gradient(60deg, var(--clr-neutral-dark) 0%, var(--clr-green) 100%);

	@media screen and (min-width: 43.75rem) { /* 700px in normal conditions */
		--top-calc: calc(100vw - 700px);
		margin-top: calc((var(--top-calc) / 10) + 10.5rem);
	}

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		display: flex;
		flex-direction: row;
		gap: 1rem;
		position: initial;
		width: auto;
		margin-top: 0;
		background: none;
	}
}

#primary-menu li {
	padding: 0.5rem 1.5rem;
	border-top: solid 1px var(--clr-yellow);
	position: relative;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		padding: 0;
		border-top: none;
	}
}

#primary-menu li:hover, #primary-menu li:active {
	background: var(--clr-neutral-dark);

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		background: none;
	}
}

#primary-menu li a {
	display: flex;
	/*color: var(--clr-white);*/
	padding: 1em;
}

#primary-menu li.menu-item-has-children {
	position: relative;
	padding-right: 1.5em;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		padding-right: 1rem;
	}
}

#primary-menu li.menu-item-has-children a {
	position: relative;
}

/*#primary-menu li.menu-item-has-children > a {
	pointer-events: none;
}
*/
#primary-menu li.menu-item-has-children a::after {
	position: absolute;
	width: 1rem;
	height: 0.55rem;
	top: 1rem;
	right: -0.75rem;
	content: url(img/chevron-down.svg);
	transition: transform 300ms, rotate 300ms ease;
	transform-origin: center;
	text-align: center;
	opacity: 0.8;
}

#primary-menu li.menu-item-has-children:hover a::after {
	opacity: 1;
}

#primary-menu li.menu-item-has-children.open a::after {
	rotate: 180deg;
	transform: translatey(-1rem);
}

#primary-menu li.menu-item-has-children .sub-menu a::after, 
.menu-item-has-children.open .sub-menu a::after {
	content: none;
}

.sub-menu {
	display: block;
	padding-inline-start: 0;
	list-style: none;
	min-width: calc(100% + 2em);
	margin: 0.5em 0 0 0;
	z-index: 67000;
	max-height: 0;
	overflow: hidden;
	transition: max-height 300ms, opacity 300ms;
}

.menu-item-has-children.open .sub-menu {
	max-height: 1200px;
	opacity: 1;
	padding: 0;
}

#primary-menu .sub-menu li {
	padding-left: 3em;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		border-top: solid 1px var(--clr-yellow);
		background: var(--clr-green);
		padding-left: 0;
	}
}

#primary-menu .sub-menu li:hover,
#primary-menu .sub-menu li:active {

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		background: var(--clr-neutral-dark);
	}
}

#primary-menu .sub-menu li a {
    display: block;
}

.pic-menu-item img {
	display: none;
}

.mega-menu-desc {
	display: none;
}

.sub-menu .sub-menu {
	z-index: 763;
}

.main-navigation ul li.open > ul {
    top: 100%;
    left: 0;
}

.main-navigation ul ul li.open > ul {
    top: 0;
    left: 100%;
}

.main-navigation a {
	text-decoration: none;
	color: var(--clr-green-light);
}

.main-navigation a:hover, .main-navigation a:active {
	color: var(--clr-white);
}

.current_page_item a {
	font-weight: 700;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

#menuicon {
	display: block;
	padding: 0;
	border-radius: 0;
	background: transparent;
	border: none;
	cursor: pointer;
  align-self: end;
  z-index: 598;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		display: none;
	}
}

.burger {
  display: block;
  width: 2.25em;
  height: 2.25em;
  fill: var(--clr-green-light);
}

#menuicon:hover .burger {
  fill: var(--clr-white);
}

#menuicon .line {
	transition: x 300ms ease-in, y 300ms ease-in 300ms, transform 300ms ease-in 300ms, rotate 300ms ease-in, opacity 0ms 300ms;
	transform-origin: center;
}

#menuicon[aria-expanded="true"] .line {
	transition: x 300ms ease-in, y 300ms ease-in, transform 300ms ease-in, rotate 300ms ease-in 300ms, opacity 0ms 300ms;
}

#menuicon[aria-expanded="true"] :is(.top, .bottom) {
	transform: scaleX(1.15);
	y: 45px;
}

#menuicon[aria-expanded="true"] .top {
	rotate: 45deg;
}

#menuicon[aria-expanded="true"] .middle {
	opacity: 0;
}

#menuicon[aria-expanded="true"] .bottom {
	rotate: -45deg;
}

.main-navigation ul[data-state="opened"] {
  animation: clipPathMenuOpen 1s ease-in-out forwards;
  display: flex;
}

.main-navigation ul[data-state="closing"] {
  animation: clipPathMenuClose 1s ease-in-out forwards;
}

.main-navigation ul[data-state="closed"] {
  display: none;
}

@keyframes clipPathMenuOpen {
	0% {
		clip-path: circle(0% at top right);
	}
	100% {
		clip-path: circle(150% at top right);
	}
}
@keyframes clipPathMenuClose {
	0% {
		clip-path: circle(150% at top right);
	}
	100% {
		clip-path: circle(0% at top right);
	}
}

/* Header */

#masthead {
	background: linear-gradient(60deg, var(--clr-green) 0%, var(--clr-green-mid) 100%);
  padding-block: 1rem ;
  border-bottom: solid 1px var(--clr-yellow);

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
	  padding-block: 2rem;
	}
}

#header-split {
	display: grid;
	grid-template-columns: clamp(6rem, 15vw, 10rem) 1fr;
	gap: 1rem;

	@media screen and (min-width: 31.25rem) { /* 500px in normal conditions */
	  gap: 3rem;
	}
}

#nav-split {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: end;
}

.site-branding {
	z-index: 537;
}

.end {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin-top: 1rem;
	gap: 0.75rem;

	@media screen and (min-width: 50rem) { /* 800px in normal conditions */
	  margin-top: 0;
	}
}

#light-switch {
	display: none;
}

#switch-button {
	position: relative;
	width: 2rem;
	height: 2rem;
	display: block;
	background: var(--clr-green-light);
	border: solid 2px var(--clr-green-light);
	border-radius: 100px;
	cursor: pointer;
	overflow: hidden;
}

#switch-button:after {
	content: '';
	position: absolute;
	width: 1.75rem;
	height: 1.75rem;
	background: var(--clr-green);
	top: 0;
	left: -0.875rem;
	transition: 0.5s;
}

#light-switch:checked ~ #switch-button:after {
	left: 0.875rem;
	background: var(--clr-green-mid);
}

#light-switch:checked ~ #switch-button {
	background: var(--clr-neutral-dark);
}

.text-btn {
	font-size: 0.75rem;
	font-weight: 700;
	background: var(--clr-green-light);
	border: none;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	padding: 0.25rem;
	width: 2rem;
}

.text-btn:hover,
.text-btn:active {
	background: var(--clr-green);
	color: var(--clr-white);
	border: solid 2px var(--clr-white);
}

/* Search */

.search-form {
	position: relative;
	height: 2.75em;
	border-radius: 0.5em;
}

input[type="search"].search-field {
	border-radius: 0.5em;
	border: solid 2px var(--clr-green-light);
	background: var(--clr-green);
	color: var(--clr-white);
	padding: 0.25em 3em 0.25em 0.5em;
	height: 2.75em;
	width: 100%;

	@media screen and (min-width: 31.25rem) { /* 500px in normal conditions */
	  width: auto;
	}
}

input[type="submit"].search-submit {
	background-color: var(--clr-green);
	background-image: url("img/mag-glass.svg");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 40%;
	border-radius: 0 0.5em 0.5em 0;
	border: solid 2px var(--clr-green-light);
	border-left: none;
	position: absolute;
	top: 0;
	right: 0;
	width: 2.75em;
	height: 2.75em;
}

.search-result-item {
	padding-bottom: 1rem;
	margin-bottom: 1rem;
	border-bottom: solid 1px var(--clr-neutral-dark);
}


/* Footer */

#site-footer {
	color: var(--clr-white);
	background: var(--dark-grad2);
	font-size: 0.875rem;
}

#site-footer a, 
#site-footer a:visited {
	color: var(--clr-green-light);
}

#site-footer a:hover,
#site-footer a:active {
	color: var(--clr-white);
}

.two-col-split {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-block: 2rem;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}
}

.two-col-split-uneven {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-block: 2rem;

	@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */
		grid-template-columns: 4fr 3fr;
		gap: 4rem;
	}
}

#photosymbols {
	max-width: 14rem;
}

/* Social media */

#sm-btns {
  display: grid;
  grid-template-columns: repeat(4, 2.5rem);
  column-gap: 0.5rem;
  margin: 0.5rem 0 4rem 0;
}

.sm {
	fill: var(--clr-green-light);
	fill-rule:evenodd;
	clip-rule:evenodd;
}

.sm-div:hover .sm {
	fill: var(--clr-white);
}

.sm-div {
	width: 2.5rem;
	height: 2.5rem;
}

/* Bigger socials on connect page */

.large-sm-split {
	display: flex;
	gap: 2rem;
	justify-content: center;
	padding-block: 2rem;
}

.large-sm {
	width: 5rem;
	opacity: 0.85;
}

.large-sm:hover {
	opacity: 1;
}

.tiktok-bg {
	fill: light-dark(#000, var(--clr-white));
}

.tiktok-d {
	fill: light-dark(var(--clr-white), #000);
}

.tiktok-blue {
  fill: #00c9d0;
}

.tiktok-red {
  fill: #ff1753;
}


/* End social media */


/* Social feeds */

.social-feed {
	background: light-dark(var(--clr-green), var(--clr-neutral-dark));
	border-radius: 1.5rem;
	padding: 2rem 0.5rem;
}

.slicker-instagram-placeholder {
  width: calc(100% - 2rem) !important;
}

.fts-tiktok-bio-nicename a {
	color: var(--foreground)!important;
}

.social-head {
	text-align: center;
	color: var(--clr-white);
}

#base {
	background: var(--clr-neutral-dark);
	padding-block: 1.5rem;
}

#fineprint {
	display: flex;
	flex-direction: column;
	gap: 2rem;

	@media screen and (min-width: 75rem) { /* 1200px in normal conditions */
		flex-direction: row;
		justify-content: space-between;
	}
}

#footer-details {
	display: flex;
	gap: 0.5rem;
}

#ge-logo {
	width: 6rem;
}

/* Extra content bits */
.wp-block-media-text {
  grid-template-columns: 30% 1fr;
  margin-bottom: 4em;
}

.gform-body input {
	background: var(--clr-neutral-light);
}

/* Tiles */

.tile-display {
	display: grid;
  grid-template-columns: repeat(auto-fit,minmax(18.75rem,1fr));
  gap: 2rem;
	padding: 4rem 0;
}

.tile {
	display: flex;
	flex-direction: column;
	position: relative;
	min-height: 14em;
	width: 100%;
	align-items: center;
}

.tile a {
	position: absolute;
	width: 100%;
  height: 100%;
  z-index: 473;
}

.child-tile {
	position: relative;
	height: 18em;
	border-radius: 0 2em 0 0;
	border: solid 2px var(--clr-neutral-mid);
	overflow: hidden;
}

.people-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	margin: 3rem 0 0 0;
}

.people-main {
	position: relative;
	/*min-height: 14em;*/
	background: light-dark(var(--clr-green), var(--clr-green-light));
	border-radius: 2rem 2rem 0 0;
	padding-top: 0.5em;
	width: 100%;
}

.people-deets {
	display: none;
	color: light-dark(var(--clr-white), var(--clr-neutral-dark));
	background: light-dark(var(--clr-green), var(--clr-green-light));
	padding: 1em;
}

.people-tile-img-cont {
	position: relative;
	overflow: hidden;
	margin: -3rem 0 0 0;
	width: 12rem;
	height: 12rem;
	border-radius: 50%;
	background-color: var(--clr-white);
	border: solid 4px var(--clr-neutral-light);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  margin-inline: auto;
}

.people-tile-title, .people-tile-title:hover {
	padding: 0.5em;
	text-align: center;
	color: light-dark(var(--clr-yellow-light), var(--clr-neutral-dark));
	font-size: 1.25rem;
	line-height: 1;
	font-weight: 700;
	text-decoration: none;
	margin: 0.5em 0.5em 0 0.5em;
}

.tile-img-cont {
	position: relative;
	overflow: hidden;
	margin: 0.5em;
	height: 12em;
	background-color: #fff;
}

.tile-title, .tile-title:hover {
	color: var(--clr-yellow-light);
	font-weight: 700;
	text-decoration: none;
	margin: 0.5em;
}

.featured-cont .tile-title {
	text-align: center;
}

.tile .people-deets a,
.tile .people-deets a:visited {
	position: static;
	width: auto;
	height: auto;
	color: light-dark(var(--clr-yellow), var(--clr-green));
}

.tile-excerpt, .tile-date {
	color: var(--neutral-dark);
	padding: 0 0.5em 0.5em 0.5em;
}

.tile-date {
	font-size: 0.9rem;
	font-style: italic;
}

.readmore {
	color: var(--clr-green);
	text-align: right;
	margin: auto 0.5em 0.5em 0;
}

.bg-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-attachment: initial;
  background-repeat: no-repeat;
  background-position: center center;
  transition: transform 400ms;
}

.bg-img.logo {
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;
  background-size: contain;
}

.people-tile-img-cont .bg-img {
  background-position: center 10%;
}

/* Young people section */
#young-intro-cont {
	display: grid;
  grid-template-columns: repeat(auto-fit,minmax(18.75rem,1fr));
  gap: 2rem;
	padding: 4rem 0;
}

.young-intro-tile {
	color: var(--clr-white);
	background: var(--clr-green);
	border-radius: 0 2rem 0 2rem;
	padding: 1rem 2rem;
}

.young-intro-tile a {
	display: grid;
	grid-template-rows: 18rem 1fr;
	color: var(--clr-white);
}

.young-intro-tile h3 {
	color: white;
	line-height: 1;
	margin-top: 2rem;
}

.young-intro-tile a:hover,
.young-intro-tile a:active {
	text-decoration: none;
}

.young-intro-img img {
	height: 100%;
	margin-inline: auto;
}

/* End young people section */

.wp-block-columns {
	padding-top: 1rem;
	border-top: solid 1px var(--clr-yellow);
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  padding: 0;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

@media screen and (min-width: 62.5rem) { /* 1000px in normal conditions */

	#primary-menu, #primary-menu[data-state="opened"] {
		display: flex;
	}

	#primary-menu[data-state="opened"], #primary-menu[data-state="closing"], #primary-menu[data-state="closed"] {
		animation: none;
	}

	#primary-menu li {
		position: relative;
	}

/*	#primary-menu li:not(.sub-menu .sub-menu li) {
		font-size: 0.9rem;
		margin: 0 0 -2px -2px;
	}

	#primary-menu li:first-of-type:not(.sub-menu li) {
		margin: 0 0 -2px 0;
	}*/

	.sub-menu {
		position: absolute;
    display: flex;
    top: 100%;
    left: 0;
    right: 0;
    opacity: 0;
    pointer-events: none;
    flex-direction: column;
    width: max-content;
	}

	#primary-menu li.open .sub-menu {
	    pointer-events: initial;
	}

	.sub-menu li {
		padding-left: 0;
		border-top: solid 1px var(--clr-yellow);
	}

	.sub-menu li:hover,
	.sub-menu li:active {
		background: var(--clr-neutral-dark);
	}

	.pic-menu-item {
		width: 18%;
		text-align: center;
	}

	.pic-menu-item img {
		display: block;
		width: 100%;
		height: 10em;
		object-fit: cover;
		margin-top: 0.5em;
	}

	.mega-menu-desc {
		display: block;
	}

}



