/*
Theme Name: British Kite Sports
Theme URI: https://zephyrus.digital/
Author: Zephyrus Digital
Author URI: hhttps://zephyrus.digital/
Description: Custom Theme for British Kitesports.org
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
    - Video Block
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Just Go Jiggery Pokery to override their rubbish weblet CSS
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

:root {
    font-family: Arial, Helvetica, sans-serif;;
	--main-font: Arial, sans-serif;
	--site-width: calc(100% - 6rem);
	--header-height: 100px;
	--body-color: #f2fbff;
    --body-color-darker: #f2fbffdc;
    --deep-ocean-blue: rgb(38, 43, 103);
	--sky-blue-25pcnt: hsla(199, 100%, 37%, 0.2);
    --sky-blue: rgb(0, 131, 191);
    --bright-red: rgb(237, 28, 44);
    --white: rgb(255, 255, 255);
	--bksa-shadow: 0px 1px 2px rgba(66,66,66,0.4);
	--drop-shadow-large: 0px 0px 12px rgba(66,66,66,0.3);
    --dark-filter: rgba(50,50,50,0.4);
    --bksa-gradient: linear-gradient(135deg,rgba(0,131,191,1) 0%, rgba(38,43,103,1) 100%);
    --bksa-gradient-reverse: linear-gradient(315deg,rgba(0,131,191,1) 0%, rgba(38,43,103,1) 100%);
	--bksa-gradient-translucent: linear-gradient(135deg,rgba(0,131,191,0.95) 0%, rgba(38,43,103,0.75) 100%);
    --step--2: clamp(0.69rem, calc(0.69rem + 0.03vw), 0.72rem);
    --step--1: clamp(0.83rem, calc(0.82rem + 0.07vw), 0.90rem);
    --step-0: clamp(1.00rem, calc(0.98rem + 0.13vw), 1.13rem);
    --step-1: clamp(1.20rem, calc(1.16rem + 0.21vw), 1.41rem);
    --step-2: clamp(1.44rem, calc(1.38rem + 0.32vw), 1.76rem);
    --step-3: clamp(1.73rem, calc(1.63rem + 0.47vw), 2.20rem);
    --step-4: clamp(2.07rem, calc(1.94rem + 0.67vw), 2.75rem);
    --step-5: clamp(2.49rem, calc(2.30rem + 0.95vw), 3.43rem);
	--padding-gen: clamp(1.73rem, 1.26rem + 2.35vw, 2.93rem);
	--transitions: all 0.35s ease-in-out;
}
/* 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%;
}

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

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

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

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: var(--step-5);
	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: var(--step-0);
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: var(--step--2);
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: var(--step--2);
	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: var(--step-0);
	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;
	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;
	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
	 ========================================================================== */
