:root {
  --primary: #662D91;
  --secondary: #2b3990;
  --text-dark: #000000;
  --text-body: #4a4a4a;
  --bg-page: #f8f9fa;
  --border-color: #e5e9f0;
}
.blog-index-page {
  background-color: var(--bg-page);
  min-height: 100vh;
  padding-left: 10px;
  padding-right: 10px;
}
.section-padding {
  padding: 60px 0;
}
.bi-header-banner {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 25px 0;
}
.bi-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bi-page-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
}
.bi-breadcrumb {
  font-size: 14px;
  color: #888;
  font-weight: 600;
}
.bi-breadcrumb a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.bi-breadcrumb a:hover {
  color: var(--primary);
}
.bi-breadcrumb span {
  color: var(--primary);
}
.bi-main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.bi-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}
.bi-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;

}
.bi-card:hover {
  box-shadow: 0 10px 20px rgba(5, 158, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.bi-card-img-wrap {
  display: block;
  height: 220px;
     position: relative;      /* ✅ Ye zaroori hai */
    display: block;

  
}
.bi-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;


   position: relative;     
    display: block;
  
}

.bi-card-overlay {
    position: absolute;      /* ✅ Absolute position chahiye */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);  /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;              /* Pehle hidden */
    transition: opacity 0.3s;
}


/* extra css read article button */
/* Read Article Button - Hover Effect */
.bi-read-article-btn {

      color: rgb(255, 255, 255);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 15px;
    box-shadow: rgba(232, 168, 73, 0.3) 0px 3px 12px;
    background: linear-gradient(135deg, rgb(252, 176, 65) 0%, rgb(252, 176, 65) 100%);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-image: none;
    transition: 0.3s;
  }

/* Hover State - Dark Background */
.bi-read-article-btn:hover {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);  /* Dark navy/black on hover */
    color: #fff;  /* Keep text white */
    border-color: #1a1a2e;  /* Match border with background */
    transform: translateY(-2px);  /* Slight lift on hover */
    box-shadow: 0 5px 20px rgba(26, 26, 46, 0.4);  /* Darker shadow on hover */
    gap: 12px;  /* Arrow moves right on hover */
}

/* Arrow Icon */
.bi-read-article-btn svg {
    width: 14px;  /* ⚠️ Arrow size - increase/decrease this value */
    height: 14px;
    transition: transform 0.3s ease;
}

.bi-read-article-btn:hover svg {
    transform: translateX(4px);  /* Arrow moves right */
}












.bi-card:hover .bi-card-img-wrap img {
  transform: scale(1.05);
}
.bi-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), #f0f8ff);
}
.bi-card-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.bi-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.4;
}
.bi-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.bi-card-title a:hover {
  color: var(--primary);
}
.bi-card-excerpt {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
} /* Pagination */
.bi-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.bi-sidebar {
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.bi-widget {
  background: #FFF1DD ;
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 4px;
}
.bi-widget-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}
.bi-widget-title span {
  color: #FCB041;
}
.bi-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bi-category-list li {
  border-bottom: 1px solid #f0f0f0;
}
.bi-category-list li:last-child {
  border-bottom: none;
}
.bi-category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}
.bi-category-list a:hover,
.bi-category-list a.is-active {
  color: #FCB041;
}
.bi-category-list a span {
  font-weight: 400;
  color: #999;
}
.bi-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.bi-recent-list li {
  display: flex;
  align-items: center;
  gap: 15px;
}
.bi-recent-list img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
.bi-recent-list a {
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s;
}
.bi-recent-list a:hover {
  color: #FCB041;
}
.bi-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bi-tags-cloud a {
  display: inline-block;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.bi-tags-cloud a:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}
@media (max-width: 1024px) {
  .bi-main-layout {
    grid-template-columns: 1fr 280px;
    gap: 30px;
  }
}
@media (max-width: 991px) {
  .bi-main-layout {
    grid-template-columns: 1fr;
  }
  .bi-sidebar {
    order: 2;
  }
}
@media (max-width: 767px) {
  .bi-header-flex {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .bi-page-title {
    font-size: 24px;
  }
  .bi-grid {
    grid-template-columns: 1fr;
  }
}
