/*
Theme Name: EIROforum
Theme URI: https://www.eiroforum.org/
Author: EIROforum
Description: A standalone classic WordPress theme for the EIROforum website.
Version: 0.13.20
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.2
Text Domain: eiroforum
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--eiro-color-primary: #036eaa;
	--eiro-color-secondary: #6e96be;
	--eiro-color-text: #171717;
	--eiro-color-muted: #666666;
	--eiro-color-header: #0d1323;
	--eiro-color-surface: #ffffff;
	--eiro-color-surface-subtle: #eaeced;
	--eiro-color-menu: #222222;
	--eiro-color-body: #b9bcbf;
	--eiro-color-border: #d8e0e5;
	--eiro-color-focus: #1281bb;
	--eiro-color-primary-hover: #025782;
	--eiro-font-body: "Open Sans", Helvetica, Arial, sans-serif;
	--eiro-font-heading: "Helvetica Neue", Helvetica, Arial, sans-serif;
	--eiro-content-width: calc(var(--eiro-container-width) - (2 * var(--eiro-gutter)));
	--eiro-container-width: 1440px;
	--eiro-gutter: 32px;
	--eiro-space-xs: 11px;
	--eiro-space-sm: 22px;
	--eiro-space-md: 32px;
	--eiro-space-lg: 44px;
	--eiro-transition: 180ms ease;
}

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

html {
	font-size: 100%;
}

body {
	margin: 0;
	background: var(--eiro-color-surface);
	color: var(--eiro-color-text);
	font-family: var(--eiro-font-body);
	font-size: 20px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.site {
	padding-top: 170px;
}

a {
	color: var(--eiro-color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
	transition: color var(--eiro-transition), text-decoration-color var(--eiro-transition);
}

a:hover,
a:focus-visible {
	color: var(--eiro-color-primary-hover);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--eiro-font-heading);
	letter-spacing: -0.012em;
}

.site-container {
	width: min(100%, var(--eiro-container-width));
	margin-inline: auto;
	padding-inline: var(--eiro-gutter);
}

/* Header and primary navigation. */
.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1000;
	height: 170px;
	isolation: isolate;
	background-color: var(--eiro-color-header);
	transition: height 200ms ease;
}

.site-header::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-color: var(--eiro-color-header);
	background-image: linear-gradient(rgba(6, 24, 39, 0.62), rgba(6, 24, 39, 0.62)), url("assets/images/header-background.jpg");
	background-position: left top;
	background-repeat: no-repeat;
	content: "";
	pointer-events: none;
	transform: scaleX(-1);
}

.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	position: relative;
	height: 170px;
}

.site-branding {
	position: absolute;
	top: 22px;
	left: var(--eiro-gutter);
	width: 300px;
	height: 90px;
}

.custom-logo-link {
	display: block;
	width: 300px;
	height: 90px;
}

.custom-logo {
	display: block;
	width: 300px;
	height: 90px;
}

.header-utilities {
	position: absolute;
	top: 11px;
	right: var(--eiro-gutter);
	display: flex;
	align-items: center;
	gap: 16px;
	height: 34px;
}

.header-social-links ul {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.header-social-links a {
	display: grid;
	width: 28px;
	height: 34px;
	place-items: center;
	color: var(--eiro-color-surface);
}

.header-social-links svg {
	display: block;
	width: 20px;
	height: 20px;
	fill: currentcolor;
}

.header-social-links .social-icon--bluesky {
	width: 18px;
	height: 18px;
}

.header-social-links a:hover,
.header-social-links a:focus-visible {
	color: var(--eiro-color-surface-subtle);
}

.header-social-links a:focus-visible,
.main-navigation a:focus-visible,
.menu-toggle:focus-visible,
.submenu-toggle:focus-visible,
.search-field:focus-visible {
	outline: 2px solid var(--eiro-color-surface);
	outline-offset: 1px;
}

.header-search,
.header-search .search-form {
	width: 190px;
	height: 33.1875px;
}

.header-search .search-field {
	display: block;
	width: 100%;
	height: 33.1875px;
	padding: 6px 8px;
	border: 1px solid var(--eiro-color-secondary);
	border-radius: 0;
	background: var(--eiro-color-surface-subtle);
	color: var(--eiro-color-text);
	font: 400 12px/19.2px var(--eiro-font-body);
	appearance: none;
}

.header-search .search-field::placeholder {
	color: var(--eiro-color-muted);
	opacity: 1;
}

.main-navigation {
	position: absolute;
	top: 130px;
	right: auto;
	left: var(--eiro-gutter);
	width: max-content;
	max-width: calc(100% - (2 * var(--eiro-gutter)));
	height: 40px;
	background: var(--eiro-color-primary);
}

.menu-toggle {
	display: none;
}

.primary-menu,
.primary-menu .sub-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	height: 40px;
}

.primary-menu > li {
	position: relative;
	height: 40px;
}

.primary-menu a {
	display: block;
	color: var(--eiro-color-surface);
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
}

.primary-menu > li > a {
	height: 40px;
	padding: 0 16px;
	font-size: 20px;
	line-height: 40px;
	white-space: nowrap;
}

@media (min-width: 601px) and (max-width: 1000px) {
	.primary-menu > li > a {
		font-size: clamp(13px, 2.08vw, 20px);
		padding-inline: 1vw;
	}
}

@media (max-width: 600px) {
	.main-navigation {
		right: var(--eiro-gutter);
		width: auto;
		max-width: none;
	}
}

.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a,
.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a {
	background: rgba(255, 255, 255, 0.2);
}

.primary-menu .menu-item-has-children > a::after {
	display: inline-block;
	margin-left: 9px;
	content: "";
	width: 14px;
	height: 14px;
	background: currentColor;
	-webkit-mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
	mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
	transform: rotate(90deg);
	vertical-align: 1px;
}

.primary-menu .sub-menu .menu-item-has-children > a::after {
	transform: none;
}

.eiro-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
	vertical-align: -0.125em;
	fill: none;
	stroke: currentColor;
}

.home-hero__arrow .eiro-icon {
	width: 20px;
	height: 20px;
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	width: 220px;
	background: #f1f1f1;
	opacity: 0;
	visibility: hidden;
}

.primary-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.primary-menu .sub-menu li {
	position: relative;
}