.pdinl {
    padding-inline: var(--step-5);
}
.pdbl {
	padding-block: var(--step-5);
}
.pdtop {
    padding-top: var(--step-5);
}
.pdbot {
    padding-bottom: var(--step-5);
}
.pdlft {
	padding-left: var(--step-5);
}
.pdrht {
	padding-right: var(--step-5);
}
.capitals {
    text-transform: capitalize;
}
.centered {
    text-align: center;
}
.block {
	display: block;
}
.drop-shadow {
	box-shadow: var(--drop-shadow-large);
}
.round {
	border-radius: 50%;
	overflow: hidden;
}
.color-styled {
	position: relative;
}
.color-styled::after {
	z-index: 1;
	position: absolute;
	content: "";
	top: -3px;
	left: -3px;
	right: -3px;
	bottom: -3px;
	border-radius: 50%;
	opacity: 0.25;
	background-image: url(../svg/circular-generic-watermark-bksa.svg), var(--bksa-gradient);
	background-size: cover, cover;
}
/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

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

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
@font-face {
	font-family: "Gotham Book";
	src: url(../ttf/gothambook.ttf) format('truetype');
}
@font-face {
	font-family: "Gotham Bold";
	src: url(../ttf/gothambold.ttf) format('truetype');
}
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-size: var(--step-0);
	line-height: 1.25;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	clear: both;
	margin-top:0;
	color: var(--deep-ocean-blue);
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Arial, Helvetica, sans-serif ;
}
h1,
h2,
h3 {
	line-height: 1.15;
    margin-bottom: 0.5rem;
    text-wrap: balance;
}
h4 {
    text-wrap: balance;
}
h1, .h1 {
	font-size: var(--step-5);
	text-transform: uppercase;
	letter-spacing: clamp(-0.05rem, calc(-0.04rem - 0.3vw), -0.14rem);
	font-weight: 800;
}
h2, .h2 {
	font-size: var(--step-4);
}
h3, .h3 {
	font-size: var(--step-3)
}
h4, .h4 {
	font-size: var(--step-2);
    padding-bottom: 0.5rem;
    line-height: 120%;
}
h5, .h5{
	font-size: var(--step-1);
	font-weight: bold;
}
h6, .h6 {
	font-size: var(--step-1)
}
p, .p {
	font-size: var(--step-0);
	/* margin-bottom: 1.5em; */
}
.nbm {
    margin-bottom: 0;
}
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: var(--step-0);
}
.upper {
	text-transform: uppercase;
}
.bold-type {
    font-weight: 600;
}
.light h1, .light h2, .light h3, .light h4, .light h5, .light h6, .light p, .light ul, .light li, .light a {
    color: var(--body-color);
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

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

ul,
ol {
	margin: 0 0 1.5em 1em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}
li {
    color: var(--deep-ocean-blue);
    padding-bottom: 0.5em;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 0.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 {
	color: var(--sky-blue);
    text-decoration: none;
	cursor: pointer;
	display: inline-block;
    transition: var(--transitions);
}

a:hover,
a:focus,
a:active {
	color: var(--bright-red);
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}
a.block-link {
	display: block;
}
.button-link {
    display: block;
    padding: 0.5rem 1rem;
    border: 3px solid var(--body-color);
    color: var(--body-color);
    font-size: var(--step-3);
    text-transform: uppercase;
    transition: var(--transitions);
    background-color: transparent;
}
.button-link:hover {
    border: 3px solid var(--body-color-darker);
    color: var(--body-color-darker);
    background-color: transparent;
}
/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-flex;
    justify-content: center; /* center the content horizontally */
    align-items: center; /* center the content vertically */
	border: none;
	border-color:transparent;
	background: var(--bright-red);
	color:var(--body-color);
	line-height: 1;
    text-transform: uppercase;
	padding: 0.5em 1em;
    cursor: pointer;
    transition: var(--transitions);
}
/*Specific Styling for Head Search */
#searchsubmit {
	border: none;
	border-radius: 0;
}
#searchform #s {
	border: none;
	padding-block: 10px;
}
#primary-menu li:nth-child(1) {
	order: 1;
}
#primary-menu li:nth-child(2) {
	order: 2;
}
#primary-menu li:nth-child(3) {
	order: 3;
}
#primary-menu li:nth-child(4) {
	order: 4;
}
#primary-menu li:nth-child(5) {
	order: 5;
}
#primary-menu li:nth-child(6) {
	order: 6;
}
#primary-menu li:nth-child(7) {
	order: 8;
}
#primary-menu li:nth-child(8) {
	order: 7;
}
.button-reorder {
	order: 7;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
    background:var(--deep-ocean-blue);
    box-shadow: var(--bksa-shadow);
}


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: #666;
	/* border: 1px solid #ccc;
	border-radius: 3px;*/
	padding: 4px;
}

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: #111;
}
button:hover, button:active,
button:focus {
	border-color: transparent;
}
select {
	border: 1px solid var(--sky-blue);
}

textarea {
	width: 100%;
}
/*--------------------------------------------------------------
# Icons
--------------------------------------------------------------*/
material-icons {
	font-family: 'Material Icons';
	font-weight: normal;
	font-style: normal;
	font-size: 24px;  /* Preferred icon size */
	display: inline-block;
	line-height: 1;
	text-transform: none;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
	direction: ltr;
  
	/* Support for all WebKit browsers. */
	-webkit-font-smoothing: antialiased;
	/* Support for Safari and Chrome. */
	text-rendering: optimizeLegibility;
  
	/* Support for Firefox. */
	-moz-osx-font-smoothing: grayscale;
  
	/* Support for IE. */
	font-feature-settings: 'liga';
  }
