/*
Theme Name: Bricks Child Theme
Theme URI: https://bricksbuilder.io/
Template: bricks
Author: Bricks
Author URI: https://bricksbuilder.io/
Description: Use this child theme to extend Bricks.
Version: 1.1
*/

/* =========================================================
GLOBAL DEFAULTS / RESETS
========================================================= */

/* Full viewport height layout */
html {
    scroll-behavior: smooth;
}
.brx-body {
	min-height: 100vh;
}

/* SVG defaults*/
svg {
	height: auto;
	overflow: visible;
	fill: currentColor; /* makes SVG icons match current text color */
}

/* Remove focus outlines */
input.focus-visible,
*:focus-visible {
	outline: none !important;
}
.brxe-toggle:focus {
	outline: none;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
}
.brxe-list li:last-child {
	margin-bottom: 0 !important;
}
.brxe-breadcrumbs {
	line-height: 1em;
	gap: 5px;
	row-gap: 10px;
}

/* Utility: remove heading margins */
.no-mb :where(h1, h2, h3, h4, h5, h6),
.no-mb.brxe-icon-box :where(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 0;
}
.no-mt :where(h1, h2, h3, h4, h5, h6) {
	margin-top: 0;
}

/* Search form layout */
.srch-form .bricks-search-form {
	flex-direction: row-reverse;
}
.srch-form .bricks-search-form input[type="search"] {
	padding: 0 10px 0 0;
}

/* Bold text */
b, strong {
	font-weight: 600;
}

/* =========================================================
BUTTONS
========================================================= */

.bricks-button {
	line-height: 1em;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: "Tenor Sans";
	font-weight: 400;
	transition: all .3s ease;
	border-radius: 0.2rem;
}

.bricks-button.outline {
	border: 1px solid #ffffff;
}

:root .bricks-button[class*="primary"] {
	color: #222222;
}
:root .bricks-button[class*="secondary"] {
	color: #ffffff;
}
/* Primary */
:root .bricks-button[class*="primary"]:not(.outline) {
	background-color: #e1d09e;
}

:root .bricks-button[class*="primary"]:not(.outline):hover {
	background-color: #f0e6c5;
}

/* Primary Button Outline */
:root .bricks-button[class*="primary"].outline {
	color: #ffffff;
}

/* Primary (outline) hover */
:root .bricks-button[class*="primary"].outline:hover {
	background-color: #e1d09e;
	color: #222222;
	border-color: transparent;
}

/* Secondary */
:root .bricks-button[class*="secondary"]:hover {
	color: #222222;
}

:root .bricks-button[class*="secondary"]:not(.outline) {
	background-color: #9e7a4f;
}

:root .bricks-button[class*="secondary"]:not(.outline):hover {
	background-color: #e1d09e;
}

/* SECONDARY (outline)*/
:root .bricks-button[class*="secondary"].outline {
	border-color: #222222;
	color: #222222;
}

/* SECONDARY (outline) hover*/
:root .bricks-button[class*="secondary"].outline:hover {
	border-color: transparent;
	background-color: #e1d09e;
}

/* =========================================================
ICON BOXES
========================================================= */

/* Default icon box heading spacing */
.brxe-icon-box :where(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 0.8rem;
}

.icn-box-sm {
	gap: 15px;
	padding: 1rem;
}

/* Small icon-box content centered */
.icn-box-sm .content {
	display: flex;
	flex-direction: column;
	text-align: center;
	align-self: center;
	row-gap: 0.5rem;
}

/* Small icon-box heading size */
.icn-box-sm h4 {
	font-size: clamp(1.3rem, 5vw, 1.5rem);
	text-transform: capitalize;
	text-align: center;
}

.icn-box-sm .icon {
	align-self: center;
}

/* Accordion icon sizing when icon is on the left */
.accordion-title.icon-left .icon {
	min-width: 10px;
}

/* =========================================================
LINKS (SITE-WIDE)
========================================================= */

/* Blog content links */
.blg-page-tmp .brxe-post-content a {
	font-weight: 600;
	color: #9e7a4f !important;
}

