.jb-container-top-pic-shadow {
    width: 80%;
    max-width: 100%;
    margin: 15px auto; /* Изменено здесь */
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    position: relative;
    height: 400px;
}

.jb-img-top-shadow {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 576px) {
	.jb-container-top-pic-shadow{
	    height: 300px;
	}
}
@media screen and (max-width: 300px) {
	.jb-container-top-pic-shadow {
	    height: 250px;
	}
}


.jb-image-container_shadow__front {
    width: 100%;
    max-width: 100%;
    margin: 15px auto; /* Изменено здесь */
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    height: 300px;
}

.jb-image-container_shadow-img__front {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media screen and (max-width: 576px) {
	.jb-image-container_shadow__front{
	    height: 200px;
	}
}
@media screen and (max-width: 300px) {
	.jb-image-container_shadow__front {
	    height: 100px;
	}
}

.jb-benefits-list_sublist{
	padding: 5px 25px;

}


.jb-cards{
	display: flex;
	padding-top: 20px;
	justify-content: center;
	align-items: center;
}

  .jb-card {
	width: 200px;
	height: 300px;
	perspective: 1000px;
	margin-right: 20px;
  }
  .jb-card:last-child{
	margin-right: 0;
  }

  .jb-card__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transition: transform 0.6s;
	transform-style: preserve-3d;
	box-shadow: 0 5px 10px rgba(0,0,0,0.15);
  }

  .jb-card:hover .jb-card__inner {
	transform: rotateY(180deg);
  }

  .jb-card__side {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
  }

  .jb-card__side--front {
	background-color: #fff;
  }

  .jb-card__side--back {
	transform: rotateY(180deg);
	background-color: #f0f0f0;
  }

  .jb-card__img-wrap {
	position: relative;
  }

  .jb-card__img {
	width: 100%;
  }

  .jb-card__title {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 10px;
	margin: 0;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
	background-color: rgba(0,0,0,0.5);
  }

  .jb-card__arrow {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: calc(50% - 20px);
	right: 5px;
	margin: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #fff;



  }
  .jb-card__arrow-p{
	font-size: 30px;
	color: #fff;
	margin: 0;
  }

  .jb-card__body {
	padding: 20px;

  }

  .jb-card__body p {
	margin: 0;
  }

  .jb-card__body-link {
	text-decoration: none;
  }
 @media screen and (max-width: 768px) {

	.jb-card {
		width: 130px;
		height: 195px;
		margin-right: 10px;
	  }
	  .jb-card__title {
		font-size: 13px;
	  }
	  .jb-card__arrow {
		width: 20px;
		height: 20px;
		}
.jb-card__arrow-p{
	font-size: 12px;

  }
  .jb-card__body {
	font-size: 10px;
	padding: 10px;
	font-weight: normal;
  }
  }
 @media screen and (max-width: 576px) {
	.jb-cards{
		display: grid;
        /*grid-template-rows: repeat(3 1fr);
		grid-template-columns: repeat(1 1fr);*/
		align-items: center;
		gap: 20px;
	  }
	  .jb-card {
		width: 200px;
		height: 300px;
		margin-right: 0px;
	  }
	  .jb-card__title {
		font-size: 20px;
	  }
	  .jb-card__arrow {
		width: 40px;
		height: 40px;
		}
        .jb-card__arrow-p{
	font-size: 30px;

  }
  .jb-card__body {
	font-size: 14px;
  }
}
@media screen and (max-width: 300px) {
	.jb-card {
		width: 130px;
		height: 195px;
		margin-right: 10px;
	  }
	  .jb-card__title {
		font-size: 13px;
	  }
	  .jb-card__arrow {
		width: 20px;
		height: 20px;
		}
.jb-card__arrow-p{
	font-size: 10px;

  }
  .jb-card__body {
	font-size: 10px;

  }
}
/*CSS для раздела засто задаваемые вопросы*/
.jb-faq {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    margin: 25px 0;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}
.jb-faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.jb-faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.jb-faq-item h3 {
    color: #dc3545;
    font-size: 18px;
    margin-bottom: 10px;
}


.jb-header-1 {
	font-size: 20px;
	margin-top: 0;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    margin-bottom: 20px;
}
@media screen and (max-width: 576px) {
	.jb-header-1 {
	    font-size: 18px;
		font-weight: 400;
		margin-bottom: 15px;
	}
}
@media screen and (max-width: 300px) {
	.jb-header-1 {
		font-size: 16px;
		font-weight: 300;
	    line-height: 1.3;
		margin-bottom: 10px;
	}
}