/* Seach Form Icon Styling */
input[type="submit"].icon-button {
	background-image: url(../svg/search-icon-red.svg);
	background-size: contain;
	background-color: transparent;
	height: 40px;
	width: 40px;
}
input[type="submit"].icon-button:hover {
	background-image: url(../svg/search-icon-blue.svg);
	background-size: contain;
	background-color: transparent;
	height: 40px;
	width: 40px;
	box-shadow: none;
}
/* Define a class for the submit button */
.search-icon {
	position: relative; /* Create a positioning context for pseudo-elements */
  }
  
  /* Hide the original text, but keep it accessible for screen readers */
  .search-icon input[type="submit"] {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0;
	border: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
  }
  
  /* Style the icon using a pseudo-element */
  .search-icon::before {
	content: "face"; /* Material icon code (adjust as needed) */
	font-family: "Material Icons";
	margin-right: 5px; /* Add spacing between icon and text */
  }  
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
	width: 100%;
}
.site-header {
	width: var(--site-width);
	margin: 0 auto;
}
.site-header {
	position: sticky;
	z-index: 9900;
	top:0px;
	width: 100%;
	background-color: var(--body-color);
	box-shadow: var(--bksa-shadow);
}
.admin-bar .site-header {
	top:32px;
}
.admin-bar .body {
	margin-top: -32px;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-branding {
	display: flex;
	align-items: center;
	padding-block: var(--step--2);
}
.site-branding a {
	display: flex;
}
#site-logo {
	width: 120px;
	max-width: 120px;
	height: auto;
	position: relative;
	z-index:9999;
}
@media screen and (min-width: 64em) {
	#site-logo {
		width: 180px;
		max-width: 180px;
	}
}
/*--------------------------------------------------------------
/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation .menu-item .sub-menu {
    height: initial;
	position: relative;
	z-index: 99999;
    background-color: transparent;
    transition: var(--transitions);
    li {
        padding: var(--step--2);
        a {
            font-size: var(--step--1);
        }
        
    }
}


@media screen and (min-width: 768px) {
    .main-navigation .menu-item .sub-menu {
        height: initial;
        position: absolute;
        top: 90%;
        left: 0;
        z-index: 99999;
        background-color: var(--body-color);
        transform: scaleY(0);
        transform-origin: top center;
        transition: var(--transitions);
        li {
            padding: var(--step--2);
        }
    }
    
    .main-navigation .menu-item:hover .sub-menu {
        transform: scaleY(1);
    }
    
}


.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	min-width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
    padding: 0 0.5rem;
    min-height: inherit;
    display: grid;
    place-items: center;
}

.main-navigation a {
	display: block;
	text-decoration: none;
    color:var(--body-color);
	font-size: var(--step-2);
}
.main-navigation a:hover {
    color: var(--bright-red);
}
.main-navigation .login-link a {
    position: relative;
    isolation: isolate;
    color: var(--body-color);
}
.main-navigation .login-link a::before {
    content: "";
    position: absolute;
    inset: -10px;
    background-color: var(--bright-red);
    z-index: -1;

}
.main-navigation .login-link a:hover::before {
    background-color: var(--deep-ocean-blue);
}
/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
.main-navigation.toggled ul {
	display: block;
}
.main-navigation.toggled ul ul li {
    padding: 0;
    padding-bottom: 0;
    a {
        text-align: right;
    }
}
.main-navigation.toggled ul li:first-of-type {
	margin-top: var(--step-5);
}
.main-navigation.toggled ul ul li:first-of-type {
	margin-top: var(--step--1);
}

.main-navigation .menu-main-head-container{
	min-height: 0vh;
	transition: var(--transitions);
	transform: scaleY(0);
	transform-origin: top center;
	position: relative;
}
.main-navigation.toggled .menu-main-head-container{
	padding-bottom: 2rem;
	transform: scaleY(1);
	min-height: 100vh;
	width: 100%;
	
}
.main-navigation.toggled .menu-main-head-container .button-reorder {
	padding-top: var(--step-5);
	
}
.main-navigation.toggled .menu-main-head-container::before{
	content:"";
	position: absolute;
	top:0px;
	right: -100px;
	bottom: -100px;
	left: -100px;
	background-image: var(--bksa-gradient);
	z-index: -1;
	
}
.main-navigation.toggled .menu-main-head-container #primary-menu {
	text-align: center;
	padding-top: var(--step-2);
}
.main-navigation.toggled .menu-main-head-container #primary-menu .menu-item {
	padding-bottom: var(--step-2);
    .sub-menu {
        .menu-item {
        padding-bottom: 0;
    }
}
}
.main-navigation.toggled .menu-main-head-container #primary-menu .menu-item a:hover {
	opacity: 0.8;
	
}
.menu-toggle {
	position: absolute;
	top: 12px;
	right: 1rem;
	cursor: pointer;
	display: inline-block;
	height: 38px;
	width: 38px;
	background-color: transparent;
	border: none;
}
.menu-toggle:hover {
	background: transparent;
}
.menu-toggle::before {
	position: absolute;
	display: block;
	right: 0;
	top: 0;
	content:"";
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background-color: var(--bright-red);
	transition: var(--transitions);
}
.toggled .menu-toggle::before {
	transform: rotate(45deg) translateX(11px) translateY(11px);
}
.menu-toggle::after {
	position: absolute;
	display: block;
	right: 0;
	bottom: 0;
	content:"";
	width: 100%;
	height: 6px;
	border-radius: 3px;
	background-color: var(--bright-red);
	transition: var(--transitions);
}
.toggled .menu-toggle::after {
	transform: rotate(-45deg) translateX(11px) translateY(-11px);
}
.mobile-menu-img {
	width: 38px;
	height: 6px;
	border-radius: 3px;
	background-color: var(--bright-red);
	margin: auto 0;
	transform: translateX(-16px);
}
.toggled .mobile-menu-img {
	display: none;
}
@media screen and (min-width: 64em) {
	.site-header {
		display: flex;
	}

	.menu-toggle {
		display: none;
	}
	.main-navigation .menu-main-head-container {
		height: 100%;
		background: var(--body-color);
		display: flex;
		justify-content: flex-end;
		transform: scaleY(1);
	}
	.main-navigation ul {
		height: 100%;
		display: flex;
		justify-content: flex-end;
        flex-wrap:wrap;
		padding-left: var(--step-1);
	}
	.main-navigation li {
		display: flex;
		align-items: center;
		padding-left: var(--step-1);
	}
	.main-navigation a {
		line-height: 100%;
		color: var(--deep-ocean-blue);
		font-size: var(--step--1);
		text-transform: uppercase;
	}
}
/* @media screen and (min-width: 37.6em) {
	.site-header {
		display: flex;
		padding: 0.5rem 4rem;
	}
}
.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
} */


