/* ========================================
   BETTER LIGHTING - TEXT IMPROVEMENTS
   Fixes for spacing, alignment, readability
   Based on PDF comments analysis
   ======================================== */

/* === LINE-HEIGHT IMPROVEMENTS === */

/* Global paragraph spacing */
p {
  line-height: 1.65;
  margin-bottom: 1rem;
}

*:not(.header-good a, .header-good .nav-link) {
  a {
    color: #0a66c2;
  }
}

/* Specific sections that need more breathing room */
.glassory-section {
  font-size: 17px;
  text-align: justify;
  line-height: 1.7 !important;
}

/* === TEXT ALIGNMENT === */

/* Apply justify to all content areas */
.stat-section p,
.person-tags p,
.content-main p,
.intro-body p,
.glassory-section p,
.emergency-content p,
.didyouknow p.card-text,
p {
  text-align: justify !important;
  text-justify: inter-word;
}

.card-text {
  text-align: justify !important;
  text-justify: inter-word;
}

/* Text center for specific elements */
.text-center,
.text-center p {
  text-align: center;
}

/* === HEADING SIZES === */

/* Glossary headings - make more prominent */
h4.font-weight-bold,
h5.font-weight-bold {
  font-size: 22px !important;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.upper {
  text-transform: uppercase;
}

/* Glossary subheadings */
.glassory-section .font-weight-bold {
  font-size: 20px;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: 600;
}

/* === EMERGENCY LIGHTING STYLES === */

.emergency-pdf-banner {
  background: linear-gradient(135deg, #fff3cd 0%, #fff8e1 100%) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.25) !important;
}

.emergency-pdf-banner h2 {
  color: #dc3545 !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.emergency-pdf-banner .btn-danger,
.emergency-pdf-banner .btn-lg {
  background: #dc3545 !important;
  border: none;
  font-weight: 700;
  padding: 18px 45px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.emergency-pdf-banner .btn-danger:hover,
.emergency-pdf-banner .btn-lg:hover {
  background: #c82333 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 53, 69, 0.45);
}

.mandatory-warning {
  background: #fff5f5;
  border-left: 6px solid #dc3545;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}

/* === MEET CHRISTINE FIX === */

/* Ensure white text is visible on green background */
#meetEmmaCont h3.t-white,
.curve-christine-cont .t-white {
  color: #ffffff !important;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Ensure green background */
.curve-christine-cont.b-green3 {
  background-color: #7fb69e !important;
}

/* === LUNCHTIME ADJUSTMENTS (Meet Christine) === */

#christine_lunchtime h4 {
  letter-spacing: 1.5px;
}

#christine_lunchtime {
  padding-top: 120px;
}

/* === GENERAL IMPROVEMENTS === */

/* Improve readability of all content sections */
.stat-section,
.person-tags,
.content-main {
  font-size: 17px;

  figcaption {
    font-style: italic;
    font-size: 16px;
  }
}

/* Add breathing room to titles */
.title-section {
  margin-top: 3rem !important;
  margin-bottom: 2rem !important;
}

/* Improve list spacing */
ul li,
ol li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Better link visibility */
a {
  transition: all 0.2s ease;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .glassory-section {
    font-size: 17px;
  }
}