: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;
}

.section-padding {
  padding: 60px 10px;
}

/* Blog Hero Section */
.blog-hero-section {
  position: relative;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .blog-hero-section {
  min-height: 250px;

  }
}
@media (max-width: 768px) {
  .blog-hero-section {
  min-height: 200px;

  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.hero-content {
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px;
  letter-spacing: 1px;
}

.hero-title span {
  color: #f9af40;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
}

.breadcrumb-link {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #f9af40;
}

.breadcrumb-separator {
  display: flex;
  align-items: center;
}

.breadcrumb-current {
  color: #f9af40;
  font-weight: 600;
}

/* Blog Index Page */
.blog-index-page {
  background-color: #ffffff;
}

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
    padding: 60px 10px;

}

.bi-main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

/* Blog Grid */
.bi-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
}

/* Blog Card */
.bi-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.bi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.bi-card-img-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  height: 250px;
}

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

.bi-card:hover .bi-card-img-wrap img {
  transform: scale(1.1);
}

.bi-card-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bi-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(107, 45, 158, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bi-card:hover .bi-card-overlay {
  opacity: 1;
}

.bi-read-label {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bi-card-body {
  padding: 25px;
}

.bi-card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 15px;
  line-height: 1.4;
}

.bi-card-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bi-card-excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #000000;
  margin: 0 0 20px;
}
/* Blog Card Link - Button Style */
.bi-card-link {
  display: inline-block;
  background: #f9af40;
  color: #000000;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.bi-card-link:hover {
  background: transparent;
  border: 2px solid #f9af40;
  color: #000000;
}
/* Read Article Button - Proper Button Style */
.bi-read-btn {
  display: inline-block;
  background: #f9af40;
  color: #000000;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.bi-read-btn:hover {
  background: transparent;
  border: 2px solid #f9af40;
  color: #000000;
}

/* Sidebar */
.bi-sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
}

.bi-widget {
  background: #fff0da;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
}

.bi-widget-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bi-widget-title span {
  color: #672e91;
}

/* Category List */
.bi-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bi-category-list li {
  margin-bottom: 10px;
}

.bi-category-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  color: #000000;
  font-size: 14px;
  transition: all 0.3s ease;
}

.bi-category-list a:hover,
.bi-category-list a.is-active {
  background: #672e91;
  color: #ffffff;
}

.bi-category-list a span:last-child {
  background: #f9af40;
  color: #000000;
  padding: 3px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.bi-category-list a:hover span:last-child,
.bi-category-list a.is-active span:last-child {
  background: #ffffff;
}

/* Recent Posts List */
.bi-recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bi-recent-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.bi-recent-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.bi-recent-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
}

.bi-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bi-recent-info {
  flex: 1;
}

.bi-recent-info a {
  font-size: 14px;
  color: #000000;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.bi-recent-info a:hover {
  color: #672e91;
}

.bi-empty {
  text-align: center;
  padding: 40px;
  color: #000000;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .bi-main-layout {
    grid-template-columns: 1fr;
  }

  .bi-sidebar {
    position: static;
  }

  .hero-title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .bi-grid {
    grid-template-columns: 1fr;
  }

  .section-padding {
    padding: 60px 10px;
  }

  .hero-title {
    font-size: 32px;
  }

  .bi-card-title {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 28px;
  }

  .breadcrumb-nav {
    font-size: 14px;
  }

  .bi-card-body {
    padding: 20px;
  }
}

/* Blog Content Links */

.blog-content a {
  color: #6b2d9e;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.blog-content a:hover {
  color: #fbb040;
  border-bottom-color: #fbb040;
}

.bd-body a {
  color: #6b2d9e;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}
