/* ===== Modern Office Form Layout: 3-up grid with full-width rows ===== */
.df_ModernOffice .df_form{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;                  /* row x column gaps */
}

/* Default field: about one-third width */
.df_ModernOffice .df_form .field{
  flex: 1 1 32%;
  min-width: 260px;
  margin: 0;
  padding: 0;
}

/* Make long rows span the full width */
.df_ModernOffice .df_form .field.full,
.df_ModernOffice .df_form .field.long,
.g-recaptcha, 
.df_ModernOffice .submit,
.df_ModernOffice .subextra,
.df_ModernOffice .disclaimer{
  flex: 1 1 100%;
  max-width: 100%;
}

/* Widen the FOIA description textarea (“Provide information…”) */
.df_ModernOffice .df_form .field textarea[placeholder^="(Provide information"]{
  min-height: 180px;
}
.df_ModernOffice .df_form .field textarea{
  flex: 1 1 100%;
}

/* Address block layout */
div[id*="Form_digAddrPanelctrlDig"]{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
.df_form .field[id*="_Form_ctrlDig"][id*="UnitDiv"],
.df_form .field[id*="_Form_ctrlDig"][id*="StreetDiv"]{
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 8px);
  padding: 0;
  margin: 0 0 12px 0;
}
.df_form .field[id*="_Form_ctrlDig"][id*="CityDiv"],
.df_form .field[id*="_Form_ctrlDig"][id*="RegionList"],
.df_form .field[id*="_Form_ctrlDig"][id*="PostalCode"]{
  flex: 1 1 calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
  padding: 0;
  margin: 0 0 12px 0;
}

/* Date field often needs full width */
.df_ModernOffice .df_form .field .valtDate,
.df_ModernOffice .df_form .field .valtTime{
  width: 100%;
}

/* ===== Visual polish: clean, readable, modern office accent ===== */
.df_ModernOffice{
  color: #333;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Labels */
.df_ModernOffice .label{
  color: #0056b3;                  /* modern office blue accent */
  text-transform: uppercase;
  letter-spacing: 1.8px;
  line-height: 1.4;
  font-size: 15px;
  margin: 12px 0 6px 0;
  font-weight: 600;
}

/* Inputs */
.df_ModernOffice .field input,
.df_ModernOffice .field textarea{
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 6px;
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
  background: #fff;
}
.df_ModernOffice .field input:focus,
.df_ModernOffice .field textarea:focus{
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0,86,179,.12);
}

/* Placeholder tone */
.df_ModernOffice .field input::placeholder,
.df_ModernOffice .field textarea::placeholder{
  color: #9aa0a6;
  font-size: 13px;
}

/* Submit button */
.df_form .submit a,
.df_ModernOffice button[type="submit"]{
  background: #0056b3;
  color: #fff !important;
  padding: 10px 18px;
  margin: 10px 0 30px 0;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-block;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}
.df_form .submit a:hover,
.df_ModernOffice button[type="submit"]:hover{
  filter: brightness(.92);
}

/* Section chrome */
.df_ModernOffice .section{
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  margin-bottom: 12px;
  border-radius: 8px;
}
.df_ModernOffice .section .header{
  background-color: #f1f5f9;
  padding: 6px 10px;
  border-radius: 8px 8px 0 0;
}
.df_ModernOffice .section .header h1{
  font-size: 1.1rem;
  margin: 0;
  color: #111;
}

/* Recaptcha block */
.g-recaptcha{
  border: 0;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .df_ModernOffice .df_form .field{ min-width: 240px; }
}
@media (max-width: 720px){
  .df_ModernOffice .df_form{ gap: 10px 12px; }
  .df_ModernOffice .df_form .field{
    flex: 1 1 100%;
    min-width: 100%;
  }
  /* Stack address fields */
  .df_form .field[id*="_Form_ctrlDig"][id*="CityDiv"],
  .df_form .field[id*="_Form_ctrlDig"][id*="RegionList"],
  .df_form .field[id*="_Form_ctrlDig"][id*="PostalCode"],
  .df_form .field[id*="_Form_ctrlDig"][id*="UnitDiv"],
  .df_form .field[id*="_Form_ctrlDig"][id*="StreetDiv"]{
    flex: 1 1 100%;
    max-width: 100%;
  }
}