/* Prevent extra line-height around link wrappers */
.bricks-link-wrapper {
	line-height: 0;
}

/* Default link color (excluding specific components) */
#brx-content :where(a):not(
.home-nav-menu a,
.bricks-button,
.brxe-post-content a,
.dark-link a,
.no-hover_link a,
.hover_brown a ) {
	color: #30251b;
}

/* Smooth hover transitions for links + filters */
#brx-content :where(a),
#brx-footer :where(a),
.brx-nav-nested-items :where(a),
#brxe-rtbczk .bricks-isotope-filters li,
.hover_brown :where(a) {
	transition: all 0.2s linear;
}

/* Default hover colors (excluding certain areas) */
#brx-content
:where(a:hover):not(
.home-nav-menu a,
.bricks-button,
.dark-link a,
.no-hover_link a,
.hover_brown a
),
.bricks-nav-menu li :where(a:hover):not(.hover_brown a),
#brxe-rtbczk .bricks-isotope-filters li:hover {
	color: #6a6a6a;
}

/* Footer + nested nav hover */
#brx-footer :where(a:hover):not(.no-hover_link a),
.brx-nav-nested-items :where(a:hover) {
	color: #30251b;
}

/* Dark link treatment */
.dark-link a {
	color: #e1d09e;
}
.dark-link a:hover {
	color: #ffffff;
}

/* Social icon hover animation */
.brxe-social-icons svg,
.brxe-social-icons i {
	transition: all 0.3s ease;
}
.brxe-social-icons li.has-link a:hover svg {
	fill: #6a6a6a;
}

/* Links that should not change on hover */
.no-hover_link :where(a) {
	color: inherit;
}
.no-hover_link :where(a):hover {
	color: inherit !important;
	text-decoration: none !important;
	/* pointer-events: none; */
}

/* Brown hover variant */
.hover_brown :where(a:hover),
.hover_brown li.repeater-item.has-link a:hover i,
.hover_brown li.repeater-item.has-link a:hover svg {
	color: #9e7a4f;
}

/* =========================================================
HEADER / MENUS
========================================================= */

/* Hide first nav item for specific menus */
.nav-skip-first .bricks-nav-menu li:first-child {
	display: none;
}

/* Main menu typography */
#menu-main-menu > li > a,
#menu-main-menu > li > .brx-submenu-toggle > a {
	font-size: 0.8rem;
	text-transform: uppercase;
	font-family: "Tenor Sans", serif;
}

/* Light menu (white text) */
.menu-light #menu-main-menu > li > a,
.menu-light #menu-main-menu > li > .brx-submenu-toggle > a,
.menu-light #menu-main-menu > li > .brx-submenu-toggle svg {
	color: #ffffff;
}

/* Dark menu (dark text) */
.menu-dark #menu-main-menu > li > a,
.menu-dark #menu-main-menu > li > .brx-submenu-toggle > a,
.menu-dark #menu-main-menu > li > .brx-submenu-toggle svg {
	color: #222222;
}

/* Divider line under mega menu headings/links */
.mega-menu-link:after,
.menu-heading:after {
	width: 100%;
	display: block !important;
	height: 1px;
	background-color: #2224;
	position: relative;
	content: "";
	margin: 5px 0;
}

/* Mega menu text styling */
.mega-menu-link,
.menu-heading {
	font-family: "Tenor Sans", serif;
	text-transform: uppercase;
}
.menu-heading {
	margin-top: 25px;
}
.mega-menu-link {
	margin-bottom: 0.6rem;
	font-size: 0.85rem;
	width: 100%;
}
.mega-menu-nav {
	font-size:0.9rem
}
.mega-menu-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 20px;
    padding: 10px;
}
.mega-menu-col {
	padding: 15px;
}
/* =========================================================
HOMEPAGE (HERO SPLIT / HOVER PANELS)
========================================================= */

.sub-head {
	transition: all 0.7s ease;
}

