/* ==========================================================================
   RENTEPOS — site styles (mobile first). Tokens come from theme.json:
   --wp--preset--color--{navy|red|white|light-grey|red-dark|slate|border}
   ========================================================================== */

:root {
	--re-navy: var(--wp--preset--color--navy, #09172a);
	--re-red: var(--wp--preset--color--red, #d90912);
	--re-red-dark: var(--wp--preset--color--red-dark, #a8060d);
	--re-grey: var(--wp--preset--color--light-grey, #f1f3f5);
	--re-slate: var(--wp--preset--color--slate, #47546a);
	--re-border: var(--wp--preset--color--border, #d3d9e0);
	--re-input-border: #6b778a;
	--re-error: #b00710;
	--re-radius: 10px;
	--re-header-h: 4.25rem;
	--re-shadow: 0 1px 2px rgba(9, 23, 42, 0.06), 0 6px 18px rgba(9, 23, 42, 0.06);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--re-header-h) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--re-red);
	outline-offset: 2px;
	border-radius: 3px;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* Template parts sit edge to edge. */
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block: 0; }

/* --------------------------------------------------------------------------
   DEMO banner
   -------------------------------------------------------------------------- */
.re-demo-banner {
	background: #fff4d6;
	color: var(--re-navy);
	border-bottom: 1px solid #e8d49a;
	font-size: 0.875rem;
	line-height: 1.45;
	padding: 0.5rem 1rem;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.re-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	border-bottom: 1px solid var(--re-border);
	transition: box-shadow 0.2s ease;
}
.admin-bar .re-site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .re-site-header { top: 32px; } }
.re-site-header.is-scrolled { box-shadow: 0 4px 16px rgba(9, 23, 42, 0.08); }

.re-header {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: 1200px;
	min-height: var(--re-header-h);
	margin: 0 auto;
	padding: 0.4rem 1rem;
}

.re-logo { display: inline-flex; flex-shrink: 0; line-height: 0; }
.re-logo img { width: auto; height: 50px; }
@media (max-width: 379px) {
	.re-logo img { height: 38px; }
}

.re-nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 44px;
	padding: 0.5rem 0.85rem;
	background: #fff;
	color: var(--re-navy);
	border: 2px solid var(--re-navy);
	border-radius: 6px;
	font: inherit;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
}
.re-nav-toggle__icon { position: relative; width: 18px; height: 12px; }
.re-nav-toggle__icon::before,
.re-nav-toggle__icon::after,
.re-nav-toggle__icon span {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.re-nav-toggle__icon::before { top: 0; }
.re-nav-toggle__icon span { top: 5px; }
.re-nav-toggle__icon::after { top: 10px; }
.re-nav-toggle[aria-expanded="true"] .re-nav-toggle__icon::before { transform: translateY(5px) rotate(45deg); }
.re-nav-toggle[aria-expanded="true"] .re-nav-toggle__icon span { opacity: 0; }
.re-nav-toggle[aria-expanded="true"] .re-nav-toggle__icon::after { transform: translateY(-5px) rotate(-45deg); }

.re-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border-bottom: 1px solid var(--re-border);
	box-shadow: 0 12px 24px rgba(9, 23, 42, 0.12);
	max-height: calc(100vh - var(--re-header-h));
	overflow-y: auto;
}
.re-site-header.is-open .re-nav { display: block; }
.re-nav__list { list-style: none; margin: 0; padding: 0.5rem 1rem 1rem; }
.re-nav__item a {
	display: block;
	padding: 0.85rem 0.25rem;
	color: var(--re-navy);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid var(--re-grey);
}
.re-nav__item a:hover,
.re-nav__item a.is-active { color: var(--re-red); }
.re-nav__item--cta a {
	margin-top: 0.75rem;
	border: 0;
	border-radius: 6px;
	background: var(--re-red);
	color: #fff;
	text-align: center;
}
.re-nav__item--cta a:hover,
.re-nav__item--cta a.is-active { background: var(--re-red-dark); color: #fff; }

@media (min-width: 1100px) {
	.re-logo img { height: 60px; }
	.re-nav-toggle { display: none; }
	.re-nav {
		display: block;
		position: static;
		border: 0;
		box-shadow: none;
		max-height: none;
		overflow: visible;
		background: transparent;
	}
	.re-nav__list { display: flex; align-items: center; gap: 0.25rem; padding: 0; }
	.re-nav__item a {
		padding: 0.5rem 0.7rem;
		border: 0;
		font-size: 0.95rem;
		position: relative;
	}
	.re-nav__item:not(.re-nav__item--cta) a::after {
		content: "";
		position: absolute;
		left: 0.7rem;
		right: 0.7rem;
		bottom: 0.2rem;
		height: 2px;
		background: var(--re-red);
		transform: scaleX(0);
		transition: transform 0.2s ease;
	}
	.re-nav__item:not(.re-nav__item--cta) a:hover::after,
	.re-nav__item:not(.re-nav__item--cta) a.is-active::after { transform: scaleX(1); }
	.re-nav__item:not(.re-nav__item--cta) a:hover,
	.re-nav__item:not(.re-nav__item--cta) a.is-active { color: var(--re-navy); }
	.re-nav__item--cta { margin-left: 0.5rem; }
	.re-nav__item--cta a { margin: 0; padding: 0.7rem 1.2rem; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.re-section {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}
.re-section--grey,
.re-section--enquiry { background: var(--re-grey); }
.re-section--navy,
.re-section--hero { background: var(--re-navy); color: #fff; }
.re-section--navy :where(h1, h2, h3, h4),
.re-section--hero :where(h1, h2, h3, h4) { color: #fff; }

.re-section > .wp-block-heading:first-child,
.re-section .re-narrow > .wp-block-heading:first-child { margin-top: 0; }

.re-lead {
	color: var(--re-slate);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.6;
	max-width: 62ch;
	/* Constrained layout would centre the narrower lead; line it up with the 1200px column's left edge. */
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2)) !important;
}
.re-subhead { margin-top: var(--wp--preset--spacing--50); }

.re-narrow { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
.re-center { justify-content: center; }

/* Hero */
.re-section--hero {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	position: relative;
	overflow: hidden;
}
.re-section--hero::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 6px;
	background: var(--re-red);
}
.re-hero__cols { gap: var(--wp--preset--spacing--50); }
.re-hero__title {
	font-size: var(--wp--preset--font-size--display);
	margin: 0;
}
.re-hero__lead {
	color: #dfe5ee;
	font-size: var(--wp--preset--font-size--large);
	max-width: 34ch;
	margin-top: 1.25rem;
}
.re-hero__actions { margin-top: 2rem; }
.re-btn-xl .wp-block-button__link {
	padding: 1.15rem 2rem;
	font-size: 1.0625rem;
	letter-spacing: 0.04em;
}
.re-hero__img img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 14px;
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}
.re-hero__img { margin: 0; }

/* Photos */
.re-photo { margin: 0; }
.re-photo img {
	display: block;
	width: 100%;
	border-radius: 12px;
	object-fit: cover;
	box-shadow: var(--re-shadow);
}
.re-split { gap: var(--wp--preset--spacing--50); margin-top: var(--wp--preset--spacing--50); }
.re-split--industries { margin-top: 0; }
.re-split__intro .re-photo { margin-top: var(--wp--preset--spacing--40); }
.re-split__intro .re-photo img { aspect-ratio: 4 / 3; }
.re-split__media .re-photo img { aspect-ratio: 16 / 10; }

/* Grids & cards */
.re-grid { margin-top: var(--wp--preset--spacing--40); gap: 1rem; }
.re-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--re-border);
	border-radius: var(--re-radius);
	padding: 1.35rem 1.35rem 1.25rem;
	box-shadow: 0 1px 2px rgba(9, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.re-card:hover { border-color: #b9c2cd; box-shadow: var(--re-shadow); }
.re-card > * { margin: 0; }
.re-card > * + * { margin-top: 0.4rem; }
.re-card .wp-block-heading {
	font-size: 1.0625rem;
	line-height: 1.35;
	letter-spacing: -0.005em;
}
.re-card p { color: var(--re-slate); font-size: 0.95rem; line-height: 1.55; }

.re-ico { padding-top: 4.9rem; }
.re-ico::before,
.re-ico::after {
	content: "";
	position: absolute;
	top: 1.35rem;
	left: 1.35rem;
}
.re-ico::before {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 10px;
	background: #fdecec;
}
.re-ico::after {
	top: calc(1.35rem + 0.5rem);
	left: calc(1.35rem + 0.5rem);
	width: 1.75rem;
	height: 1.75rem;
	background: var(--re-red);
	-webkit-mask: var(--re-icon) center / contain no-repeat;
	mask: var(--re-icon) center / contain no-repeat;
}
.re-ico--touchscreen-tills { --re-icon: url(../icons/touchscreen-tills.svg); }
.re-ico--complete-systems { --re-icon: url(../icons/complete-systems.svg); }
.re-ico--printers { --re-icon: url(../icons/printers.svg); }
.re-ico--barcode-scanners { --re-icon: url(../icons/barcode-scanners.svg); }
.re-ico--cash-drawers { --re-icon: url(../icons/cash-drawers.svg); }
.re-ico--handheld-epos { --re-icon: url(../icons/handheld-epos.svg); }
.re-ico--kiosks { --re-icon: url(../icons/kiosks.svg); }
.re-ico--kitchen-displays { --re-icon: url(../icons/kitchen-displays.svg); }
.re-ico--customer-displays { --re-icon: url(../icons/customer-displays.svg); }
.re-ico--label-printers { --re-icon: url(../icons/label-printers.svg); }
.re-ico--scales { --re-icon: url(../icons/scales.svg); }
.re-ico--connectivity { --re-icon: url(../icons/connectivity.svg); }
.re-ico--accessories { --re-icon: url(../icons/accessories.svg); }
.re-ico--flexible { --re-icon: url(../icons/flexible.svg); }
.re-ico--short-term { --re-icon: url(../icons/short-term.svg); }
.re-ico--leasing { --re-icon: url(../icons/leasing.svg); }
.re-ico--purchase { --re-icon: url(../icons/purchase.svg); }
.re-ico--restaurants { --re-icon: url(../icons/restaurants.svg); }
.re-ico--cafes { --re-icon: url(../icons/cafes.svg); }
.re-ico--retail { --re-icon: url(../icons/retail.svg); }
.re-ico--butchers { --re-icon: url(../icons/butchers.svg); }
.re-ico--hotels { --re-icon: url(../icons/hotels.svg); }
.re-ico--beauty { --re-icon: url(../icons/beauty.svg); }
.re-ico--events { --re-icon: url(../icons/events.svg); }
.re-ico--popups { --re-icon: url(../icons/popups.svg); }
.re-ico--multisite { --re-icon: url(../icons/multisite.svg); }
.re-ico--payments { --re-icon: url(../icons/payments.svg); }
.re-ico--configuration { --re-icon: url(../icons/configuration.svg); }
.re-ico--support { --re-icon: url(../icons/support.svg); }
.re-ico--software { --re-icon: url(../icons/software.svg); }

/* Compact horizontal cards for the industries list on wider screens */
@media (min-width: 600px) {
	.re-grid--industries .re-ico { padding: 1.1rem 1.1rem 1.1rem 4.6rem; }
	.re-grid--industries .re-ico::before { top: 1.1rem; left: 1.1rem; }
	.re-grid--industries .re-ico::after { top: 1.6rem; left: 1.6rem; }
}

/* Callout, notes, "Why" panel */
.re-callout {
	margin-top: var(--wp--preset--spacing--50);
	background: #fff;
	border: 1px solid var(--re-border);
	border-left: 5px solid var(--re-red);
	border-radius: var(--re-radius);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.re-callout p { margin: 0; max-width: 70ch; }
.re-callout .wp-block-buttons { margin: 0; }
@media (min-width: 900px) {
	.re-callout { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.75rem 2rem; }
	.re-callout .wp-block-buttons { flex-shrink: 0; }
}
.re-section:not(.re-section--grey) .re-callout { background: var(--re-grey); }

.re-note {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: 1rem;
	border-top: 1px solid var(--re-border);
	color: var(--re-slate);
	font-size: 0.95rem;
}

.re-why {
	margin-top: var(--wp--preset--spacing--50);
	background: var(--re-navy);
	color: #fff;
	border-radius: 14px;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-bottom: 6px solid var(--re-red);
}
.re-why .wp-block-heading { color: #fff; margin: 0; }
.re-why p { margin: 0.75rem 0 0; font-size: var(--wp--preset--font-size--large); line-height: 1.6; color: #e6ebf2; max-width: 70ch; }

/* How it works — steps on navy */
.re-grid--steps { counter-reset: none; }
.re-step {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--re-radius);
	padding: 1.35rem;
}
.re-step > * { margin: 0; }
.re-step > * + * { margin-top: 0.5rem; }
.re-step .wp-block-heading { font-size: 1.0625rem; line-height: 1.35; }
.re-step p { color: #d4dbe5; font-size: 0.95rem; line-height: 1.55; }
.re-step__n {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	margin-bottom: 0.85rem;
	border-radius: 50%;
	background: var(--re-red);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
}
.re-section--navy .wp-block-buttons { margin-top: var(--wp--preset--spacing--50); }

/* FAQ accordion (core/details) */
.re-faq {
	background: #fff;
	border: 1px solid var(--re-border) !important;
	border-radius: 8px;
	margin-top: 0.75rem !important;
}
.re-faq summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 1.1rem 3.5rem 1.1rem 1.25rem;
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.4;
	color: var(--re-navy);
}
.re-faq summary::-webkit-details-marker { display: none; }
.re-faq summary::after {
	content: "";
	position: absolute;
	right: 1.25rem;
	top: 50%;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: -0.75rem;
	border-radius: 50%;
	background:
		linear-gradient(var(--re-red), var(--re-red)) center / 10px 2px no-repeat,
		linear-gradient(var(--re-red), var(--re-red)) center / 2px 10px no-repeat,
		#fdecec;
	transition: transform 0.2s ease;
}
.re-faq[open] summary::after {
	background:
		linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
		var(--re-red);
}
.re-faq summary:hover { color: var(--re-red-dark); }
.re-faq > p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--re-slate); }

/* --------------------------------------------------------------------------
   Enquiry form
   -------------------------------------------------------------------------- */
.re-form,
.re-form-result {
	margin-top: var(--wp--preset--spacing--40);
	background: #fff;
	border: 1px solid var(--re-border);
	border-radius: 14px;
	padding: clamp(1.25rem, 4vw, 2.5rem);
	box-shadow: var(--re-shadow);
}
.re-form__note { margin: 0 0 1rem; font-size: 0.9rem; color: var(--re-slate); }
.re-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.re-fieldset + .re-fieldset { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--re-grey); }
.re-fieldset > legend {
	float: left; /* keeps the legend inside the fieldset instead of on its top border */
	width: 100%;
	padding: 0;
	margin-bottom: 0.85rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--re-navy);
}
.re-fieldset > legend + * { clear: both; }
.re-field { margin-top: 1rem; }
.re-field:first-child { margin-top: 0; }
.re-field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }
.re-req { color: var(--re-red); }
.re-opt { font-weight: 400; color: var(--re-slate); font-size: 0.875rem; }
.re-field__hint { margin: -0.15rem 0 0.45rem; font-size: 0.875rem; color: var(--re-slate); }
.re-field__error { margin: 0 0 0.4rem; color: var(--re-error); font-weight: 600; font-size: 0.9rem; }

.re-form input[type="text"],
.re-form input[type="email"],
.re-form input[type="tel"],
.re-form input[type="number"],
.re-form input[type="date"],
.re-form textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.85rem;
	border: 2px solid var(--re-input-border);
	border-radius: 6px;
	background: #fff;
	color: var(--re-navy);
	font: inherit;
	font-size: 1rem;
	line-height: 1.4;
}
.re-form textarea { min-height: 7rem; resize: vertical; }
.re-form input:focus,
.re-form textarea:focus { border-color: var(--re-navy); outline: 3px solid var(--re-red); outline-offset: 1px; }
.re-form input[type="file"] {
	display: block;
	width: 100%;
	padding: 0.65rem;
	border: 2px dashed var(--re-input-border);
	border-radius: 6px;
	background: var(--re-grey);
	font: inherit;
	font-size: 0.95rem;
	box-sizing: border-box;
}
.re-field--short input { max-width: 14rem; }
.re-field--error input,
.re-field--error textarea,
.re-form [aria-invalid="true"] { border-color: var(--re-error) !important; }
.re-field--error { border-left: 4px solid var(--re-error); padding-left: 0.85rem; }
.re-choices.re-field--error { padding-left: 0.85rem; }

.re-grid-2,
.re-grid-3 { display: grid; gap: 1rem 1.25rem; }
.re-grid-2 > .re-field,
.re-grid-3 > .re-field { margin-top: 0; }
@media (min-width: 640px) { .re-grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .re-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.re-choices__grid { display: grid; gap: 0.5rem 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .re-choices__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .re-choices__grid { grid-template-columns: repeat(3, 1fr); } }
.re-choice { display: flex; align-items: flex-start; gap: 0.65rem; }
.re-choice input {
	flex-shrink: 0;
	width: 1.3rem;
	height: 1.3rem;
	margin: 0.15rem 0 0;
	accent-color: var(--re-red);
	cursor: pointer;
}
.re-choice label { font-weight: 400; font-size: 0.975rem; line-height: 1.45; cursor: pointer; }
.re-choice--single { margin-top: 1rem; flex-wrap: wrap; }
.re-choice--single .re-field__error { flex-basis: 100%; }
.re-choice--single label { flex: 1; }

/* Google reCAPTCHA (only rendered when keys are configured). Space is reserved to avoid layout shift. */
.re-recaptcha { margin-top: 1.75rem; }
.re-recaptcha--v2 { padding-top: 1.75rem; border-top: 1px solid var(--re-grey); }
.re-recaptcha--v2.re-field--error { padding-left: 0.85rem; }
.re-recaptcha:focus { outline: none; }
.re-recaptcha:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.re-recaptcha__widget { max-width: 100%; }
.re-recaptcha--v2 .re-recaptcha__widget { min-height: 78px; }
.re-recaptcha--v2 .re-recaptcha__widget--compact { min-height: 144px; }
.re-recaptcha--v3 .re-recaptcha__widget:empty { min-height: 60px; }
.re-recaptcha .re-recaptcha__js-error,
.re-recaptcha noscript .re-field__error { margin-top: 0.4rem; }
.re-recaptcha + .re-form__submit { margin-top: 1.5rem; }
.re-form__submit { margin-top: 2rem; }
.re-form__submit .wp-block-button__link {
	border: 0;
	cursor: pointer;
	width: 100%;
	padding: 1.1rem 2rem;
	font-size: 1.0625rem;
}
@media (min-width: 640px) { .re-form__submit .wp-block-button__link { width: auto; } }
.re-form__submit .wp-block-button__link[disabled] { opacity: 0.7; cursor: progress; }

.re-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.re-error-summary {
	border: 4px solid var(--re-error);
	border-radius: 8px;
	padding: 1.1rem 1.25rem;
	margin-bottom: 1.5rem;
}
.re-error-summary:focus { outline: 3px solid var(--re-navy); outline-offset: 2px; }
.re-error-summary h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.re-error-summary ul { margin: 0; padding-left: 1.1rem; }
.re-error-summary a { color: var(--re-error); font-weight: 600; }

.re-form-result { border-left: 6px solid #1d7a3a; }
.re-form-result:focus { outline: 3px solid var(--re-navy); outline-offset: 2px; }
.re-form-result h3 { margin-top: 0; }

/* --------------------------------------------------------------------------
   Legal / generic pages
   -------------------------------------------------------------------------- */
.re-page {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--60);
}
.re-page .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--30); }
.re-page h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 2rem; }
.re-draft-notice {
	background: #fff4d6;
	border: 1px solid #e8d49a;
	border-left: 5px solid #c79a00;
	border-radius: 8px;
	padding: 1rem 1.25rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.re-site-footer { background: var(--re-navy); color: #dfe5ee; }
.re-footer { max-width: 1200px; margin: 0 auto; padding: var(--wp--preset--spacing--60) 1rem 1.5rem; box-sizing: border-box; font-size: 0.95rem; }
.re-footer a { color: #fff; }
.re-footer a:hover { color: #fff; text-decoration-thickness: 2px; }
.re-footer__inner { display: grid; gap: 2rem; }
@media (min-width: 800px) { .re-footer__inner { grid-template-columns: 2fr 1.2fr 1fr; } }
.re-footer__tagline { margin: 0; font-size: 1.0625rem; color: #fff; max-width: 34ch; line-height: 1.5; }
.re-footer__tagline strong { font-weight: 800; letter-spacing: 0.02em; }
.re-footer__heading { margin: 0 0 0.75rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.re-footer__list { list-style: none; margin: 0; padding: 0; }
.re-footer__list li + li { margin-top: 0.45rem; }
.re-footer__address { margin-top: 0.75rem; font-style: normal; line-height: 1.6; }
.re-footer__bottom {
	margin-top: var(--wp--preset--spacing--50);
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.85rem;
	color: #c3ccd8;
}
.re-footer__bottom p { margin: 0; }

/* --------------------------------------------------------------------------
   Consent banner (only rendered when a GA4 ID is configured)
   -------------------------------------------------------------------------- */
.re-consent {
	position: fixed;
	z-index: 200;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	max-width: 640px;
	margin: 0 auto;
	background: #fff;
	color: var(--re-navy);
	border: 1px solid var(--re-border);
	border-radius: 12px;
	padding: 1.25rem;
	box-shadow: 0 16px 40px rgba(9, 23, 42, 0.25);
	font-size: 0.95rem;
}
.re-consent[hidden] { display: none; }
.re-consent p { margin: 0 0 1rem; }
.re-consent__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.re-btn {
	flex: 1 1 12rem;
	min-height: 44px;
	padding: 0.7rem 1rem;
	border: 2px solid var(--re-navy);
	border-radius: 6px;
	background: var(--re-navy);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Larger screens
   -------------------------------------------------------------------------- */
@media (min-width: 782px) {
	:root { --re-header-h: 4.75rem; }
	.re-section--hero { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
}
