/* Newsletter fields only: preserve the existing desktop enclosure and sizing. */
/* Authors newsletter: keep both controls in normal flow, with a real gap. */
.elementor-699 .mc4wp-form .mc4wp-form-fields { display:block;padding:0;border:0;min-height:0; }
.elementor-699 .mc4wp-form .custom-newsletter { display:flex !important;align-items:center;gap:16px !important;width:100%;max-width:100%;padding:8px;border:1px solid #b4afa4;box-sizing:border-box; }
.elementor-699 .mc4wp-form .custom-newsletter input[type="email"] { flex:1 1 0;width:auto !important;min-width:0;max-width:100%;height:52px;box-sizing:border-box;padding:10px 12px !important;margin:0 !important; }
.elementor-699 .mc4wp-form .custom-newsletter :is(button,input)[type="submit"] { position:static !important;flex:0 0 auto;width:auto !important;max-width:100%;min-height:48px;margin:0 !important;padding:12px 20px !important;box-sizing:border-box;white-space:nowrap; }
.elementor-699 .mc4wp-form .custom-newsletter input[type="email"]:focus-visible { outline:2px solid #7ba484 !important;outline-offset:-2px !important;box-shadow:none !important; }
@media(max-width:767px) {
 .elementor-699 .mc4wp-form .custom-newsletter input[type="email"] { flex:none;min-height:52px; }
}
/* Button labels are not inline text links. Preserve focus outlines and navigation indicators. */
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) :is(a.elementor-button,a.bdt-ep-static-carousel-readmore),
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) :is(a.elementor-button,a.bdt-ep-static-carousel-readmore):is(:hover,:focus,:active),
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .elementor-button .elementor-button-text { text-decoration:none !important; }
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter input[type="email"]:focus { outline: none; box-shadow: inset 0 0 0 1px #7ba484 !important; }
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter :is(input[type="email"],button[type="submit"],input[type="submit"]):focus-visible { outline: 2px solid #7ba484 !important; outline-offset: 2px; }
@media (max-width:767px) {
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter input[type="email"] { box-sizing: border-box; border: 1px solid #b4afa4 !important; border-radius: 0; padding: 9px 14px !important; }
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter input[type="email"]:hover { border-color: #b4afa4 !important; }
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter input[type="email"]:focus { border-color: #7ba484 !important; box-shadow: none !important; }
}

/* Prevent accidental selection of header logo */
.elementor-widget-theme-site-logo,
.elementor-widget-image img,
.custom-logo-link {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Inferred tablet/mobile adaptations. Desktop and saved Elementor settings stay intact. */
@media (max-width: 1024px) {
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .e-con { min-width: 0; }
 :is(.elementor-198,.elementor-458,.elementor-650) :is(.e-heading-base,.e-paragraph-base) { max-width: 100%; min-width: 0; white-space: normal; overflow-wrap: break-word; }
 .elementor-198 .e-heading-base { line-height: 1.2; }
 .elementor-198 [data-interaction-id="47d0108"] { font-size: 40px; }
 .elementor-198 [data-interaction-id="cd67d6c"] { font-size: 36px; line-height: 1.25; }
 .elementor-198 [data-interaction-id="c6c3e74"] { font-size: 17px; line-height: 1.65; padding-inline: 24px; }
 .elementor-198 .bdt-ep-static-carousel { max-width: 100%; }
 .elementor-198 .bdt-navigation-prev { left: 4px !important; }
 .elementor-198 .bdt-navigation-next { right: 4px !important; }
 .elementor-650 .bpf-book-toc .e-con { min-width: 0 !important; max-width: 100% !important; }
 .elementor-650 .bpf-book-toc .bpf-book-toc-row { width: 100% !important; }
 .elementor-650 .bpf-book-toc > .e-con-inner > .e-con { width: 100% !important; }
 .elementor-650 .elementor-element-b000087 { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
 .elementor-650 .bpf-book-toc-row { width: 100% !important; max-width: 100% !important; min-width: 0 !important; padding: 16px 20px !important; }
 .elementor-650 .bpf-book-toc-row .e-con { min-width: 0 !important; max-width: 100% !important; }
 .elementor-650 .bpf-book-toc-row > .e-con:first-child,
 .elementor-650 .bpf-book-toc-row > .e-con:nth-child(2) > .e-con { display: grid !important; width: 100% !important; grid-template-columns: minmax(0,1fr) 3rem; gap: 12px; align-items: start; }
 .elementor-650 .bpf-book-toc-row .elementor-widget-text-editor { min-width: 0; max-width: 100%; width: auto !important; font-size: 16px !important; line-height: 1.55 !important; overflow-wrap: anywhere; }
 .elementor-650 .bpf-book-toc-row .elementor-widget-text-editor:last-child { text-align: right; white-space: nowrap; }
 .elementor-650 .bpf-book-toc-row > .e-con:nth-child(2) { width: auto !important; margin-inline-start: 20px !important; align-self: stretch; }
 .bpf-authors-page .bpf-career-card { min-width: 0; }
}
@media (max-width: 767px) {
 :is(.elementor-198,.elementor-458,.elementor-650) :is(h1,h2).e-heading-base { font-size: 32px; line-height: 1.2; }
 :is(.elementor-198,.elementor-458,.elementor-650) .e-paragraph-base { font-size: 17px; line-height: 1.65; }
 .elementor-198 > .e-con:first-child .e-heading-base { font-size: 46px; line-height: 1.1; }
 .elementor-198 > .e-con:first-child [data-interaction-id="6a20bd7"] { font-size: 23px; line-height: 1.35; }
 .elementor-198 > .e-con:first-child [data-interaction-id="7e6ab08"] { font-size: 15px; line-height: 1.5; }
 .elementor-198 [data-interaction-id="bb4ebe3"] { font-size: 16px; }
 .elementor-198 [data-interaction-id="47d0108"] { font-size: 30px; }
 .elementor-198 [data-interaction-id="cd67d6c"] { font-size: 30px; }
 .elementor-198 [data-interaction-id="c6c3e74"] { font-size: 16px; padding-inline: 20px; }
 .elementor-198 [data-interaction-id="c6c3e74"] br { display: none; }
 .elementor-198 .elementor-element-0b5e70c { display: flex !important; flex-direction: column !important; gap: 12px; align-items: flex-start; }
 .elementor-198 .elementor-element-0b5e70c > * { width: 100% !important; max-width: 100%; }
 .elementor-198 [data-interaction-id="a00dcb9"] { font-size: 17px; }
 body.page-id-198 .page-header { display: none; }
 .elementor-198 :is(.elementor-element-a996f36,.elementor-element-021e403) { padding: 36px 20px !important; }
 .elementor-458 :is(.elementor-element-77e9cf6,.elementor-element-df0c6b1) { padding-inline: 0 !important; }
 :is(.elementor-198,.elementor-458) .e-grid-base { column-gap: 24px; }
 :is(.elementor-198,.elementor-458) .mc4wp-form .custom-newsletter { display: flex !important; flex-direction: column; gap: 10px; width: 100%; }
 :is(.elementor-198,.elementor-458) .mc4wp-form .custom-newsletter input[type="email"] { width: 100% !important; min-width: 0; max-width: 100%; font-size: 17px; }
 :is(.elementor-198,.elementor-458) .mc4wp-form .custom-newsletter :is(button,input)[type="submit"] { position: static !important; width: 100% !important; min-height: 48px; }
 :is(.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter { display: flex !important; flex-direction: column !important; gap: 10px; width: 100%; max-width: none; padding: 0; border: 0; }
 :is(.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter input[type="email"] { width: 100% !important; max-width: 100%; min-width: 0; }
 :is(.elementor-650,.elementor-699,.elementor-738,.elementor-757) .mc4wp-form .custom-newsletter :is(button,input)[type="submit"] { width: 100% !important; flex: none !important; min-height: 48px; }
 .bpf-contact-us-page .bpf-contact-benefit { display: flex !important; flex-direction: row !important; align-items: center !important; }
 .bpf-contact-us-page .bpf-contact-split { background: #f3f3f3 !important; }
 .elementor-650 .bpf-book-toc .bpf-book-toc-row { padding-inline: 10px !important; }
 .elementor-650 .bpf-book-toc-row { padding: 14px 10px !important; }
 .elementor-650 .bpf-book-toc-row > .e-con:first-child,
 .elementor-650 .bpf-book-toc-row > .e-con:nth-child(2) > .e-con { grid-template-columns: minmax(0,1fr) 2.25rem; gap: 8px; }
 .elementor-650 .bpf-book-toc-row .elementor-widget-text-editor { font-size: 15px !important; }
 .elementor-650 .bpf-book-toc-row > .e-con:nth-child(2) { margin-inline-start: 12px !important; }
 .elementor-650 :is(.elementor-element-b0000a8,.elementor-element-b0000a6) { width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
 .bpf-authors-page .bpf-career-card { width: 100% !important; padding: 20px !important; }
 .bpf-authors-page .bpf-career-card .elementor-widget-heading { width: 100% !important; }
 .bpf-authors-page .bpf-career-card ul { padding-inline-start: 20px; }
 .bpf-authors-page .bpf-timeline-row { flex-direction: row !important; align-items: flex-start; gap: 14px !important; }
 .bpf-authors-page .bpf-timeline-row > .elementor-widget-heading:first-child { flex: 0 0 72px !important; width: 72px !important; }
 .bpf-authors-page .bpf-timeline-row > .e-con:last-child { flex: 1 1 auto !important; width: auto !important; min-width: 0; }
}

/* Form361 only: separate layout tracks guarantee a real gap despite legacy
   absolute-positioned button and full-width input rules in the saved form. */
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 .custom-newsletter {
 display:grid !important;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:16px !important;
 width:100% !important;max-width:none !important;min-height:70px;padding:7px !important;border:1px solid #b4afa4 !important;box-sizing:border-box;
}
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 { width:100%;max-width:none; }
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 .custom-newsletter input[type="email"] {
 width:100% !important;min-width:0 !important;max-width:100% !important;box-sizing:border-box !important;margin:0 !important;transform:none !important;
 height:52px;min-height:52px;padding:12px !important;font-size:21px;border:0 !important;background:transparent;
}
:is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 .custom-newsletter :is(button,input)[type="submit"] {
 position:static !important;inset:auto !important;transform:none !important;width:auto !important;max-width:100%;margin:0 !important;box-sizing:border-box !important;
 min-height:54px;padding:12px 18px !important;font-size:18px;
}
@media(max-width:767px) {
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 .custom-newsletter { grid-template-columns:minmax(0,1fr); }
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 .custom-newsletter input[type="email"] { font-size:17px; }
 :is(.elementor-198,.elementor-458,.elementor-650,.elementor-699,.elementor-738,.elementor-757,.elementor-766) .mc4wp-form.mc4wp-form-361 .custom-newsletter :is(button,input)[type="submit"] { width:100% !important; }
}