/* Overlay layer for hero panels */
.sub-head:before {
	opacity: 1;
	display: block;
	background-color: #0004;
	position: absolute;
	transition: 0.7s all linear;
	filter: grayscale(1);
	content: "";
	inset: 0;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Hover: remove blur + grayscale */
.sub-head:hover:before,
.sub-head:focus:before,
.sub-head:active:before {
	opacity: 1;
	background-color: #0003;
	filter: grayscale(0);
	-webkit-backdrop-filter: blur(0);
	backdrop-filter: blur(0);
}

/* Desktop-only sizing changes */
@media (min-width: 992px) {
	.sub-head:hover,
	.sub-head:focus,
	.sub-head:active {
		height: 97vh;
	}
	.sub-head {
		height: 600px;
	}

	/* Expand side panels on hover */
	#left-bg.homepage-man:hover,
	#right-bg.homepage-woman:hover,
	#left-bg.homepage-man:focus,
	#right-bg.homepage-woman:focus,
	#left-bg.homepage-man:active,
	#right-bg.homepage-woman:active {
		width: 80%;
	}

	/* Center panel takes full width on hover */
	#main-bg.homepage-woman:hover,
	#main-bg.homepage-woman:focus,
	#main-bg.homepage-woman:active {
		width: 100%;
	}
}

/* Smooth width transition */
#left-bg.homepage-man,
#right-bg.homepage-woman {
	transition: all 0.7s ease;
}

/* Hide headings on hover */
#left-bg.homepage-man:hover h3,
#right-bg.homepage-woman:hover h3 {
	opacity: 0;
}

/* Heading fade */
#left-bg.homepage-man h3,
#right-bg.homepage-woman h3,
#main-bg.homepage-woman h3 {
	opacity: 1;
	transition: all 0.3s ease;
}

/* Nav menu fades in on hover */
#left-bg.homepage-man .home-nav-menu,
#right-bg.homepage-woman .home-nav-menu,
#main-bg.homepage-woman .home-nav-menu {
	opacity: 0;
	transition: all 0.3s ease;
}
#left-bg.homepage-man:hover .home-nav-menu,
#right-bg.homepage-woman:hover .home-nav-menu,
#main-bg.homepage-woman:hover .home-nav-menu {
	opacity: 1;
}

/* Nav item hover emphasis */
#left-bg.homepage-man .home-nav-menu ul li:hover a,
#right-bg.homepage-woman .home-nav-menu ul li:hover a,
#main-bg.homepage-woman .home-nav-menu ul li:hover a {
	opacity: 1;
	font-size: clamp(2.4rem, 3vw, 3rem);
}

/* Default nav item look */
#left-bg.homepage-man .home-nav-menu ul li a,
#right-bg.homepage-woman .home-nav-menu ul li a,
#main-bg.homepage-woman .home-nav-menu ul li a {
	opacity: 0.6;
	text-align: center;
	transition: all 0.7s ease;
}

/* Panel overlay base */
#left-bg.homepage-man:before,
#right-bg.homepage-woman:before,
#main-bg.homepage-woman:before {
	content: "";
	background-color: #0006;
	filter: none;
	display: block;
	position: absolute;
	inset: 0;
	opacity: 0.2;
	transition: all 0.3s ease;
}

/* Panel overlay hover: blur */
#left-bg.homepage-man:hover:before,
#right-bg.homepage-woman:hover:before,
#left-bg.homepage-man:focus:before,
#right-bg.homepage-woman:focus:before,
#left-bg.homepage-man:active:before,
#right-bg.homepage-woman:active:before {
	opacity: 1;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* Keep content above overlays */
#main-bg > * {
	position: relative;
}

/* Main panel overlay hover */
#main-bg.homepage-woman:hover:before,
#main-bg.homepage-woman:focus:before,
#main-bg.homepage-woman:active:before {
	opacity: 1;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

/* =========================================================
SUB-PAGE BACKGROUND HOVER EFFECT
========================================================= */

