.blog-page {
    padding: 3vw;
    max-width: 1400px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    margin-bottom: 7rem;
}

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

.blog-page-container .blog-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
}

.blog-posts-list .divider {
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

.blog-post {
    display: flex;
    gap: 1rem;
}
.blog-post-image {
    width: 100%;
}
.blog-post-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.blog-post-image img {
    width: 100%;
    border-radius: 10px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.read {
    margin-top: auto;
    font-size: 16px;
    width: fit-content;
}

.blog-post-content h2 {
    margin-bottom: 0.5rem;
}

.blog-post-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-post-content .address {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 14px;
    margin-bottom: 0;
}
.swiper.trending-swiper {
    display: none;
}

#trending {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#trending 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;
}

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

.swiper-slide.trending-card img {
    min-width: 320px;
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    h1 {
        margin-bottom: 3rem;
    }
    .blog-post {
        flex-direction: column;
    }
    .blog-post img {
        max-width: 100%;
    }
}
@media screen and (max-width: 1400px) {
    .blog-page-container {
        flex-direction: column;
    }

    .blog-posts-list {
        width: 100%;
    }

    #trending {
        display: none;
    }

    .swiper.trending-swiper {
        display: block;
        padding: 1rem 0;
    }

    .swiper.trending-swiper h2 {
        margin-bottom: 1rem;
    }
}

.paginationLinksAndText {
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}
.pagination-link {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}
.pagination-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
}
.pagination-link.active {
    background-color: #1f1e1f;
    color: #fff;
}
.pagination-link.disabled {
    color: #ccc;
    cursor: not-allowed;
}
.pagination-ellipsis {
    padding: 6px 0;
    color: #6c757d;
}

.post-header {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.post-header .blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
}
.post-header .blog-author img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
