.search-section {
  padding: 3rem 0rem;
  color: var(--primary-color);
}

.search-bar {
  color: var(--primary-color);
}

input[type="search"]:focus {
  outline: none;
}

input[type="search"]::placeholder {
  color: var(--primary-color);
  opacity: 0.5;
}

.search-icon {
  color: var(--primary-color);
  font-size: 1.3rem;
  position: absolute;
  top: 30%;
  inset-inline-end: 1%;
}

.fa-arrow-right {
  margin-top: 0.1rem;
}

.search-card-title {
  margin: 0.5rem 0;
}
/* full-search-card */

input[type="search"]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}
input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

/* media query */

@media (max-width: 767.88px) {
  .search-section {
    padding: 1rem 0.5rem;
  }

  .search-icon {
    color: var(--primary-color);
    font-size: 1.3rem;
    position: absolute;
    top: 25%;
    inset-inline-end: 2%;
  }

  .image-card-search {
    max-width: 100%;
  }

  .date-badge {
    margin-top: 1rem;
    margin-inline-start: 0.25rem;
    margin-inline-end: 0.25rem;
  }
}
#searchSection {
  position: fixed;
  top: 7.9rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  background-color: var(--soft-white);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f1f1f1;
}

#searchSection::-webkit-scrollbar {
  width: 8px;
}

#searchSection::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#searchSection::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

#searchSection::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color-dark);
}

@media (max-width: 576px) {
  #searchSection {
    position: fixed;
    top: 7.9rem;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
  }
}
