/* =========================================================
   BLOG: СПІЛЬНІ СТИЛІ ДЛЯ СТОРІНОК БЛОГУ
   Використовується для:
   - _blog_article_items.twig
   - oct_blogarticle.twig
   - oct_blogcategory_all.twig
   - oct_blogcategory.twig
   - oct_blogsearch_widget.twig
   - oct_blogsearch.twig
   ========================================================= */

/* =========================================================
   BLOG: ЗАГАЛЬНІ ОБГОРТКИ СТОРІНОК
   ========================================================= */
.blog-category-page,
.blog-all-publications-page {
  padding-block: 40px;
}

.blog-category-page .blog__title,
.blog-all-publications-page .blog__title {
  margin: 0;
  padding-bottom: 16px;
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

.blog-category-page__content,
.blog-all-publications-content {
  width: 100%;
  min-width: 0;
}

.full-line:not([size]) {
  height: 0;
}

.full-line {
  margin-block: 0;
  border-top: 1px solid rgba(0, 25, 79, 0.15);
}

/* =========================================================
   BLOG: ВЕРХНІЙ БЛОК (НАВІГАЦІЯ + ПОШУК)
   Використовується:
   - на "Всі публікації"
   - на сторінках інших категорій блогу
   ========================================================= */
.blog-all-publications-top {
  padding-block: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 24px;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.blog-all-publications-tabs {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.blog-all-publications-search {
  width: 100%;
  min-width: 0;
}

/* =========================================================
   BLOG: НАВІГАЦІЯ ПО КАТЕГОРІЯХ
   ========================================================= */
.blog-all-publications-tabs__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.blog-all-publications-tabs__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #fff;
  color: #00194f;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-decoration: none;
  white-space: nowrap;
  cursor: default;
  transition: all 0.2s ease;
}

.blog-all-publications-tabs__link:hover,
.blog-all-publications-tabs__link.is-active {
  border-bottom: 1px solid rgba(0, 25, 79, 0.3);
  background: rgba(0, 25, 79, 0.05);
}

/* =========================================================
   BLOG: SWIPER ДЛЯ КАТЕГОРІЙ
   ========================================================= */
.blog-categories-swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.blog-categories-swiper .swiper-wrapper {
  flex-wrap: wrap;
  box-sizing: border-box;
  align-items: stretch;
}

.blog-categories-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

/* =========================================================
   BLOG: СТИЛІ ВІДЖЕТА ПОШУКУ
   Використовується у oct_blogsearch_widget.twig
   ========================================================= */
.blog-search-widget-form {
  margin: 0;
}

.blog-search-widget {
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  overflow: hidden;
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(0, 25, 79, 0.15);
  background: rgba(0, 25, 79, 0.05);
}

.blog-search-widget__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
}

.blog-search-widget__input {
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 12px 0 0;
  color: #25385f;
  font-size: 14px;
  outline: none;
  box-shadow: none;
  min-width: 0;
}

.blog-search-widget__input::placeholder {
  color: #98a2b3;
}

.blog-search-widget__submit {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.blog-all-publications-search .content-block,
.blog-all-publications-search .sc-module,
.blog-all-publications-search form {
  margin: 0;
}

/* =========================================================
   BLOG: СІТКА СТАТЕЙ ДЛЯ ЗВИЧАЙНИХ КАТЕГОРІЙ
   Використовується у oct_blogcategory.twig
   ========================================================= */
.blog-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.blog-category-grid .sc-last-news-item {
  min-width: 0;
  width: 100%;
}

.blog-category-grid__excerpt {
  color: rgba(0, 0, 0, 0.8);
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================================
   BLOG: БЛОК "ПРО RAPTOR" ТА МОДУЛІ НА "ВСІ ПУБЛІКАЦІЇ"
   Використовується у oct_blogcategory_all.twig
   ========================================================= */
.blog-home-section {
  margin-bottom: 56px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.blog-home-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.blog-home-section__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e64800;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-decoration: none;
  white-space: nowrap;
}

.blog-home-section__more:hover,
.sc-module .drop-link:hover {
  color: #e64800;
}

.blog-home-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  min-width: 0;
}

.blog-home-articles-grid .sc-last-news-item {
  min-width: 0;
  width: 100%;
}

.octemplates-blog-oct_blogcategory .sc-last-news-item a {
  display: block;
  border-radius: 6px;
  overflow: hidden;
}

.blog-home-section__excerpt {
  color: #5a6478;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-home-module {
  margin-bottom: 56px;
}

.blog-home-module:last-child {
  margin-bottom: 0;
}

.pro-raptor .gallery-home-title h2 {
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500 !important;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .pro-raptor .gallery-home-title h2 {
    font-size: 24px;
    line-height: 120%;
  }

  .blog-home-module {
    margin-bottom: 32px;
  }
}

/* About Us Module = START */
.about_us {
  overflow: hidden;
}

.about_us-title {
  margin: 0 auto;
  padding-block: 40px;
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.96px;
  text-transform: uppercase;
  text-align: center;
}

.about_us-cards {
  padding-top: 0;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.about_us-card {
  height: 100%;
}

.about_us--body {
  padding: 16px;
  min-height: 86px;
  height: 100%;
  display: flex;
  gap: 16px;
  border-radius: 7px;
  background: rgba(0, 25, 79, 0.05);
}

.about_us--slide-image {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about_us--content {
  margin-block: auto;
  max-width: 187px;
}

.about_us-card-title {
  color: rgba(0, 0, 0, 0.8);
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
}

@media (max-width: 1023px) {
  .about_us-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .about_us-title {
    padding-block: 0;
    max-width: 208px;
    font-size: 24px;
    letter-spacing: -0.48px;
  }

  .about_us-cards {
    padding-bottom: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .about_us--body {
    padding: 12px;
    align-items: center;
    min-height: 72px;
    gap: 12px;
  }

  .about_us-card-title {
    font-size: 12px;
  }

  .about_us-card--last {
    grid-column: 1 / -1;
  }
}
/* About Us Module = END */

/* HTML Intro Module = START */
.html_intro {
  padding: 40px 0;
  background: #fff;
}

.html_intro .container {
  padding-inline: 0;
  max-width: 100%;
}

.html_intro__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 636px);
  gap: 40px;
}

.html_intro__title {
  margin: 0 0 20px;
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

.html_intro__description {
  margin: 0 0 24px;
  color: rgba(0, 25, 79, 0.8);
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

.html_intro__description p {
  margin: 0 0 12px;
}

.html_intro__description p:last-child {
  margin-bottom: 0;
}

.html_intro__btn {
  margin-top: 28px;
}

.html_intro__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #e64800;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.html_intro__link:hover,
.html_intro__link:focus {
  color: #e64800;
}

.html_intro__link svg {
  flex: 0 0 7px;
}

.html_intro__img {
  width: 100%;
  min-width: 0;
}

.html_intro__img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .html_intro__title {
    font-size: 44px;
  }

  .html_intro__wrap {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .html_intro {
    padding: 32px 0;
  }

  .html_intro__wrap {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .html_intro__info {
    max-width: 100%;
  }

  .html_intro__title {
    margin-bottom: 16px;
    font-size: 32px;
    line-height: 1.05;
  }

  .html_intro__description {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .html_intro__btn {
    margin-top: 16px;
  }

  .html_intro__img img {
    width: 100%;
    height: auto;
  }
}
/* HTML Intro Module = END */

/* =========================================================
   BLOG: DESKTOP / MOBILE ПЕРЕМИКАННЯ ДЛЯ БЛОКУ "ПРО RAPTOR"
   Важливо, щоб mobile swiper не ламав desktop
   ========================================================= */
.desktop-grid {
  display: grid;
  width: 100%;
}

.mobile-swiper {
  display: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.blog-raptor-swiper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.blog-raptor-swiper .swiper-wrapper,
.mobile-swiper .swiper-wrapper {
  box-sizing: border-box;
}

.blog-raptor-swiper .swiper-slide {
  box-sizing: border-box;
  height: auto;
}

@media (min-width: 992px) {
  .mobile-swiper {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .desktop-grid {
    display: grid !important;
  }
}

/* =========================================================
   BLOG: СТАТТЯ та ПРОДУКТИ
   ========================================================= */
.blog-article-top-meta {
  gap: 20px;
}

.blog-article-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 4px;
  background: #eef1f6;
  color: #5a6b8a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.blog-article-reading-time {
  color: rgba(0, 25, 79, 0.8);
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.sc-module {
  border-bottom: 0;
  padding-bottom: 16px !important;
}

.sc-page-title h1 {
  margin: 0;
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

.content-block {
  padding: 0;
}

.sc-blog-post-image img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

.blog-article-published {
  margin-bottom: 40px;
  padding-top: 8px;
  color: rgba(0, 25, 79, 0.8);
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
}

.sc-blog-post-text {
  margin-inline: auto;
  padding-block: 40px;
  max-width: 768px;
}

.sc-blog-post-text h2 {
  margin-block: 24px;
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

.content-block ol,
.content-block p,
.content-block ul {
  color: #00194f;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

.content-block ol + p,
.content-block ol + ul,
.content-block p + p,
.content-block p + ul,
.content-block ul + p,
.content-block ul + ul {
  margin-top: 1.5rem;
}

.content-block ul,
.content-block ol {
  margin-block: 24px;
}
/*
.content-block ul li + li,
.content-block ol li + li {
  margin-top: 24px;
}
*/
.blog-article-products {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.blog-article-product-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px;
  background: #f3f3f3;
  border-radius: 8px;
}

.blog-article-product-card__image {
  display: block;
  flex: 0 0 320px;
  max-width: 320px;
  text-decoration: none;
}

.blog-article-product-card__image img {
  display: block;
  width: 100%;
  height: auto;
}

.blog-article-product-card__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
}

.blog-article-product-card__title {
  display: block;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid #183b6b;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  text-decoration: none;
}

.blog-article-product-card__title:hover {
  text-decoration: none;
  color: #111;
}

.blog-article-product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #f36b21;
  text-decoration: none;
}

.blog-article-product-card__link:hover {
  color: #f36b21;
  text-decoration: underline;
}

.blog-inline-product {
  margin-block: 32px;
  padding: 24px;
  background: rgba(0, 25, 79, 0.05);
  border-radius: 8px;
}

.blog-inline-product__image {
  flex: 0 0 720px;
  max-width: 720px;
}

.blog-inline-product__image a,
.blog-inline-product__image img {
  display: block;
}

.blog-inline-product__content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid #00194f;
}

.blog-inline-product__content h3 {
  margin-block: 0;
}

.content-block-text a {
  color: #000;
  text-decoration: none;
}

.blog-inline-product__title {
  display: block;
  color: #000;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
}

.blog-inline-product__title:hover {
  color: #000;
  text-decoration: none;
}

.blog-inline-product__link {
  display: inline-flex;
  align-items: center;
  color: #e64800;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
}

.content-block-text a.blog-inline-product__link {
  color: #e64800;
}

.blog-latest-articles__all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f36b21;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.sc-module-header h2 {
  color: #00194f;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: -0.64px;
  text-transform: uppercase;
}

.blog-latest-card__image-wrap {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.blog-latest-card__image {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.blog-latest-card__description {
  font-size: 14px;
  line-height: 1.5;
  color: #3d4b66;
}

.sc-category-wall-item .content-block {
  padding: 8px;
}

.blog-home-section--paint-code .blog-category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.paint-code-card {
  min-width: 0;
  width: 100%;
}

.paint-code-card .content-block {
  width: 100%;
  min-height: 220px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 25, 79, 0.1);
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(0, 25, 79, 0.1);
  transition: 0.2s ease;
}

.paint-code-card .content-block:hover {
  box-shadow: none;
}

.paint-code-card__image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 178 / 120;
  margin-bottom: 12px;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.paint-code-card__image img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: contain;
}

.paint-code-card__body {
  padding: 0;
  text-align: center;
}

.paint-code-card__title {
  display: block;
  color: #000;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 130%;
  text-align: center;
  text-decoration: none;
}

.paint-code-card__title:hover {
  color: #000;
  text-decoration: none;
}

@media (max-width: 1399px) {
  .blog-home-section--paint-code .blog-category-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {
  .blog-home-section--paint-code .blog-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .blog-home-section--paint-code .blog-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .paint-code-card .content-block {
    min-height: 120px;
    padding: 8px;
  }

  .paint-code-card__image {
    margin-bottom: 8px;
  }

  .paint-code-card__title {
    font-size: 12px;
    line-height: 130%;
  }
}

@media (max-width: 767px) {
  .blog-category-grid.pro-raptor {
    display: none;
  }

  .sc-page-title h1 {
    font-size: 28px;
  }

  .blog-article-top-meta {
    gap: 10px;
  }

  .blog-article-published {
    text-align: left;
  }

  .blog-article-product-card {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .blog-article-product-card__image {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .blog-article-product-card__title {
    font-size: 16px;
  }

  .blog-inline-product {
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    margin: 24px 0;
  }

  .blog-inline-product__image {
    flex: 0 0 auto;
    max-width: 100%;
  }

  .blog-inline-product__title {
    font-size: 16px;
  }

  .blog-latest-card__image {
    height: 200px;
  }
}

@media (max-width: 379px) {
  .blog-home-section--paint-code .blog-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   BLOG: LOAD MORE BUTTON
   ========================================================= */
.blog-load-more-box {
  display: flex;
  justify-content: center;
}

.blog-load-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 170px;
  height: 40px;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid rgba(230, 72, 0, 0.2);
  background: #fff;
  color: #e64800;
  font-family: 'Onest', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-load-more-btn:hover {
  opacity: 0.9;
}

.blog-load-more-btn__loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(226, 90, 0, 0.25);
  border-top-color: #e25a00;
  border-radius: 50%;
  animation: blogButtonSpin 0.8s linear infinite;
}

.blog-load-more-btn.is-loading {
  pointer-events: none;
  opacity: 0.8;
}

.blog-load-more-btn.is-loading .blog-load-more-btn__loader {
  display: inline-block;
}

@keyframes blogButtonSpin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   BLOG: АДАПТИВ ДО 1399PX
   ========================================================= */
@media (max-width: 1399px) {
  .blog-all-publications-top {
    grid-template-columns: 1fr;
  }

  .blog-all-publications-tabs {
    order: 1;
  }
}

/* =========================================================
   BLOG: АДАПТИВ ДО 1199PX
   ========================================================= */
@media (max-width: 1199px) {
  .blog-category-grid,
  .blog-home-articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   BLOG: АДАПТИВ ДО 991PX
   ========================================================= */
@media (max-width: 991px) {
  .full-line {
    display: none;
  }

  .blog-all-publications-top {
    padding-top: 8px;
    padding-bottom: 32px;
    min-width: 0;
    overflow: hidden;
  }

  main.main.blog-all-publications-page {
    padding-top: 0;
    padding-bottom: 32px;
  }

  .blog-category-grid,
  .blog-home-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .blog-home-section {
    margin-bottom: 40px;
  }

  .blog-home-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 18px;
  }

  .blog-home-section__title {
    font-size: 32px;
  }
}

/* =========================================================
   BLOG: АДАПТИВ ДО 767PX
   ========================================================= */
@media (max-width: 767px) {
  .sc-last-news-item .content-block {
    flex-direction: column !important;
  }

  .sc-last-news-item .content-block > a {
    flex: 0 0 auto;
    width: 100%;
  }

  .sc-last-news-item .sc-last-news-info {
    order: 0;
    padding: 8px 4px !important;
  }

  .sc-last-news-item .sc-last-news-title {
    padding-top: 0;
    padding-inline: 4px !important;
    font-size: 18px !important;
  }

  .sc-last-news-caption .px-3 {
    padding-right: 4px !important;
    padding-left: 4px !important;
  }

  .mobile-no-gutters .sc-page-title,
  .mobile-no-gutters nav[aria-label='breadcrumb'] {
    padding-left: 0;
    padding-right: 0;
  }

  .blog-category-page {
    padding: 8px 16px 0;
  }

  .blog-all-publications-tabs,
  .blog-all-publications-search {
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .blog-all-publications-tabs__scroll {
    display: block;
    padding-bottom: 0;
    overflow: hidden;
  }

  .blog-all-publications-tabs__link {
    height: 40px;
    padding: 0 8px;
    font-size: 14px;
  }

  .blog-category-grid,
  .blog-home-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-category-grid__excerpt,
  .blog-home-section__excerpt {
    font-size: 14px;
    line-height: 1.4;
    -webkit-line-clamp: 3;
  }

  .blog-category-page .blog__title {
    padding-bottom: 2px;
    font-size: 24px;
  }

  .blog-all-publications-content .blog-home-section__excerpt {
    color: rgba(0, 0, 0, 0.8);
  }

  .blog-all-publications-content .sc-last-news-info {
    display: flex;
    gap: 20px;
  }

  .blog-home-section__title {
    font-size: 24px;
  }

  .blog-home-section__more {
    font-size: 13px;
  }

  .desktop-grid {
    display: none !important;
  }

  .mobile-swiper {
    display: block !important;
  }

  .blog-raptor-swiper .swiper-slide {
    width: calc(100vw - 52px);
    max-width: 320px;
    box-sizing: border-box;
  }

  .blog-raptor-swiper .sc-last-news-item {
    min-width: 0;
  }

  .blog-search-widget {
    height: 40px;
  }

  .blog-search-widget__icon,
  .blog-search-widget__submit {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .blog-search-widget__input {
    font-size: 13px;
  }
}

/* =========================================================
   BLOG: АДАПТИВ ДО 575PX
   ========================================================= */
@media (max-width: 575px) {
  .blog-category-grid,
  .blog-home-articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
