@import "tailwindcss";

@theme {
  --color-qc-red: #ee1141;
  --color-qc-red-dark: #c90d35;
  --color-qc-navy: #000119;
  --color-qc-slate: #1b2234;
  --color-qc-charcoal: #333333;
  --color-qc-text: #4c4c4c;
  --color-qc-muted: #767676;
  --color-qc-light: #f5f6f8;
  --font-heading: "Titillium Web", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Roboto", ui-sans-serif, system-ui, sans-serif;
}

@layer base {
  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-sans);
    color: var(--color-qc-text);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #000000;
  }
}

.hr-bar {
  width: 60px;
  height: 4px;
  background-color: #ee1141;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.title-linebreak {
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, #ee1141 0%, #ee1141 72px, #e5e7eb 72px, #e5e7eb 100%);
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Clean styling for imported WordPress / Gutenberg HTML */
.qc-prose {
  color: #4c4c4c;
  line-height: 1.75;
  font-size: 1rem;
}

.qc-prose h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.qc-prose h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: #000000;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.qc-prose h4, .qc-prose h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #111827;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.qc-prose p {
  margin-bottom: 1rem;
}

.qc-prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.qc-prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.qc-prose li {
  margin-bottom: 0.4rem;
}

.qc-prose ul.checkbox {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.65rem 1.5rem;
}

.qc-prose ul.checkbox li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #1f2937;
}

.qc-prose ul.checkbox li::before {
  content: "✓";
  color: #ee1141;
  font-weight: 700;
}

.qc-prose ul.checkbox.checkbox-project {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.qc-prose ul.checkbox.checkbox-project li {
  display: block;
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0;
  font-weight: 400;
  color: #4c4c4c;
  line-height: 1.45;
}

.qc-prose ul.checkbox.checkbox-project li::before {
  position: absolute;
  left: 0;
  top: 0;
}

.qc-prose ul.checkbox.checkbox-project li strong {
  display: block;
  font-weight: 700;
  color: #000000;
}

.qc-prose ul.checkbox.checkbox-project li br {
  display: none;
}

.qc-prose a img {
  display: inline-block;
  margin: 0 0 0 0.4rem;
  vertical-align: middle;
}

.qc-prose a {
  color: #ee1141;
  text-decoration: none;
  font-weight: 600;
}

.qc-prose a:hover {
  color: #c90d35;
  text-decoration: underline;
}

.qc-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
  margin: 1rem 0;
}

.qc-prose .wp-block-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .qc-prose .wp-block-columns {
    grid-template-columns: 2fr 1fr;
  }
}

.qc-prose blockquote {
  border-left: 4px solid #ee1141;
  padding-left: 1.25rem;
  font-style: italic;
  color: #374151;
  margin: 1.5rem 0;
}

/* Interactive US Map states */
.us-state {
  transition: fill 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.us-state.licensed {
  fill: #ee1141;
}

.us-state.licensed:hover {
  fill: #b80b30;
}

.us-state.unlicensed {
  fill: #d1d5db;
}

.us-state.unlicensed:hover {
  fill: #9ca3af;
}
