
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/*
	WORDPRESS CSS STYLES - wordpress.css
	UPDATED: November 2026
	
	WordPress specific code - CSS code to control WordPress specific items
	e.g. the Image Block (.wp-block-image) or Embed Block (.wp-block-embed)
	
	We have some WordPress fixes e.g. Admin Bar (#wpadminbar) that are in the general.css but we could have them in here
*/
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- *//*



/* ************************************************************************************************************************************************************* */
/* WORDPRESS STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* ----------------------------------------------------------------------------------------------------------------------------------------------------- */
/* General */

/*
Embed Block (.wp-block-embed)
WordPress seemds to have the figure 100% width but the iframe seems to have an inline set width of 500px
So the Figure Caption seems odd as it is the full width - maybe also restrict it to 500px
*/

.wp-block-embed{
}
	.wp-block-embed iframe{
	}
/*this is 100% width */
.wp-block-embed__wrapper{
}
/*this is 100% width */
.wp-block-embed :where(figcaption){
	max-width:500px;
}

/* General */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------- */

/* WORDPRESS STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */





/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* WORDPRESS STYLES - MEDIA QUERIES */

/* WIDE DESKTOP / LARGE SCREEN LAYOUT */
@media only screen and (min-width: 114em) { /* 1920px = 120em, 1824px = 114em */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* General */
	/* General */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
}
/* WIDE DESKTOP / LARGE SCREEN LAYOUT */


/* TABLET / MEDIUM SCREEN LAYOUT */
@media only screen and (max-width: 80em) { /* 1280px = 80em */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* General */
	/* General */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
}
/* TABLET / MEDIUM SCREEN LAYOUT */


/* MOBILE / SMALL SCREEN LAYOUT */
@media all and (max-width: 45em) { /* 720px = 45em, 640px = 40em */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* General */
	/* General */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
}
/* MOBILE / SMALL SCREEN LAYOUT */

/* WORDPRESS STYLES - MEDIA QUERIES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */





/* break */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* break */





/* ************************************************************************************************************************************************************* */
/* WORDPRESS PLUGIN - COOKIE NOTICE STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* WORDPRESS PLUGIN - COOKIE NOTICE STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */



/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* WORDPRESS PLUGIN - COOKIE NOTICE STYLES - MEDIA QUERIES */

/* WIDE DESKTOP / LARGE SCREEN LAYOUT */
@media only screen and (min-width: 114em) { /* 1920px = 120em, 1824px = 114em */
}
/* WIDE DESKTOP / LARGE SCREEN LAYOUT */


/* TABLET / MEDIUM SCREEN LAYOUT */
@media only screen and (max-width: 80em) { /* 1280px = 80em */
}
/* TABLET / MEDIUM SCREEN LAYOUT */


/* MOBILE / SMALL SCREEN LAYOUT */
@media all and (max-width: 45em) { /* 720px = 45em, 640px = 40em */
}
/* MOBILE / SMALL SCREEN LAYOUT */

/* WORDPRESS PLUGIN - COOKIE NOTICE STYLES - MEDIA QUERIES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */





/* break */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* break */





/* ************************************************************************************************************************************************************* */
/* WORDPRESS FIXES STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/*
/ * ul with flex in our theme breaks the WP toolbar * /
#wpadminbar .ab-sub-wrapper, #wpadminbar ul, #wpadminbar ul li{
	display:inline;
	border:red 3px solid !important;
}

/ * our theme breaks the WP toolbar - padding and so on * /
#wpadminbar .ab-sub-wrapper, #wpadminbar ul, #wpadminbar ul li{
	background:0 0;
	clear:none;
	list-style:none;
	margin:0;
	padding:0;
	position:relative;
	text-indent:0;
	z-index:99999
}
*/


/* ----------------------------------------------------------------------------------------------------------------------------------------------------- */
/* WordPress Admin Bar - Sticky Menu */
/*
When we are using a Sticky Main Menu we get a positioning conflict with the WP Admin Bar when logged in.

The WordPress Admin Bar conflict! A common issue because the admin bar is 32px tall on desktop and 46px tall on mobile (screens under 600px wide).
When you set top:0; on your sticky element, the admin bar sits exactly on top of it, hiding your menu icon or causing it to misbehave when scrolling.
The Fix: tell your sticky menu to shift down dynamically whenever the WordPress admin bar is present on the screen. WordPress automatically adds an
admin-bar class to the <body> tag when you are logged in, making this easy to fix with CSS.

MOBILE
The mobile WordPress admin bar is not sticky (it uses position: absolute instead of fixed), so it scrolls away as soon as the user swipes down.
Our #site-menu-main remains locked with a top: 4.6rem offset, leaving a blank gap at the top of the screen once the admin bar is out of view.
Easiest Solution: Force the Mobile Admin Bar to Be Sticky (CSS-only).
*/

/* 1. DESKTOP STYLES */
.logged-in #site-header{
	 top:3.2rem; /* 32px / 10px base: Matches desktop WP admin bar */
}

/* 2. MOBILE OVERRIDES */
@media only screen and (max-width: 64em) {
    /* Force the WP Admin Bar to stay sticky instead of scrolling away and leaving a gap */
    #wpadminbar{
        position:fixed !important;
    }
	
	/* Our menu is now perfectly aligned flush underneath it and won't leave a gap */
	.logged-in #site-menu-main{
		top:3.2rem; /* Keeps desktop WP bar spacing while mobile menu is active */
    }
}

/* 3. SMALL MOBILE OVERRIDES (600px and under) */
@media only screen and (max-width: 37.5em) { /* 600px / 16 = 37.5em */
    .logged-in #site-menu-main{
		top:4.6rem; /* 46px / 10px base: WP admin bar grows taller on mobile */
    }
}

/* 4. WIDE OVERRIDES */
@media only screen and (min-width: 114em) {
    /* Your root switches to 75% (12px base) here, so we update the rem math */
    .logged-in #site-header{
        top:2.667rem; /* 32px / 12px base */
    }
}

/* WordPress Admin Bar - Sticky Menu */
/* ----------------------------------------------------------------------------------------------------------------------------------------------------- */

/* WORDPRESS FIXES STYLES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */



/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
/* WORDPRESS FIXES STYLES - MEDIA QUERIES */

/* WIDE DESKTOP / LARGE SCREEN LAYOUT */
@media only screen and (min-width: 114em) { /* 1920px = 120em, 1824px = 114em */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* WordPress Admin Bar - Sticky Menu */
	/* WordPress Admin Bar - Sticky Menu */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
}
/* WIDE DESKTOP / LARGE SCREEN LAYOUT */


/* TABLET / MEDIUM SCREEN LAYOUT */
@media only screen and (max-width: 80em) { /* 1280px = 80em */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* WordPress Admin Bar - Sticky Menu */
	/* WordPress Admin Bar - Sticky Menu */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
}
/* TABLET / MEDIUM SCREEN LAYOUT */


/* MOBILE / SMALL SCREEN LAYOUT */
@media all and (max-width: 45em) { /* 720px = 45em, 640px = 40em */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
	/* WordPress Admin Bar - Sticky Menu */
	/* WordPress Admin Bar - Sticky Menu */
	/* ------------------------------------------------------------------------------------------------------------------------------------------------- */
}
/* MOBILE / SMALL SCREEN LAYOUT */

/* WORDPRESS FIXES STYLES - MEDIA QUERIES */
/* ------------------------------------------------------------------------------------------------------------------------------------------------------------- */