.primary-menu .sub-menu a {
	min-height: 40px;
	padding: 10px;
	background: #f1f1f1;
	color: var(--eiro-color-muted);
	font-size: 18px;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible,
.primary-menu .sub-menu .current-menu-item > a {
	background: var(--eiro-color-surface);
	color: var(--eiro-color-primary);
}

.submenu-toggle {
	display: none;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	top: 5px;
	left: 5px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 15px 23px 14px;
	clip: auto;
	background: var(--eiro-color-surface);
	color: var(--eiro-color-text);
	font-weight: 700;
	text-decoration: none;
}

.site-main {
	padding-block: var(--eiro-space-sm) var(--eiro-space-lg);
}

.entry-title {
	margin-block: 0 var(--eiro-space-sm);
}

.navigation.pagination,
.posts-navigation,
.post-navigation {
	margin-block-start: var(--eiro-space-lg);
}

/* Standard pages and single articles. */
.internal-main {
	padding-top: 22px;
	padding-bottom: 0;
}

.internal-main article {
	margin: 0;
}

.internal-main .entry-header,
.internal-main .entry-content {
	position: relative;
}

.breadcrumbs {
	margin: 0 0 22px;
	font-size: 18px;
	line-height: 1.6;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-inline: 3px;
	content: "";
	background: currentColor;
	-webkit-mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
	mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
}

.breadcrumbs a {
	font-weight: 700;
	text-decoration: none;
}

.internal-main .entry-title {
	margin: 5.5px 0 11px;
	font-size: 46px;
	font-weight: 700;
	line-height: 1.2;
}

.internal-main .entry-header {
	margin-bottom: 0;
}

.page .internal-main .entry-title {
	transform: translateY(5.5px);
}

.page .internal-main .entry-header {
	padding-bottom: 5.5px;
}

.single .internal-main .entry-header {
	margin-bottom: 33px;
}

.internal-main .entry-meta {
	font-size: 13.6px;
	font-weight: 700;
	line-height: 2;
	text-transform: uppercase;
}

.single .internal-main .entry-meta:not(.entry-meta--after-title) {
	min-height: 51px;
}

.internal-main .entry-content {
	display: flow-root;
}

/*
 * Imported pages from the reference site retain semantic section wrappers from
 * its former editor.  Contain floated media inside each section so consecutive
 * rows remain independent; this does not require the former Make theme or any
 * of its assets.
 */
.internal-main .entry-content > .builder-section {
	display: flow-root;
	margin: 0 0 44px;
}

.internal-main .entry-content > .builder-section:last-of-type {
	margin-bottom: 22px;
}

.internal-main .entry-content > .builder-section .builder-text-content {
	display: flow-root;
}

.internal-main .entry-content > .builder-section p:empty {
	display: none;
}

.internal-main .entry-content > .builder-section figure {
	margin: 0;
}

.internal-main .entry-content > .builder-section img.alignleft {
	margin: 0 32px 0 0;
}

/* Native Gutenberg replacement for imported logo/link builder rows. */
.internal-main .entry-content > .eiro-imported-row {
	display: flow-root;
	min-height: 88px;
	margin: 0 0 44px;
}

.internal-main .entry-content > .eiro-imported-row:last-child {
	margin-bottom: 22px;
}

.internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo {
	float: left;
	width: 175px;
	margin: 0 32px 0 0;
}

.internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo img {
	display: block;
	width: 175px;
	height: 88px;
	object-fit: contain;
}

.internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo a {
	display: block;
}

.internal-main .eiro-imported-row > p {
	padding-top: 16px;
}

/* Keep the native Image/Paragraph pairs on the Members index as independent rows. */
.eiroforum-members-index .internal-main .entry-content > .wp-block-image.alignleft {
	float: left;
	clear: left;
	width: 175px;
	margin: 0 32px 44px 0;
}

.eiroforum-members-index .internal-main .entry-content > .wp-block-image.alignleft img {
	display: block;
	width: 175px;
	height: 88px;
	object-fit: contain;
}

.eiroforum-members-index .internal-main .entry-content > .wp-block-image.alignleft + p {
	min-height: 88px;
	padding-top: 16px;
	margin-bottom: 44px;
}

/* Jobs directory: modern card treatment using the existing editable row blocks. */
.eiroforum-jobs-index .internal-main .entry-content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.eiroforum-jobs-index .internal-main .entry-content > p:first-child {
	grid-column: 1 / -1;
	margin-bottom: 8px;
}

.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 236px;
	padding: 24px;
	margin: 0;
	border: 1px solid #d9dee2;
	border-radius: 4px;
	background: #fff;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row:hover {
	border-color: #b8c7d1;
	box-shadow: 0 6px 18px rgba(8, 35, 58, 0.08);
	transform: translateY(-2px);
}

.eiroforum-jobs-index .internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo {
	display: flex;
	float: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 120px;
	padding: 12px;
	margin: 0 0 20px;
	border: 0;
}

.eiroforum-jobs-index .internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo img {
	width: 100%;
	max-width: 190px;
	height: 96px;
	object-fit: contain;
}

.eiroforum-jobs-index .internal-main .eiro-imported-row > p {
	padding: 0;
	margin: auto 0 0;
	font-size: 17px;
	line-height: 1.45;
	text-align: center;
}

.eiroforum-jobs-index .internal-main .eiro-imported-row > p a {
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row {
		transition: none;
	}

	.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row:hover {
		transform: none;
	}
}

@media (max-width: 800px) {
	.eiroforum-jobs-index .internal-main .entry-content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.internal-main .entry-content p {
	margin: 0 0 22px;
}

.internal-main .entry-content h2 {
	margin: 11px 0;
	font-size: 34px;
	line-height: 1.6;
}

.internal-main .entry-content h3 {
	margin: 11px 0;
	font-size: 24px;
	line-height: 1.6;
}

.internal-main .entry-content a {
	font-weight: 700;
	text-decoration: none;
}

.internal-main .entry-content a:hover,
.internal-main .entry-content a:focus-visible {
	text-decoration: underline;
}

.internal-main .alignright,
.internal-main figure.alignright {
	float: right;
	margin: 4.7969px 0 22px 32px;
}

.internal-main figure.alignright,
.internal-main figure.alignleft {
	display: table;
	width: auto;
}

.page .internal-main figure.alignright {
	margin-top: 6px;
}

.internal-main .alignleft,
.internal-main figure.alignleft {
	float: left;
	margin: 6px 32px 22px 0;
}

.internal-main .aligncenter,
.internal-main figure.aligncenter {
	display: block;
	margin: 0 auto 22px;
}

.internal-main figure {
	max-width: 100%;
	margin-top: 0;
	margin-bottom: 22px;
}

.internal-main figure img,
.internal-main .entry-content > img {
	display: block;
}

.internal-main figcaption,
.internal-main .wp-caption-text {
	display: table-caption;
	caption-side: bottom;
	margin: 0;
	font-size: 13px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.35;
}

.single .internal-main article {
	padding-bottom: 22px;
	margin-bottom: 44px;
}

.single .post-navigation {
	width: min(calc(100% - (2 * var(--eiro-gutter))), var(--eiro-content-width));
	padding: 0 0 44px;
	margin: 0 auto;
	border-top: 1px solid #eaeced;
}

.single .post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	padding-top: 44px;
}

.single .post-navigation .nav-next {
	grid-column: 2;
	text-align: right;
}