/* Overlay (blur + grayscale) */
#sub-page.mid:before {
	content: "";
	background-color: #2227;
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	filter: grayscale(1);
	display: block;
	position: absolute;
	inset: 0;
	opacity: 1;
	transition: all 0.7s linear;
}

/* Hover: remove blur/grayscale */
#sub-page.mid:hover:before,
#sub-page.mid:focus:before,
#sub-page.mid:active:before {
	opacity: 1;
	-webkit-backdrop-filter: blur(0);
	backdrop-filter: blur(0);
	filter: grayscale(0);
	background-color: #2227;
}

/* Desktop-only background zoom */
@media (min-width: 1024px) {
	#sub-page.mid {
		background-size: 120%;
		transition: background-size 0.7s ease;
		-webkit-transition: background-size 0.7s ease;
		-moz-transition: background-size 0.7s ease;
		-o-transition: background-size 0.7s ease;
		-ms-transition: background-size 0.7s ease;
	}
	#sub-page.mid:hover,
	#sub-page.mid:focus,
	#sub-page.mid:active {
		background-size: 140%;
	}
}

/* =========================================================
CARDS / HOVER LIFT
========================================================= */

.card-hover {
	transition: all 0.7s ease;
}

/* Only apply hover lift on real hover devices */
@media (hover: hover) and (pointer: fine) {
	.card-hover:hover {
		transform: translateY(-5px);
	}
}

/* =========================================================
POPUPS / ANIMATION FLASH FIX
========================================================= */

/* Hide before entrance animation so it doesn't flash */
.pre-anim-hide {
	visibility: hidden !important;
	opacity: 0 !important;
}

/* If user prefers reduced motion, don't hide */
@media (prefers-reduced-motion: reduce) {
	.pre-anim-hide {
		visibility: visible !important;
		opacity: 1 !important;
	}
}

/* =========================================================
REVIEWS (TI WIDGET)
========================================================= */

/* Layout + spacing for layout-id 4 */
.ti-widget[data-layout-id="4"] .ti-reviews-container-wrapper {
	padding-top: 0;
	align-items: stretch;
	justify-content: stretch;
	margin: 10px -7px 0 !important;
}

/* Remove extra padding from name */
.ti-widget-container .ti-name,
.ti-widget[data-layout-id="4"] .ti-name {
	padding-right: 0;
}

/* Stars spacing */
.ti-inner .ti-stars,
.ti-widget[data-layout-id="4"] .ti-inner .ti-stars {
	margin-bottom: 1em;
}

/* Remove default card shadows */
.ti-inner,
.ti-widget[data-layout-id="4"] .ti-inner {
	position: relative;
	box-shadow: none !important;
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	-o-box-shadow: none !important;
}

/* Add custom card shadow + min height */
.ti-review-item .ti-inner,
.ti-widget[data-layout-id="4"] .ti-review-item .ti-inner {
	min-height: 360px !important;
	box-shadow: 0 5px 20px rgb(48 52 66 / 8%) !important;
	-moz-box-shadow: 0 5px 20px rgb(48 52 66 / 8%) !important;
	-webkit-box-shadow: 0 5px 20px rgb(48 52 66 / 8%) !important;
	-o-box-shadow: 0 5px 20px rgb(48 52 66 / 8%) !important;
}

/* Add big quote mark decoration */
.ti-review-item .ti-inner:after,
.ti-widget[data-layout-id="4"] .ti-review-item .ti-inner:after {
	line-height: 1;
	display: block !important;
	height: 60px;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-size: 10em;
	color: #dfdac4;
	position: absolute;
	bottom: -30px;
	right: 30px;
	content: "”";
}

/* Review item layout */
.ti-widget .ti-review-item,
.ti-widget[data-layout-id="4"] .ti-review-item {
	margin-bottom: 40px;
	display: grid;
	align-items: stretch;
	justify-content: stretch;
}

/* Review typography */
.ti-inner .ti-review-content,
.ti-widget[data-layout-id="4"] .ti-review-content {
	line-height: 1.8em !important;
	font-family: Georgia, Times, "Times New Roman", serif;
	font-style: italic;
	padding-right: 0 !important;
}

