.thm-card {
background: #121212;
border-radius: 20px;
overflow: hidden;
height: 100%;
display: flex;
flex-direction: column;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.thm-card__img-wrapper {
position: relative;
width: 100%;
aspect-ratio: 16/10;
overflow: hidden;
}
.thm-card__img-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.thm-card:hover .thm-card__img-wrapper img {
transform: scale(1.1);
}
.thm-card__content {
padding: 25px;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.thm-card__tags {
display: flex;
flex-wrap: wrap;
gap: 5px;
margin-bottom: 25px;
}
.thm-card__tag {
font-family: var(--theme-font-two);
font-size: 14px;
line-height: 1.5;
font-weight: 400;
padding: 6px 20px;
background: #FCFCFC1A;
border-radius: 50px;
color: #FCFCFC;
}
.thm-card__title {
font-family: var(--theme-font-two);
font-weight: 400;
font-size: 24px;
line-height: 1.4;
margin-bottom: 5px;
color: var(--theme-white);
min-height: 68px;
}
.thm-card__title a {
color: inherit;
text-decoration: none;
}
.thm-card__desc {
font-family: var(--theme-font);
font-weight: 400;
font-size: 16px;
line-height: 1.5;
letter-spacing: 0%;
vertical-align: middle;
color: #FCFCFC99;
margin-bottom: 25px;
min-height: 72px;
}
.thm-card__btn .thm-btn-stroke {
padding: 10px 20px;
min-height: 43px;
font-weight: 400;
font-size: 14px;
line-height: 1.5;
}
.thm-card__btn .thm-btn-stroke::before {
width: 15px !important;
height: 20px !important;
background-size: contain !important;
background-position: center;
background-repeat: no-repeat;
}
.thm-card__btn .thm-btn-stroke:hover::before {
translate: -10px -50%;
}
.thm-card--featured .thm-card__img-wrapper {
aspect-ratio: 629/367;
border-radius: 20px;
overflow: hidden;
}
.thm-card--featured .thm-card__img-wrapper img {
border-radius: 20px;
}
.thm-card--featured .thm-card__content {
padding: 30px;
}
.thm-card--featured .thm-card__title {
min-height: 100.8px;
margin-bottom: 20px;
}
@media (min-width: 992px) {
.thm-card--horizontal {
flex-direction: row;
align-items: center;
}
.thm-card--horizontal .thm-card__img-wrapper {
width: 40%;
aspect-ratio: 1/1;
height: 100%;
border-radius: 20px;
overflow: hidden;
}
.thm-card--horizontal .thm-card__img-wrapper img {
border-radius: 20px;
}
.thm-card--horizontal .thm-card__content {
width: 60%;
padding: 30px;
height: 100%;
justify-content: flex-start;
}
.thm-card--horizontal .thm-card__title {
min-height: 100.8px;
margin-bottom: 25px;
}
.thm-card--horizontal .thm-card__tags {
margin-bottom: 25px;
}
}