/*--------------------------------------------------------------
/* Hero Section
--------------------------------------------- */
.hero__section {
	position: relative;
	z-index: 990;
	min-height: 80vh;
	overflow: hidden;
	/* border-bottom-right-radius: 20vw; */
}
.hero__section-wrapper {
	position: absolute;
	z-index: 998;
	inset: 0;
}
.active {
	z-index: 999;
}
.hero__image {
	display: none;
}
.hero__image, .hero__image-mobile {
	position: relative;
	z-index: 800;
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: var(--bksa-gradient);
	background-blend-mode: multiply;
	transform-origin: left top;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}
.hero__image-mobile::after {
    position: absolute;
    content: "";
    inset: 0;
    background-color: var(--dark-filter);
}
.hero__entry {
	position: relative;
	z-index:900;
	display: flex;
	min-height: 100%;
	flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero__entry-wrapper {
    margin: auto 32px;
}
.hero__entry-wrapper-text {
	min-height: inherit;
	display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
	flex: 1 1;
    margin-top: 5vw;
}
.hero__logo-wrapper {
    width: 80vw;
	max-width:24rem;
}
.active .hero__image, .active .hero__image-mobile {
	opacity: 1;
} */
.hero__entry-text {
	opacity: 1;
}
.hero__entry-text p {
	color: var(--body-color);
	text-shadow: 0px 0px 3px var(--bksa-shadow);
	margin-top: 32px;
	margin-bottom: 0;
	text-transform: uppercase;
	font-weight:600;
    font-size: var(--step-2);
    text-align: center;
}
.hero__home-slide-link {
	margin-top: 1rem;;
}

.hero__home-slide-button {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 1rem 1.5rem;
	min-height: 60px;
	background-color: transparent;
	color: var(--body-color);
	border: 3px solid var(--body-color);
	transition: var(--transitions);
	cursor: pointer;
	line-height: 1;
}
.hero__home-slide-button span {
	display: block;
    text-transform: uppercase;
}
.hero__home-slide-button:hover {
	background-color: var(--bright-red);
}
@media screen and (min-width: 1025px) {
	.hero__image {
		display: block;
	}
	.hero__image-mobile {
		display: none;
	}
    .hero__entry {
        align-items: flex-end;
    }
    .hero__entry-wrapper {
        margin:0;

    }
	.hero__entry-wrapper-text {
		justify-content: flex-start;
        align-items: flex-start;
		width: 50vw;
        background-image: var(--bksa-gradient-translucent);
	    background-blend-mode: multiply;
        border-bottom-left-radius: 80px;
        border-top-left-radius: 80px;
        margin-top: 0;
	    padding: 5vw 5vw 5vw 5vw;
	    box-shadow: var(--drop-shadow-large);
	}
    .hero__entry-text p {
        text-align: left;
    }
    .hero__logo-wrapper {
        width: 40vw;
    }

}

/*--------------------------------------------------------------
/* Posts and pages
--------------------------------------------- */
.site-main {
	margin: 0 auto 0 auto;
}
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.post-date {
    font-size: var(--step--1);
    color: var(--sky-blue);
}
.blog .flex-60-40:nth-child(even), .search .flex-60-40:nth-child(even) {
	background-color: var(--sky-blue-25pcnt);
}
.blog .flex-60-40:nth-child(even) .post-intro {
	padding-right: 2rem;
}

.blog .post-image img, .search .post-image img{
	height: 100%;
	object-fit: cover;
	display: block;
}
/* .flex-60-40 > div:first-of-type {
	padding-left: 2rem;
}
header.flex-60-40 > div:first-of-type {
	padding-left: 0;
} */
@media screen and (min-width: 1024px) {
    .entry-header {
        padding-block: var(--step-5);
        .post-thumbnail img {
            border-radius: 4vw 0 0 4vw;
        }
    }
	.flex-60-40 {
		display: flex;
		align-items: stretch;
	}
	.flex-60-40 > div:first-of-type {
		flex: 3 1 60vw;
	}
	.flex-60-40 > div:last-of-type {
		flex: 2 1 40vw;
	}
	.flex-60-40:nth-child(even) {
		flex-direction: row-reverse;
	}
	/* .flex-60-40:nth-child(even) > div:first-of-type {
		padding-left: 8vw;
	} */
	.flex-60-40:nth-child(odd) > div:first-of-type {
		padding-right: 8vw;
	}
	
}
.posts-wrapper {
    width: var(--site-width);
    margin: 0 auto;
}
@media screen and (min-width: 1024px) {
    .post-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;

    }
	.single-event .post-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
	.single-event .post-wrapper .post-description .post-details {
		width: 100%;
	}

}

