.news-item-img,
.news-item-img .attachment-medium_large.size-medium_large.wp-post-image {
    width: 100%;
    object-fit: cover;
    height: auto;
}

img:is([sizes="auto"i], [sizes^="auto,"i]) {
    contain-intrinsic-size: revert-layer;
}

.news-item-link-arrow {
    flex: 1;
    justify-content: flex-end;
    display: flex;
}
.wpcf7-form br{
  display: none;
}
/* ================= СТОРІНКА БЛОГУ ==================== */
.page-blog {
  padding: 5px 0;
}
.blog-section {
  padding: 30px 0 50px;
}
.filter-blog {
  display: flex;
  gap: 16px;
}
.blog-btn-wrap {
  display: flex;
  justify-content: space-between;
  background: #fff;
  padding: 16px 24px 16px 16px;
  border-radius: 16px;
  box-sizing: border-box;
  height: 74px;
}
.sort-blog {
  display: flex;
  gap: 16px;
  align-items: center;
}
.sort-btn-wrap {
  display: flex;
}
.sort-text svg {
  display: none;
}
.sort-blog .sort-btn {
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--color-primary);
  cursor: pointer;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.sort-blog .sort-btn.sort-new {
  margin-right: 16px;
}
.filter-blog-btn {
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
  color: var(--color-primary);
  transition: transform 0.3s ease;
  box-sizing: border-box;
}
.filter-blog-btn:hover {
  border: 2px solid var(--color-primary-light);
}
.sort-blog .sort-btn:hover {
  border: 2px solid var(--color-primary-light);
}
.filter-blog-btn.active {
  background: var(--color-primary);
  color: var(--color-bg-light);
}
.sort-blog .sort-btn.active {
  background: var(--color-primary);
  color: var(--color-bg-light);
}
.sort-blog .sort-btn svg {
  stroke: var(--color-primary-light);
}
.sort-blog .sort-btn.active svg {
  stroke: var(--color-bg-light);
}
.blog-wrap {
  display: flex;
  flex-wrap: wrap;
  margin-top: 24px;
  row-gap: 24px;
  column-gap: 1.8%;
}
.blog-wrap .news-item {
  width: 23.6%;
  box-sizing: border-box;
}
.blog-wrap .news-item-link {
  padding: 7px 0;
}
.blog-wrap .news-item-link svg:hover {
  border-bottom: 1px solid #b3b3b3;
}
.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0;
}
.page.smaller {
  border: 1px solid transparent;
  background: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}
