/* Behavioral Interview Questions Page Styles */

/* Hero with Stats */
.behavioral-hero {
  display: block;
}

.hero-stat-row {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--coral);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
}

/* Intro Block Enhancement */
.intro-block {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--cream-dark);
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

/* Competency Intro */
.competency-intro {
  font-size: 1rem;
  color: var(--stone);
  padding: var(--space-md);
  background: var(--cream);
  border-left: 3px solid var(--coral);
  margin-bottom: var(--space-lg);
}

/* STAR Framework Visual */
.star-framework {
  margin: var(--space-xl) 0;
  display: grid;
  gap: 0;
}

.star-element {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--cream-dark);
  border-top: none;
  transition: all 0.3s var(--ease-out-expo);
}

.star-element:first-child {
  border-top: 1px solid var(--cream-dark);
}

.star-element:hover {
  background: var(--cream);
}

.star-letter {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--cream-dark);
  line-height: 1;
  transition: color 0.3s var(--ease-out-expo);
}

.star-element:hover .star-letter {
  color: var(--coral);
}

.star-content h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.star-content p {
  font-size: 0.9375rem;
  color: var(--stone);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.star-question {
  font-size: 0.8125rem;
  color: var(--coral);
  font-style: italic;
  display: block;
}

/* Scoring Note Box */
.scoring-note {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--ink);
  color: var(--cream);
}

.scoring-note h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  margin-bottom: var(--space-md);
}

.scoring-note p {
  font-size: 0.9375rem;
  color: var(--stone-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.scoring-note p:last-child {
  margin-bottom: 0;
}

.score-scale {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.score {
  flex: 1;
  padding: var(--space-sm);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score.s1 {
  background: rgba(232, 90, 79, 0.2);
  color: var(--coral-light);
}

.score.s2 {
  background: rgba(212, 168, 83, 0.2);
  color: var(--gold);
}

.score.s3 {
  background: rgba(45, 138, 78, 0.2);
  color: #5cb87a;
}

.score.s4 {
  background: rgba(45, 138, 78, 0.4);
  color: #7ed99a;
}

/* Question Blocks */
.question-block {
  margin: var(--space-lg) 0;
  background: white;
  border: 1px solid var(--cream-dark);
  overflow: hidden;
}

.question-header {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--cream) 0%, white 100%);
  border-bottom: 1px solid var(--cream-dark);
}

.question-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--coral);
  line-height: 1;
}

.question-header h3 {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  align-self: center;
}

.question-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--cream-dark);
}

.what-to-look-for,
.red-flags {
  padding: var(--space-md) var(--space-lg);
  background: white;
}

.what-to-look-for h4,
.red-flags h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.what-to-look-for h4 {
  color: #2d8a4e;
}

.red-flags h4 {
  color: var(--coral);
}

.what-to-look-for ul,
.red-flags ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.what-to-look-for li,
.red-flags li {
  font-size: 0.875rem;
  color: var(--stone);
  padding: var(--space-xs) 0;
  padding-left: var(--space-md);
  position: relative;
  line-height: 1.5;
}

.what-to-look-for li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: #2d8a4e;
  font-weight: 600;
}

.red-flags li::before {
  content: '−';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 600;
}

.follow-ups {
  padding: var(--space-md) var(--space-lg);
  background: var(--cream);
  border-top: 1px solid var(--cream-dark);
}

.follow-ups h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: var(--space-sm);
}

.follow-ups p {
  font-size: 0.875rem;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  padding: var(--space-xs) 0;
  line-height: 1.5;
}

/* Quick Reference Section */
.quick-ref {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.quick-ref-section {
  padding: var(--space-md);
  background: white;
  border: 1px solid var(--cream-dark);
}

.quick-ref-section h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--cream-dark);
}

.quick-ref-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-ref-section li {
  font-size: 0.875rem;
  color: var(--stone);
  padding: var(--space-xs) 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--cream);
}

.quick-ref-section li:last-child {
  border-bottom: none;
}

/* Tips Grid */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.tip-card {
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--cream-dark);
  transition: all 0.3s var(--ease-out-expo);
}

.tip-card:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

.tip-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream-dark);
  display: block;
  margin-bottom: var(--space-sm);
}

.tip-card:hover .tip-number {
  color: var(--coral);
}

.tip-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.tip-card p {
  font-size: 0.875rem;
  color: var(--stone);
  margin: 0;
  line-height: 1.6;
}

/* Final Note */
.final-note {
  margin: var(--space-xl) 0;
  padding: var(--space-lg);
  background: var(--cream);
  border-left: 4px solid var(--gold);
}

.final-note h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.final-note p {
  font-size: 0.9375rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.final-note p:last-child {
  margin-bottom: 0;
  color: var(--ink);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-stat-row {
    gap: var(--space-lg);
  }

  .question-body {
    grid-template-columns: 1fr;
  }

  .quick-ref {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-stat-row {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .hero-stat {
    min-width: 80px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .star-element {
    grid-template-columns: 40px 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .star-letter {
    font-size: 2rem;
  }

  .question-header {
    grid-template-columns: 40px 1fr;
    gap: var(--space-sm);
    padding: var(--space-md);
  }

  .question-number {
    font-size: 1.5rem;
  }

  .what-to-look-for,
  .red-flags,
  .follow-ups {
    padding: var(--space-md);
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }

  .score-scale {
    flex-wrap: wrap;
  }

  .score {
    flex: 1 1 45%;
    margin-bottom: 2px;
  }
}
