/* ========================================
   SPECIFIC FIXES FOR REPORTED ISSUES
   Add this to the END of pages.css
   ======================================== */

/* FIX 1: About Page - Our Values Section Titles */
.about-page .section-label {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary);
    color: white !important;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }
  
  .about-page .display-5 {
    color: var(--primary) !important;
    font-weight: 800;
  }
  
  .about-page .h4 {
    color: var(--primary) !important;
  }
  
  /* FIX 2: About Page - Stats Counter Boxes */
  .about-page .stats-section {
    background: linear-gradient(135deg, #f8f9fc 0%, #e9ecef 100%);
    padding: 80px 0;
  }
  
  .about-page .stat-box {
    padding: 30px 20px;
    text-align: center;
  }
  
  .about-page .stat-box .display-3 {
    color: var(--primary) !important;
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 800;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .about-page .stat-box p {
    color: #666 !important;
    font-size: 1rem;
    margin-bottom: 0;
    word-wrap: break-word;
  }
  
  /* Ensure stat boxes don't overflow */
  .about-page .stats-section .row {
    margin: 0 -15px;
  }
  
  .about-page .stats-section [class*="col-"] {
    padding: 0 15px;
    margin-bottom: 20px;
  }
  
  /* FIX 3: News Page - Sidebar Widget Titles */
  .news-page .sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
  }
  
  .news-page .widget-title {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary);
    color: var(--primary) !important;
  }
  
  .news-page .newsletter-widget {
    background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
    color: white;
  }
  
  .news-page .newsletter-widget .widget-title {
    color: white !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .news-page .newsletter-widget p {
    color: rgba(255, 255, 255, 0.9) !important;
  }
  
  .news-page .newsletter-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .news-page .newsletter-form-sidebar input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
  }
  
  .news-page .newsletter-form-sidebar button {
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  
  .news-page .newsletter-form-sidebar button:hover {
    background: #f0f0f0;
  }
  
  /* Recent Posts Styling */
  .news-page .recent-posts {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .news-page .recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .news-page .recent-post-item:first-child {
    padding-top: 0;
  }
  
  .news-page .recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .news-page .recent-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  
  .news-page .recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .news-page .recent-post-content {
    flex: 1;
  }
  
  .news-page .recent-post-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: color var(--transition-fast);
  }
  
  .news-page .recent-post-title:hover {
    color: var(--primary);
  }
  
  .news-page .recent-post-date {
    font-size: var(--text-xs);
    color: #999;
  }
  
  /* FIX 4: Contact Page - Connect With Us Section */
  .contact-page .contact-social {
    margin-top: 30px;
  }
  
  .contact-page .contact-social h5 {
    color: var(--primary) !important;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.125rem;
  }
  
  .contact-page .social-links-large {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .contact-page .social-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all var(--transition-fast);
    flex-shrink: 0;
  }
  
  .contact-page .social-link:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: white;
  }
  
  .contact-page .social-link i {
    color: white;
  }
  
  /* Ensure contact info cards are styled properly */
  .contact-page .contact-info-wrapper {
    position: relative;
  }
  
  .contact-page .contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 20px;
    transition: all var(--transition-fast);
    margin-bottom: 20px;
  }
  
  .contact-page .contact-info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
  
  .contact-page .contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
  }
  
  .contact-page .contact-info-content h5 {
    color: var(--primary) !important;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .contact-page .contact-info-content p {
    color: #666 !important;
    margin-bottom: 5px;
    line-height: 1.6;
  }
  
  .contact-page .contact-info-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  .contact-page .contact-info-content a:hover {
    color: var(--accent);
    text-decoration: underline;
  }
  
  /* ADDITIONAL GLOBAL FIXES */
  
  /* Ensure text colors don't get overridden */
  .about-page h2,
  .about-page h3,
  .about-page h4,
  .about-page h5 {
    color: var(--primary) !important;
  }
  
  .about-page p,
  .about-page small,
  .about-page .text-muted {
    color: #666 !important;
  }
  
  .news-page h2,
  .news-page h3,
  .news-page h4,
  .news-page h5 {
    color: var(--primary) !important;
  }
  
  .news-page .newsletter-widget h2,
  .news-page .newsletter-widget h3,
  .news-page .newsletter-widget h4,
  .news-page .newsletter-widget h5,
  .news-page .newsletter-widget .widget-title {
    color: white !important;
  }
  
  .contact-page h2,
  .contact-page h3,
  .contact-page h4,
  .contact-page h5 {
    color: var(--primary) !important;
  }
  
  /* Responsive fixes for stats */
  @media (max-width: 991px) {
    .about-page .stat-box .display-3 {
      font-size: clamp(2rem, 4vw, 2.5rem) !important;
    }
  }
  
  @media (max-width: 767px) {
    .about-page .stat-box {
      padding: 20px 15px;
    }
    
    .about-page .stat-box .display-3 {
      font-size: clamp(1.75rem, 5vw, 2rem) !important;
    }
    
    .contact-page .social-links-large {
      justify-content: flex-start;
    }
    
    .news-page .recent-post-image {
      width: 70px;
      height: 50px;
    }
  }

  /* Brand name colour split: LAW (blue) FM (red) 103.9 (blue) */
.lfm-brand-law,
.lfm-brand-freq {
  font-weight: 800;
  color: var(--primary);
  font-style: normal;
}

.lfm-brand-fm {
  font-weight: 800;
  color: #a03234;
  font-style: normal;
  margin: 0 2px;
}

/* Dark mode — keep LAW and 103.9 white, FM stays red */
.dark-mode .lfm-brand-law,
.dark-mode .lfm-brand-freq {
  color: #fff;
}

.dark-mode .lfm-brand-fm {
  color: var(--accent);
}