.blogs {
  max-width: 100%;
  margin: 0 auto;
  padding: 60px;
  /* text-align: center; */
    color: #000000;
    background: #F6F6F6;
}

.blogs-label {
  font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    padding-right: 60px;
    text-align: center;
}

.blogs-title {
  font-size: 36px;
    line-height: 1.2;
    margin: 0px;
    text-transform: capitalize;
    padding-right: 60px;
    text-align: center;
}

.blogs-subtitle {
  font-family: "Cormorant", serif;
  font-size: 40px;
  font-style: italic;
  line-height: 120%;
  margin: 0px;
  font-weight: 700;
  text-transform: capitalize;
  padding-right: 60px;
  text-align: center;
}

.blogs-description {
  /* color: #555; */
  font-size: 16px;
  width: 70%;
  margin: 20px auto;
  font-weight: 500;
  line-height: 140%;
  padding-right: 60px;
  /* letter-spacing: -2.2%; */
}

.blog-wrapper {
  /* max-width: 1300px; */
  margin: 5rem auto 0px;
  /* padding: 0 20px; */
}

.blog-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 120%;
  text-transform: capitalize;
  margin-bottom: 10px;
  text-align: left;
  padding-right: 60px;
}

.blog-header-row{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 60px;
}

.blog-subheading {
  font-size: 16px;
  margin: 0 1rem 25px 0;
  font-weight: 500;
  line-height: 150%;
  text-align: left;
}

.blog-filter-row {
  font-size: 16px;
  font-weight: 500;
  line-height: 150%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

/* Dropdown container */
.blog-dropdown {
  position: relative;
  width: 160px;
  font-size: 14px;
}

/* Selected area */
.blog-dropdown-selected {
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Dropdown menu */
.blog-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  position: absolute;
  width: 100%;
  display: none;
  z-index: 50;
}

.blog-dropdown.open .blog-dropdown-menu {
  display: block;
}

.blog-dropdown-option {
  padding: 10px 15px;
  cursor: pointer;
}

.blog-dropdown-option:hover {
  background: #f0f0f0;
}

/* Arrow rotation */
/* .blog-dropdown.open .blog-arrow {
  transform: rotate(180deg);
  transition: 0.2s ease;
} */

.blog-arrow {
  display: inline-block;
  transition: 0.2s ease;
  width: 20px;
}

.blog-arrow img {
  width: 100%;
  height: auto;
}

/* SLIDER */
.blog-slider-container {
  /* overflow: hidden;
  position: relative; */
  max-width: 100%;
  
}

.blog-slider-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  /* scroll-behavior: smooth;
  overflow-x: auto; */
  padding-bottom: 10px;
  margin-top: 30px;
}

.blog-slider-track::-webkit-scrollbar {
  display: none;
}


/* CARD */
.blog-card {
  width: 30%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
transition: transform 0.3s ease;
  cursor: pointer;
}

.blog-card:hover{
   transform: scale(1.02); 
}

.blog-card a, .blog-explore a {
    display: inline-block;
    margin-top: 15px;
    font-size: 16px;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
}


.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
  font-weight: 600;
  /* color: #666; */
}

.blog-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.019em;
  font-weight: 600;
  line-height: 150%;
}

.blog-challenge {
  /* color: #555; */
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: -0.022em;
}


/* DOTS */
.blog-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.blog-slider-dots button {
  width: 10px;
  height: 10px;
  display: inline-block;      
  border-radius: 50%;         
  border: none;
  background: #c8c8c8;        
  cursor: pointer;
  padding: 0;                 
}

.blog-slider-dots .active {
  background: #0d8375;
}

/* ===============================
   BLOG PAGINATION (WORDPRESS)
   =============================== */

.blog-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-flex;
}

/* Pagination links */
.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    background-color: #ffffff;
    transition: all 0.25s ease;
}

/* Hover state */
.blog-pagination .page-numbers a:hover {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
}

/* Active page */
.blog-pagination .page-numbers .current {
    background-color: #111827;
    color: #ffffff;
    border-color: #111827;
    cursor: default;
}

/* Prev / Next buttons */
.blog-pagination .page-numbers .prev,
.blog-pagination .page-numbers .next {
    padding: 0 18px;
    font-weight: 600;
}

/* Disabled links (edge cases) */
.blog-pagination .page-numbers .disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 1024px) {
    .blog-card{
        width: 47%;
    }
}
@media (max-width: 768px) {
    .blog-pagination {
        margin-top: 30px;
    }

    .blog-pagination .page-numbers {
        gap: 6px;
    }

    .blog-pagination .page-numbers a,
    .blog-pagination .page-numbers span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}


@media (max-width: 768px) {
  .blogs{
    padding: 30px;
  }

  .blog-card{
min-width: 45%;
  }

  .blogs-title{
        font-size: 26px;
    }

    .blogs-label {
    padding-right: 30px;
}

.blogs-title {
    padding-right: 30px;
}

.blogs-description {
  padding-right: 0px;
}

.blogs-subtitle {
  padding-right: 30px;
}

    .blog-heading {
  padding-right: 30px;
}

.blog-subheading{
  margin: 0 0rem 25px 0;
}

.blog-header-row{
  padding-right: 30px;
}
}

@media (max-width: 767px) {
    .blog-pagination .page-numbers li {
        display: none;
    }

    .blog-pagination .page-numbers li:last-child {
        display: block;
    }

    .blog-pagination .page-numbers li:first-child {
        display: block;
    }
    .blog-card {
        width: 100%;
    }
    .blog-card-content{
        min-height: auto;
    }
}

@media (max-width: 600px) {
  .blog-heading {
    font-size: 26px;
  }

  .blog-header-row{
  flex-direction: column;
}

.blogs-description {
  width: 100%;
  box-sizing: border-box;
  padding-right: 30px;
}

  .blog-card {
    min-width: 280px;
  }
}


@media (max-width: 425px) {
  .blogs {
  padding: 20px;
}

.blogs-subtitle {
  font-size: 30px;
}

.blogs-label {
    padding-right: 20px;
}

.blogs-title {
    padding-right: 20px;
}

.blogs-subtitle {
  padding-right: 20px;
}

.blogs-description {
  padding-right: 20px;
}

    .blog-heading {
  padding-right: 20px;
}

.blog-header-row{
  padding-right: 20px;
}

.blog-card h3{
  font-size: 20px;
}
}