/* Additional styles for Their Songs Articles Section */

/* CONTENT EXPLANATION SECTION */
.ya-cfu-content-sec {
  background: transparent;
}

.ya-cfu-content-explanation {
  text-align: center;
}

.ya-cfu-content-explanation .ya-cfu-land-rtf {
  color: #f3f3f3 !important; /* Dark theme text color */
  max-width: 800px; /* Reasonable width */
  margin: 0 auto;
}

.ya-cfu-content-explanation .ya-cfu-land-rtf p {
  font-size: 1.1rem !important;
  font-weight: 400;
}

/* SPACING BETWEEN FORM BUTTON AND PAGINATION */
.ya-cfu-land-action {
}

.ya-cfu-paging {
  margin-top: 2rem !important; /* Additional space above pagination */
}

/* ARTICLES SECTION */
.ya-cfu-articles-section {
  background-color: transparent; /* Let the dark background show through */
  padding: 2rem 0; /* Reduced padding from 4rem to 2rem */
  margin-top: 1rem; /* Reduced margin from 2rem to 1rem */
}

.ya-cfu-articles-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #f3f3f3; /* Dark theme text color */
  margin-bottom: 2rem; /* Reduced from 3rem to 2rem */
  font-family: "Alef", sans-serif;
  direction: rtl;
}

.ya-cfu-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns */
  gap: 1.5rem; /* Slightly reduced gap */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ya-cfu-article-card {
  background: rgba(255, 255, 255, 1) !important; /* Full opacity white background */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow for dark theme */
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  direction: rtl;
  color: #000000 !important; /* Force black text for all content inside cards */
}

.ya-cfu-article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); /* Stronger hover shadow */
  background: rgba(255, 255, 255, 1); /* Full opacity on hover */
}

.ya-cfu-article-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.ya-cfu-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ya-cfu-article-card:hover .ya-cfu-article-image {
  transform: scale(1.05);
}

/* FORCE CACHE REFRESH - ARTICLE TEXT VISIBILITY FIX v2.0 */
/* Added: 2025-08-28 to force browser cache refresh */

.ya-cfu-article-content {
  padding: 1.5rem;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  background: #ffffff !important; /* Force white background for text content */
  color: #000000 !important; /* Force black text */
}

/* Force article content visibility always - not just on hover */
.ya-cfu-articles-grid .ya-cfu-article-card .ya-cfu-article-content,
.ya-cfu-article-card .ya-cfu-article-content,
.ya-cfu-article-content {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  background: #ffffff !important; /* Force white background */
  color: #000000 !important; /* Force black text */
}

/* Force article text visibility with maximum specificity */
.ya-cfu-articles-grid .ya-cfu-article-card .ya-cfu-article-content .ya-cfu-article-title,
.ya-cfu-article-card .ya-cfu-article-content .ya-cfu-article-title,
.ya-cfu-article-content .ya-cfu-article-title,
.ya-cfu-article-title,
.ya-cfu-article-card h3,
.ya-cfu-article-card .ya-cfu-article-content h3 {
  font-size: 1.1rem !important;
  font-weight: bold !important;
  color: #000000 !important; /* Force black text - changed from #333 to pure black */
  background: #ffffff !important; /* Force white background behind text */
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  font-family: "Alef", sans-serif !important;
  direction: rtl !important;
  text-align: right !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Force article link visibility with maximum specificity */
.ya-cfu-articles-grid .ya-cfu-article-card .ya-cfu-article-content .ya-cfu-article-link,
.ya-cfu-article-card .ya-cfu-article-content .ya-cfu-article-link,
.ya-cfu-article-content .ya-cfu-article-link,
.ya-cfu-article-link {
  display: inline-block !important;
  color: #007bff !important; /* Force blue color for links */
  background: #ffffff !important; /* Force white background behind links */
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 0.9rem !important;
  transition: color 0.3s ease !important;
  direction: rtl !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.ya-cfu-articles-grid .ya-cfu-article-card .ya-cfu-article-content .ya-cfu-article-link:hover,
.ya-cfu-article-card .ya-cfu-article-content .ya-cfu-article-link:hover,
.ya-cfu-article-content .ya-cfu-article-link:hover,
.ya-cfu-article-link:hover {
  color: #0056b3 !important; /* Force darker blue on hover */
  text-decoration: underline !important;
}

/* Land text content sections - DARK THEME COMPATIBLE */
.ya-cfu-land-text-content {
  margin: 2rem 0;
  direction: rtl;
  text-align: right;
}


.ya-cfu-land-text-content.below-video {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.ya-cfu-land-text-content .ya-cfu-land-rtf {
  color: #f3f3f3; /* Dark theme text color - same as original */
  max-width: 900px; /* Expanded from 720px to utilize new width */
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.ya-cfu-land-text-content .ya-cfu-land-rtf p {
  margin-bottom: 1rem;
}

.ya-cfu-land-text-content .ya-cfu-land-action {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  direction: rtl;
}

.ya-cfu-land-text-content .ya-cfu-land-action:hover {
  background-color: #0056b3;
}

.ya-cfu-content-explanation {
  text-align: center;
  direction: rtl;
}

.ya-cfu-content-explanation .ya-cfu-land-rtf {
  color: #f3f3f3; /* Dark theme text */
}

/* Responsive design */
@media (max-width: 768px) {
  .ya-cfu-articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .ya-cfu-articles-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .ya-cfu-article-content {
    padding: 1rem;
  }
  
  .ya-cfu-article-title {
    font-size: 1rem;
  }
  
  .ya-cfu-land-text-content .ya-cfu-land-rtf {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .ya-cfu-articles-section {
    padding: 2rem 0;
  }
  
  .ya-cfu-articles-title {
    font-size: 1.8rem;
  }
  
  .ya-cfu-article-image-wrapper {
    height: 160px;
  }
}
/ *   C a c h e   b u s t e r :   2 0 2 5 - 0 8 - 2 8 - 1 0 - 2 2 - 5 5   * / 
 
 
 / *   W H I T E   B A C K G R O U N D   F I X   -   1 0 - 3 1 - 2 0   * / 
 
 