/* ==========================================================
   3D CURL EFFECT
   ========================================================== */

.astra-3d-curl-wrap {
    position: relative;
    display: block;
    width: 100%;
    overflow: visible;
    margin-bottom: 0;
    line-height: 0;
    transition: transform .35s ease;
}

.astra-3d-curl-wrap img {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    padding: 0;
    border: none;
    background: transparent;
    box-sizing: border-box;
    transition: all .35s ease;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.45),
        0 1px 1px rgba(0,0,0,.08);
}

.astra-3d-curl-wrap::before,
.astra-3d-curl-wrap::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 8px;
    width: 38%;
    height: 16%;
    pointer-events: none;
    transition: all .35s ease;
}

.astra-3d-curl-wrap::before {
    left: 10px;
    transform: rotate(-4deg);
    box-shadow:
        0 10px 8px rgba(0,0,0,.28),
        0 20px 18px rgba(0,0,0,.18);
}

.astra-3d-curl-wrap::after {
    right: 10px;
    transform: rotate(4deg);
    box-shadow:
        0 10px 8px rgba(0,0,0,.24),
        0 20px 18px rgba(0,0,0,.14);
}

/* ==========================================================
   CAPTIONS
   ========================================================== */

figcaption {
    display: block;
    width: 95%;
    max-width: 95%;
    min-width: 0;
    margin: 30px auto 0 !important;
    padding: 6px 10px;
    box-sizing: border-box;
    background: var(--light-mist);
    border: 1px solid #ddd7ca;
    border-radius: 3px;
    line-height: 1.3;
    text-align: center;
    box-shadow:
        0 2px 5px rgba(0,0,0,.08),
        inset 0 1px 0 rgba(255,255,255,.70);
    font-size: 20px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* Standard Caption Behavior
 
figcaption {
    overflow-wrap: normal;
    white-space: normal;
}
*/
