/* app/assets/stylesheets/application.css */

/* This file is now your main entrypoint for all CSS via Propshaft */

/* CSS styles for HNR new sale form frontend validation */

/* css-check-ignore-next */
.section-status-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* css-check-ignore-start */
.section-status-indicator.valid {
  background-color: #10b981;
  color: white;
}

.section-status-indicator.invalid {
  background-color: #ef4444;
  color: white;
}

.section-status-indicator.valid::after {
  content: "✓";
  font-size: 14px;
}

.section-status-indicator.invalid::after {
  content: "!";
  font-size: 14px;
}

/* css-check-ignore-end */

/* Advertorial body emphasis: Bild-style heavy bold so scan-trail <strong>
   phrases visibly stand out from body text (Tailwind prose defaults to 600,
   too close to the 400 body weight). Scoped to advertorial rich-text blocks. */
[data-block-type="rich_text"] strong,
[data-block-type="award_section"] strong {
  font-weight: 800;
}

/* Hero headline: never more than 2 lines on desktop (md+). The copy is generated
   short enough to fit (see Methodology), but this is a hard guarantee so a long or
   hand-edited headline can't break the Bild-style layout. Mobile is left unclamped. */
@media (min-width: 768px) {
  [data-block-type="hero"] h1 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}