

/* Start:/local/templates/glavhoz/components/bitrix/system.pagenavigation/pagination/style.css?17486719971691*/
/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-link {
    color: #555;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

.page-link:hover {
    color: #CF2E2E;
    transform: scale(1.1);
}

.page-link.active {
    color: #CF2E2E;
    font-weight: bold;
    transform: scale(1.2);
}

.button-pagination {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.button-pagination:hover {
    background-color: #CF2E2E;
}

.button-pagination:active {
    transform: scale(0.95);
}

.button-pagination svg {
    height: 14px;
    width: 14px;
}

.button-pagination svg path {
    fill: #555;
    transition: fill 0.3s ease;
}

.button-pagination:hover svg path {
    fill: #fff;
}

/* Двойные стрелки */
.button-pagination svg:first-child {
    position: relative;
    left: -2px;
}
.button-pagination svg:last-child {
    position: relative;
    left: 2px;
}

/* Неактивные кнопки */
.button-pagination.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .pagination {
        gap: 10px;
    }
    .page-link {
        font-size: 16px;
    }
    .button-pagination {
        height: 28px;
        width: 28px;
    }
}
/* End */


/* Start:/local/templates/glavhoz/components/bitrix/news.list/news_list/style.css?17437406851632*/
/*ВСЕ НОВОСТИ*/
.news-diamond {

    width: 220px;

    height: 220px;

    display: flex;

    justify-content: center;

    align-items: center;

    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin: 40px 40px 40px -80px;

    overflow: hidden;

    align-self: center;
    flex: 0 0 auto;

}

.news-diamond img{
    width: 100%;

    height: 100%;

    object-fit: cover;
    
   
}

.news-container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 80px;
}

.news-block{
    background-color: var(--colorWhite);
    border: solid 1px var(--colorLightGray);
    height: 300px;
    width: 48%; 
    display: flex;
}

.news-block:hover{
    border-color: var(--colorRed);
}

.triangles{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.triangle-topleft {
    width: 0;
    height: 0;
    border-top: 100px solid var(--colorLightGray);
    border-right: 100px solid transparent;
}
  
.triangle-bottomleft {
    width: 0;
    height: 0;
    border-bottom: 100px solid var(--colorLightGray);
    border-right: 100px solid transparent;
}

.news-block:hover .triangle-topleft{
    border-top: 100px solid var(--colorRed);
}
.news-block:hover .triangle-bottomleft{
    border-bottom: 100px solid var(--colorRed);
}

.news-text{
    width: 60%;
    margin: 40px 40px 40px 0;
    gap: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-data{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-data span{
    font-size: 24px;
}

/* End */
/* /local/templates/glavhoz/components/bitrix/system.pagenavigation/pagination/style.css?17486719971691 */
/* /local/templates/glavhoz/components/bitrix/news.list/news_list/style.css?17437406851632 */
