/* ==================== SIDEBAR WIDGETS COLOR FIXES ==================== */

/* Tags Cloud Widget - Fix visibility */
.sidebar-widget.tags-widget {
  background: white;
  border: 1px solid #e5e7eb;
}

.sidebar-widget.tags-widget h3 {
  color: #1f2937; /* Dark text on white background */
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-cloud .tag-item {
  padding: 0.375rem 0.875rem;
  background: #f3f4f6; /* Light gray background */
  color: #4b5563; /* Dark gray text */
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}

.tags-cloud .tag-item:hover {
  background: #3b82f6; /* Blue background on hover */
  color: white; /* White text on hover */
  border-color: #3b82f6;
  transform: translateY(-2px);
}

/* Social Media Widget - Fix visibility */
.sidebar-widget.social-widget {
  background: white;
  border: 1px solid #e5e7eb;
}

.sidebar-widget.social-widget h3 {
  color: #1f2937; /* Dark text on white background */
}

.social-widget .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-widget .social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6; /* Light gray background */
  color: #4b5563; /* Dark gray icon */
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.125rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
}

.social-widget .social-link:hover {
  background: #3b82f6; /* Blue background on hover */
  color: white; /* White icon on hover */
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  border-color: #3b82f6;
}

/* Fix for all sidebar widgets to ensure visibility */
.sidebar-widget {
  background: white !important; /* White background */
  color: #1f2937 !important; /* Dark text */
}

.sidebar-widget h3 {
  color: #1f2937 !important; /* Dark headings */
}

.sidebar-widget p {
  color: #6b7280 !important; /* Gray body text */
}

/* CTA Widget Button Fix */
.sidebar-widget.cta-widget .cta-btn,
.sidebar-widget.cta-widget .btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #3b82f6; /* Blue background */
  color: white !important; /* White text */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.2s;
  border: none;
}

.sidebar-widget.cta-widget .cta-btn:hover,
.sidebar-widget.cta-widget .btn:hover {
  background: #2563eb; /* Darker blue on hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Newsletter Widget Button Fix */
.sidebar-widget.newsletter-widget form button {
  background: #3b82f6 !important; /* Blue background */
  color: white !important; /* White text */
  border: none;
  padding: 0.75rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-widget.newsletter-widget form button:hover {
  background: #2563eb !important; /* Darker blue on hover */
  transform: translateY(-2px);
}

/* Categories Widget Fix */
.sidebar-widget.categories-widget .category-pill {
  background: #f3f4f6; /* Light gray background */
  color: #4b5563 !important; /* Dark gray text */
  border: 1px solid #e5e7eb;
}

.sidebar-widget.categories-widget .category-pill:hover {
  background: #3b82f6; /* Blue on hover */
  color: white !important; /* White text on hover */
  border-color: #3b82f6;
}

.sidebar-widget.categories-widget .category-pill .count {
  background: rgba(0, 0, 0, 0.08); /* Semi-transparent background */
  color: inherit; /* Inherit parent color */
}
