/* =====================================================
   3D EDITORIAL CARD
===================================================== */


/* ===============================
   MAIN CARD
=============================== */

.editorial-card{
    position:relative;

    background:linear-gradient(
        145deg,
        rgba(255,255,255,0.75),
        rgba(255,255,255,0.45)
    );

    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);

    padding:22px;

    border-left:6px solid crimson;

    border-radius:18px;

    overflow:hidden;

    width:100%;
    height:auto;

    display:flex;
    flex-direction:column;
    gap:16px;

    text-align:justify;

    transform-style:preserve-3d;
    perspective:1000px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08),
        0 20px 40px rgba(0,0,0,.06);

    transition:
        transform .45s ease,
        box-shadow .45s ease;
}


/* ===============================
   3D HOVER
=============================== */

.editorial-card:hover{
    transform:
        rotateX(4deg)
        rotateY(-4deg)
        translateY(-6px);

    box-shadow:
        0 20px 40px rgba(0,0,0,.15),
        0 30px 60px rgba(0,0,0,.08);
}


/* ===============================
   SHINE EFFECT
=============================== */

.editorial-card::before{
    content:"";

    position:absolute;

    top:-120%;
    left:-50%;

    width:200%;
    height:250%;

    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform:rotate(25deg);

    transition:.8s;

    pointer-events:none;
}

.editorial-card:hover::before{
    top:100%;
    left:100%;
}


/* ===============================
   IMAGE WRAPPER
=============================== */

.editorial-image-wrapper{
    width:100%;
    text-align:center;

    transform:translateZ(20px);
}


/* ===============================
   IMAGE
=============================== */

.editorial-img-right{
    width:100%;
    max-width:190px;

    height:auto;

    margin:0 auto 15px auto;

    border-radius:14px;

    display:block;

    object-fit:cover;

    transition:
        transform .4s ease,
        box-shadow .4s ease;

    box-shadow:
        0 8px 18px rgba(0,0,0,.12);
}


/* ===============================
   IMAGE HOVER
=============================== */

.editorial-card:hover .editorial-img-right{
    transform:scale(1.05) translateZ(20px);

    box-shadow:
        0 18px 35px rgba(0,0,0,.18);
}


/* ===============================
   CONTENT
=============================== */

.editorial-card p{
    line-height:1.85;
    color:#222;

    margin-bottom:12px;

    transform:translateZ(12px);

    overflow-wrap:break-word;
}


/* ===============================
   REMOVE OLD FLOAT FIX
=============================== */

.editorial-card::after{
    display:none;
}


/* ===============================
   TABLET
=============================== */

@media(max-width:992px){

    .editorial-card{
        padding:18px;
    }

    .editorial-img-right{
        max-width:170px;
    }

}


/* ===============================
   MOBILE
=============================== */

@media(max-width:768px){

    .editorial-card{
        padding:15px;

        transform:none !important;
    }

    .editorial-card:hover{
        transform:translateY(-3px);
    }

    .editorial-img-right{
        max-width:100%;
    }

    .editorial-card p{
        font-size:.95rem;
        line-height:1.7;
    }

}


/* ===============================
   SMALL MOBILE
=============================== */

@media(max-width:480px){

    .editorial-card{
        padding:12px;
        border-left-width:4px;
    }

    .editorial-card p{
        font-size:.92rem;
        line-height:1.65;
    }

}