.wrapper {
    background: #f5f5f5;
}
/* blog-title-section */
.blog-title-wrapper {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 30px 46px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.blog-title-left {
    max-width: 1010px;
    width: 100%;
}
.blog-title-left h1 {
    font-weight: 900;
    font-size: 100px;
    line-height: 94%;
    color: #2b2b2b;   
}
.blog-title-left h1 span {
    color: #3855ff;
}
.blog-title-right {
    max-width: 442px;
    width: 100%;
    display: flex;
    padding: 12px;
    position: relative;
    align-items: center;
    justify-content: center;
}
.blog-title-right p {
    max-width: 400px;
    width: 100%;
    color: #111;
    line-height: 1;
}
.blog-title-right::before,
.blog-title-right::after,
.blog-title-right > *::before,
.blog-title-right > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #1e1e1e;
}
/* Левый верхний угол */
.blog-title-right::before {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}
/* Правый верхний угол */
.blog-title-right::after {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
/* Левый нижний угол */
.blog-title-right > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
/* Правый нижний угол */
.blog-title-right > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
@media (max-width: 769px) {
  .blog-title-wrapper {
    max-width: 390px;
    width: 100%;
    margin: 0 auto 72px;
    padding: 36px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 20px;
}
.blog-title-left {
    max-width: 100%;
    width: 100%;
}
.blog-title-left h1 {
    font-weight: 900;
    font-size: 40px;
    line-height: 94%;
    color: #2b2b2b;   
}
.blog-title-left h1 span {
    color: #3855ff;
}
.blog-title-right {
    max-width: 100%;
    width: 100%;
    display: flex;
    padding: 12px;
    position: relative;
    align-items: center;
    justify-content: center;
}
.blog-title-right p {
    font-size: 13px;
    max-width: 400px;
    width: 100%;
    color: #111;
    line-height: 1;
}
.blog-title-right::before,
.blog-title-right::after,
.blog-title-right > *::before,
.blog-title-right > *::after {
  position: absolute;
  content: "";
  width: 11px;
  height: 11px;
  border: 0px solid #1e1e1e;
}
/* Левый верхний угол */
.blog-title-right::before {
  top: 0;
  left: 0;
  border-top-width: 1px;
  border-left-width: 1px;
}
/* Правый верхний угол */
.blog-title-right::after {
  top: 0;
  right: 0;
  border-top-width: 1px;
  border-right-width: 1px;
}
/* Левый нижний угол */
.blog-title-right > *::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 1px;
  border-left-width: 1px;
}
/* Правый нижний угол */
.blog-title-right > *::after {
  bottom: 0;
  right: 0;
  border-bottom-width: 1px;
  border-right-width: 1px;
}
}

/* blog-categories-section */
.blog-categories-wrapper {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto 36px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.blog-categories-title {
    display: flex;
    justify-content: center;
}
.blog-categories-title h2 {
    font-weight: 900;
    font-size: 50px;
    color: #2b2b2b;
    text-align: center;
}
.blog-horizontal-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: wrap;
}

.category-filter-btn {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: #2b2b2b;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    padding: 8px 12px; 
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
}
.category-filter-btn:hover {
    background-color: #2b2b2b;
    color: #f5f5f5;
}

@media (max-width: 769px) {
  .blog-categories-wrapper {
    max-width: 390px;
    width: 100%;
    margin: 0 auto 36px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.blog-categories-title {
    display: flex;
    justify-content: center;
}
.blog-categories-title h2 {
    font-weight: 900;
    font-size: 40px;
    color: #2b2b2b;
    text-align: center;
}
.blog-horizontal-list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    flex-wrap: wrap;
}
.category-filter-btn {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    letter-spacing: -0.02em;
    color: #2b2b2b;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    padding: 8px 12px; 

}
}


/* blog-content-section  */

.blog-content-wrapper {
    max-width: 1512px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px 79px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 40px 30px;
}

.block-content {
  width: 100%;
  min-height: clamp(300px, 30vw, 471px);
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 42px);
  gap: 10px;
  transition: all 0.3s ease;
  --cut-size: min(15%, 60px);
  clip-path: polygon(
    0% 0%,
    calc(100% - var(--cut-size)) 0%,
    100% var(--cut-size),
    100% 100%,
    0% 100%
  );
}

@supports not (clip-path: polygon(0 0, 0 0, 0 0)) {
  .block-content {
    border-radius: 8px;
    overflow: hidden;
  }
}
.block-content:hover {
  transform: scale(1.01);
}

.block-content-h2 h2 {
    font-weight: 900;
    font-size: 50px;
    font-size: clamp(15px, 5vw, 50px);
    line-height: 0.94;
    color: #2b2b2b;
    text-align: left;
    max-width: 380px;
    width: 100%;
    margin-top: 0;
}
.img-categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.block-content img {
    max-width: 100%;
    max-height: 139px;
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.block-content-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    margin-right: auto;
}
.block-content-categories p {
    font-size: 22px;
    margin: 0;
    font-size: clamp(18px, 1vw, 22px);
}
@media (max-width: 1120px) {
  .blog-content-wrapper {
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: auto auto auto; 
  }
  
  .block-content h2 {
    max-width: 100%;
  }
}


@media (max-width: 576px) {

  
  .block-content {
    min-height: 250px; 
  }
}
@media (max-width: 769px) {
  .blog-content-wrapper {
    max-width: 390px;
    width: 100%;
    margin: 0 auto 100px;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, auto);
    gap: 10px; 
}

.block-content {
  width: 100%;
  min-height: clamp(250px, 30vw, 330px);
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(18px, 3vw, 29.43px);
  gap: 10px;
  --cut-size: min(15%, 30px);
  clip-path: polygon(
    0% 0%,
    calc(100% - var(--cut-size)) 0%,
    100% var(--cut-size),
    100% 100%,
    0% 100%
  );
}
@supports not (clip-path: polygon(0 0, 0 0, 0 0)) {
  .block-content {
    border-radius: 8px;
    overflow: hidden;
  }
}


.block-content h2 {
    font-weight: 900;
    font-size: 35px;
    font-size: clamp(12px, 5vw, 35px);
    line-height: 0.94;
    color: #2b2b2b;
    text-align: left;
    max-width: 100%;
    width: 100%;
    margin-top: 0;
}
.block-content h2 span {
  display: inline;
}
.block-content img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    width: 100%;
}
.block-content-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid #2b2b2b;
    border-radius: 900px;
    margin-right: auto;
}
.block-content-categories p {
    font-size: 15px;
    margin: 0;
    font-size: clamp(12px, 1vw, 15px);
}
.pagination-container {
  display: none !important;
}
}