:root{
    --primary:#c14141;
    --primary-dark:#a83232;
    --dark:#111111;
    --text:#292929;
    --muted:#777777;
    --border:#e8e8e8;
    --page-bg:#f4f5f7;
    --white:#ffffff;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    padding:0;
    background:var(--page-bg);
    color:var(--text);
    font-family:'Josefin Sans',sans-serif;
    overflow-x:hidden;
}

*{
    box-sizing:border-box;
}

img{
    max-width:100%;
}

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

a:hover{
    text-decoration:none;
}

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

.main-content{
    background:var(--white);
    padding:38px;
    border-radius:10px;
    border:1px solid var(--border);
    box-shadow:0 4px 20px rgba(0,0,0,.04);
    margin-bottom:30px;
    min-width:0;
}

/* =========================================================
   POST HEADER
   ========================================================= */

.post-header{
    margin-bottom:22px;
}

.post-meta{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:9px;
    margin-bottom:10px;
    font-family:'Poppins',sans-serif;
    font-size:13px;
    font-weight:600;
    color:var(--muted);
}

.meta-category{
    color:var(--primary);
    text-transform:uppercase;
}

.meta-dot{
    color:#aaa;
}

.post-title{
    margin:0;
    color:var(--dark);
    font-family:'Poppins',sans-serif;
    font-size:37px;
    line-height:1.2;
    font-weight:800;
    letter-spacing:-.5px;
}

/* =========================================================
   TOP AD
   ========================================================= */

.ad-top{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:50px;
    margin:15px 0 25px;
    overflow:hidden;
}

/* =========================================================
   MAIN FEATURED IMAGE
   ========================================================= */

.main-featured-image{
    display:block;
    width:100%;
    height:auto;
    max-height:560px;
    object-fit:cover;
    object-position:center;
    border-radius:8px;
    margin:0 0 30px;
}

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

.post-content-body{
    color:#333;
    font-family:'Poppins',sans-serif;
    font-size:17px;
    line-height:1.9;
    word-wrap:break-word;
    overflow-wrap:anywhere;
}

.post-content-body p{
    margin:0 0 20px;
}

.post-content-body img{
    max-width:100%;
    height:auto;
    display:block;
    margin:20px auto;
}

.post-content-body h1,
.post-content-body h2,
.post-content-body h3,
.post-content-body h4,
.post-content-body h5,
.post-content-body h6{
    font-family:'Poppins',sans-serif;
    color:var(--dark);
    font-weight:700;
    line-height:1.35;
    margin-top:28px;
    margin-bottom:15px;
}

.post-content-body a{
    color:var(--primary);
    font-weight:600;
}

.post-content-body blockquote{
    margin:25px 0;
    padding:15px 20px;
    border-left:4px solid var(--primary);
    background:#fafafa;
    font-style:italic;
}

.post-content-body ul,
.post-content-body ol{
    padding-left:25px;
    margin-bottom:20px;
}

/* =========================================================
   DROP CAP
   ========================================================= */

.post-content-body > p:first-child::first-letter{
    float:left;
    font-family:'Cormorant Garamond',serif;
    font-size:62px;
    line-height:.8;
    font-weight:700;
    padding-right:8px;
    color:var(--primary);
}

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

.video-responsive{
    position:relative;
    width:100%;
    padding-bottom:56.25%;
    height:0;
    overflow:hidden;
    margin:25px 0;
    background:#000;
    border-radius:8px;
}

.video-responsive iframe{
    position:absolute;
    inset:0;
    width:100%!important;
    height:100%!important;
    border:0;
}

/* =========================================================
   DOWNLOAD AREA
   ========================================================= */

.download-area{
    margin:30px 0;
    padding:20px;
    border:1px solid var(--border);
    border-radius:8px;
    background:#fafafa;
}

.download-area audio{
    display:block;
    width:100%;
}

.download-area video{
    display:block;
    width:100%;
    height:auto;
}

.download-area > img{
    display:block;
    width:100%;
    height:auto;
    max-height:500px;
    object-fit:contain;
    background:#fff;
}

.download-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:11px 18px;
    border-radius:6px;
    background:var(--primary);
    color:#fff!important;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:600;
    transition:.25s ease;
}

.download-link:hover{
    background:var(--primary-dark);
    color:#fff!important;
}

.stats-line{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-top:15px;
    padding-top:14px;
    border-top:1px solid var(--border);
    color:var(--muted);
    font-family:'Poppins',sans-serif;
    font-size:13px;
}

.stats-line span{
    display:inline-flex;
    align-items:center;
    gap:6px;
}

/* =========================================================
   SOCIAL SHARE
   ========================================================= */

.social-share-wrap{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:15px;
    margin:30px 0;
    padding-top:25px;
    border-top:1px solid var(--border);
}

.share-label{
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:700;
    color:var(--dark);
}

