/*
==========================================
Single Post
==========================================
*/

.single-page{
    padding:60px 0;
}

.single-post{
    max-width:900px;
    margin:0 auto;
    background:#fff;
}

/*
==========================================
Entry Header
==========================================
*/

.entry-header{
    margin-bottom:35px;
    text-align:center;
}

.entry-title{
    font-size:42px;
    line-height:1.3;
    margin-bottom:20px;
    color:#222;
}

/*
==========================================
Entry Meta
==========================================
*/

.entry-meta{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:20px;
    color:#777;
    font-size:14px;
}

.entry-meta span{
    display:flex;
    align-items:center;
    gap:6px;
}

.entry-meta a{
    color:inherit;
    text-decoration:none;
    transition:.3s ease;
}

.entry-meta a:hover{
    color:#d50000;
}

/*
==========================================
Featured Image
==========================================
*/

.entry-thumbnail{
    margin-bottom:35px;
    border-radius:12px;
    overflow:hidden;
}

.entry-thumbnail img{
    width:100%;
    height:auto;
    display:block;
}

/*
==========================================
Content
==========================================
*/

.entry-content{
    font-size:18px;
    line-height:1.9;
    color:#333;
}

.entry-content p{
    margin-bottom:1.8em;
}

.entry-content a{
    color:#d50000;
    text-decoration:none;
}

.entry-content a:hover{
    text-decoration:underline;
}

.entry-content strong{
    font-weight:700;
}

.entry-content em{
    font-style:italic;
}

/*
==========================================
Headings
==========================================
*/

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{
    margin:40px 0 20px;
    color:#222;
    line-height:1.4;
}

.entry-content h2{
    font-size:34px;
}

.entry-content h3{
    font-size:28px;
}

.entry-content h4{
    font-size:24px;
}

/*
==========================================
Lists
==========================================
*/

.entry-content ul,
.entry-content ol{
    margin:0 0 25px 25px;
}

.entry-content li{
    margin-bottom:10px;
}

/*
==========================================
Images
==========================================
*/

.entry-content img{
    max-width:100%;
    height:auto;
    border-radius:10px;
}

.entry-content figure{
    margin:30px 0;
}

.entry-content figcaption{
    margin-top:10px;
    color:#777;
    font-size:14px;
    text-align:center;
}

/*
==========================================
Blockquote
==========================================
*/

.entry-content blockquote{
    margin:35px 0;
    padding:25px;
    border-left:4px solid #d50000;
    background:#f8f8f8;
    font-style:italic;
}

/*
==========================================
Tables
==========================================
*/

.entry-content table{
    width:100%;
    border-collapse:collapse;
    margin:30px 0;
}

.entry-content table th,
.entry-content table td{
    border:1px solid #ddd;
    padding:12px;
}

.entry-content table th{
    background:#f5f5f5;
}

/*
==========================================
Code
==========================================
*/

.entry-content pre{
    overflow:auto;
    padding:20px;
    border-radius:8px;
    background:#1e293b;
    color:#fff;
}

.entry-content code{
    font-family:monospace;
}

/*
==========================================
Tags
==========================================
*/

.entry-footer{
    margin-top:50px;
    padding-top:25px;
    border-top:1px solid #eee;
}

.post-tags a{
    display:inline-block;
    margin:5px;
    padding:8px 14px;
    background:#f3f3f3;
    border-radius:30px;
    color:#333;
    text-decoration:none;
    transition:.3s ease;
}

.post-tags a:hover{
    background:#d50000;
    color:#fff;
}

/*
==========================================
Post Navigation
==========================================
*/

.post-navigation{
    margin:60px 0;
    padding-top:30px;
    border-top:1px solid #eee;
}

.post-navigation .nav-links{
    display:flex;
    justify-content:space-between;
    gap:30px;
}

.post-navigation a{
    color:#222;
    text-decoration:none;
    transition:.3s ease;
}

.post-navigation a:hover{
    color:#d50000;
}

/*
==========================================
Accessibility
==========================================
*/

.entry-content a:focus-visible,
.entry-meta a:focus-visible,
.post-navigation a:focus-visible,
.post-tags a:focus-visible{
    outline:2px solid #d50000;
    outline-offset:3px;
}

/*
==========================================
Responsive
==========================================
*/

@media (max-width:991px){

    .entry-title{
        font-size:34px;
    }

    .entry-content{
        font-size:17px;
    }

}

@media (max-width:576px){

    .single-page{
        padding:40px 0;
    }

    .entry-title{
        font-size:28px;
    }

    .entry-meta{
        flex-direction:column;
        gap:10px;
    }

    .entry-content{
        font-size:16px;
    }

    .post-navigation .nav-links{
        flex-direction:column;
    }

}