.post-description {
	position: relative;
	min-height: 400px;
}
.single-event .post-description {
	background-image: var(--bksa-gradient);
    color: var(--body-color);
}
.single-event .post-description h4, .single-event .post-description p {
    color: var(--body-color);
}
.post-main-image {
	position: relative;
	min-height: 70vh;
	background-color: var(--deep-ocean-blue);
    overflow: hidden;
	align-items: center;
}
.post-main-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
}
.single-event .post-main-image img {
	opacity: 0.75;
}
.post-details {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
    width: 80vw;
	text-shadow: 0px 0px 4px var(--bksa-shadow);
	color: var(--body-color);
    border-bottom-right-radius: 20vw;
	z-index: 80;
}


.post-details h1 {
	margin: 0;
	line-height: 110%;
	text-transform: uppercase;
	letter-spacing: -0.1vw;
    color: var(--body-color);
    font-size: var(--step-3);
}
.post-details p, .post-details a {
    color: var(--body-color);
    transition: var(--transitions);
}
.post-details a:hover {
    color:var(--bright-red);
}
.post-info-wrapper {
    background-color: var(--sky-blue-25pcnt);
}
.post-info-wrapper, .post-key-info, .location, .event-fleets, .event-nav {
	padding: clamp(20px, 3vw, 3vw);
}
.post-key-info, .location, .event-fleets {
	background-color: var(--body-color);
	border-bottom-right-radius: 4vw;
	box-shadow: var(--drop-shadow-large);
}
.post-info-wrapper > * {
	margin-bottom: 2rem;
}
.post-key-info p {
	margin: 0;
	line-height: 120%;
}
.post-overview {
	position: relative;
}
@media screen and (min-width:64rem) {
    .post-details {
        width: 60vw;
        padding-right: 8rem;
		min-height: inherit;
    }
    .post-details h1{
        font-size: var(--step-5);
    }
    .post-info-wrapper {
        display: grid;
        grid-template-columns: 6fr 6fr 4fr;
		gap: clamp(20px, 3vw, 3vw);
		margin-bottom: 0;
    }
}
.page .post-thumbnail, .page .entry-header .post-thumbnail, .single .post-thumbnail, .single .entry-header .post-thumbnail, .archive .post-thumbnail img {
	/* aspect-ratio: 1/1; */
	position: relative;
}
.page .post-thumbnail img, .page .entry-header .post-thumbnail img, .single .post-thumbnail img, .single .entry-header .post-thumbnail img, .archive .post-thumbnail img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.post-thumbnail-caption {
	position: absolute;
	bottom: 2rem;
	right: 2rem;
}
.post-thumbnail-caption-text {
	margin: 0 0 0 0;
	font-size: var(--step--2);
	color: var(--body-color);
	text-shadow: 0px 0.5px 3px rgb(23,23,23);

}
.excerpt-wrapper p{
	font-size: var(--step-1);
	font-weight: 300;
}
.single .entry-content h1, .single .entry-content h2, .single .entry-content h3, .single .entry-content h4, .single .entry-content h5, .single .entry-content p {
	padding-top: var(--step-4);
}
.title-wrapper {
    position: relative;
}
/* Share Buttons Styling */
.share-buttons {
    position: absolute;
    bottom: 0;
    right: var(--step-1);
    display: flex;
    margin-bottom: 0;
    list-style: none;
}
.share-buttons li {
    display: block;
    padding-left: var(--step-1);
}
.share-buttons a  {
    display: block;
    text-align: center;
}
.share-buttons svg {
    fill: var(--sky-blue);
    transition: var(--transitions);
}
.share-buttons svg:hover {
    fill: var(--bright-red);
}
/* Section Styling */
.padding-b {
	padding-bottom: 8vw;
}
.padding-t-b {
    padding-block: 4vw;
}
/* Event Page Styles 
----------------------------------------------*/
.flex-table:nth-of-type(odd) {
    background-color: var(--white);
}
.flex-line {
display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1px;
}
.flex-line p:first-of-type {
    flex: 2;
    text-align: right;
    padding-right: 0.5rem;

}
.flex-line p:last-of-type {
    text-align: right;
}
.flex-line a button {
    flex:1;
    font-size: var(--step--1);
}

