/* Custom Container 1376px */
@media (min-width: 1400px) {
  .container-custom {
    max-width: 1376px;
    margin: 0 auto;
    padding: 0 15px;
  }
}

@media (max-width: 1399px) {
  .container-custom {
    width: 100%;
    padding: 0 15px;
  }
}

/* ================= SECTION HEADER ================= */
.section-header {
  border-bottom: 3px solid #eee;
  margin-bottom: 25px;
  position: relative;
  text-align: center;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-black);
  display: inline-block;
  background: #fff;
  padding: 0 15px;
  position: relative;
  top: 14px;
}

.section-title span {
  color: #2e7d32;
}

/* ================= NEWS STYLES ================= */
.news-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
  background-color: #eee;
  margin-bottom: 12px;
}

/* Titles */
.news-title {
  font-size: 22px;
  /* Standard Title Size */
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #000;
}

.news-title-sm {
  font-size: 18px;
  /* Smaller Title Size for Right Column */
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #000;
}

.news-title a:hover,
.news-title-sm a:hover {
  color: var(--bd-red);
}

/* Colored Title Parts */
.title-blue {
  color: var(--bd-blue);
}

.title-black {
  color: var(--text-black);
}

/* Excerpt */
.news-excerpt {
  font-size: 18px;
  color: #444;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 0;
}

/* Dividers */
.item-divider {
  border-bottom: 1px solid var(--border-color);
  margin: 25px 0;
  padding-bottom: 0;
}

/* Main Column Divider (Between Col 1 and Col 2) */
.main-col-divider {
  border-right: 1px solid var(--border-color);
  padding-right: 25px;
}

/* Inner Grid Divider (Vertical between grid items) */
.inner-col-divider {
  border-right: 1px solid var(--border-color);
  padding-right: 15px;
}

.inner-col-padding {
  padding-left: 15px;
}

/* Responsive */
@media (max-width: 991px) {
  .main-col-divider {
    border-right: none;
    padding-right: 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }

  .inner-col-divider {
    border-right: none;
    padding-right: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }

  .inner-col-padding {
    padding-left: 0;
  }
}

/* ================= FIXED CATEGORY HEADER DESIGN ================= */
.cat-header-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  /* হাইট বাড়ানো হয়েছে যাতে ফন্ট কেটে না যায় */
  overflow: visible;
  /* ফন্ট যাতে কন্টেইনারের বাইরে দেখা যায় */
}

/* Layer 1: Double Dashed Line (Low Opacity Blue) */
.cat-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 8px;
  /* দুই লাইনের মাঝখানের ফাঁকা */
  /* ডাবল ড্যাশ লাইন তৈরি এবং অপাসিটি কমানো হয়েছে (rgba 0.3) */
  border-top: 2px dashed rgba(24, 103, 210, 1);
  border-bottom: 2px dashed rgba(24, 103, 210, 1);
  transform: translateY(-50%);
  z-index: 1;
}

/* Layer 2: Big Watermark Title (With Padding) */
.cat-title-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 70px;
  font-weight: 900;
  color: rgba(48, 128, 222, 0.1);
  line-height: 1;
  /* লাইন হাইট ঠিক করা হয়েছে */
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
  background-color: #fff;
  /* পেছনের লাইন ঢাকার জন্য ব্যাকগ্রাউন্ড */
  padding: 0 40px;
  /* দুই পাশে প্যাডিং */
}

/* Layer 3: Main Clear Title (No Padding) */
.cat-title-main {
  position: relative;
  font-size: 30px;
  font-weight: 700;

  z-index: 3;
  margin-top: 5px;
  /* সেন্টারে আনার জন্য সামান্য এডজাস্টমেন্ট */
  display: inline-block;
  text-transform: uppercase;
  padding: 0;
  /* মেইন ফন্টে কোনো প্যাডিং নেই */
}

.cat-title-main a {
  color: var(--bd-green);
}
