/* ==========================================================================
   Brightline: display of pages built with the old theme's UX Builder.
   Breakpoints follow the originals: mobile < 550px, tablet 550-849px,
   desktop 850px+. Responsive values arrive as CSS variables:
   --name (desktop), --name-md (tablet), --name-sm (mobile).
   ========================================================================== */

/* Page wrappers
   ========================================================================== */
.blpb-page__container { padding-top: 30px; padding-bottom: 30px; }
.blpb-page__header { padding-top: 30px; }
.blpb-page__title { margin-bottom: 0.5em; }
.blpb-container-content > *:last-child { margin-bottom: 0; }
.blpb-page--full .bl-page-content > .blpb-section:first-child,
.blpb-page--full .bl-page-content > .blpb-slider:first-child,
.blpb-page--full .bl-page-content > .bl-slider:first-child { margin-top: 0; }
.bl-page-content > .blpb-section,
.bl-page-content > .bl-slider { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.bl-footer__block > * { margin-block-start: 0; }

/* Shared helpers
   ========================================================================== */
.blpb-dark, .blpb-dark p, .blpb-dark td, .blpb-dark li { color: #f1f1f1; }
.blpb-dark h1, .blpb-dark h2, .blpb-dark h3, .blpb-dark h4, .blpb-dark h5, .blpb-dark h6,
.blpb-dark .blpb-title, .blpb-dark a:not(.blpb-button) { color: #fff; }
.blpb-light, .blpb-light p { color: var(--wp--preset--color--dark); }
.blpb-light h1, .blpb-light h2, .blpb-light h3, .blpb-light h4, .blpb-light h5, .blpb-light h6 { color: var(--bl-heading-color, var(--wp--preset--color--dark)); }

.blpb-text-left { text-align: left; }
.blpb-text-center { text-align: center; }
.blpb-text-right { text-align: right; }
.blpb-text-center .blpb-divider, .blpb-text-center .blpb-stars { margin-left: auto; margin-right: auto; }
.blpb-text-right .blpb-divider { margin-left: auto; margin-right: 0; }

.blpb-depth-1 { box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); }
.blpb-depth-2 { box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); }
.blpb-depth-3 { box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22); }
.blpb-depth-4 { box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22); }
.blpb-depth-5 { box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22); }
[class*="blpb-depth-hover-"] { transition: box-shadow .3s, transform .3s; }
.blpb-depth-hover-1:hover { box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24); }
.blpb-depth-hover-2:hover { box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23); }
.blpb-depth-hover-3:hover { box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22); }
.blpb-depth-hover-4:hover { box-shadow: 0 14px 28px rgba(0, 0, 0, .25), 0 10px 10px rgba(0, 0, 0, .22); }
.blpb-depth-hover-5:hover { box-shadow: 0 19px 38px rgba(0, 0, 0, .3), 0 15px 12px rgba(0, 0, 0, .22); }

/* Visibility options */
.blpb-vis-hidden { display: none !important; }
@media (max-width: 549px) {
	.blpb-vis-hide-for-small, .blpb-vis-show-for-medium, .blpb-vis-show-for-large { display: none !important; }
}
@media (min-width: 550px) and (max-width: 849px) {
	.blpb-vis-hide-for-medium, .blpb-vis-show-for-small, .blpb-vis-show-for-large { display: none !important; }
}
@media (max-width: 849px) {
	.blpb-vis-hide-for-medium.blpb-vis-hide-for-medium { display: none !important; }
}
@media (min-width: 850px) {
	.blpb-vis-hide-for-large, .blpb-vis-show-for-small, .blpb-vis-show-for-medium { display: none !important; }
}