/* Archive Page Styles
--------------------------------------------- */
.archive .site-main {
    margin: 0;
    width: 100%;
}
.archive.page-wrapper {
    width: 100%;
}
.archive .flex-60-40 {
    position: relative;
    width: 100%;
    margin: 0;
}
.archive .flex-60-40:nth-child(even) {
    background-color: var(--sky-blue-25pcnt);
}
@media screen and (min-width: 1024px) {
	.archive .flex-60-40 {
		display: flex;
		align-items: stretch;
	}
	.archive .flex-60-40 > div:first-of-type {
		flex: 3 1 60vw;
	}
	.archive .flex-60-40 > div:last-of-type {
		flex: 2 1 40vw;
	}
	.archive .flex-60-40:nth-child(even) {
		flex-direction: row-reverse;
	}
	.archive .flex-60-40:nth-child(even) > div:first-of-type {
		padding-left: 8vw;
	}
	.archive .flex-60-40:nth-child(odd) > div:first-of-type {
		padding-right: 8vw;
	}
}

/* Club Finder Page Styles
--------------------------------------------- */
#club-finder {
    margin-top: 140px;

}
.az-drawer .az-drawer-inner-wrapper {
    z-index: 10000;
}

/* Content Tiles Styles
--------------------------------------------- */
.content-tile:nth-child(even) {
    background-color: var(--body-color-darker);
}
.content-tile-copy {
	display: flex;
	flex-direction: column;
	justify-content: center
}
.tile-image {
	/* background: var(--bksa-gradient); */
	opacity: 0.85;
	background-blend-mode: multiply;
	display: block;
}
.tile-image-title-wrapper {
	position: relative;
    width: 60%;
    height: 60%;
    aspect-ratio: 1/1;
    margin: auto;
}
/* .tile-image-heading-wrapper {
	position: absolute;
	z-index: 2;
	inset: 2rem;
	display: grid;
	place-items: center;
} */
.tile-image-headings {
	margin: 0;
	text-transform: uppercase;
	color: var(--deep-ocean-blue);
	/*text-shadow: var(--bksa-shadow);*/
	text-align: center;
    transition: var(--transitions);
}
.content-tile-image:hover .tile-image-headings {
    color: var(--bright-red);
}

