/* dalcart-theme-force-override.css
   FORCES dalcart-uniform-theme.css to override legacy inline styles
   ensuring VISIBLE changes on all pages */

/* Override all inline hero styles */
.hero {
  background: linear-gradient(
    135deg,
    #0d1b2a 0%,
    #2c5f8d 50%,
    #0d1b2a 100%
  ) !important;
  padding: 100px 2rem !important;
}

.hero h1 {
  font-size: 4rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
}

/* Override all card styles */
.card,
.dalcart-card {
  background: #ffffff !important;
  border: 2px solid #2c5f8d !important;
  border-radius: 20px !important;
  padding: 2.5rem !important;
  box-shadow: 0 10px 40px rgba(44, 95, 141, 0.2) !important;
}

.card:hover,
.dalcart-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: 0 20px 60px rgba(44, 95, 141, 0.35) !important;
}

/* Card titles */
.card h3,
.dalcart-card h3 {
  color: #0d1b2a !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  border-bottom: 3px solid #2c5f8d !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

/* Card text */
.card p {
  color: #495057 !important;
  line-height: 1.8 !important;
  font-size: 1.05rem !important;
}

/* Featured cards */
.featured-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%) !important;
  border: 2px solid #4a90e2 !important;
  border-radius: 16px !important;
}

/* Buttons and CTAs */
.cta-button,
.dalcart-button,
button[class*="dalcart"] {
  background: linear-gradient(90deg, #2c5f8d 0%, #4a90e2 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 1rem 2.5rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4) !important;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 12px 30px rgba(74, 144, 226, 0.6) !important;
}

/* Container backgrounds */
.main-content-wrapper {
  background: #fafbfc !important;
}

.card-row {
  background: transparent !important;
}

/* Dynamic content sections */
#dynamic-news-wrapper,
#dynamic-downloads-wrapper,
#dynamic-products-wrapper {
  background: #ffffff !important;
  border: 2px dashed #4a90e2 !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  margin: 2rem 0 !important;
}

/* Links */
a {
  color: #2c5f8d !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

a:hover {
  color: #4a90e2 !important;
  text-decoration: underline !important;
}

/* Manufacturer cards */
.manufacturer-card {
  border: 2px solid #2c5f8d !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #ffffff, #eef5fb) !important;
}

/* News and announcement items */
.news-list li,
.product-announcements-list li {
  background: #f8f9fa !important;
  border-left: 4px solid #4a90e2 !important;
  padding: 1rem 1.5rem !important;
  margin-bottom: 1rem !important;
  border-radius: 8px !important;
}
