/* assets/css/acs-search.css */
.acs-search-wrap {
  position: relative;
  max-width: 420px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* .acs-search-input-wrap { display:flex; align-items:center; gap:8px; } */

.acs-search-input-wrap {
  width: 100%;
  max-width: 350px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 30px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
}

.custom-search-wrapper .search-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.8;
}

.acs-search-input {
  border: none !important;
  outline: none !important;
  width: 100%;
  font-size: 15px;
  color: #000;
  background: transparent;
  padding: 0px 20px !important;
}

.acs-search-input::placeholder {
  color: #000;
}

/* .acs-search-input {
  width:100%;
  padding:10px 14px;
  border-radius:24px;
  border:1px solid #ddd;
  box-shadow: none;
  outline:none;
  font-size:14px;
} */

.acs-dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 703px;
  height: 355;
  background: #f6f6f6;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 15px;
  display: block;
  transform-origin: top right;
  transition: opacity .15s ease, transform .15s ease;
  opacity: 0;
  pointer-events: none;
  border: 1px solid #404040C4;
  z-index: 999;
}

.acs-dropdown-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.acs-section {
  margin-bottom: 12px;
}

.acs-section p {
  margin: 0 0 8px 0;
  color: #0D0D0D;
  font-family: Helvetica;
  font-weight: 400;
  font-style: Roman;
  font-size: 24px;
  line-height: 139%;
  letter-spacing: -2%;
  vertical-align: middle;
  position: relative;
  margin-bottom: 30px;
}

.acs-section p::after {
  content: "";
  position: absolute;
  width: 317px;
  left: 0;
  bottom: -8px;
  border-bottom: 1px solid #C6955ABF;
}

.acs-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.acs-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #e6e6e6;
  cursor: pointer;
  font-family: Open Sans;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 27px;
  vertical-align: middle;
  color: #000000;
}

.acs-chip .acs-chip-close {
  margin-left: 6px;
  font-size: 12px;
  opacity: .7;
}

.acs-results-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-top: 6px;
}

.acs-result-card {
  display: flex;
  gap: 10px;
  text-decoration: none;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  align-items: flex-start;
  border: 1px solid #eee;
}

.acs-card-thumb img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.acs-card-body {
  flex: 1;
  min-width: 0;
}

.acs-card-title {
  margin: 0;
  font-size: 14px;
  color: #111;
}

.acs-card-excerpt {
  margin-top: 6px;
  font-size: 13px;
  color: #666;
}

.acs-no-results {
  padding: 8px;
  color: #777;
}

/* HIDE DROPDOWN BY DEFAULT */
.acs-dropdown-panel {
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
}

/* ONLY SHOW WHEN .open CLASS IS ADDED */
.acs-dropdown-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media(max-width:1200px) {
  .search-blog-cls {
    display: flex;
    justify-content: right;
  }

  .acs-section p {
    font-size: 22px;
  }
}

@media(max-width:768px) {
   .acs-search-wrap {
    width: 100%;
    max-width: 100%;
  }

  .acs-search-input-wrap {
    width: 100%;
    max-width: 100%;
  }
  .search-blog-cls {
    display: flex;
    justify-content: right;
  }

  .acs-section p {
    font-size: 20px;
  }

 .acs-dropdown-panel {
    /* width: 530px; */
    width: 100%;
  }
   .search-blog-cls.elementor-widget-shortcode{
    position: relative !important;
  }
   .search-blog-cls.elementor-widget-shortcode .elementor-shortcode{
    width: 100%;
  }
}



/* Small responsive tweak */
@media(max-width:480px) {

  .acs-section p {
    font-size: 18px;
  }

  /* .acs-dropdown-panel {
    width: 451px;
  } */
}

@media(max-width:420px) {

  /* .acs-dropdown-panel {
    width: 364px;
  } */
}

@media(max-width:380px) {
  .acs-section p::after {
    content: "";
    position: absolute;
    width: 270px;
    left: 0;
    bottom: -8px;
    border-bottom: 1px solid #C6955ABF;
  }

  /* .acs-dropdown-panel {
    width: 320px;
  } */
}