/* Controls positioning */
.ti-widget .ti-controls,
.ti-widget[data-layout-id="4"] .ti-controls {
	top: -10% !important;
}
.ti-widget .ti-controls .ti-prev,
.ti-widget[data-layout-id="4"] .ti-controls .ti-prev {
	left: auto !important;
	right: 32px;
}
.ti-widget .ti-controls .ti-next,
.ti-widget[data-layout-id="4"] .ti-controls .ti-next {
	right: 7px;
}

/* =========================================================
VIDEO CTA (SOCIAL ICON ROW)
========================================================= */

#video-cta .brxe-social-icons {
	width: 100%;
}

/* Right item spacing */
#video-cta .brxe-social-icons li:last-child a {
	justify-content: start;
	padding: 0 0 0 25px;
}

/* Left item spacing + divider */
#video-cta .brxe-social-icons li:first-child a {
	justify-content: end;
	border-right: 1px solid;
	padding: 5px 25px;
}

/* Mobile tweaks */
@media (max-width: 477px) {
	#video-cta .brxe-social-icons li:last-child a {
		justify-content: start;
		padding: 10px;
	}
	#video-cta .brxe-social-icons li:first-child a {
		justify-content: start;
		border-right: 0;
		padding: 10px;
	}
	#video-cta .brxe-social-icons {
		width: auto;
	}
}

/* =========================================================
TEAM SECTION (HOVER IMAGE EFFECTS)
========================================================= */

/* Legacy portrait hover effect */
.portrait {
	overflow: hidden;
}
.portrait img {
	transition: all 0.7s ease;
	-moz-transition: all 0.7s ease;
	-webkit-transition: all 0.7s ease;
	-o-transition: all 0.7s ease;
	filter: grayscale(0) blur(0);
}
.portrait:hover img {
	transform: rotate(-10deg) scale(1.7);
	-moz-transform: rotate(-10deg) scale(1.7);
	-webkit-transform: rotate(-10deg) scale(1.7);
	-o-transform: rotate(-10deg) scale(1.7);
	filter: grayscale(1) blur(5px);
}

/* Team card typography */
.art-team .title {
	color: #222222;
	font-size: 1.4rem;
	text-transform: capitalize;
	font-family: "Lora";
}
.art-team .description {
	font-size: 0.9rem;
	line-height: 1.4em;
	text-align: left;
}
.art-team .content {
	padding-top: 25px;
	padding-right: 0.7rem;
	padding-bottom: 35px;
	padding-left: 0.7rem;
	z-index: 99;
	background-color: #ffffff;
	width: 100%;
	text-align: center;
}
.art-team .subtitle {
	letter-spacing: 2px;
	text-transform: uppercase;
	font-family: "Tenor Sans";
	font-size: 0.8rem;
	position: relative;
	padding-bottom: 0.7rem;
	margin-bottom: 1rem;
}
.art-team .image {
	aspect-ratio: 1 / 1.1;
}
.art-team {
	gap: 25px;
}

/* Responsive team spacing */
@media (max-width: 576px) {
	.art-team {
		gap: 2.5rem;
	}
	.art-team .image {
		aspect-ratio: 4 / 5.5;
	}
}
@media (max-width: 478px) {
	.art-team .description {
		line-height: 1.6em;
	}
}

/* Subtitle underline */
.art-team .subtitle::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%) scaleY(0.7);
	transform-origin: bottom;
	height: 1px;
	width: 80px;
	border-bottom: 1px solid #e1d09e;
}

/* Per-member hover transform values */
.art-team .member {
	--rot: 15deg;
	--scale: 1.7;
}
.art-team .member:nth-child(2) {
	--rot: -10deg;
	--scale: 1.4;
}
.art-team .member:nth-child(3) {
	--rot: 6deg;
	--scale: 1.7;
}
.art-team .member:nth-child(4) {
	--rot: -10deg;
	--scale: 1.7;
}
.art-team .member:nth-child(5) {
	--rot: 7deg;
	--scale: 1.7;
}
.art-team .member:nth-child(6) {
	--rot: -5deg;
	--scale: 1.7;
}

