section {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-section {
  width: 100%;
  height: calc(100vh - 90px);
  position: relative;
  background: url(../images/blog/hero.jpg) no-repeat center center;
  background-size: cover;
}

.content-section {
  color: #fff;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: start;
  align-items: center;
}
.hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}

.hero-content h1 {
  font-family: "Gotham-Medium";
  font-weight: normal !important;
  color: white;
  font-size: 48px;
  line-height: 1.13;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* .section-02{
  height: 100vh;
  width: 100%;
} */

.blogs-wrapper {
  padding: 10rem 3rem;
}
.blogs-body {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.blogs,
.blogs-head,
.blogs-content,
.blogs-body {
  width: 100%;
}

.blogs-head {
  font-family: "Gotham-Medium";
  font-weight: normal !important;
  color: #000000;
  font-size: 39px;
  line-height: 1.15;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blogs-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6rem;
}
.data-container-wrapper {
  width: 100%;
  height: 100%;
}

/* Card grid layout */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(350px, 1fr));
  gap: 25px;
  /* margin-bottom: 40px; */
}

/* Individual card styling */
.card {
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  /* transition: transform 0.2s, box-shadow 0.2s; */
  gap: 1.4rem;
}

/* .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
} */

.card-image {
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}
.card-image img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
  display: block;
  width: 100%;

  height: auto;
  object-fit: cover;
  display: block;
}
.card-image:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.card-content {
  /* padding: 20px; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  gap: 1.2rem;
}
.card-content > div {
  /* padding: 20px; */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card-meta {
  font-family: "Gotham-Medium";
  font-weight: normal;
  font-size: 15px;
  color: #6e6d72;
  /* margin-bottom: 10px; */
}

.card-title {
  font-family: "Gotham-Book";
  font-weight: normal;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
  transition: 0.3s ease-in-out;
}

.card-author {
  font-family: "Gotham-Medium";
  font-weight: normal;
  font-size: 15px;
  color: #6e6d72;
  /* margin-bottom: 20px; */
}
.card-title-link {
  transition: all 0.5s ease;
}
.card-title-link:hover {
  text-decoration: underline;
}
.card-link {
  display: flex;
  align-items: center;
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  width: 28px;
  height: 28px;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid #e7282d;
  color: #e7282d;
  transition: all 0.3s ease;
}

.card-link svg {
  width: 100%;
  height: 100%;
}
.card-link svg path {
  fill: #e7282d;
}
.card-link:hover {
  background: #e7282d;
}
.card-link:hover svg path {
  fill: white;
}
/* Search and Filter Group */
.search-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-input-container {
  position: relative;
  width: 300px;
}

.search-input {
  font-family: "Gotham-Book";
  width: 100%;
  padding: 10px 10px 10px 36px;
  border: 1px solid #e0eeef;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  background-color: #f8f9fa;
}

.search-input:focus {
  border-color: #007bff;
}

.search-input-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}
.search-input-container > img {
  width: 21px;
  height: 21px;
  bottom: 10px;
  position: absolute;
  left: 10px;
}
.filter-button {
  font-family: "Gotham-Book";
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  color: #333;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.filter-button:hover {
  background-color: #e9ecef;
}

/* Pagination container styling */
.paginationjs {
  justify-content: center;
  align-items: center;
}
.paginationjs .paginationjs-pages ul {
  display: flex !important
;
  gap: 0.8rem !important;
}
.paginationjs .paginationjs-pages li {
  float: left;
  border: 1px solid #aaa;
  border-right: none;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.paginationjs .paginationjs-pages li {
  border-right: 1px solid #aaa !important;
}

.paginationjs .paginationjs-pages li:first-child,
.paginationjs .paginationjs-pages li:last-child {
  border: 0 !important;
}
.paginationjs .paginationjs-pages li:first-child > a:hover,
.paginationjs .paginationjs-pages li:last-child > a:hover {
  background: white !important;
}
.paginationjs .paginationjs-pages li > a {
  font-size: 1rem !important;
}
.no-results {
  font-family: "Gotham-Book";
  text-align: center;
  padding: 40px;
  font-size: 18px;
  color: #555;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 100%; */
  /* background: red; */
  /* position: absolute; */
  /* margin-bottom: 1rem; */
}
/* ------------ gallery ----------- */
.gallery-grid {
  display: flex;
  gap: 4rem;
}
.gallery-wrapper .card-image img {
  width: auto;
  height: auto;
}
.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.gallery-img img {
  width: 100%;
  height: 100%;
}

.gallery-wrapper .swiper-button-prev {
  left: -4%;
  color: #cec7c7 !important;
}

.gallery-wrapper .swiper-button-next {
  right: -4%;
  color: #cec7c7 !important;
}
.spacer {
  height: 1px;
  margin: 4rem 0;
}

/* ----------- Comming Soon Start ------------ */

/* ----------- Comming Soon End ------------ */

/* Responsive */

@media (max-width: 1640px) {
}

@media (max-width: 1600px) {
  .blogs-wrapper {
    padding: 6rem 2rem;
  }
}
@media (max-width: 1540px) {
  .data-container-wrapper {
    padding: 0 2rem;
  }
  .gallery-wrapper .swiper-button-prev {
    left: -2%;
  }
  .gallery-wrapper .swiper-button-next {
    right: -2%;
  }
}

@media (max-width: 1440px) {
  .blogs-wrapper {
    padding: 6rem 2rem;
  }
  .hero-content h1 {
    font-size: 42px;
    margin-bottom: 1.6rem;
  }

  .blogs-head {
    /* font-size: 42px; */
  }
  .blogs-body {
    gap: 4rem;
  }
  .gallery-wrapper .swiper-button-prev {
    left: -1.2%;
  }
  .gallery-wrapper .swiper-button-next {
    right: -1.2%;
  }
  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media (max-width: 1280px) {
  .hero-content h1 {
    font-size: 39px;
    margin-bottom: 1.2rem;
  }

  .blogs-head {
    font-size: 36px;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 978px) {
  .blogs-wrapper {
    padding: 6em 0;
  }
  .cards-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background: url(../images/blog/hero-mob.jpg) no-repeat center center;
    background-size: cover;
  }
  .blogs-wrapper {
    padding: 4rem 0;
  }
  .blogs-content {
    gap: 4rem;
  }
  .hero-content h1 {
    font-size: 35px;
    margin-bottom: 1rem;
  }

  .blogs-head {
    font-size: 32px;
    margin-bottom: 1rem;
  }
  .blogs-body {
    gap: 3rem;
  }
  .gallery-wrapper .swiper-button-next:after,
  .gallery-wrapper .swiper-button-prev:after {
    font-size: 3rem !important;
  }
  .search-filter-group {
    flex-direction: column;
    width: 100%;
  }
  .search-input-container {
    width: 100%;
    max-width: 100%;
  }
  .hero-content {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .paginationjs .paginationjs-pages li > a {
    font-size: 18px !important;
    height: 36px !important;
  }
  .blogs-content {
    gap: 2rem;
  }
  .blogs-body {
    gap: 2rem;
  }
  .gallery-wrapper .swiper-button-next:after,
  .gallery-wrapper .swiper-button-prev:after {
    font-size: 2rem !important;
  }
  .hero-content h1 {
    font-size: 29px;
    margin-bottom: 0.8rem;
  }
  .blogs-head {
    font-size: 26px;
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 375px) {
  .paginationjs .paginationjs-pages li > a {
    font-size: 16px !important;
    height: 28px !important;
  }

  .hero-content h1 {
    font-size: 27px;
  }
  .blogs-head {
    font-size: 24px;
  }
}
