/* Owned responsive corrections, loaded after filtered page design. */
.brxe-div, .brxe-div > * { min-width:0; max-width:100%; }
.hero { overflow:hidden; }
.xph-mogini-contact { display:grid; gap:1rem; width:100%; }
.xph-mogini-contact input:not([type=checkbox]), .xph-mogini-contact textarea { color:#102039; background:#fff; border:1px solid #9a8b67; padding:.75rem; border-radius:.2rem; }
.xph-mogini-contact button { background:#c9a84c; color:#070f1c; border:1px solid #c9a84c; padding:1rem 1.5rem; justify-self:start; }
.xph-mogini-contact a { text-decoration:underline; }
.xph-mogini-contact :focus-visible { outline:3px solid #c9a84c; outline-offset:3px; }
@media (max-width: 991px) {
 .hero { display:flex; flex-direction:column; align-items:stretch; height:auto; min-height:0; padding-block:5rem 3rem; }
 .hero-content { padding-inline:clamp(1.5rem,5vw,3rem); max-width:100%; }
 .hero-stats { position:relative; right:auto; bottom:auto; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; margin:3rem clamp(1.5rem,5vw,3rem) 0; gap:2rem; }
 .hero-stat { text-align:left; flex:1 1 8rem; }
 .hero-actions { flex-wrap:wrap; gap:1.5rem; }
 .hero-actions > * { max-width:100%; }
 .hero-scroll { display:none; }
 .dif-inner.brxe-div { grid-template-columns:minmax(0,1fr); gap:2rem; }
}
@media (max-width: 767px) {
 .brxe-heading { overflow-wrap:anywhere; }
 .section-label { overflow-wrap:anywhere; max-width:100%; }
}

/* Long legal links, cookie tables and inherited comment controls must fit. */
h1,h2,h3,h4,h5,h6,p,li,a,em,td,th { overflow-wrap:anywhere; }
textarea,input,select { max-width:100%; box-sizing:border-box; }
.wordpress { width:100%; padding-inline:clamp(1rem,4vw,2rem); }
table { display:block; max-width:100%; overflow-x:auto; }
#hero { overflow:hidden; }
@media (max-width:991px) {
 #hero { display:flex; flex-direction:column; align-items:stretch; height:auto; min-height:0; padding-block:5rem 3rem; }
}

#brx-footer ul { list-style:none; padding-inline:0; }
@media (max-width:767px) {
 #brx-content h2 { font-size:clamp(3.2rem,8vw,4.2rem); line-height:1.15; letter-spacing:.04em; }
 #brx-content h3 { font-size:2.4rem; line-height:1.25; letter-spacing:.04em; }
 #brx-content h1:not(.hero-title) { max-width:100%; }
 #brx-content .wordpress h1 { font-size:3.4rem; line-height:1.2; }
}

/* Fluid titles preserve whole words within the original grid tracks. */
#brx-content h2 { font-size:clamp(3.2rem,4vw,6.4rem); line-height:1.15; letter-spacing:.025em; }
#brx-content h3 { font-size:2.4rem; line-height:1.25; letter-spacing:.025em; }
@media (max-width:767px) {
 #brx-content h2 { font-size:clamp(3.2rem,8vw,4.2rem); }
 #brx-content h3 { font-size:clamp(1.8rem,5vw,2.4rem); }
}
