.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	padding: 0px 5rem;
  }

  .card {

  }

  /* Класс для карточек, занимающих две колонки */
  .card--double {
    grid-column: span 2;
  }


  .blog-grid .card img {
    width: 100%;
  }

  .blog-grid .card .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
  }

  .blog-grid .card .card-body-footer {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .blog-grid .card .card-body-footer-info {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
  }

  .blog-grid .card .card-title {
    font-family: "Garbata", "Onest",var(--header-text-font-family);
    font-size: 3rem;
    line-height: 3rem;
    color: var(--color-amethyst-grey);
  }

  .blog-grid .card .card-descr {
    font-size: 1.6rem;
    line-height: 1.8rem;
    color: #505050;

    overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  padding-bottom: .1rem;

  }

  .card-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    padding-bottom: .1rem;
  }

  .blog-grid .card .card-viewcount {
    display: flex;
    gap: 1rem;
    align-items: center;
  }



  .blog-grid .card .card-body-footer .button {
    min-width: 0 !important;
  padding: 10px 20px !important;
  font-size: 1.4rem !important;
  text-transform: capitalize !important;
  }

  .card-viewcount span {
    text-wrap: nowrap;
  }

  .card-body-footer span {
    color: #858884;
  }

  .card-viewcount span {
    color: #858884;
  }


  .filter-block
  {
	  margin-top: 2.5rem;
	  margin-bottom: 2rem;
	  padding: 0px 2rem;
	  display: flex;
	justify-content: end;
  }
  
  
  
  .card-image__wrapper {
	display: block;
	height: 28.3rem;
	overflow: hidden; /* Чтобы эффекты трансформации не вылезали за блок */
	border-radius: 3.6rem; /* Чтобы обертка тоже имела скругление */
	transition: box-shadow 0.3s ease, transform 0.3s ease; /* Если хочешь эффект подъёма */
}

.card-image__wrapper img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 3.6rem; /* Можно убрать, если уже есть на wrapper */
	transition: transform 0.3s ease, filter 0.3s ease; /* Для эффектов */
}

/* Пример с увеличением и тенью */
.card-image__wrapper:hover {
	transform: translateY(-5px);
}

.card-image__wrapper:hover img {
	transform: scale(1.1);
}


.load-more {
    display: flex;
    justify-content: center;
    cursor: pointer;
}



  @media(max-width: 700px) {
    .blog-grid {
        grid-template-columns: 1fr;
		padding: 0px;
		gap: 4rem;
    }

    .card--double {
        grid-column: 1;
    }

    .blog-grid .card .card-body-footer {
        flex-direction: column;
        gap: .75rem;
        margin-top: .75rem;
    }

    .blog-grid .card .card-title {
        font-size: 2.6rem;
        line-height: 2.6rem;
    }

    .blog-grid .card .card-descr {
        font-size: 1.6rem;
    }

    .blog-grid .card .card-body-footer-info {
        width: 100%;
        justify-content: space-between;
        opacity: .7;
    }

	.card-image__wrapper {
		height: 20rem;
	}

  }






  

  .hero {
    border-radius: var(--border-radius-large);
    color: var(--color-amethyst-grey);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1100.1px) {
    .hero__logotype {
        top: var(--spacing-100);
        z-index: 1;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
    }
}

@media (max-width: 1100px) {
    .hero__logotype {
        display: none;
    }
}





.hero__image {
    /*
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    object-fit: contain;
    object-position: right;
*/
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    object-fit: cover;
    object-position: top;
    left: unset;
    width: unset;
}


.hero {
    max-height: 500px;
}

/*
@media(min-width: 1100px) {
    .hero {
        min-height: 400px;
    }
}
*/



@media (max-width: 700px) {
    .hero__content span {
        margin-bottom: 0!important;
    }
}

.hero__content {
    z-index: 1;
    position: relative;
    min-height: 320px;
}

