.lb-blog-site {
  position: relative;
  overflow: visible;
}

.lb-blog-page {
  margin-top: 60px;
}

.lb-blog-page > h1 {
  display: none;
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.lb-blog-filters {
  display: flex;
  height: 52px;
  align-items: flex-start;
  gap: 12px;
}

.lb-home .lb-blog-filter {
  display: inline-flex;
  height: 52px;
  padding: 14px 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: rgba(225, 225, 225, 0.4);
  color: #19120d;
  font-family: "PT Sans", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
}

.lb-home .lb-blog-filter:hover,
.lb-home .lb-blog-filter:focus-visible {
  background: #e1e1e1;
  box-shadow: 5px 5px 0 rgba(38, 33, 26, 0.05);
}

.lb-home .lb-blog-filter.is-active {
  background: #fabb16;
  box-shadow: none;
}

.lb-blog-grid {
  display: grid;
  margin-top: 60px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.lb-blog-card {
  display: flex;
  width: 100%;
  height: 443px;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border-radius: 5px;
  background: #e1e1e1;
}

.lb-blog-card__visual {
  display: block;
  width: 100%;
  height: 230px;
  flex: 0 0 230px;
  overflow: hidden;
}

.lb-blog-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-blog-card__content {
  display: flex;
  height: 213px;
  min-height: 0;
  padding: 20px;
  flex: 0 0 213px;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.lb-blog-card h2 {
  display: -webkit-box;
  width: 100%;
  height: 62px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  flex: 0 0 62px;
  color: #19120d;
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 31px;
  letter-spacing: -0.8px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.lb-blog-card h2 a {
  color: inherit;
  white-space: pre-line;
}

.lb-blog-card__content > p {
  display: -webkit-box;
  width: 100%;
  height: 63px;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  flex: 0 0 63px;
  color: #6f7d72;
  font-family: "PT Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow-wrap: anywhere;
}

.lb-blog-card__more {
  display: inline-flex;
  height: 16px;
  align-items: center;
  gap: 6px;
  color: #19120d;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 19.34px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.lb-blog-card__more:hover,
.lb-blog-card__more:focus-visible,
.lb-blog-card h2 a:hover,
.lb-blog-card h2 a:focus-visible {
  opacity: 0.62;
}

.lb-blog-card__arrow {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.lb-blog-card__arrow img {
  position: absolute;
}

.lb-blog-card__arrow img:first-child {
  top: 7.33px;
  left: 2.67px;
  width: 10.66px;
  height: 1.34px;
}

.lb-blog-card__arrow img:last-child {
  top: 2.67px;
  left: 7.33px;
  width: 6px;
  height: 10.66px;
}

.lb-blog-controls {
  display: flex;
  min-height: 112px;
  padding: 40px 0 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.lb-home .lb-blog-load-more {
  display: inline-flex;
  height: 52px;
  min-height: 52px;
  padding: 13px 21px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid #fabb16;
  border-radius: 5px;
  background: #fabb16;
  color: #19120d;
  font-family: "PT Sans", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 17px;
  cursor: pointer;
}

.lb-home .lb-blog-load-more:disabled {
  opacity: 0.48;
  cursor: default;
}

.lb-blog-pagination {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lb-blog-pagination__arrow,
.lb-blog-pagination__page {
  display: flex;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(225, 225, 225, 0.4);
  color: #19120d;
  font: 400 17px/1.4 "PT Sans", sans-serif;
}

.lb-blog-pagination__arrow {
  box-shadow: 5px 5px 0 rgba(38, 33, 26, 0.05);
}

.lb-blog-pagination__arrow img {
  width: 18px;
  height: 18px;
}

.lb-blog-pagination__arrow.is-previous img {
  transform: rotate(180deg);
}

.lb-blog-pagination__page.is-current {
  background: #e1e1e1;
  font-weight: 700;
  line-height: 17px;
}

.lb-blog-pagination a:hover,
.lb-blog-pagination a:focus-visible {
  background: #fabb16;
}

.lb-blog-pagination .is-disabled {
  opacity: 0.45;
}

.lb-blog-social-panel {
  position: absolute;
  z-index: 20;
  top: 1925px;
  right: 41px;
  display: flex;
  width: 240px;
  flex-direction: column;
  gap: 12px;
}

.lb-blog-social-panel__chat {
  display: flex;
  width: 100%;
  height: 52px;
  padding: 13px 13px 15px 21px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #fabb16;
  border-radius: 5px;
  background: #fabb16;
  color: #19120d;
  font-size: 17px;
  font-weight: 700;
  line-height: 17px;
}

.lb-blog-social-panel__chat img {
  width: 55px;
  height: 34px;
}

.lb-blog-social-panel__label {
  display: flex;
  width: 100%;
  height: 52px;
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  background: rgba(225, 225, 225, 0.4);
  font-size: 17px;
}

.lb-blog-social-panel__label img {
  width: 10px;
  height: 10px;
  transform: rotate(90deg);
}

.lb-blog-social-panel__links {
  display: flex;
  width: 100%;
  gap: 8px;
}

.lb-blog-social-panel__links a {
  display: flex;
  height: 36px;
  min-width: 0;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: rgba(225, 225, 225, 0.4);
}

.lb-blog-social-panel__links img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

@media (max-width: 820px) {
  .lb-blog-page {
    margin-top: 30px;
  }

  .lb-blog-filters {
    height: 40px;
    gap: 8px;
  }

  .lb-home .lb-blog-filter {
    height: 40px;
    padding: 11px 14px;
    border-radius: 4px;
    font-size: 14px;
  }

  .lb-home .lb-blog-filter:hover,
  .lb-home .lb-blog-filter:focus-visible {
    box-shadow: 3px 3px 0 rgba(38, 33, 26, 0.05);
  }

  .lb-blog-grid {
    margin-top: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .lb-blog-card {
    height: 365px;
    border-radius: 4px;
    box-shadow: 0 18px 40px rgba(64, 55, 40, 0.06);
  }

  .lb-blog-card__visual {
    height: 200px;
    flex-basis: 200px;
  }

  .lb-blog-card__content {
    height: 165px;
    min-height: 0;
    padding: 12px;
    flex-basis: 165px;
    gap: 16px;
  }

  .lb-blog-card h2 {
    height: 46px;
    flex-basis: 46px;
    font-size: 24px;
    line-height: 0.95;
  }

  .lb-blog-card__content > p {
    height: 51px;
    flex-basis: 51px;
    color: #675b4f;
    font-size: 12px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .lb-blog-card__more {
    height: 12px;
    gap: 4px;
    font-size: 11px;
    line-height: 1.1;
  }

  .lb-blog-controls {
    min-height: 86px;
    padding: 24px 0 20px;
  }

  .lb-home .lb-blog-load-more {
    height: 42px;
    min-height: 42px;
    padding: 11px 16px 12px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 14px;
  }

  .lb-blog-pagination {
    gap: 12px;
  }

  .lb-blog-pagination__arrow,
  .lb-blog-pagination__page {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 4px;
    font-size: 14px;
  }

  .lb-blog-pagination__arrow img {
    width: 14px;
    height: 14px;
  }

  .lb-blog-social-panel {
    top: 800px;
    right: 20px;
    width: 158px;
    gap: 6px;
  }

  .lb-blog-social-panel__chat {
    height: 40px;
    padding: 9px 9px 11px 13px;
    border-radius: 4px;
    font-size: 14px;
  }

  .lb-blog-social-panel__chat img {
    width: 40px;
    height: 25px;
  }

  .lb-blog-social-panel__label {
    height: 40px;
    padding: 10px 12px;
    border-radius: 4px;
    background: #f3f3f3;
    font-size: 14px;
  }

  .lb-blog-social-panel__label img {
    width: 8px;
    height: 8px;
  }

  .lb-blog-social-panel__links {
    gap: 6px;
  }

  .lb-blog-social-panel__links a {
    height: 28px;
    border-radius: 4px;
    background: #f3f3f3;
  }

  .lb-blog-social-panel__links img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 520px) {
  .lb-blog-page {
    margin-top: 40px;
  }

  .lb-blog-page > h1 {
    display: block;
    height: 40px;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.5px;
  }

  .lb-blog-filters {
    width: 100%;
    height: 32px;
    margin-top: 20px;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }

  .lb-blog-filters::-webkit-scrollbar {
    display: none;
  }

  .lb-home .lb-blog-filter {
    height: 32px;
    padding: 9px 10px;
    border-radius: 4px;
    font-size: 12px;
  }

  .lb-blog-grid {
    margin-top: 20px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lb-blog-card {
    height: 336px;
    border-radius: 3px;
  }

  .lb-blog-card:nth-child(n + 9):not(.is-mobile-revealed) {
    display: none;
  }

  .lb-blog-card__visual {
    position: relative;
    height: 190px;
    flex-basis: 190px;
  }

  .lb-blog-card__visual img {
    position: absolute;
    top: -16.25%;
    left: 0;
    width: 100%;
    height: 128.15%;
    max-width: none;
  }

  .lb-blog-card__content {
    height: 146px;
    min-height: 0;
    padding: 12px;
    flex-basis: 146px;
    gap: 12px;
  }

  .lb-blog-card h2 {
    height: 38px;
    flex-basis: 38px;
    font-size: 20px;
    line-height: 0.95;
  }

  .lb-blog-card__content > p {
    height: 47px;
    flex-basis: 47px;
    font-size: 11px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .lb-blog-card__more {
    height: 13px;
    font-size: 10px;
  }

  .lb-blog-card__arrow {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .lb-blog-card__arrow img:first-child {
    top: 5.95px;
    left: 2.17px;
    width: 8.66px;
    height: 1.1px;
  }

  .lb-blog-card__arrow img:last-child {
    top: 2.17px;
    left: 5.95px;
    width: 4.88px;
    height: 8.66px;
  }

  .lb-blog-controls {
    min-height: 132px;
    padding: 20px 0;
    flex-direction: column;
    gap: 16px;
  }

  .lb-home .lb-blog-load-more {
    width: 100%;
    height: 38px;
    min-height: 38px;
    padding: 9px 12px;
    border: 0;
    border-radius: 3px;
    font-size: 13px;
    line-height: 13px;
  }

  .lb-blog-pagination {
    width: 100%;
    justify-content: space-between;
    gap: 0;
  }

  .lb-blog-pagination__arrow,
  .lb-blog-pagination__page {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 3px;
    font-size: 13px;
  }

  .lb-blog-pagination__arrow img {
    width: 12px;
    height: 12px;
  }

  .lb-blog-social-panel {
    display: none;
  }
}