.single .post-navigation a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
}

.single .post-navigation a > .eiro-icon {
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
}

.post-navigation__previous-icon {
	transform: rotate(180deg);
}

.single .entry-categories,
.single .entry-tags {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 28px 0 0;
	color: #6c757d;
	font-size: 20px;
	line-height: 1.6;
}

.single .entry-categories + .entry-tags {
	margin-top: 8px;
}

.single .entry-footer .entry-term-links {
	min-width: 0;
}

.single .entry-categories .eiro-icon,
.single .entry-tags .eiro-icon {
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	margin-top: 6px;
	color: #929ba3;
}

.single .entry-categories a,
.single .entry-tags a {
	color: inherit;
	font-weight: 400;
	text-decoration: none;
}

.single .entry-categories a:hover,
.single .entry-categories a:focus-visible,
.single .entry-tags a:hover,
.single .entry-tags a:focus-visible {
	color: var(--eiro-color-primary);
	text-decoration: underline;
}

.single .post-navigation .nav-subtitle {
	display: none;
}

@media (max-width: 600px) {
	.internal-main .entry-title {
		font-size: 25px;
		line-height: 1.2;
	}

	.internal-main .entry-content h2 {
		font-size: 25px;
		line-height: 1.5;
	}

	.internal-main .alignright,
	.internal-main figure.alignright,
	.internal-main .alignleft,
	.internal-main figure.alignleft {
		float: none;
		margin: 0 auto 22px;
	}

	.internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo {
		float: none;
		margin: 0 0 16px;
	}

	.internal-main .eiro-imported-row > p {
		padding-top: 0;
	}

	.eiroforum-members-index .internal-main .entry-content > .wp-block-image.alignleft {
		float: none;
		width: 175px;
		margin: 0 0 16px;
	}

	.eiroforum-members-index .internal-main .entry-content > .wp-block-image.alignleft + p {
		min-height: 0;
		padding-top: 0;
		margin-bottom: 32px;
	}

	.eiroforum-jobs-index .internal-main .entry-content {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row {
		min-height: 0;
		padding: 20px;
	}

	.eiroforum-jobs-index .internal-main .eiro-imported-row > .wp-block-image.eiro-imported-logo {
		width: 100%;
		margin: 0 0 14px;
	}

	.single .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.single .post-navigation .nav-next {
		grid-column: 1;
		text-align: left;
	}
}

/* Homepage. */
.home-main {
	overflow: hidden;
}

.home-hero {
	position: relative;
	height: 600px;
	overflow: hidden;
	background-color: #23323f;
}

.home-hero__slides,
.home-hero__slide {
	position: absolute;
	inset: 0;
}

.home-hero__slide {
	z-index: 0;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.7s ease;
}

.home-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0.08s;
	transition-duration: 1s;
}

.home-hero__slide:first-child {
	background-position: center center;
}

.home-hero__caption {
	position: absolute;
	top: 209px;
	right: max(6.6667vw, 32px);
	width: min(36.6667vw, 528px);
	min-width: 422px;
	padding: 10.5px 21px;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
}

.home-hero__caption h1 {
	margin: 11px 0;
	color: #fff;
	font-size: 46px;
	font-weight: 400;
	line-height: 1.2;
}

.home-hero__caption p {
	margin: 0;
	font-size: 21px;
	font-style: italic;
	line-height: 1.35;
}

.home-hero__caption a {
	color: #fff;
	text-decoration: none;
}

.home-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.68);
	color: #607e98;
	font: 38px/32px Arial, sans-serif;
	cursor: pointer;
	place-items: center;
	transform: translateY(-50%);
}

.home-hero__arrow:hover,
.home-hero__arrow:focus-visible {
	background: rgba(255, 255, 255, 0.9);
}

.home-hero__arrow--previous { left: 28px; }
.home-hero__arrow--next { right: 28px; }

.home-hero-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	height: 40px;
	color: #eaeced;
}

.home-hero-dots button {
	width: 16px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #eaeced;
	font: 22px/31px Arial, sans-serif;
	cursor: pointer;
}

.home-hero-dots button:hover,
.home-hero-dots button:focus-visible,
.home-hero-dots .is-active {
	color: #8f969c;
}

@media (prefers-reduced-motion: reduce) {
	.home-hero__slide {
		transition: none;
	}
}

.home-about {
	display: flow-root;
	height: auto;
	padding-top: 0;
	padding-bottom: 36px;
}

.home-about h2 {
	margin: 11px 0;
	font-size: 46px;
	font-weight: 400;
	line-height: 1.2;
}

.home-about p {
	margin: 0 0 22px;
	line-height: 1.6;
}

.home-news-events {
	height: 1133.6094px;
}

.home-news-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: 49.3906px 497.3125px auto auto;
	column-gap: 32px;
}

.home-section-title {
	margin: 0 0 11px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.6;
}

.home-news-card {
	margin: 0;
}

.home-news-card__image {
	display: block;
	height: 261px;
	margin-bottom: 11px;
	overflow: hidden;
}

.home-news-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home-news-card h3,
.member-news-card h3 {
	margin: 0 0 5.5px;
	font-family: var(--eiro-font-body);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.home-news-card h3 a,
.member-news-card h3 a,
.home-all-news a {
	color: var(--eiro-color-primary);
	text-decoration: none;
}

.home-news-card p {
	margin: 0 0 11px;
}

.home-news-card__date {
	color: var(--eiro-color-muted);
	font-size: 14px;
	line-height: 1.6;
}

.home-all-news {
	margin: 11px 0 22px;
}

.home-events p {
	margin: 0 0 22px;
}

.home-member-news__header {
	display: flow-root;
	height: 100.3906px;
}

.home-member-news__header h2 {
	margin: 11px 0;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.6;
}

.member-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-template-rows: 417.2813px 438.2813px 418.375px;
	column-gap: 32px;
	row-gap: 0;
	padding-bottom: 88px;
}

.member-news-card {
	min-width: 0;
	border: 1px solid transparent;
	font-size: 17px;
	line-height: 1.3;
}

.member-news-card:nth-child(n + 7) {
	margin-top: 44px;
}

.member-news-card__image {
	display: block;
	width: 100%;
	height: 180px;
	margin: 0 0 10px;
	overflow: hidden;
	background: #fff;
}

.member-news-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.member-news-card__image--empty {
	background: #f5f5f5;
}

.member-news-card p {
	margin: 0;
}

.member-news-card .member-news-card__meta {
	margin-top: 8px;
	font-size: 12px;
	line-height: 1.35;
}