/* Base image hover behavior */
.art-team .member .image {
	position: relative;
	transition: transform 0.7s ease, filter 0.7s ease;
	will-change: transform;
	transform-origin: center;
}

/* Hover only on devices that support hover */
@media (hover: hover) and (pointer: fine) {
	.art-team .member .image:hover {
		transform: rotate(var(--rot)) scale(var(--scale));
		filter: grayscale(1);
	}
}

/* Keyboard + tap interaction */
.art-team .member .image:focus,
.art-team .member .image:active {
	transform: rotate(var(--rot)) scale(var(--scale));
	filter: grayscale(1);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
	.art-team .member .image {
		transition: none;
	}
}


/* =========================================================
PRICE LIST + PRICING TABLES
========================================================= */

/* Price list spacing */
.price-list li:not(:last-child) {
	margin-bottom: 1.2rem;
}
.price-list .title {
	max-width: 80%;
}
.price-list .title,
.price-list .meta {
	font-weight: 600;
}

/* Pricing table styles */
.cst-price-table .pricing-table-bg {
	background-color: #f9f9f9;
	border: 1px solid #f0e6c5;
}
.cst-price-table .pricing-table-pricing > * p {
	line-height: 1.6em;
	font-size: 0.7rem;
	color: #555;
}
.cst-price-table .pricing-table-price-wrapper {
	gap: 3px;
}
.cst-price-table .pricing-table-title {
	line-height: 1em;
	font-family: "Tenor Sans";
	font-size: 1.3rem;
	text-transform: uppercase;
	font-weight: 400;
}

/* Price meta badge */
.cst-price-table .pricing-table-price-meta {
	width: max-content;
	line-height: normal;
	display: flex;
	font-size: 10px;
	background-color: #f2f1e9;
	text-transform: uppercase;
	font-weight: 500;
	align-self: center;
	letter-spacing: 2px;
	padding: 0.3rem 0.8rem;
}
.cst-price-table.dark .pricing-table-price-meta {
	background-color: #e1d09e;
	color: #000 !important;
}

/* Pricing table layout */
.cst-price-table .pricing-table-pricing {
	display: flex;
	row-gap: 1rem;
	justify-items: center;
	padding: 0.5rem 1rem 1.2rem;
	flex-direction: column;
}
.cst-price-table .pricing-table-price {
	font-size: 1.8rem;
	color: #555;
	font-weight: 500;
}
.cst-price-table .pricing-table-header {
	padding: 2rem 1rem;
}
.cst-price-table .pricing-table-footer {
	padding: 8px 16px 28px;
}
.cst-price-table .pricing-table-feature {
	line-height: 1.4em;
	font-size: 0.9rem;
	padding: 16px 16px 28px;
	border: none;
}

/* Hover lift */
.cst-price-table .pricing-table {
	transition: all 0.3s ease;
}
.cst-price-table .pricing-table:hover {
	transform: translateY(-5px);
}

/* Ribbon badge */
.ribbon .pricing-table-ribbon-title {
	transform: rotate(-90deg);
	border-radius: 50%;
	padding: 0.8em;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	top: -10%;
	left: -20px;
	position: absolute;
	margin: 0;
	font-family: "Tenor Sans", serif;
	text-transform: uppercase;
	font-size: 0.6rem;
	line-height: 1em;
	background: #222222;
}

/* Allow ribbons/overflows */
:where(.brxe-pricing-tables) .pricing-table-ribbon,
:where(.brxe-pricing-tables) .pricing-table {
	overflow: visible;
}

/* =========================================================
FAQS
========================================================= */

.faqs-section {
	display: flex;
	flex-direction: column;
	row-gap: 0.3rem;
}
/* .faqs-section :where(h1, h2, h3, h4, h5, h6) {
margin: 0;
} */

/* =========================================================
SLIDER (SPLIDE)
========================================================= */

