/* Make image blocks size to their image, so captions match image width */
.single-post .wp-block-image {
  display: inline-block !important;   /* shrink to content (the img) */
  text-align: left;                   /* keep caption left */
  max-width: 100%;                    /* stay responsive */
}

.single-post .wp-block-image.alignwide,
.single-post .wp-block-image.alignfull {
  width: auto !important;             /* override 100% width from theme */
}

/* Caption style (left + italic from earlier) */
.single-post .wp-block-image figcaption,
.single-post .wp-caption-text {
  text-align: left !important;
  font-style: italic;
  margin: .25em 0 1em 0;
  width: auto !important;
  display: block !important;
}
/* ===== Woodruff Times Attorney Login Form (Form ID 13166) ===== */

/* Main form card container */
#wpforms-13166 {
  max-width: 440px;
  margin: 50px auto;
  padding: 28px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* Field container spacing */
#wpforms-13166 .wpforms-field {
  margin-bottom: 18px;
}

/* Labels */
#wpforms-13166 .wpforms-field-label {
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

/* Input fields */
#wpforms-13166 input[type="text"],
#wpforms-13166 input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Input focus */
#wpforms-13166 input[type="text"]:focus,
#wpforms-13166 input[type="password"]:focus {
  border-color: #1e73be;
  box-shadow: 0 0 0 3px rgba(30,115,190,0.15);
  outline: none;
}

/* Submit button */
#wpforms-submit-13166 {
  width: 100%;
  padding: 14px;
  background-color: #1e73be;
  color: #fff;
  border-radius: 12px;
  border: none;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

/* Button hover */
#wpforms-submit-13166:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Center logo and headings above form */
.page-id-13144 .wp-block-image,
.page-id-13144 h1,
.page-id-13144 h2,
.page-id-13144 p {
  text-align: center;
}

/* Mobile friendly */
@media (max-width: 600px) {
  #wpforms-13166 {
    margin: 20px;
    padding: 20px;
  }
}
.page-id-13144 .entry-title {
    display: none;
}