/* Warren Private: page section layouts */
.wp-block-post-content > *, .entry-content > * { margin-block-start: 0; }
p { margin-bottom: .9rem; }
.wp-sec { position: relative; width: 100%; max-width: none !important; margin: 0 !important; }
.wp-in { width: 100%; max-width: 1250px; margin-left: auto !important; margin-right: auto !important; }
.wp-block-group > .wp-in--1250 { max-width: 1250px; }
.wp-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.bh-eyebrow-heading { display: flex; flex-direction: column; gap: 8px; text-align: left; }
.wp-sec .wp-block-image { margin: 0; }
.wp-sec .wp-block-image img { width: 100%; }

/* About */
.wp-about { background: #fff; padding: 100px 0; }
.wp-about__in { max-width: 1200px; display: flex; gap: 20px; }
.wp-about__in > .wp-col { flex: 1 1 0; }
.wp-about .wp-cardgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 40px; }
.wp-cardbox__num { font-family: var(--wp--preset--font-family--eb-garamond); font-size: 25px; font-weight: 600; line-height: 40px; color: #0c2b1f; margin: 0; }
.wp-cardbox__txt { margin: 0 0 .9rem; }
.wp-cardbox:first-child .wp-cardbox__txt { max-width: 214px; }
.wp-about__media .wp-cover { height: 600px; }
.wp-about__media .wp-cover img { height: 600px; object-fit: cover; object-position: center; }

/* Projects */
.wp-projects { background: #fff; padding: 150px 0; margin-left: -10px !important; overflow: hidden; }

/* Partner */
.wp-partner { background-color: #113628; padding: 150px 0; }
.wp-partner::before, .wp-faq::before { content: ""; position: absolute; inset: 0; pointer-events: none; }
.wp-partner::before { background: #0B2B1E; opacity: .5; }
.wp-partner > * { position: relative; z-index: 1; }
.wp-head2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wp-partner .bh-heading { color: #EEDFDA; }
.wp-partner p { color: #fff; }
.wp-partner__img { padding-top: 50px; }
@media (min-width: 1025px) { .wp-partner { background-attachment: fixed; } }

/* Flexible capital */
.wp-flex { background: #EEDFDA; padding: 240px 15px 130px; }
.wp-flex__in { display: flex; gap: 5%; align-items: flex-start; }
.wp-flex__text { flex: 0 0 47.7%; padding: 60px 15px 0; display: flex; flex-direction: column; gap: 0; }
.wp-flex__text .bh-eyebrow-heading { margin-bottom: 10px; }
.wp-flex__media { flex: 0 0 47.3%; padding: 10px; }
.wp-flex__media .wp-block-image { padding-top: 65px; }
.wp-flex__media img { height: 400px; object-fit: cover; }

/* FAQ */
.wp-faq { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 10px; }
.wp-faq::before { background-image: linear-gradient(270deg, #0B2B1E 31%, rgba(11,43,30,.3) 100%); opacity: .93; }
.wp-faq > * { position: relative; z-index: 1; }
.wp-faq__in { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.wp-faq .bh-heading { color: #EEDFDA; }
.wp-accordion { display: flex; flex-direction: column; gap: 24px; }
.wp-accordion details { color: #fff; }
.wp-accordion summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px; border-bottom: 1px solid #d5d8dc; text-transform: uppercase; font-weight: 400; font-size: 1rem; color: #fff; transition: color .3s; }
.wp-accordion summary::-webkit-details-marker { display: none; }
.wp-accordion summary::after { content: ""; flex: 0 0 13px; width: 13px; height: 13px; background: linear-gradient(#fff,#fff) center / 100% 2px no-repeat, linear-gradient(#fff,#fff) center / 2px 100% no-repeat; }
.wp-accordion details[open] summary::after { background: linear-gradient(#fff,#fff) center / 100% 2px no-repeat; }
.wp-accordion summary:hover { color: #C8A96E; }
.wp-accordion details > .wp-accordion__content { padding: 10px; border-bottom: 1px solid #d5d8dc; }
:root body .wp-accordion .wp-accordion__content > p { color: #fff; }

/* Team */
.wp-team { background: #EEDFDA; padding: 150px 0; }
.wp-team .wp-in > * + * { margin-top: 20px; }
.wp-teamgrid__items { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 20px; row-gap: 0; }
.wp-teamgrid__item { display: block; }
.wp-teamgrid__item { min-width: 0; padding: 20px 10px; }

@media (max-width: 1024px) {
	.wp-partner { background-attachment: scroll; padding: 130px 15px; }
}
@media (max-width: 767px) {
	.wp-about { padding: 0; }
	.wp-about__in { flex-direction: column; }
	.wp-about__text { padding: 15% 5%; }
	.wp-about__media .wp-cover, .wp-about__media .wp-cover img { height: 300px; }
	.wp-projects { padding: 15% 0; }
	.wp-partner { padding: 0; }
	.wp-partner .wp-head2 { padding: 15% 5%; }
	.wp-head2 { grid-template-columns: 1fr; }
	.wp-partner__img { padding-top: 0; }
	.wp-partner__img img { height: 300px; object-fit: cover; object-position: center right; }
	.wp-flex { padding: 0; }
	.wp-flex__in { flex-direction: column; gap: 0; }
	.wp-flex__text { flex: 1 1 auto; padding: 15% 5%; }
	.wp-flex__media { flex: 1 1 auto; padding: 0; width: 100%; }
	.wp-flex__media .wp-block-image { padding-top: 0; }
	.wp-flex__media img { height: 300px; width: 100%; }
	.wp-team { padding: 13.5% 5%; }
	.wp-teamgrid__items { grid-template-columns: 1fr; }
}

/* Eyebrow heading */
.bh-eyebrow-heading { text-align: left; gap: 8px; }
.bh-eyebrow-heading .bh-row { gap: 10px; }
.bh-eyebrow-heading .bh-line { height: 1.2px; width: 75px; border-radius: 2px; transform: translateY(0); }
.bh-eyebrow-heading .bh-label { color: #c8a96e; font-family: var(--wp--preset--font-family--eb-garamond), serif; font-weight: 600; text-transform: uppercase; }
.bh-eyebrow-heading .bh-heading { color: #0B2B1E; font-family: var(--wp--preset--font-family--eb-garamond), serif; font-size: 2em; font-weight: 500; text-transform: uppercase; line-height: 1.2em; }
@media (max-width: 1024px) { .bh-eyebrow-heading .bh-heading { font-size: 30px; line-height: 39px; } }
.wp-partner .bh-heading, .wp-faq .bh-heading { color: #EEDFDA; }
/* Text blocks: Plus Jakarta Sans, grey */
.wp-sec .wp-block-group > p { font-family: var(--wp--preset--font-family--plus-jakarta-sans), sans-serif; color: #707070; }
.wp-partner p { color: #fff; }

:root body .wp-sec .wp-cardbox__num { font-family: var(--wp--preset--font-family--eb-garamond), serif; color: #0c2b1f; }

/* About: extra 10px under the text */
:root body .wp-about .wp-about__text > p { margin-bottom: calc(.9rem + 10px); }

/* Nav pointer pseudo-elements stay hidden until hover/focus/active */
.bh-menu .elementor-item::after, .bh-menu .elementor-item::before { display: block; position: absolute; transition: .3s cubic-bezier(.58,.3,.005,1); }
.bh-menu .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted)::after,
.bh-menu .elementor-item:not(:hover):not(:focus):not(.elementor-item-active):not(.highlighted)::before { opacity: 0; }

.bhtc-btn i svg { display: block; }
.bh-header img { vertical-align: middle; }

/* ---- Spacing overrides (beat core flow-layout margin-block resets) ---- */
.wp-sec .wp-block-group > p { margin: 0 0 .9rem; }
.wp-projects .wp-in { display: flow-root; }
.wpw-wrap { margin: -30px; }
:root body .wp-sec .wp-block-group > p { margin-bottom: .9rem; }
:root body .wp-sec .wp-cardbox > .wp-cardbox__num { margin-bottom: 0; }
:root body .wp-sec .wp-cardbox__txt { margin-bottom: .9rem; }
:root body .wp-sec .wp-cardbox:first-child .wp-cardbox__txt { margin-bottom: 10px; }
:root body .wp-projects .wp-in .wpw-wrap { margin-top: -30px; margin-bottom: -30px; }
:root body .wp-about .wp-about__text > p { margin-bottom: calc(.9rem + 10px); }

/* =========================== ABOUT =========================== */
.wp-ahero { position: relative; min-height: 80vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 5% 0 0; background-color: #0B2B1E; }
.wp-ahero::before { content: ""; position: absolute; inset: 0; background: #0B2B1E; opacity: .8; pointer-events: none; }
.wp-ahero > * { position: relative; z-index: 1; }
.wp-ahero__wrap { width: 100%; }
.wp-ahero__in { padding-right: 36%; margin-top: -2%; display: flex; flex-direction: column; gap: 20px; }
.wp-ahero .wp-ahero__p { color: #fff; font-family: var(--wp--preset--font-family--plus-jakarta-sans), sans-serif; font-size: 1em; font-weight: 400; line-height: 1.6em; }
.wp-ahero__btns { margin: 0; display: block; }
.wp-ahero__btns .wp-block-button { width: 100%; }
.wp-ahero__btns .wp-block-button__link { width: auto; }
:root body .wp-ahero .wp-ahero__in { margin-top: -2%; }
.wp-btn-gold .wp-block-button__link { display: inline-flex; align-items: center; flex-direction: row; gap: 1.7em; background: #C8A96E; border: 1px solid #C8A96E; border-radius: 1px; color: #fff; font-family: var(--wp--preset--font-family--plus-jakarta-sans), sans-serif; font-size: 15px; font-weight: 500; line-height: 15px; text-transform: uppercase; padding: 2% 4% 2% 3%; transition: background-color .3s, color .3s; }
.wp-btn-gold .wp-block-button__link::before { content: ""; flex: 0 0 15px; width: 15px; height: 11.25px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M15.53 6.53a.75.75 0 0 0 0-1.06L10.757.697a.75.75 0 1 0-1.06 1.06L13.94 6l-4.243 4.243a.75.75 0 1 0 1.06 1.06zM0 6.75h15v-1.5H0z'/%3E%3C/svg%3E") no-repeat center / contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M15.53 6.53a.75.75 0 0 0 0-1.06L10.757.697a.75.75 0 1 0-1.06 1.06L13.94 6l-4.243 4.243a.75.75 0 1 0 1.06 1.06zM0 6.75h15v-1.5H0z'/%3E%3C/svg%3E") no-repeat center / contain; }
.wp-btn-gold .wp-block-button__link:hover, .wp-btn-gold .wp-block-button__link:focus { background: #0B2B1E; color: #EEDFDA; }

.wp-split { padding: 10% 0; }
.wp-split--white { background: #fff; }
.wp-split--cream { background: #F6EDEB; }
.wp-split__in { display: flex; gap: 10%; align-items: stretch; }
.wp-split--1140 .wp-in { max-width: 1140px; }
.wp-split__in > * { flex: 1 1 50%; min-width: 0; }
.wp-split__media { display: flex; flex-direction: column; justify-content: flex-start; gap: 20px; }
.wp-split--story .wp-split__media { justify-content: center; }
.wp-split__text { padding: 10px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.wp-cover--375 img { height: 375px; object-fit: cover; object-position: center; }
.wp-cover--415 img { height: 415px; object-fit: cover; object-position: center; }

.wp-us { position: relative; padding: 10% 0; background-color: #0B2B1E; }
.wp-us::before { content: ""; position: absolute; inset: 0; background: #0B2B1E; opacity: .7; pointer-events: none; }
.wp-us > * { position: relative; z-index: 1; }
@media (min-width: 1025px) { .wp-us { background-attachment: fixed; } }
.wp-us__head { padding: 10px; display: flex; flex-direction: column; gap: 20px; }
.wp-us__cols { columns: 2; column-gap: 20px; }
:root body .wp-us .wp-us__cols p { color: #fff; font-family: var(--wp--preset--font-family--plus-jakarta-sans), sans-serif; font-size: 1em; font-weight: 400; line-height: 1.4em; }
.wp-us__grid { padding-top: 5%; }
.wp-icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.wp-icon-grid__item { display: flex; }
.wp-icon-grid .elementor-icon-box-wrapper { display: flex; flex-direction: column; gap: 20px; flex: 1 1 auto; text-align: center; }
.wp-icon-grid .elementor-icon-box-icon { display: flex; justify-content: center; }
.wp-icon-grid .elementor-icon svg { width: 1em; height: 1em; font-size: 28px; }
.wp-icon-grid .elementor-icon-box-title { margin-block: .5rem 0; }
.wp-icon-grid .elementor-icon-box-description { margin: 0; font-family: var(--wp--preset--font-family--plus-jakarta-sans), sans-serif; font-size: 14.5px; line-height: 1.75; }

@media (max-width: 767px) {
	.wp-ahero { min-height: 100vh; padding: 30% 5% 5%; }
	.wp-ahero::before { opacity: .7; }
	.wp-ahero__in { padding: 0; margin: 0; }
	.wp-btn-gold .wp-block-button__link { padding: 8%; }
	:root body .wp-split--bpad5 .wp-split__body { margin-top: calc(20px - 7%); }
	.wp-split--1140 .wp-split__in { flex-direction: column-reverse; }
	.wp-split { padding: 0; }
	.wp-split__in { flex-direction: column; gap: 0; }
	.wp-split__text { padding: 15% 5% 5%; }
	.wp-split--cream .wp-split__text { padding: 15% 5% 5%; }
	.wp-us { padding: 9% 5%; }
	.wp-us__cols { columns: 1; }
	.wp-icon-grid { grid-template-columns: 1fr; }
}


:root body .wp-icon-grid .elementor-icon-box-description { margin-bottom: 0; }

@media (max-width: 767px) {
	.wp-split.wp-split--story { padding-bottom: 15%; }
	.wp-ahero .wp-ahero__btns { height: 56.7px; }
}

/* Header glass fades in after load */
.bh-header:not(.is-ready) { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; border-bottom-color: transparent !important; }
.bh-header:not(.is-ready)::after { display: none; }
/* no gradient texture on the CTA section */
.wp-end .wp-cta2 { background-image: none; }
@media (max-width: 1024px) { :root body .wpw-section-heading { font-size: 30px; line-height: 39px; } }
/* Home split column widths */
@media (min-width: 768px) {
	.wp-flex__in > .wp-flex__text { flex: 0 0 calc(47.492% + 2.78px); }
	.wp-flex__in > .wp-flex__media { flex: 0 0 calc(47.52% - 2.9px); }
}

/* Inner-page hero paragraphs stay white (the generic `.wp-sec .wp-block-group > p` grey was winning on specificity) */
.wp-sec.wp-ahero .wp-block-group.wp-ahero__in > p.wp-ahero__p { color: #fff; }
