.column-posts {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin-right: 15rem;
    gap: 3em;
}


/* Основной стиль карточки */
.post-card {
    background-color: #1b2735;
    /* Темный фон карточки */
    border-radius: 10px;
    color: #ffffff;
    overflow: hidden;
    box-shadow: rgba(99, 99, 99, 0.2) -8px 0px 8px 0px;
    margin-bottom: 20px;
    width: 750px;
}

/* Изображение для карточки поста */
.post-card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.3);
    background-blend-mode: multiply;
    transition: all 0.5s;
}

.post-card-image:hover {
    filter: blur(1px);
}

.post-card-title a {
    font-weight: bold;
    font-size: 1.25rem;
    color: #ffffff;
    margin: 15px 0 10px;
    text-decoration: none;
}

.post-card-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.post-card-author {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    overflow: hidden;
    margin-right: 10px;
}

.author-info {
    color: #cccccc;
    font-size: 0.85rem;
}


.post-card-excerpt {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 10px 0;
}

/* Кнопка Read More */
.btn {
    background-color: #0078ff;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.btn:hover {
    background-color: #005bb5;
}

img.photo {
    width: 50px !important;
}

.author-name {
    font-size: 1rem !important;
    color: white;
}

.card-body {
    padding: 25px !important;
}

a.button-read-more {
    color: white;
    padding: 10px 40px;
    font-weight: 500;
    text-transform: uppercase;
    background-color: #00829f;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    transition: all 0.2s linear
}

a.button-read-more:hover {
    background-color: #0b5869;
    transform: scale(0.95);
}

@media (max-width: 580px) {
    .column-posts {
        margin: 0px;
    }

    .post-card {
        width: 350px !important;
    }

    a.button-read-more {
        padding: 10px !important;
    }
}

@media (max-width: 1200px) and (min-width: 580px) {
    .post-card {
        width: 550px !important;
    }
}


/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 12px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #007bff;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: bold;
}

.pagination .prev,
.pagination .next {
    font-weight: bold;
}

.pagination .disabled {
    color: #aaa;
    cursor: not-allowed;
    border-color: #eee;
}
