html {
  scroll-behavior: smooth;
}

*, ::before, ::after {
  box-sizing: border-box;
}

.block { display: block !important; }
.flex { display: flex !important; }
.grid { display: grid !important; }
.hidden { display: none !important; }
.w-full { width: 100% !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.gap-2 { gap: .5rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-6 { gap: 1.5rem !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: .75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.max-w-sm { max-width: 24rem !important; }
.max-w-md { max-width: 28rem !important; }
.max-w-lg { max-width: 32rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-3xl { max-width: 48rem !important; }
.rounded-md { border-radius: .375rem !important; }
.rounded-xl { border-radius: .75rem !important; }
.rounded-full { border-radius: 9999px !important; }
.border { border-width: 1px !important; border-style: solid !important; }
.border-gray-300 { border-color: #d1d5db !important; }
.bg-\[\#CC0000\] { background-color: #CC0000 !important; }
.text-\[\#666666\] { color: #666666 !important; }
.text-white { color: #fff !important; }
.text-center { text-align: center !important; }
.italic { font-style: italic !important; }
.font-bold { font-weight: 700 !important; }
.font-semibold { font-weight: 600 !important; }
.font-extrabold, .font-black { font-weight: 800 !important; }
.text-xs { font-size: .75rem !important; line-height: 1rem !important; }
.text-sm { font-size: .875rem !important; line-height: 1.25rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
.text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
.leading-tight { line-height: 1.1 !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.py-3 { padding-top: .75rem !important; padding-bottom: .75rem !important; }
.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 1.25rem !important; padding-bottom: 1.25rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
.py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.py-16 { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.resize-y { resize: vertical !important; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke !important; transition-duration: .15s !important; }
.hover\:bg-\[\#990000\]:hover { background-color: #990000 !important; }
.focus\:outline-none:focus { outline: 2px solid transparent !important; outline-offset: 2px !important; }
.focus\:border-\[\#CC0000\]:focus { border-color: #CC0000 !important; }

section[style*="background-color:var(--red-primary)"] h1,
section[style*="background-color:var(--red-primary)"] h2,
section[style*="background-color:var(--red-primary)"] p {
  color: inherit !important;
}

.max-w-md.space-y-4,
.max-w-2xl.grid,
.max-w-3xl.grid {
  width: 100%;
}

input.w-full,
textarea.w-full,
button.w-full {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  .md\:text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }
  .md\:text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
  .md\:text-6xl { font-size: 3.75rem !important; line-height: 1 !important; }
}

@media (max-width: 767px) {
  .grid-cols-2,
  .md\:grid-cols-3,
  .md\:grid-cols-4 {
    grid-template-columns: 1fr !important;
  }
}