/* News archives. */
.archive-main > .news-archive-list { width: 100%; }
.news-list-item { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--eiro-color-border); }
.news-list-item:first-child { padding-top: 0; }
.news-list-item--no-image { grid-template-columns: 1fr; }
.news-list-item__image { display: block; align-self: start; aspect-ratio: 16 / 9; overflow: hidden; }
.news-list-item__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-list-item__content { min-width: 0; }
.news-list-item .news-list-item__content h2 { margin: 0 0 12px; font-size: 28px; line-height: 1.3; }
.news-list-item__content h2 a { text-decoration: none; }
.news-list-item .news-list-item__date { margin: 0 0 6px; color: var(--eiro-color-muted); font-size: 16px; }
.news-list-item .news-list-item__content > p { margin: 0 0 12px; }
.news-list-item__more { font-size: 17px; text-decoration: none; }
.news-list-item__terms { margin-top: 14px; color: var(--eiro-color-muted); font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.news-list-item .news-list-item__terms p { margin: 3px 0 0; }
.news-list-item__terms span { font-weight: 700; }
@media (max-width: 768px) {
	.news-list-item { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 24px; }
	.news-list-item--no-image { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.news-list-item { grid-template-columns: 1fr; gap: 16px; }
	.news-list-item .news-list-item__content h2 { font-size: 25px; }
}

.archive-main { width: min(100%, var(--eiro-container-width)); padding-top: 22px; padding-bottom: 44px; }
.archive-main > * { width: 620px; max-width: 100%; }
.archive-section-title { margin: 11px 0 44px; font-size: 24px; font-weight: 400; line-height: 1.2; }
.news-archive-card { padding-bottom: 22px; margin: 0 0 88px; }
.news-archive-card .entry-meta { height: 51px; font-size: 14px; font-weight: 700; line-height: 27.2px; }
.news-archive-card .entry-meta a,
.news-archive-card .entry-title a,
.news-archive-card .entry-footer a { color: inherit; text-decoration: none; }
.news-archive-card .entry-thumbnail { width: 620px; height: 348.75px; padding: 0; margin: 11px 0 0; overflow: hidden; }
.news-archive-card .entry-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-archive-card .entry-title { margin: 5.5px 0 11px; font-size: 46px; line-height: 1.2; }
.news-archive-card .entry-content p { margin: 0 0 22px; }
.news-archive-card .more-link { font-weight: 700; text-decoration: none; }
.news-archive-card .entry-footer { font-size: 14px; line-height: 1.6; }
.archive-main .posts-navigation { padding-bottom: 44px; margin: 0; }
.archive-main .posts-navigation .nav-links { display: flex; justify-content: space-between; }
.archive-main .posts-navigation a { font-weight: 700; text-decoration: none; }

.archive-main > .news-archive-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 32px;
	width: 100%;
	margin-bottom: 44px;
}

.news-archive-grid .news-archive-card {
	min-width: 0;
	margin: 0;
}

.news-archive-grid .news-archive-card .entry-thumbnail {
	width: 100%;
	max-width: none;
	height: auto;
	aspect-ratio: 16 / 9;
}

.news-archive-grid .news-archive-card .entry-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}

