/* ================================================================
   StrongHearts Home Health Agency — OFFICIAL FORM furniture (v2)
   File: v2-full/css/form-official-v2.css
   Theme copy: wp-theme/stronghearts-v2/form-official-v2.css
   ------------------------------------------------------------
   SCREEN styling for the institutional form header snippet
   (partials/form-header-official.html) + official form furniture:
   form title block, date field row, form reference/version line,
   print signature line. Navy/gold institutional presentation.
   All classes are prefixed .sh-fo- / .sh-form- / .sh-sig- to
   avoid collisions with sibling workers' work.
   NOTE: print rules live in print-official-v2.css (linked AFTER
   print-v2.css). Do NOT edit functions.php — Worker 4 enqueues.
   ================================================================ */

/* ---------- Official identity header (screen) ---------- */
.sh-form-official {
  border: 1px solid #E4D3D7;
  border-top: 4px solid #C8102E;          /* institutional gold */
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 22px 14px;
  margin: 0 auto 26px;
  max-width: 860px;
  box-shadow: 0 2px 10px rgba(166,11,17, 0.08);
  font-family: inherit;
}
.sh-fo-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.sh-fo-logo {
  flex: 0 0 auto;
  line-height: 0;
}
.sh-fo-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.sh-fo-legal {
  font-size: 1.35rem;
  font-weight: 800;
  color: #C8102E;                          /* institutional navy */
  letter-spacing: 0.2px;
  line-height: 1.2;
}
.sh-fo-medicare {
  font-size: 0.85rem;
  font-weight: 700;
  color: #A60B11;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.sh-fo-licenses {
  font-size: 0.78rem;
  font-weight: 600;
  color: #2B2B2B;
  line-height: 1.5;
  margin: 0 0 8px;
  padding-top: 8px;
  border-top: 1px solid #E4D3D7;
}
.sh-fo-contact {
  font-size: 0.82rem;
  color: #2B2B2B;
  line-height: 1.55;
  margin: 0;
}
.sh-fo-phones {
  font-weight: 700;
  color: #C8102E;
}
.sh-fo-email {
  color: #C8102E;
  font-weight: 600;
  text-decoration: underline;
}

/* ---------- Official form furniture (screen) ---------- */
.sh-form-titleblock {
  max-width: 860px;
  margin: 0 auto 22px;
  text-align: center;
}
.sh-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #C8102E;
  margin: 0 0 6px;
}
.sh-form-ref {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #A60B11;
  border: 1px solid #E4D3D7;
  background: #FBE7E9;
  border-radius: 999px;
  padding: 4px 14px;
  margin: 0;
}
.sh-form-daterow {
  max-width: 860px;
  margin: 10px auto 0;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2B2B2B;
}

/* Signature line: screen shows a light box; print makes it
   handwriting lines (see print-official-v2.css). */
.sh-sig-line {
  max-width: 860px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2B2B2B;
  padding: 14px 4px;
  border-top: 1px dashed #E4D3D7;
}
.sh-sig-line span {
  flex: 1 1 240px;
  border-bottom: 1px solid #E4D3D7;
  padding-bottom: 6px;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .sh-form-official {
    padding: 14px 16px 12px;
  }
  .sh-fo-legal {
    font-size: 1.12rem;
  }
  .sh-fo-licenses,
  .sh-fo-contact {
    font-size: 0.74rem;
  }
  .sh-form-daterow {
    text-align: left;
  }
}
