/* section-6  */
.sec-6-body {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Poppins", sans-serif;
  background-color: #0a1744;
  color: #ffffff;
  margin-top: 50px;
}



.blog-header {
  text-align: center;
  margin-bottom: 40px;
}

.blog-title {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.blog-subtitle {
  font-size: 16px;
  opacity: 0.8;
}

.blog-slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* .blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-left: 15rem;
    width: 100%;
    
    } */

.blog-grid {
  display: flex;
  gap: 20px;
  padding: 10px 0;
  transition: transform 0.3s ease;
  width: fit-content;
  cursor: grab;
  user-select: none;
}

.blog-grid:active {
  cursor: grabbing;
}

/* .blog-card {
    background-color: rgba(10, 23, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    } */

.blog-card {
  flex: 0 0 auto;
  width: 320px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.blog-grid.dragging .blog-card {
  pointer-events: none;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #0a1744;
  border: none;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slider-btn:disabled:hover {
  transform: translateY(-50%) scale(1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-btn.left {
  left: 10px;
}

.slider-btn.right {
  right: 10px;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 20px;
}

.blog-card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-author {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  font-size: 14px;
}

.author-name {
  font-weight: 500;
}

.post-date {
  font-size: 12px;
  opacity: 0.7;
}

.blog-excerpt {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  opacity: 0.8;
}

.read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  color: #000;
  text-decoration: none;
  border: 1px solid #fff;
  background-color: #fff;
  border-radius: 50px;
  padding: 5px 10px;
}

.read-more svg {
  margin-left: 5px;
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}