.gallery-slider .splide__arrows--ltr {
	display: flex;
	flex-direction: row;
	position: absolute;
	right: 0;
	bottom: -8%;
}
.gallery-slider .splide__arrow--prev {
	left: -110px;
}

@media (max-width: 767px) {
	.gallery-slider .splide__arrows--ltr {
		bottom: -10%;
	}
	.gallery-slider .splide__arrow--prev {
		left: -90px;
	}
}

/* =========================================================
IMAGE GALLERY + CAPTIONS
========================================================= */

/* Caption typography (non-overlay version) */
.img-content .bricks-image-caption {
	margin-bottom: clamp(0.5rem, 2vw, 2rem);
	font-family: "Tenor Sans";
	font-size: clamp(1.2rem, 3vw, 1.5rem);
	text-transform: capitalize;
	background-image: none;
}

/* Image hover brighten */
.img-content figure img {
	filter: brightness(83%) contrast(100%) saturate(100%);
	transition-duration: 0.3s;
	-moz-transition-duration: 0.3s;
	-webkit-transition-duration: 0.3s;
	-o-transition-duration: 0.3s;
}
.img-content figure img:hover {
	filter: brightness(100%) contrast(100%) saturate(100%);
	transition-duration: 0.3s;
}

/* Gallery: zoom + darken on hover */
.brxe-image-gallery .bricks-layout-item figure {
	overflow: hidden;
	position: relative; /* needed for overlay captions */
}
.brxe-image-gallery .bricks-layout-item figure img {
	transform-origin: 50% 0%;
	transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease-in-out;
}
.brxe-image-gallery .bricks-layout-item:hover figure img {
	transform: scale(1.1);
	filter: brightness(0.5);
}

/* Overlay caption: hidden until hover */
.brxe-image-gallery .bricks-layout-item .bricks-image-caption {
	position: absolute;
	bottom: 50%;
	left: 50%;
	transform: translate(-50%, 50%);
	color: #fff;
	text-align: center;
	pointer-events: none; /* caption doesn't block clicks */
	z-index: 1;
	opacity: 0;
	width: 100%;
	transition: opacity 0.7s ease;
	background: none;
	padding: 0;
	font-size: 0.9rem;
	max-width: 90%;
}
.brxe-image-gallery .bricks-layout-item:hover .bricks-image-caption {
	opacity: 1;
}

/* =========================================================
FORM STYLES
========================================================= */

/* File upload button styling */
:where(.art-form) .choose-files {
	background-color: #fff;
	padding: 0.5em;
	line-height: 1em;
	font-size: 0.9rem;
}

/* Submit button min height */
.art-form button[type="submit"] {
	min-height: 47px;
}

/* Placeholder sizing */
.art-form ::placeholder {
	font-size: 1rem;
}

/* Inputs/select/textarea background + padding */
.art-form select,
.art-form .form-group input,
.art-form .flatpickr,
.art-form textarea {
	font-size: 1rem;
	padding: 4px 16px;
	background-color: #ffffff;
}

/* Select arrow spacing */
.art-form select {
	padding-right: 16px;
}

/* Field spacing (exclude special fields) */
.art-form .form-group:not(.submit-button-wrapper):not(.message):not(.captcha) {
	padding-bottom: 25px;
}

/* Form layout */
.art-form {
	justify-content: space-between;
	line-height: 1.4em;
}

/* Submit row */
.art-form .submit-button-wrapper {
	width: 100%;
	margin-top: 1rem;
}
.brxe-form .message {
    color: #222222;
    background-color: #F0E6C5;
    align-items: center;
    border-radius: 0.2rem;
}
.brxe-form .message.success {
    line-height: 1.2;
}

@media (max-width: 991px) {
	.art-form .form-group:not(.submit-button-wrapper):not(.message):not(.captcha) {
		padding-bottom: 20px;
	}
}

/* =========================================================
BLOG TEMPLATE (SINGLE POST)
========================================================= */

