/* Стили для контейнера блога */
.blog-posts {
    padding: 40px 0;
}

.text-blogs{

}

.post-options{
    margin-top: 50px;
}
/* Стили для блока с новостью */
.blog-post {
    background-color: #ffffff;
    margin-bottom: 30px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-thumb {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-thumb:hover img {
    transform: scale(1.05);
}

.down-content {
    padding: 20px;
}

.down-content span {
    display: block;
    font-size: 14px;
    color: #888888;
    margin-bottom: 10px;
}

.down-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.down-content h4 a {
    color: #333333;
    text-decoration: none;
}

.down-content h4 a:hover {
    color: #007bff;
}

.post-info {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.post-info li a {
    color: #6eb349;
    text-decoration: none;
    transition: color 0.3s;
}

.post-info li a:hover {
    color: #0056b3;
}

.down-content p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
}

.button-primary {
    display: inline-block;
    padding: 10px 20px;
    background-color: #648003;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.button-primary:hover {
    background-color: #6eb349;
}

/* Стили для пагинации */
.page-numbers {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.page-numbers li {
    margin: 0 5px;
}

.page-numbers li a {
    display: block;
    padding: 10px 15px;
    background-color: #ffffff;
    color: #007bff;
    border: 1px solid #648003;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.page-numbers li a:hover,
.page-numbers li.active a {
    background-color: #648003;
    color: #ffffff;
    border-color: #648003;
}

.page-numbers li.active a {
    cursor: default;
}

.page-numbers li a .fa-angle-double-right {
    font-size: 14px;
}
.content.block_tag{
    padding-top: 30px;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    text-align: left;
    margin: 0;
}
.tags li a{
    padding: 10px;
    font-weight: bold;
    border-radius: 10px;
    background-color: #6eb349;
    margin: 50px;
    color: #ffffff;
    text-align: left;
    margin: 0;
}

.tags li{
    padding: 10px;
     text-align: left;
     margin: 0;
}

@media (max-width: 999px){
    .wrap_blog_flex{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}
.content.block_tag{
    margin-bottom: 50px;
}
.content.block_tag ul{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-content: flex-start;
    align-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}
}