.drkn--teaser {
gap: 1rem;
display: flex;
flex-wrap: wrap;
justify-content: center;
} @media (min-width: 576px) {
.drkn--teaser {
gap: 2rem;
}
} .drkn--teaser__item {
display: flex;
flex-direction: column;
width: 100%;
background-color: var(--color-content-bg);
border: 1px solid var(--color-content-border);
border-radius: 1rem;
overflow: hidden;
} @media (min-width: 576px) {
.drkn--teaser__item {
width: calc(50% - 1rem);
}
}
@media (min-width: 992px) {
.drkn--teaser__item {
width: calc(33.33% - 1.34rem);
}
} .drkn--teaser__image {
overflow: hidden;
display: block;
}
.drkn--teaser__image img {
width: 100%;
height: auto;
aspect-ratio: 4 / 3;
object-fit: cover;
display: block;
} .drkn--teaser__content {
padding: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
}
@media (min-width: 992px) {
.drkn--teaser__content {
flex-direction: row;
align-items: center;
justify-content: space-between;
}
} @media (min-width: 576px) {
.drkn--teaser__content {
padding: 1.5rem;
}
}
.drkn--teaser__title {
margin: 0;
font-size: 1.25rem;
font-weight: 600;
line-height: 1.3;
text-align: left;
}
.drkn--teaser__title a {
color: inherit;
text-decoration: none;
}
.drkn--teaser__title a:hover {
color: var(--color-content-link);
}
.drkn--teaser__button-wrapper {
display: none;
}
@media (min-width: 576px) {
.drkn--teaser__button-wrapper {
display: block;
}
} .drkn--teaser__button-wrapper .w-btn {
padding: 0.6rem 1.2rem;
font-size: 0.9rem;
}