/* blog-main.css: Blog ana sayfa ve grid için temel stiller */

/* Ana içerik alanı beyaz arkaplan */
.main-content {
  background-color: #ffffff !important;
}

.main-content .container-xxl,
.main-content .container {
  background-color: #ffffff !important;
}

/* Blog Section - Ana arkaplan ve stil */
.blog-section {
  background-color: #ffffff !important;
  padding: 2rem 0;
  min-height: 60vh;
}

.blog-section .container {
  background-color: #ffffff;
}

.blog-header {
  text-align: center;
  margin-bottom: 2rem;
}

.blog-page-title {
  color: #1a1a1a;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.blog-filter-info {
  color: #6c757d;
  font-size: 1rem;
}

.blog-list {
  background-color: #ffffff;
}

.blog-item {
  border-bottom: 1px solid #e9ecef;
  padding: 1rem 0;
}

.blog-item:last-child {
  border-bottom: none;
}

.blog-item-link {
  text-decoration: none;
  color: inherit;
}

.blog-item-link:hover {
  color: #0d6efd;
}

.blog-item-title {
  color: #1a1a1a;
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-item-link:hover .blog-item-title {
  color: #0d6efd;
}

.blog-item-meta {
  color: #6c757d;
  font-size: 0.875rem;
}

.blog-empty {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

.blog-empty a {
  color: #0d6efd;
}

.section-title-container {
  text-align: center;
  margin-bottom: 2rem;
}
.section-title {
  display: inline-block;
  position: relative;
  margin: 0 auto;
  padding-bottom: 10px;
}
.section-title:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 3px;
  width: 80px;
  background-color: #0d6efd;
}
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.category-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
}
.category-badge .badge {
  background-color: rgba(52, 58, 64, 0.85);
  color: white;
  font-weight: 500;
}
.card {
  transition: transform 0.3s;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
img.lazy {
  opacity: 1;
  transition: opacity 0.3s;
}

/* Blog Pagination Modern Style */
.blog-pagination {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.pagination-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
  background-color: transparent;
  color: #0d6efd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(.disabled):not(.active) {
  background-color: rgba(13, 110, 253, 0.1);
  border-color: #0d6efd;
  color: #0d6efd;
}

.pagination-btn.active {
  background-color: #0d6efd;
  color: #ffffff;
  border-color: #0d6efd;
  font-weight: 600;
}

.pagination-btn.disabled {
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.5;
}
