/**
 * Course / About editorial hero CTAs — matches index.php .hero-actions
 * Load AFTER course-page-premium.css on course pages.
 */

.about-hero .about-hero-ctas a.btn,
.about-hero .hero-actions a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  font-family: var(--font-family-sans, "Montserrat", sans-serif) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition:
    background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Primary — navy pill (index: EXPLORE COURSES) */
.about-hero .about-hero-ctas a.btn.btn-hero-primary,
.about-hero .hero-actions a.btn.btn-hero-primary,
.about-hero .about-hero-ctas a.btn.btn-primary-standard,
.about-hero .hero-actions a.btn.btn-primary-standard,
.about-hero .about-hero-ctas a.btn.btn-accent,
.about-hero .hero-actions a.btn.btn-accent {
  background-color: var(--color-primary, #1c4484) !important;
  border: 1.5px solid var(--color-primary, #1c4484) !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  box-shadow:
    0 1px 2px rgba(17, 42, 79, 0.06),
    0 6px 20px rgba(28, 68, 132, 0.14) !important;
  min-height: 3.125rem !important;
  padding: 0.65rem 1.75rem !important;
  font-size: 1rem !important;
}

.about-hero .about-hero-ctas a.btn.btn-hero-primary:hover,
.about-hero .hero-actions a.btn.btn-hero-primary:hover,
.about-hero .about-hero-ctas a.btn.btn-primary-standard:hover,
.about-hero .hero-actions a.btn.btn-primary-standard:hover,
.about-hero .about-hero-ctas a.btn.btn-accent:hover,
.about-hero .hero-actions a.btn.btn-accent:hover {
  background-color: var(--color-primary-hover, #112a4f) !important;
  border-color: var(--color-primary-hover, #112a4f) !important;
  color: #ffffff !important;
  box-shadow:
    0 2px 4px rgba(17, 42, 79, 0.08),
    0 12px 28px rgba(28, 68, 132, 0.2) !important;
  transform: translateY(-1px);
}

/* Secondary — frosted glass (index: REACH US) */
.about-hero .about-hero-ctas a.btn.btn-hero-secondary,
.about-hero .hero-actions a.btn.btn-hero-secondary,
.about-hero .about-hero-ctas a.btn.btn-outline-light,
.about-hero .hero-actions a.btn.btn-outline-light,
.about-hero .about-hero-ctas a.btn.btn-outline,
.about-hero .hero-actions a.btn.btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  color: #ffffff !important;
  border-radius: 14px !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: none !important;
  min-height: 3.125rem !important;
  padding: 0.75rem 2rem !important;
  font-size: 1rem !important;
}

.about-hero .about-hero-ctas a.btn.btn-hero-secondary:hover,
.about-hero .hero-actions a.btn.btn-hero-secondary:hover,
.about-hero .about-hero-ctas a.btn.btn-outline-light:hover,
.about-hero .hero-actions a.btn.btn-outline-light:hover,
.about-hero .about-hero-ctas a.btn.btn-outline:hover,
.about-hero .hero-actions a.btn.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.about-hero .about-hero-ctas a.btn:focus-visible,
.about-hero .hero-actions a.btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92) !important;
  outline-offset: 3px !important;
}

@media (max-width: 575px) {
  .about-hero .about-hero-ctas a.btn,
  .about-hero .hero-actions a.btn {
    width: 100%;
  }
}
