/* ==============================
   BLOG ARTICLE CONTAINER
================================= */

article.post {
    background: #ffffff;
    padding: 0 30px 30px 30px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

article.post:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}
.archive .post-thumbnail{
    display: none;
}

.single-post article.post, .single-post article.post:hover{
    box-shadow: none;
}

.single-post .entry-title{
    text-align: center;
}
.single-post .entry-meta{
    justify-content: center;
}
.single-post .entry-content, .single-post .entry-footer, .single-post .post-thumbnail, .navigation.post-navigation{
    width: 75%;
    margin: auto;
}
.single-post .post-excerpt{
    width: 50%;
    margin: auto;
    border-radius: 10px;
    padding: 1rem;
    background: #e7e6f033;
    margin: 2rem auto;
}


/* ==============================
   ENTRY HEADER
================================= */

.entry-header {
    margin-bottom: 20px;
}

.entry-title {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 700;
    color: #111;
}

.entry-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.entry-title a:hover {
    color: #6c63ff;
}


/* ==============================
   META INFO
================================= */

.entry-meta {
    font-size: 14px;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.entry-meta a {
    color: #6c63ff;
    text-decoration: none;
}

.entry-meta a:hover {
    text-decoration: underline;
}


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

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}


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

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.entry-content blockquote {
    padding: 20px;
    border-left: 4px solid #6c63ff;
    background: #f8f9ff;
    margin: 25px 0;
    border-radius: 6px;
}


/* ==============================
   PAGINATION (Page Links)
================================= */

.page-links {
    margin-top: 30px;
    font-weight: 600;
}


/* ==============================
   FOOTER (Categories, Tags)
================================= */

.entry-footer {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.entry-footer a {
    color: #6c63ff;
    text-decoration: none;
}

.entry-footer a:hover {
    text-decoration: underline;
}

/* ---------------------------------------
   Post Navigation
----------------------------------------*/

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
    margin: 60px 0 40px;
}

.nav-previous,
.nav-next {
    flex: 1 1 30%;
}

.nav-previous a,
.nav-next a {
    display: block;
    padding: 20px 24px;
    background: #f9fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.nav-previous a:hover,
.nav-next a:hover {
    background: #111827;
    border-color: #111827;
    transform: translateY(-3px);
}

/* Subtitle (Previous / Next) */
.nav-subtitle {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
}

.nav-previous a:hover .nav-subtitle,
.nav-next a:hover .nav-subtitle {
    color: #d1d5db;
}

/* Post Title */
.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
    color: #ffffff;
}

/* Alignment */
.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

.cat-links a{
    margin-right: 15px;
}


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

@media (max-width: 768px) {

    article.post {
        padding: 20px;
    }
    .single-post .entry-content, .single-post .entry-footer, .single-post .post-thumbnail, .navigation.post-navigation{
        width: 100%;
        margin: auto;
    }

    .entry-title {
        font-size: 22px;
    }

    .entry-meta {
        font-size: 13px;
        gap: 10px;
    }

    .entry-content {
        font-size: 15px;
    }

    .nav-links {
        flex-direction: column;
    }

    .nav-previous,
    .nav-next {
        flex: 1 1 100%;
    }

    .nav-next {
        text-align: left;
    }

}
