/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */
.related-block {
  margin: 20px 0;
  background: #f5f5f5;
  border-top: 4px solid #d1c3a1;
  padding-bottom: 10px;
}

.related-heading {
  background-color: #113f78; /* Dark blue */
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 15px;
}

.related-slider-custom {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 15px;
  scroll-behavior: smooth;
}

.related-box {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  min-width: 230px;
  flex-shrink: 0;
  transition: 0.3s ease;
}

.related-box:hover {
  transform: translateY(-2px);
}

.related-box img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.related-date {
  font-size: 10px;
  color: #666;
  padding: 6px 8px 0;
}

.related-title {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  padding: 4px 8px 10px;
  line-height: 0.4;
}
.related-slider-custom {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 10px;
  scroll-behavior: smooth;
}

.related-box {
  background: #fff;
  border-radius: 4px;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  min-width: 180px;
  max-width: 200px;   /* ✅ बॉक्स की चौड़ाई कम */
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.related-box img {
  width: 100%;
  height: 110px;  /* ✅ इमेज का साइज भी कम */
  object-fit: cover;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.related-date {
  font-size: 8px;
  color: #666;
  padding: 5px 8px 0;
}
.related-title {
  font-size: 13px;
  font-weight: 600;
  color: #000;
  padding: 4px 8px 8px;
  line-height: 1.3;
}
.first-published-block {
  border-top: 1px solid #ccc;
  padding: 15px 10px;
  font-size: 15px;
  line-height: 1.6;
  background: #f9f9f9;
  margin-top: 30px;
}

.first-published-block p {
  margin-bottom: 10px;
  font-weight: bold;
}

.post-credit-line {
  color: #000;
  font-size: 14px;
  margin-bottom: 10px;
}

.post-credit-line strong {
  font-weight: bold;
}
.scrolling-tags-wrapper {
  overflow-x: auto;
  white-space: nowrap;
  padding: 8px 5px;
  margin-top: 10px;
  border-top: 1px solid #ccc;
  scroll-behavior: smooth;
}

.scrolling-tags {
  display: inline-flex;
  gap: 8px;
}

.scrolling-tags a {
  display: inline-block;
  background: #f0f0f0;
  border: 1px solid #aaa;
  color: #333;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 20px;
  text-decoration: none;
  transition: 0.3s ease;
  white-space: nowrap;
}

.scrolling-tags a:hover {
  background: #ddd;
}

/* Optional: hide scrollbar */
.scrolling-tags-wrapper::-webkit-scrollbar {
  display: none;
}
.scrolling-tags-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

