/* EUSBD Enquiry Manager – full-bleed wide layout with deep brown accents */
:root{
  --eusbd-brown:#7b3f00;
  --eusbd-brown-dark:#663300;
  --eusbd-text:#1f2937;
}

/* Break out of theme containers and go edge-to-edge */
.eusbd-portal.eusbd-fullbleed{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#fff;
}

/* Side “edges” */
.eusbd-portal.eusbd-fullbleed{
  box-shadow: inset 16px 0 0 0 var(--eusbd-brown), inset -16px 0 0 0 var(--eusbd-brown);
}

/* Inner content width */
.eusbd-container{
  max-width: 1400px;
  margin-inline:auto;
  padding-inline: clamp(16px,3vw,48px);
  padding-block: 24px;
}

/* Brown frame around the form/status blocks */
.eusbd-frame{
  background:#fff;
  border:6px solid var(--eusbd-brown);
  border-radius:18px;
  padding:24px 28px;
  box-shadow:0 4px 20px rgba(0,0,0,.06);
}

/* Titles */
.eusbd-title{ margin:0 0 16px; font-size:28px; color:var(--eusbd-text); }

/* Two-column field grid on desktop, one column on mobile */
.eusbd-grid{ display:grid; gap:22px; }
@media (min-width:900px){ .eusbd-grid{ grid-template-columns: 1fr 1fr; } }

/* Labels + inputs */
.eusbd-form label{ display:block; margin-bottom:12px; color:var(--eusbd-text); font-size:15px; }
.eusbd-form label span{ color:#b91c1c; }

.eusbd-form input[type=text],
.eusbd-form input[type=email],
.eusbd-form select,
.eusbd-form textarea{
  width:100%;
  display:block;
  margin-top:6px;
  padding:10px 12px;
  font-size:15px;
  color:var(--eusbd-text);
  background:#fff;
  border:2px solid var(--eusbd-brown);
  border-radius:12px;
  outline:none;
}
.eusbd-form textarea{ min-height:140px; resize:vertical; }

/* Button */
.eusbd-btn{
  margin-top:14px;
  display:inline-block;
  padding:10px 18px;
  background:var(--eusbd-brown);
  color:#fff;
  border:0;
  border-radius:12px;
  font-weight:600;
  cursor:pointer;
}
.eusbd-btn:hover{ background:var(--eusbd-brown-dark); }

/* Success alert */
.eusbd-alert.success{
  max-width:1400px;
  margin:12px auto;
  background:#ecfdf5;
  border-left:6px solid #10b981;
  padding:12px 16px;
  border-radius:10px;
}

/* Hard overrides for common theme wrappers that cap width */
.entry-content .eusbd-portal,
.wp-block-post-content .eusbd-portal,
.site-main .eusbd-portal,
#primary .eusbd-portal{ max-width:none !important; width:auto !important; }