.news-archive-grid .news-archive-card .entry-title {
	font-size: clamp(24px, 2.2vw, 32px);
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.archive-main > .posts-navigation {
	width: 100%;
}

@media (max-width: 600px) {
	.archive-main > .news-archive-grid {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}
}

/* Automatic event metadata, calendars and click-to-load venue maps. */
.event-extras { margin-top: 40px; }
.event-calendar-links { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.event-calendar-links a,
.event-venue-map button { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; background: var(--eiro-color-primary); color: #fff; font: 700 15px/1.5 var(--eiro-font-body); text-decoration: none; cursor: pointer; }
.event-calendar-links a:hover,
.event-venue-map button:hover { background: var(--eiro-color-primary-hover); color: #fff; }
.event-calendar-links a:focus-visible,
.event-venue-map button:focus-visible { outline: 2px solid var(--eiro-color-focus); outline-offset: 3px; }
.event-info-box { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 28px 32px; margin-bottom: 28px; background: #eaeced; overflow-wrap: anywhere; }
.event-info-box section { min-width: 0; }
.event-single .entry-content .event-info-box h2 { margin: 0 0 16px; font-size: 22px; line-height: 1.3; }
.event-single .entry-content .event-info-box h3 { margin: 0 0 8px; font: 700 18px/1.5 var(--eiro-font-body); }
.event-info-box p,
.event-info-box address { margin: 0 0 8px; font-size: 17px; line-height: 1.6; }
.event-info-box dl { margin: 0; font-size: 17px; }
.event-info-box dt { font-weight: 700; }
.event-info-box dd { margin: 2px 0 14px; }
.event-organiser + .event-organiser { margin-top: 24px; }
.event-info-box--venue { grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); }
.event-venue-map { display: grid; min-width: 0; min-height: 320px; background: #f4f7f9; place-items: center; }
.event-venue-map__prompt { padding: 24px; text-align: center; }
.event-venue-map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (max-width: 600px) {
	.event-info-box { grid-template-columns: 1fr; padding: 22px; gap: 24px; }
	.event-venue-map,
	.event-venue-map iframe { min-height: 260px; }
}

/* Events. */
.home-editorial-empty {
	padding: 28px 24px;
	background: #f4f7f9;
	text-align: center;
}

.home-editorial-empty p {
	margin: 0;
	color: #48545e;
	font-size: 16px;
	line-height: 1.6;
}

.event-archive { padding-top: 22px; padding-bottom: 66px; }
.event-archive__label { margin: 0; font-size: 21px; line-height: 1.5; }
.event-archive__title { margin: 0 0 22px; font-size: 30px; line-height: 1.2; }
.event-search { display: flex; align-items: end; gap: 16px; padding: 18px; margin-bottom: 33px; background: #f1f1f1; }
.event-search label { font-size: 14px; font-weight: 700; }
.event-search input { height: 40px; padding: 7px 10px; border: 1px solid #b9bcbf; font: inherit; }
.event-search button { height: 40px; padding: 0 20px; border: 0; background: var(--eiro-color-primary); color: #fff; font: 700 14px/40px var(--eiro-font-body); cursor: pointer; }
.event-notice { padding: 12px 16px; border-radius: 3px; background: #f1f1f1; }
.event-card { padding-bottom: 33px; margin-bottom: 33px; border-bottom: 1px solid #eaeced; }
.event-card h2 { margin: 0 0 5.5px; font-size: 24px; line-height: 1.4; }
.event-card h2 a,
.event-card__summary a,
.event-archive__switch a { text-decoration: none; }
.event-card__date,
.event-card__location { margin: 0; font-weight: 700; }
.event-card__location { font-weight: 400; }
.event-card__image { display: block; margin-top: 16px; }
.event-card__summary p { margin: 16px 0 0; }
.event-archive__switch { margin-top: 22px; }
.event-single__date,
.event-single__location { margin: 0; font-weight: 700; }
.event-single__location { font-weight: 400; }
.event-single__image { margin: 0 0 22px; }
.home-event-item { margin-bottom: 22px; }
.home-event-item h3 { margin: 0; font: 700 17px/1.3 var(--eiro-font-body); }
.home-event-item h3 a { text-decoration: none; }
.home-event-item p { margin: 0 0 5.5px; }
.home-event-item__date { font-size: 14px; font-weight: 700; }

/* Member organisation directory. */
.organisation-archive { padding-top: 22px; padding-bottom: 66px; }
.organisation-archive > .entry-title { margin: 5.5px 0 33px; font-size: 46px; line-height: 1.2; }
.organisation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
.organisation-card__logo { display: flex; align-items: center; justify-content: center; height: 180px; padding: 24px; border: 1px solid #eaeced; background: #fff; }
.organisation-card__logo img { width: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.organisation-card h2 { margin: 11px 0 5.5px; font-size: 24px; line-height: 1.3; }
.organisation-card h2 a { text-decoration: none; }
.organisation-card__excerpt p { margin: 0; }
.organisation-single__logo { float: right; width: 280px; margin: 0 0 22px 44px; }
.organisation-single__logo img { width: auto; max-width: 100%; height: auto; }

/* Shared footer. */
.site-footer {
	min-height: 448.4531px;
	padding: 44px 0;
	background-color: #061827;
	/* Keep white footer text readable over every part of the decorative image. */
	background-image: linear-gradient(rgba(6, 24, 39, 0.62), rgba(6, 24, 39, 0.62)), url("assets/images/footer-background.jpg");
	background-position: left bottom;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
}

.footer-inner {
	position: relative;
	min-height: 360.4531px;
}

.footer-widget-container {
	display: grid;
	align-items: start;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	height: 306.9688px;
}

.footer-widget {
	margin: 0 0 44px;
	font-size: 13px;
	line-height: 1.6;
}

.footer-widget__title {
	margin: 0 0 11px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.footer-widget ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-widget a,
.footer-social-links a {
	color: #fff;
	text-decoration: none;
}

.footer-widget a:hover,
.footer-widget a:focus-visible,
.footer-social-links a:hover,
.footer-social-links a:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.footer-widget a:focus-visible,
.footer-social-links a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.footer-text {
	height: 20.7969px;
	margin: 0 0 5.5px;
	font-size: 13px;
	line-height: 1.6;
}

.footer-social-links {
	position: absolute;
	right: var(--eiro-gutter);
	bottom: 0;
}

.footer-social-links ul {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-social-links a {
	display: grid;
	width: 32px;
	height: 32px;
	place-items: center;
}

.footer-social-links svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: currentcolor;
}

/* Shared controls. */
button,
input[type="button"],
input[type="submit"],
.button,
.wp-element-button {
	border-radius: 0;
	font-family: var(--eiro-font-body);
}

.site-main .search-form {
	display: flex;
	max-width: 620px;
}

.site-main .search-field {
	min-width: 0;
	flex: 1;
	height: 40px;
	padding: 7px 10px;
	border: 1px solid var(--eiro-color-secondary);
	background: var(--eiro-color-surface-subtle);
	font: 400 14px/24px var(--eiro-font-body);
}

.site-main .search-submit {
	position: static;
	width: auto;
	height: 40px;
	padding: 0 18px;
	margin: 0;
	clip: auto;
	border: 0;
	background: var(--eiro-color-primary);
	color: #fff;
	font-weight: 700;
}

@media (max-width: 768px) {
	.site {
		padding-top: 143px;
	}

	.site-header,
	.header-inner {
		height: 143px;
	}

	.site-branding {
		top: 11px;
	}

	.header-utilities {
		top: 22px;
	}

	.main-navigation {
		top: 103px;
	}

	.home-hero {
		height: calc(100vw * 5 / 12);
		min-height: 320px;
	}

	.home-hero__caption {
		top: 50%;
		right: 14.45%;
		left: 14.45%;
		width: auto;
		min-width: 0;
		transform: translateY(-50%);
	}

	.home-about {
		height: auto;
		min-height: 289px;
		padding-bottom: 0;
	}

	.home-news-grid,
	.member-news-grid {
		grid-template-columns: 1fr;
	}

	.home-news-grid {
		grid-template-rows: auto;
	}

	.home-news-card__image {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.home-section-title--empty {
		display: none;
	}

	.home-news-events {
		height: auto;
		min-height: 0;
		padding-bottom: 44px;
	}

	.member-news-grid {
		grid-template-rows: none;
		row-gap: 44px;
		padding-bottom: 44px;
	}

	.member-news-card:nth-child(n + 7) {
		margin-top: 0;
	}

	.member-news-card__image {
		height: auto;
	}

	.member-news-card__image img {
		height: auto;
		object-fit: initial;
	}

	.member-news-card__image--empty {
		min-height: 180px;
	}

	.archive-main > * {
		width: 100%;
	}

	.news-archive-card .entry-thumbnail {
		width: min(100%, 620px);
		height: auto;
		aspect-ratio: 16 / 9;
		margin-inline: auto;
	}
}

@media (max-width: 600px) {
	:root {
		--eiro-font-size-heading-1: 25px;
	}

	.news-archive-card .entry-title { font-size: 25px; }
	.event-search { align-items: stretch; flex-direction: column; }
	.organisation-grid { grid-template-columns: 1fr; }
	.organisation-single__logo { float: none; width: auto; margin: 0 0 22px; }

	.admin-bar .site-header {
		top: 46px;
	}

	.site-branding {
		top: 11px;
		width: calc(100% - (2 * var(--eiro-gutter)));
		height: 59px;
	}

	.custom-logo-link {
		width: min(60%, 300px);
		height: auto;
	}

	.custom-logo {
		width: 100%;
		height: auto;
	}

	.header-utilities {
		display: none;
	}

	.home-hero {
		height: calc(100vw * 5 / 12);
		min-height: 0;
	}

	.home-hero__caption {
		padding: 8px 12px;
	}

	.home-hero__caption h1 {
		margin: 5.5px 0;
		font-size: 25px;
		line-height: 1.2;
	}

	.home-hero__caption p {
		font-size: 14px;
		line-height: 1.35;
	}

	.home-about h2 {
		font-size: 25px;
		line-height: 1.2;
	}

	.home-member-news__header {
		height: 83px;
	}

	.home-member-news__header h2 {
		font-size: 25px;
		line-height: 1.5;
	}

	.home-hero__arrow {
		width: 30px;
		height: 30px;
		font-size: 30px;
	}

	.home-hero__arrow--previous {
		left: 8px;
	}

	.home-hero__arrow--next {
		right: 8px;
	}

	.menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 40px;
		padding: 0;
		margin: 0 0 0 auto;
		border: 0;
		background: transparent;
		color: var(--eiro-color-surface);
		font: 400 14px/40px var(--eiro-font-body);
		cursor: pointer;
	}

	.menu-toggle-icon {
		position: relative;
		display: block;
		width: 26px;
		height: 2px;
		background: currentColor;
	}

	.menu-toggle-icon::before,
	.menu-toggle-icon::after {
		position: absolute;
		top: -8px;
		left: 0;
		width: 26px;
		height: 2px;
		background: currentColor;
		content: "";
	}

	.menu-toggle-icon::after {
		top: 8px;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
		background: transparent;
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
		top: 0;
		transform: rotate(45deg);
	}

	.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
		top: 0;
		transform: rotate(-45deg);
	}

	.primary-menu {
		position: absolute;
		top: 40px;
		right: 0;
		left: 0;
		display: none;
		height: auto;
		background: var(--eiro-color-menu);
	}

	.main-navigation.is-open .primary-menu {
		display: block;
	}

	.primary-menu > li {
		height: auto;
	}

	.primary-menu > li > a,
	.primary-menu .sub-menu a {
		min-height: 40px;
		padding: 0 10px;
		background: var(--eiro-color-menu);
		color: var(--eiro-color-surface);
		line-height: 40px;
	}

	.primary-menu > .current-menu-item > a,
	.primary-menu > .current-menu-ancestor > a {
		background: var(--eiro-color-secondary);
	}

	.primary-menu > li:hover > a,
	.primary-menu > li:focus-within > a,
	.primary-menu .sub-menu a:hover,
	.primary-menu .sub-menu a:focus-visible {
		background: #333333;
		color: var(--eiro-color-surface);
	}

	.primary-menu .menu-item-has-children > a::after {
		display: none;
	}

	.primary-menu .menu-item-has-children > a {
		padding-right: 40px;
	}

	.submenu-toggle {
		position: absolute;
		top: 0;
		right: 0;
		display: block;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--eiro-color-surface);
		cursor: pointer;
	}

	.submenu-toggle::after {
		display: inline-block;
		content: "";
		width: 16px;
		height: 16px;
		background: currentColor;
		-webkit-mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
		mask: url("assets/icons/chevron-right.svg") center / contain no-repeat;
		transform: rotate(90deg);
	}

	.is-submenu-open > .submenu-toggle::after {
		transform: rotate(-90deg);
	}

	.primary-menu .sub-menu,
	.primary-menu .sub-menu .sub-menu {
		position: static;
		display: none;
		width: 100%;
		opacity: 1;
		visibility: visible;
	}

	.primary-menu .is-submenu-open > .sub-menu {
		display: block;
	}

	.primary-menu .sub-menu a {
		padding-left: 25px;
		background: #2b2b2b;
	}

	.primary-menu .sub-menu .sub-menu a {
		padding-left: 40px;
	}

	.site-footer {
		min-height: 801.75px;
	}

	.footer-inner {
		min-height: 713.75px;
	}

	.footer-widget-container {
		display: block;
		height: 638.9531px;
	}

	.footer-widget {
		padding-bottom: 0;
		margin-bottom: 66px;
	}

	.footer-widget:nth-child(1) { height: 230.1719px; }
	.footer-widget:nth-child(2) { height: 63.7969px; }
	.footer-widget:nth-child(3) { height: 146.9844px; }

	.footer-social-links {
		position: static;
		margin-top: 11px;
	}

	.footer-social-links a {
		width: 44px;
		height: 44px;
	}

	.footer-social-links svg {
		width: 24px;
		height: 24px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* Homepage hero: photography-led caption and compact carousel controls. */
.home-hero-carousel {
	position: relative;
	padding-bottom: 40px;
}

.home-hero__slide::before {
	z-index: 1;
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(5, 15, 27, 0.93), rgba(5, 15, 27, 0.54) 42%, rgba(5, 15, 27, 0) 80%);
	content: "";
	pointer-events: none;
}

.home-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.home-hero-carousel [hidden] {
	display: none !important;
}

.home-hero__caption {
	top: auto;
	right: auto;
	bottom: 64px;
	left: 50%;
	width: min(100%, var(--eiro-container-width));
	min-width: 0;
	z-index: 2;
	padding: 0 var(--eiro-gutter);
	background: transparent;
	text-align: left;
	transform: translateX(-50%);
}

.home-hero__caption h1 {
	max-width: 800px;
	margin: 12px 0 0;
	font-size: clamp(28px, 2.6vw, 42px);
	font-weight: 400;
	line-height: 1.16;
	letter-spacing: -0.018em;
	text-wrap: balance;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.home-hero__caption p {
	font-size: 18px;
	font-style: normal;
	line-height: 1.4;
}

.home-hero__caption a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-block: 3px;
	text-decoration: none;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 6px;
}

.home-hero__caption a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.home-hero__cta-arrow {
	display: block;
	flex: 0 0 1em;
	width: 1em;
	height: 1em;
	transition: transform 180ms ease;
}

.home-hero__caption a:hover .home-hero__cta-arrow,
.home-hero__caption a:focus-visible .home-hero__cta-arrow {
	transform: translate(2px, -2px);
}

.home-hero-controls {
	position: absolute;
	right: auto;
	bottom: 56px;
	left: 50%;
	width: min(100%, var(--eiro-container-width));
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	height: 40px;
	padding-inline: var(--eiro-gutter);
	background: transparent;
	color: #fff;
	opacity: 0.75;
	transition: opacity var(--eiro-transition);
}

.home-hero-controls:hover,
.home-hero-controls:focus-within {
	opacity: 1;
}

.home-hero-controls .home-hero__arrow--previous {
	margin-left: auto;
}

.home-hero-controls .home-hero__arrow,
.home-hero__pause {
	position: static;
	display: grid;
	flex: 0 0 36px;
	width: 36px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: 22px/1 Arial, sans-serif;
	transform: none;
	place-items: center;
	cursor: pointer;
}

.home-hero-controls .home-hero__arrow:hover,
.home-hero__pause:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.home-hero-controls .home-hero-dots {
	position: relative;
	left: auto;
	flex: 0 0 120px;
	width: 120px;
	gap: 0;
	height: 40px;
	transform: none;
}

.home-hero-controls .home-hero-dots::before,
.home-hero-controls .home-hero-dots::after {
	position: absolute;
	top: 19px;
	left: 0;
	height: 3px;
	border-radius: 2px;
	content: "";
	pointer-events: none;
}

.home-hero-controls .home-hero-dots::before {
	width: 100%;
	background: rgba(189, 207, 224, 0.42);
}

.home-hero-controls .home-hero-dots::after {
	width: var(--slider-progress, 11.111%);
	background: #fff;
	transition: width 180ms ease;
}

.home-hero-controls .home-hero-dots button {
	position: relative;
	flex: 1;
	width: auto;
	height: 40px;
	color: #fff;
}

.home-hero-controls .home-hero-dots button::after {
	position: absolute;
	top: 19px;
	right: 0;
	left: 0;
	height: 2px;
	background: transparent;
	content: "";
}

.home-hero-controls .home-hero-dots button.is-active,
.home-hero-controls .home-hero-dots button:hover {
	color: #fff;
}

.home-hero__counter {
	position: static;
	min-width: 48px;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.home-hero__pause span {
	width: 9px;
	height: 11px;
	border-inline: 3px solid currentcolor;
}

.home-hero__pause[aria-pressed="true"] span {
	width: 0;
	height: 0;
	border: 6px solid transparent;
	border-right: 0;
	border-left: 9px solid currentcolor;
}

.home-hero-controls button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -3px;
}

@media (max-width: 1024px) {
	.home-hero__caption h1 {
		font-size: clamp(22px, 2.8vw, 32px);
	}
}

@media (max-width: 600px) {
	.home-hero__slide::before {
		background: linear-gradient(0deg, rgba(5, 15, 27, 0.94), rgba(5, 15, 27, 0.7) 70%, rgba(5, 15, 27, 0.22));
	}

	.home-hero__caption {
		bottom: 42px;
	}

	.home-hero__caption h1 {
		margin: 8px 0 0;
		font-size: clamp(18px, 5vw, 24px);
		line-height: 1.16;
	}

	.home-hero__caption p {
		font-size: 13px;
	}

	.home-hero-controls {
		bottom: 44px;
		gap: 4px;
	}

	.home-hero-controls .home-hero-dots {
		flex-basis: 100px;
		width: 100px;
		gap: 0;
	}

	.home-hero-controls .home-hero-dots button {
		width: auto;
	}

	.home-hero-controls .home-hero__arrow,
	.home-hero__pause {
		flex-basis: 28px;
		width: 28px;
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-hero-controls,
	.home-hero__slide,
	.home-hero__slide.is-active,
	.home-hero__cta-arrow {
		transition: none;
	}

	.home-hero-controls .home-hero-dots::after {
		transition: none;
	}

	.home-hero__caption a:hover .home-hero__cta-arrow,
	.home-hero__caption a:focus-visible .home-hero__cta-arrow {
		transform: none;
	}
}

/* October refinement: surface and interaction changes preserve layout geometry. */
.site-main a:focus-visible {
	outline: 2px solid var(--eiro-color-focus);
	outline-offset: 3px;
}

.internal-main .entry-content a,
.breadcrumbs a,
.event-archive__switch a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-skip-ink: auto;
}

.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a {
	background-color: rgba(255, 255, 255, 0.16);
}

.primary-menu .sub-menu a {
	background-color: #f5f7f8;
	color: #4c555d;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible,
.primary-menu .sub-menu .current-menu-item > a {
	background-color: #fff;
	color: var(--eiro-color-primary-hover);
}

.member-news-card {
	border-color: var(--eiro-color-border);
}

.member-news-card__meta,
.news-archive-card .entry-footer {
	color: #515c64;
}

.event-search,
.event-notice {
	background-color: #f3f5f6;
	box-shadow: inset 0 0 0 1px #e6eaed;
}

.header-search .search-field {
	background-color: #f3f5f6;
	border-color: #b9c8d4;
}

.site-main .search-submit,
.event-search button {
	border-radius: 2px;
}

.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row {
	border-color: var(--eiro-color-border);
	transition: border-color var(--eiro-transition), box-shadow var(--eiro-transition);
}

.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row:hover,
.eiroforum-jobs-index .internal-main .entry-content > .eiro-imported-row:focus-within {
	transform: none;
	border-color: #9db8ca;
	box-shadow: 0 2px 8px rgba(8, 35, 58, 0.05);
}

/* Logo presentation: remove decorative frames without changing source assets. */
.custom-logo,
.member-news-logo,
.member-news-logo img,
.organisation-card__logo,
.organisation-card__logo img,
.organisation-single__logo,
.organisation-single__logo img,
.eiro-imported-logo,
.eiro-imported-logo img,
.eiro-directory__logo figure,
.eiro-directory__logo img,
.eiroforum-members-index .entry-content > .wp-block-image,
.eiroforum-members-index .entry-content > .wp-block-image img {
	border: 0;
	box-shadow: none;
}

/* Imported raster logos include a narrow JPEG frame in their outer pixels.
 * Scale the edge trim with each image so small news logos keep their artwork. */
.member-news-logo img,
.eiro-imported-logo img,
.eiroforum-members-index .entry-content > .wp-block-image img {
	clip-path: inset(3% 2%);
}

/* Shared transitions and existing active navigation indicators. */
.primary-menu a,
.primary-menu .sub-menu,
.header-social-links a,
.footer-widget a,
.footer-social-links a,
.home-hero__arrow,
.home-hero-dots button,
.event-search button,
.site-main .search-submit,
.search-field,
.event-search input {
	transition:
		background-color var(--eiro-transition),
		border-color var(--eiro-transition),
		color var(--eiro-transition),
		opacity var(--eiro-transition),
		outline-color var(--eiro-transition);
}

.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
	box-shadow: inset 0 -2px rgba(255, 255, 255, 0.72);
}

.primary-menu .sub-menu {
	border: 1px solid var(--eiro-color-border);
	box-shadow: 0 4px 12px rgba(13, 19, 35, 0.08);
}

.primary-menu .sub-menu .sub-menu {
	margin-top: -1px;
}

.breadcrumbs li:last-child {
	color: #4f555a;
}

.single .post-navigation,
.event-card {
	border-color: var(--eiro-color-border);
}

.home-news-card h3 a,
.member-news-card h3 a,
.home-all-news a,
.home-event-item h3 a,
.event-card h2 a,
.event-card__summary a,
.event-archive__switch a,
.news-archive-card .entry-title a,
.news-archive-card .more-link,
.archive-main .posts-navigation a {
	text-decoration-color: transparent;
	transition: color var(--eiro-transition), text-decoration-color var(--eiro-transition);
}

.home-news-card h3 a:hover,
.home-news-card h3 a:focus-visible,
.member-news-card h3 a:hover,
.member-news-card h3 a:focus-visible,
.home-all-news a:hover,
.home-all-news a:focus-visible,
.home-event-item h3 a:hover,
.home-event-item h3 a:focus-visible,
.event-card h2 a:hover,
.event-card h2 a:focus-visible,
.event-card__summary a:hover,
.event-card__summary a:focus-visible,
.event-archive__switch a:hover,
.event-archive__switch a:focus-visible,
.news-archive-card .entry-title a:hover,
.news-archive-card .entry-title a:focus-visible,
.news-archive-card .more-link:hover,
.news-archive-card .more-link:focus-visible,
.archive-main .posts-navigation a:hover,
.archive-main .posts-navigation a:focus-visible {
	color: var(--eiro-color-primary-hover);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.site-main .search-field,
.event-search input {
	border-color: #aeb5bb;
	background-color: #f3f4f5;
}

.site-main .search-field:hover,
.event-search input:hover,
.header-search .search-field:hover {
	border-color: #8f989f;
}

.site-main .search-field:focus-visible,
.event-search input:focus-visible {
	border-color: var(--eiro-color-focus);
	outline: 2px solid var(--eiro-color-focus);
	outline-offset: 1px;
}

.event-search button:hover,
.event-search button:focus-visible,
.site-main .search-submit:hover,
.site-main .search-submit:focus-visible {
	background-color: var(--eiro-color-primary-hover);
}

.event-search button:focus-visible,
.site-main .search-submit:focus-visible,
.home-hero__arrow:focus-visible,
.home-hero-dots button:focus-visible {
	outline: 2px solid var(--eiro-color-focus);
	outline-offset: 2px;
}

.footer-widget a,
.footer-social-links a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

@media (max-width: 600px) {
	.primary-menu > .current-menu-item > a,
	.primary-menu > .current-menu-ancestor > a {
		box-shadow: inset 3px 0 rgba(255, 255, 255, 0.78);
	}

	.primary-menu .sub-menu,
	.primary-menu .sub-menu .sub-menu {
		border: 0;
		box-shadow: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	a,
	.primary-menu a,
	.primary-menu .sub-menu,
	.header-social-links a,
	.footer-widget a,
	.footer-social-links a,
	.home-hero__arrow,
	.home-hero-dots button,
	.event-search button,
	.site-main .search-submit,
	.search-field,
	.event-search input {
		transition: none;
	}
}

/* Mobile masthead: no navigation strip, compact on scroll. */
@media (max-width: 600px) {
	.site {
		padding-top: 96px;
	}

	.site-header {
		--eiro-mobile-header-height: 96px;
		--eiro-color-menu: #08131e;
		top: var(--eiro-mobile-admin-offset, 0px);
		height: var(--eiro-mobile-header-height);
		transition: height 200ms ease;
	}

	.admin-bar .site-header {
		top: var(--eiro-mobile-admin-offset, 46px);
	}

	.site-header.is-compact {
		--eiro-mobile-header-height: 68px;
	}

	.header-inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 100%;
	}

	.site-branding {
		position: static;
		width: min(220px, calc(100% - 60px));
		height: auto;
		transition: width 200ms ease;
	}

	.is-compact .site-branding {
		width: min(160px, calc(100% - 60px));
	}

	.custom-logo-link,
	.custom-logo {
		width: 100%;
		height: auto;
	}

	.custom-logo {
		max-height: 72px;
		object-fit: contain;
		object-position: left center;
	}

	.main-navigation {
		position: static;
		width: 44px;
		height: 44px;
		margin-left: auto;
		background: transparent;
	}

	.menu-toggle {
		height: 44px;
		background: transparent;
	}

	.primary-menu > .current-menu-item > a,
	.primary-menu > .current-menu-ancestor > a {
		background: rgba(255, 255, 255, 0.16);
	}

	.primary-menu > li:hover > a,
	.primary-menu > li:focus-within > a,
	.primary-menu .sub-menu a:hover,
	.primary-menu .sub-menu a:focus-visible {
		background: rgba(255, 255, 255, 0.1);
	}

	.main-navigation > .primary-menu {
		top: 100%;
		right: 0;
		left: 0;
		max-height: calc(100dvh - var(--eiro-mobile-header-height) - var(--eiro-mobile-admin-offset, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

/* Desktop/tablet: retain the navigation row while reducing the masthead. */
@media (min-width: 601px) {
	.header-inner {
		height: 100%;
	}

	.site-branding {
		transition: top 200ms ease, width 200ms ease, height 200ms ease;
	}

	.custom-logo-link,
	.custom-logo {
		transition: width 200ms ease, height 200ms ease;
	}

	.main-navigation {
		transition: top 200ms ease;
	}

	.site-header.is-compact {
		height: 128px;
	}

	.is-compact .site-branding {
		top: 8px;
		width: 240px;
		height: 72px;
	}

	.is-compact .custom-logo-link,
	.is-compact .custom-logo {
		width: 240px;
		height: 72px;
	}

	.is-compact .main-navigation {
		top: 88px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.site-header,
	.site-branding,
	.custom-logo-link,
	.custom-logo,
	.main-navigation {
		transition: none;
	}
}

.event-past-notice {
	padding: 12px 16px;
	margin: 0 0 20px;
	border-left: 3px solid var(--eiro-color-primary);
	background: #f4f7f9;
	color: #48545e;
	font-size: 18px;
}

/* Let the footer grow with larger type instead of relying on fixed row heights. */
.site-footer,
.footer-inner { min-height: 0; }
.footer-widget-container { height: auto; margin-bottom: 32px; row-gap: 32px; }
.footer-widget { margin: 0; font-size: 18px; }
.footer-widget__title { font-size: 18px; }
.footer-text { height: auto; font-size: 16px; }
@media (max-width: 600px) {
	.footer-widget-container { display: grid; grid-template-columns: 1fr; height: auto; }
	.footer-widget:nth-child(n) { height: auto; margin-bottom: 0; }
}

/* Stack editorial floats before a wide photo leaves an unreadably narrow text strip.
 * Directory logos and Gallery thumbnails retain their own responsive components. */
@media (max-width: 1024px) {
	.internal-main .entry-content img:is(.alignleft, .alignright) {
		display: block;
	}
	.internal-main .entry-content :is(figure.alignleft, figure.alignright, img.alignleft, img.alignright, .wp-block-image.alignleft, .wp-block-image.alignright, .wp-caption.alignleft, .wp-caption.alignright):not(:where(.wp-block-gallery, .wp-block-gallery *, .eiro-directory__logo *, .eiro-imported-row *, .eiro-legacy-member-row *, .eiroforum-members-index *)) {
		display: block;
		float: none !important;
		clear: both;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin: 0 auto 22px !important;
	}
	.internal-main .entry-content :is(figure.alignleft, figure.alignright, .wp-block-image.alignleft, .wp-block-image.alignright, .wp-caption.alignleft, .wp-caption.alignright):not(:where(.wp-block-gallery, .wp-block-gallery *, .eiro-directory__logo *, .eiro-imported-row *, .eiro-legacy-member-row *, .eiroforum-members-index *)) > a,
	.internal-main .entry-content :is(figure.alignleft, figure.alignright, .wp-block-image.alignleft, .wp-block-image.alignright, .wp-caption.alignleft, .wp-caption.alignright):not(:where(.wp-block-gallery, .wp-block-gallery *, .eiro-directory__logo *, .eiro-imported-row *, .eiro-legacy-member-row *, .eiroforum-members-index *)) :is(img, figcaption, .wp-caption-text) {
		display: block;
		width: 100% !important;
		max-width: 100%;
		height: auto !important;
	}
}
