/* ==================================================
   WORKWARS WAGE-GUIDES CSS
   Depends on: workwars-core.css + style.css (load after both)
   Owns: section-head, quick-answer, faq, cards,
         warn-box, btn-gold, btn-teal
   Used by: wages, wrongful-dismissal, discrimination,
            union, non-compete, mental-health, caregiver,
            vacation, workplace-safety article pages
================================================== */

/* ===== SECTION HEAD ===== */

.section-head {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

.section-head:first-of-type {
  margin-top: 24px;
}

/* ===== QUICK ANSWER BOX ===== */

.quick-answer {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #86efac;
  border-left: 5px solid #16a34a;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
}

.qa-label {
  font-size: 11px;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #15803d;
  margin-bottom: 8px;
}

.quick-answer p {
  margin: 0;
  font-size: 15px;
  color: #14532d;
  line-height: 1.7;
}

.quick-answer strong {
  color: #15803d;
}

/* ===== FAQ SECTION ===== */

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.faq-q {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
  cursor: default;
  position: relative;
  padding-left: 44px;
}

.faq-q::before {
  content: "Q";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

.faq-a {
  padding: 16px 20px 16px 44px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  background: #ffffff;
  position: relative;
}

.faq-a::before {
  content: "A";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

/* ===== CARD ===== */

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  margin-bottom: 12px;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card strong {
  display: block;
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== WARN BOX ===== */

.warn-box {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-left: 5px solid #ea580c;
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 15px;
  color: #7c2d12;
  line-height: 1.65;
}

.warn-box strong {
  color: #9a3412;
  display: block;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ===== BUTTON VARIANTS ===== */

.btn-gold {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: #fff;
}

.btn-teal {
  display: inline-block;
  background: linear-gradient(135deg, #0d9488, #0f766e);
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius);
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: #fff;
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {

  .faq-q,
  .faq-a {
    padding-left: 36px;
  }

  .faq-q::before,
  .faq-a::before {
    left: 10px;
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .section-head {
    font-size: 20px;
  }

}
