/* Card style 06: Overlap. A rounded picture with a white text panel that overlaps its bottom edge. */
.card-style-06 .card.post-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.card-style-06 .post-card .card-img-top {
    border-radius: 16px;
}

/* Cards without a picture keep the panel in place instead of pulling it up into nothing. */
.card-style-06 .post-card > .mt-3 {
    position: relative;
    flex: 1 1 auto;
    margin: 0 !important;
    padding: 18px 20px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(46, 62, 78, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card-style-06 .post-card > a + .mt-3 {
    margin: -44px 16px 0 !important;
}

.card-style-06 .post-card .card-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.card-style-06 .post-card .card-text {
    color: #5f6b76;
    font-size: .95rem;
}

.card-style-06 .post-card .about-card-btn {
    padding: .4rem .95rem;
    color: var(--cs-ink);
    background: var(--cs-soft);
    border: 0;
    border-radius: 8px;
}

@media (hover: hover) and (pointer: fine) {
    .card-style-06 .card.post-card:hover > .mt-3 {
        transform: translateY(-6px);
        box-shadow: 0 14px 34px rgba(46, 62, 78, .18);
    }

    .card-style-06 .post-card .about-card-btn:hover {
        color: #fff;
        background: var(--cs-accent);
    }
}

.dark .card-style-06 .card.post-card {
    background: transparent !important;
}

.dark .card-style-06 .post-card > .mt-3 {
    background: color-mix(in srgb, var(--cs-ink) 70%, #000);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
}

.dark .card-style-06 .post-card .card-text {
    color: rgba(255, 255, 255, .72);
}

.dark .card-style-06 .post-card .about-card-btn {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}
