/* Rules for markup the Next.js build changes from the WordPress original. Served as-is (not bundled). */

/* Sections that lost their <section> tag (no heading) keep ACSS's top-level section padding. */
:where(.bn-section:not(section .bn-section)){padding-block:var(--section-padding-block);padding-inline:var(--gutter)}

/* Bricks nested accordions rendered as <details>/<summary>. */
.brxe-accordion-nested summary{list-style:none;cursor:pointer}
.brxe-accordion-nested summary::-webkit-details-marker{display:none}
.brxe-accordion-nested details[open]>.accordion-content-wrapper{display:block}

/* Footer contact block is an <address>. */
address{font-style:normal}

/* Menu items that only open a submenu carry no href. */
.brx-submenu-toggle>a[role=button]{cursor:pointer}

/* WP Rocket's YouTube placeholder, now a real iframe (same box as the live site). */
.rll-youtube-player{position:relative;padding-bottom:56.23%;height:0;overflow:hidden;max-width:100%}
.rll-youtube-player iframe{position:absolute;top:0;left:0;width:100%;height:100%;z-index:100;background:0 0;border:0}

/* Forms */
.bn-honeypot{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.bn-form-error{margin-top:var(--space-xs,.75rem);padding:.75rem 1rem;border-radius:var(--radius-m,8px);background:#fdecea;color:#7a1f16;font-size:1.5rem}
.gform_wrapper .gform_confirmation_wrapper>.gform_confirmation_message:first-child{display:block;font-size:1.6rem}
.gform_confirmation_message{padding:var(--space-s,1.25rem);border-radius:var(--radius-m,8px);background:var(--accent-ultra-light,#f3f5fa);color:var(--primary,#0c2340);font-size:1.6rem;line-height:1.5}
.gform_wrapper.gravity-theme .gfield legend.gfield_label{color:#000}
.brx-popup .gform_wrapper.gravity-theme,.brx-popup .gform_wrapper.gravity-theme :is(input,select,legend,label){text-align:left}
.gform_wrapper.gravity-theme .gfield--type-date .ginput_complex{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:6px}
.gform_wrapper.gravity-theme .gfield--type-date .ginput_complex .ginput_container_date{max-width:none;min-width:0;flex:none;margin:0;padding:0}
.gform_wrapper.gravity-theme .gfield--type-date .ginput_complex .ginput_container_date input{width:100%;min-width:0;-moz-appearance:textfield;appearance:textfield}
.gform_wrapper.gravity-theme .gfield--type-date input::-webkit-inner-spin-button,.gform_wrapper.gravity-theme .gfield--type-date input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
form[data-gf-id].is-sending .gform_footer [type=submit]{opacity:.6;pointer-events:none}

.bn-contents{display:contents}
.bn-gap-before{padding-top:2lh}
:is(h2,h3):where(.bn-h){font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;max-width:none;text-wrap:inherit}
:is(h2,h3):where(.bn-p){line-height:var(--text-line-height, calc(6px + 2ex))}
:is(h2,h3):where(.bn-h) a{font-weight:var(--link-weight, 700)}
.iop-team-card h3.bn-h{line-height:inherit}
h2.bn-as-h3{font-size:var(--h3);line-height:var(--h3-line-height);max-width:var(--h3-max-width)}

.brxe-shortcode:has(>.bn-reviews-static){grid-column:1/-1}
.bn-reviews-static{list-style:none;margin:2.4rem 0 0;padding:.4rem .4rem 1.6rem;display:grid;grid-auto-flow:column;grid-auto-columns:min(85%,32rem);gap:2.4rem;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:.4rem;text-align:left}
@media (min-width:768px){.bn-reviews-static{grid-auto-columns:calc((100% - 7.2rem)/3.25)}}
.bn-reviews-static:focus-visible{outline:2px solid #0c2340;outline-offset:2px}
.bn-review{scroll-snap-align:start}
.bn-review{display:flex;flex-direction:column;gap:1.2rem;margin:0;padding:2.4rem;background:#fff;border:1px solid #e3e7ef;border-radius:1.2rem;box-shadow:0 .4rem 1.6rem rgba(12,35,64,.06)}
.bn-review__stars{color:#f5b301;font-size:1.8rem;letter-spacing:.2rem;line-height:1}
.bn-review__text{margin:0;padding:0;border:0;font-family:inherit;font-style:normal;quotes:none;font-size:1.5rem;line-height:1.7;color:#3b4656;white-space:pre-line;flex:1}
.bn-review__text p{margin:0}
.bn-review__by{display:flex;flex-direction:column;gap:.2rem;margin:0;font-size:1.3rem;color:#5a6270}
.bn-review__name{font-weight:700;color:#0c2340;font-size:1.5rem}
#brxe-obh-reviewer{border:1px solid rgba(0,0,0,.17);border-radius:8px;margin-top:var(--space-l);margin-bottom:var(--space-m);padding-top:var(--space-m);padding-right:var(--space-s);padding-bottom:var(--space-m);padding-left:var(--space-s);font-size:calc(var(--text-s)*1.2)}#brxe-obh-reviewer .bricks-button{border:1px solid var(--bricks-border-color);border-radius:8px}@media (max-width:478px){#brxe-obh-reviewer .author-bio{font-size:var(--text-s)}}
.obh-byline-cards{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-s);margin-top:var(--space-l);margin-bottom:var(--space-m)}.obh-byline-cards #brxe-qwnkae,.obh-byline-cards #brxe-obh-reviewer{margin:0;padding:var(--space-s);font-size:var(--text-xs);height:100%}.obh-byline-cards .obh-byline-role{margin:0 0 .2em;font-size:var(--text-xs);text-transform:uppercase;letter-spacing:.04em;opacity:.7}.obh-byline-cards .author-name{font-size:var(--text-m);line-height:1.2}.obh-byline-cards .author-bio{font-size:var(--text-xs);line-height:1.45}.obh-byline-cards .bricks-button{font-size:var(--text-xs);padding:.35em .9em;margin-top:.6em}@media (max-width:767px){.obh-byline-cards{grid-template-columns:1fr}}
.obh-video-split{display:grid;grid-template-columns:2fr 3fr;gap:var(--space-l);align-items:center;width:100%}.obh-video-split__text p{margin-top:var(--space-s)}.obh-video-split .brxe-heading{margin:0}@media (max-width:991px){.obh-video-split{grid-template-columns:1fr}}
