body.light-theme {
    --body-background-color: white;
}

.section {
    background: white;
}

.post-card {
    --margin-bottom: 60px;
    cursor: pointer;
    background: transparent;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    margin-bottom: var(--margin-bottom);
}

.post-card .poster {
    border-radius: 60px;
}

.post-title {
    transition: .2s ease all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
            line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 120%;
}

.categories {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.summary {
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
            line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 28px;
}

.category {
    padding: 10px 14px;
    background: #F3F3FF;
    font-size: 16px;
    font-weight: 600;
    border-radius: 15px;
    color: #2E3C59;
}

.post-title {
    margin-bottom: 16px;
}

.publisher {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.publisher-avatar {
    width: 48px;
    height: 48px;
    background-position: center;
    border-radius: 16px;
    background-repeat: no-repeat;
    background-size: cover;
}

.publisher-name {
    margin-bottom: 2px;
    font-weight: 600;
}

.published-at {
    font-size: 16px;
}

.poster-big, .poster-normal {
    transition: .2s ease all;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

.poster-big {
    aspect-ratio: 16/9;
}

.post-card:hover .post-title {
    color: var(--color-accent);
}

.post-card:hover .poster-big,
.post-card:hover .poster-normal {
    background-size: 105%;
}

.post-card:active {
    opacity: .9 !important;
}

.single-post-poster {
    border-radius: 60px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
}

.single-post-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
}

.single-post-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 120%;
    padding: 30px 20px;
    background: transparent;
    border-radius: 50px;
}

@media (min-width: 992px) {
    .single-post-title {
        background: rgba(0, 0, 0, .4);
    }
}