/* Utility classes often typed into UX Builder content */
.entry-content .uppercase, .entry-content .is-uppercase { text-transform: uppercase; letter-spacing: .05em; }
.entry-content .text-center { text-align: center; }
.entry-content .text-left { text-align: left; }
.entry-content .text-right { text-align: right; }
.entry-content .lead { font-size: 1.3em; line-height: 1.4; }
.entry-content .thin-font, .entry-content .is-thin { font-weight: 300 !important; }
.entry-content .is-xsmall { font-size: .7em; }
.entry-content .is-small { font-size: .8em; }
.entry-content .is-smaller { font-size: .9em; }
.entry-content .is-large { font-size: 1.15em; }
.entry-content .is-larger { font-size: 1.3em; }
.entry-content .is-xlarge { font-size: 1.5em; }
.entry-content .is-xxlarge { font-size: 2.5em; }
.entry-content .alt-font { font-style: italic; }
.entry-content .mb-0 { margin-bottom: 0 !important; }
.entry-content .mb { margin-bottom: 30px; }
.entry-content .mt { margin-top: 30px; }
.entry-content .op-7 { opacity: .7; }
.entry-content .op-8 { opacity: .8; }
.entry-content .dark, .entry-content .dark p { color: #f1f1f1; }
.entry-content .dark h1, .entry-content .dark h2, .entry-content .dark h3, .entry-content .dark h4 { color: #fff; }
.entry-content .is-divider { display: block; width: 100%; max-width: 30px; height: 3px; margin: 1em 0; background-color: rgba(0, 0, 0, .1); }

/* Section
   ========================================================================== */
.blpb-section {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	padding: var(--blpb-pad-sm, var(--blpb-pad-md, var(--blpb-pad, 30px))) 0;
	min-height: var(--blpb-h-sm, var(--blpb-h-md, var(--blpb-h, auto)));
}
@media (min-width: 550px) {
	.blpb-section {
		padding-top: var(--blpb-pad-md, var(--blpb-pad, 30px));
		padding-bottom: var(--blpb-pad-md, var(--blpb-pad, 30px));
		min-height: var(--blpb-h-md, var(--blpb-h, auto));
	}
}
@media (min-width: 850px) {
	.blpb-section {
		padding-top: var(--blpb-pad, 30px);
		padding-bottom: var(--blpb-pad, 30px);
		min-height: var(--blpb-h, auto);
	}
}
.blpb-section__content { position: relative; z-index: 1; width: 100%; }
.blpb-section.blpb-dark { color: #f1f1f1; }

.blpb-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.blpb-bg__image { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; transition: transform .6s ease, filter .6s ease; }
.blpb-bg__video { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; transform: translate(-50%, -50%); object-fit: cover; }
.blpb-bg__overlay { position: absolute; inset: 0; background-color: var(--blpb-overlay-sm, var(--blpb-overlay-md, var(--blpb-overlay))); }
@media (min-width: 550px) { .blpb-bg__overlay { background-color: var(--blpb-overlay-md, var(--blpb-overlay)); } }
@media (min-width: 850px) { .blpb-bg__overlay { background-color: var(--blpb-overlay); } }

/* Rows and columns (12-column grid with 30px gutters)
   ========================================================================== */
.blpb-row {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	max-width: var(--bl-container, 1080px);
	margin-left: auto !important;
	margin-right: auto !important;
}
.blpb-row--full { max-width: none; }
.blpb-col .blpb-row,
.blpb-text-box .blpb-row { width: auto; max-width: none; margin-left: -15px !important; margin-right: -15px !important; }
.blpb-row--v-middle, .blpb-row--v-center { align-items: center; }
.blpb-row--v-bottom { align-items: flex-end; }
.blpb-row--v-equal > .blpb-col { display: flex; }
.blpb-row--v-equal > .blpb-col > .blpb-col__inner { flex: 1; }
.blpb-row--h-center { justify-content: center; }
.blpb-row--h-right { justify-content: flex-end; }

.blpb-col {
	position: relative;
	flex: 0 0 var(--blpb-span-sm, 100%);
	max-width: var(--blpb-span-sm, 100%);
	padding: 0 15px 30px;
	margin: 0;
}
@media (min-width: 550px) {
	.blpb-col { flex-basis: var(--blpb-span-md, var(--blpb-span, 100%)); max-width: var(--blpb-span-md, var(--blpb-span, 100%)); }
}
@media (min-width: 850px) {
	.blpb-col { flex-basis: var(--blpb-span, 100%); max-width: var(--blpb-span, 100%); }
}
.blpb-row--small > .blpb-col { padding: 0 9.8px 19.6px; }
.blpb-row--small { --blpb-gutter: 9.8px; }
.blpb-row--xsmall > .blpb-col { padding: 0 2px 4px; }
.blpb-row--large > .blpb-col { padding: 0 30px 30px; }
.blpb-row--collapse > .blpb-col { padding: 0; }
.blpb-row--dashed > .blpb-col, .blpb-row--solid > .blpb-col { padding-top: 15px; }
.blpb-row--dashed > .blpb-col:not(:last-child)::after,
.blpb-row--solid > .blpb-col:not(:last-child)::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 30px;
	border-right: 1px dashed rgba(0, 0, 0, .12);
}
.blpb-row--solid > .blpb-col:not(:last-child)::after { border-right-style: solid; }
.blpb-row--cols-dashed > .blpb-col:not(:last-child)::after,
.blpb-row--cols-solid > .blpb-col:not(:last-child)::after { content: ""; position: absolute; top: 0; right: 0; bottom: 30px; border-right: 1px dashed rgba(0, 0, 0, .12); }

.blpb-col__inner {
	position: relative;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-position: 50% 50%;
	background-size: cover;
	background-repeat: no-repeat;
	padding: var(--blpb-pad-sm, var(--blpb-pad-md, var(--blpb-pad, 0)));
	margin: var(--blpb-mar-sm, var(--blpb-mar-md, var(--blpb-mar, 0 auto)));
	max-width: var(--blpb-mw-sm, var(--blpb-mw-md, var(--blpb-mw, none)));
}
@media (min-width: 550px) {
	.blpb-col__inner {
		padding: var(--blpb-pad-md, var(--blpb-pad, 0));
		margin: var(--blpb-mar-md, var(--blpb-mar, 0 auto));
		max-width: var(--blpb-mw-md, var(--blpb-mw, none));
	}
}
@media (min-width: 850px) {
	.blpb-col__inner {
		padding: var(--blpb-pad, 0);
		margin: var(--blpb-mar, 0 auto);
		max-width: var(--blpb-mw, none);
	}
}
.blpb-col__inner.blpb-text-left { margin-left: 0; }
.blpb-col__inner.blpb-text-right { margin-right: 0; }
.blpb-col--sticky > .blpb-col__inner { position: sticky; top: calc(var(--bl-header-height, 90px) + 20px); }
.blpb-col--divider .blpb-col__inner::before { content: ""; display: block; width: 30px; height: 3px; margin-bottom: 1em; background: rgba(0, 0, 0, .1); }
@media (max-width: 549px) { .blpb-first-sm { order: -1; } }
@media (min-width: 550px) and (max-width: 849px) { .blpb-first-md { order: -1; } }

/* Stack */
.blpb-stack {
	display: flex;
	flex-direction: var(--blpb-dir-sm, var(--blpb-dir-md, var(--blpb-dir, row)));
	justify-content: var(--blpb-jus-sm, var(--blpb-jus-md, var(--blpb-jus, flex-start)));
	align-items: var(--blpb-ali-sm, var(--blpb-ali-md, var(--blpb-ali, stretch)));
	gap: var(--blpb-gap-sm, var(--blpb-gap-md, var(--blpb-gap, 0)));
}
@media (min-width: 550px) {
	.blpb-stack { flex-direction: var(--blpb-dir-md, var(--blpb-dir, row)); justify-content: var(--blpb-jus-md, var(--blpb-jus, flex-start)); align-items: var(--blpb-ali-md, var(--blpb-ali, stretch)); gap: var(--blpb-gap-md, var(--blpb-gap, 0)); }
}
@media (min-width: 850px) {
	.blpb-stack { flex-direction: var(--blpb-dir, row); justify-content: var(--blpb-jus, flex-start); align-items: var(--blpb-ali, stretch); gap: var(--blpb-gap, 0); }
}
.blpb-stack > * { margin: 0; }

/* Banner and text box
   ========================================================================== */
.blpb-banner {
	position: relative;
	width: 100%;
	overflow: hidden;
	background-color: var(--wp--preset--color--primary);
	padding-top: var(--blpb-h-sm, var(--blpb-h-md, var(--blpb-h, 300px)));
}
@media (min-width: 550px) { .blpb-banner { padding-top: var(--blpb-h-md, var(--blpb-h, 300px)); } }
@media (min-width: 850px) { .blpb-banner { padding-top: var(--blpb-h, 300px); } }
.blpb-banner--full { padding-top: 0 !important; min-height: 100vh; }
.blpb-banner > .blpb-bg { z-index: 0; }
.blpb-banner__layers { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.blpb-banner--container .blpb-banner__layers { left: 50%; right: auto; width: 100%; max-width: var(--bl-container, 1080px); transform: translateX(-50%); }
.blpb-banner__layers a, .blpb-banner__layers button, .blpb-banner__layers input, .blpb-banner__layers .blpb-text-box__inner { pointer-events: auto; }
.blpb-banner__link { position: absolute; inset: 0; z-index: 3; }
.blpb-banner__link ~ .blpb-banner__layers .blpb-text-box__inner { pointer-events: none; }
.blpb-banner__link ~ .blpb-banner__layers a { position: relative; z-index: 4; pointer-events: auto; }

/* Hover effects on banners and images */
.blpb-hover-zoom:hover .blpb-bg__image, .blpb-hover-zoom:hover .blpb-image__img,
.blpb-hover-zoom:hover .blpb-box__image img { transform: scale(1.1); }
.blpb-hover-zoom-long:hover .blpb-bg__image { transform: scale(1.3); transition-duration: 5s; }
.blpb-hover-zoom-fade:hover .blpb-bg__image { transform: scale(1.1); opacity: .8; }
.blpb-hover-blur:hover .blpb-bg__image, .blpb-hover-blur:hover img { filter: blur(3px); }
.blpb-hover-grayscale .blpb-bg__image, .blpb-hover-grayscale img { filter: grayscale(1); transition: filter .4s; }
.blpb-hover-grayscale:hover .blpb-bg__image, .blpb-hover-grayscale:hover img { filter: none; }
.blpb-hover-color:hover .blpb-bg__image, .blpb-hover-color:hover img { filter: saturate(1.4); }
.blpb-hover-overlay-remove:hover .blpb-bg__overlay, .blpb-hover-overlay-remove:hover .blpb-box__overlay { opacity: 0; }
.blpb-hover-overlay-add .blpb-bg__overlay, .blpb-hover-overlay-add .blpb-box__overlay { opacity: 0; transition: opacity .3s; }
.blpb-hover-overlay-add:hover .blpb-bg__overlay, .blpb-hover-overlay-add:hover .blpb-box__overlay { opacity: 1; }
.blpb-hover-fade-in .blpb-text-box { opacity: 0; transition: opacity .3s; }
.blpb-hover-fade-in:hover .blpb-text-box { opacity: 1; }
.blpb-bg__overlay, .blpb-box__overlay { transition: opacity .3s; }

.blpb-text-box {
	position: absolute;
	max-height: 100%;
	left: var(--blpb-l-sm, var(--blpb-l-md, var(--blpb-l, 50%)));
	right: var(--blpb-r-sm, var(--blpb-r-md, var(--blpb-r, auto)));
	top: var(--blpb-t-sm, var(--blpb-t-md, var(--blpb-t, 50%)));
	bottom: var(--blpb-b-sm, var(--blpb-b-md, var(--blpb-b, auto)));
	width: var(--blpb-w-sm, var(--blpb-w-md, var(--blpb-w, 60%)));
	transform: translate(var(--blpb-tx-sm, var(--blpb-tx-md, var(--blpb-tx, -50%))), var(--blpb-ty-sm, var(--blpb-ty-md, var(--blpb-ty, -50%))));
	font-size: var(--blpb-scale-sm, var(--blpb-scale-md, var(--blpb-scale, 100%)));
	z-index: 2;
}
@media (min-width: 550px) {
	.blpb-text-box {
		left: var(--blpb-l-md, var(--blpb-l, 50%));
		right: var(--blpb-r-md, var(--blpb-r, auto));
		top: var(--blpb-t-md, var(--blpb-t, 50%));
		bottom: var(--blpb-b-md, var(--blpb-b, auto));
		width: var(--blpb-w-md, var(--blpb-w, 60%));
		transform: translate(var(--blpb-tx-md, var(--blpb-tx, -50%)), var(--blpb-ty-md, var(--blpb-ty, -50%)));
		font-size: var(--blpb-scale-md, var(--blpb-scale, 100%));
	}
}
@media (min-width: 850px) {
	.blpb-text-box {
		left: var(--blpb-l, 50%);
		right: var(--blpb-r, auto);
		top: var(--blpb-t, 50%);
		bottom: var(--blpb-b, auto);
		width: var(--blpb-w, 60%);
		transform: translate(var(--blpb-tx, -50%), var(--blpb-ty, -50%));
		font-size: var(--blpb-scale, 100%);
	}
}
@media (max-width: 549px) { .blpb-res-text { font-size: calc(var(--blpb-scale-sm, var(--blpb-scale-md, var(--blpb-scale, 100%))) * .8); } }
.blpb-text-box__inner {
	padding: var(--blpb-pad-sm, var(--blpb-pad-md, var(--blpb-pad, 0)));
}
@media (min-width: 550px) { .blpb-text-box__inner { padding: var(--blpb-pad-md, var(--blpb-pad, 0)); } }
@media (min-width: 850px) { .blpb-text-box__inner { padding: var(--blpb-pad, 0); } }
.blpb-text-box h1, .blpb-text-box h2, .blpb-text-box h3, .blpb-text-box h4, .blpb-text-box h5, .blpb-text-box h6 { line-height: 1.1; }
.blpb-text-box .blpb-button { margin-top: .5em; }
.blpb-text-box--circle .blpb-text-box__inner { border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; }

/* Slider wrapper extras (the slider itself is in main.css) */
.blpb-slider--container { max-width: var(--bl-container, 1080px); margin-left: auto; margin-right: auto; }
.bl-slider > .blpb-slider > .blpb-banner { min-width: 0; }

/* Banner grid
   ========================================================================== */
.blpb-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-flow: row dense;
	grid-auto-rows: calc((var(--blpb-gh-sm, var(--blpb-gh-md, var(--blpb-gh, 600px))) - 11 * var(--blpb-gg, 10px)) / 12);
	gap: var(--blpb-gg, 10px);
	margin-bottom: 30px;
}
@media (min-width: 550px) { .blpb-grid { grid-auto-rows: calc((var(--blpb-gh-md, var(--blpb-gh, 600px)) - 11 * var(--blpb-gg, 10px)) / 12); } }
@media (min-width: 850px) { .blpb-grid { grid-auto-rows: calc((var(--blpb-gh, 600px) - 11 * var(--blpb-gg, 10px)) / 12); } }
.blpb-grid__cell { grid-column: span var(--blpb-gc-sm, 12); grid-row: span var(--blpb-gr, 12); position: relative; min-width: 0; }
@media (min-width: 550px) { .blpb-grid__cell { grid-column: span var(--blpb-gc-md, var(--blpb-gc, 12)); } }
@media (min-width: 850px) { .blpb-grid__cell { grid-column: span var(--blpb-gc, 12); } }
.blpb-grid__cell > * { height: 100%; margin: 0; }
.blpb-grid__cell .blpb-banner { padding-top: 0 !important; height: 100%; }
.blpb-grid__cell .bl-slider, .blpb-grid__cell .bl-slider > .is-style-bl-slider, .blpb-grid__cell .bl-slider > .is-style-bl-slider > * { height: 100%; }

/* Title
   ========================================================================== */
.blpb-title-wrap { margin-bottom: 1.5em; }
.blpb-title {
	position: relative;
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
}
.blpb-title__main { text-transform: var(--bl-title-transform, uppercase); }
.blpb-title--no-caps .blpb-title__main { text-transform: none; }
.blpb-title b { display: block; flex: 1; height: 2px; background-color: currentColor; opacity: .1; }
.blpb-title__sub { padding-left: 15px; font-size: 1em; font-weight: 400; opacity: .7; text-transform: none; }
.blpb-title__link { display: inline-flex; align-items: center; gap: .3em; margin-left: auto; padding-left: 15px; font-size: .8em; }
.blpb-title__link .bl-icon { display: inline-block; }

.blpb-title--normal { border-bottom: 2px solid rgba(0, 0, 0, .07); }
.blpb-title--normal .blpb-title__main { margin-right: 15px; margin-bottom: -2px; padding-bottom: 7.5px; border-bottom: 2px solid rgba(0, 0, 0, .1); }
.blpb-title--normal b { display: none; }
.blpb-title--center .blpb-title__main, .blpb-title--bold-center .blpb-title__main { margin: 0 15px; text-align: center; }
.blpb-title--center .blpb-title__sub, .blpb-title--bold-center .blpb-title__sub { display: block; flex-basis: 100%; order: 5; padding: .3em 0 0; text-align: center; }
.blpb-title--bold .blpb-title__main, .blpb-title--bold-center .blpb-title__main { padding: .3em .8em; border: 2px solid rgba(0, 0, 0, .1); }
.blpb-title--bold b:first-of-type { display: none; }
.blpb-title--bold .blpb-title__main { margin-right: 15px; }
.blpb-dark .blpb-title--normal, .blpb-dark .blpb-title--normal .blpb-title__main,
.blpb-dark .blpb-title--bold .blpb-title__main, .blpb-dark .blpb-title--bold-center .blpb-title__main { border-color: rgba(255, 255, 255, .2); }

/* Text, gap, divider, message
   ========================================================================== */
.blpb-text {
	font-size: var(--blpb-fs-sm, var(--blpb-fs-md, var(--blpb-fs, inherit)));
	line-height: var(--blpb-lh-sm, var(--blpb-lh-md, var(--blpb-lh, inherit)));
	text-align: var(--blpb-ta-sm, var(--blpb-ta-md, var(--blpb-ta, inherit)));
}
@media (min-width: 550px) { .blpb-text { font-size: var(--blpb-fs-md, var(--blpb-fs, inherit)); line-height: var(--blpb-lh-md, var(--blpb-lh, inherit)); text-align: var(--blpb-ta-md, var(--blpb-ta, inherit)); } }
@media (min-width: 850px) { .blpb-text { font-size: var(--blpb-fs, inherit); line-height: var(--blpb-lh, inherit); text-align: var(--blpb-ta, inherit); } }
.blpb-stack > .blpb-text > :last-child { margin-bottom: 0; } /* as in the old theme: columns, text and text boxes keep their last paragraph's spacing */
.blpb-text + .blpb-text, .blpb-text + * { margin-top: 0; }

.blpb-gap { display: block; height: var(--blpb-gap-h-sm, var(--blpb-gap-h-md, var(--blpb-gap-h, 30px))); }
@media (min-width: 550px) { .blpb-gap { height: var(--blpb-gap-h-md, var(--blpb-gap-h, 30px)); } }
@media (min-width: 850px) { .blpb-gap { height: var(--blpb-gap-h, 30px); } }

.blpb-divider { display: block; width: 100%; max-width: 30px; height: 3px; margin: 1em 0; background-color: rgba(0, 0, 0, .1); }
.blpb-divider--center { margin-left: auto; margin-right: auto; }
.blpb-divider--right { margin-left: auto; margin-right: 0; }
.blpb-divider--medium { max-width: 70px; }
.blpb-divider--large { max-width: 100%; height: 1px; }
.blpb-dark .blpb-divider { background-color: rgba(255, 255, 255, .3); }
.blpb-text-box .blpb-divider { margin-top: 1em; margin-bottom: 1em; }

.blpb-message { background-color: var(--wp--preset--color--primary); color: #fff; margin-bottom: 30px; background-size: cover; }
.blpb-message:not(.blpb-dark) { color: inherit; }
.blpb-message > :last-child { margin-bottom: 0; }

/* Buttons
   ========================================================================== */
.blpb-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 2.5em;
	margin: 0 1em 1em 0;
	padding: 0 1.2em;
	font-size: .97em;
	font-weight: 700;
	line-height: 2.4em;
	letter-spacing: .03em;
	text-transform: var(--bl-btn-transform, uppercase);
	text-decoration: none !important;
	vertical-align: middle;
	color: #fff !important;
	background-color: var(--blpb-btn, var(--wp--preset--color--primary));
	border: 2px solid transparent;
	border-radius: var(--bl-btn-radius, 0);
	cursor: pointer;
	transition: transform .2s, box-shadow .2s, background-color .2s, color .2s, opacity .2s;
	max-width: 100%;
}
.blpb-button:hover { box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .2); color: #fff !important; }
.blpb-text-center .blpb-button { margin-left: .5em; margin-right: .5em; }
.blpb-button.blpb-no-caps { text-transform: none; letter-spacing: 0; }
.blpb-button--primary { --blpb-btn: var(--wp--preset--color--primary); }
.blpb-button--secondary { --blpb-btn: var(--wp--preset--color--secondary); }
.blpb-button--success { --blpb-btn: var(--wp--preset--color--accent); }
.blpb-button--alert { --blpb-btn: #b20000; }
.blpb-button--white { --blpb-btn: #fff; color: var(--wp--preset--color--dark) !important; }
.blpb-button--white:hover { color: var(--wp--preset--color--dark) !important; box-shadow: inset 0 0 0 100px rgba(0, 0, 0, .06); }
.blpb-button--outline { background-color: transparent; border-color: var(--blpb-btn); color: var(--blpb-btn) !important; line-height: 2.19em; }
.blpb-button--outline:hover { background-color: var(--blpb-btn); color: #fff !important; box-shadow: none; }
.blpb-button--outline.blpb-button--white:hover { color: var(--wp--preset--color--dark) !important; }
.blpb-button--link, .blpb-button--underline { background-color: transparent; color: var(--blpb-btn) !important; padding-left: 0; padding-right: 0; }
.blpb-button--white.blpb-button--link, .blpb-button--white.blpb-button--underline { color: #fff !important; }
.blpb-button--link:hover, .blpb-button--underline:hover { box-shadow: none; opacity: .75; }
.blpb-button--underline span { border-bottom: 2px solid currentColor; line-height: 1.6; }
.blpb-button--shade, .blpb-button--bevel, .blpb-button--gloss { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.blpb-button--expand { display: flex; width: 100%; margin-right: 0; }
.blpb-size-xxsmall { font-size: .6em; }
.blpb-size-xsmall { font-size: .7em; }
.blpb-size-smaller { font-size: .75em; }
.blpb-size-small { font-size: .8em; }
.blpb-size-large { font-size: 1.15em; }
.blpb-size-larger { font-size: 1.3em; }
.blpb-size-xlarge { font-size: 1.5em; }
.blpb-size-xxlarge { font-size: 2em; }
.blpb-button .bl-icon { display: inline-block; width: 1em; height: 1em; }

/* Images and boxes
   ========================================================================== */
.blpb-image { position: relative; margin: 0 auto 0 0; max-width: 100%; }
.blpb-text-center > .blpb-image, .blpb-image.blpb-text-center { margin-left: auto; margin-right: auto; }
.blpb-image__media { position: relative; overflow: hidden; }
.blpb-image__media img, .blpb-image__img { width: 100%; height: auto; transition: transform .5s ease, filter .4s ease; }
.blpb-image--fixed .blpb-image__media, .blpb-image__media--fixed { height: auto; padding-top: var(--blpb-ratio, 75%); }
.blpb-image--fixed .blpb-image__media img, .blpb-image__media--fixed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blpb-image__caption { padding: .4em 0; font-size: .85em; opacity: .75; }
.blpb-col__inner > .blpb-image, .blpb-col__inner > a > .blpb-image { margin-bottom: 1em; }

.blpb-box { position: relative; display: flex; flex-direction: column; height: 100%; margin-bottom: 0; }
.blpb-box__image { position: relative; display: block; overflow: hidden; }
.blpb-box__image img { width: 100%; height: auto; transition: transform .5s ease, filter .4s; }
.blpb-box__image--fixed { padding-top: var(--blpb-ratio, 75%); }
.blpb-box__image--fixed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blpb-box__placeholder { display: block; aspect-ratio: 16 / 9; background: var(--wp--preset--color--light); }
.blpb-box__overlay { position: absolute; inset: 0; pointer-events: none; }
.blpb-box__text { position: relative; padding: .7em 0 1.4em; font-size: .9em; }
.blpb-box__text > :last-child { margin-bottom: 0; }
.blpb-box__title { margin: 0 0 .3em; font-size: 1.1em; }
.blpb-box__title a { color: inherit; }
.blpb-box__title a:hover { color: var(--wp--preset--color--primary); }
.blpb-box__excerpt, .blpb-box__date, .blpb-box__cat { margin: 0 0 .6em; opacity: .8; }
.blpb-box__cat { font-size: .8em; text-transform: uppercase; letter-spacing: .05em; }
.blpb-title-size-small { font-size: .95em; }
.blpb-title-size-xlarge { font-size: 1.35em; }

.blpb-box--overlay .blpb-box__text, .blpb-box--shade .blpb-box__text, .blpb-box--label .blpb-box__text,
.blpb-box--badge .blpb-box__text {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 1em 1.2em;
	color: #fff;
	pointer-events: none;
}
.blpb-box--overlay .blpb-box__text a, .blpb-box--shade .blpb-box__text a, .blpb-box--label .blpb-box__text a, .blpb-box--badge .blpb-box__text a { pointer-events: auto; color: #fff; }
.blpb-box--overlay .blpb-box__text { top: 0; display: flex; flex-direction: column; justify-content: center; background: rgba(0, 0, 0, .3); }
.blpb-box--shade .blpb-box__text { background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent); padding-top: 3em; }
.blpb-box--overlay .blpb-box__title, .blpb-box--shade .blpb-box__title, .blpb-box--label .blpb-box__title { color: #fff; }
.blpb-box--badge .blpb-box__text { left: 50%; right: auto; bottom: 1em; width: auto; min-width: 60%; transform: translateX(-50%); padding: .6em 1em; background: rgba(0, 0, 0, .75); }
.blpb-box--badge .blpb-box__title { margin: 0; color: #fff; font-size: 1em; text-transform: uppercase; letter-spacing: .05em; }
.blpb-box--badge .blpb-cat__count { margin: 0; font-size: .75em; opacity: .7; }
.blpb-box--label .blpb-box__text { left: auto; right: auto; bottom: 1em; padding: .4em .9em; background: var(--wp--preset--color--primary); }
.blpb-box--bounce:hover { transform: translateY(-6px); transition: transform .3s; }
.blpb-box--push .blpb-box__text { margin: -2em 1em 0; background: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); padding: 1em; }
@media (min-width: 550px) {
	.blpb-box--vertical { flex-direction: row; align-items: center; gap: 1.5em; }
	.blpb-box--vertical .blpb-box__image { flex: 0 0 40%; }
	.blpb-box--vertical .blpb-box__text { flex: 1; padding: 0; text-align: left; }
}
.blpb-date-badge {
	position: absolute; top: 10px; left: 10px;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	width: 3.2em; height: 3.2em;
	font-size: .8em; line-height: 1.1; text-transform: uppercase;
	background: #fff; color: var(--wp--preset--color--dark);
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}
.blpb-date-badge strong { font-size: 1.3em; }

/* Collections: grids and carousels of boxes, galleries, products */
.blpb-collection {
	display: grid;
	grid-template-columns: repeat(var(--blpb-cols-sm, 2), minmax(0, 1fr));
	gap: var(--blpb-cgap, 30px);
	margin-bottom: 30px;
}
@media (min-width: 550px) { .blpb-collection { grid-template-columns: repeat(var(--blpb-cols-md, 3), minmax(0, 1fr)); } }
@media (min-width: 850px) { .blpb-collection { grid-template-columns: repeat(var(--blpb-cols, 4), minmax(0, 1fr)); } }
.blpb-collection--masonry { display: block; column-count: var(--blpb-cols-sm, 2); column-gap: var(--blpb-cgap, 30px); }
.blpb-collection--masonry > * { break-inside: avoid; margin-bottom: var(--blpb-cgap, 30px); height: auto; }
@media (min-width: 550px) { .blpb-collection--masonry { column-count: var(--blpb-cols-md, 3); } }
@media (min-width: 850px) { .blpb-collection--masonry { column-count: var(--blpb-cols, 4); } }

.bl-slider > .blpb-carousel { margin: 0 calc(var(--blpb-cgap, 30px) / -2); }
.bl-slider > .blpb-carousel > * { padding: 0 calc(var(--blpb-cgap, 30px) / 2); }
.blpb-carousel:not(.bl-slider *) { display: flex; overflow-x: auto; }
.bl-slider:has(> .blpb-carousel) { margin-bottom: 30px; }
.bl-slider:has(> .blpb-carousel) .bl-slider__arrow { top: 40%; }
.bl-slider:has(> .blpb-carousel) .bl-slider__arrow--prev { left: -10px; }
.bl-slider:has(> .blpb-carousel) .bl-slider__arrow--next { right: -10px; }

/* Product carousels and per-element product columns */
.blpb-products .woocommerce ul.products[class*="columns-"] { --bl-cols: var(--blpb-pc, 4); }
@media (max-width: 849px) { .blpb-products .woocommerce ul.products[class*="columns-"] { --bl-cols: var(--blpb-pc-md, 3); } }
@media (max-width: 549px) { .blpb-products .woocommerce ul.products[class*="columns-"] { --bl-cols: var(--blpb-pc-sm, 2); } }
.blpb-products .bl-slider > ul.products { display: flex; gap: var(--blpb-gap, 30px); margin: 0 -10px; padding: 0 10px; scroll-padding-inline: 10px; }
.blpb-products--tight { --blpb-gap: 20px; }
/* 4.5.3: the gap is between the cards (not inside them), so card backgrounds and shadows are separate boxes, as in the old theme */
.blpb-products .bl-slider > ul.products > li.product { padding: 0 !important; flex: 0 0 calc((100% - (var(--blpb-pc, 4) - 1) * var(--blpb-gap, 30px)) / var(--blpb-pc, 4)); }
@media (max-width: 849px) { .blpb-products .bl-slider > ul.products > li.product { flex-basis: calc((100% - (var(--blpb-pc-md, 3) - 1) * var(--blpb-gap, 30px)) / var(--blpb-pc-md, 3)); } }
@media (max-width: 549px) { .blpb-products .bl-slider > ul.products > li.product { flex-basis: calc((100% - (var(--blpb-pc-sm, 2) - 1) * var(--blpb-gap, 30px)) / var(--blpb-pc-sm, 2)); } }
/* Cards with a shadow: room for the shadow to show, and space under the text */
:is(.blpb-products[class*="bl-shop-depth-"], [class*="bl-shop-depth-"] .blpb-products) .bl-slider > ul.products { padding-top: 4px; padding-bottom: 20px; }
:is(.blpb-products[class*="bl-shop-depth-"], [class*="bl-shop-depth-"] .blpb-products) .bl-slider > ul.products > li.product { padding-bottom: var(--bl-card-pb, .9rem) !important; }
.blpb-products .bl-slider .bl-slider__arrow { top: 35%; }

/* Product list */
.blpb-plist { list-style: none; margin: 0 0 30px; padding: 0; }
.blpb-plist__item { display: grid; grid-template-columns: 60px 1fr; gap: .2em 1em; align-items: center; padding: .6em 0; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.blpb-plist__item a { display: contents; color: inherit; }
.blpb-plist__item img { grid-row: span 2; width: 60px; height: 60px; object-fit: cover; }
.blpb-plist__title { font-weight: 600; }
.blpb-plist__price { grid-column: 2; font-size: .9em; }

/* Featured box */
.blpb-feature { display: flex; flex-direction: column; gap: 1em; margin-bottom: 30px; }
.blpb-feature--center, .blpb-feature--top.blpb-text-center { align-items: center; text-align: center; }
.blpb-feature--left { flex-direction: row; align-items: flex-start; }
.blpb-feature--right { flex-direction: row-reverse; align-items: flex-start; text-align: right; }
.blpb-feature__icon { flex: none; max-width: 100%; }
.blpb-feature__icon img { width: 100%; height: auto; }
.blpb-feature__title { margin-bottom: .4em; }
.blpb-feature__eyebrow { margin: 0 0 .2em; font-size: .8em; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.blpb-feature__text > :last-child { margin-bottom: 0; }
.blpb-feature-link { display: block; color: inherit; }
.blpb-feature-link:hover { color: inherit; }

/* Video */
.blpb-video { position: relative; height: 0; padding-top: var(--blpb-ratio, 56.25%); margin-bottom: 30px; overflow: hidden; background: #000; }
.blpb-video iframe, .blpb-video video, .blpb-video object, .blpb-video embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blpb-video-button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 3.5em; height: 3.5em; font-size: 1em;
	color: #fff; background: rgba(0, 0, 0, .3);
	border: 3px solid #fff; border-radius: 50%;
	transition: transform .3s, background-color .3s;
}
.blpb-video-button:hover { transform: scale(1.1); background: var(--wp--preset--color--primary); color: #fff; }
.blpb-video-button .bl-icon { width: 45%; height: 45%; margin-left: 8%; fill: currentColor; }

/* Testimonials */
.blpb-testimonial { display: flex; gap: 1.25em; margin-bottom: 30px; }
.blpb-testimonial--top, .blpb-testimonial--center { flex-direction: column; }
.blpb-testimonial--center { align-items: center; text-align: center; }
.blpb-testimonial__image { flex: none; max-width: 100%; }
.blpb-testimonial__image img { width: 100%; height: auto; border-radius: 50%; }
.blpb-testimonial__text { font-style: italic; font-size: 1.05em; }
.blpb-testimonial__text > :last-child { margin-bottom: .6em; }
.blpb-testimonial__name { display: block; }
.blpb-testimonial__company { display: block; font-size: .85em; opacity: .7; }
.blpb-stars { display: flex; gap: 2px; margin-bottom: .5em; color: #d26e4b; }
.blpb-stars span { opacity: .25; }
.blpb-stars span.is-on { opacity: 1; }
.blpb-stars .bl-icon { fill: currentColor; stroke: none; }
.blpb-testimonial--center .blpb-stars { justify-content: center; }

/* Team member, social links */
.blpb-team__name { margin-bottom: .1em; }
.blpb-team__role { margin-bottom: .6em; font-size: .85em; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.blpb-social { display: inline-flex; flex-wrap: wrap; gap: .4em; margin-bottom: 1em; }
.blpb-social__link {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 2.2em; height: 2.2em; padding: 0 .4em;
	font-size: .8em; font-weight: 700;
	color: inherit; border: 2px solid currentColor; border-radius: 999px; opacity: .7;
	transition: opacity .2s, background-color .2s, color .2s;
}
.blpb-social__link:hover { opacity: 1; color: #fff; background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }
.blpb-social--fill .blpb-social__link { color: #fff; background: rgba(0, 0, 0, .55); border-color: transparent; opacity: 1; }
.blpb-social .bl-icon { width: 1.2em; height: 1.2em; }
.blpb-follow { margin-bottom: 1em; }
.blpb-follow__title { display: block; margin-bottom: .4em; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.blpb-text-center .blpb-social, .blpb-follow.blpb-text-center .blpb-social { justify-content: center; }

/* Price table */
.blpb-price { display: flex; flex-direction: column; height: 100%; margin-bottom: 30px; text-align: center; background: #fff; border: 1px solid rgba(0, 0, 0, .08); }
.blpb-price--featured { transform: scale(1.03); box-shadow: 0 14px 28px rgba(0, 0, 0, .15); border-color: var(--wp--preset--color--primary); z-index: 1; }
.blpb-price__head { padding: 1.5em 1em 1em; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.blpb-price__title { margin-bottom: .3em; text-transform: uppercase; letter-spacing: .05em; font-size: 1em; }
.blpb-price__amount { font-size: 2.2em; font-weight: 700; color: var(--wp--preset--color--primary); }
.blpb-price__desc { margin: .5em 0 0; font-size: .85em; opacity: .7; }
.blpb-price__items { list-style: none; margin: 0; padding: 0; flex: 1; }
.blpb-price__items li { padding: .7em 1em; border-bottom: 1px solid rgba(0, 0, 0, .05); }
.blpb-price__items li.is-disabled { opacity: .4; text-decoration: line-through; }
.blpb-price__footer { padding: 1.2em 1em .2em; }
.blpb-price__footer .blpb-button { margin: 0 0 1em; }

/* Accordion */
.blpb-accordion { margin-bottom: 30px; }
.blpb-accordion__item { border-top: 1px solid #ddd; }
.blpb-accordion__item:last-child { border-bottom: 1px solid #ddd; }
.blpb-accordion__summary {
	position: relative;
	display: block;
	padding: .6em 1em .6em 2.3em;
	font-size: 110%;
	cursor: pointer;
	list-style: none;
	transition: background-color .2s;
}
.blpb-accordion__summary::-webkit-details-marker { display: none; }
.blpb-accordion__summary::before {
	content: "";
	position: absolute; left: .9em; top: 50%;
	width: .45em; height: .45em;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-75%) rotate(45deg);
	transition: transform .2s;
	opacity: .6;
}
.blpb-accordion__item[open] > .blpb-accordion__summary { font-weight: 700; }
.blpb-accordion__item[open] > .blpb-accordion__summary::before { transform: translateY(-25%) rotate(-135deg); }
.blpb-accordion__summary:hover { background: rgba(0, 0, 0, .03); }
.blpb-accordion__content { padding: .5em 1em 1em 2.3em; }

/* Tabs */
.blpb-tabs { margin-bottom: 30px; }
.blpb-tabs__nav { display: flex; flex-wrap: wrap; gap: 0 1.5em; margin-bottom: 1.2em; border-bottom: 2px solid rgba(0, 0, 0, .07); }
.blpb-tabs--align-center .blpb-tabs__nav { justify-content: center; }
.blpb-tabs--align-right .blpb-tabs__nav { justify-content: flex-end; }
.blpb-tabs__tab {
	padding: .7em 0; margin-bottom: -2px;
	font: inherit; font-size: .9em; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
	color: inherit; opacity: .6;
	background: none; border: 0; border-bottom: 2px solid transparent;
	cursor: pointer;
}
.blpb-tabs__tab.is-active, .blpb-tabs__tab:hover { opacity: 1; }
.blpb-tabs__tab.is-active { border-bottom-color: var(--wp--preset--color--primary); }
.blpb-tabs--tabs .blpb-tabs__nav, .blpb-tabs--outline .blpb-tabs__nav, .blpb-tabs--pills .blpb-tabs__nav { gap: .4em; border-bottom: 0; }
.blpb-tabs--tabs .blpb-tabs__tab, .blpb-tabs--outline .blpb-tabs__tab { padding: .6em 1.2em; border: 1px solid rgba(0, 0, 0, .12); margin: 0; }
.blpb-tabs--tabs .blpb-tabs__tab.is-active { background: #fff; border-bottom-color: #fff; box-shadow: inset 0 3px 0 var(--wp--preset--color--primary); }
.blpb-tabs--pills .blpb-tabs__tab { padding: .5em 1.2em; border: 0; border-radius: 999px; margin: 0; }
.blpb-tabs--pills .blpb-tabs__tab.is-active { color: #fff; background: var(--wp--preset--color--primary); }
@media (min-width: 850px) {
	.blpb-tabs--vertical { display: grid; grid-template-columns: 220px 1fr; gap: 0 2em; }
	.blpb-tabs--vertical > .blpb-tabs__heading { grid-column: 1 / -1; }
	.blpb-tabs--vertical .blpb-tabs__nav { flex-direction: column; border-bottom: 0; border-right: 2px solid rgba(0, 0, 0, .07); }
	.blpb-tabs--vertical .blpb-tabs__tab { text-align: left; border-bottom: 0; border-right: 2px solid transparent; margin: 0 -2px 0 0; padding-right: 1em; }
	.blpb-tabs--vertical .blpb-tabs__tab.is-active { border-right-color: var(--wp--preset--color--primary); }
}

/* Map */
.blpb-map { position: relative; height: var(--blpb-h-sm, var(--blpb-h-md, var(--blpb-h, 400px))); margin-bottom: 30px; background: #eee; }
@media (min-width: 550px) { .blpb-map { height: var(--blpb-h-md, var(--blpb-h, 400px)); } }
@media (min-width: 850px) { .blpb-map { height: var(--blpb-h, 400px); } }
.blpb-map iframe { width: 100%; height: 100%; border: 0; }
.blpb-map__box {
	position: absolute;
	left: var(--blpb-l, auto); right: var(--blpb-r, auto); top: var(--blpb-t, auto); bottom: var(--blpb-b, auto);
	width: var(--blpb-w, 30%);
	transform: translate(var(--blpb-tx, 0), var(--blpb-ty, 0));
	padding: 1.2em;
	box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}
.blpb-map__box > :last-child { margin-bottom: 0; }
@media (max-width: 549px) { .blpb-map { height: auto; } .blpb-map iframe { height: 300px; } .blpb-map__box { position: static; width: auto; transform: none; } }

/* Countdown */
.blpb-countdown { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6em; margin-bottom: 1em; }
.blpb-countdown__units { display: inline-flex; gap: .5em; }
.blpb-countdown__unit { display: inline-flex; flex-direction: column; align-items: center; min-width: 3.4em; padding: .5em .4em; background: var(--blpb-cd-bg, rgba(0, 0, 0, .06)); border-radius: 4px; }
.blpb-dark .blpb-countdown__unit { background: var(--blpb-cd-bg, rgba(255, 255, 255, .12)); }
.blpb-countdown__unit strong { font-size: 1.8em; line-height: 1.1; }
.blpb-countdown__unit small { font-size: .7em; text-transform: uppercase; letter-spacing: .05em; opacity: .75; }
.blpb-countdown--text .blpb-countdown__unit { flex-direction: row; gap: .2em; min-width: 0; padding: 0; background: none; }
.blpb-countdown--text .blpb-countdown__unit strong { font-size: 1em; }

/* Menus, logos, page header, payment, misc */
.blpb-menu { list-style: none; margin: 0 0 1.5em; padding: 0; }
.blpb-menu__item a { display: flex; align-items: center; gap: .5em; padding: .45em 0; color: inherit; }
.blpb-menu__item a:hover, .blpb-menu__item.is-current a { color: var(--wp--preset--color--primary); }
.blpb-menu--divided .blpb-menu__item { border-bottom: 1px solid rgba(0, 0, 0, .07); }
.blpb-menu__title { margin-top: .8em; padding: .3em 0; font-size: .85em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .7; }
.blpb-nav .blpb-menu { display: flex; flex-wrap: wrap; gap: 0 1.2em; list-style: none; padding: 0; }
.blpb-nav .blpb-menu .sub-menu { display: none; }

.blpb-logo { display: inline-block; text-align: center; transition: opacity .3s, filter .3s; }
.blpb-logo img { width: auto; max-height: var(--blpb-logo-h, 50px); margin: 0 auto; }
.blpb-logo.blpb-hover-color img { filter: grayscale(1); opacity: .7; }
.blpb-logo.blpb-hover-color:hover img { filter: none; opacity: 1; }

.blpb-page-header { position: relative; display: flex; align-items: center; min-height: var(--blpb-h, 0); padding: 30px 0; margin-bottom: 30px; background: var(--wp--preset--color--light); }
.blpb-page-header__inner { position: relative; z-index: 1; width: 100%; max-width: var(--bl-container, 1080px); margin: 0 auto; padding: 0 15px; }
.blpb-page-header__title { margin-bottom: .2em; text-transform: uppercase; }
.blpb-page-header .woocommerce-breadcrumb, .blpb-crumbs { margin: 0; font-size: .85em; opacity: .8; }

.blpb-pay { display: flex; flex-wrap: wrap; gap: .4em; }
.blpb-pay__item { padding: .2em .6em; font-size: .75em; font-weight: 700; border: 1px solid currentColor; border-radius: 3px; opacity: .6; }
.blpb-phone { display: inline-flex; align-items: center; gap: .4em; }
.blpb-search { margin-bottom: 1em; }
.blpb-anchor { display: block; position: relative; top: calc(-1 * var(--bl-header-height, 90px)); visibility: hidden; }
.blpb-sticky { position: sticky; top: 0; z-index: 5; }
.blpb-product-nav { display: flex; justify-content: space-between; gap: 1em; margin: 1em 0; font-size: .9em; }

/* Lightbox */
.blpb-lightbox[hidden] { display: none; }
.blpb-lb .bl-modal__dialog { width: auto; max-width: min(1100px, 100%); }
.blpb-lb--content .bl-modal__dialog { width: min(650px, 100%); }
.blpb-lb--content .blpb-lightbox { margin: 0 auto; }
.blpb-lb--image .bl-modal__dialog { background: transparent; box-shadow: none; }
.blpb-lb--image img { max-width: 100%; max-height: calc(100vh - 4rem); width: auto; margin: 0 auto; }
.blpb-lb--image .bl-modal__close { background: rgba(255, 255, 255, .9); }
.blpb-lb--video .bl-modal__dialog { width: min(1000px, 100%); background: #000; }
.blpb-lb--video .blpb-video { margin: 0; }
.blpb-lb--video .bl-modal__close { top: -2.8rem; right: 0; background: rgba(255, 255, 255, .9); }

/* Full-width elements: let the negative side margins widen them to the screen edges */
.alignfull.blpb-section, .alignfull.blpb-banner, .alignfull.blpb-page-header, .alignfull.blpb-grid, .alignfull.bl-slider, .alignfull.blpb-slider { width: auto; max-width: none; }

/* Rows placed straight on a page: like the old theme, they use the page's side padding as their gutter,
   so on phones the boxes reach almost to the screen edge instead of being squeezed in. */
.has-global-padding > .blpb-row { --blpb-g: 15px; }
.has-global-padding > .blpb-row--small { --blpb-g: 9.8px; }
.has-global-padding > .blpb-row--xsmall { --blpb-g: 2px; }
.has-global-padding > .blpb-row--large { --blpb-g: 30px; }
.has-global-padding > .blpb-row--collapse { --blpb-g: 0px; }
.has-global-padding > .blpb-row:not(.blpb-row--full) {
	width: auto;
	max-width: none;
	margin-left: max(calc(-1 * var(--wp--style--root--padding-left, 16px)), calc((100% - var(--bl-container, 1080px)) / 2 - var(--blpb-g))) !important;
	margin-right: max(calc(-1 * var(--wp--style--root--padding-right, 16px)), calc((100% - var(--bl-container, 1080px)) / 2 - var(--blpb-g))) !important;
}
@media (max-width: 549px) {
	.bl-type-classic .has-global-padding > .woocommerce:has(> ul.products) {
		width: auto; max-width: none;
		margin-left: calc(9.8px - var(--wp--style--root--padding-left, 16px)) !important;
		margin-right: calc(9.8px - var(--wp--style--root--padding-right, 16px)) !important;
	}
}

/* Like the old theme, never let carousels or full-width pieces cause sideways scrolling on phones */
body.bl-type-classic { overflow-x: clip; }

/* Text that sat loose in a UX Builder element, now a paragraph you can edit: no extra spacing */
p.bl-plain { margin: 0; }

/* Product and category sliders before the slider script starts (and in the editor): a row of proper-width slides */
.blpb-carousel:not(.bl-slider *) { flex-wrap: nowrap; scroll-snap-type: x mandatory; }
.blpb-carousel:not(.bl-slider *) > * { flex: 0 0 var(--bl-slide-w, 25%); max-width: var(--bl-slide-w, 25%); box-sizing: border-box; padding: 0 calc(var(--blpb-cgap, 30px) / 2); scroll-snap-align: start; }
@media (max-width: 849px) { .blpb-carousel:not(.bl-slider *) > * { flex-basis: var(--bl-slide-w-md, var(--bl-slide-w, 33.333%)); max-width: var(--bl-slide-w-md, var(--bl-slide-w, 33.333%)); } }
@media (max-width: 549px) { .blpb-carousel:not(.bl-slider *) > * { flex-basis: var(--bl-slide-w-sm, 50%); max-width: var(--bl-slide-w-sm, 50%); } }

/* "fancy-underline": a hand-drawn brush line under the text */
.fancy-underline { position: relative; display: inline-block; }
.fancy-underline::after {
	content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 9px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 9' preserveAspectRatio='none'%3E%3Cpath d='M2 6.2C40 3.4 92 2.6 146 3.1c19 .2 35 .9 52 2' fill='none' stroke='%231e88e5' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M8 7.4c44-2 98-2.4 150-1.4' fill='none' stroke='%231e88e5' stroke-width='1.6' stroke-linecap='round' opacity='.7'/%3E%3C/svg%3E") 50% top / 100% 9px no-repeat;
}

/* Entrance animations (the element's "Animate" setting) */
.blpb-js-anim .blpb-animate:not(.is-in) { opacity: 0; }
.blpb-animate.is-in { animation: .8s cubic-bezier(.2,.7,.3,1) both; }
.blpb-animate--fadeInUp.is-in { animation-name: blpb-fade-up; } .blpb-animate--fadeInDown.is-in { animation-name: blpb-fade-down; }
.blpb-animate--fadeInLeft.is-in { animation-name: blpb-fade-left; } .blpb-animate--fadeInRight.is-in { animation-name: blpb-fade-right; }
.blpb-animate--bounceIn.is-in, .blpb-animate--bounceInUp.is-in, .blpb-animate--bounceInDown.is-in, .blpb-animate--bounceInLeft.is-in, .blpb-animate--bounceInRight.is-in { animation-name: blpb-bounce; }
.blpb-animate--blurIn.is-in { animation-name: blpb-blur; } .blpb-animate--flipInX.is-in, .blpb-animate--flipInY.is-in { animation-name: blpb-flip; }
@keyframes blpb-fade-up { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes blpb-fade-down { from { opacity: 0; transform: translateY(-40px); } to { opacity: 1; transform: none; } }
@keyframes blpb-fade-left { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
@keyframes blpb-fade-right { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes blpb-bounce { 0% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(1.05); } to { transform: none; } }
@keyframes blpb-blur { from { opacity: 0; filter: blur(15px); } to { opacity: 1; filter: none; } }
@keyframes blpb-flip { from { opacity: 0; transform: perspective(400px) rotateX(90deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .blpb-js-anim .blpb-animate:not(.is-in) { opacity: 1; } .blpb-animate.is-in { animation: none; } }


/* 4.5.2: product element switches (show category / title / rating / price / add to cart / quick view) */
.blpb-hide-cat ul.products li.product .bl-product-cat,
.blpb-hide-title ul.products li.product .woocommerce-loop-product__title,
.blpb-hide-rating ul.products li.product .star-rating,
.blpb-hide-price ul.products li.product .price,
.blpb-hide-atc ul.products li.product :is(.add_to_cart_button, .product_type_variable, .product_type_simple, .product_type_grouped, .product_type_external, .added_to_cart),
.blpb-hide-qv ul.products li.product .bl-quick-view-btn { display: none !important; }
