/* site additions: enquiry captcha + DPDP consent rows, message box (no layout overrides) */

/* ---- consent + captcha: ordinary full-width rows inside each form, above the submit button */
form[data-3i] .dpdp-consent-field,form[data-3i] .cf-cap-row{clear:both;float:none;width:100%;box-sizing:border-box}
form[data-3i] .dpdp-consent{display:flex!important;align-items:flex-start;gap:10px;margin:0!important;padding:0!important;
  font-size:14px;line-height:1.55;font-weight:400;text-align:left;cursor:pointer;text-transform:none;letter-spacing:normal;width:100%;box-sizing:border-box}
form[data-3i] .dpdp-consent span{flex:1 1 auto;min-width:0}
form[data-3i] .dpdp-consent a{text-decoration:underline;color:inherit}
form[data-3i] .dpdp-consent input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;
  width:17px!important;height:17px!important;min-width:17px;margin:3px 0 0!important;padding:0!important;flex:0 0 auto;
  position:static!important;opacity:1!important;visibility:visible!important;display:inline-block!important;cursor:pointer}
form[data-3i] .cf-cap-label{display:block;margin:0 0 8px;font-size:14px;line-height:1.4;text-transform:none;letter-spacing:normal}
form[data-3i] .cf-cap-q{display:inline-block;font-weight:600;letter-spacing:.04em;white-space:nowrap}
/*COLORS*/

/* ---- success / error message: below the submit button, full form width */
form[data-3i] .wpcf7-response-output{clear:both!important;float:none!important;width:100%!important;box-sizing:border-box;display:none;position:relative;top:14px;margin:0 0 14px!important;
  padding:10px 12px;border-radius:6px;background:rgba(255,255,255,.95);color:#1c1f24;font-size:15px;line-height:1.5;text-align:left;text-transform:none;letter-spacing:normal}
form[data-3i]::after{content:"";display:block;clear:both}
form[data-3i].failed .wpcf7-response-output{border-left:4px solid #c0392b}
form[data-3i].sent .wpcf7-response-output{border-left:4px solid #1f7a3d}

/* ---- privacy / 404 body */
.dpdp-section{padding:60px 0}
.dpdp-section .dpdp-h1{padding-bottom:20px}
.dpdp-doc h3{padding-top:14px}


/* ---- /reviews/ review form: the plugin's Submit <div> is now a real submit <button> with the same classes;
   a button does not inherit the page font by default, the div did */
form[data-3i] button.wpcr3_button_1{font-family:inherit;line-height:inherit;letter-spacing:inherit;text-transform:none;box-sizing:content-box;vertical-align:baseline}
form[data-3i] .dpdp-consent-field td,form[data-3i] .cf-cap-row td{padding-bottom:4px}

/* ---- measured repairs: sideways scroll (identical on the live site; see layout_shift.json). Scoped to the named components. */
/* header menu: at the widths where it was cut off at the right edge (measured on live, 1px steps: "Women's care"
   981-1065px, "Media" 1065-1310px) its dropdown is moved left to stay on screen; it also caused 21-110px of sideways scroll there.
   Every other width (incl. 1366/1440) unchanged. */
/* (Women's care: moved only as far as the screen edge, so it does not cover "Media" in the second menu row) */
@media (min-width:981px) and (max-width:1070px){.et-l--header .et-menu.nav>li.menu-item-680>ul.sub-menu{left:auto!important;right:-36px!important}}
@media (min-width:1060px) and (max-width:1320px){.et-l--header .et-menu.nav>li.menu-item-716>ul.sub-menu{left:auto!important;right:0!important}}
/* phones: three content tables wider than the screen scroll inside their own box instead of moving the whole page */
@media (max-width:767px){
  body.page-id-662 .et_pb_text_9 table,body.page-id-386 .et_pb_text_4 table,body.page-id-366 .et_pb_text_0 table{display:block;overflow-x:auto;max-width:100%}}

/* ---- <h1> promotion (tag only): these two page titles sat in a text module as <h2>/<h3>; pinned to the live computed look
   (measured identical at 1440/768/390) */
body.page-id-250 .et_pb_text_0 .et_pb_text_inner h1.ayt-h1-h2{font-size:42px;font-weight:300;line-height:42px}
body.page-id-242 .et_pb_text_0 .et_pb_text_inner h1.ayt-h1-h3{font-size:32px;font-weight:400;line-height:32px}

/* ---- measured repair (BRIEF4 white strip under the footer; identical on live, see layout_shift.json) */
/* 1) desktop: the closed dropdowns of the header menu (up to 1108px tall, invisible) stretched short pages to 1216px,
      leaving white space under the footer. Closed = zero height (still laid out, so fonts load as before); open and
      fade-out states (Divi's :hover, et-hover, et-show-dropdown, et-touch-hover) unchanged. */
@media (min-width:981px){
  .et-l--header .et-menu li:not(:hover):not(.et-hover):not(.et-show-dropdown):not(.et-touch-hover):not(:focus-within)>ul.sub-menu{height:0;overflow:hidden}}
/* 2) pages shorter than the screen (e.g. /video/, /testimonials/, /news-blog/): the footer sits at the bottom of the screen
      instead of leaving a white band under it. No effect on pages taller than the screen. */
#et-boc{display:flex;flex-direction:column;min-height:100vh}
#et-boc>#et-main-area{flex:1 0 auto;display:flex;flex-direction:column}
#et-main-area>#main-content{flex:1 0 auto}
