/* =====================================================
ODAI MAGAZINE - INFO PAGE (HARMONISÉ SINGLE POST)
===================================================== */

/* RESET */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#111;
    line-height:1.7;
    overflow-x:hidden;
    font-family:Georgia, serif;
}

img,
video{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

/* =====================================================
TYPOGRAPHY
===================================================== */

.article_header,
.article_body,
.article_content,
.ql-editor,
.article_meta{
    font-family:inherit;
}

/* =====================================================
HERO (STYLE EDITORIAL SINGLE POST)
===================================================== */

.article_hero{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    overflow:hidden;
}

.article_hero img,
.article_hero video{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    max-height:90vh;
    object-fit:contain;
}

/* =====================================================
HEADER (IDENTIQUE SINGLE POST)
===================================================== */

.article_header{
    max-width:1200px;
    margin:90px auto 80px;
    padding:0 40px;
    text-align:center;
}

.article_subtitle{
    display:inline-block;
    margin-bottom:22px;
    font-size:12px;
    font-weight:600;
    letter-spacing:.35em;
    text-transform:uppercase;
    color:#777;
}

.article_title{
    margin:0;
    font-size:58px;
    font-weight:400;
    color:#111;
    letter-spacing:2px;
    line-height:1.1;
}

.article_deck{
    max-width:760px;
    margin:35px auto 0;
    font-size:24px;
    line-height:1.8;
    font-weight:300;
    color:#444;
}

.article_meta{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    margin-top:40px;
    font-size:12px;
    font-weight:500;
    letter-spacing:.25em;
    text-transform:uppercase;
    color:#888;
}

/* =====================================================
BODY (ALIGNÉ SINGLE POST)
===================================================== */

.article_body{
    max-width:760px;
    margin:auto;
    padding:0 40px 120px;
}

.article_content{
    margin-top:40px;
}

/* =====================================================
RESUME
===================================================== */

.article_resume{
    margin-bottom:60px;
    font-size:26px;
    line-height:1.9;
    font-weight:300;
    color:#111;
}

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

.article_secondary_image{
    margin:60px 0;
}

.article_secondary_image img{
    width:100%;
    height:auto;
}

/* =====================================================
QUILL
===================================================== */

.ql-snow{
    border:none !important;
}

.ql-editor{
    padding:0 !important;
    font-size:20px;
    line-height:1.95;
    color:#111;
}

.ql-editor p{
    margin-bottom:1.8em;
}

/* HEADINGS */

.ql-editor h1,
.ql-editor h2,
.ql-editor h3,
.ql-editor h4{
    color:#111;
    font-weight:500;
    line-height:1.2;
}

.ql-editor h1{
    font-size:52px;
    margin:70px 0 30px;
}

.ql-editor h2{
    font-size:42px;
    margin:70px 0 30px;
}

.ql-editor h3{
    font-size:34px;
    margin:60px 0 25px;
}

.ql-editor h4{
    font-size:28px;
    margin:50px 0 20px;
}

/* LINKS */

.ql-editor a{
    text-decoration:underline;
}

/* IMAGES */

.ql-editor img{
    width:100%;
    height:auto;
    display:block;
    margin:60px 0;
}

/* BLOCKQUOTE */

.ql-editor blockquote{
    border-left:4px solid #111;
    padding-left:24px;
    margin:50px 0;
    font-style:italic;
    color:#444;
}

/* LISTS */

.ql-editor ul,
.ql-editor ol{
    padding-left:25px;
    margin-bottom:30px;
}

.ql-editor li{
    margin-bottom:10px;
}

/* CODE */

.ql-editor pre{
    background:#f5f5f5;
    padding:20px;
    border-radius:6px;
    overflow:auto;
    margin:40px 0;
}

/* ALIGN */

.ql-align-center{ text-align:center; }
.ql-align-right{ text-align:right; }
.ql-align-justify{ text-align:justify; }

/* TABLES */

.ql-editor table{
    width:100%;
    border-collapse:collapse;
    margin:40px 0;
}

.ql-editor td,
.ql-editor th{
    border:1px solid #e5e7eb;
    padding:12px;
}

.ql-editor th{
    background:#f8f8f8;
}

/* =====================================================
GALLERY (VERSION CLEAN SINGLE POST)
===================================================== */

.article_gallery{
    margin-top:90px;
}

.article_gallery img{
    width:100%;
    height:auto;
    margin-bottom:20px;
    transition:.4s ease;
}

.article_gallery img:hover{
    transform:scale(1.02);
}

/* =====================================================
BACK BUTTON
===================================================== */

.article_back{
    margin-top:100px;
    text-align:center;
}

.article_back a{
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    text-transform:uppercase;
    transition:opacity .3s ease;
}

.article_back a:hover{
    opacity:.6;
}

/* =====================================================
SELECTION
===================================================== */

::selection{
    background:#111;
    color:#fff;
}

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

@media(max-width:992px){

    .article_title{
        font-size:clamp(44px, 10vw, 80px);
    }

    .article_deck{
        font-size:22px;
    }
}

@media(max-width:768px){

    .article_header{
        margin:60px auto;
        padding:0 24px;
    }

    .article_body{
        padding:0 20px 80px;
    }

    .article_title{
        font-size:clamp(38px, 12vw, 60px);
        line-height:.95;
    }

    .article_deck{
        font-size:18px;
    }

    .article_meta{
        gap:12px;
        margin-top:30px;
    }

    .article_resume{
        font-size:20px;
    }

    .ql-editor{
        font-size:18px;
    }

    .ql-editor h1{ font-size:38px; }
    .ql-editor h2{ font-size:32px; }
    .ql-editor h3{ font-size:28px; }
}

@media(max-width:480px){

    .article_title{
        font-size:34px;
    }

    .article_deck{
        font-size:17px;
    }

    .article_resume{
        font-size:18px;
    }

    .ql-editor{
        font-size:17px;
    }
}