@media(min-width: 700.1px) and (max-width: 1100px) {
    .hero__content {
        min-height: 250px;
    }
}

@media(max-width: 600px) {
    .hero__content {
        min-height: 190px;
    }
}
/*
.hero__content span {
    margin-bottom: var(--content-text-bottom-offset);
    font-size: var(--header-text-font-size-1);
    font-weight: var(--header-text-font-weight-1);
    line-height: var(--header-text-line-height-1);
    color: inherit;
}
*/
@media (min-width: 1100.1px) {
    .hero__content {
        padding: var(--spacing-36) 0 var(--spacing-32) var(--spacing-52);
    }
}

@media (min-width: 700.1px) and (max-width: 1100px) {
    .hero__content {
        padding: var(--spacing-32);
    }
}

@media (max-width: 700px) {
    .hero__content {
        padding: var(--spacing-20);
    }
}

.hero__title {
    margin-bottom: var(--header-text-bottom-offset-1);
    font-size: var(--header-text-font-size-1);
    
    line-height: var(--header-text-line-height-1);
    color: inherit;
}

@media (max-width: 700px) {
    .hero__title {
        margin-bottom: 0;
    }
}


@media (min-width: 1100.1px) {
    .hero__content span:not([class]) {
        font-size: 5.8rem;
        font-weight: var(--header-text-font-weight-1);
        font-family: "Garbata", "Onest", var(--header-text-font-family);
        line-height: 0.84;
    }
    .hero__title {
        font-size: 3.2rem;
        font-family: "Onest", var(--base-font-family);
        font-weight: 300;
        margin-bottom: 1rem;
    }

    .hero__content {
        max-width: 45%;
    }
}

@media (max-width: 1100px) {
    .hero__content span:not([class]) {
        font-size: var(--header-text-font-size-1);
        font-weight: var(--header-text-font-weight-1);
        font-family: "Garbata", "Onest", var(--header-text-font-family);
        line-height: 0.84;
    }
    .hero__title {
        font-size: 2.2rem;
        font-family: "Onest", var(--base-font-family);
        font-weight: 300;
        margin-bottom: 1rem;
    }
}


.hero__button {
    margin-top: var(--spacing-24);
}




.hero__content {
	display: flex;
    flex-direction: column;
}

.hero__content .hero__title {
	margin-top: auto;
}

.hero__content span {
	margin-bottom: auto;
}



.text__desctop {
	max-width: 75%;
}





@media(min-width: 700px) {

    .hero__image.image_mobile {
        display: none;
    }

    .text__mobile {
        display: none;
    }

    .text__desctop {
        margin-bottom: auto;
    }
}
@media(max-width: 700px) {

    .hero__image.image_desctop {
        display: none;
    }

    .text__desctop {
        display: none;
    }
}


.hero {
    display: flex;
}

@media(max-width: 700px) {
    .hero__content .text__mobile {
        margin-bottom: auto;
    }
}

.banner__custom_text {
    font-size: 4.4rem;
    font-weight: 500;

}

.banner__custom_text_bigger {
    font-size: 6.4rem;
    display: block;
    margin-top: 1.5rem;
}








@media(min-width: 700px) {
	.about_elements__block {
		padding-left: 5.4rem;
		padding-right: 5.4rem;
	}
}
@media(max-width: 700px) {
	.about__items_title {
		margin-top: 2rem;
		text-align: center;
	}
	.about__desctription {
		padding: 2rem 1rem;
		font-size: 2.2rem;
	}
	.about__items_title {
		font-size: 3.4rem;
		padding: 1.4rem;
	}
	.about__section-items .item {
		display: block;
	}
	.item-preview {
		text-align: center;
		font-size: 2.2rem;
	}
	.item-number {
		font-size: 9rem;
	}
	.item-preview:before {
		transform: translateX(33.3333%);
	}


	.about_elements__block br {
		content: "";
	}

	.about_elements__block br:after {
		content: " ";
	}

}
