/* Full-width background */
.single-post-wrapper {
    width: 100%;
    padding: 40px 40px;
}

/* Constrained content */
.single-post-container {
    max-width: 1325px;
    margin: 0 auto;
    width: 100%;
}

/* Featured image */
.post-thumbnail {
    max-width: 800px;
    margin: 0 auto;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-title {
    color: #0f172a;
    max-width: 800px;
    font-size: 42px;
    margin-left: auto;
    margin-right: auto;
}

/* Category badge */
.post-category {
    max-width: 800px;
    margin: 0 auto 30px;
    display: block;
}

.post-category a {
    display: inline-block;
    background-color: #1a2e2a;
    border-radius: 4px;
    padding: 6px 18px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

/* Post meta */
.post-meta {
    max-width: 800px;
    margin: 0 auto 30px;
}

.post-meta span {
    display: inline-block;
    margin-right: 15px;
}

/* Post content */
.post-content {
    max-width: 800px;
    margin: 0 auto;
}

.post-content .wp-block-heading {
    margin: 20px 0;
}

.post-content p {
    margin-bottom: 24px;
}

.post-content img {
    max-width: 100%;
    height: auto;
}

/* Tags */
.post-tags {
    max-width: 800px;
    margin: 30px auto 0;
}

/* Navigation */
.post-navigation {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Recommended Posts Section */
.recommended-posts-wrapper {
    width: 100%;
}

.recommended-posts {
    max-width: 800px;
    margin: 0 auto;
}

.recommended-posts-slider {
    position: relative;
}

.recommended-posts-slider .swiper-button-prev {
    left: -100px;
}

.recommended-posts-slider .swiper-button-next {
    right: -100px;
}

.recommended-posts-slider .swiper-pagination {
    position: static;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .recommended-posts-slider .swiper-button-prev,
    .recommended-posts-slider .swiper-button-next {
        display: none;
    }
}

.recommended-posts h2 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: #0f172a;
}

/* Recommended Posts Cards */
.featured-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.featured-blog-card__title {
    margin-top: 15px;
    margin-bottom: 8px; 
}

.featured-blog-card__excerpt {
    margin-top: 8px; 
    margin-bottom: 20px;
    text-decoration: none;
    display: block;
    flex-grow: 1;
}

.featured-blog-card__cta {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

/* Tablet and below */
@media (max-width: 1024px) {
    .single-post-wrapper {
        padding: 40px 15px 0px 15px;
    }
    
    .single-post-container {
        padding: 0 15px;
    }

    /* Featured image */
    .post-thumbnail img {
        margin-bottom: 5px;
    }
    
    .post-meta span {
        display: block;
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .recommended-posts-wrapper {
        padding: 40px 15px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .single-post-wrapper {
        padding: 30px 10px 0px 10px;
    }
    
    .single-post-container {
        padding: 0 10px;
    }
    
    .post-thumbnail img {
        margin-bottom: 5px;
    }

    .recommended-posts-wrapper {
        padding: 30px 10px;
    }
    
}