/* Resty24 theme — layout only. Colours / fonts: Resty24 → Design (CSS variables, with neutral fallbacks). */

body.r24-theme {
	margin: 0;
	background: var(--r24-page-bg, #fff);
	color: var(--r24-ink, #1f2328);
	font-family: var(--r24-font, inherit);
}

/* ---------- header ---------- */
.r24t-header {
	position: relative;
	z-index: 50;
	background: var(--r24-page-bg, #fff);
	border-bottom: 1px solid color-mix(in srgb, var(--r24-ink, #1f2328) 12%, transparent);
}
.r24t-sticky .r24t-header {
	position: sticky;
	top: 0;
}
.admin-bar.r24t-sticky .r24t-header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar.r24t-sticky .r24t-header {
		top: 0;
	}
}
.r24t-header__in {
	display: flex;
	align-items: center;
	gap: 18px;
	max-width: var(--r24-page-max, 1290px);
	margin: 0 auto;
	padding: 10px 15px;
	box-sizing: border-box;
}
.r24t-brand {
	flex: 0 0 auto;
}
.r24t-brand img {
	display: block;
	max-height: 64px;
	width: auto;
}
.r24t-brand__name {
	/* px, not rem: the Resty24 plugin (Bootstrap) sets html { font-size: 62.5% } = 10px */
	font-size: var(--r24t-brand-size, 28px);
	line-height: 1.1;
	letter-spacing: -.01em;
	font-weight: 700;
	color: var(--r24-primary, currentColor);
	text-decoration: none;
}
.r24t-nav {
	flex: 1 1 auto;
}
.r24t-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.r24t-menu li {
	position: relative;
}
.r24t-menu a {
	display: block;
	padding: 8px 0;
	font-size: var(--r24t-menu-size, 17px);
	line-height: 1.3;
	color: var(--r24-ink, #1f2328);
	text-decoration: none;
	font-weight: 600;
}
.r24t-menu a:hover,
.r24t-menu .current-menu-item > a {
	color: var(--r24-accent, var(--r24-primary, currentColor));
}
.r24t-menu .sub-menu a {
	font-size: calc(var(--r24t-menu-size, 17px) - 1px);
}
.r24t-menu .sub-menu {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 200px;
	margin: 0;
	padding: 6px 14px;
	list-style: none;
	background: var(--r24-page-bg, #fff);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
	z-index: 60;
}
.r24t-menu li:hover > .sub-menu,
.r24t-menu li:focus-within > .sub-menu {
	display: block;
}
.r24t-actions {
	flex: 0 0 auto;
	margin-left: auto;
}
.r24t-actions .myaccountSetup {
	margin: 0;
}
.r24t-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	margin-left: auto;
	padding: 8px;
	background: none;
	border: 0;
	cursor: pointer;
}
.r24t-burger span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--r24-ink, #1f2328);
}

@media (max-width: 767px) {
	.r24t-brand__name {
		font-size: var(--r24t-brand-size-m, 22px);
	}
}
@media (max-width: 1024px) {
	.r24t-header__in {
		flex-wrap: wrap;
	}
	.r24t-burger {
		display: flex;
		order: 2;
	}
	.r24t-actions {
		order: 1;
	}
	.r24t-nav {
		order: 3;
		flex-basis: 100%;
		display: none;
	}
	.r24t-nav.is-open {
		display: block;
	}
	.r24t-menu {
		flex-direction: column;
	}
	.r24t-menu .sub-menu {
		position: static;
		display: block;
		box-shadow: none;
		padding-left: 14px;
	}
}

/* ---------- footer ---------- */
.r24t-footer {
	margin-top: 40px;
	border-top: 1px solid color-mix(in srgb, var(--r24-ink, #1f2328) 12%, transparent);
}
.r24t-footer__in {
	max-width: var(--r24-page-max, 1290px);
	margin: 0 auto;
	padding: 22px 15px;
	box-sizing: border-box;
	text-align: center;
}
.r24t-fmenu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px 20px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.r24t-fmenu a {
	color: var(--r24-ink, #1f2328);
	text-decoration: none;
}
.r24t-fmenu a:hover {
	color: var(--r24-accent, currentColor);
}
.r24t-copy {
	margin: 0;
	font-size: .9em;
	opacity: .75;
}

/* Elementor template header / footer: no extra spacing */
.r24t-header--tpl,
.r24t-footer--tpl {
	border: 0;
	margin: 0;
}

/* ---------- content of pages not built with Elementor (account, lost password, privacy …) ---------- */
/* 2026-11-18: same width and side space as the header, so the page lines up under the logo. */
body.r24-theme:not(.elementor-page) .site-main {
	max-width: var(--r24-page-max, 1290px);
	margin: 0 auto;
	padding: 0 15px 48px;
	box-sizing: border-box;
}
body.r24-theme:not(.elementor-page) .site-main > .page-header {
	margin: 0 0 20px;
	padding: 18px 0 14px;
	border-bottom: 1px solid color-mix(in srgb, var(--r24-ink, #1f2328) 12%, transparent);
}
body.r24-theme:not(.elementor-page) .site-main > .page-header .entry-title {
	margin: 0;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.15;
	color: var(--r24-ink, #1f2328);
}
/* breadcrumb: same container; links in the main color (the old rule made them white for a dark bar) */
body.r24-theme .r24-bc-auto {
	width: 100%;
	max-width: var(--r24-page-max, 1290px);
	padding: 16px 15px 0;
}
body.r24-theme .r24-bc-auto ul.breadcrumb > li > a,
body.r24-theme .r24-bc-auto ul.breadcrumb > li .divider,
body.r24-theme .r24-bc-auto ul.breadcrumb > li {
	color: var(--r24-primary, #1f2328);
}
body.r24-theme .r24-bc-auto ul.breadcrumb > li.item-current,
body.r24-theme .r24-bc-auto ul.breadcrumb > li.item-current * {
	color: var(--r24-ink, #1f2328) !important;
}
