/* Hero section */
.hero-section {
  color: #ffffff;
  padding: 2.5rem 1rem 2.25rem;
  position: relative;
  min-height: calc(100vh - 160px); /* Approximate height for topbar + header + navbar */
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center; /* vertically center hero content */
}

/* For single announcement page - stack breadcrumb, title and back link */
.hero-inner > .hero-breadcrumb {
  display: block;
  width: 100%;
  margin-bottom: 0.5rem;
}

.hero-inner > .hero-title {
  display: block;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.hero-inner > .back-link {
  display: inline-flex;
  margin-top: 0;
}

.hero-copy {
  gap: 1.75rem;
}

.hero-copy {
  flex: 1 1 260px;
  min-width: 0;
}

.hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #dbe6ff;
  margin: 0 0 1rem 0;
  max-width: 34rem;
  padding: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffc107;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary-hero {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #122142;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 999px;
}

.btn-primary-hero:hover,
.btn-primary-hero:focus {
  background-color: #ffb100;
  border-color: #ffb100;
  color: #122142;
}

.btn-outline-hero {
  border-radius: 999px;
  border-width: 1px;
  border-color: #f2f6ff;
  color: #f2f6ff;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-outline-hero:hover,
.btn-outline-hero:focus {
  background-color: #f2f6ff;
  color: #122142;
}

.hero-note {
  font-size: 0.8rem;
  color: #c7d8ff;
}

.hero-stats-card {
  flex: 0 0 260px;
  max-width: 320px;
  background: #f2f6ff;
  color: #122142;
  border-radius: 1rem;
  padding: 1rem 1rem 1.1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.28);
  position: relative;
  overflow: hidden;
}

.hero-stats-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -10% -20%, #ffc107 0, transparent 55%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-stats-title {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #304064;
}

.hero-stats-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #0b3c8a;
  color: #ffffff;
  font-weight: 500;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-stat {
  background: #ffffff;
  border-radius: 0.7rem;
  padding: 0.6rem 0.6rem;
  border: 1px solid #dde6ff;
}

.hero-stat-label {
  font-size: 0.7rem;
  color: #6c7aa5;
  margin-bottom: 0.15rem;
}

.hero-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #122142;
}

.hero-stat-chip {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: #0a58ca;
}

.hero-stats-footer {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: #4d5c82;
  position: relative;
  z-index: 1;
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.4rem;
  }

  .hero-section {
    padding-inline: 0.75rem;
  }
}