.current {
  background: none;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  border: 1px solid var(--color-primary);
  padding: 10px 16px;
}
.extend {
  padding: 0 5px;
}
.previouspostslink,
.nextpostslink {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 28px;
}
.previouspostslink svg,
.nextpostslink svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 1439px) {
  .blog-section {
    padding: 30px 0 14px;
  }
  .blog-btn-wrap {
    padding: 8px 16px;
    border-radius: 16px;
    height: 52px;
  }
  .filter-blog {
    display: flex;
    gap: 16px;
  }
  .filter-blog-btn {
    font-size: 12px;
  }
  .sort-blog {
    gap: 8px;
  }
  .sort-blog .sort-btn.sort-new {
    margin-right: 8px;
  }
  .sort-text {
    font-size: 12px;
  }
  .sort-blog .sort-btn {
    font-size: 12px;
    padding: 8px;
  }
  .blog-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    row-gap: 24px;
    column-gap: 5.8%;
    padding: 0 20px;
  }
  .blog-wrap .news-item {
    width: 47%;
  }
  .blog-wrap .news-item-link {
    padding: 8px 0;
    align-items: center;
  }
  .wp-pagenavi {
    gap: 8px;
    padding: 10px;
    margin: 24px 0;
  }
  .page.smaller {
    padding: 4px 8px;
    font-size: 12px;
  }
  .current {
    font-size: 12px;
    padding: 6px 8px;
  }
}
@media (max-width: 767px) {
  .blog-section {
    padding: 0 0 20px;
  }
  .blog-btn-wrap {
    flex-direction: column;
    background: none;
    gap: 20px;
    padding: 0;
    margin-top: 20px;
    height: auto;
  }
  .filter-blog {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
  }
  .sort-blog {
    flex-direction: column;
    gap: 0px;
    background: #fff;
    border-radius: 16px;
    padding: 8px;
    align-items: flex-start;
  }
  .sort-blog .sort-btn.sort-new {
    margin-right: 0px;
    margin-bottom: 0;
  }
  .sort-text {
    padding: 8px 12px 6px;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
  }
  .sort-text svg {
    display: block;
  }
  .sort-btn-wrap {
    width: 100%;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
  .line-sort {
    display: flex;
    width: 100%;
    height: 1px;
    background: #b3b3b3;
    margin: 8px 0 12px;
  }
  .sort-blog .sort-btn {
    border: none;
    position: relative;
    margin-bottom: 8px;
    padding-left: 30px;
    /* color: #010101; */
    font-size: 14px;
    margin-left: 20px;
  }
  .sort-blog .sort-btn:hover {
    border: none;
  }
  .sort-blog .sort-btn span {
    display: block;
  }
  .sort-blog .sort-btn svg {
    display: none;
  }
  .sort-blog .sort-btn::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../img/check-brands.svg);
    background-repeat: no-repeat;
    background-size: cover;
    left: 0px;
    position: absolute;
  }
  .sort-blog .sort-btn.active::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url(../img/checkok-brands.svg);
    background-repeat: no-repeat;
    background-size: cover;
    left: 0px;
    position: absolute;
  }
  .sort-blog .sort-btn.active {
    background: none;
    color: var(--color-black);
  }
  .sort-btn-wrap.closed {
    display: none;
  }
  .sort-text svg {
    transition: transform 0.3s ease;
  }
  .sort-text svg.rotated {
    transform: rotate(180deg);
  }
  .filter-blog-btn {
    padding: 4px 12px;
    font-size: 12px;
  }
  .blog-wrap {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    row-gap: 16px;
    column-gap: 5.8%;
    padding: 0;
  }
  .blog-wrap .news-item {
    width: 100%;
    padding: 16px 30px;
  }
  .blog-wrap .news-item-link {
    padding: 7.5px 0;
  }
  .pagination {
    gap: 0px;
    padding: 10px;
    /* margin: 24px 0; */
    margin: 0px 0 30px;
  }
  .wp-pagenavi {
    margin: 0px 0 30px;
  }
  .page.smaller {
    padding: 0;
    font-size: 10px;
  }
  .page-btn {
    padding: 4px 7px;
    font-size: 12px;
  }
  .page-btn.active {
    padding: 6px 8px;
  }
  .page-btn.prev svg,
  .page-btn.next svg {
    width: 16px;
    height: 16px;
  }
  .show-all {
    font-size: 12px;
  }
}
/* ============== СТОРІНКА СТАТТЯ ============== */
.article-section {
  padding: 30px 0 60px;
}
.article-section-wrap {
  display: flex;
  justify-content: space-between;
}
.article-wrap-left {
  width: 74.53%;
}
.article-wrap-right {
  width: 23.59%;
}
.article-wrap-right .page-contact-form-wrap {
  width: 100%;
}
.article-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 24px;
}
.article-img-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  height: 478px;
}
.article-img-wrap img {
  object-fit: cover;
  border-radius: 16px;
  width: 100%;
  height: 100%;
}
.type-article {
  border: 1px solid #b3b3b3;
  border-radius: 8px;
  padding: 8px 16px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 16px;
  top: 16px;
  line-height: 1.5;
  color: var(--color-primary);
}
.article-title {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.16667;
  /* color: #010101; */
  width: 90%;
}
.article-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  /* color: #010101; */
}
.acent-article-blok {
  position: relative;
  padding: 40px 80px 40px 0;
}
.acent-article-blok-bg {
  position: absolute;
  width: 115%;
  height: 100%;
  z-index: -1;
  background: #fff;
  left: -15%;
  top: 0;
}
.article-subtitle {
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  /* color: #010101; */
}
.acent-article-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.wrap-acent-article h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.44444;
  color: var(--color-primary);
}
.wrap-acent-article-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-black);
}
.item-equipment {
  padding-left: 25px;
  position: relative;
}
.item-equipment::before {
  content: "•";
  position: absolute;
  left: 5px;
  top: 3px;
  color: #000;
  font-size: 16px;
  line-height: 1;
}
.similar-article .article-subtitle {
  margin-bottom: 24px;
}
.page-article .products-list {
  justify-content: flex-start;
  gap: 24px;
}
.page-article .products-item {
  width: 30.2%;
}
.page-article .news-item {
  width: 32%;
  box-sizing: border-box;
}
.page-article .news-item svg:hover {
  border-bottom: 1px solid #b3b3b3;
}
.similar-article .news-item-link {
  padding: 6px 0;
}
.page-article
  .page-contact-form-wrap
  .wpcf7-form
  .wpcf7-form-control-wrap
  textarea {
  height: 63px;
}

