/* Red flags — warning list for audit issues.
   Includes li-reset rules to prevent .services-grid li styles from bleeding in. */

@layer components {
  .red-flags {
    margin-top: var(--space-xl);
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
  }

  .red-flags__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fbbf24;
    margin-bottom: var(--space-md);
  }

  .red-flags__heading svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
  }

  .red-flags__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .red-flags__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    /* Reset .services-grid li styles that would otherwise bleed in */
    background: none;
    border: none;
    border-left: none;
    border-radius: 0;
    padding: 0;
  }

  .red-flags__list li:hover {
    transform: none;
    box-shadow: none;
  }

  .red-flags__list li::before {
    content: "\2717";
    color: #fca5a5;
    font-size: 0.8125rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.15em;
  }
}
