/* Applied only after the verified contact block is present. Native newsletter
 * markup, validation, submission and page-specific exclusion remain unchanged. */
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) {padding:40px 32px 22px!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-24f9371>.e-con-inner{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;gap:0 42px!important;align-items:start!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) #hpf-personal-contact{grid-column:1!important;grid-row:1!important;order:0!important;min-width:0;margin:0;padding:0;color:#fff;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-label{margin:0 0 10px!important;font-size:12px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:.12em;text-transform:uppercase;color:#c1e4ef!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-title{margin:0 0 23px!important;padding:0!important;border:0!important;font-size:30px!important;line-height:1.17!important;letter-spacing:-.03em;font-weight:600!important;font-style:normal!important;text-align:left!important;text-transform:none!important;color:#fff!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-person{display:grid;grid-template-columns:min(138px,37%) minmax(0,1fr);gap:22px;align-items:center;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-portrait{margin:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-portrait img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:13px!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-portrait figcaption{margin:8px 0 0;text-align:center;font-size:13px;line-height:1.4;color:#d2e9f1;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy p{margin:0 0 15px!important;font-size:17px!important;line-height:1.5!important;color:#e4f2f7!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy .hpf-phone{display:inline-block;margin-bottom:7px;color:#fff!important;font-size:24px!important;line-height:1.3!important;font-weight:600!important;letter-spacing:-.025em;text-decoration:none!important;white-space:nowrap;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy .hpf-email{display:inline-block;color:#d0e7f0!important;font-size:15px!important;line-height:1.5!important;text-decoration:underline!important;text-underline-offset:3px;overflow-wrap:anywhere;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) a.hpf-course{display:inline-flex;align-items:center;gap:17px;margin-top:23px;padding:11px 17px;border:1px solid #afcfdf99;border-radius:7px;text-decoration:none!important;font-size:15px!important;line-height:1.5!important;font-weight:500;color:#fff!important;background:#ffffff08;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) a.hpf-course:hover{background:#ffffff18;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) #hpf-personal-contact a:focus-visible{outline:3px solid #c1e4ef;outline-offset:5px;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter{grid-column:2!important;grid-row:1!important;order:1!important;display:flex!important;flex-direction:column!important;gap:14px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 0 0 42px!important;border:0!important;border-left:1px solid #a4cad340!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter__intro{display:block!important;order:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter__intro>:is(h2,p:first-of-type){position:static!important;width:auto!important;height:auto!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter__intro h2{font-size:26px!important;line-height:1.2!important;font-weight:600!important;margin:0 0 10px!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter__intro p{margin:0 0 8px!important;font-size:14px!important;line-height:1.5!important;color:#e0eff5!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter__intro p:nth-of-type(n+2){font-size:12px!important;color:#c4dfe9!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter__form{display:block!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter .acym__subscription__form__shortcode{padding:0!important;margin:0!important;background:transparent!important;border:0!important;height:auto!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 .acym__subscription__form__fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 :is(.fieldacy1,.fieldacy2){max-width:none!important;width:100%!important;grid-column:auto!important;margin:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 :is(label,.acym__users__creation__fields__title){font-size:14px!important;line-height:1.5!important;color:#e7f3f7!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 .acym__subscription__form__lists{grid-column:1/-1!important;order:-1!important;display:flex!important;flex-wrap:wrap;gap:8px 18px!important;margin:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 .acym__subscription__form__lists label{width:auto!important;max-width:100%!important;margin:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 .acym__subscription__form__termscond{grid-column:1/-1!important;order:1!important;margin:0!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 :is(.fieldacy1,.fieldacy2) input{width:100%!important;max-width:none!important;min-height:44px!important;margin:5px 0 0!important;padding:9px 11px!important;background:#fff!important;border:1px solid #d6e6ee!important;border-radius:5px!important;font-size:16px!important;line-height:1.4!important;color:#193f4e!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px;min-height:17px;margin:3px 0 0!important;accent-color:#b8e6ef;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter .hnt-footer-newsletter__form a{color:#fff!important;text-underline-offset:3px;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 .acym__subscription__form__button{margin-top:14px!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 button[type=submit]{width:auto!important;min-width:145px;min-height:44px;padding:10px 19px!important;margin:0!important;background:#fff!important;color:#236c88!important;border:0!important;border-radius:6px!important;font-size:16px!important;line-height:1.5!important;font-weight:600!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 button[type=submit]:is(:hover,:focus-visible){background:#dff1f7!important;color:#193f4e!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter :is(input,button,a):focus-visible{outline:2px solid #b8e6ef!important;outline-offset:3px;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-e406175{grid-column:1/-1!important;grid-row:2!important;order:2!important;margin:30px 0 27px!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700{grid-column:1/-1!important;grid-row:3!important;order:3!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:22px!important;padding-bottom:24px!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700 .elementor-widget-heading{position:static!important;width:auto!important;height:auto!important;margin:0 0 10px!important;padding:0!important;overflow:visible!important;clip:auto!important;clip-path:none!important;white-space:normal!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700 .elementor-widget-heading :is(h2,h3){font-size:15px!important;line-height:1.45!important;font-weight:600!important;margin:0!important;color:#fff!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700 :is(a,.elementor-icon-list-text){font-size:14px!important;line-height:1.5!important;color:#cce5ef!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700 a{min-height:36px!important;padding:6px 0!important;text-decoration:none!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700 a:hover{text-decoration:underline!important;text-underline-offset:3px;color:#fff!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-73ed4fb{grid-column:1/-1!important;grid-row:4!important;order:4!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-24f9371>.e-con-inner:not(:has(>.hnt-footer-newsletter)){grid-template-columns:1fr!important;}
body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-24f9371>.e-con-inner:not(:has(>.hnt-footer-newsletter)) #hpf-personal-contact{grid-column:1/-1!important;max-width:600px;}
/* Hide the old Home-only callout only while the new contact is actually present. */
body:has(.elementor-157 #hpf-personal-contact) .elementor-5061 .elementor-element-e5fa96e{display:none!important;}
@media(max-width:1000px){body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-24f9371>.e-con-inner{gap:0 28px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter{padding-left:28px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-person{gap:16px;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy .hpf-phone{font-size:21px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-title{font-size:28px!important;}}
@media(max-width:760px){body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact){padding:32px 24px 22px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-24f9371>.e-con-inner{grid-template-columns:1fr!important;grid-template-rows:auto auto auto auto auto!important;gap:0!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) #hpf-personal-contact{grid-column:1!important;grid-row:1!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter{grid-column:1!important;grid-row:2!important;margin-top:28px!important;padding:26px 0 0!important;border-left:0!important;border-top:1px solid #a4cad340!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-e406175{grid-row:3!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-25b2700{grid-row:4!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 20px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .elementor-element-73ed4fb{grid-row:5!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-title{max-width:400px;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-person{max-width:500px;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy .hpf-phone{font-size:24px!important;}}
@media(max-width:420px){body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact){padding-inline:20px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-person{grid-template-columns:98px minmax(0,1fr);gap:15px;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-title{font-size:27px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy p{font-size:15px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy .hpf-phone{font-size:20px!important;white-space:normal;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hpf-copy .hpf-email{font-size:13px!important;}body.hirondelle-design-2026.hfd-footer-unified .elementor-157:has(#hpf-personal-contact) .hnt-footer-newsletter #formAcym1 .acym__subscription__form__fields{grid-template-columns:1fr!important;}}

/* Audited per-page contact banners: hide only when their matching footer is present.
 * Deactivating this plugin restores the original banners and their wording. */
body.page-id-20:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="20"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-21:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="21"]) .hfd-modern-training .hfd-modern-bottom-advice{display:none!important;}
body.page-id-21:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="21"]) .hfd-modern-training .hfd-modern-bottom-actions{grid-template-columns:minmax(0,1fr)!important;}
body.page-id-23:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="23"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-24:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="24"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-25:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="25"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-26:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="26"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-27:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="27"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-28:has(.elementor-157 #hpf-personal-contact[data-hpf-context="training"][data-hpf-page="28"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-29:has(.elementor-157 #hpf-personal-contact[data-hpf-context="training"][data-hpf-page="29"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-30:has(.elementor-157 #hpf-personal-contact[data-hpf-context="training"][data-hpf-page="30"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-31:has(.elementor-157 #hpf-personal-contact[data-hpf-context="training"][data-hpf-page="31"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-32:has(.elementor-157 #hpf-personal-contact[data-hpf-context="training"][data-hpf-page="32"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-34:has(.elementor-157 #hpf-personal-contact[data-hpf-context="service"][data-hpf-page="34"]) .hso-contact{display:none!important;}
body.page-id-2818:has(.elementor-157 #hpf-personal-contact[data-hpf-context="course"][data-hpf-page="2818"]) .hfd-modern-training > .hfd-modern-advice{display:none!important;}
body.page-id-3926:has(.elementor-157 #hpf-personal-contact[data-hpf-context="service-detail"][data-hpf-page="3926"]) .hsd-contact{display:none!important;}
body.page-id-3927:has(.elementor-157 #hpf-personal-contact[data-hpf-context="service-detail"][data-hpf-page="3927"]) .hsd-contact{display:none!important;}
body.page-id-3928:has(.elementor-157 #hpf-personal-contact[data-hpf-context="service-detail"][data-hpf-page="3928"]) .hsd-contact{display:none!important;}
body.page-id-3929:has(.elementor-157 #hpf-personal-contact[data-hpf-context="service-detail"][data-hpf-page="3929"]) .hsd-contact{display:none!important;}
