/* =========================
   VIEW CONTENT / GRID
========================= */

.view-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Tablet + */
@media (min-width: 768px) {
  .view-content {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* =========================
   TEASER CARD
========================= */

.teaser {
  background-color: var(--color-primary--1);
  border-radius: 15px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  height: 100%;
  min-width: 250px;
  transition: all 150ms ease;
}

.teaser:hover {
  opacity: 95%;
}

/* Desktop */
@media (min-width: 1000px) {
  .teaser {
    max-width: 458.67px;
  }
}


.teaser__tag > span{
  display: inline-block;
  padding: 8px;
  border: 1px solid var(--color-primary--7);
  border-radius: 5px;
  color: var(--color-primary--5);
  font-family: var(--font--lexend);
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  max-width: fit-content;
}



/* =========================
   TEASER IMAGE
========================= */

.teaser__image {
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.teaser__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


/* =========================
   TEASER CONTENT
========================= */

.teaser__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.teaser__content > * {
  color: var(--color-primary--5);
  margin: 0;
  padding: 0;
}

/* Title */
.teaser__content h3,
h3.teaser__title {
  font-family: var(--font-lexend);
  font-weight: 700;
  line-height: 140%;
}

/* Small title */
.teaser__content h3 {
  font-size: 21px;
}

/* Clamped title */
h3.teaser__title {
  font-size: var(--heading-size-s);
  font-family: var(--font--barlow);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Bright title variant */
.teaser__title--bright {
  color: white;
  font-family: var(--font--lexend);
  font-size: 38px;
  font-weight: 700;
  line-height: 140%;
}


/* =========================
   DESCRIPTION
========================= */

.teaser__description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  transition: all 150ms ease;
}

.teaser__description p {
  margin: 0;
  padding: 0;
}

.teaser__content p,
.teaser__content .teaser__description strong {
  font-family: var(--font-lexend);
  font-size: 18px;
  font-weight: 300;
  line-height: 140%;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================
   LINK
========================= */

.teaser__link {
  font-family: var(--font-lexend);
  font-size: 18px;
  font-weight: 300;
  line-height: 140%;
  color: var(--color-primary--6);
  padding-bottom: 32px;
}

/* .teaser__link:hover {
  text-decoration: underline;
  opacity: 0.95;
} */


/* =========================
   VIEW HEADER
========================= */

.view-header {
  color: var(--color-primary--1);
  font-size: 38px;
  font-weight: 700;
}


/* =========================
   MORE LINK BUTTON
========================= */

.more-link {
  max-width: fit-content;
  padding: 16px;
  border-radius: 40px;
  background-color: var(--color-primary--2);
  color: white;
  font-family: var(--font--lexend);
  font-size: 18px;
  font-weight: 300;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.more-link:hover,
.more-link a:hover {
  text-decoration: none;
  opacity: 0.9;
  transform: translateY(-2px);
}


/* Variant block_3 */
.view-display-id-block_3 > .more-link {
  background-color: var(--color-primary--1);
  border: 1px solid currentColor;
}


/* =========================
   VIEW NEWS LAYOUT
========================= */

.view-id-view_news {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.view-id-view_news > .view-header {
  align-self: flex-start;
}


/* =========================
   FULL LIST TITLE
========================= */

.full-list__title {
  color: var(--color-primary--1);
  font-family: var(--font--lexend);
  font-size: 38px;
  font-weight: 700;
  line-height: 140%;
}

/* Desktop */
@media (min-width: 999px) {
  .full-list__title {
    margin-left: 125px;
  }
}
