.blogPost-page {
    padding: 3vw;
}

h1 {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.blogPost-page-container {
    display: flex;
    gap: 3rem;
}

.blogPost-page-container .blog-post {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.blog-post-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    max-height: 60vh;
}
.post-header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.post-header .blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}
.post-header .blog-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-role {
    color: #444;
}

.blog-post .address {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 14px;
    color: #333;
}

.blog-post-text {
    margin: 0 auto;
    max-width: 800px;
    font-size: 1rem;

}
.blog-post-text img{
    max-width: 800px;
    object-fit: contain;
    height: auto;
}

.divider {
    display: block;
    margin: 2rem auto;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

aside h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.trending-card {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: calc(10px + 0.5rem);
}

.trending-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.more-swiper {
    padding: 1rem 0;
}
.more-swiper .swiper-slide.more-post {
    width: 100%;
    max-width: 100%;
}
.more-post img {
    /* min-width: 320px; */
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.swiper-button-prev,
.swiper-button-next {
    color: #000 !important;
    background-color: #fff;
    font-weight: 600;
    border-radius: 50%; /* Circle shape */
    width: 40px !important;
    height: 40px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px !important;
}

@media screen and (max-width: 1400px) {
    .blogPost-page-container {
        flex-direction: column;
    }

    #trending {
        display: none;
    }
}

.author {
    display: flex;
    gap: 1rem;
}

.author-image-container {
    width: 25%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
}

.author-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h3 {
    font-weight: 400;
    letter-spacing: -1px;
}

.author-description {
    margin-top: 1rem;
}

@media screen and (max-width: 768px) {
    .author {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.backBtn{
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 16px;
    margin-bottom: 2rem;
}