/* Hero Component Styles - Minimal Design (20% Smaller) */
.specialty-hero {
  position: relative;
  min-height: 280px;
  margin-bottom: 1.6rem;
  overflow: hidden;
  border-radius: 9.6px;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #f8fbff 0%, #f0f5f9 100%);
  width: 100%;
  border: 1px solid var(--border-light);
  padding: 1.6rem 1.6rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.specialty-hero .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.6rem;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.specialty-hero-content {
  position: relative;
  z-index: 3;
}

.specialty-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-charcoal);
  line-height: 1.2;
  position: relative;
}

.specialty-description {
  font-size: 0.9rem;
  margin: 1.2rem 0;
  max-width: 600px;
  line-height: 1.6;
  color: var(--text-medium);
  font-weight: 400;
}

.specialty-competitiveness {
  display: inline-flex;
  align-items: center;
  background: var(--background-white);
  padding: 0.4rem 0.8rem;
  border-radius: 6.4px;
  border: 1px solid var(--border-light);
  margin-bottom: 0.8rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.competitiveness-hero-div {
  font-size: 0.7rem;
  color: var(--text-medium);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.6rem;
  position: relative;
  padding-right: 0.8rem;
}

.competitiveness-hero-div::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.competitiveness-label {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 6.4px;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  margin-left: 0.4rem;
}

.competitiveness-label.very-high {
  background: #fee2e2;
  color: #dc2626;
}

.competitiveness-label.high {
  background: #fed7aa;
  color: #ea580c;
}

.competitiveness-label.medium {
  background: #fef3c7;
  color: #d97706;
}

.competitiveness-label.low {
  background: #d1fae5;
  color: #059669;
}

.competitiveness-label.very-low {
  background: #d1fae5;
  color: #059669;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.hero-actions .btn {
  font-weight: 600;
  padding: 0.512rem 1.28rem;
  font-size: 0.64rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-radius: 5.12px;
}

.hero-actions .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-actions .btn-primary {
  background: var(--dentist-blue);
  color: white;
  border: none;
}

.hero-actions .btn-secondary {
  background: var(--background-white);
  color: var(--dentist-blue);
  border: 1px solid var(--dentist-blue);
}

/* View Programs Button - Matching Start Story Mining Session Button */
.view-programs-btn {
  width: 100%;
  padding: 13px;
  background: var(--dentist-blue);
  color: white;
  border: none;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(33, 147, 176, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
}

.view-programs-btn:hover {
  background: #1a7a8f;
  box-shadow: 0 4px 12px rgba(33, 147, 176, 0.3);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.view-programs-btn i {
  font-size: 13px;
  transition: transform 0.2s ease;
}

.view-programs-btn:hover i {
  transform: translateX(3px);
}

/* Quiz CTA Element - Simplified */
.quiz-cta-element {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-card-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
  z-index: 10;
  width: 100%;
}

.quiz-card {
  width: 100%;
  max-width: 256px;
  height: auto;
  min-height: 256px;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.quiz-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.quiz-card-link:hover .quiz-card-inner {
  transform: translateY(-5px);
}

.quiz-card-front {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--background-white);
  border-radius: 9.6px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  transition: all 0.3s ease;
}

.quiz-card-link:hover .quiz-card-front {
  box-shadow: var(--shadow-md);
  border-color: var(--dentist-blue);
}

.quiz-icon {
  font-size: 2.4rem;
  color: var(--dentist-blue);
  margin-bottom: 0.8rem;
}

.quiz-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-charcoal);
  margin-bottom: 0.6rem;
}

.quiz-description {
  color: var(--text-medium);
  font-size: 0.7rem;
  margin-bottom: 1.2rem;
  line-height: 1.5;
}

.take-quiz-btn {
  background: var(--dentist-blue);
  color: white;
  border: none;
  padding: 0.384rem 0.96rem;
  border-radius: 5.12px;
  font-weight: 600;
  font-size: 0.56rem;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
}

.take-quiz-btn:hover {
  background: #1a7a95;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Responsive Hero Section - Enhanced (20% Smaller) */
/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
  .specialty-title {
    font-size: 2.1rem;
  }
  
  .specialty-hero .container {
    gap: 2.4rem;
  }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
  .specialty-title {
    font-size: 1.8rem;
  }
}

/* Laptop (992px - 1199px) */
@media (max-width: 1199px) {
  .specialty-title {
    font-size: 1.5rem;
  }
  
  .specialty-hero .container {
    gap: 1.6rem;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .specialty-hero {
    min-height: auto;
    padding: 1.6rem 1.2rem;
  }
  
  .specialty-hero .container {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  
  .specialty-hero-content {
    text-align: center;
    order: 2;
  }
  
  .specialty-title {
    font-size: 1.44rem;
  }
  
  .specialty-description {
    margin: 1.2rem auto;
    max-width: 100%;
  }
  
  .specialty-competitiveness {
    justify-content: center;
    margin: 0 auto 0.8rem;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .quiz-cta-element {
    margin-bottom: 1.2rem;
    order: 1;
  }
  
  .quiz-card {
    margin: 0 auto;
    max-width: 100%;
  }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) {
  .specialty-hero {
    padding: 1.2rem 0.8rem;
    border-radius: 6.4px;
  }
  
  .specialty-title {
    font-size: 1.6rem;
  }
  
  .specialty-description {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .quiz-card {
    max-width: 100%;
  }
  
  .quiz-card-front {
    padding: 1.2rem;
  }
  
  .quiz-icon {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }
  
  .quiz-title {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }
  
  .quiz-description {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }
  
  .take-quiz-btn {
    padding: 0.48rem 1.2rem;
    font-size: 0.7rem;
    min-height: 36px;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 240px;
  }
}

/* Mobile Small (up to 575px) */
@media (max-width: 575px) {
  .specialty-hero {
    padding: 0.8rem;
  }
  
  .specialty-title {
    font-size: 1.4rem;
    line-height: 1.2;
  }
  
  .specialty-description {
    font-size: 0.75rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }
  
  .hero-actions .btn {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
  }
  
  .quiz-card {
    max-width: 100%;
  }
  
  .quiz-card-front {
    padding: 0.8rem;
    min-height: 224px;
  }
  
  .quiz-icon {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
  }
  
  .quiz-title {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }
  
  .quiz-description {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
  }
  
  .take-quiz-btn {
    padding: 0.48rem 0.8rem;
    font-size: 0.65rem;
    min-height: 36px;
    width: 100%;
  }
  
  .specialty-competitiveness {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
    text-align: center;
    padding: 0.6rem;
  }
  
  .competitiveness-hero-div {
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 0.4rem;
  }
  
  .competitiveness-hero-div::after {
    display: none;
  }
  
  .competitiveness-label {
    margin-left: 0;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .quiz-card-link:hover .quiz-card-inner {
    transform: none;
  }
  
  .take-quiz-btn {
    min-height: 44px;
  }
  
  .quiz-card-link {
    min-height: 44px;
    min-width: 44px;
  }
}

