:root {
  --primary: #059eff;
  --secondary: #def3ff;
  --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: #11111180;
  border-bottom: 1px solid var(--border-color);
  padding: 50px 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: #ffbd1f;
}
.bi-breadcrumb {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
}
.bi-breadcrumb a {
  color: #ffffff;
  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(2, 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;
}
.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; */
  overflow: hidden;
  position: relative;
}
.bi-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.5s ease;
}
.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: 16px;
  color: #000000;
  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: #ffffff;
  /* border: 1px solid var(--border-color); */
  padding: 10px 10px;
  border-radius: 4px;
}
.bi-widget-title {
  border-bottom: 1px solid #e5e9f0;
  color: #000000 !important;
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 10px;
  margin-top: 10px;
  padding-bottom: 10px;
}
.bi-widget-title span {
  color: var(--primary);
}
.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 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
  background-color: #2e9e46;
}
.bi-category-list a:hover,
.bi-category-list a.is-active {
  background-color: #f26522;
  color: #ffffff;
}
.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: #f26522;
}
.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;
  }
}

.cta-button {
  color: #fff;
  background-color: #f26522;
  padding: 8px 18px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 18px;
  max-width: 130px;
  border: 2px solid #f26522;
}

.cta-button:hover {
  color: #000000;
  background-color: #fff;
  border: 2px solid #2e9e46;
}

/* ========================================================= TOP CALL BANNER (ins3) ========================================================= */
.well1.ins3.bg-primary {
  position: relative;
  background-color: #940000;
  padding: 26px 0;
  overflow: hidden;
}

/* Scattered dot pattern overlay, matches other decorative sections */
.well1.ins3.bg-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.5) 1.5px,
    transparent 1.5px
  );
  background-size: 55px 55px;
  background-position:
    0 0,
    28px 28px;
  opacity: 0.55;
  pointer-events: none;
}

.well1.ins3.bg-primary .numlink {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  line-height: 1.3;
  cursor: pointer;
}

/* ========================================================= FEATURE STRIP (3 columns) ========================================================= */
.well1:not(.ins3) {
  background-color: #ffffff;
  padding: 50px 0;
}

.well1:not(.ins3) .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.well1:not(.ins3) .grid_4 h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.well1:not(.ins3) .grid_4 p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
}

.well1:not(.ins3) .grid_4 p a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.well1:not(.ins3) .grid_4 p a:hover {
  color: #3fa9d5;
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .well1:not(.ins3) .row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .well1.ins3.bg-primary .numlink {
    font-size: 22px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .well1.ins3.bg-primary {
    padding: 20px 0;
  }
  .well1:not(.ins3) {
    padding: 40px 0;
  }
  .well1:not(.ins3) .row {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

.bg-gray-7.inner-sect img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .bg-gray-7.inner-sect {
    height: 200px;
    overflow: hidden;
  }

  .bg-gray-7.inner-sect img {
    width: auto;
    max-width: none;
    height: 180px;
    object-fit: cover;
    object-position: left center !important;
  }
}
