.My-new-blogs {
    background-color: #ffffff;
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.carousel-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.blog-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.blog-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-content span {
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.2px;
    color: #999;
    font-weight: 700;
}

.blog-content h3 {
    margin: 12px 0;
    font-size: 20px;
    color: #111;
    line-height: 1.4;
}

.blog-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #000;
    width: 25px;
    border-radius: 10px;
}

.view-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.view-more-btn {
    padding: 15px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: 0.3s;
    border: 1px solid #000;
}

.view-more-btn:hover {
    background: #fff;
    color: #000;
}

@media (min-width: 1025px) {
    .blog-card { width: calc((100% / 4) - 22.5px); } /* (Gap 30 * 3) / 4 = 22.5 */
}

@media (max-width: 1024px) and (min-width: 768px) {
    .blog-card { width: calc((100% / 3) - 15px); }
}

@media (max-width: 767px) {
    .blog-card { width: 100%; }
}





/* 1 & 3. New section classname: model-blog */
  .model-blog {
    padding: 60px 20px;
    background-color: #ffffff;
    /* 5. Poppins font family */
    font-family: 'Poppins', sans-serif;
  }

  /* 2. Grid classname: grid-blogs */
  .model-blog .grid-blogs {
    display: grid;
    /* 3. Each row 3 blogs */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
  }

  /* 4. Every box is an <a> tag */
  .model-blog .blog-item {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eeeeee;
    transition: all 0.3s ease;
  }

  .model-blog .blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  }

  .model-blog .blog-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
  }

  .model-blog .blog-info {
    padding: 25px;
  }

  .model-blog .blog-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #ff4757;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
  }

  .model-blog .blog-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d3436;
    margin: 0 0 15px 0;
    line-height: 1.3;
  }

  .model-blog .blog-text {
    font-size: 15px;
    color: #636e72;
    line-height: 1.6;
    margin: 0;
  }

  /* Responsive Logic */
  @media (max-width: 1024px) {
    .model-blog .grid-blogs {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .model-blog .grid-blogs {
      grid-template-columns: 1fr;
    }
  }





  /* Base Styles */
  .detailed-blog {
    background-color: #ffffff;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
    color: #333;
  }

  .detailed-blog .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
  }

  /* Left Column: Main Blog Content */
  .detailed-blog .blog-main {
    flex: 2;
    min-width: 300px;
  }

  .detailed-blog .featured-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
  }

  .detailed-blog .featured-image {
    width: 100%;
    display: block;
    border-radius: 4px;
  }

  .detailed-blog .date-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: #ff6b1b;
    color: white;
    padding: 10px 15px;
    text-align: center;
    font-weight: 700;
    line-height: 1.2;
    font-size: 14px;
    text-transform: uppercase;
  }

  .detailed-blog .meta-info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #ff6b1b;
    font-size: 14px;
  }

  .detailed-blog .meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .detailed-blog .blog-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #0c2b4b;
  }

  .detailed-blog .blog-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
  }

  /* Right Column: Sidebar */
  .detailed-blog .blog-sidebar {
    flex: 1;
    min-width: 300px;
  }

  .detailed-blog .sidebar-widget {
    /* background-color: #fff1e6; */
    background-color: darkgray;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 4px;
  }

  /* Search Widget */
  .detailed-blog .search-box {
    display: flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
  }

  .detailed-blog .search-box input {
    border: none;
    padding: 15px;
    flex-grow: 1;
    outline: none;
    font-family: inherit;
  }

  .detailed-blog .search-btn {
    background: #ff6b1b;
    color: white;
    border: none;
    padding: 0 15px;
    cursor: pointer;
  }

  /* Category Widget */
  .detailed-blog .widget-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0c2b4b;
  }

  .detailed-blog .category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 12px 15px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    border-radius: 4px;
    transition: 0.3s;
  }

  .detailed-blog .category-item:hover {
    background: #f36e2d;
    color: white;
  }

  .detailed-blog .count {
    background: #f36e2d;
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
  }

  .detailed-blog .category-item:hover .count {
    background: white;
    color: #f36e2d;
  }

  /* Recent Post Widget */
  .detailed-blog .recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
  }

  .detailed-blog .recent-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
  }

  .detailed-blog .recent-info-title {
    font-size: 14px;
    font-weight: 600;
    color: #0c2b4b;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
  }

  .detailed-blog .recent-meta {
    font-size: 12px;
    color: #666;
  }

  /* Responsive Design */
  @media (max-width: 992px) {
    .detailed-blog .container {
      flex-direction: column;
    }
    .detailed-blog .blog-sidebar {
      width: 100%;
    }
  }

 /* ===== Improved Search Section Styling ===== */

.blog-filter-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Input + Select height alignment */
.filter-input,
.filter-select {
    height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* Filter Button */
.filter-btn {
    height: 44px;
    padding: 0 22px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    background: #e11d48;
}

/* Reset Button */
.reset-btn {
    height: 44px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #e11d48;
    border: 1px solid #e11d48;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

.reset-btn:hover {
    background: #e11d48;
    color: #fff;
}
/* ===== Modern Pill Pagination ===== */

.custom-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 50px;
    background: #f5f5f5;
    color: #111;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background: #111;
    color: #fff;
}

.page-btn.active {
    background: #e11d48;
    color: #fff;
}

.page-btn.disabled {
    background: #e0e0e0;
    color: #999;
    pointer-events: none;
}