/* =========================================================================
   Brúnir Horse – site styles (child theme of Kadence)
   Values follow design-reference.md (measured from the old Avada site).
   Our own CSS – no Avada code.
   ========================================================================= */

:root {
	--bh-gold: #c0996b;          /* primary accent */
	--bh-gold-dark: #ab8b65;     /* active menu item, hover */
	--bh-gold-line: #ae895d;     /* separators, h4, icons */
	--bh-bg: #313539;            /* page / content background */
	--bh-bg-header: #292c30;     /* side header, title bar */
	--bh-bg-alt: #3a3f44;        /* lighter band, footer */
	--bh-bg-deep: #24292d;       /* darker band, sub menu */
	--bh-text: #aaa9a9;
	--bh-text-muted: #8c8989;
	--bh-white: #ffffff;
	--bh-head-font: 'Unica One', Arial, Helvetica, sans-serif;
	--bh-body-font: 'Vollkorn', Georgia, 'Times New Roman', serif;
	--bh-side-width: 320px;
	--bh-gutter: 40px;           /* content side padding (old "100% width padding") */
}

/* ---------- Base ---------------------------------------------------------- */
html { scrollbar-color: #fdfdfd #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background-color: #000; }
::-webkit-scrollbar-thumb { background-color: #fdfdfd; }

body,
body.content-style-unboxed .site {
	background: var(--bh-bg);
	color: var(--bh-text);
	font-family: var(--bh-body-font);
	font-size: 15px;
	line-height: 2;
	font-weight: 400;
}
.site, #inner-wrap, .content-bg, .site-main, body.content-style-unboxed .content-bg { background: var(--bh-bg); }

a { color: var(--bh-white); text-decoration: none; }
a:hover, a:focus { color: var(--bh-gold); }
.entry-content a:not(.wp-block-button__link):hover { text-decoration: underline; }

p { margin: 0 0 20px; }

h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3,
.entry-content h4, .entry-content h5, .entry-content h6 {
	font-family: var(--bh-head-font);
	font-weight: 400;
	text-transform: uppercase;
	color: var(--bh-white);
	letter-spacing: 0;
}
h6 { text-transform: none; }
h1 { font-size: 60px; line-height: 1.41; margin: .67em 0; }
h2 { font-size: 35px; line-height: 1.07; margin: 0 0 .25em; }
h3 { font-size: 36px; line-height: 1.33; margin: 0; }
h4, .entry-content h4 { font-size: 18px; line-height: 1.33; margin: 0; color: var(--bh-gold-line); }
h5 { font-size: 15px; line-height: 1.2; margin: 0 0 .35em; }
h6 { font-size: 11px; line-height: 1.55; margin: 0 0 .35em; }

/* Responsive headings (the old site scaled big type down on small screens). */
@media (max-width: 1100px) {
	h1 { font-size: clamp(41px, 4.6vw, 60px); }
	h2 { font-size: clamp(28px, 3.2vw, 35px); }
	h3 { font-size: clamp(27px, 3.3vw, 36px); }
}

/* Heading margins inside content, as the old typography settings */
body .entry-content h1 { margin: .67em 0; }
body .entry-content h2 { margin: 0 0 .25em; }
body .entry-content h3, body .entry-content h4 { margin: 0; }
body .entry-content h5, body .entry-content h6 { margin: 0 0 .35em; }

img { max-width: 100%; height: auto; }

.screen-reader-text:not(:focus) {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px; width: 1px; overflow: hidden;
}

/* ---------- Side header (≥ 769px) ---------------------------------------- */
.bh-side-header {
	background: var(--bh-bg-header);
	color: var(--bh-white);
	z-index: 100;
}
.bh-icon {
	display: inline-block;
	width: 1em; height: 1em;
	background: currentColor;
	-webkit-mask: var(--bh-icon) center / contain no-repeat;
	mask: var(--bh-icon) center / contain no-repeat;
	vertical-align: middle;
}
.bh-icon--bars { --bh-icon: url(../icons/bars.svg); }

.bh-menu { list-style: none; margin: 0; padding: 0; }
.bh-menu a { display: block; text-decoration: none; }

@media (min-width: 769px) {
	/* Kadence's #wrapper clips overflow, so the header lives inside its padding. */
	#wrapper { padding-left: var(--bh-side-width); position: relative; }
	/* The dark column runs the full page height; its content sticks while
	   scrolling (site.js lets a tall menu scroll until its end is visible). */
	.bh-side-header {
		position: absolute;
		top: 0; left: 0; bottom: 0;
		width: var(--bh-side-width);
	}
	.bh-side-header__sticky { position: sticky; top: 0; }
	body.admin-bar .bh-side-header__sticky { top: 32px; }
	.bh-side-header__bar { padding: 65px 55px; }
	.bh-logo { display: block; }
	.bh-logo__main { display: block; width: 210px; height: auto; margin: 0 auto; }
	.bh-logo__mobile, .bh-menu-toggle { display: none !important; }

	.bh-menu > li > a {
		font-family: var(--bh-head-font);
		font-size: 18px;
		letter-spacing: 2px;
		text-transform: uppercase;
		color: var(--bh-white);
		line-height: 54px;
		padding: 0 55px;
		border-bottom: 1px solid var(--bh-bg);
		transition: color .2s ease;
	}
	.bh-menu > li:first-child > a { border-top: 1px solid var(--bh-bg); }
	.bh-menu > li > a:hover,
	.bh-menu > li > a:focus { color: var(--bh-gold-dark); }
	.bh-menu > li.current-menu-item > a,
	.bh-menu > li.current-menu-ancestor > a {
		color: var(--bh-gold-dark);
		box-shadow: inset -3px 0 0 var(--bh-gold-dark);
	}
	/* Sub menus fly out to the right */
	.bh-menu li { position: relative; }
	.bh-menu .sub-menu {
		list-style: none; margin: 0; padding: 0;
		position: absolute; left: 100%; top: 0; min-width: 180px;
		background: var(--bh-bg-deep);
		display: none;
	}
	.bh-menu li:hover > .sub-menu, .bh-menu li:focus-within > .sub-menu { display: block; }
	.bh-menu .sub-menu a { color: #d6d6d6; font-size: 13px; padding: 7px 20px; border-bottom: 1px solid #313030; }

	/* "Buy ticket" menu item styled as the old outlined button with an icon cell */
	.bh-menu > li.bh-menu-button { padding: 26px 55px 30px; }
	.bh-menu > li.bh-menu-button > a {
		position: relative;
		border: 1px solid var(--bh-white);
		border-radius: 2px;
		font-size: 13px;
		letter-spacing: 0;
		line-height: 16px;
		padding: 11px 23px 11px 54px;
		text-align: center;
		box-shadow: none !important;
	}
	.bh-menu > li.bh-menu-button > a::before {
		content: '';
		position: absolute; left: 0; top: 0; bottom: 0; width: 32px;
		border-right: 1px solid var(--bh-white);
		background: currentColor;
		-webkit-mask: url(../icons/ticket.svg) center / 13px no-repeat;
		mask: url(../icons/ticket.svg) center / 13px no-repeat;
	}
	.bh-menu > li.bh-menu-button > a::after {
		content: ''; position: absolute; left: 32px; top: 0; bottom: 0; border-left: 1px solid var(--bh-white);
	}
	.bh-menu > li.bh-menu-button > a:hover,
	.bh-menu > li.bh-menu-button.current-menu-item > a { background: rgba(255,255,255,.05); color: var(--bh-white); }
}

/* ---------- Mobile top bar (≤ 768px) ------------------------------------- */
@media (max-width: 768px) {
	.bh-side-header { position: relative; }
	.bh-side-header__bar {
		display: flex; align-items: center; justify-content: space-between;
		padding: 20px 30px;
		min-height: 115px;
	}
	.bh-logo__main { display: none !important; }
	.bh-logo__mobile { display: block; width: auto; height: 75px; max-width: 250px; object-fit: contain; }
	.bh-menu-toggle {
		background: none; border: 0; padding: 4px; cursor: pointer;
		color: var(--bh-gold-line); font-size: 21px; line-height: 1;
	}
	.bh-menu-toggle:hover, .bh-menu-toggle:focus { background: none; color: var(--bh-gold); }
	.bh-menu-toggle[aria-expanded="true"] .bh-icon--bars { --bh-icon: url(../icons/xmark.svg); }
	.bh-nav { display: none; background: var(--bh-bg-deep); }
	.bh-nav.is-open { display: block; }
	.bh-menu a {
		font-family: var(--bh-body-font);
		font-size: 15px;
		line-height: 55px;
		text-align: center;
		color: var(--bh-white);
		border-top: 1px solid #212122;
		padding: 0 30px;
	}
	.bh-menu a:hover { background: rgba(255,255,255,.05); color: var(--bh-white); }
	.bh-menu .current-menu-item > a { color: var(--bh-gold-dark); }
	.bh-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
	.bh-menu .sub-menu a { font-size: 14px; }
}

/* ---------- Kadence layout resets ---------------------------------------- */
.site-container, .content-container.site-container { max-width: none; padding-left: 0; padding-right: 0; }
.content-area { margin: 0; }
.entry.single-entry, .entry-content-wrap { box-shadow: none; background: transparent; padding: 0; }
.entry-content { margin: 0; }
/* Full-width page sections sit flush against each other. */
.entry-content > *, .bh-no-title .entry-content > * { margin-top: 0 !important; margin-bottom: 0 !important; }
/* Core adds padding to groups with a background; ours set their own. */
.entry-content .wp-block-group.bh-section.has-background { padding-top: 0; padding-bottom: 0; }
.entry-content .bh-section { padding-left: var(--bh-gutter); padding-right: var(--bh-gutter); }
.entry-content .bh-section.bh-full { padding-left: 0; padding-right: 0; }
.entry-content > .alignfull { margin-left: 0 !important; margin-right: 0 !important; width: 100%; max-width: none; }

/* ---------- Title bar (pages with a title, posts, archives) -------------- */
.entry-hero.page-hero-section .entry-header,
.entry-hero.post-hero-section .entry-header,
.entry-hero .entry-header { min-height: 325px; }
.entry-hero,
.entry-hero .entry-hero-container-inner {
	background: var(--bh-bg-header) !important;
	border: 0;
}
.entry-hero .hero-section-overlay { display: none; }
.entry-hero .entry-header {
	display: flex; flex-direction: column; justify-content: center; align-items: center;
	text-align: center;
	padding: 20px 30px;
}
.entry-hero .entry-title, .entry-hero .archive-title, .entry-hero .page-title h1 {
	font-family: var(--bh-head-font);
	font-size: 50px;
	line-height: 1.41;
	color: var(--bh-white);
	text-transform: uppercase;
	margin: 0;
}
.kadence-breadcrumbs, .entry-hero .kadence-breadcrumbs {
	font-family: var(--bh-body-font);
	font-size: 14px;
	line-height: 28px;
	color: var(--bh-white);
	margin: 0;
	order: 2;
}
.kadence-breadcrumbs a { color: var(--bh-white); }
.kadence-breadcrumbs a:hover { color: var(--bh-gold); }
.kadence-breadcrumbs .bc-delimiter, .bh-crumb-sep { padding: 0 6px; }
@media (max-width: 768px) {
	.entry-hero .entry-header { min-height: 150px; }
	.entry-hero .entry-title, .entry-hero .archive-title { font-size: 30px; }
}

/* ---------- Single posts / simple pages ----------------------------------- */
body.single-post .entry.single-entry > .entry-content-wrap,
body.page:not(.bh-no-title) .entry.single-entry > .entry-content-wrap { padding: 65px 30px 55px; }
body.page.has-post-thumbnail:not(.bh-no-title) .entry.single-entry > .entry-content-wrap { padding-top: 0; }
/* Featured image on simple pages: full content width, natural proportions */
body.page .post-thumbnail, body.single-post .post-thumbnail { padding: 65px 30px 40px; margin: 0; height: auto !important; }
body.page .post-thumbnail .post-thumbnail-inner, body.single-post .post-thumbnail .post-thumbnail-inner { position: static; padding: 0 !important; height: auto !important; }
body.page .post-thumbnail img, body.single-post .post-thumbnail img { position: static; width: 100%; height: auto !important; max-height: none; margin: 0; object-fit: initial; }
body.single-post.has-post-thumbnail .entry.single-entry > .entry-content-wrap { padding-top: 0; }
/* Galleries keep their grid; the last odd image does not stretch */
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image { flex-grow: 0; }
/* Line titles: "RELATED POSTS ----", "LEAVE A COMMENT ----" */
.bh-line-title, .comment-reply-title {
	font-family: var(--bh-head-font); font-size: 30px; line-height: 1.5; font-weight: 400;
	color: #fff; text-transform: uppercase; display: flex; align-items: center; gap: 0; margin: 0 0 20px;
}
.bh-line-title > span, .comment-reply-title > span { padding-right: 8px; }
.bh-line-title::after, .comment-reply-title::after { content: ''; flex: 1; border-bottom: 1px solid var(--bh-gold-line); }
.comment-reply-title small { margin-left: 10px; font-size: 13px; }

/* Share bar */
.bh-share {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	background: var(--bh-bg-header); padding: 20px; margin: 60px 0 0;
}
.bh-share__title { font-family: var(--bh-head-font); font-size: 18px; line-height: 30px; color: #fff; text-transform: uppercase; margin: 0; }
.bh-share__links { display: flex; gap: 8px; }
.bh-share__link { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: #3b4045; color: #9aa0a6; border-radius: 50%; font-size: 15px; }
.bh-share__link:hover { color: #fff; background: var(--bh-gold-dark); }
.bh-ico--facebook { --bh-icon: url(../icons/facebook.svg); }

/* Related posts carousel: 3 visible, 7px apart, image 300x230 crop */
.bh-related { margin: 55px 0 0; }
.bh-carousel-js { position: relative; }
.bh-carousel-js__track {
	display: flex; gap: 7px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
}
.bh-carousel-js__track::-webkit-scrollbar { display: none; }
.bh-related__item { flex: 0 0 calc((100% - 14px) / 3); scroll-snap-align: start; min-width: 0; }
.bh-related__image { display: block; aspect-ratio: 300 / 230; overflow: hidden; background: #2e3135; }
.bh-related__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.bh-related__image:hover img { transform: scale(1.04); }
.bh-related__title { font-family: var(--bh-head-font); font-size: 18px; line-height: 1.33; text-transform: uppercase; margin: 15px 0 3px; }
.bh-related__title a { color: var(--bh-gold-line); }
.bh-related__title a:hover { color: #fff; }
.bh-related__meta { font-size: 14px; line-height: 21px; margin: 0; }
.bh-related__meta a { color: var(--bh-text); }
.bh-related__meta .sep { padding: 0 4px; }
.bh-carousel-js__nav {
	position: absolute; top: calc((100% - 70px) / 2 - 15px); z-index: 2;
	width: 30px; height: 30px; padding: 0; border: 0; cursor: pointer;
	background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center;
}
.bh-carousel-js__nav:hover, .bh-carousel-js__nav:focus { background: rgba(0,0,0,.8); color: #fff; }
.bh-carousel-js__nav .bh-ico { width: 12px; height: 12px; }
.bh-carousel-js__nav--prev { left: 0; }
.bh-carousel-js__nav--next { right: 0; }
.bh-carousel-js.is-static .bh-carousel-js__nav { display: none; }
@media (max-width: 768px) { .bh-related__item { flex-basis: 80%; } }

/* Comments */
.comments-area { padding: 0 30px 55px !important; margin: 40px 0 0; }
.comment-respond { margin: 0; }
.comment-form { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 10px; }
.comment-form > p { margin: 0 0 10px; }
.comment-form .comment-form-comment, .comment-form .comment-form-cookies-consent, .comment-form .form-submit, .comment-form .logged-in-as, .comment-form .comment-notes { grid-column: 1 / -1; }
.comment-form textarea { height: 150px; width: 100%; font-size: 13px; padding: 12px 15px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"] { width: 100%; height: 50px; font-size: 13px; padding: 0 15px; }
.comment-form .comment-form-cookies-consent { font-size: 13px; display: flex; gap: 8px; align-items: center; }
.comment-form .form-submit { margin-top: 10px; }
.comment-form .submit { width: 100%; font-size: 18px !important; line-height: 21px !important; padding: 17px 40px !important; }
.comment-notes, .logged-in-as { font-size: 13px; }
@media (max-width: 768px) { .comment-form { grid-template-columns: 1fr; } }

.single-post .entry-content > *:not(.alignfull),
.page:not(.bh-no-title) .entry-content > *:not(.alignfull) { margin-bottom: 20px; }
.bh-post-heading { font-size: 30px; line-height: 1.33; margin: 0 0 28px; }
.entry-content .wp-block-image, .entry-content figure { margin-bottom: 20px; }
.wp-block-gallery.has-nested-images { gap: 10px; }

/* Static link-preview card (replaces a WordPress auto-embed) */
.entry-content .bh-linkcard {
	max-width: 600px; background: #fff; color: #50575e; padding: 25px; border: 1px solid #dcdcde;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px; line-height: 1.5; box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.entry-content .bh-linkcard .bh-linkcard__image { margin: 0 0 20px; }
.entry-content .bh-linkcard .bh-linkcard__image img { width: 100%; height: auto; display: block; }
.entry-content .bh-linkcard .bh-linkcard__title { font-family: inherit; text-transform: none; font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0 0 12px; color: #1d2327; }
.entry-content .bh-linkcard .bh-linkcard__title a { color: #1d2327; }
.entry-content .bh-linkcard .bh-linkcard__excerpt { color: #50575e; margin: 0 0 20px; }
.entry-content .bh-linkcard .bh-linkcard__excerpt a { color: #2271b1; text-decoration: underline; }
.entry-content .bh-linkcard .bh-linkcard__site { font-weight: 600; color: #50575e; margin: 0; }

/* Form fields: same dark look */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="date"], input[type="number"], textarea, select {
	background: #2e3135;
	border: 1px solid #2e3135;
	border-radius: 0;
	color: var(--bh-text);
	font-family: var(--bh-body-font);
	font-size: 15px;
	padding: 8px 15px;
	box-shadow: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--bh-gold-line); outline: none; }

/* ---------- Buttons (outlined, like the old site) ------------------------- */
.wp-block-button__link, .wp-element-button, button.wpcf7-submit, input[type="submit"], .button, .comment-form .submit {
	background: transparent !important;
	color: var(--bh-white) !important;
	border: 1px solid var(--bh-white);
	border-radius: 2px;
	font-family: var(--bh-head-font);
	font-size: 13px;
	line-height: 16px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0;
	padding: 11px 23px;
	box-shadow: none !important;
	transition: background-color .2s ease, border-color .2s ease;
}
.wp-block-button__link:hover, .wp-element-button:hover, button.wpcf7-submit:hover, input[type="submit"]:hover, .comment-form .submit:hover {
	background: rgba(255,255,255,.05) !important;
	border-color: rgba(255,255,255,.9);
	color: var(--bh-white) !important;
}
/* Content buttons use the old "XLarge" size */
.entry-content .wp-block-button__link,
.wp-block-button.is-style-bh-large .wp-block-button__link { font-size: 18px; line-height: 21px; padding: 17px 40px; }
.wp-block-buttons { margin-bottom: 20px; }
.wp-block-button.wp-block-button__width-100 { width: 100%; }
.wp-block-button.wp-block-button__width-100 .wp-block-button__link { width: 100%; }

/* ---------- Separators (short gold line) --------------------------------- */
.wp-block-separator,
.entry-content .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--bh-gold-line);
	width: 170px;
	max-width: 170px;
	margin: 20px auto 40px;
	opacity: 1;
	background: none;
}
.entry-content .wp-block-separator.bh-sep-left { margin-left: 0; margin-right: auto; }
.wp-block-separator.bh-sep-dark { border-top-color: #45494e; }
.wp-block-separator.bh-sep-hidden { border-top-color: transparent; }

/* ---------- Sections and columns (converted Avada containers) ----------- */
.bh-section { padding-left: var(--bh-gutter); padding-right: var(--bh-gutter); }
.bh-section.bh-full { padding-left: 0; padding-right: 0; }
.bh-section > .wp-block-columns,
.entry-content .bh-section .wp-block-columns { margin: 0; gap: 0; }
.bh-section .wp-block-columns.bh-gap { gap: 4%; }
.entry-content .bh-section .wp-block-column { margin-bottom: 20px; }   /* old column bottom margin */
.entry-content .bh-section .wp-block-column.bh-mb0,
.entry-content .bh-section .wp-block-column.bh-imgcol { margin-bottom: 0; }

/* Column that only shows a background photo (old "column background image") */
.wp-block-column.bh-imgcol { display: flex; flex-direction: column; align-self: stretch; }
.wp-block-column.bh-imgcol > .wp-block-cover { flex: 1 1 auto; min-height: 400px; height: 100%; margin: 0; padding: 0; }
@media (max-width: 781px) {
	.wp-block-column.bh-imgcol > .wp-block-cover { min-height: 300px; }
}

/* Headings inside sections (old "title" element: size 2, centred, uppercase) */
.bh-title { font-size: 30px; line-height: 1.33; margin: 0 0 20px; }
.entry-content h1.bh-title { font-size: 60px; line-height: 1.41; margin: .67em 0; }
@media (max-width: 1100px) { .entry-content h1.bh-title { font-size: clamp(41px, 4.6vw, 60px); } }
.entry-content .bh-title + .wp-block-separator { margin-top: 30px; }

/* ---------- Icon boxes (old "content boxes") ----------------------------- */
.bh-iconbox { text-align: center; }
.bh-iconbox--clean { padding: 30px 0 53px; }
.bh-iconbox--top { padding: 60px 12px 87px; }
.bh-iconbox p { overflow-wrap: anywhere; }
.bh-iconbox p { color: #747474; }
.bh-iconbox p a { color: var(--bh-white); }
.bh-iconbox .bh-iconbox__icon { display: block; margin: 0 auto 15px; color: var(--bh-gold-line); font-size: 35px; line-height: 1; }
.bh-iconbox .bh-iconbox__icon img { width: 70px; height: auto; display: inline-block; }
.bh-iconbox .bh-iconbox__icon.is-img-35 img { width: 35px; }
.bh-iconbox h2, .bh-iconbox h3, .bh-iconbox .bh-iconbox__title {
	font-family: var(--bh-head-font);
	font-size: 18px;
	line-height: 1.28;
	margin: 0 0 10px;
	color: var(--bh-white);
}
.bh-iconbox p { margin: 0 0 10px; }
.bh-iconbox .bh-more { color: var(--bh-white); font-weight: 400; }
.bh-iconbox .bh-more::after { content: ' ›'; }
.bh-ico { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--bh-icon) center / contain no-repeat; mask: var(--bh-icon) center / contain no-repeat; }
.bh-ico--envelope  { --bh-icon: url(../icons/envelope.svg); }
.bh-ico--comments  { --bh-icon: url(../icons/comments.svg); }
.bh-ico--thumbtack { --bh-icon: url(../icons/thumbtack.svg); }
.bh-ico--clock     { --bh-icon: url(../icons/clock.svg); }
.bh-ico--phone     { --bh-icon: url(../icons/phone.svg); }
.bh-ico--ticket    { --bh-icon: url(../icons/ticket.svg); }

/* ---------- Footer copyright bar ----------------------------------------- */
.bh-footer { background: var(--bh-bg-alt); }
.bh-footer__copyright {
	padding: 15px 30px 40px 72px;
	font-family: var(--bh-body-font);
	font-size: 13px;
	line-height: 26px;
	color: var(--bh-text-muted);
	border-top: 1px solid var(--bh-bg-alt);
}
@media (max-width: 768px) {
	.bh-footer__copyright { padding: 15px 30px 40px; }
}

/* ---------- Front page hero slider --------------------------------------- */
.bh-hero-slider {
	position: relative;
	height: 100vh;
	min-height: 480px;
	overflow: hidden;
	background: #000;
	padding: 0 !important;
}
body.admin-bar .bh-hero-slider { height: calc(100vh - 32px); }
.bh-hero-slider > .wp-block-cover,
.bh-hero-slider > .wp-block-group__inner-container > .wp-block-cover {
	position: absolute; inset: 0;
	min-height: 0 !important; height: 100%;
	margin: 0 !important;
	opacity: 0;
	transition: opacity .6s ease;
	z-index: 0;
}
.bh-hero-slider .wp-block-cover.is-active { opacity: 1; z-index: 1; }
.bh-hero-slider.no-js > .wp-block-cover:first-child { opacity: 1; }
.bh-hero-slider .wp-block-cover__inner-container { text-align: center; max-width: 900px; }
.bh-hero-slider .wp-block-cover h2 { font-size: 60px; line-height: 1.33; margin: 0 0 10px; }
.bh-hero-slider .wp-block-cover h3,
.bh-hero-slider .wp-block-cover .bh-caption { font-family: var(--bh-head-font); font-size: 24px; line-height: 1.58; text-transform: uppercase; color: var(--bh-white); margin: 0 0 30px; }
.bh-hero-slider .wp-block-buttons { justify-content: center; }
.bh-slider-nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 5;
	width: 63px; height: 63px;
	border: 0; padding: 0;
	background: rgba(0,0,0,.2);
	color: #fff; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.bh-slider-nav:hover, .bh-slider-nav:focus { background: rgba(0,0,0,.45); color: #fff; }
.bh-slider-nav--prev { left: 0; }
.bh-slider-nav--next { right: 0; }
.bh-slider-nav .bh-ico { width: 25px; height: 25px; }
.bh-ico--prev { --bh-icon: url(../icons/chevron-left.svg); }
.bh-ico--next { --bh-icon: url(../icons/chevron-right.svg); }
.bh-slider-dots { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.bh-slider-dots button {
	width: 12px; height: 12px; padding: 0; border-radius: 50%;
	border: 0; background: rgba(255,255,255,.6); cursor: pointer;
}
.bh-slider-dots button[aria-current="true"] { background: #fff; }
@media (max-width: 768px) {
	.bh-hero-slider, body.admin-bar .bh-hero-slider { height: calc(100vh - 115px); min-height: 420px; }
	.bh-hero-slider .wp-block-cover h2 { font-size: 25px; }
	.bh-hero-slider .wp-block-cover h3, .bh-hero-slider .wp-block-cover .bh-caption { font-size: 22px; }
	.bh-slider-nav { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
	.bh-hero-slider .wp-block-cover { transition: none; }
}

/* ---------- Image carousels / galleries ----------------------------------- */
/* Old "image carousel": a strip of small photos (115px high), scrolls sideways. */
.entry-content .bh-carousel.wp-block-gallery.has-nested-images {
	flex-wrap: nowrap; gap: 13px; overflow-x: auto; scroll-snap-type: x mandatory;
	scrollbar-width: thin; padding: 8px 0; margin: 0 0 20px;
}
.entry-content .bh-carousel.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	flex: 0 0 calc((100% - 39px) / 4); width: auto; height: 115px; margin: 0;
	scroll-snap-align: start; display: flex; justify-content: center; background: transparent;
}
.entry-content .bh-carousel.bh-cols-5.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-basis: calc((100% - 52px) / 5); }
.entry-content .bh-carousel.wp-block-gallery.has-nested-images figure.wp-block-image img { height: 115px !important; width: 182px !important; max-width: 100%; object-fit: cover; flex: 0 0 auto !important; margin: 0 auto; }
@media (max-width: 781px) {
	.entry-content .bh-carousel.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-basis: 45%; }
}
/* Old "gallery" grid: fixed-size crops with a 3px gap */
.entry-content .bh-gallery.wp-block-gallery.has-nested-images { gap: 3px; margin: 0 0 20px; }
.entry-content .bh-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
	width: calc((100% - 3px * (var(--bh-cols, 5) - 1)) / var(--bh-cols, 5)); margin: 0; aspect-ratio: 212 / 135;
}
.entry-content .bh-gallery.columns-2 { --bh-cols: 2; }
.entry-content .bh-gallery.columns-3 { --bh-cols: 3; }
.entry-content .bh-gallery.columns-4 { --bh-cols: 4; }
.entry-content .bh-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 781px) {
	.entry-content .bh-gallery { --bh-cols: 1 !important; }
	.entry-content .bh-gallery.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { aspect-ratio: auto; }
}

/* ---------- Embeds ------------------------------------------------------- */
.wp-block-embed { margin: 0 auto 20px; }
.wp-block-embed.is-type-video { max-width: 600px; }
.bh-map iframe { display: block; width: 100%; height: 700px; border: 0; filter: grayscale(.5); }
@media (max-width: 768px) { .bh-map iframe { height: 400px; } }

/* ---------- Contact Form 7 ------------------------------------------------ */
.wpcf7 form p { margin-bottom: 20px; }
.wpcf7 label { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="date"], .wpcf7 input[type="tel"], .wpcf7 input[type="number"], .wpcf7 textarea { width: 100%; }
.wpcf7 .wpcf7-submit { width: 100%; }

/* ---------- News timeline (old Avada "timeline" blog layout) ------------- */
.bh-news { padding: 65px 30px 55px; }
.bh-timeline { margin: 0 30px; }
.bh-timeline__icon { text-align: center; color: #3e3e3e; line-height: 46px; height: 47px; margin-bottom: -6px; position: relative; z-index: 1; }
.bh-timeline__icon .bh-ico { width: 52px; height: 46px; }
.bh-timeline__body { position: relative; display: flow-root; padding-top: 30px; }
.bh-timeline__line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #3e3e3e; }
.bh-timeline__date {
	position: relative; z-index: 1; clear: both;
	width: 120px; margin: 0 auto 2px; padding: 5.25px 6.75px;
	background: #3e3e3e; color: var(--bh-text);
	font-family: var(--bh-body-font); font-size: 15px; font-weight: 700; line-height: 20.25px;
	text-align: center; text-transform: uppercase;
}
.bh-timeline__body { container-type: inline-size; --w: min(400px, calc(50cqw - 50px)); }
.bh-tl-post {
	position: relative; width: var(--w);
	border: 1px solid #eaeaea; border-bottom-width: 3px;
	padding: 30px 25px 20px; margin: 0 0 40px;
}
.bh-tl-post--left { float: left; clear: both; }
.bh-tl-post--right { float: right; clear: both; }
/* circle on the centre line, level with the arrow */
.bh-tl-post__circle { position: absolute; top: 40px; width: 10px; height: 10px; border-radius: 50%; background: #3e3e3e; }
.bh-tl-post--left .bh-tl-post__circle { right: calc(var(--w) - 50cqw - 4px); }
.bh-tl-post--right .bh-tl-post__circle { left: calc(var(--w) - 50cqw - 4px); }
.bh-tl-post__arrow { position: absolute; top: 30px; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.bh-tl-post--left .bh-tl-post__arrow { left: 100%; border-left: 9px solid #3e3e3e; }
.bh-tl-post--right .bh-tl-post__arrow { right: 100%; border-right: 9px solid #3e3e3e; }
.bh-tl-post__title { font-family: var(--bh-head-font); font-size: 30px; line-height: 39.9px; text-transform: uppercase; margin: 0 0 5px; }
.bh-tl-post__title a { color: #fff; }
.bh-tl-post__title a:hover { color: var(--bh-gold); }
.bh-tl-post__excerpt { margin: 0; font-size: 15px; line-height: 30px; color: var(--bh-text); }
/* Pagination: "1 2 Next" on the right */
.bh-pagination { display: flex; justify-content: flex-end; align-items: center; margin: 40px 12px 0; clear: both; font-size: 12px; }
.bh-pagination .page-numbers { margin: 0 4px; padding: 2px 6px; border: 1px solid var(--bh-gold-line); color: #fff; line-height: 16px; }
.bh-pagination .page-numbers.current { background: var(--bh-gold); border-color: var(--bh-gold); }
.bh-pagination .page-numbers.next, .bh-pagination .page-numbers.prev, .bh-pagination .page-numbers.dots { border: 0; }
.bh-pagination a.page-numbers:hover { background: rgba(255,255,255,.05); }
@media (max-width: 768px) {
	.bh-news { padding: 40px 30px; }
	.bh-timeline { margin: 0; }
	.bh-timeline__icon, .bh-timeline__line, .bh-tl-post__circle, .bh-tl-post__arrow { display: none; }
	.bh-tl-post { float: none; width: auto; max-width: none; }
	.bh-tl-post__title { font-size: 26px; line-height: 1.33; }
}

/* ---------- Utilities ----------------------------------------------------- */
.bh-center { text-align: center; }
.bh-hide-mobile { }
@media (max-width: 781px) { .bh-hide-mobile { display: none !important; } }

/* ---------- Videos (YouTube, privacy-enhanced embed) --------------------- */
.bh-video { position: relative; width: 100%; max-width: 600px; margin: 0 auto 20px; aspect-ratio: 3 / 2; }
.bh-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Image slider (old in-page Fusion slider) --------------------- */
.bh-image-slider { position: relative; }
.bh-image-slider > .wp-block-image { margin: 0; }
.bh-image-slider.is-ready > .wp-block-image { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.bh-image-slider.is-ready > .wp-block-image:first-child { position: relative; }
.bh-image-slider.is-ready > .wp-block-image.is-active { opacity: 1; z-index: 1; }
.bh-image-slider .wp-block-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bh-image-slider .bh-slider-dots { bottom: 15px; }

/* Paragraph spacing inside columns, as the old text blocks (keeps the last margin too) */
.entry-content .bh-section .wp-block-column > p,
.entry-content .bh-section .wp-block-column > .wp-block-cover .wp-block-cover__inner-container > p { margin: 0 0 20px; }
/* The old builder did not collapse margins between a big heading and its separator */
body .entry-content .wp-block-column > h1:first-child { margin-top: .67em; }
body .entry-content h1 + .wp-block-separator { margin-top: calc(20px + .67 * 60px) !important; }
.entry-content .wp-block-separator { width: 170px !important; max-width: 170px !important; box-sizing: content-box; }

/* Single post: spacing between related posts and the comment form like the old site */
body.single-post .entry.single-entry > .entry-content-wrap { padding-bottom: 0; }
body.single-post .comments-area { margin-top: 40px !important; }
::placeholder { color: var(--bh-text); opacity: 1; }

/* ---------- Cookie banner (Complianz) in the site's colours --------------- */
#cmplz-cookiebanner-container .cmplz-cookiebanner {
	background: var(--bh-bg-header) !important;
	color: var(--bh-text) !important;
	border: 1px solid #3e3e3e !important;
	border-radius: 0 !important;
	box-shadow: 0 10px 30px rgba(0,0,0,.45) !important;
	font-family: var(--bh-body-font) !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-title,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-category-title {
	font-family: var(--bh-head-font) !important; text-transform: uppercase; color: #fff !important; font-weight: 400 !important; letter-spacing: 1px;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-description { color: var(--bh-text) !important; font-size: 14px !important; line-height: 1.7 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner a,
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-link { color: var(--bh-gold) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn {
	font-family: var(--bh-head-font) !important; text-transform: uppercase; font-size: 14px !important; font-weight: 400 !important;
	border-radius: 2px !important; background: transparent !important; color: #fff !important; border: 1px solid #fff !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--bh-gold) !important; border-color: var(--bh-gold) !important; color: #fff !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn:hover { background: rgba(255,255,255,.08) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover { background: var(--bh-gold-dark) !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-categories .cmplz-category { background: #313539 !important; }
#cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-close { color: #fff !important; }
#cmplz-manage-consent .cmplz-manage-consent { background: var(--bh-bg-header) !important; color: #fff !important; border: 1px solid #3e3e3e !important; font-family: var(--bh-head-font) !important; text-transform: uppercase; }
/* Complianz placeholders for blocked videos/maps */
.cmplz-blocked-content-notice { background: rgba(41,44,48,.92) !important; color: #fff !important; font-family: var(--bh-body-font) !important; border-radius: 2px !important; }
.cmplz-blocked-content-notice a, .cmplz-blocked-content-notice button { color: var(--bh-gold) !important; }