.sociallink_nav{
    display:flex;
    align-items:center;
    gap:8px;
    list-style:none;
    margin:0;
    padding:0;
}

.sociallink_nav li{
    margin:0;
    padding:0;
}

.sociallink_nav a{
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    color:#fff!important;
    transition:.25s ease;
}

.facebook_btn{
    background:#1877f2;
}

.twitter_btn{
    background:#111;
}

.whatsapp_btn{
    background:#25d366;
}

.linkedin_btn{
    background:#0a66c2;
}

.pinterest_btn{
    background:#bd081c;
}

.sociallink_nav a:hover{
    transform:translateY(-2px);
    opacity:.9;
}

/* =========================================================
   ADS
   ========================================================= */

.ad-300x250{
    width:100%;
    min-height:250px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin:30px auto;
    overflow:hidden;
}

.ad-native{
    width:100%;
    margin:25px 0;
    overflow:hidden;
}

/* =========================================================
   RELATED POSTS
   ========================================================= */

.related-posts-wrap{
    margin-top:35px;
    padding-top:25px;
    border-top:1px solid var(--border);
}

.related-title{
    margin:0 0 18px;
    color:var(--dark);
    font-family:'Poppins',sans-serif;
    font-size:18px;
    font-weight:800;
}

.related-title i{
    color:var(--primary);
    margin-right:7px;
}

.related-posts-list{
    list-style:none;
    margin:0;
    padding:0;
}

.related-posts-list li{
    margin:0 0 13px;
    padding:0;
}

/* =========================================================
   RELATED / SIDEBAR-STYLE MEDIA ROW
   ========================================================= */

.related-posts-list .media{
    display:flex;
    align-items:center;
    gap:14px;
    width:100%;
    min-width:0;
    padding:9px;
    margin:0;
    border:1px solid transparent;
    border-radius:8px;
    transition:.25s ease;
}

.related-posts-list .media:hover{
    background:#fafafa;
    border-color:#ededed;
}

/* =========================================================
   FIXED SIDEBAR-STYLE THUMBNAIL
   ========================================================= */

.related-posts-list .details-thumb,
.post-nav-item .details-thumb{
    display:block;

    width:82px;
    min-width:82px;
    max-width:82px;

    height:68px;
    min-height:68px;
    max-height:68px;

    flex:0 0 82px;

    overflow:hidden;

    background:#fff;

    border-radius:6px;

    margin:0;
    padding:0;

    position:relative;
}

/* =========================================================
   IMAGE INSIDE FIXED THUMBNAIL
   ========================================================= */

.related-posts-list .details-thumb img,
.post-nav-item .details-thumb img{
    display:block;

    width:82px!important;
    min-width:82px!important;
    max-width:82px!important;

    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;

    object-fit:contain!important;
    object-position:center center;

    margin:0!important;
    padding:0;

    border:1px solid #ddd;
    border-radius:6px;

    box-shadow:none;

    background:#fff;

    flex-shrink:0;
}

/* =========================================================
   RELATED TEXT
   ========================================================= */

.related-posts-list .media-body{
    flex:1 1 auto;
    min-width:0;
    width:auto;
    overflow:hidden;
}

.related-posts-list .media-body > a{
    display:block;
    color:var(--dark);
    font-family:'Poppins',sans-serif;
    font-size:15px;
    line-height:1.35;
    font-weight:700;
    overflow-wrap:anywhere;
}

.related-posts-list .media-body > a:hover{
    color:var(--primary);
}

.posttype-tag{
    display:flex;
    align-items:center;
    gap:5px;
    margin-bottom:5px;
    color:var(--primary);
    font-family:'Poppins',sans-serif;
    font-size:11px;
    line-height:1.2;
    font-weight:700;
    text-transform:uppercase;
}

.posttype-tag span{
    color:var(--primary);
}

/* =========================================================
   PREVIOUS / NEXT
   ========================================================= */

.post-nav-wrap{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
    margin-top:35px;
    padding-top:25px;
    border-top:1px solid var(--border);
}

.post-nav-item{
    min-width:0;
    padding:14px;
    background:#fafafa;
    border:1px solid var(--border);
    border-radius:8px;
}

.post-nav-label{
    display:block;
    margin-bottom:10px;
    color:var(--primary);
    font-family:'Poppins',sans-serif;
    font-size:12px;
    line-height:1.3;
    font-weight:700;
    text-transform:uppercase;
}

.post-nav-item .media{
    display:flex;
    align-items:center;
    gap:11px;
    width:100%;
    min-width:0;
    margin:0;
    padding:0;
}

.post-nav-item .media-body{
    flex:1 1 auto;
    min-width:0;
    width:auto;
    overflow:hidden;
}

.post-nav-item .media-body > a{
    display:block;
    color:var(--dark);
    font-family:'Poppins',sans-serif;
    font-size:14px;
    line-height:1.35;
    font-weight:700;
    overflow-wrap:anywhere;
}

