.root {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding: 24px 0;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    width: 100%;
    padding: 8px;
}

.root::before,
.root::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: var(--border-width-sm);
    background-color: var(--border-color-light);
    z-index: 10;
}

.root::before {
    top: 0;
}

.root::after {
    bottom: 0;
}

.borderLeft,
.borderRight {
    width: var(--border-width-sm);
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: var(--border-color-light);
    z-index: 10;
}

.borderLeft {
    left: -24px;
}

.borderRight {
    right: -24px;
}

.imagePart {
    display: flex;
    align-items: flex-start;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 100%;
    max-height: 293px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

.dataPart {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}

.info {
    display: flex;
    gap: 8px;
}

.title {
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-wrap: balance;
}

/* since this is local component and for screens narrower then that only 1 column fits we can use this width as mobile */
@media (width <= 981px) {
    .root {
        max-width: 100%;
    }

    .imagePart {
        max-height: 250px;
    }

    .borderLeft,
    .borderRight {
        display: none;
    }

    .content {
        max-width: none;
    }
}
