
/* вывод новостей */

.gsbp-26c9b0c {
    font-family: "Ony One Medium";
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    line-height: 100%;
    color: #313332;
}

.news_section {
    max-width: 1360px;
    width: calc(100% - 32px);
    margin: 0 auto;
    padding: 0 40px;
    padding: 0;
    box-sizing: border-box;
}

.news_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.35vw;
    row-gap: 40px;
    width: 100%;
}

.news_card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

.news_card_img {
    flex: 1;
    aspect-ratio: 1.8;
    overflow: hidden;
    position: relative;
}

.news_card_img a {
    display: block;
    width: 100%;
    height: 100%;
}

.news_card_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.news_card_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.news_card_meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 8px;
    align-self: stretch;
    flex-grow: 1;
    justify-content: space-between;
}

.news_card_meta p, .news_card_meta span {
    margin: 0;
}

.news_card_title {
    margin: 0;
    font-family: "Ony One Medium";
    font-weight: 500;
    font-size: 18px;
    line-height: 114.9%;
    display: flex;
    align-items: center;
    color: #313332;
    width: 100%;
    height: calc(1.149em * 3);
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news_card_title a {
    text-decoration: none;
    color: #313332;
    overflow: hidden;
    transition: color 0.4s ease-in-out;
}

.news_card_title a:hover {
    color: #AD83FF;
}

.news_card_date {
    font-family: "Ony One Regular";
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    display: flex;
    align-items: center;
    color: #AD83FF;
}

.news_card_text {
    font-family: "Ony One Regular";
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    overflow: hidden;
    color: #000000;
    width: 100%;
    margin: 0;
    height: calc(1em * 3);
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news_load_more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

.btn_load_more {
    background-color: #ECECEC;
    color: #313332;
    border: none;
    padding: 14px 27px;
    font-family: "Ony One Regular";
    font-weight: 500;
    font-size: 15px;
    line-height: 110%;
    cursor: pointer;
}

@media (max-width: 1199px) {
    
    .news_section {
        padding: 0 16px;
    }
    
    .news_grid {
        row-gap: 16px;
    }

    .news_card {
        gap: 16px;
    }

    .news_card_img {
        flex: 2;
        align-self: center;
    }
    
    .news_card_title {
        height: calc(1.149em * 5);
        line-clamp: 5;
        -webkit-line-clamp: 5;
    }

    .news_card_info {
        flex: 3;
    }

    .news_card_text {
        display: none;
    }
    
}

@media (max-width: 767px) {
    
    .gsbp-26c9b0c {
        font-size: 20px;
        text-align: left;
        padding: 0 16px;
    }

    .news_section {
        margin: 0;
        padding: 0 16px;
        width: 100%;
    }

    .news_grid {
        column-grid: 4px;
        row-gap: 24px;
    }

    .news_card {
        flex-direction: column;
        height: auto;
        gap: 8px;
        min-width: 0;
    }

    .news_card_img {
        align-self: stretch;
        aspect-ratio: 1.22;
    }

    .news_card_info {
        height: auto;
        gap: 16px;
        align-self: stretch;
    }

    .news_card_meta {
        display: flex;
        flex-direction: column;
        flex-grow: 0;
        justify-content: flex-start;
    }

    .news_card_title {
        font-size: 16px;
        order: 2;
    }

    .news_card_date {
        order: 1;
        margin-bottom: 4px;
    }

    .news_card_text {
        display: none;
    }
    
}

.single-news-article {
    max-width: 1245px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: "Ony One Regular";
    color: #313332;
}

.single-news-article * {
    box-sizing: border-box;
}

.news-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 24.9px;
}

.news-header p {
    margin: 0;
}

.news-title {
    margin: 0;
    font-family: "Ony One Medium";
    font-weight: 500;
    font-size: 30px;
    text-align: center;
    line-height: 100%;
    color: #313332;
}

.news-date {
    font-weight: 400;
    font-size: 15px;
    line-height: 100%;
    color: #AD83FF;
}

.news-body {
    display: flow-root;
}

.news-collage {
    float: left;
    width: calc(56.39% - 32px);
    margin: 0 32px 24px 0;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    aspect-ratio: 1.33 / 1;
}

.collage-bg {
    grid-column: 1 / 6;
    grid-row: 1 / 9;
    background-image: url('/wp-content/uploads/2026/05/news-image-background.jpg');
    background-size: cover;
    background-position: center;
}

.collage-backdrop {
    grid-column: 4 / 11;
    grid-row: 2 / 8;
    background-color: rgba(218, 218, 218, 0.8);
}

.collage-main-img {
    grid-column: 3 / 10;
    grid-row: 3 / 11;
    display: flex;
}

.collage-main-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.news-content {
    font-weight: 400;
    font-size: 18px;
    line-height: 114.9%;
    color: #313332;
}

.news-content p {
    margin: 0 0 1em 0;
}

.news-content p:last-child {
    margin-bottom: 0;
}

.news-content a {
    color: #AD83FF;
    text-decoration: none;
}

.news-content a:hover {
    text-decoration: underline;
}

.news-sidebar {
    font-weight: 400;
    font-size: 18px;
    line-height: 114.9%;
    color: #313332;
    min-width: 0;
}

.news-sidebar p {
    margin: 0 0 1em 0;
}

.news-sidebar p:last-child {
    margin-bottom: 0;
}

.news-sidebar a {
    color: #AD83FF;
    text-decoration: none;
}

.news-sidebar a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .single-news-article {
        padding: 0 16px;
    }

    .single-news-article .news-header {
        align-items: flex-start;
        margin: 16.6px 0;
    }

    .single-news-article .news-title {
        font-size: 20px;
        text-align: left;
    }

    .single-news-article .news-body {
        display: block;
    }

    .single-news-article .news-collage {
        float: none;
        display: block;
        width: 100%;
        margin: 0 0 16px 0;
        grid-column: auto;
        grid-row: auto;
    }

    .single-news-article .collage-bg,
    .single-news-article .collage-backdrop {
        display: none;
    }

    .single-news-article .collage-main-img {
        display: block;
        width: 100%;
        height: 100%;
    }

    .single-news-article .news-sidebar,
    .single-news-article .news-content {
        width: 100%;
        display: block;
        grid-column: auto;
        grid-row: auto;
    }
}

.news-content p.clear-text {
    clear: left;
    display: block;
    width: 100%;
    margin-top: 1em;
}

.news-content p {
    margin: 0 0 1em 0;
}