.blg-page-tmp h1 {
	font-size: clamp(2rem, 3vw, 2.8rem);
	text-transform: capitalize;
}

/* Default spacing for headings + paragraphs */
.blg-page-tmp :where(h1, h2, h3, h4, h5, h6) {
	margin-bottom: 1.4rem;
}
.blg-page-tmp :where(p) {
	margin-block: 0 1rem;
}

/* Headings style */
.blg-page-tmp :where(h2, h3, h4) {
	text-transform: inherit;
	letter-spacing: -1px;
}

/* First heading in post content */
.blg-page-tmp .brxe-post-content :where(h2:first-child, h3:first-child, h4:first-child) {
	margin-top: 0;
	margin-bottom: 0.2rem !important;
}

/* Top margin between sections */
.blg-page-tmp :where(h2, h3, h4):not(.no-mt) {
	margin-top: 4.5rem;
}

/* Plugin: "Yes" button color */
.blg-page-tmp .daexthefu-button.daexthefu-yes {
	background-color: #9e7a4f !important;
}
.daexthefu-container {
	margin: 64px 0px 0px 0px;
}

/* H2 styling */
.blg-page-tmp .brxe-post-content h2 {
	font-size: clamp(2rem, 4vw, 2.3rem);
	color: #9e7a4f !important;
}

/* H3 styling */
.blg-page-tmp .brxe-post-content h3 {
	margin-top: 1.5rem;
	font-size: clamp(1.4rem, 4vw, 1.6rem);
	margin-bottom: 0.2rem !important;
}

/* Keep blockquote font consistent */
blockquote {
	font-family: inherit;
}

/* Blockquote styling */
.blg-page-tmp .brxe-post-content blockquote {
	background-color: #f2f1e9;
	padding: 0.5rem;
	font-size: 1rem;
	line-height: inherit;
	border-left: none;
	margin: 1rem 0 2rem 0;
	font-style: normal !important;
}
.blg-page-tmp .brxe-post-content blockquote p {
	margin-bottom: 0 !important;
}

/* List item spacing */
.blg-page-tmp .brxe-post-content li:not(:last-of-type) {
	margin-bottom: 20px;
}
.blg-page-tmp .brxe-post-content blockquote ul li:not(:last-of-type),
.blg-page-tmp .brxe-post-content blockquote ol li:not(:last-of-type) {
	margin-bottom: 20px;
}

/* Bold ordered list numbers */
.blg-page-tmp .brxe-post-content ol li::marker {
	font-weight: 500;
}

/* =========================================================
LEGAL PAGES TEMPLATE
========================================================= */

body.legal-tmp :where(h2, h3, h4, h5, h6) {
	margin-bottom: 1rem;
	color: #000;
	text-transform: capitalize;
}
body.legal-tmp h1 {
	font-size: clamp(2rem, 5vw, 2.3rem);
}
body.legal-tmp h2 {
	margin-top: 4rem;
	font-size: clamp(2rem, 5vw, 2.3rem);
}
body.legal-tmp h3 {
	margin-top: 2rem;
	font-size: clamp(1.9rem, 5vw, 2rem);
}
body.legal-tmp h4 {
	margin-top: 2rem;
}
body.legal-tmp h5 {
	margin-top: 2rem;
}

/* =========================================================
BLOG ARCHIVE TEMPLATE
========================================================= */

.blg-posts .bricks-layout-inner {
	border-bottom: 1px solid #dddddd;
}
.blg-posts .date-text {
	font-size: 30px;
	line-height: normal;
	font-weight: 700;
}

/* Filter row layout */
.blg-posts .bricks-isotope-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin-bottom: 3rem;
	column-gap: 1.5rem;
	row-gap: 1rem;
}
@media (max-width: 767px) {
	.blg-posts .bricks-isotope-filters {
		justify-content: center;
	}
}

/* =========================================================
FOOTER
========================================================= */

#brx-footer .brxe-social-icons svg {
	width: 20px;
	height: 20px;
}

.ba-before-after-image-label {
    background-color:#30251b6b !important;