.post-nav-item .media-body > a:hover{
    color:var(--primary);
}

/* =========================================================
   COMMENTS
   ========================================================= */

.comments-section{
    margin-top:40px;
    padding-top:30px;
    border-top:1px solid var(--border);
}

.comments-header{
    margin:0 0 25px;
    font-family:'Poppins',sans-serif;
    font-size:22px;
    font-weight:800;
    color:var(--dark);
}

.comment-list{
    list-style:none;
    margin:0;
    padding:0;
}

.comment{
    display:flex;
    gap:15px;
    margin-bottom:25px;
    padding-bottom:25px;
    border-bottom:1px solid var(--border);
}

.comment .vcard{
    flex:0 0 50px;
}

.comment .vcard img{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.comment-body{
    flex:1;
    min-width:0;
}

.comment-body h3{
    margin:0 0 3px;
    font-family:'Poppins',sans-serif;
    font-size:15px;
    font-weight:700;
    color:var(--dark);
}

.comment-body .meta{
    display:block;
    margin-bottom:8px;
    color:var(--muted);
    font-size:12px;
}

.comment-body p{
    margin:0;
    font-size:15px;
    line-height:1.7;
}

.no-comments{
    padding:18px;
    background:#fafafa;
    border:1px solid var(--border);
    border-radius:7px;
    color:var(--muted);
}

.comment-form-wrap{
    margin-top:30px;
    padding:25px;
    background:#fafafa;
    border:1px solid var(--border);
    border-radius:8px;
}

.form-title{
    margin-bottom:20px;
    color:var(--dark);
    font-family:'Poppins',sans-serif;
    font-size:18px;
    font-weight:800;
}

.comment-form-wrap .form-control{
    border:1px solid #ddd;
    border-radius:6px;
    min-height:45px;
    font-family:'Poppins',sans-serif;
    font-size:14px;
}

.comment-form-wrap textarea.form-control{
    min-height:130px;
    resize:vertical;
}

.comment-submit-btn{
    border:0;
    border-radius:6px;
    padding:11px 20px;
    background:var(--primary);
    color:#fff;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
}

.comment-submit-btn:hover{
    background:var(--primary-dark);
}

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

@media (max-width:991.98px){

    .main-content{
        margin-bottom:25px;
    }

}

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

@media (max-width:768px){

    .main-content{
        padding:24px 18px;
        border-radius:8px;
    }

    .post-title{
        font-size:30px;
    }

    .post-content-body{
        font-size:16px;
        line-height:1.8;
    }

    .main-featured-image{
        max-height:none;
        object-fit:contain;
    }

    .post-nav-wrap{
        grid-template-columns:1fr;
    }

    /* SIDEBAR-MATCHING MOBILE SIZE */

    .related-posts-list .details-thumb,
    .post-nav-item .details-thumb{

        width:78px;
        min-width:78px;
        max-width:78px;

        height:64px;
        min-height:64px;
        max-height:64px;

        flex:0 0 78px;
    }

    .related-posts-list .details-thumb img,
    .post-nav-item .details-thumb img{

        width:78px!important;
        min-width:78px!important;
        max-width:78px!important;

        height:64px!important;
        min-height:64px!important;
        max-height:64px!important;
    }

    .related-posts-list .media{
        gap:12px;
        padding:8px;
    }

    .post-nav-item .media{
        gap:10px;
    }

}

/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width:380px){

    .main-content{
        padding:20px 14px;
    }

    .post-title{
        font-size:26px;
    }

    .post-content-body{
        font-size:15px;
    }

    .social-share-wrap{
        align-items:flex-start;
        flex-direction:column;
    }

    /* EXACT SMALL SIDEBAR-STYLE THUMB */

    .related-posts-list .details-thumb,
    .post-nav-item .details-thumb{

        width:72px;
        min-width:72px;
        max-width:72px;

        height:60px;
        min-height:60px;
        max-height:60px;

        flex:0 0 72px;
    }

    .related-posts-list .details-thumb img,
    .post-nav-item .details-thumb img{

        width:72px!important;
        min-width:72px!important;
        max-width:72px!important;

        height:60px!important;
        min-height:60px!important;
        max-height:60px!important;
    }

    .related-posts-list .media{
        gap:10px;
        padding:7px;
    }

    .related-posts-list .media-body > a{
        font-size:14px;
    }

    .post-nav-item{
        padding:11px;
    }

}

/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width:320px){

    .related-posts-list .details-thumb,
    .post-nav-item .details-thumb{

        width:70px;
        min-width:70px;
        max-width:70px;

        height:58px;
        min-height:58px;
        max-height:58px;

        flex:0 0 70px;
    }

    .related-posts-list .details-thumb img,
    .post-nav-item .details-thumb img{

        width:70px!important;
        min-width:70px!important;
        max-width:70px!important;

        height:58px!important;
        min-height:58px!important;
        max-height:58px!important;
    }

}