.search-tabs__list {
  list-style: none;
    display: flex;
    gap: var(--adebeo-spacing-s);
}

.search-tabs__item .search-tabs__button {
  position: relative;
  z-index: 2;
  display: block;
  padding: var(--adebeo-spacing-2xs) var(--adebeo-spacing-xm);
  border: 2px solid var(--adebeo-color-primary);
  background-color: var(--adebeo-white);
  border-radius: var(--adebeo-border-radius-xs);
  display: flex;
  height: 74px;
  align-items: center;
  text-decoration: none;
  gap: var(--adebeo-spacing-2xs);
  color: var(--adebeo-color-primary);
  overflow: hidden;
  transition: border-color 0.3s ease-in-out;
}
.search-tabs__item .search-tabs__button.current {
  color: var(--adebeo-accent-color);
  border-color: var(--adebeo-accent-color);
}

.search-tabs__item .search-tabs__button:after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 0;
    will-change: width;
    background-color: var(--adebeo-accent-color);
    transition: width 0.3s ease-in-out;
}

.search-tabs__item .search-tabs__button:hover {
    color: var(--adebeo-white);
    border-color: var(--adebeo-accent-color);
}

.search-tabs__item .search-tabs__button:hover:after {
    width: 100%;
}

.search-panel[aria-hidden="true"] {
  display: none;
}

@media (min-width: 768px) {
  .search-tabs__list {
    justify-content: center;
  } 

  .search-panel .post-list {
    grid-template-columns: repeat(auto-fill, 347px);
    justify-content: center;
  } 

  .search-panel .post-list article[class*='post'] .entry-title {
    font-size: var(--adebeo-font-size-h4);
  
  }   
}