/* Wrapper spacing */
.bcsp-wrap{ background:#fff; }

.bcsp-section{ padding: 48px 0 64px; }

.bcsp-container{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Outer bordered box (matches PDF) */
.bcsp-card{
  border: 2px solid #222;
  background: #fff;
  padding: 38px;
}

/* Text */
.bcsp-text{
  max-width: 760px;
}

.bcsp-lead{
  font-weight: 700;
  margin: 0 0 14px;
  font-size: 20px;
}

.bcsp-text p{
  margin: 0 0 14px;
  line-height: 1.7;
  font-size: 16px;
}

/* Form wrapper: should NOT be full width like now */
.bcsp-form{
  margin-top: 26px;
}

/* Centered form card like screenshot */
.bcf7-card{
  max-width: 560px;
  margin: 0 auto;              /* center */
  background: #f3f4f6;
  border-radius: 10px;
  padding: 18px;
}

/* Form card header */
.bcf7-eyebrow{
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 700;
  opacity: .6;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.bcf7-title{
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 14px;
}

/* Grid fields: 2 cols like PDF */
.bcf7-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bcf7-grid .full{
  grid-column: 1 / -1;
}

/* Inputs */
.bcf7-card input[type="text"],
.bcf7-card input[type="email"],
.bcf7-card input[type="tel"],
.bcf7-card textarea{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #cfd6dd;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
}

.bcf7-card textarea{
  min-height: 130px;
  resize: vertical;
}

/* Note text */
.bcf7-note{
  font-size: 11px;
  line-height: 1.45;
  opacity: .7;
  margin: 10px 0 12px;
}

/* Submit button (pill) */
.bcf7-card input[type="submit"],
.bcf7-card button{
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

/* Mobile: stack to 1 col */
@media (max-width: 680px){
  .bcsp-card{ padding: 22px; }
  .bcf7-grid{ grid-template-columns: 1fr; }
}



/* Fix header overlapping / merging with first section (only this template) */
.page-template-page-breadcrumb-subpage-contact .bcsp-wrap{
  padding-top: 90px; /* adjust if header height differs */
}

/* If the header is not fixed but still tight, this adds spacing too */
.page-template-page-breadcrumb-subpage-contact .bc-header{
  margin-bottom: 20px;
}


/* === Contact page design adjustments (remove outer border box) === */

/* Remove the outer "card" border + box feeling */
.page-template-page-breadcrumb-subpage-contact .bcsp-card{
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Give the content area clean spacing like the design */
.page-template-page-breadcrumb-subpage-contact .bcsp-section{
  padding: 30px 0 80px !important;
}

/* Make the text width closer to the design (not too wide) */
.page-template-page-breadcrumb-subpage-contact .bcsp-text{
  max-width: 720px;
}

/* Heading style closer to design */
.page-template-page-breadcrumb-subpage-contact .bcsp-lead{
  font-size: 18px;
  margin-bottom: 16px;
}

/* Form spacing */
.page-template-page-breadcrumb-subpage-contact .bcsp-form{
  margin-top: 18px;
}

/* Form card sizing + look closer to PDF */
.page-template-page-breadcrumb-subpage-contact .bcf7-card{
  max-width: 520px;
  border-radius: 8px;
  padding: 22px;
}

/* Reduce textarea height (yours looks too tall vs design) */
.page-template-page-breadcrumb-subpage-contact .bcf7-card textarea{
  min-height: 110px;
}

/* Button should look more like the design (blue + stronger) */
.page-template-page-breadcrumb-subpage-contact .bcf7-card input[type="submit"],
.page-template-page-breadcrumb-subpage-contact .bcf7-card button{
  background: #0b72b5;
  color: #fff;
}
.page-template-page-breadcrumb-subpage-contact .bcf7-card input[type="submit"]:hover,
.page-template-page-breadcrumb-subpage-contact .bcf7-card button:hover{
  filter: brightness(0.95);
}


/* === Make CF7 look exactly like PDF (inner white panel inside grey card) === */

/* CF7 sometimes wraps controls in <p> - remove layout-breaking margins */
.page-template-page-breadcrumb-subpage-contact .bcf7-card p{
  margin: 0 !important;
}

/* Grey card like PDF */
.page-template-page-breadcrumb-subpage-contact .bcf7-card{
  background: #eef0f2;
  border-radius: 10px;
  padding: 22px;
}

/* White inner panel holding the fields (this is the missing piece) */
.page-template-page-breadcrumb-subpage-contact .bcf7-panel{
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  margin-top: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* grid spacing closer to design */
.page-template-page-breadcrumb-subpage-contact .bcf7-grid{
  gap: 14px 16px;
}

/* ensure each field block behaves in grid */
.page-template-page-breadcrumb-subpage-contact .bcf7-field{
  width: 100%;
}

/* inputs: softer border, slightly taller, like PDF */
.page-template-page-breadcrumb-subpage-contact .bcf7-card input[type="text"],
.page-template-page-breadcrumb-subpage-contact .bcf7-card input[type="email"],
.page-template-page-breadcrumb-subpage-contact .bcf7-card input[type="tel"],
.page-template-page-breadcrumb-subpage-contact .bcf7-card textarea{
  border: 1px solid #e1e6ee;
  border-radius: 8px;
  padding: 12px 12px;
  font-size: 14px;
}

/* textarea size like PDF */
.page-template-page-breadcrumb-subpage-contact .bcf7-card textarea{
  min-height: 120px;
}

/* note inside the white panel */
.page-template-page-breadcrumb-subpage-contact .bcf7-note{
  margin: 12px 0 14px;
  font-size: 12px;
  line-height: 1.5;
  color: black;
}

/* button centered + pill like PDF */
.page-template-page-breadcrumb-subpage-contact .bcf7-actions input[type="submit"]{
  background: #0b72b5;
  color: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
}


/* === Symmetry: same centered width for text + form === */
.page-template-page-breadcrumb-subpage-contact .bcsp-text{
  max-width: 760px !important;
  margin-left: auto;
  margin-right: auto;
}

.page-template-page-breadcrumb-subpage-contact .bcsp-form{
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Increase form card width */
.page-template-page-breadcrumb-subpage-contact .bcf7-card{
  max-width: 760px !important;
}

/* Keep inner white panel stretched nicely */
.page-template-page-breadcrumb-subpage-contact .bcf7-panel{
  width: 100%;
}


.bc-contact-form .bc-consent-link{
  display:inline-block;
  margin-left: 26px; /* lines up after checkbox */
  font-size: 14px;
  text-decoration: underline;
}

span.wpcf7-list-item.first.last {
    margin: 0 0 0 5px;
}

p.bc-contact-note {
     margin: 18px 0 18px 5px;
}

/* CF7 checkboxes - simple, aligned, not breaking layout */
.bc-contact-form .bc-ccf7-consents{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.bc-contact-form .bc-ccf7-consents .wpcf7-form-control{
  margin: 0;
}

.bc-contact-form .bc-ccf7-consents .wpcf7-list-item{
  margin: 0; /* remove CF7 default indent */
}

.bc-contact-form .bc-ccf7-consents .wpcf7-list-item > label{
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

/* checkbox size + position */
.bc-contact-form .bc-ccf7-consents input[type="checkbox"]{
  width: 16px;
  height: 16px;
  cursor: pointer;
  margin-top: 3px;
  flex: 0 0 auto;
}

.bc-contact-form .bc-ccf7-consents a{
  text-decoration: underline;
}


/* ================================
   CF7 Consents (Checkboxes) – nicer layout
   Scoped to Contact Subpage template only
================================== */

.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 14px;
}

/* CF7 checkbox wrapper reset */
.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents .wpcf7-form-control{
  margin: 0 !important;
  padding: 0 !important;
}

.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents .wpcf7-list-item{
  margin: 0 !important;        /* CF7 adds margins sometimes */
  display: block;
}

/* Make the whole line clickable + aligned */
.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents label{
  display: flex;
  align-items: flex-start;
  gap: 10px;

  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e1e6ee;
  border-radius: 10px;
  background: #f8fafc;

  font-size: 13px;
  line-height: 1.35;
  color: rgba(0,0,0,.82);

  cursor: pointer;
}

.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents label:hover{
  background: #f2f6fb;
}

/* Checkbox size + color */
.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents input[type="checkbox"]{
  margin: 2px 0 0 0 !important;
  width: 18px;
  cursor: pointer;
  height: 18px;
  flex: 0 0 18px;

  accent-color: #0b72b5; /* modern browsers */
}

/* Ensure label text wraps nicely */
.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents .wpcf7-list-item-label{
  display: block;
}

/* If CF7 shows validation error under checkbox, keep it tight */
.page-template-page-breadcrumb-subpage-contact .bc-ccf7-consents .wpcf7-not-valid-tip{
  margin-top: 6px;
  font-size: 12px;
}

span.wpcf7-not-valid-tip {
    font-size: 12px;
}

.bc-primary-footer a {
    font-size: 16px;
}


