/**
 * Single Post Page Styles
 */

.single-post-page {
    background: #fff;
    min-height: 100vh;
}

/* ===========================
   Back Button Section
   =========================== */
.post-back-section {
    padding: 40px 0 24px;
    background: #fff;
}

.post-back-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.post-back-section .back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #1538BF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.post-back-section .back-button:hover {
    opacity: 0.8;
}

.post-back-section .back-button svg {
    width: 24px;
    height: 24px;
}

/* ===========================
   Post Header Section
   =========================== */
.post-header {
    padding: 0 0 40px;
    background: #fff;
}

.post-header .container {
    max-width: 1280px;
    margin: 0 auto;
}

.post-header .post-featured-image {
    width: 100%;
    height: 240px;
    border-radius: 24px;
    overflow: hidden;
}

.post-header .post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-header .post-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 60px;
    color: #000;
    margin: 0 0 40px 0;
}

/* ===========================
   Post Content Section
   =========================== */
.post-content-section {
    padding: 0 0 80px;
    background: #fff;
}

.post-content-section .container {
    max-width: 1280px;
    margin: 0 auto;
}

.post-content-section .post-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #595959;
    margin: 0 0 24px 0;
}

.post-content-section .post-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: #000;
    margin: 40px 0 24px 0;
}

.post-content-section .post-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: #000;
    margin: 32px 0 16px 0;
}

.post-content-section .post-content ul,
.post-content-section .post-content ol {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    color: #595959;
    margin: 0 0 24px 0;
    padding-left: 24px;
}

.post-content-section .post-content li {
    margin-bottom: 8px;
}

.post-content-section .post-content a {
    color: #1538BF;
    text-decoration: underline;
}

.post-content-section .post-content a:hover {
    opacity: 0.8;
}

.post-content-section .post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
}

.post-content-section .post-content blockquote {
    border-left: 4px solid #1538BF;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #595959;
}

/* ===========================
   Responsive Styles - Tablet
   =========================== */
@media screen and (max-width: 1280px) {
    .post-back-section .container,
    .post-header .container,
    .post-content-section .container {
        padding: 0 40px;
    }

    .post-back-section {
        padding: 60px 0 24px;
    }

    .post-header {
        padding: 0 0 32px;
    }

    .post-header .post-featured-image {
        height: 200px;
        border-radius: 20px;
    }

    .post-header .post-title {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 32px;
    }

    .post-content-section {
        padding: 0 0 48px;
    }

    .post-content-section .post-content p {
        font-size: 15px;
        line-height: 26px;
        margin-bottom: 18px;
    }

    .post-content-section .post-content h2 {
        font-size: 28px;
        line-height: 36px;
        margin: 28px 0 16px 0;
    }

    .post-content-section .post-content h3 {
        font-size: 22px;
        line-height: 30px;
        margin: 24px 0 12px 0;
    }

    .post-content-section .post-content ul,
    .post-content-section .post-content ol {
        font-size: 15px;
        line-height: 26px;
        padding-left: 20px;
        margin-bottom: 18px;
    }

    .post-content-section .post-content img {
        margin: 18px 0;
    }

    .post-content-section .post-content blockquote {
        padding-left: 20px;
        margin: 24px 0;
    }
}

/* ===========================
   Responsive Styles - Mobile
   =========================== */
@media screen and (max-width: 767px) {
    .post-back-section {
        padding: 24px 0 16px;
    }

    .post-back-section .container,
    .post-header .container,
    .post-content-section .container {
        padding: 0 20px;
    }

    .post-back-section .back-button {
        font-size: 14px;
        line-height: 20px;
        gap: 6px;
    }

    .post-back-section .back-button svg {
        width: 20px;
        height: 20px;
    }

    .post-header {
        padding: 0 0 24px;
    }

    .post-header .post-featured-image {
        height: 160px;
        border-radius: 16px;
        margin-bottom: 24px;
    }

    .post-header .post-title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 24px;
    }

    .post-content-section {
        padding: 0 0 32px;
    }

    .post-content-section .post-content p {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .post-content-section .post-content h2 {
        font-size: 22px;
        line-height: 30px;
        margin: 24px 0 12px 0;
    }

    .post-content-section .post-content h3 {
        font-size: 18px;
        line-height: 26px;
        margin: 20px 0 10px 0;
    }

    .post-content-section .post-content ul,
    .post-content-section .post-content ol {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 16px;
        padding-left: 18px;
    }

    .post-content-section .post-content li {
        margin-bottom: 4px;
    }

    .post-content-section .post-content img {
        border-radius: 8px;
        margin: 16px 0;
    }

    .post-content-section .post-content blockquote {
        border-left-width: 3px;
        padding-left: 16px;
        margin: 20px 0;
        font-size: 14px;
        line-height: 22px;
    }
}
