/* Medicare Hero Section Fix - Desktop Centered Layout */

/* New centered hero container for desktop */
.medicare-hero-centered {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Override any inherited flex properties from hero-content */
.medicare-hero-centered .hero-content {
  flex: none;
  max-width: none;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Desktop-specific styles */
@media screen and (min-width: 992px) {
  .medicare-hero-centered {
    width: 80%;
    max-width: 900px;
  }
  
  /* Ensure buttons are properly spaced on desktop */
  .medicare-hero-centered .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
  }
  
  .medicare-hero-centered .hero-buttons a {
    width: auto;
    min-width: 300px;
    justify-content: center;
  }
}

/* Mobile styles - keep existing behavior */
@media screen and (max-width: 991px) {
  .medicare-hero-centered {
    width: 90%;
    text-align: left;
    align-items: flex-start;
  }
  
  .medicare-hero-centered .hero-content {
    text-align: left;
    align-items: flex-start;
  }
  
  .medicare-hero-centered .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    width: 100%;
  }
  
  .medicare-hero-centered .hero-buttons a {
    width: 100%;
    justify-content: center;
  }
}

/* Button height consistency - make all three buttons the same height */
.medicare-hero-centered .hero-buttons a {
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  font-size: 1rem;
  line-height: 1;
  box-sizing: border-box;
}

/* Give the yellow button bigger vertical margins */
.medicare-hero-centered .hero-buttons .btn-yellow {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Small mobile adjustments */
@media screen and (max-width: 575px) {
  .medicare-hero-centered {
    width: 95%;
  }
  
  .medicare-hero-centered .hero-buttons a {
    font-size: 1rem;
    height: 48px;
    padding: 0 1.5rem;
  }
}