/* Shared paper colour and focused enquiry header. Loaded after the plugin CSS. */
body {
  background-color: #fffdf8;
}

/* Keep the header content aligned while extending its divider to both edges. */
header {
  position: relative;
  border-bottom: 0;
}
header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid #dcd8d0;
  pointer-events: none;
}

/* The main headline already introduces the conversation. */
header > span {
  display: none;
}

/* Shared form readability — 1.7.2. */
label.option { font-size:14px; line-height:1.4; }
.progress-row { font-size:12px; }
.review-row, .review-row strong, .review-row p { font-size:14px; }
footer { font-size:11px; }
.field { font-size:14px; }
.privacy { font-size:11px; }
.aside-note p { font-size:13px; }
.back { font-size:14px; }
.description { font-size:14px; }

/* Shared focused header/footer: identical geometry to Book a Call. */
.site-header {
  max-width:none;
  margin:0;
  padding:0;
  display:block;
  border-bottom:1px solid #dedbd2;
  background:#fffdf8;
}
.site-header::after { content:none; }
.site-header>.wrap {
  width:min(1180px,calc(100% - 64px));
  margin:auto;
  min-height:100px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.site-header img { display:block; width:111px; height:auto; }
.site-header .back { font-size:14px; }
footer {
  display:block;
  max-width:none;
  margin:0;
  padding:22px 0;
  border-top:1px solid #dedbd2;
  background:#eeece5;
  color:#79776e;
  font-size:11px;
}
footer>.wrap {
  width:min(1180px,calc(100% - 64px));
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:11px;
}
footer span:last-child { display:inline; }
@media(max-width:700px) {
  .site-header>.wrap,footer>.wrap { width:calc(100% - 40px); }
  .site-header>.wrap { min-height:78px; }
  .site-header img { width:88px; }
  footer>.wrap { display:block; }
  footer span,footer span:last-child { display:block; }
  footer span+span { margin-top:7px; }
}

/* WordPress already offsets the document for its admin toolbar. */
.admin-bar .site-header { margin-top:0; }
/* Let the form stage absorb spare viewport space, keeping the footer at the bottom. */
body.page-template-page-enquiry { display:flex; flex-direction:column; min-height:100vh; }
body.page-template-page-enquiry.admin-bar { min-height:calc(100vh - 32px); }
.page-template-page-enquiry .site-header, .page-template-page-enquiry footer { flex-shrink:0; }
.page-template-page-enquiry .enquiry-stage { flex:1 0 auto; }
@media(max-width:782px) { body.page-template-page-enquiry.admin-bar { min-height:calc(100vh - 46px); } }
