@media screen and (max-width: 1172px) {
    .container {
        max-width: 100%;
    }
    .header-wrapper:last-child {
        background: #FFFFFF;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        padding: 15px 0 6px 0;
        max-width: 100%;
        width: 100%;
    }
    .header .header-wrapper:last-child .container {
        justify-content: center;
    }
}

@media screen and (max-width: 1149px) {
    .header .container {
        padding: 0 30px 11px 30px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header-nav ul li:not(:last-child) {
        margin-right: 56px;
    }

    .main .container {
        grid-template-columns: 888px;
        gap: 0;
    }

    .aside {
        display: none;
    }
}

@media screen and (max-width: 887px) {
    .main .container {
        grid-template-columns: 100%;
        gap: 0;
    }
    .article-images {
        justify-content: center;
    }
    .article-form {
        flex-direction: column-reverse;
        align-items: center;
        margin-bottom: 100px;
    }
    .article-slider {
        max-width: 450px;
    }
    .slider-item img {
        height: 200px;
    }
    
    .comments-item, .comments-item-more {
        margin-left: 15px;
        margin-right: 15px;
    }
    .comments-more {
        margin-right: 15px;
    }
    .commentForm-text {
        margin-left: 15px;
    }
    form.commentForm {
        margin-left: 30px;
        margin-right: 15px;
    }
}

@media screen and (max-width: 768px) {
    .header .header-wrapper {
        padding: 15px 26px 14px 21px;
    }
    .header .header-wrapper:last-child {
        display: none;
    }
    .header-logo-image {
        width: 39px;
        margin-right: 9px;
    }
    .header-logo-text {
        font-size: 24px;
    }
    .header .container {
        padding: 0;
    }
    .header-nav-movile {
        display: block;
    }
    .header-nav {
        display: none;
    }

    .main-nav {
        display: none;
    }

    .article {
        padding: 0;
    }
    .article-wrapper {
        padding: 101px 10px 52px 10px;
        border-radius: 0;
    }
    .article-link-items {
        margin-left: 32px;
        margin-bottom: 9px;
    }
    h1.article-title {
        font-size: 24px;
        line-height: 29px;
        text-transform: uppercase;
        margin-bottom: 11px;
    }
    h2.article-title {
        font-size: 24px;
        margin-bottom: 11px;
    }
    .article-description {
        font-size: 20px;
        line-height: 24px;
        text-transform: uppercase;
    }
    .article-text {
        font-size: 16px;
        line-height: 19px;
        text-align: justify;
        margin-left: 9px;
        margin-bottom: 15px;
        padding-left: 4px;
    }
    h3.article-title {
        font-size: 16px;
        line-height: 19px;
        text-align: justify;
        margin-bottom: 9px;
    }
    .article-images {
        margin-left: 0;
        grid-template-columns: 260px 189px;
        grid-template-rows: 141px 176px;
        gap: 15px;
    }
    .article-image {
        text-align: center;
        margin-bottom: 10px;
        margin-left: 0;
    }
    .article-button {
        margin-top: 42px;
    }
    .article-comments {
        margin-left: 8px;
    }
    .commentForm .wrapper {
        margin-bottom: 32px;
    }
    .comments-more span {
        width: 198px;
        font-size: 16px;
    }
    .slick-arrow.slick-next  {
		right: -20px;
		width: 16px;
		height: 28px;
		background-size: cover;
		top: calc(50% - 14px);
	}
	.slick-arrow.slick-prev  {
		left: -20px;
		width: 16px;
		height: 28px;
		background-size: cover;
		top: calc(50% - 14px);
	}
}

@media screen and (max-width: 640px) {
    .article-link-items {
        margin-left: 15px;
    }
    .comments-item {
        margin-left: 0;
    }
    .comments-item-info-text {
        max-width: 100%;
        min-width: 100%;
    }
    form.commentForm {
        margin-left: 32px;
    }
    .commentForm-text {
        margin-left: 15px;
    }
    div.commentForm {
        margin-left: 15px;
      margin-right: 15px;
    }

    .modal-wrapper {
        width: 390px;
        left: calc(50% - 195px);
    }
    .close {
        top: 17px;
        right: 17px;
    }
}

@media screen and (max-width: 600px) {
    .article-slider {
        max-width: 80%;
    }
    .slider-item img {
        max-width: 150px;
    }
}

@media screen and (max-width: 500px) {
    .comment-answer.one .comment-wrapper:before {
        display: none;
    }
    .comment-answer {
        margin-left: 30px;
    }
    .slider-item img {
        height: 170px;
    }

    .article-images {
        grid-template-columns: 195px 144px;
        grid-template-rows: 107px 133px;
        gap: 7px 14px;
    }
}

@media screen and (max-width: 400px) {

    .commentForm .wrapper button {
        width: 103px;
    }
    .commentForm .wrapper a:first-child {
        margin-right: 27px;
    }

    .modal-wrapper {
        width: 290px;
        left: calc(50% - 145px);
    }
    .form {
        max-width: 100%;
    }

    .slider-item img {
        height: 110px;
    }

    .article-images {
        grid-template-columns: 164px 120px;
        grid-template-rows: 89px 111px;
        gap: 7px 14px;
    }
}