/* =========================================================
 *  МЕДИЗАПРОСЫ — АДАПТИВНОСТЬ САЙТА EURISKO
 *  Подключается ПОСЛЕ basicstyles.css
 *  Брейкпоинты упорядочены от больших к меньшим
 * ========================================================= */


/* =========================================================
 *  БОЛЬШИЕ ЭКРАНЫ (до 1500px)
 * ========================================================= */
@media screen and (max-width: 1500px) {
    .courses-main-page {
        width: 80%;
    }
    .search-result {
        left: 45%;
    }
}


/* =========================================================
 *  ПЛАНШЕТ LANDSCAPE + МАЛЫЕ ДЕСКТОПЫ (до 1380px)
 * ========================================================= */
@media screen and (max-width: 1380px) {
    .section-advantages {
        flex-direction: column;
    }
    .ul-text {
        width: 65%;
    }
    .video {
        margin: 0 0 40px;
        width: 700px;
    }
    .video video {
        width: 100%;
        height: auto;
    }
    .section-premium {
        height: auto;
    }
    .section-premium > .block {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-premium__p {
        margin: 0 auto 40px;
        display: block;
        width: 95%;
    }
    .section-blog__articles {
        grid-template-columns: repeat(3, 250px);
    }
    .section-blog__articles a {
        height: 250px;
    }
}


/* =========================================================
 *  ПЛАНШЕТ (до 1250px)
 * ========================================================= */
@media screen and (max-width: 1250px) {
    
    .main-blog {
        justify-content: space-between;
    }
    .aside-blog {
        width: 20%;
        margin-right: 0;
    }
    .aside-blog .button-tertiary {
        width: 100%;
        text-align: center;
    }
    .section-blog {
        width: 80%;
    }
    .aside-blog-control {
        width: 100%;
    }
    .aside-blog-control .form-search {
        width: 50%;
    }
    .aside-blog-control .form-search > button {
        width: 250px !important;
    }
    .section-course {
        width: 100%;
    }
}


/* =========================================================
 *  МАЛЫЙ ПЛАНШЕТ / БОЛЬШОЙ МОБИЛЬНЫЙ (до 1200px)
 * ========================================================= */
@media screen and (max-width: 1200px) {
    /* Слайдеры */
    .button-slider-next,
    .slider-problems__item-next {
        transform: translateX(600px);
    }
    .button-slider-previous,
    .slider-problems__item-previous {
        transform: translateX(-710px);
    }

    /* Блог */
    .section-blog__articles {
        grid-template-columns: repeat(2, 300px);
    }

    /* Курсы */
    .aside-all-courses {
        width: 100%;
        padding: 0 20px;
        justify-content: center;
    }
    .aside-all-courses > .sorting {
        padding: 0;
    }
    .section-all-courses {
        width: 100%;
    }
    .all-courses__item {
        width: 90%;
    }
    .section-course-page {
        width: 100%;
    }

    /* Профиль */
    .section-profile {
        max-width: 100%;
        padding: 0 20px 20px;
    }
    .section-profile__profile-parts {
        width: 100%;
        max-width: 600px;
    }
    .section-profile__edit-general form {
        width: 100%;
    }
    .section-profile__edit-general form input[type="text"],
    .section-profile__edit-general form input[type="password"],
    .section-profile__edit-general form input[type="email"],
    .section-profile__edit-general form input[type="date"] {
        width: calc(50% - 10px);
        margin-right: 20px;
        margin-bottom: 15px;
    }
    .section-profile__edit-general form input[type="text"]:nth-child(2n),
    .section-profile__edit-general form input[type="password"]:nth-child(2n),
    .section-profile__edit-general form input[type="email"]:nth-child(2n),
    .section-profile__edit-general form input[type="date"]:nth-child(2n) {
        margin-right: 0;
    }
    .section-profile__edit-general form input[name='job'] {
        width: 100%;
        margin-right: 0;
    }
}


/* =========================================================
 *  ПЛАНШЕТ ПОРТРЕТ (до 1040px)
 * ========================================================= */
@media screen and (max-width: 1040px) {
    .search-result {
        left: 35%;
    }
    .aside-blog {
        padding: 20px 10px 20px;
    }
    .section-profile__edit-general form {
        width: 100%;
    }
}


/* =========================================================
 *  АУДИТОРИЯ + ПРОФИЛЬ (до 992px)
 * ========================================================= */
@media screen and (max-width: 992px) {
    /* Аудитория */
    .audience-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }

    /* Профиль — перестроение в колонку */
    .main-profile {
        padding: 40px 0;
    }
    .section-profile {
        padding: 0 15px 15px;
    }
    .section-profile__personal-info {
        flex-direction: column;
        align-items: center;
        max-height: none;
    }
    .section-profile__useravatar {
        margin-bottom: 30px;
    }
    .section-profile__text {
        width: 100%;
        text-align: center;
    }
    .section-profile__text h1,
    .section-profile__text-h2 {
        text-align: center;
    }
    .section-profile__profile-parts {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .section-profile__profile-parts label {
        padding: 10px 15px;
        font-size: 14px;
    }
    .section-profile__edit-general form input[type="text"],
    .section-profile__edit-general form input[type="password"],
    .section-profile__edit-general form input[type="email"],
    .section-profile__edit-general form input[type="date"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .menu__mycourses-item {
        width: 100%;
    }
    .course-card {
        width: 100%;
    }

    /* Telegram-бот */
    .telegram-bot__content {
        flex-direction: column;
    }
    .telegram-bot__content > div:first-child,
    .telegram-bot__content > div:last-child {
        width: 100%;
        min-width: 100%;
        margin-bottom: 20px;
    }
    .telegram-bot__content .button-primary-profile {
        max-width: 100%;
    }

    /* Прогресс */
    .profile-block__block {
        flex-direction: column;
    }
    .progress-diagram {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .profile-block__common {
        padding-left: 0;
        width: 100%;
    }
    .profile-block__general-progress {
        flex-direction: column;
    }
}


/* =========================================================
 *  HEADER + ФУТЕР + БЛОГ (до 935px)
 * ========================================================= */
@media screen and (max-width: 935px) {
    .section-registration {
        flex-direction: column;
    }
    .image-slider {
        margin: 0 0 40px 0;
    }
    .title-text {
        margin: 40px 0 0 0;
        text-align: center;
    }
    .sidenote {
        display: none;
    }
    .courses-main-page__item {
        margin: 0;
    }
    .footer__wrapper {
        flex-direction: column;
        width: 80%;
    }
    .footer__form {
        width: 100%;
        margin-top: 40px;
    }
    .aside-all-courses .form-search {
        width: 50%;
    }
    .aside-all-courses .form-search button {
        width: 210px;
    }
    .all-courses__item__images {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }
    .all-courses__item__images a {
        margin-bottom: 20px;
    }
    .main-blog {
        flex-flow: column nowrap;
        justify-content: center;
        align-items: center;
    }
    .aside-blog {
        width: 80%;
        margin-bottom: 40px;
    }
    .aside-blog .button-tertiary {
        width: 250px;
        margin: 0 auto;
        text-align: center;
        margin-top: 40px;
    }
    .widget_categories {
        display: flex;
        flex-flow: row nowrap;
        justify-content: space-around;
        align-items: start;
    }
    .section-post-main {
        width: 100%;
    }
    .section-post-main__top {
        padding-right: 10px;
    }
    .course-item__image {
        height: 300px;
    }
    .course-item__pictures {
        flex-direction: column;
    }
    .profile-block__subtitle {
        flex-direction: column;
    }
    .profile-block__common {
        padding: 5px;
    }
    .profile-block__block {
        flex-direction: column;
    }
    .section-profile__achievement {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-profile__certificates {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


/* =========================================================
 *  БЛОГ + ПРОФИЛЬ (до 820px)
 * ========================================================= */
@media screen and (max-width: 820px) {
    .search-result {
        left: 5%;
    }
    .aside-blog-control {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .aside-blog-control .sorting {
        margin-bottom: 10px;
    }
    .aside-blog-control .sorting,
    .aside-blog-control .form-search {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .section-readmore__articles {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-readmore__articles a {
        margin-bottom: 10px;
    }
    .section-profile__text {
        flex-direction: column;
    }
    .section-profile__text > div {
        width: 100%;
    }
    .section-profile__edit-general form input {
        width: 100%;
    }
    .avatar-form-change {
        max-width: 95%;
    }
}


/* =========================================================
 *  МОБИЛЬНЫЙ LANDSCAPE (до 768px)
 * ========================================================= */
@media screen and (max-width: 768px) {
    /* Профиль — мобильная версия */
    .main-profile {
        padding: 30px 0;
    }
    .section-profile {
        padding: 0 10px 10px;
    }
    .section-profile__useravatar {
        width: 200px;
        height: 200px;
    }
    .section-profile__useravatar img {
        width: 180px;
        height: 180px;
    }
    .section-profile__useravatar > .upload-wrapper {
        width: 180px;
        height: 180px;
    }
    .section-profile__profile-parts {
        flex-direction: column;
        align-items: stretch;
    }
    .section-profile__profile-parts label {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid white;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    .section-profile__profile-parts input:checked + label {
        border: 1px solid white;
        border-bottom: none;
    }
    .button-profile {
        width: 100%;
        max-width: 300px;
    }
    .profile-block__item {
        width: 120px;
        height: 120px;
    }
    .profile-block__item label img {
        width: 100px;
    }
    .profile-block__common {
        width: 100%;
        padding-left: 20px;
    }
    .profile-block__subject-part {
        width: 100%;
        max-width: 200px;
    }
    .progress-diagram {
        width: 50%;
    }

    /* Модальное окно загрузки аватара */
    .form__wrapper > div {
        width: 95%;
        max-width: 750px;
    }
    .avatar-default {
        flex-direction: column;
        padding: 0 15px;
    }
    .avatar-default__text {
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }
    .avatar-default__images {
        width: 100%;
        justify-content: center;
        height: auto;
        margin-top: 20px;
    }
    .avatar-default__images > img {
        width: 80px;
        height: 80px;
    }
    .avatar-default__images > .active {
        width: 240px;
        height: 240px;
    }
    .avatar-uploaded {
        padding: 0 15px;
    }
    .avatar-uploaded-slider img {
        max-height: 60px;
    }
    .avatar-uploaded-preview {
        height: 100px;
    }
    .avatar-uploaded-preview:hover {
        height: 120px;
    }
}


/* =========================================================
 *  СЛАЙДЕРЫ + ПРОФИЛЬ (до 760px)
 * ========================================================= */
@media screen and (max-width: 760px) {
    .slider-problems__item::before {
        display: none;
    }
    .button-slider {
        opacity: 0.4;
        position: relative;
        min-width: 100px !important;
        max-width: 100px !important;
    }
    .button-slider-next {
        left: 0;
    }
    .button-slider-previous {
        left: 350px;
    }
    .video {
        width: 450px;
    }
    .section-post-main__bottom {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-post-main__bottom .rate {
        margin-bottom: 10px;
    }
    .totop {
        left: 10px;
    }
    .section-profile__achievement .menu__ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-profile__achievement .menu__ul li {
        margin: 20px 0 20px;
    }
    .registration-form__border {
        width: 90%
    }
    .section-profile__personal-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
}


/* =========================================================
 *  МАЛЫЙ МОБИЛЬНЫЙ (до 700px)
 * ========================================================= */
@media screen and (max-width: 700px) {
    * {
        font-size: 14px;
    }
    .header {
        flex-direction: column;
    }
    .menu {
        margin-bottom: 20px;
    }
    .text-h2 {
        text-align: center;
    }
    .section-blog__articles {
        grid-template-columns: repeat(2, 250px);
    }
    .section-blog__article-wrapper {
        height: 250px;
    }
    .section-feedback {
        flex-direction: column;
    }
    .form-feedback {
        margin: 40px 0 40px;
    }
    .aside-blog,
    .section-blog {
        width: 100%;
        padding: 10px;
    }
    .comments-wrapper {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}


/* =========================================================
 *  КУРСЫ + КОММЕНТАРИИ (до 640px)
 * ========================================================= */
@media screen and (max-width: 640px) {
    .aside-all-courses {
        flex-direction: column;
    }
    .aside-all-courses .form-search {
        width: 100%;
        margin-top: 20px;
    }
    .sorting {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sorting label {
        margin-right: 0;
    }
    .comments {
        width: 100%;
    }
    .comments form {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .comments form .submit {
        margin: 10px 0 0 0;
    }
    .comments form textarea {
        width: 90%;
        height: auto;
    }
    .comments-wrapper ul.children > * {
        position: relative;
        left: 0;
    }
    .section-profile {
        width: 100%;
    }
    .section-profile * {
        max-width: 100% !important;
    }
    
    .profile-block__general-progress {
        flex-direction: column;
    }
    .profile-block__general-progress > div {
        justify-content: center;
        align-items: center;
    }
    .profile-block__rating {
        justify-content: start;
    }
    .section-profile {
        width: 92%;
    }
    
}


/* =========================================================
 *  АУДИТОРИЯ (до 600px)
 * ========================================================= */
@media (max-width: 600px) {
    .audience-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .section-audience {
        padding: 50px 0;
    }
    .audience-card {
        padding: 25px 20px;
    }
}


/* =========================================================
 *  МОБИЛЬНЫЙ ПОРТРЕТ (до 580px)
 * ========================================================= */
@media screen and (max-width: 580px) {
    .section-advantages .ul-text {
        width: 95%;
    }
    .image-slider {
        width: 300px;
        height: 300px;
    }
    .video {
        width: 100%;
    }
    .slider-problems__item {
        width: 100%;
        height: auto;
    }
    .section-blog__articles {
        grid-template-columns: repeat(1, 250px);
    }
    .section-articles .section-blog__articles {
        overflow: hidden;
    }
    .section-blog__article-wrapper--2c {
        grid-column-start: span 1;
    }
    .section-blog__article-wrapper {
        height: 250px;
    }
    .section-feedback > div {
        display: none;
    }
    .all-courses__item {
        flex-flow: column nowrap;
        width: 100%;
    }
    .all-courses__item__text {
        max-width: 100%;
        min-width: 75%;
        margin: 20px auto;
        padding: 10px;
    }
    .all-courses__item__text h2 {
        text-align: center;
    }
    .all-courses__item__info {
        width: 100%;
        margin: 10px 0 20px;
    }
    .section-post-main__top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-post-main__author {
        margin-bottom: 10px;
    }
    .comments form {
        width: 400px;
    }
    .course-item__info-wrapper {
        flex-direction: column;
    }
    .course-item__info-wrapper > div {
        width: 100%;
        margin: 10px 0 10px;
        padding: 20px;
    }
    .course-item__education {
        margin-top: 90px;
    }
    .course-item__info p {
        width: 100%;
        left: 0;
    }
    .course-item__h2 {
        text-align: right;
        padding-right: 10px;
    }

    /* Профиль — полная мобильная перестройка */
    .section-profile__personal-info {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-profile__personal-info > div {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px 0 10px;
        text-align: center;
    }
    .section-profile__text h1 {
        text-align: center;
    }
    .section-profile__profile-parts {
        width: 100%;
        justify-content: end;
        align-items: flex-start;
    }
    .section-profile__profile-parts label {
        padding: 10px 20px;
        transition: 0.5s;
        border: none;
    }
    .section-profile__profile-parts input:checked + label {
        color: #fbae00;
        border: none;
    }
    .profile-block__subtitle {
        flex-direction: column;
        justify-content: start;
        align-content: start;
    }
    .section-profile__certificates-images {
        flex-direction: column;
        justify-content: start;
        align-content: start;
    }
    .section-profile__certificates-images > img {
        margin: 10px 0 10px;
    }
    .profile-block__control {
        flex-direction: column;
        justify-content: start;
        align-content: start;
    }
    .profile-block__control label {
        margin: 5px 0 5px;
    }
    .footer__wrapper .menu__ul {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .footer__wrapper .menu__ul li {
        margin-bottom: 15px;
        max-width: 150px;
    }
    .menu__ul li a::after, .menu__ul-column li a::after {
        top: 10px;
    }
    .menu__ul li a:hover::after, .menu__ul-column li a:hover::after, .menu__ul li a:focus::after, .menu__ul-column li a:focus::after {
        top: 10px;
    }
}


/* =========================================================
 *  ОЧЕНЬ МАЛЫЙ МОБИЛЬНЫЙ (до 576px)
 * ========================================================= */
@media screen and (max-width: 576px) {
    /* Профиль — компактная версия */
    .main-profile {
        padding: 20px 0;
    }
    .section-profile {
        padding: 0 5px 5px;
    }
    .section-profile__useravatar {
        width: 150px;
        height: 150px;
    }
    .section-profile__useravatar img {
        width: 130px;
        height: 130px;
    }
    .section-profile__useravatar > .upload-wrapper {
        width: 130px;
        height: 130px;
    }
    .section-profile__text h1 {
        font-size: 1.5em;
    }
    .section-profile__text-h2 {
        font-size: 1.2em;
    }
    .section-profile__profile-parts label {
        padding: 8px 10px;
        font-size: 13px;
    }
    .section-profile__edit-general form {
        padding: 20px 10px;
    }
    .section-profile__edit-general form input[type="text"],
    .section-profile__edit-general form input[type="password"],
    .section-profile__edit-general form input[type="email"],
    .section-profile__edit-general form input[type="date"] {
        padding: 8px;
        font-size: 14px;
    }
    .button-profile {
        width: 100%;
        font-size: 14px;
    }
    .profile-block__item {
        width: 100px;
        height: 100px;
    }
    .profile-block__item label img {
        width: 85px;
    }
    .profile-block__item::after {
        font-size: 11px;
        top: 110px;
        left: 10px;
    }
    .profile-block__common {
        padding-left: 10px;
    }
    .profile-block__subject-part {
        width: 100%;
        max-width: 180px;
        padding: 3px;
        font-size: 13px;
    }
    .profile-block__rating {
        font-size: 14px;
    }
    .progress-diagram {
        width: 100%;
    }
    .progress-diagram::before {
        font-size: 3rem;
    }

    /* Модальное окно */
    .form__wrapper > div {
        width: 100%;
        max-width: 100%;
    }
    .form__wrapper > div form {
        padding: 20px 10px 10px 10px;
    }
    .avatar-default {
        padding: 0 10px;
    }
    .avatar-default__images > img {
        width: 70px;
        height: 70px;
    }
    .avatar-default__images > .active {
        width: 210px;
        height: 210px;
    }
    .avatar-uploaded {
        padding: 0 10px;
    }
    .avatar-uploaded-slider img {
        max-height: 50px;
    }
    .avatar-uploaded-preview {
        height: 80px;
    }
    .avatar-uploaded-preview:hover {
        height: 100px;
    }
    .menu__mycourses-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .course-card {
        height: 150px;
    }
    .course-card__title {
        font-size: 1.2em;
    }
    .course-card__excerpt {
        font-size: 0.85em;
    }

    /* Telegram-бот */
    .telegram-bot__content > div:first-child {
        text-align: center;
    }
    .telegram-bot__content .text-bot {
        max-width: 100%;
    }
}


/* =========================================================
 *  КУРСЫ + ПРОФИЛЬ (до 500px)
 * ========================================================= */
@media screen and (max-width: 500px) {
    .totop {
        top: 10px;
        left: 45%;
    }
    .course-item__h2 {
        text-align: center;
    }
    .profile-block__span {
        display: none;
    }
}


/* =========================================================
 *  ФОРМЫ + ФУТЕР (до 470px)
 * ========================================================= */
@media screen and (max-width: 470px) {
    .form-feedback {
        flex-direction: column;
        width: 100%;
    }
    .form-feedback > input {
        width: 100%;
        margin: 5px 0 5px;
    }
    .form-feedback > textarea {
        width: 100%;
        margin: 5px 0 5px;
    }
    #menu-footer-contacts {
        text-align: right;
    }
}


/* =========================================================
 *  МИНИАТЮРНЫЕ ЭКРАНЫ (до 400px)
 * ========================================================= */
@media screen and (max-width: 400px) {
    * {
        font-size: 11px;
    }
    .button-premium::after {
        left: -10%;
    }
    .image-slider {
        width: 200px;
        height: 200px;
    }
    .title-text {
        width: 100%;
    }
    .courses-main-page {
        width: 100%;
    }
    .section-blog__articles {
        margin: 40px 0 0;
    }

    /* Профиль — самая компактная версия */
    
    .section-profile__useravatar {
        width: 120px;
        height: 120px;
    }
    .section-profile__useravatar img {
        width: 100px;
        height: 100px;
    }
    .section-profile__useravatar > .upload-wrapper {
        width: 100px;
        height: 100px;
    }
    .section-profile__profile-parts label {
        padding: 6px 8px;
        font-size: 12px;
    }
    .profile-block__item {
        width: 80px;
        height: 80px;
    }
    .profile-block__item label img {
        width: 70px;
    }
    .avatar-default__images > img {
        width: 60px;
        height: 60px;
    }
    .avatar-default__images > .active {
        width: 180px;
        height: 180px;
    }
    .registration-form__border {
        width: 100%;
    }
    .section-profile__useravatar {
        margin: 0;
        width: 190px;
        height: 190px;
    }
    .section-profile__useravatar img { 
        width: 190px;
        height: 190px;
    }
    .section-profile__telegram-bot .button-primary-profile {
        width: 75%;
    }
}


/* =========================================================
 *  СТАТЬИ + ПОСТ (до 360px)
 * ========================================================= */
@media screen and (max-width: 360px) {
    .section-post-main__control {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-post-main__bottom .rate,
    .section-post-main__bottom .share {
        width: 100%;
    }
    .section-readmore__articles {
        width: 100%;
    }
    .section-readmore__articles a {
        width: 150px;
        height: 150px;
    }
    .comments form {
        width: 200px;
    }
    .section-premium__p {
        margin: 20px 0;
    }
    .section-premium .block {
        flex-direction: row;
    }
    .title-text {
        max-width: 85%;
    }
    .button-primary {
        max-width: 85%;
    }
    .audience-card .button {
        font-size: 10px;
        max-width: 79%;
    }
    .profile-block__common {
        padding: 0;
    }
}


/* =========================================================
 *  КРОШЕЧНЫЕ ЭКРАНЫ (до 290px)
 * ========================================================= */
@media screen and (max-width: 290px) {
    * {
        font-size: 9px;
    }
    .button {
        width: 100%;
    }
    .button-premium {
        width: 50px !important;
        height: 50px !important;
    }
    .to_main_page {
        width: 100%;
    }
    .logo {
        width: 100%;
    }
    .aside-all-courses {
        padding: 5px;
    }
    .button-registration-form-close {
        width: 20px;
    }
    .slider-problems__h3::before {
        display: none;
    }
    .totop {
        left: 10px;
        /* или width: auto; max-width: 50px; */
    }
    .all-courses__item__image .button-tertiary {
        max-width: 130px !important;
    }
}


/* =========================================================
 *  МИНИМУМ (до 270px)
 * ========================================================= */
@media screen and (max-width: 270px) {
    .section-blog__articles {
        grid-template-columns: repeat(1, 150px);
    }
    .section-blog__articles a {
        height: 150px;
    }
    .section-blog__article-wrapper:hover>.section-blog__article h3, .section-blog__article-wrapper:focus>.section-blog__article h3 {
        transform: translateY(-70px);
    }

    .section-post-main__bottom .share {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .section-post-main__bottom .share ul {
        padding: 0;
    }
    .image-slider {
        width: 130px;
        height: 130px;
    }
}