/* Discipline List Styles
--------------------------------------------- */
.discipline-wrapper {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	gap: 1rem;
	padding-top: var(--padding-gen);
}
.discipline-list {
	display: block;
	flex: 0 1 90px;
	font-size: var(--step--2);
	text-align: center;
}
.discipline-widget {
	width: 100%;
	height: auto;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget-area {
	width: var(--site-width);
	margin: 0 auto;
}
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* 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;
}
/* Video Block
--------------------------------------------- */

.embed-container { 
    position: relative;
    width: 100%; 
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*--------------------------------------------------------------
# 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
--------------------------------------------------------------*/
.centered {
    text-align: center;
}
.uppercase {
    text-transform: uppercase;
}

/* 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;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Alignments
--------------------------------------------- */

/* Post Navigation
--------------------------------------------- */
.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Footer
--------------------------------------------- */
.site-footer {
	background-color: var(--deep-ocean-blue);
    background-image: var(--bksa-gradient);
}
.site-footer p {
	color: var(--body-color);
}
.footer-widgets {
	width: 100%;
	padding-top: var(--step-1);
	padding-bottom: var(--step-1);
}
.footer-widgets-wrapper {
	width: var(--site-width);
	margin: 0px auto;
	padding-top: var(--step-1);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	color: var(--body-color);
	font-size: var(--step--1);
}
@media screen and (min-width:64rem) {
	.footer-widgets-wrapper {
		flex-direction: row;
		justify-content: space-between;
	}
	
}
.footer-widget {
	margin: 0;
}
.footer-area-one .menu-main-head-container #menu-main-head .menu-item .sub-menu {
    display: none;
}
.site-info {
	padding-bottom: var(--step-1);
	font-size: var(--step--2);
	width: var(--site-width);
	margin: 0px auto;
	
	color: var(--body-color);
}
.site-info a, .site-info  p {
	color: var(--body-color);
    font-size: var(--step--2);

}
.site-info  p {
	margin-bottom: 0;
}
.footer-logo {
	width:160px;
}
footer ul {
    list-style: none;
	margin-left: 0;
	padding-left: 0;
}
footer a {
    color: var(--body-color);
}
@media screen and (min-width:48rem) {
    .site-info {
        display: flex;
        gap: 3rem;
        justify-content: space-between;
        align-items: center;
    }
   
}
/* JS Animation Styling */
.fade-in {
	opacity: 0;
	transition: opacity 0.6s ease-in;
  }
  .fade-in.appear {
	opacity: 1;
  }
/* JS Carousel Styling */
.logo__slide .logo-wrapper {
    display: grid;
    place-items: center;
}
/* Just Go Jiggery Pokery to override their rubbish weblet CSS */
#club-finder h1 {
    color: var(--deep-ocean-blue);
    font-family: var(--main-font);
    font-size: var(--step-5) !important;
}

.az-company-finder-title {
    display: none;
}

.page-template-page-school-finder #CompanyFinderSearchDefault-az-com-1001-ClubType, .page-template-page-club-finder #CompanyFinderSearchDefault-az-com-1001-ClubType {
    display: none;
}
.az-drawer .az-drawer-inner-wrapper {
    top: 124px !important;
}

/* Booking Form Styles Hayling */
.postid-287786 .fieldCalander {
	display: none;
}
/* Booking Form Styles General */
#fbuilder .pbSubmit {
    background-color: var(--bright-red) !important;
    color: var(--body-color) !important;
    border: 3px solid var(--bright-red) !important;
    transition: var(--transitions) !important;

}
#fbuilder .pbSubmit:hover {
    border: 3px solid var(--body-color) !important;
}
/* Contact Form Styles General */
.wpcf7-form-control {
	max-width: 100%;
}
@media screen and (max-width: 768px) {
	.page-id-695614 .wpcf7-select {
		font-size: var(--step--2);
	}
}

/* 2026 edits */
.flex-button-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    a {
        display: block;
        margin: 0.5rem 0.5rem;
    }
}