/* v10.4 — approved enquiry form parity.
   This is the single public field set used on Contact, every destination landing
   page and any enquiry block rendered by the enquiries plugin. */

.jaiw-enquiry-block.jaiw-approved-enquiry,
.jaiw-enquiry-block:has(.jaiw-approved-form){
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.jaiw-approved-form{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:clamp(22px,1.08vw,42px)!important;row-gap:clamp(26px,1.28vw,50px)!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
.jaiw-approved-form>.jaiw-field-pair{display:contents!important}
.jaiw-approved-form>.jaiw-field-full,
.jaiw-approved-form>fieldset,
.jaiw-approved-form>.jaiw-privacy,
.jaiw-approved-form>.jaiw-form-note,
.jaiw-approved-form>.jaiw-form-success,
.jaiw-approved-form>.jaiw-form-summary{grid-column:1/-1!important}

.jaiw-approved-form label,
.jaiw-approved-form legend{
  color:var(--ink,#263029)!important;font-family:var(--sans,"Manrope",sans-serif)!important;
  font-size:clamp(11px,.42vw,16px)!important;font-weight:700!important;line-height:1.25!important;
  letter-spacing:.055em!important;text-transform:uppercase!important;
}
.jaiw-approved-form label{display:grid!important;gap:clamp(10px,.43vw,17px)!important;margin:0!important}
.jaiw-approved-form small{
  display:block!important;margin-top:clamp(2px,.1vw,4px)!important;color:rgba(38,48,41,.58)!important;
  font:500 clamp(10px,.36vw,14px)/1.25 var(--sans,"Manrope",sans-serif)!important;
  letter-spacing:.035em!important;text-transform:uppercase!important;
}
.jaiw-approved-form fieldset{border:0!important;padding:0!important;margin:0!important;min-width:0!important}
.jaiw-approved-form legend{display:block!important;width:100%!important;margin:0 0 clamp(14px,.6vw,23px)!important;padding:0!important}

/* Underlined text/select controls exactly like the approved reference. */
.jaiw-approved-form input[type="text"],
.jaiw-approved-form input[type="email"],
.jaiw-approved-form input[type="date"],
.jaiw-approved-form select{
  width:100%!important;min-height:clamp(58px,2.55vw,98px)!important;
  padding:clamp(12px,.5vw,19px) clamp(4px,.16vw,6px)!important;
  border:0!important;border-bottom:1px solid rgba(38,48,41,.62)!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;color:var(--ink,#263029)!important;
  font:400 clamp(17px,.67vw,26px)/1.25 var(--sans,"Manrope",sans-serif)!important;
  letter-spacing:-.02em!important;text-transform:none!important;outline-offset:3px!important;
}
.jaiw-approved-form input::placeholder,
.jaiw-approved-form textarea::placeholder{color:rgba(38,48,41,.52)!important;opacity:1!important}
.jaiw-approved-form select{appearance:auto!important;padding-right:clamp(22px,.8vw,31px)!important}
.jaiw-approved-form input:focus,
.jaiw-approved-form select:focus,
.jaiw-approved-form textarea:focus{outline:1px solid rgba(77,118,88,.68)!important;outline-offset:2px!important}

/* Date-not-confirmed sits beside the date field, vertically aligned to its control. */
.jaiw-approved-form .jaiw-date-check{
  align-self:end!important;display:flex!important;grid-template-columns:none!important;flex-direction:row!important;
  align-items:center!important;justify-content:flex-start!important;gap:clamp(12px,.5vw,19px)!important;
  min-height:clamp(58px,2.55vw,98px)!important;padding:0 clamp(6px,.24vw,9px)!important;
  font-size:clamp(11px,.42vw,16px)!important;letter-spacing:.045em!important;text-transform:uppercase!important;
}
.jaiw-approved-form .jaiw-date-check span{display:block!important}

/* Four service choices, never the old three-column layout. */
.jaiw-approved-form .jaiw-choice-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(10px,.46vw,18px)!important;
}
.jaiw-approved-form .jaiw-choice{
  min-height:clamp(76px,3.5vw,134px)!important;padding:clamp(14px,.7vw,27px) clamp(16px,.78vw,30px)!important;
  display:flex!important;grid-template-columns:none!important;flex-direction:row!important;align-items:center!important;
  justify-content:flex-start!important;gap:clamp(12px,.54vw,21px)!important;
  border:1px solid rgba(38,48,41,.18)!important;background:rgba(255,253,248,.58)!important;cursor:pointer!important;
  color:var(--ink,#263029)!important;font:700 clamp(11px,.44vw,17px)/1.45 var(--sans,"Manrope",sans-serif)!important;
  letter-spacing:.045em!important;text-transform:uppercase!important;
}
.jaiw-approved-form .jaiw-choice span{display:block!important}
.jaiw-approved-form input[type="radio"],
.jaiw-approved-form input[type="checkbox"]{
  flex:0 0 auto!important;width:clamp(18px,.72vw,28px)!important;height:clamp(18px,.72vw,28px)!important;
  min-height:0!important;margin:0!important;padding:0!important;accent-color:#4d7658!important;
}

.jaiw-approved-form textarea{
  width:100%!important;min-height:clamp(188px,8.7vw,334px)!important;resize:vertical!important;
  padding:clamp(20px,.8vw,31px)!important;border:1px solid rgba(38,48,41,.18)!important;border-radius:0!important;
  background:rgba(255,253,248,.56)!important;color:var(--ink,#263029)!important;
  font:400 clamp(17px,.67vw,26px)/1.48 var(--sans,"Manrope",sans-serif)!important;
  letter-spacing:-.02em!important;text-transform:none!important;
}

.jaiw-approved-form .jaiw-privacy{
  display:flex!important;grid-template-columns:none!important;flex-direction:row!important;align-items:center!important;
  gap:clamp(12px,.52vw,20px)!important;color:var(--ink,#263029)!important;
  font:700 clamp(11px,.42vw,16px)/1.45 var(--sans,"Manrope",sans-serif)!important;
  letter-spacing:.045em!important;text-transform:uppercase!important;
}
.jaiw-approved-form .jaiw-form-note{
  margin:clamp(4px,.2vw,8px) 0 0!important;padding:0!important;border:0!important;background:transparent!important;
  color:var(--ink,#263029)!important;font:400 italic clamp(18px,.68vw,26px)/1.2 var(--serif,"Newsreader",Georgia,serif)!important;
}
.jaiw-approved-form .jaiw-submit{
  grid-column:1!important;justify-self:start!important;width:auto!important;min-width:clamp(205px,10.5vw,403px)!important;
  min-height:clamp(58px,2.75vw,106px)!important;margin:0!important;padding:0 clamp(26px,1.15vw,44px)!important;
  display:inline-flex!important;align-items:center!important;justify-content:space-between!important;gap:clamp(20px,.8vw,31px)!important;
  border:0!important;border-radius:0!important;background:#4d7658!important;color:#fff!important;
  font:700 clamp(11px,.43vw,16.5px)/1 var(--sans,"Manrope",sans-serif)!important;
  letter-spacing:.065em!important;text-transform:uppercase!important;cursor:pointer!important;
}
.jaiw-approved-form .jaiw-submit:hover{background:#3f654a!important}
.jaiw-approved-form .jaiw-form-success,
.jaiw-approved-form .jaiw-form-summary{
  font:500 clamp(13px,.5vw,19px)/1.45 var(--sans,"Manrope",sans-serif)!important;
}
.jaiw-approved-form .jaiw-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}

/* Contact and all eleven location landing pages use this one scale. */
body.jaiw-page-contact .contact-enquiry .jaiw-approved-form,
body.jaiw-reference-mode:is(
  .jaiw-page-sweden,.jaiw-page-norway,.jaiw-page-denmark,.jaiw-page-finland,.jaiw-page-iceland,
  .jaiw-page-united-kingdom,.jaiw-page-england,.jaiw-page-scotland,.jaiw-page-wales,.jaiw-page-northern-ireland,.jaiw-page-ireland
) .location-enquiry .jaiw-approved-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}

@media(max-width:1100px){
  .jaiw-approved-form .jaiw-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .jaiw-approved-form{grid-template-columns:1fr!important;column-gap:0!important;row-gap:24px!important}
  .jaiw-approved-form>.jaiw-field-pair{display:grid!important;grid-column:1!important;grid-template-columns:1fr!important;gap:24px!important}
  .jaiw-approved-form>.jaiw-field-full,.jaiw-approved-form>fieldset,.jaiw-approved-form>.jaiw-privacy,.jaiw-approved-form>.jaiw-form-note{grid-column:1!important}
  .jaiw-approved-form .jaiw-choice-grid{grid-template-columns:1fr!important}
  .jaiw-approved-form .jaiw-date-check{min-height:44px!important;padding:0!important}
  .jaiw-approved-form .jaiw-submit{grid-column:1!important;width:100%!important;min-width:0!important}
}
