.blogs-section {
  margin-top: 60px;
  padding: 60px 90px 40px;
  background: #FDF8F1;
  font-family: "Georgia", serif;
}

.blogs-title {
  font-size: 42px;
  color: #8b4e3b;
  margin-bottom: 40px;
  font-weight: lighter;
}

.blogs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.blogs-subtitle {
  margin-bottom: 0;
  font-size: 20px;
  color: #434343;
  font-style: italic;
  font-weight: 300;
}

.blogs-search {
  position: relative;
  width: 400px;
}

.blogs-search input {
  width: 100%;
  padding: 5px 35px 5px 0;
  border: none;
  border-bottom: 1px solid #CFC6BD;
  background: transparent;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  font-style: italic;
  color: #666;
}

.blogs-search i {
  position: absolute;
  right: 0;
  top: 5px;
  color: #333;
  cursor: pointer;
  font-size: 14px;
}


/* ========================= FEATURED BLOG CARD ========================= */
.featured-blog {
  margin-top: 20px;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.blog-hero-img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-separator {
  margin-top: 60px;
  border: none;
  border-top: 1px solid #8b4e3b;
  opacity: 0.3;
}

.blog-heading {
  margin-top: 30px;
  font-size: 42px;
  font-weight: lighter;
  color: #2c2c2c;
  font-style: italic;
}


/* ========================= TAGS + DATE ROW (FIXED) ========================= */
.blog-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  gap: 10px;
}

/* TAGS */
.blog-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  background: #f4f0eb;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #d4d4d4;
  color: #2d2d2d;
}

/* DATE */
.blog-date {
  font-size: 14px;
  color: #444;
  white-space: nowrap;
}

/* BLOG LIST SECTION */
.blogs-list-section {
  padding: 60px 90px 100px;
  background: #FDF8F1;
  font-family: "Georgia", serif;
}

/* GRID */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 40px;
}

/* CARD */
.blog-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: lighter;
  margin: 15px 0 10px;
  color: #2d2d2d;
}

/* TAGS + DATE ROW */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-tags span {
  font-size: 11px;
  padding: 3px 10px;
  border: 1px solid #CFC6BD;
  border-radius: 4px;
  margin-right: 8px;
  color: #444;
  background: transparent;
}

.blog-date {
  font-size: 12px;
  color: #555;
}

/* PAGINATION */
.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.pagination button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.pagination span {
  font-size: 14px;
}


@media (min-width: 1561px) {
  .blog-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }
  .blog-hero-img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  .blog-main p {
    margin-bottom: 25px;
    font-size: 30px;
    color: #2c2c2c;
    line-height: 1.8;
  }
}

/* TABLET */
@media (max-width: 992px) {
  .blogs-list-section {
    padding: 20px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .blogs-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }

  .blog-card img {
    height: 180px;
  }

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

  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .blog-date {
    align-self: flex-end;
  }
}

/* ========================= RESPONSIVE — TABLET ========================= */
@media (max-width: 992px) {
  .blogs-section {
    padding: 40px 40px;
  }

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

  .blogs-search {
    width: 270px;
    margin-left: 0;
  }

  .blog-hero-img {
    height: 350px;
  }

  .blog-heading {
    font-size: 26px;
  }
}


/* ========================= RESPONSIVE — MOBILE ========================= */
@media (max-width: 600px) {
  .blogs-section {
    padding: 30px 20px;
  }

  .blogs-title {
    font-size: 32px;
    margin-bottom: 25px;
  }

  .blogs-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .blogs-search {
    width: 100%;
  }

  .blog-hero-img {
    height: 300px;
  }

  .blog-heading {
    font-size: 24px;
  }

  .blog-separator {
    margin-top: 40px;
  }

  /* KEEP TAGS + DATE IN SAME ROW */
  .blog-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .blog-date {
    font-size: 13px;
  }
}