.search_page {
  padding-bottom: 50px;
}

.ast-archive-description {
  padding: 30px 0 15px !important;
  margin-bottom: 20px !important;
}
.ast-archive-description h1.ast-archive-title {
  font-size: 24px !important;
  margin-bottom: 0px !important;
  color: #222;
}
.ast-archive-description .ast-breadcrumbs-wrapper {
  display: none !important;
}

.custom-search-results {
  --primary-color: #0072c6;
  --primary-hover: #005b9f;
  --secondary-color: #f5f5f5;
  --border-color: #e0e0e0;
  --text-color: #333;
  --text-light: #666;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tab Navigation */
.search-tabs .tab-navigation {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  border-bottom: 2px solid var(--border-color);
}
@media (max-width: 768px) {
  .search-tabs .tab-navigation {
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
  }
}
.search-tabs .tab-navigation .tab-item {
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: var(--transition);
}
.search-tabs .tab-navigation .tab-item:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: var(--transition);
}
.search-tabs .tab-navigation .tab-item:hover {
  color: var(--primary-color);
}
.search-tabs .tab-navigation .tab-item.active {
  color: var(--primary-color);
}
.search-tabs .tab-navigation .tab-item.active:after {
  background-color: var(--primary-color);
}

/* Tab Content */
.tab-content {
  position: relative;
}
.tab-content .tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}
.tab-content .tab-pane.active {
  display: block;
}

/* Common Item Grid */
.products-grid,
.applications-grid,
.resources-grid,
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 2rem;
}
.products-grid .product-item,
.products-grid .application-item,
.products-grid .resource-item,
.products-grid .news-item,
.applications-grid .product-item,
.applications-grid .application-item,
.applications-grid .resource-item,
.applications-grid .news-item,
.resources-grid .product-item,
.resources-grid .application-item,
.resources-grid .resource-item,
.resources-grid .news-item,
.news-grid .product-item,
.news-grid .application-item,
.news-grid .resource-item,
.news-grid .news-item {
  width: calc((100% - 60px) / 4);
}
@media (max-width: 992px) {
  .products-grid .product-item,
  .products-grid .application-item,
  .products-grid .resource-item,
  .products-grid .news-item,
  .applications-grid .product-item,
  .applications-grid .application-item,
  .applications-grid .resource-item,
  .applications-grid .news-item,
  .resources-grid .product-item,
  .resources-grid .application-item,
  .resources-grid .resource-item,
  .resources-grid .news-item,
  .news-grid .product-item,
  .news-grid .application-item,
  .news-grid .resource-item,
  .news-grid .news-item {
    width: calc((100% - 40px) / 3);
  }
}
@media (max-width: 768px) {
  .products-grid .product-item,
  .products-grid .application-item,
  .products-grid .resource-item,
  .products-grid .news-item,
  .applications-grid .product-item,
  .applications-grid .application-item,
  .applications-grid .resource-item,
  .applications-grid .news-item,
  .resources-grid .product-item,
  .resources-grid .application-item,
  .resources-grid .resource-item,
  .resources-grid .news-item,
  .news-grid .product-item,
  .news-grid .application-item,
  .news-grid .resource-item,
  .news-grid .news-item {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 480px) {
  .products-grid .product-item,
  .products-grid .application-item,
  .products-grid .resource-item,
  .products-grid .news-item,
  .applications-grid .product-item,
  .applications-grid .application-item,
  .applications-grid .resource-item,
  .applications-grid .news-item,
  .resources-grid .product-item,
  .resources-grid .application-item,
  .resources-grid .resource-item,
  .resources-grid .news-item,
  .news-grid .product-item,
  .news-grid .application-item,
  .news-grid .resource-item,
  .news-grid .news-item {
    width: 100%;
  }
}

/* Item Cards */
.product-item,
.application-item,
.resource-item,
.news-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.product-item:hover,
.application-item:hover,
.resource-item:hover,
.news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.product-item:hover .product-image img,
.product-item:hover .application-image img,
.product-item:hover .resource-image img,
.product-item:hover .news-image img,
.application-item:hover .product-image img,
.application-item:hover .application-image img,
.application-item:hover .resource-image img,
.application-item:hover .news-image img,
.resource-item:hover .product-image img,
.resource-item:hover .application-image img,
.resource-item:hover .resource-image img,
.resource-item:hover .news-image img,
.news-item:hover .product-image img,
.news-item:hover .application-image img,
.news-item:hover .resource-image img,
.news-item:hover .news-image img {
  transform: scale(1.05);
}
.product-item a,
.application-item a,
.resource-item a,
.news-item a {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 10px;
}
.product-item .product-image,
.product-item .application-image,
.product-item .resource-image,
.product-item .news-image,
.application-item .product-image,
.application-item .application-image,
.application-item .resource-image,
.application-item .news-image,
.resource-item .product-image,
.resource-item .application-image,
.resource-item .resource-image,
.resource-item .news-image,
.news-item .product-image,
.news-item .application-image,
.news-item .resource-image,
.news-item .news-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
}
.product-item .product-image img,
.product-item .application-image img,
.product-item .resource-image img,
.product-item .news-image img,
.application-item .product-image img,
.application-item .application-image img,
.application-item .resource-image img,
.application-item .news-image img,
.resource-item .product-image img,
.resource-item .application-image img,
.resource-item .resource-image img,
.resource-item .news-image img,
.news-item .product-image img,
.news-item .application-image img,
.news-item .resource-image img,
.news-item .news-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: auto;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.product-item .resource-image,
.application-item .resource-image,
.resource-item .resource-image,
.news-item .resource-image {
  height: auto !important;
}
.product-item .product-title,
.product-item .application-title,
.product-item .resource-title,
.product-item .news-title,
.application-item .product-title,
.application-item .application-title,
.application-item .resource-title,
.application-item .news-title,
.resource-item .product-title,
.resource-item .application-title,
.resource-item .resource-title,
.resource-item .news-title,
.news-item .product-title,
.news-item .application-title,
.news-item .resource-title,
.news-item .news-title {
  font-size: 17px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
  line-height: 1.4;
}
.product-item .resource-title,
.application-item .resource-title,
.resource-item .resource-title,
.news-item .resource-title {
  margin: 15px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 70px;
}
.product-item .product-excerpt,
.product-item .application-excerpt,
.product-item .resource-excerpt,
.product-item .news-excerpt,
.application-item .product-excerpt,
.application-item .application-excerpt,
.application-item .resource-excerpt,
.application-item .news-excerpt,
.resource-item .product-excerpt,
.resource-item .application-excerpt,
.resource-item .resource-excerpt,
.resource-item .news-excerpt,
.news-item .product-excerpt,
.news-item .application-excerpt,
.news-item .resource-excerpt,
.news-item .news-excerpt {
  text-align: start;
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 70px;
}
.product-item .news-meta,
.application-item .news-meta,
.resource-item .news-meta,
.news-item .news-meta {
  padding: 0 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
}
.product-item .news-meta .news-date,
.application-item .news-meta .news-date,
.resource-item .news-meta .news-date,
.news-item .news-meta .news-date {
  display: inline-flex;
  align-items: center;
}
.product-item .news-meta .news-date:before,
.application-item .news-meta .news-date:before,
.resource-item .news-meta .news-date:before,
.news-item .news-meta .news-date:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
}

