.search-result {
  --color-bg: var(--color-white);
  /* --color-text: var(--color-white); */
  --color-heading: var(--color-black);
  --color-label: var(--color-primary-b);
  background-color: var(--color-bg);
  position: relative;
  /* min-height: 280px; */
  border-radius: var(--border-radius);
  overflow: hidden;
  border-radius: 3px;

}

.col>.search-result {
  height: 100%;
}


.search-result__content {
  padding: var(--spacing-large);
  display: flex;
  flex-direction: column;
  gap: var(--spacing);
  color: var(--color-text);
  justify-content: center;
}

.search-result__content>* {
  margin-block: 0;
}

.search-result__type {
  color: var(--color-label);
  font-weight: 500;
}
.search-result__title {
  color: var(--color-heading);
}

.search-result__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.search-result__title a::after {
  position: absolute;
  inset: 0;
  content: '';
}

/* Metas */

.search-result__metas {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-large);
  /* margin: var(--spacing) 0 0; */
  border-top: 1px solid var(--border-color);
  padding: var(--spacing) 0 0;
}

.search-result__meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: .25rem;
  align-items: flex-start;
}


.search-result__meta>.field {
  flex: 1;
}

.search-result__meta .field--type-entity-reference .field__item {
  background-color: #C6DFFF !important;
  text-decoration: none;
  color: #1E1E1E !important;
}


.search-result--has-image {
  display: flex;
  flex-direction: column;
}

.search-result__image {
  position: relative;
  display: block;
}

.search-result:hover,
.search-result:focus,
.search-result:active {
  --color-bg: var(--color-primary-b);
  --color-text: var(--color-white);
  --color-heading: var(--color-white);
  --color-label: var(--color-white);
}

.search-result__image {
  overflow: hidden;
}

.search-result__image svg {
  width: 100%;
  height: auto;
}

.search-result__image--hor {
  display: block;
}

.search-result__image--ver {
  display: none;
}

.search-result__text {
  overflow: hidden;
  display: -webkit-search-result;
}

@media screen and (min-width: 600px) {
  .search-result--has-image {
    flex-direction: row;
  }

  .search-result__image {
    width: 33%;
    overflow: hidden;
    position: relative;
  }

  .search-result__image .media {
    position: static;
  }

  .search-result__image--hor {
    display: none;

  }

  .search-result__image--ver {
    display: block;
  }

  .search-result__image svg {
    /* width: auto;
    height: 100%;
    float: left;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    min-width: 100%; */
    width: 100%;
    float: left;
    height: auto;
  }

  .search-result--has-image .search-result__content {
    width: 67%;
    flex: 1;
  }

  .search-result__meta {
    align-items: center;
    flex-direction: row;
    gap: var(--spacing);
  }
}

@media screen and (min-width: 960px) {
  .search-result {
    border: 1px solid var(--color-primary-b);
  }
}