
/* ==================================
OVERRIDES
================================== */

/* Shared transparent header */
:is(
	.single-post,
	.single-community,
	.single-sale,
	.single-rental,
	.post-type-archive-sale,
	.post-type-archive-rental,
	.post-type-archive-market-report,
	.post-type-archive-quote,
	.tax-sale-status,
	.tax-rental-status,
	.tax-community-type,
	.category
) #masthead {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 9999;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

:is(
	.single-post,
	.single-community,
	.single-sale,
	.single-rental,
	.post-type-archive-sale,
	.post-type-archive-rental,
	.post-type-archive-market-report,
	.post-type-archive-quote,
	.tax-sale-status,
	.tax-rental-status,
	.tax-community-type,
	.category
) :is(
	.main-header-bar,
	.ast-primary-header-bar,
	.site-primary-header-wrap,
	.ast-builder-grid-row
) {
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

/* Single post transparent header tweak */
.single-post .site-content {
	padding-top: 0 !important;
}


@media (max-width: 921px) {
	figure.bbt-image-3x4-top {
		overflow: hidden;
		aspect-ratio: 3 / 4;
		line-height: 0;
		margin: 0;
	}

	figure.bbt-image-3x4-top > img {
		display: block;
		width: 100% !important;
		height: 100% !important;
		min-height: 100% !important;
		object-fit: cover !important;
		object-position: top center !important;
	}
}

@media (max-width: 921px) {
    .bbt-team-block-padding-rl {
        padding-right: 30px !important;
        padding-left: 30px !important;
    }

    .bbt-contact-form {
        margin-top: 10px !important;
    }
}
