/* main page */
.main__container {
    padding-bottom: 40px;
}

.main__wrapper {
    justify-content: space-between;
    padding-bottom: 40px;
}

.main__left {
    width: 78%;
}

.main__news-list {
    padding-bottom: 20px;
}

.main__item:not(:last-child) {
    margin-bottom: 40px;
}

.main__item_title {
    margin-top: 0;
    margin-bottom: 3px;
    font-size: 27px;
    font-weight: 400;
    transition: color .3s ease;
}

.main__item_title a {
    border-bottom: 1px solid transparent;
    transition: border .3s ease;
}

.main__item_title a:hover {
    text-decoration: underline;
}

.main__item_link {
    margin-bottom: 10px;
    font-size: 12px;
}

.main__item_info {
    margin-bottom: 5px;
    font-size: 12px;
}

.main__item_info p {
    margin-right: 20px;
}

.main__item_info p a {
    font-weight: 600;
    color: var(--main-color);
}

.main__item_info p svg {
    margin-left: 5px;
}

.main__right {
    width: 20%;
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

.main__right_title {
    margin-top: 0;
    font-size: 27px;
    font-weight: 400;
}

.main__right_title span {
    font-size: 12px;
    color: var(--main-color);
}

.main__right_wrapper p {
    margin-right: 20px;
}

/* Разводящие страницы */

.breeding-page__list {
    width: 38%;
}

.breeding-page__wrapper {
    gap: 48px;
    justify-content: flex-start;
}

.breeding-page__left,
.breeding-page__right {
    width: 38%;
}


.breeding-page__item {
    margin-bottom: 12px;
    font-size: 19px;

    border-radius: 6px;
    color: var(--body-color);
    background: linear-gradient(180deg, #3B688B 0%, #325977 100%);
}

.breeding-page__item a {
    display: block;
    padding: 12px;
}

.breeding-page__item svg g {
    fill: var(--body-color);
}

.breeding-page__label {
    padding-left: 12px;
    margin-bottom: 16px;
    font-size: 27px;
    color: var(--main-color);
    background: var(--body-color);
}

.breeding-page__item:hover {
    text-decoration: underline;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.breeding-page__item:active {
    box-shadow: 2px 4px 28px 0 #00000066 inset;
}

/* Страница Официальные сайты */

.sites__list {
    color: var(--main-color);
}

.sites__item-group {
    margin: 15px 0;
    font-weight: 700;
}

.sites__item {
    margin-bottom: 5px;
}

.sites__item a:hover {
    text-decoration: underline;
}

/* Страница Инструкции */

.instructions__grouper {
    margin-bottom: 12px;
    font-weight: 600;
}

.instructions__content-wrapper {
    justify-content: space-between;
    gap: 20px;
}

.instructions__content-left {
    width: 60%;
    min-height: calc(100vh - 295px);
}

.instructions__content-right {
    position: relative;
    flex-direction: column;
    width: 40%;
}

.instructions__wrapper-grouper {
    align-items: center;
    width: fit-content;
    margin-bottom: 10px;
    color: var(--main-color);
    cursor: pointer;
}

.instructions__icon-folder_open,
.instructions__icon-folder_close,
.instructions__icon-favourites {
    margin-right: 10px;
}

.instructions__icon-folder_open {
    display: none;
}

.instructions__child-list {
    display: none;
}

.instructions__item {
    margin-left: 28px;
    margin-bottom: 6px;
    font-weight: 400;
    color: var(--main-color);
    cursor: pointer;
}

.instructions__not-item {
    margin-left: 28px;
    margin-bottom: 6px;
    font-weight: 400;
}

.instructions__item:hover {
    text-decoration: underline;
}

.instructions__img-wrapper {
    height: calc(100vh - 340px);
}

.instructions__img-btn {
    justify-content: end;
    gap: 20px;
    margin-bottom: 12px;
}

.instructions__img-btn .btn,
.instructions__img-btn .btn-not-a {
    width: 82px;
    height: 37px;
}

.instructions__img-btn .btn-not-a {
    padding: 0;
    justify-content: center;
    align-items: center;
}

.instructions__img-btn .btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.instructions__frame {
    height: 100%;
}

.instructions__img {
    width: 100%;
}

/*Цитаты*/

.quote {
    padding: 15px 0;
    background-color: white;
    margin-bottom: 15px;
}

.quote__wrapper {
    justify-content: end;
    gap: 15px;
}

.quote__text_wrapper {
    max-width: 75%;
    text-align: right;
}

.quote__text {
    margin-bottom: 12px;
}

.quote__author {
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .main__item_title {
        font-size: 21px;

    }

    .quote {
        display: none;
    }

}

@media (max-width: 576px) {
    .breeding-page__list {
        width: 100%;
    }


    .main__left {
        width: 100%;
    }
}
