/* ==========================================================================
   HERO SECTION - LMS Style Homepage
   ========================================================================== */

/* Main Hero Banner */
.hamnus-hero,
.lms-hero {
  background: linear-gradient(135deg, var(--hamnus-primary) 0%, var(--hamnus-primary-light) 100%);
  padding: var(--hamnus-space-16) var(--hamnus-space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hamnus-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hamnus-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hamnus-hero h1 {
  color: var(--hamnus-white) !important;
  font-size: var(--hamnus-text-4xl);
  font-weight: 700;
  margin-bottom: var(--hamnus-space-4);
  line-height: 1.2;
}

.hamnus-hero p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: var(--hamnus-text-lg);
  margin-bottom: var(--hamnus-space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Stats */
.hamnus-hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--hamnus-space-8);
  margin-top: var(--hamnus-space-8);
}

.hamnus-stat {
  text-align: center;
}

.hamnus-stat-number {
  display: block;
  font-size: var(--hamnus-text-3xl);
  font-weight: 700;
  color: var(--hamnus-white);
}

.hamnus-stat-label {
  font-size: var(--hamnus-text-sm);
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero CTA Buttons */
.hamnus-hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--hamnus-space-4);
  flex-wrap: wrap;
}

.hamnus-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--hamnus-text-base);
  font-weight: 600;
  border-radius: var(--hamnus-radius-lg);
  text-decoration: none;
  transition: all var(--hamnus-transition-base);
  cursor: pointer;
  border: none;
}

.hamnus-btn-primary {
  background: var(--hamnus-accent);
  color: var(--hamnus-white) !important;
}

.hamnus-btn-primary:hover {
  background: var(--hamnus-accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--hamnus-shadow-lg);
}

.hamnus-btn-outline {
  background: transparent;
  color: var(--hamnus-white) !important;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.hamnus-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--hamnus-white);
}

/* Featured Section Header (EduPress default) */
.ilovewp-featured-section,
.featured-slider {
  background: linear-gradient(135deg, var(--hamnus-primary) 0%, var(--hamnus-primary-light) 100%) !important;
  padding: var(--hamnus-space-12) var(--hamnus-space-6) !important;
}

.ilovewp-featured-section h2,
.featured-slider h2 {
  color: var(--hamnus-white) !important;
  font-size: var(--hamnus-text-3xl) !important;
  font-weight: 700 !important;
}

.ilovewp-featured-section p {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Category/Section Headers */
.section-header,
.ilovewp-posts-list-header {
  background: var(--hamnus-primary) !important;
  color: var(--hamnus-white) !important;
  padding: var(--hamnus-space-3) var(--hamnus-space-4) !important;
  border-radius: var(--hamnus-radius-lg) var(--hamnus-radius-lg) 0 0;
  font-size: var(--hamnus-text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hamnus-hero {
    padding: var(--hamnus-space-10) var(--hamnus-space-4);
  }

  .hamnus-hero h1 {
    font-size: var(--hamnus-text-2xl);
  }

  .hamnus-hero-stats {
    flex-direction: column;
    gap: var(--hamnus-space-4);
  }

  .hamnus-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
