.section-before-after-group {
    padding: 10px 0 60px 0;
    /*background: var(--gradient-beige); * bug fix*/
    position: relative;
}

.section-before-after-group .h1-title-wrap {
    margin: 20px auto;
}

.section-before-after-group .h1-title-line {
    width: 50%;
}


.section-before-after-group .body .h1-title-line {
    width: 18%;
}

.section-before-after-group .breast .h1-title-line {
    width: 18%;
}

.section-before-after-group .face .h1-title-line {
    width: 18%;
}


.section-before-after-group  .anounce_info {
    text-align: center;
}


.section-before-after-group .info-block-card-alt {
    background: var(--color-white);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-beige-dark);
}

.section-before-after-group .info-block-card-alt:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 69, 16, 0.1);
}

.section-before-after-group .info-block-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-white);
    font-size: 24px;
}

.section-before-after-group .info-block-card-alt h3 {
    font-family: var(--font-heading);
    color: var(--color-brown);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.section-before-after-group .info-block-card-alt p {
    font-size: 0.95rem;
    color: var(--color-maintext);
    line-height: 1.6;
}



/* Основная карточка */
.section-before-after-group .info-block-card {
    width: auto;
    /*padding: 10px;* bug fix */
    background: #f4efe9;
    border-radius: 25px 25px 25px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin: 20px auto;    
}

.section-before-after-group .info-block-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 105, 20, 0.1); /* Наследование цвета brown */
    border-color: #c4a35a; /* Наследование gold */
}

.section-before-after-group .info-block-inner {
    position: relative;
    /*padding: 30px 20px 25px;* bug fix */
    text-align: center;
    height: 400px;
    border: 1px solid #d6bfa3;
    border-radius: 20px 20px 20px 20px;    
}

.section-before-after-group .info-block-group .info-block-inner::before {
  content: "";
  position: absolute;
  inset: 8px;
  /*border: 1px solid #e3d3bf;*/
  border-radius: 15px 15px 15px 15px;
}

/* Иконка */

.section-before-after-group .info-block-inner .icon {
    border-radius: 20px 20px 20px 20px;
    width: 290px;
    height: 224px;
    margin:5px auto;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;    
}

.section-before-after-group .info-block-inner .face1 {
    background-image: url("/ND0/images/body/before_after/face1.png");
}

.section-before-after-group .info-block-inner .face2 {
    background-image: url("/ND0/images/body/before_after/face2.png");
}

.section-before-after-group .info-block-inner .face3 {
    background-image: url("/ND0/images/body/before_after/face3.png");
}

.section-before-after-group .info-block-inner .face4 {
    background-image: url("/ND0/images/body/before_after/face4.png");
}

.section-before-after-group .info-block-inner .face5 {
    background-image: url("/ND0/images/body/before_after/face5.png");
}

.section-before-after-group .info-block-inner .face6 {
    background-image: url("/ND0/images/body/before_after/face6.png");
}

.section-before-after-group .info-block-inner .face7 {
    background-image: url("/ND0/images/body/before_after/face7.png");
}






.section-before-after-group .info-block-inner .breast1 {
    background-image: url("/ND0/images/body/before_after/breast1.png");
}

.section-before-after-group .info-block-inner .breast2 {
    background-image: url("/ND0/images/body/before_after/breast2.png");
}

.section-before-after-group .info-block-inner .breast3 {
    background-image: url("/ND0/images/body/before_after/breast3.png");
}

.section-before-after-group .info-block-inner .breast4 {
    background-image: url("/ND0/images/body/before_after/breast4.png");
}




.section-before-after-group .info-block-inner .body1 {
    background-image: url("/ND0/images/body/before_after/body1.png");
}

.section-before-after-group .info-block-inner .body2 {
    background-image: url("/ND0/images/body/before_after/body2.png");
}

.section-before-after-group .info-block-inner .body3 {
    background-image: url("/ND0/images/body/before_after/body3.png");
}

.section-before-after-group .info-block-inner .body4 {
    background-image: url("/ND0/images/body/before_after/body4.png");
}

.section-before-after-group .info-block-inner .body5 {
    background-image: url("/ND0/images/body/before_after/body5.png");
}

.section-before-after-group .info-block-inner .body6 {
    background-image: url("/ND0/images/body/before_after/body6.png");
}

.section-before-after-group .info-block-inner .body7 {
    background-image: url("/ND0/images/body/before_after/body7.png");
}


.section-before-after-group .info-block-card a:hover {
    text-decoration: none;
}


.section-before-after-group .info-block-inner .icon img {
    width: 96%;
    display: block;
    margin: 10px 8px 15px 8px;
}

/* Основной текст (Заголовок) */
.section-before-after-group .info-block-inner .info-block-text-main {
    font-size: 19px;
    font-family: var(--font-heading);
    color: #5a4632;
    padding: 0px 10px 10px 10px;
    text-align: left;
}

.section-before-after-group .step-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
}

/* Подстрочный текст (Описание) */
.section-before-after-group .info-block-inner .info-block-text-sub {
    font-size: 14px;
    color: #25170E;
    line-height: 1.4;
    margin-bottom: 18px;
    text-align: left;
    padding: 0px 10px 10px 10px;
}

/* --- Адаптивность для блока surgery --- */

.section-before-after-group .btn-more-info {
  text-align: center;
  margin-top: 20px;
}

.section-before-after-group .btn-more {
    display: inline-block;
    font-weight: 500;
    padding: 12px 35px;
    border-radius: 30px;
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #6D3F00;
    text-decoration: none;
    transition: 0.3s;
}

.section-before-after-group .btn-more:hover {
    background-color: #c6a47a;
    color: #fff;
    text-decoration: none;
}

.bg-sky-star {
    background-image: url("/ND0/images/body/bg_sky_star.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

@media (max-width: 991px) {
    .section-before-after-group .info-block-group {
        gap: 15px;
        padding: 0 10px;
    }

    .section-before-after-group .info-block-card {
        padding: 20px 15px;
        min-width: 100%; /* На мобильных карточки в одну колонку */
    }

    .section-before-after-group .info-block-inner .info-block-text-main {
        font-size: 18px;
    }

    .section-before-after-group .info-block-inner .info-block-text-sub {
        font-size: 13px;
    }
    .section-before-after-group .info-block-inner {
    height: 370px;
    }   
    .section-before-after-group .h1-title-text {
    font-size: 38px;
    background: none;
    }
    .section-before-after-group .h1-title-line {
        display: none;
    }    
}






@media (max-width: 768px) {
    .section-before-after-group .info-block-group {
        gap: 15px;
        padding: 0 10px;
    }

    .section-before-after-group .info-block-card {
        padding: 20px 15px;
        min-width: 100%; /* На мобильных карточки в одну колонку */
    }

    .section-before-after-group .info-block-inner .info-block-text-main {
        font-size: 18px;
    }

    .section-before-after-group .info-block-inner .info-block-text-sub {
        font-size: 13px;
    }
}

/* --- Адаптивность (Объединенная) --- */

@media (max-width: 768px) {
    .section-before-after-group {
        padding: 50px 0;
    }

    .section-before-after-group .info-block-card-alt {
        padding: 20px 15px;
        margin-bottom: 20px; /* Добавлено для разделения карточек в стеке */
    }

    .section-before-after-group .info-block-card-alt h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .section-before-after-group .info-block-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
}