.article-text-content p:not(:last-child) {
  margin-bottom: 16px;
}
.products-slider.swiper {
    margin: 0;
}
@media (max-width: 1439px) {
  .article-section-wrap {
    flex-direction: column;
    gap: 16px;
  }
  .article-wrap-left {
    width: 100%;
  }
  .article-wrap-right {
    width: 100%;
  }
  .article-wrap {
    gap: 16px;
    margin-bottom: 16px;
  }
  .article-img-wrap {
    border-radius: 16px;
    height: 478px;
  }
  .article-img-wrap img {
    border-radius: 16px;
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .type-article {
    padding: 4px 12px;
    right: 16px;
    top: 16px;
    font-size: 12px;
    line-height: 1.66667;
  }
  .article-title {
    font-size: 22px;
    width: 100%;
  }
  .article-text {
    font-size: 12px;
    line-height: 1.66667;
  }
  .acent-article-blok {
    padding: 20px 0;
    margin: 24px 0;
  }
  .acent-article-blok-bg {
    position: absolute;
    width: 121%;
    height: 100%;
    z-index: -1;
    background: #fff;
    left: -15%;
    top: 0;
  }
  .article-subtitle {
    font-size: 16px;
  }
  .acent-article-list {
    gap: 16px;
    margin-top: 16px;
  }
  .wrap-acent-article h3 {
    font-size: 16px;
  }
  .wrap-acent-article-link {
    justify-content: space-between;
    font-size: 12px;
  }
  .wrap-acent-article-link svg {
    width: 24px;
    height: 24px;
  }
  .item-equipment {
    padding-left: 25px;
    font-size: 12px;
    line-height: 1.66667;
  }
  .item-equipment::before {
    content: "•";
    position: absolute;
    left: 5px;
    top: 3px;
    color: #000;
    font-size: 16px;
    line-height: 1;
  }
  .similar-article .article-subtitle {
    margin-bottom: 16px;
  }
  .page-article .products-slider {
    width: 100%;
    overflow: hidden;
  }
  .page-article .products-list {
    justify-content: flex-start;
    gap: 16px;
  }
  .page-article .products-item {
    width: 288px;
  }
  .similar-article .news-item {
    width: 302px;
  }
  .page-article .page-contact-form-wrap {
    padding: 40px;
  }
  .page-article .wpcf7-form__submit {
    margin-top: 16px;
  }
  .page-article
    .page-contact-form-wrap
    .wpcf7-form
    .wpcf7-form-control-wrap
    textarea {
    height: 88px;
  }
}
@media (max-width: 767px) {
  .article-title {
    line-height: 1.45455;
  }
  .article-text {
    line-height: 1.66667;
  }
  .wrap-acent-article-link p {
    width: 80%;
  }
  .article-wrap {
    gap: 15px;
    margin-bottom: 20px;
  }
  .acent-article-blok {
    padding: 22px 0;
    margin: 15px 0;
  }
}