/*==============================================================
ETERNITY QUOTES
Editorial Luxury
==============================================================*/

.quotes-section{

    padding:0;

    overflow:hidden;

}

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

.quotes-opening{

    position:relative;

    width:100%;

    line-height:0;

}

.quotes-opening::after{

    content:"";

    position:absolute;

    inset:0;

    background:

        linear-gradient(

            rgba(255,255,255,.12),

            rgba(255,255,255,.32)

        );

}

.quotes-opening img{

    width:100%;

    height:72vh;

    object-fit:cover;

    display:block;

}

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

.quotes-wrapper{

    max-width:900px;

    margin:-90px auto 0;

    padding:0 24px 120px;

    position:relative;

    z-index:5;

}

.quotes-content{

    background:#fff;

    border:1px solid var(--border);

    padding:70px 60px;

    text-align:center;

}

/*==============================================================
ORNAMENT
==============================================================*/

.quotes-flower{

    margin-bottom:28px;

    color:var(--primary);

    font-size:2rem;

    letter-spacing:10px;

}

/*==============================================================
QUOTE
==============================================================*/

.quotes-text{

    color:var(--text);

    font-family:var(--heading-font);

    font-size:clamp(2rem,4vw,3rem);

    font-style:italic;

    font-weight:500;

    line-height:1.8;

}

/*==============================================================
DIVIDER
==============================================================*/

.quotes-divider{

    width:90px;

    height:1px;

    margin:40px auto;

    background:var(--primary);

}

/*==============================================================
AUTHOR
==============================================================*/

.quotes-author{

    color:#777;

    font-family:var(--body-font);

    font-size:.85rem;

    font-weight:600;

    letter-spacing:4px;

    text-transform:uppercase;

}

/*==============================================================
RESPONSIVE
==============================================================*/

@media(max-width:768px){

    .quotes-opening img{

        height:45vh;

    }

    .quotes-wrapper{

        margin-top:-50px;

        padding:0 20px 80px;

    }

    .quotes-content{

        padding:40px 28px;

    }

    .quotes-flower{

        font-size:1.4rem;

        letter-spacing:6px;

        margin-bottom:20px;

    }

    .quotes-text{

        font-size:1.5rem;

        line-height:1.8;

    }

    .quotes-divider{

        width:60px;

        margin:28px auto;

    }

    .quotes-author{

        font-size:.72rem;

        letter-spacing:2px;

    }

}