/* Empty results message */
.tab-pane .products-results p,
.tab-pane .applications-results p,
.tab-pane .resources-results p,
.tab-pane .news-results p {
  text-align: center;
  padding: 2rem;
  color: var(--text-light);
  background: var(--secondary-color);
  border-radius: var(--border-radius);
  font-style: italic;
  margin-bottom: 0;
}

/* Pagination */
.products-pagination,
.applications-pagination,
.resources-pagination,
.news-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.products-pagination .page-numbers,
.applications-pagination .page-numbers,
.resources-pagination .page-numbers,
.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin: 0 5px;
  padding: 0 10px;
  border-radius: var(--border-radius);
  background: white;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.products-pagination .page-numbers:hover,
.applications-pagination .page-numbers:hover,
.resources-pagination .page-numbers:hover,
.news-pagination .page-numbers:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.products-pagination .page-numbers.current,
.applications-pagination .page-numbers.current,
.resources-pagination .page-numbers.current,
.news-pagination .page-numbers.current {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.products-pagination .page-numbers.dots,
.applications-pagination .page-numbers.dots,
.resources-pagination .page-numbers.dots,
.news-pagination .page-numbers.dots {
  border: none;
  background: transparent;
}
.products-pagination .page-numbers.prev, .products-pagination .page-numbers.next,
.applications-pagination .page-numbers.prev,
.applications-pagination .page-numbers.next,
.resources-pagination .page-numbers.prev,
.resources-pagination .page-numbers.next,
.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
  font-size: 0;
  position: relative;
}
.products-pagination .page-numbers.prev:before, .products-pagination .page-numbers.next:before,
.applications-pagination .page-numbers.prev:before,
.applications-pagination .page-numbers.next:before,
.resources-pagination .page-numbers.prev:before,
.resources-pagination .page-numbers.next:before,
.news-pagination .page-numbers.prev:before,
.news-pagination .page-numbers.next:before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text-light);
  border-right: 2px solid var(--text-light);
  transform: rotate(45deg);
}
.products-pagination .page-numbers.prev:before,
.applications-pagination .page-numbers.prev:before,
.resources-pagination .page-numbers.prev:before,
.news-pagination .page-numbers.prev:before {
  transform: rotate(-135deg);
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.resource-pdf-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 8px 12px;
  background-color: #20224d;
  border-radius: 4px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

@media (max-width: 768px) {
  .product-image,
  .application-image,
  .resource-image,
  .news-image {
    height: auto !important;
  }
  .product-image img,
  .application-image img,
  .resource-image img,
  .news-image img {
    width: 70% !important;
  }
  .resource-title {
    height: 70px;
  }
}/*# sourceMappingURL=search.css.map */