/* ===== News page: manual + external news ===== */

/* Detail page */
.information_title {
    width: 100%;
    max-width: 1180px;
    margin: 24px auto 18px;
    padding: 0 10px;
    box-sizing: border-box;
}

.information_title h1,
.information_title .global_title {
    margin: 0;
    color: #10231c;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.information_title.center {
    text-align: left;
}

.information_page_text {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 34px;
    padding: 0 10px;
    box-sizing: border-box;
    color: #1f2933;
    font-size: 17px;
    line-height: 1.72;
}

.information_page_text img,
.information_page_img {
    width: 100%;
    max-width: 920px;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
    margin: 0 auto 22px;
    border-radius: 20px;
    background: #f3f6f4;
}

.information_page_text_img {
    width: 100%;
    max-width: 920px;
    margin: 0 auto 34px;
    padding: 0 10px;
    box-sizing: border-box;
}

.information_page_text_img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    background: #f3f6f4;
}

/* Manual news cards */
.all_cart_news {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 44px;
    padding: 0 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    box-sizing: border-box;
}

.all_cart_news > a {
    color: inherit;
    text-decoration: none;
    display: block;
    min-width: 0;
}

.information_card {
    height: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.all_cart_news > a:hover .information_card {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.information_card_img_container {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #eef7f1, #dfeee4);
}

.information_card_img {
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0;
    border-radius: 0;
}

.information_text_block {
    padding: 15px 16px 18px;
}

.information_card_date {
    color: #64748b;
    font-size: 12px;
    line-height: 1.2;
    margin: 0 0 7px;
}

.information_text_block h1 {
    margin: 0 0 9px;
    color: #10231c;
    font-size: 18px;
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-align: left;
}

.information_text_block div {
    color: #475569;
    font-size: 14px;
    line-height: 1.48;
}

.information_text_block p {
    margin: 0;
}

/* ===== External agro news ===== */
.external_news_block {
    width: calc(100% - 20px);
    max-width: 1280px;
    margin: 20px auto 34px;
    padding: 22px;
    border-radius: 22px;
    background: #f7f9fb;
    box-sizing: border-box;
}

.external_news_title {
    color: #10231c;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.external_news_list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.external_news_item {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.external_news_item_link {
    height: 100%;
    min-height: 255px;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e3e7ee;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    color: inherit;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.external_news_item_link:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
    text-decoration: none;
}

.external_news_row {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.external_news_thumb_wrap {
    width: 100%;
    height: 145px;
    flex: 0 0 145px;
    border-radius: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f7ef, #b9ddca);
}

.external_news_thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.external_news_body {
    padding: 13px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.external_news_date {
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
}

.external_news_title_text {
    display: block;
    color: #083c2f;
    font-size: 15px;
    line-height: 1.22;
    font-weight: 800;
}

.external_news_item_link:hover .external_news_title_text {
    color: #0f766e;
    text-decoration: none;
}

.external_news_source {
    color: #7b8794;
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.75;
    margin: 2px 0 0;
}

.external_news_item_link:focus {
    outline: none;
}

.external_news_item_link:focus-visible {
    outline: 2px solid rgba(28, 150, 117, 0.9);
    outline-offset: 2px;
}

/* Header news link */
.header-link--news {
    color: #ffffff;
    text-decoration: none;
    margin-left: 16px;
    white-space: nowrap;
    font-weight: 500;
}

.header-link--news:hover {
    color: #ff3b30;
    text-decoration: none;
}

/* Tablet */
@media (max-width: 980px) {
    .all_cart_news,
    .external_news_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .information_card_img_container {
        height: 210px;
    }
}

/* Mobile */
@media (max-width: 620px) {
    .information_title {
        margin: 18px auto 14px;
        padding: 0 10px;
    }

    .information_title h1,
    .information_title .global_title {
        font-size: 24px;
        line-height: 1.18;
        text-align: left;
    }

    .information_page_text,
    .information_page_text_img {
        padding: 0 10px;
        font-size: 16px;
        line-height: 1.64;
    }

    .information_page_text img,
    .information_page_img,
    .information_page_text_img img {
        max-height: 360px;
        border-radius: 16px;
    }

    .all_cart_news {
        grid-template-columns: 1fr;
        padding: 0 10px;
        gap: 14px;
        margin-bottom: 30px;
    }

    .information_card {
        margin: 0;
        border-radius: 18px;
    }

    .information_card_img_container {
        height: 210px;
        border-radius: 18px 18px 0 0;
    }

    .information_text_block {
        padding: 13px 14px 15px;
    }

    .information_text_block h1 {
        font-size: 17px;
    }

    .external_news_block {
        width: calc(100% - 20px);
        margin: 14px auto 24px;
        padding: 14px;
        border-radius: 18px;
    }

    .external_news_title {
        font-size: 18px;
        text-align: left;
    }

    .external_news_list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .external_news_item_link {
        min-height: 230px;
    }

    .external_news_thumb_wrap {
        height: 155px;
        flex-basis: 155px;
    }

    .header-link--news {
        display: none;
    }
}
