/*
 * Stilurile paginilor rămase în designul vechi, extrase din style.css-ul temei
 * vechi: „Turism dentar” și „Dantură Fixă pe implanturi”.
 *
 * Pe site-ul vechi cele două pagini încărcau exact același stylesheet și
 * împărțeau același vocabular de secțiuni (`.hero`, `.section-4`, `.btn-brown`,
 * grila Bootstrap). Fișierul ăsta e acel style.css, curățat: doar selectorii
 * care ating efectiv markup-ul lor, fiecare prefixat cu `.legacy-page` ca să nu
 * atingă restul temei. Selectorii care în tema veche erau ancorați pe clasa de
 * body (`.page-template-turism …`) sau pe wrapper (`.turism__template …`) sunt
 * rescriși pe aceeași rădăcină.
 *
 * Numele „legacy”, nu „turism”: fișierul a pornit de la o singură pagină, dar
 * serveşte acum tot ce a rămas în designul vechi. Dispare când ultima dintre
 * ele trece pe designul nou.
 *
 * Nu sunt incluse regulile pentru antet, subsol, butoanele fixe de contact,
 * modal și formularul CF7: pe acelea tema nouă le are pe ale ei, iar pagina le
 * folosește pe cele comune.
 *
 * Ordinea din interior e cea din style.css, ca să se păstreze cascada.
 */
@layer legacy {

  /*
   * Variabilele de culoare ale temei vechi. Fără ele, reguli ca
   * `.hero { background-color: var(--color-gray) }` rămân fără valoare și
   * elementul iese transparent. Sunt ținute pe `.legacy-page`, nu pe `:root`,
   * ca să nu ajungă la restul temei.
   */
  .legacy-page {
    --color-white: #fff;
    --color-brown: #978667;
    --color-black: #333;
    --color-gray: #e7e7e7;
    --color-dark-gray: #4f4f4f;
  }

  /*
   * Regulile pe elemente simple din style.css care supraviețuiau reboot-ului
   * Bootstrap pe site-ul vechi. Extractorul le-a sărit (păstra doar selectorii
   * cu clase), dar fără ele toate paragrafele pagini ies de 16px, nu de 20.
   *
   * Din `h1 { font-size: 50px; font-weight: bold … }` rămâne doar culoarea:
   * mărimea și grosimea le bătea Bootstrap, încărcat după style.css.
   *
   * `:not(… *)` le ține departe de componentele temei noi randate în pagină
   * (recenzii, formular, hartă), care au tipografia lor. E învelit în
   * `:where()` ca să nu adauge specificitate: altfel `a:not(…)` ar bate
   * `.btn-brown` și butoanele ar lua culoarea linkurilor.
   */
  .legacy-page p:where(:not(:is(.reviews-block, .contact-form, .contacts) *)) {
    font-size: 20px;
    line-height: 1.4;
  }

  .legacy-page a:where(:not(:is(.reviews-block, .contact-form, .contacts) *)) {
    font-size: 18px;
    line-height: 28px;
  }

  /* Excepția e cea folosită mai jos pentru dimensiunea lui h2 și în
     turism-grid.css pentru culoarea linkurilor: componentele temei încastrate
     în pagina portată își păstrează culorile proprii. Fără ea, titlul alb al
     formularului de contact devenea #333 pe fundalul lui întunecat. */
  .legacy-page :is(h1, h2):where(:not(:is(.reviews-block, .contact-form, .contacts) *)) {
    color: var(--color-black);
  }

  @media (min-width: 1024px) and (max-width: 1250px) {
    .legacy-page h2:where(:not(:is(.reviews-block, .contact-form, .contacts) *)) {
      font-size: 34px;
    }
  }

  /*
   * Înălțimile videourilor veneau din atributele `height="600"` / `"400"`.
   * Reset-ul temei noi pune `height: auto`, care bate atributul, și videoul
   * ia forma poster-ului. Le fixăm aici.
   */
  .legacy-page .hero_video video {
    height: 600px;
  }

  .legacy-page .section9 video {
    height: 400px;
  }

  /*
   * În tema veche aici era poster-ul ca imagine, cu link spre video în
   * fancybox; acum e videoul direct, cu același poster, pe aceeași lățime.
   */
  .legacy-page .tarife_turism video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
  }
  .legacy-page .turist_gall .single_image:nth-child(10), .legacy-page .turist_gall .single_image:nth-child(11), .legacy-page .turist_gall .single_image:nth-child(12), .legacy-page .turist_gall .single_image:nth-child(13), .legacy-page .turist_gall .single_image:nth-child(14) {
    display: none;
  }
  .legacy-page .form_date {
    display: none;
  }
  .legacy-page .galerie_pacienti.turist_gall {
    margin: 0;
  }
  .legacy-page .galerie_pacienti .single_image {
    margin-bottom: 30px;
  }
  .legacy-page .last_confirmation .col-12 p {
    text-align: center;
    margin-top: 30px;
    font-size: 25px;
    font-weight: 600;
  }
  .legacy-page .de_ce_list .col-md-4 {
    -ms-flex: 0 0 calc(33.333333% - 30px);
    flex: 0 0 calc(33.333333% - 30px);
    max-width: calc(33.333333% - 30px);
    margin: 0 15px 80px;
    border: 1px solid #dddddd;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
  }
  .legacy-page .de_ce_list .col-md-4 h5 {
    font-size: 22px;
    font-weight: 600;
    line-height: 32px;
    margin-bottom: 20px;
  }
  .legacy-page .de_ce_list .col-md-4 p {
    margin-bottom: 0;
  }
  .legacy-page .de_ce .title_section {
    margin-bottom: 80px;
  }
  .legacy-page .de_ce_cta {
    margin-top: -40px;
    padding: 15px;
  }
  .legacy-page .container.banner_cta_2 {
    padding: 0 30px;
  }
  .legacy-page .de_ce_cta h4 {
    margin-bottom: 40px;
    color: #978667;
    font-weight: 700;
    line-height: 1.4;
    font-size: 30px;
  }
  .legacy-page .de_ce_list img {
    width: 75px;
    background: #978667;
    border-radius: 20px;
    margin-top: -60px;
    margin-bottom: 30px;
    padding: 10px;
  }
  .legacy-page .banner1 {
    padding: 100px 0;
    background-position: center;
    background-size: cover;
    position: relative;
  }
  .legacy-page .banner_content p {
    color: white;
    font-size: 34px;
    position: relative;
    margin-bottom: 50px;
  }
  .legacy-page .banner_content p span {
    font-weight: 700;
  }
  .legacy-page .banner1:before {
    background: #24262dd4;
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  .legacy-page .turism_case {
    background-color: var(--color-gray);
    padding: 80px 0;
  }
  .legacy-page .clinic_numbers {
    background-color: var(--color-gray);
    padding: 80px 0 90px;
  }
  .legacy-page .single_numb p {
    font-weight: 600;
  }
  .legacy-page .single_numb p span {
    font-size: 40px;
    font-weight: 700;
    color: #978667;
    margin-right: 5px;
  }
  .legacy-page .hero_price {
    font-size: 30px;
    font-weight: 700;
    margin-top: 20px;
  }
  .legacy-page .hero_price span {
    color: #978667;
    border-bottom: 3px solid;
  }
  .legacy-page.legacy-turism .h4-hero {
    margin-top: 30px;
  }
  .legacy-page.legacy-turism .button-info {
    padding: 20px 0px;
    font-size: 18px;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: block;
    width: 100%;
  }
  .legacy-page.legacy-turism .button-info:hover {
    border: 0;
    background: transparent;
    color: inherit;
  }
  .legacy-page.legacy-turism .informatii .col-md-3:hover {
    color: var(--color-black);
    border: 1px solid var(--color-brown);
    background: var(--color-gray);
    transition: 0.4s;
  }
  .legacy-page.legacy-turism .informatii {
    padding: 0 35px;
  }
  .legacy-page.legacy-turism .informatii .col-md-3 {
    background: var(--color-white);
    border: 1px solid var(--color-brown);
    border-radius: 20px;
    -ms-flex: 0 0 calc(25% - 30px);
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: 0.4s;
  }
  .legacy-page .banner_2 {
    border-radius: 20px;
    padding: 100px 30px;
    position: relative;
    background: #24262d;
  }
  .legacy-page .banner_2 h2, .legacy-page .banner_2 p {
    color: white;
    position: relative;
  }
  .legacy-page .banner_2 p {
    margin-bottom: 50px;
  }
  .legacy-page .numbers {
    border-top: 1px solid #a3a3a3;
    padding-top: 40px;
    margin-top: 50px;
  }
  .legacy-page .clinic_numbers .d-flex {
    align-items: center;
  }
  .legacy-page .tarife_turism img {
    width: 100%;
  }
  .legacy-page .col__etape {
    text-align: center;
    -ms-flex: 0 0 calc(33.3333% - 30px);
    flex: 0 0 calc(33.3333% - 30px);
    max-width: calc(33.3333% - 30px);
    margin: 0 15px 30px;
    border-radius: 20px;
    border: 1px solid;
    position: relative;
    padding: 40px;
  }
  .legacy-page .steps_treatment {
    justify-content: center;
  }
  .legacy-page .steps_turism .col__etape img {
    width: 70px;
    margin-bottom: 30px;
  }
  .legacy-page .steps_turism .col__etape h6 {
    margin-bottom: 0;
  }
  .legacy-page .col__etape::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 54px;
    background-image: url('https://magnumdent.md/wp-content/uploads/2024/07/arrow-next.svg');
    top: 50%;
    right: -37px;
    color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
    transform: translateY(-50%);
    opacity: 0.5;
  }
  .legacy-page .banner_4_content {
    padding: 100px 30px;
    position: relative;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
  }
  .legacy-page .banner_4_content:before {
    background: #24262dd4;
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 20px;
  }
  .legacy-page .price_single {
    display: flex;
    align-items: baseline;
  }
  .legacy-page .price_col3 {
    -ms-flex: 0 0 calc(33.3333% - 30px);
    flex: 0 0 calc(33.3333% - 30px);
    max-width: calc(33.3333% - 30px);
    margin: 0 15px 30px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    background: #e9e9e9;
  }
  .legacy-page .price_col {
    border-radius: 20px;
    padding: 30px;
    position: relative;
    background: #24262d;
    color: white;
    -ms-flex: 0 0 calc(50% - 30px);
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    margin: 0 15px 30px;
  }
  .legacy-page .btn_banner {
    margin-top: 50px;
  }
  .legacy-page .price_col3 p {
    margin-bottom: 0;
  }
  .legacy-page .price_col3 p del {
    color: #8d8d8d;
    font-size: 22px;
  }
  .legacy-page .price_single p del {
    color: #777777;
    font-size: 22px;
  }
  .legacy-page .price_col3 .price_title {
    font-size: 28px;
    margin-bottom: 20px;
    color: #978667;
    margin-top: 20px;
  }
  .legacy-page .price_col3 ul {
    padding-left: 20px;
    list-style: none;
  }
  .legacy-page .price_col ul {
    padding-left: 30px;
    list-style: none;
  }
  .legacy-page .price_col3 ul li, .legacy-page .price_col ul li {
    position: relative;
    font-size: 18px;
    margin-bottom: 2px;
  }
  .legacy-page .price_col3 ul li:before {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2023/08/Vector-1.svg');
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    left: -21px;
    top: 6px;
    filter: invert(1);
    opacity: 0.6;
  }
  .legacy-page .price_col ul li:before {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2023/08/Vector-1.svg');
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    left: -31px;
    top: 6px;
    opacity: 0.6;
  }
  .legacy-page .price_title {
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 10px;
  }
  .legacy-page .price_single h6, .legacy-page .price_col3 h6 {
    font-size: 30px;
    margin-bottom: 0;
    margin-right: 15px;
    font-weight: 700;
  }
  .legacy-page .banner_4_content p {
    font-size: 30px;
    text-align: center;
    margin-bottom: 0;
    color: white;
    position: relative;
  }
  .legacy-page .banner_4_content p br {
    content: "";
    margin: 2em;
    display: block;
    font-size: 24%;
  }
  .legacy-page .cta_text_step {
    margin-top: 50px;
  }
  .legacy-page .cta_text_step h5 {
    font-weight: 600;
    font-size: 24px;
    line-height: 1.4;
  }
  .legacy-page .cta_text_step .btn {
    padding: 12px 40px;
  }
  .legacy-page .col__etape:nth-child(3)::after, .legacy-page .col__etape:nth-child(6)::after, .legacy-page .col__etape:nth-child(8)::after {
    display: none;
  }
  .legacy-page .experience_turism .d-flex {
    justify-content: center;
  }
  .legacy-page .img_doctor img {
    border-radius: 20px;
    width: 100%;
    height: 700px;
    object-fit: cover;
  }
  .legacy-page .about_doctor p strong {
    color: var(--color-brown);
    display: block;
    margin-bottom: 30px;
    margin-top: -10px;
  }
  .legacy-page .testimonials.text-center h2 {
    margin-bottom: 10px;
  }
  .legacy-page .testimonials.text-center .description {
    margin-bottom: 40px;
  }
  .legacy-page .img_star_rating {
    width: 75px;
    margin-top: 3px;
    margin-left: 10px;
  }
  .legacy-page .client_image {
    border-radius: 50%;
    height: 40px;
    object-fit: cover;
  }
  .legacy-page .testimonial_content h5 {
    font-size: 14px;
    margin-bottom: 0px!important;
    padding-left: 10px;
    margin-top: -5px;
    font-weight: 700;
  }
  .legacy-page .intro_reviews {
    margin-bottom: 15px;
  }
  .legacy-page .hero_section .container {
    text-align: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
  }
  .legacy-page .descriere .col-lg-3:hover {
    background-color: #978667;
    cursor: pointer;
    transition: 0.5s;
  }
  .legacy-page .descriere .col-lg-3 {
    background-color: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    z-index: 2;
    -ms-flex: 0 0 calc(25% - 30px);
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
    margin: 0 15px;
    transition: 0.5s;
  }
  .legacy-page .case_content .container {
    background-color: #fff;
    z-index: 9;
    position: relative;
    padding: 40px 40px 20px 40px;
    -webkit-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
  }
  .legacy-page .descriere .col-lg-3 p {
    line-height: 20px;
  }
  .legacy-page .contact__template form .col-lg-6:nth-child(1) {
    padding-right: 7px;
  }
  .legacy-page .contact__template form .col-lg-6:nth-child(2) {
    padding-left: 7px;
  }
  .legacy-page .contact_content .d-flex {
    justify-content: space-around;
  }
  .legacy-page .hero_section .btn {
    margin-top: 30px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 12px 25px 12px 25px;
    font-weight: 600;
    font-size: 15px;
    line-height: 25px;
  }
  .legacy-page .hero_section .btn:hover {
    border: 2px solid #4b514d;
    background-color: #4b514d;
    color: white;
  }
  .legacy-page .video2_block .d-flex .col-md-6 {
    margin-bottom: 20px;
  }
  .legacy-page .section_intro .d-flex {
    margin: 30px -15px 0;
  }
  .legacy-page .doctor_section.doc2 .d-flex:nth-child(2) {
    flex-direction: row-reverse;
    margin-top: 80px;
  }
  .legacy-page .servicii-template-igienizare .doctor_section .d-flex:nth-child(2) {
    flex-direction: row-reverse;
    margin: 80px auto;
  }
  .legacy-page .btn.btn-magnum {
    margin-top: 30px;
    color: #fff;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 50px;
    padding: 12px 25px 12px 25px;
    font-weight: 600;
    font-size: 15px;
    line-height: 25px;
    transition: 0.3s;
  }
  .legacy-page .btn.btn-magnum:hover {
    border: 2px solid #4b514d;
    background-color: #4b514d;
    color: white;
  }
  .legacy-page .small_text {
    color: #ebd7b2;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
  }
  .legacy-page .video_block .container {
    width: 1100px;
    margin: auto;
  }
  .legacy-page .title_section {
    margin-bottom: 30px;
  }
  .legacy-page .section_content {
    text-align: center;
    position: relative;
    z-index: 9;
  }
  .legacy-page .section_content h2 {
    color: var(--color-black);
  }
  .legacy-page .section_content .pacienti_subtitle {
    font-size: 22px;
    color: var(--color-black);
  }
  .legacy-page .contact_content .col-lg-4 {
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    padding: 50px 40px;
  }
  .legacy-page .contact_content .cta_23 {
    max-width: 1000px;
    margin: 70px auto 0;
  }
  .legacy-page .galerie_pacienti {
    margin: 80px auto 40px;
  }
  .legacy-page .play-video-yt {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80px;
    -webkit-transition: 0.25s;
    -o-transition: 0.25s;
    transition: 0.25s;
    border-radius: 50%;
    cursor: pointer;
    height: 80px;
    border: none;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-delay: 0.2s;
    transform: translate(-50%, -50%);
  }
  .legacy-page .play-video-yt:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: url('/wp-content/uploads/2023/08/youtube-1.svg');
    background-repeat: no-repeat;
    background-size: cover;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .legacy-page .single_image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
  }
  .legacy-page .price_item.d-flex {
    justify-content: space-between;
    align-items: center;
  }
  .legacy-page .price_item.d-flex p {
    width: 20%;
    margin-bottom: 0;
    text-align: right;
    font-size: 24px;
    line-height: 32px;
  }
  .legacy-page .price_list .btn {
    border-radius: 50px;
    margin-top: 30px;
  }
  .legacy-page .content {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .legacy-page .section-16 .all_services {
    margin-top: 30px;
  }
  .legacy-page .team_member .all_services, .legacy-page .infrastructura_clinicii .all_services {
    margin-top: 40px;
  }
  .legacy-page .content .all_services {
    margin-top: 20px;
  }
  .legacy-page .section-2 .carousel__arrow_dir_left, .legacy-page .section-2 .carousel__arrow_dir_right {
    bottom: -40px;
  }
  .legacy-page .google-fb-testimoniale .small_text {
    color: #978667;
  }
  .legacy-page .hero .cta .btn {
    padding: 12px 20px 12px;
  }
  .legacy-page .review_contn {
    font-size: 16px;
    line-height: 26px;
  }
  .legacy-page .testimonial_content {
    background: #fafafa;
    border-radius: 4px;
    box-shadow: 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.24);
    margin: 10px;
    padding: 25px;
    position: relative;
  }
  .legacy-page .section_content {
    margin-bottom: 40px;
  }
  .legacy-page .hero_video video {
    border: 1px solid #978667;
    border-radius: 20px;
  }
  .legacy-page .section-2 .cta_button {
    margin-top: 60px;
  }
  .legacy-page .not_found_page .container {
    background: #ebebeb;
    text-align: center;
  }
  .legacy-page .divider-50 {
    height: 50px;
  }
  .legacy-page .divider-30 {
    height: 30px;
  }
  .legacy-page .divider-60 {
    height: 60px;
  }
  .legacy-page .divider-120 {
    height: 120px;
  }
  .legacy-page .divider-100 {
    height: 100px;
  }
  .legacy-page .divider-80 {
    height: 80px;
  }
  .legacy-page .d-flex {
    flex-wrap: wrap;
  }
  .legacy-page .menu__top.col-md-10 {
    -ms-flex: 0 0 90%;
    flex: 0 0 90%;
    max-width: 90%;
  }
  .legacy-page .divider-120 {
    height: 120px;
  }
  .legacy-page .video__item a:hover .play_icon {
    transform: scale(1.2) translate(-50%, -50%);
    transition: 0.5s;
    top: 51%;
    left: 51%;
  }
  .legacy-page .call_to_action .d-lg-flex {
    background-color: var(--color-brown);
    align-items: center;
    border-radius: 10px;
    padding: 30px 25px;
  }
  .legacy-page .section-5 .section_title {
    max-width: 100%;
    font-weight: 500;
    padding-bottom: 0;
    margin-bottom: 40px;
    margin-top: 20px;
  }
  .legacy-page .section-5 .section_title span {
    color: #000;
    font-weight: 700;
  }
  .legacy-page .section-5 .section_title:after {
    display: none;
  }
  .legacy-page .call_to_action .col-md-5 {
    text-align: right;
  }
  .legacy-page .section_title:after {
    content: '';
    height: 4px;
    width: 100px;
    position: absolute;
    background: var(--color-black);
    z-index: 1;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
  }
  .legacy-page .section_title span {
    color: var(--color-brown);
  }
  .legacy-page .section-4 img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  .legacy-page .avantaje .col-lg-4:before {
    position: absolute;
    background: var(--dark);
    color: white;
    font-size: 25px;
    font-weight: 900;
    border-radius: 10px;
    padding: 7px 13px;
  }
  .legacy-page .avantaje .col-lg-4:nth-child(1):before {
    content: '01';
  }
  .legacy-page .avantaje .col-lg-4:nth-child(2):before {
    content: '02';
  }
  .legacy-page .avantaje .col-lg-4:nth-child(3):before {
    content: '03';
  }
  .legacy-page .avantaje .col-lg-4:nth-child(4):before {
    content: '04';
  }
  .legacy-page .avantaje .col-lg-4:nth-child(5):before {
    content: '05';
  }
  .legacy-page .avantaje .col-lg-4:nth-child(6):before {
    content: '06';
  }
  .legacy-page .team_photo {
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: top;
  }
  .legacy-page .single_team {
    text-align: center;
    padding-top: 20px;
  }
  .legacy-page .single_team h6, .legacy-page .single_team p {
    margin-bottom: 0;
  }
  .legacy-page .single_team h6 {
    font-size: 20px;
  }
  .legacy-page .single_team p {
    font-size: 18px;
  }
  .legacy-page .section-19 .team_photo {
    border-radius: 20px;
    height: 500px;
  }
  .legacy-page .team_row {
    margin-top: 50px;
  }
  .legacy-page .section_title span span {
    padding: 0;
    color: var(--color-brown);
  }
  .legacy-page .section_title {
    position: relative;
    padding-bottom: 25px;
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }
  .legacy-page .section6 .cta_button {
    margin-top: 50px;
  }
  .legacy-page .why_choose .col-lg-4 {
    margin-bottom: 30px;
  }
  .legacy-page .why_choose {
    justify-content: center;
  }
  .legacy-page .section3 .cta_button {
    margin-top: 20px;
  }
  .legacy-page .section12 .col-lg-3 {
    padding-right: 0;
  }
  .legacy-page .section12 .d-flex {
    margin-top: 40px;
  }
  .legacy-page .phone_button .social_btn {
    background: #C43C3C;
  }
  .legacy-page .whatsapp_button .social_btn {
    background: #25D366;
  }
  .legacy-page .messenger_button .social_btn {
    background: #186AE6;
  }
  .legacy-page .phone_button .social_btn a img {
    width: 22px;
  }
  .legacy-page .photo_gallery {
    margin-top: 20px;
  }
  .legacy-page .accordion {
    padding: 0;
  }
  .legacy-page .accordion {
    margin-top: 50px;
  }
  .legacy-page .dentures_section6 .whatsapp_button {
    margin-top: 25px;
  }
  .legacy-page #before-after .col-lg-4 {
    margin-bottom: 30px;
    padding: 0;
  }
  .legacy-page ul.tabs {
    margin: 0;
    padding: 0px;
    list-style: none;
    height: 55px;
    border-bottom: 1px solid var(--color-brown);
    width: 100%;
  }
  .legacy-page ul.tabs li {
    float: left;
    margin: 0;
    cursor: pointer;
    line-height: 60px;
    color: #ccc;
    overflow: hidden;
    position: relative;
    font-weight: 700;
    font-size: 22px;
    margin-left: 40px;
  }
  .legacy-page ul.tabs li:first-child {
    margin-left: 0;
  }
  .legacy-page ul.tabs li:hover {
    color: var(--dark);
    transition: 0.3s;
  }
  .legacy-page ul.tabs li.active {
    color: var(--dark);
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 55px;
    transition: 0.3s;
  }
  @media (min-width: 1200px) {
    .legacy-page .container {
      max-width: 1440px;
    }
  }
  @media only screen and (max-width: 1199px) {
    .legacy-page .container {
      max-width: 100%;
    }
  }
  .legacy-page .steps .col-lg-4 {
    border: 1px solid  var(--color-brown);
    border-radius: 10px;
    padding-bottom: 20px;
  }
  .legacy-page .steps .col-lg-4 {
    flex: 0 0 31.333333%;
    max-width: 31.333333%;
    margin: 0 1%;
  }
  .legacy-page .appointment:hover {
    cursor: pointer;
  }
  .legacy-page .video__item {
    position: relative;
  }
  .legacy-page #vid-gallery .video__item {
    padding: 12px;
    border-bottom: 1px solid #393939;
  }
  .legacy-page .video__item p {
    position: absolute;
    width: 90%;
    left: 5%;
    z-index: 9;
    bottom: -8px;
    text-decoration: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    font-family: 'Roboto';
    background: rgb(191 162 119 / 90%);
    white-space: break-spaces;
    line-height: 22px;
    padding: 5px;
    border-radius: 5px;
    transition: 0.5s;
  }
  .legacy-page .video__item svg {
    opacity: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin: auto;
    background: #fff;
    border-radius: 100%;
    padding: 5px;
    transition: 1s;
  }
  .legacy-page .video__item a:hover svg {
    opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transform: translatey(-50%);
    transition: 0.5s;
  }
  .legacy-page .video__item a:hover p {
    bottom: -15px;
    transition: 0.5s;
  }
  .legacy-page #vid-gallery .gallery-video {
    width: 33%;
    background: #232323;
    height: 500px;
    overflow-y: auto;
  }
  .legacy-page .video__block .gallery-main iframe, .legacy-page .video__block .gallery-main-2 iframe {
    width: 100%;
    min-height: 500px;
    height: 500px;
    border: 0;
  }
  .legacy-page #vid-gallery .video__item {
    padding: 12px;
    border-bottom: 1px solid #393939;
    position: relative;
  }
  .legacy-page .video__item.active {
    background: #525252;
  }
  .legacy-page .video__block .gallery-item .media, .legacy-page .video__block .gallery-item-2 .media-2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  .legacy-page .video__block .gallery-item .media-body, .legacy-page .video__block .gallery-item-2 .media-body {
    width: 100%;
    padding-left: 15px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box!important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: calc(100% - 72px);
    font-size: 13px;
    line-height: 18px;
    text-align: left;
  }
  .legacy-page .video__item.active .media-img img {
    border: 1px solid red;
  }
  .legacy-page .accordion-single-item {
    border-bottom: 1px solid var(--color-gray);
  }
  .legacy-page .accordion-single-item.is-open {
    border-bottom: 1px solid var(--color-brown);
  }
  .legacy-page .accordion-single-item.is-open .accordion-single-title-faq {
    color: var(--color-brown);
  }
  .legacy-page .accordion-single-title-faq:hover {
    cursor: pointer;
  }
  .legacy-page .accordion button[aria-expanded="true"] {
    border-bottom: 1px solid var(--color-brown);
  }
  .legacy-page .accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: var(--color-black);
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
  }
  .legacy-page .accordion button:hover, .legacy-page .accordion button:focus {
    cursor: pointer;
    color: var(--color-brown);
  }
  .legacy-page .accordion button:hover::after, .legacy-page .accordion button:focus::after {
    cursor: pointer;
    color: var(--color-brown);
    border: 1px solid var(--color-brown);
  }
  .legacy-page .accordion .accordion-title {
    padding: 1em 1.5em 1em 0;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
  }
  .legacy-page .accordion .icon {
    display: inline-block;
    position: absolute;
    top: 28px;
    right: 0;
    width: 28px;
    height: 28px;
    border: 1px solid;
    border-radius: 22px;
  }
  .legacy-page .accordion .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 12px;
    left: 8px;
    width: 10px;
    height: 2px;
    background: currentColor;
  }
  .legacy-page .accordion .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 8px;
    left: 12px;
    width: 2px;
    height: 10px;
    background: currentColor;
  }
  .legacy-page .accordion button[aria-expanded="true"] {
    color: var(--color-brown);
  }
  .legacy-page .accordion .is-open .icon::after {
    width: 0;
  }
  .legacy-page .accordion button[aria-expanded="true"] + .accordion-content {
    opacity: 1;
    max-height: 9em;
    transition: all 200ms linear;
    will-change: opacity, max-height;
  }
  .legacy-page .accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
  }
  .legacy-page .accordion-single-content-faq {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 2em 0;
  }
  .legacy-page .container {
    max-width: 1440px;
  }
  .legacy-page .d-flex {
    flex-wrap: wrap;
  }
  .legacy-page .btn {
    padding: 12px 30px 12px;
    border-radius: 1px;
    font-size: 18px;
    position: relative;
    top: 0;
    cursor: pointer;
    transition: background-color ease 0.5s;
  }
  .legacy-page .btn-brown {
    color: var(--color-white);
    border: 1px solid var(--color-brown);
    background: var(--color-brown);
  }
  .legacy-page .btn-brown:hover {
    color: var(--color-black);
    border: 1px solid var(--color-brown);
    background: var(--color-gray);
  }
  .legacy-page .btn-white {
    color: var(--color-black);
    border: 1px solid var(--color-brown);
    background: transparent;
  }
  .legacy-page .btn-white:hover {
    color: var(--color-white);
    border: 1px solid var(--color-brown);
    background: var(--color-brown);
  }
  .legacy-page .cta .btn-brown {
    margin-right: 20px;
  }
  .legacy-page .button-info {
    color: var(--color-brown);
    background: var(--color-white);
    border: 1px solid var(--color-brown);
    padding: 30px 10px;
    border-radius: 23px;
    font-size: 22px;
    font-weight: 500;
    transition: background-color ease 0.5s;
    display: block;
    text-transform: uppercase;
  }
  .legacy-page .button-info:hover {
    color: var(--color-black);
    border: 1px solid var(--color-brown);
    background: var(--color-gray);
    text-decoration: none;
  }
  .legacy-page .hero {
    background-color: var(--color-gray);
    background-repeat: no-repeat;
    background-position: center right;
    padding-top: 60px;
    padding-bottom: 110px;
  }
  .legacy-page .row-hero {
    align-items: center;
  }
  .legacy-page .row-hero h3 {
    font-size: 23px;
    line-height: 1.4;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--color-dark-gray);
    font-weight: 400;
  }
  .legacy-page .row-hero h3 span {
    color: #000;
    font-weight: 700;
  }
  .legacy-page .h4-hero {
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 18px;
    color: var(--color-dark-gray);
  }
  .legacy-page .hero h1 span {
    color: var(--color-brown);
  }
  .legacy-page .h4-hero span {
    color: #000;
    font-weight: 700;
  }
  .legacy-page .section-2 {
    text-align: center;
    background: #e7e7e7;
    padding: 80px 0;
  }
  .legacy-page .informatii {
    transform: translateY(-40px);
  }
  .legacy-page .section-4 {
    text-align: center;
  }
  .legacy-page .p4sec-4 {
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
  }
  .legacy-page .section-7 .section_title {
    max-width: 100%;
    font-weight: 400;
    margin-bottom: 15px;
  }
  .legacy-page .section-7 .section_title:after {
    display: none;
  }
  .legacy-page .section-7 .section_title span {
    display: block;
    margin-top: 5px;
    font-weight: 700;
  }
  .legacy-page .section-7 .d-flex {
    align-items: center;
  }
  .legacy-page .allon-1 {
    background-color: var(--color-gray);
    border-radius: 20px;
    margin-right: 2%;
    max-width: 40%;
    -ms-flex: 0 0  40%;
    flex: 0 0  40%;
  }
  .legacy-page .section-10 .d-flex {
    justify-content: center;
  }
  .legacy-page .allon-2 {
    background-color: var(--color-gray);
    border-radius: 20px;
    margin-left: 2%;
    max-width: 40%;
    -ms-flex: 0 0  40%;
    flex: 0 0  40%;
  }
  .legacy-page .allon-title {
    font-weight: 700;
    text-align: center;
  }
  .legacy-page .allon-text {
    font-size: 20px;
    padding-top: 20px;
    text-align: center;
    margin-bottom: 50px;
  }
  .legacy-page .allon-text span {
    font-weight: 700;
  }
  .legacy-page .allon-img {
    height: 240px;
    max-height: 240px;
    object-fit: cover;
    width: auto;
  }
  .legacy-page .section-10 .col-md-5 {
    padding: 50px 40px 70px;
  }
  .legacy-page .section-14 .btn-brown {
    margin-top: 20px;
  }
  .legacy-page .section-13 .section_title span {
    display: block;
  }
  .legacy-page .section-14 img {
    width: 55px;
  }
  .legacy-page .section-14 .d-flex {
    justify-content: center;
    margin-top: 50px;
  }
  .legacy-page .section-14 .section_title {
    margin-bottom: 40px;
  }
  .legacy-page .section-18 .btn-white {
    margin-top: 20px;
  }
  .legacy-page .item-sec-14 p {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 28px;
  }
  .legacy-page .item-sec-14 .row {
    margin-bottom: 0;
  }
  .legacy-page .video_frame video {
    height: 500px!important;
  }
  .legacy-page .section-14 .item-sec-14 {
    margin: 0 15px 30px;
    -ms-flex: 0 0 calc(33.333333% - 30px);
    flex: 0 0 calc(33.333333% - 30px);
    max-width: calc(33.333333% - 30px);
    padding: 30px 20px;
    background-color: var(--color-gray);
    border-radius: 20px;
  }
  .legacy-page .section-15 .single_media {
    padding: 0 15px;
  }
  .legacy-page .section-15 .single_media img {
    border-radius: 20px;
  }
  .legacy-page .section-16 .btn-brown {
    margin-top: 30px;
  }
  .legacy-page .section-16 .item-sec-16 img {
    height: 75px;
  }
  .legacy-page .item-sec-16 h6 {
    color: #000;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
  }
  .legacy-page .item-sec-16 {
    margin: 0 7px 20px;
    -ms-flex: 0 0 calc(25% - 14px);
    flex: 0 0 calc(25% - 14px);
    max-width: calc(25% - 14px);
    border-radius: 20px;
    padding: 30px 15px;
    text-align: center;
    border: 1px solid #978667;
  }
  .legacy-page.legacy-page .item-sec-16 {
    -ms-flex: 0 0 calc(33.3333% - 14px);
    flex: 0 0 calc(33.3333% - 14px);
    max-width: calc(33.3333% - 14px);
  }
  .legacy-page .item-sec-16 p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
  }
  .legacy-page .section-16 .d-flex {
    justify-content: center;
  }
  .legacy-page .section-17 .d-flex {
    align-items: center;
  }
  .legacy-page .section-17 .col-md-4 {
    text-align: right;
  }
  .legacy-page .section-19 .btn-brown {
    margin-top: 50px;
  }
  .legacy-page .section-8 .section_title {
    max-width: 100%;
  }
  .legacy-page .row {
    margin-bottom: 25px;
  }
  .legacy-page .p-2.section-9-content {
    padding-left: 0!important;
    padding-bottom: 0!important;
    line-height: 35px;
    padding-top: 0!important;
    margin-bottom: 50px;
  }
  .legacy-page .p-2.section-9-content span {
    font-weight: 700;
    color: #000;
  }
  .legacy-page .accordion {
    margin-bottom: 50px;
  }
  .legacy-page .section-9 .d-flex {
    align-items: center;
  }
  .legacy-page .presupune-cont {
    padding-left: 50px;
  }
  .legacy-page .section-10 .col-md-6 {
    max-width: 46%;
    -ms-flex: 0 0 46%;
    flex: 0 0 46%;
  }
  .legacy-page .section-10 .section_title span {
    font-weight: 400;
    color: inherit;
  }
  .legacy-page .section-10 .d-flex {
    margin-bottom: 50px;
  }
  .legacy-page .dantura-content .section_title {
    max-width: 100%;
    margin-bottom: 10px;
    color: white;
  }
  .legacy-page .dantura-content .section_title:after {
    display: none;
  }
  .legacy-page .section-11 .d-flex {
    align-items: center;
  }
  .legacy-page .section-12 h6.text-center {
    max-width: 80%;
    margin: 0 auto 50px;
  }
  .legacy-page .section_description {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
  .legacy-page .section-13 .section_description {
    margin-bottom: 70px;
  }
  .legacy-page .section-15 .section_title {
    max-width: 100%;
  }
  .legacy-page .section-15 .section_title:after {
    right: auto;
  }
  .legacy-page .section-15 .section_description {
    text-align: left;
    max-width: 100%;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.6;
  }
  .legacy-page .section-18 .section_title {
    margin-bottom: 80px;
  }
  .legacy-page .section-18 .d-flex {
    justify-content: center;
  }
  .legacy-page .section-18 .col-md-4 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
    margin: 0 30px;
  }
  .legacy-page .section-18 .col-md-4:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 50px;
    background-repeat: no-repeat;
    background-image: url('/wp-content/uploads/2023/08/Vector.svg');
    right: -25%;
    top: 15px;
  }
  .legacy-page .section-18 .col-md-4:last-child:before {
    display: none;
  }
  .legacy-page .section-19 .carousel__arrow_dir_right img, .legacy-page .section-19 .carousel__arrow_dir_left img {
    width: 30px;
  }
  .legacy-page.legacy-turism .section-19 .carousel__arrow_dir_right img, .legacy-page.legacy-turism .section-19 .carousel__arrow_dir_left img {
    width: 40px;
  }
  .legacy-page.legacy-turism .section-19 {
    padding: 0 20px;
    background-color: transparent;
  }
  .legacy-page.legacy-turism .gallery_items .col-md-4 {
    margin-bottom: 0;
    padding: 0;
  }
  .legacy-page.legacy-turism .section-19 .carousel__arrow_dir_right {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
  }
  .legacy-page.legacy-turism .section-19 .carousel__arrow_dir_left {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
  }
  .legacy-page .section-19 .carousel__arrow_dir_left {
    position: absolute;
    right: 75px;
    bottom: auto;
    z-index: 9;
    left: 10px;
    top: 42%;
    transform: translateY(-42%);
  }
  .legacy-page .section-19 .carousel__arrow_dir_right {
    position: absolute;
    right: 10px;
    bottom: auto;
    z-index: 9;
    left: auto;
    top: 42%;
    transform: translateY(-42%);
  }
  .legacy-page .section-19 {
    background-color: var(--color-gray);
    padding: 80px 0;
  }
  .legacy-page .section-20 .col-lg-4 {
    margin: 0 15px 30px;
    -ms-flex: 0 0 calc(30% - 30px);
    flex: 0 0 calc(30% - 30px);
    max-width: calc(30% - 30px);
    border-radius: 20px;
    padding: 0px 15px 30px;
    text-align: center;
    border: 1px solid #c3c3c3;
  }
  .legacy-page .section-20 .d-flex {
    justify-content: center;
  }
  .legacy-page .section-20 .section_title {
    max-width: 100%;
  }
  .legacy-page .recenzii .section_title {
    margin-bottom: 30px;
  }
  .legacy-page .section-21 .section_title span {
    color: inherit;
    font-weight: 400;
    display: block;
  }
  .legacy-page .section-21 .section_title {
    max-width: 100%;
  }
  .legacy-page .section-22 .section_title {
    max-width: 100%;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .legacy-page .section-22 .accordion {
    margin-top: 30px;
  }
  .legacy-page .section-22 .section_title:after {
    display: none;
  }
  .legacy-page .nr-telefon .d-flex {
    align-items: center;
  }
  .legacy-page .nr-telefon .col-md-2 {
    text-align: right;
  }
  .legacy-page .nr-telefon .col-md-10 {
    padding-right: 0;
  }
  .legacy-page .section-23 .section_title {
    color: white;
    max-width: 80%;
    font-size: 35px;
    line-height: 45px;
  }
  .legacy-page .section-23 {
    padding: 90px 0;
    background-color: #24262d;
  }
  .legacy-page .section-23 .section_title:after {
    background: #bdbdbd;
  }
  .legacy-page .section-23 .d-flex {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
    color: white;
    margin-top: 70px;
  }
  .legacy-page .section-23 h4 {
    font-size: 27px;
    line-height: 37px;
    color: #978667;
  }
  .legacy-page .section-23 ul {
    list-style: none;
    padding-left: 60px;
  }
  .legacy-page .section-23 ul li {
    font-size: 22px;
    line-height: 32px;
    margin-bottom: 20px;
    position: relative;
  }
  .legacy-page .section-23 .col-md-5 {
    text-align: center;
  }
  .legacy-page .section-23 ul li:before {
    content: '';
    position: absolute;
    background-image: url('/wp-content/uploads/2023/08/Vector-1.svg');
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    left: -42px;
    top: 6px;
  }
  .legacy-page .section-23 h3 {
    color: white;
    margin-top: 40px;
    font-weight: 700;
  }
  .legacy-page .cta_23 h5 {
    color: white;
    margin-bottom: 50px;
  }
  .legacy-page .cta_23 h5 br {
    content: "";
    margin: 15px;
    display: block;
  }
  .legacy-page .whatsapp_button {
    background-color: #25D366;
  }
  .legacy-page .phone_button {
    background-color: #C43C3C;
  }
  .legacy-page .messenger_button {
    background-color: #186AE6;
  }
  .legacy-page .cta_23 a {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: 12px 0;
    transition: 0.3s;
  }
  .legacy-page .cta_23 a img {
    width: 28px;
    margin-right: 5px;
  }
  .legacy-page .cta_23 .phone_button a img {
    width: 23px;
    margin-right: 8px;
  }
  .legacy-page .cta_23 .col-lg-4 {
    padding: 0;
    -ms-flex: 0 0 calc(33.333333% - 30px);
    flex: 0 0 calc(33.333333% - 30px);
    max-width: calc(33.333333% - 30px);
    margin: 0 15px;
    transition: 0.3s;
  }
  .legacy-page .cta_23 .col-lg-4:hover {
    opacity: 0.8;
    transition: 0.3s;
  }
  .legacy-page .formare .btn-brown {
    margin-top: 50px;
  }
  .legacy-page .accordion-prices .accordion-single-item {
    border: 1px solid #978667;
    border-radius: 20px;
    margin-top: 15px;
    padding: 12px 30px 30px;
  }
  .legacy-page .accordion-prices .accordion-single-item.is-open {
    background: #EFEFEF;
    transition: 0.3s;
  }
  .legacy-page .accordion-prices .accordion-single-item:hover {
    background: #EFEFEF;
    transition: 0.3s;
  }
  .legacy-page .fixed_services .col-md-6 {
    padding-left: 40px;
  }
  .legacy-page .section-8 .btn-brown {
    margin-top: 30px;
  }
  .legacy-page .booking_form .d-flex.programare_form {
    align-items: center;
  }
  .legacy-page .cta_pop-up .phone_button a img {
    width: 20px;
  }
  .legacy-page .cta_pop-up .col-lg-4 {
    padding: 0;
  }
  .legacy-page .facilitati_list {
    margin-bottom: 20px;
  }
  .legacy-page .facilitati_list p {
    font-size: 18px;
    position: relative;
    padding-left: 30px;
  }
  .legacy-page .facilitati_list p:before {
    background-image: url('/wp-content/uploads/2023/08/check-square-svgrepo-com.svg');
    content: '';
    width: 22px;
    height: 22px;
    position: absolute;
    left: 0px;
    background-size: cover;
    top: 2px;
  }
  .legacy-page .facilitati_button {
    margin-top: 30px;
  }
  .legacy-page .item-sec-14 h6 {
    font-size: 20px;
    font-weight: 700;
  }
  .legacy-page .sedare_content h5 {
    color: #978667;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 24px;
  }
  .legacy-page .sedare_content p {
    font-size: 18px;
    line-height: 28px;
  }
  .legacy-page .sedare_content a {
    margin-top: 30px;
  }
  .legacy-page .sedare_content {
    padding-left: 50px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .legacy-page .sedare_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
  .legacy-page .slider_button {
    background: transparent;
    border: 2px solid #fff;
    border-radius: 25px;
  }
  .legacy-page .slider_button:hover {
    border: 2px solid #fff;
  }
  .legacy-page .all_services {
    text-align: center;
  }

  .section-3 .videos {
    margin-block: 30px;
  }
  .legacy-page .all_services a {
    background-color: transparent;
    border: 2px solid #24262d;
    color: #24262d;
    padding: 14px 25px 14px 25px;
    border-radius: 25px;
    line-height: 1;
    font-size: 16px;
    font-weight: bold;
  }
  .legacy-page .all_services {
    margin-top: 15px;
  }
  .legacy-page .tab {
    cursor: pointer;
  }
  .legacy-page .tab:hover {
    background-color: #ddd;
  }
  .legacy-page .content {
    flex: 1;
    padding: 20px;
  }
  .legacy-page .tab-content {
    display: none;
  }
  .legacy-page .tab-content.active {
    display: block;
  }
  .legacy-page .all_services {
    text-align: center;
  }
  .legacy-page .all_services a:hover {
    background-color: #4b514d;
    border: 2px solid transparent;
    color: #fff;
  }
  .legacy-page .all_services a {
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
  }
  .legacy-page .title_small {
    text-transform: uppercase;
    color: #978667;
    letter-spacing: 3px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-size: 0.75rem;
  }
  .legacy-page .title {
    font-weight: 700;
    font-size: 38px;
    font-size: 2.375rem;
    margin-bottom: 15px;
  }
  .legacy-page .tab {
    padding: 25px;
    border: 1px solid #dee1e7!important;
    border-radius: 5px;
    margin-bottom: 10px;
    background: #fff;
    line-height: 24px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s linear;
  }
  .legacy-page .tab img {
    height: 100px;
    width: auto;
  }
  .legacy-page .icon_main {
    margin-right: 40px;
  }
  .legacy-page .tab_text_long p {
    margin-bottom: 0px!important;
    font-size: 15px;
    line-height: 24px;
    color: #333;
  }
  .legacy-page .tab h5 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 13px;
    text-transform: uppercase;
    transition: all 0.3s linear;
    font-weight: 700;
  }
  .legacy-page .tab.active {
    border-color: #978667!important;
  }
  .legacy-page .tab.active h5 {
    color: #978667!important;
  }
  .legacy-page .tab-content img {
    width: 100%;
    height: 92vh;
    object-fit: cover;
  }
  .legacy-page .home-page .item-sec-16 {
    flex: 0 0 calc(33% - 14px);
    max-width: calc(33% - 14px);
  }
  .legacy-page .gallery_items {
    padding: 0 15px;
  }
  .legacy-page .single_turism_g {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
  }
  .legacy-page .section9 .d-flex {
    align-items: center;
  }
  .legacy-page .section9 video {
    border: 1px solid #c5c5c5;
    border-radius: 20px;
  }
  .legacy-page .gallery_items .col-md-4 {
    margin-bottom: 30px;
  }
  .legacy-page .banner_img .all_services a {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 300px;
  }
  @media (min-width: 1024px) and (max-width: 1250px) {
    .legacy-page .de_ce_list .col-md-4 h5 {
      font-size: 18px;
      font-weight: 600;
      line-height: 26px;
      margin-bottom: 10px;
    }
    .legacy-page.legacy-turism .informatii, .legacy-page.legacy-turism .section-19 {
      padding: 0;
    }
    .legacy-page.legacy-turism h1 {
      font-size: 40px;
    }
    .legacy-page .de_ce_list .col-md-4 {
      padding: 30px 15px;
    }
    .legacy-page .experience_turism .video_frame {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page.legacy-turism .section-23 .d-flex {
      max-width: 90%;
    }
    .legacy-page .col__etape::after {
      width: 35px;
      height: 44px;
      right: -33px;
    }
    .legacy-page.legacy-turism .cta.d-flex {
      display: block!important;
    }
    .legacy-page .cta_text_step {
      margin-top: 20px;
    }
    .legacy-page .de_ce_list .col-md-4 p {
      font-size: 18px;
      line-height: 28px;
    }
    .legacy-page .de_ce_list img {
      width: 60px;
      margin-bottom: 15px;
    }
    .legacy-page.legacy-turism .hero video {
      height: 485px;
    }
    .legacy-page.legacy-turism .cta.d-flex a {
      display: block;
      margin: 5px 0px;
    }
    .legacy-page.legacy-turism .h4-hero {
      margin-bottom: 30px;
    }
    .legacy-page .hero_price {
      font-size: 25px;
      font-weight: 700;
      margin-top: 10px;
    }
    .legacy-page.legacy-turism .row-hero h3 {
      margin-top: 25px;
    }
    .legacy-page.legacy-turism .informatii .col-md-3 {
      -ms-flex: 0 0 calc(25% - 20px);
      flex: 0 0 calc(25% - 20px);
      max-width: calc(25% - 20px);
      margin: 0 10px;
    }
    .legacy-page .single_turism_g {
      height: 230px;
    }
    .legacy-page .banner_2 {
      padding: 70px 30px;
    }
    .legacy-page.legacy-turism .button-info {
      padding: 15px 10px;
      font-size: 16px;
    }
    .legacy-page .google-fb-testimoniale .facebook_intro.col-md-3 {
      -ms-flex: 0 0 30%;
      flex: 0 0 30%;
      max-width: 30%;
    }
    .legacy-page .google-fb-testimoniale .testimonials_slider_facebook.col-md-9, .legacy-page .google-fb-testimoniale .testimonials_slider.col-md-9 {
      -ms-flex: 0 0 70%;
      flex: 0 0 70%;
      max-width: 70%;
    }
    .legacy-page .google-fb-testimoniale > .container {
      padding: 0;
    }
    .legacy-page .facebook_intro > .d-flex .col-md-2 {
      width: fit-content;
      display: inherit!important;
      padding-left: 0;
    }
    .legacy-page .google-fb-testimoniale .testimonials_slider {
      padding: 0 20px;
    }
    .legacy-page .facebook_intro > .d-flex .col-md-10 {
      padding-right: 0;
      padding-left: 25px;
      margin-top: -5px;
    }
    .legacy-page .testimonials_slider {
      max-width: 100%;
    }
    .legacy-page .tabs {
      padding-left: 15px;
    }
    .legacy-page .tab h5 {
      font-size: 18px;
      line-height: 28px;
      margin-bottom: 5px;
    }
    .legacy-page .tab img {
      height: 70px;
    }
    .legacy-page .content {
      padding: 0 10px;
    }
    .legacy-page .tab-content img {
      height: 800px;
      object-fit: cover;
      margin-top: -6px;
    }
    .legacy-page .icon_main {
      margin-right: 20px;
    }
    .legacy-page .tab {
      padding: 15px;
    }
    .legacy-page .home .content .all_services {
      margin-top: 50px;
    }
    .legacy-page .hero video {
      height: 440px;
    }
    .legacy-page .section_title {
      max-width: 100%;
    }
    .legacy-page .p4sec-4 {
      font-size: 18px;
      line-height: 28px;
    }
    .legacy-page .section-4 img {
      height: 180px;
    }
    .legacy-page .sedare_content {
      padding-left: 30px;
    }
    .legacy-page .allon-img {
      width: 100%;
      object-fit: cover;
      border-radius: 20px;
      height: 220px;
      max-height: 220px;
    }
    .legacy-page .section-10 .col-md-5 {
      padding: 30px 30px 40px;
    }
    .legacy-page .allon-1, .legacy-page .allon-2 {
      max-width: 46%;
      -ms-flex: 0 0 46%;
      flex: 0 0 46%;
    }
    .legacy-page .section-19 .team_photo {
      height: 400px;
    }
    .legacy-page .section-8 .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .section-19 .btn-brown {
      margin-top: 20px;
    }
    .legacy-page .formare .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .presupune-cont {
      padding-left: 30px;
    }
    .legacy-page .section-18 .col-lg-4 {
      -ms-flex: 0 0 33.333333%;
      flex: 0 0 33.333333%;
      max-width: 33.333333%;
      margin: 0;
    }
    .legacy-page .section-14 img {
      width: 40px;
    }
    .legacy-page .section-14 .item-sec-14 {
      padding: 20px;
    }
    .legacy-page .section-16 .item-sec-16 img {
      height: 60px;
    }
    .legacy-page .page-id-8 .cta a {
      display: block;
      width: 100%;
      margin-bottom: 10px;
      margin-right: 0!important;
    }
    .legacy-page .row-hero h3 {
      font-size: 20px;
    }
    .legacy-page .single_case__template .content .all_services {
      margin-top: 50px;
    }
    .legacy-page .descriere .col-lg-3 {
      -ms-flex: 0 0 calc(25% - 20px);
      flex: 0 0 calc(25% - 20px);
      max-width: calc(25% - 20px);
      margin: 0 10px;
    }
    .legacy-page .content {
      max-width: 100%;
    }
    .legacy-page .contact_content .container .d-flex:nth-child(1) .col-lg-4 {
      padding: 40px 30px;
    }
    .legacy-page .galerie__template .divider-80 {
      height: 50px;
    }
    .legacy-page .galerie_pacienti {
      margin: 70px auto 40px;
    }
    .legacy-page .single_image img {
      height: 240px;
    }
    .legacy-page .services__template .divider-120 {
      height: 100px;
    }
    .legacy-page .testimoniale__template .divider-80 {
      height: 50px;
    }
    .legacy-page .servicii-template-anestezie-generala .single_service_content .divider-120 {
      height: 100px;
    }
    .legacy-page .single_service_content .divider-60 {
      height: 40px;
    }
    .legacy-page .video_block .container {
      max-width: 100%;
      padding: 0 30px;
    }
  }
  @media (min-width: 641px) and (max-width: 1023px) {
    .legacy-page .video_frame video {
      height: 450px !important;
    }
    .legacy-page .turist_gall .carousel__arrow_dir_left, .legacy-page .turist_gall .carousel__arrow_dir_right {
      bottom: -50px;
    }
    .legacy-page .section-23 .d-flex {
      margin-top: 40px;
    }
    .legacy-page .img_doctor img {
      height: 570px;
    }
    .legacy-page .banner_4_content p {
      font-size: 24px;
    }
    .legacy-page .btn_banner {
      margin-top: 40px;
    }
    .legacy-page .section-16 .d-flex {
      display: flex !important;
    }
    .legacy-page .numbers {
      border-top: 1px solid #a3a3a3;
      padding-top: 30px;
      margin-top: 40px;
      margin-bottom: 40px;
    }
    .legacy-page .banner1 {
      padding: 70px 15px;
    }
    .legacy-page .banner_content p {
      font-size: 28px;
    }
    .legacy-page .de_ce_list .col-md-4 {
      -ms-flex: 0 0 calc(50% - 30px);
      flex: 0 0 calc(50% - 30px);
      max-width: calc(50% - 30px);
      padding: 20px;
      margin: 0 15px 60px;
    }
    .legacy-page.legacy-turism .facilitati {
      margin-top: -20px;
    }
    .legacy-page.legacy-turism .section-16 .d-flex {
      padding: 0 8px;
    }
    .legacy-page .steps_turism .col__etape img {
      width: 60px;
    }
    .legacy-page .cta_text_step {
      margin-top: 40px;
      padding: 0 15px;
    }
    .legacy-page .col__etape {
      padding: 30px 20px;
    }
    .legacy-page .banner_4_content {
      padding: 70px 30px;
    }
    .legacy-page .banner_2 {
      padding: 70px 30px;
    }
    .legacy-page .single_turism_g {
      height: 250px;
    }
    .legacy-page .video_block .container {
      width: 100%;
      margin: auto;
      padding: 0 30px;
    }
    .legacy-page .servicii-template .before-after-gallery .col-md-4 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
    .legacy-page .pentru_cine .d-flex .col-lg-7 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .pentru_cine .d-flex .col-lg-5 {
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin: 0 15px;
    }
    .legacy-page .doctor_section .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .doctor_section .d-flex {
      flex-direction: column-reverse;
    }
    .legacy-page .servicii-template-igienizare .doctor_section .d-flex:nth-child(2), .legacy-page .doctor_section.doc2 .d-flex:nth-child(2) {
      flex-direction: column-reverse;
      margin: 60px auto;
    }
    .legacy-page .single_service_content .divider-60 {
      height: 40px;
    }
    .legacy-page .servicii-template-anestezie-generala .single_service_content .divider-120 {
      height: 70px;
    }
    .legacy-page .services__template .divider-120 {
      height: 90px;
    }
    .legacy-page .galerie_pacienti {
      margin: 80px auto 40px;
    }
    .legacy-page .video_testimoniale .col-md-4 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
    .legacy-page .video_testimoniale .divider-80 {
      height: 50px;
    }
    .legacy-page .galerie_pacienti .single_image.col-lg-4 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
    .legacy-page .single_image img {
      height: 270px;
    }
    .legacy-page .galerie__template .divider-80 {
      height: 40px;
    }
    .legacy-page .contact_content .d-flex:nth-child(1) .col-lg-7 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .contact_content .d-flex:nth-child(1) .col-lg-4 {
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin-top: 30px;
    }
    .legacy-page .contact_content .d-flex:nth-child(1) .col-lg-4 {
      padding: 40px 40px 30px;
    }
    .legacy-page .contact_content .cta_23 {
      max-width: 100%;
      margin: 50px auto 0;
    }
    .legacy-page .blog_news .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .before__template #before-after .col-lg-4 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
    .legacy-page .descriere .col-lg-3 {
      -ms-flex: 0 0 calc(25% - 20px);
      flex: 0 0 calc(25% - 20px);
      max-width: calc(25% - 20px);
      margin: 0 10px;
    }
    .legacy-page .content {
      max-width: 100%;
    }
    .legacy-page .single_case__template .content .all_services {
      margin-top: 50px;
    }
    .legacy-page .page-id-8 .hero .d-flex .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      text-align: center;
    }
    .legacy-page .page-id-8 .hero_video {
      margin-bottom: 30px;
    }
    .legacy-page .cta.d-flex a {
      width: 48%;
      margin: 0 1%;
      padding: 12px 20px;
    }
    .legacy-page .section_title {
      max-width: 100%;
    }
    .legacy-page .page-id-8 h2.section_title {
      font-size: 35px;
      padding-bottom: 20px;
      line-height: 48px;
    }
    .legacy-page .informatii {
      margin-bottom: -40px;
    }
    .legacy-page .informatii .col-md-4 {
      -ms-flex: 0 0 33.333333%;
      flex: 0 0 33.333333%;
      max-width: 100%;
      margin-bottom: 20px;
    }
    .legacy-page .informatii .d-flex {
      display: -ms-block!important;
      display: block!important;
    }
    .legacy-page .button-info {
      padding: 20px 10px 18px;
    }
    .legacy-page .section-4 img {
      height: 140px;
      margin-bottom: 10px;
    }
    .legacy-page .p4sec-4 {
      font-size: 18px;
      line-height: 26px;
    }
    .legacy-page .page-id-8 .divider-100 {
      height: 80px;
    }
    .legacy-page .section-2 {
      padding: 70px 0;
    }
    .legacy-page .sedare_content {
      padding-left: 15px;
    }
    .legacy-page .sedare-constienta .d-md-flex {
      display: -ms-flexbox!important;
      display: flex!important;
      flex-direction: column-reverse;
    }
    .legacy-page .sedare-constienta .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .sedare_content a {
      margin-top: 10px;
    }
    .legacy-page .sedare_content h5 {
      margin-bottom: 10px;
    }
    .legacy-page .sedare_img {
      height: 100%;
      min-height: 400px;
    }
    .legacy-page .sedare-constienta .col-md-6.sedare_img {
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin: 30px 15px 0;
    }
    .legacy-page .item-sec-16 {
      margin: 0 7px 20px;
      -ms-flex: 0 0 calc(50% - 14px) !important;
      flex: 0 0 calc(50% - 14px) !important;
      max-width: calc(50% - 14px) !important;
      border-radius: 20px;
      padding: 30px 15px;
      text-align: center;
      border: 1px solid #978667;
    }
    .legacy-page .container {
      max-width: 100%;
    }
    .legacy-page .video__block .gallery-main iframe, .legacy-page .video__block .gallery-main-2 iframe {
      min-height: 350px;
      height: 350px;
    }
    .legacy-page #vid-gallery .gallery-video {
      height: 350px;
    }
    .legacy-page .section-16 {
      margin: 0;
    }
    .legacy-page .section_description {
      max-width: 100%;
    }
    .legacy-page .section-14 .item-sec-14 {
      margin: 0 15px 30px;
      -ms-flex: 0 0 calc(50% - 30px);
      flex: 0 0 calc(50% - 30px);
      max-width: calc(50% - 30px);
      padding: 30px 20px;
      background-color: var(--color-gray);
      border-radius: 20px;
    }
    .legacy-page .section-14 img {
      width: 40px;
    }
    .legacy-page .section-18 .col-md-4 {
      -ms-flex: 0 0 33%;
      flex: 0 0 33%;
      max-width: 33%;
      margin: 0;
    }
    .legacy-page .section-18 .col-md-4:before {
      width: 60px;
      height: 20px;
      right: -14%;
      background-size: contain;
    }
    .legacy-page .presupune-cont {
      padding-left: 15px;
    }
    .legacy-page .p-2.section-9-content {
      margin-bottom: 30px;
    }
    .legacy-page .formare .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .allon-1, .legacy-page .allon-2 {
      max-width: calc(50% - 30px);
      -ms-flex: 0 0 calc(50% - 30px);
      flex: 0 0 calc(50% - 30px);
      margin: 0 15px;
    }
    .legacy-page .section-10 .col-md-5 {
      padding: 30px 15px 40px;
    }
    .legacy-page .allon-img {
      height: 175px;
      min-height: 175px;
      border-radius: 20px;
    }
    .legacy-page .allon-text {
      font-size: 18px;
      padding-top: 10px;
      text-align: center;
      margin-bottom: 30px;
    }
    .legacy-page .allon-img {
      width: 100%;
    }
    .legacy-page .section-19 {
      padding: 70px 0;
    }
    .legacy-page .section-19 .team_photo {
      height: 400px;
    }
    .legacy-page .section-19 .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .accordion-prices .accordion-single-item {
      padding: 25px;
    }
    .legacy-page .section-8 .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .facilitati .section_title {
      margin-bottom: 40px;
    }
    .legacy-page .facilitati_button {
      margin-top: 20px;
    }
    .legacy-page .section-20 .col-lg-4 {
      -ms-flex: 0 0 calc(33% - 30px);
      flex: 0 0 calc(33.333% - 30px);
      max-width: calc(33% - 30px);
    }
    .legacy-page .section-22 .section_title {
      padding-bottom: 0!important;
    }
    .legacy-page .section-22 .accordion {
      margin-top: 20px;
    }
    .legacy-page .accordion .accordion-title {
      font-size: 22px;
      line-height: 32px;
    }
    .legacy-page .accordion-single-content-faq {
      font-size: 16px;
    }
    .legacy-page .section-16 .item-sec-16 img {
      height: 60px;
    }
    .legacy-page .divider-120 {
      height: 100px;
    }
    .legacy-page .home .divider-80 {
      height: 50px;
    }
    .legacy-page .tabs {
      padding-left: 15px;
    }
    .legacy-page .tab {
      padding: 25px;
    }
    .legacy-page .infrastructura_clinicii .divider-30 {
      height: 10px;
    }
    .legacy-page .team_member .all_services, .legacy-page .infrastructura_clinicii .all_services {
      margin-top: 30px;
    }
    .legacy-page .infrastructura_clinicii .content.col-lg-6 {
      display: none;
    }
    .legacy-page .divider-100 {
      height: 80px;
    }
    .legacy-page .home .content {
      padding: 0 15px;
    }
    .legacy-page .content .all_services {
      margin-top: 50px;
    }
    .legacy-page .fixed_services .col-md-6:nth-child(1) {
      padding-left: 25px;
    }
    .legacy-page .fixed_services .col-md-6:nth-child(2) {
      padding-right: 0;
    }
    .legacy-page .testimonials_slider {
      max-width: 100%;
    }
    .legacy-page .google-fb-testimoniale {
      padding: 70px 15px 60px;
    }
    .legacy-page .testimonials_slider {
      padding: 25px 25px 75px 25px;
    }
    .legacy-page .google-fb-testimoniale .facebook_intro.col-md-3 {
      -ms-flex: 0 0 40%;
      flex: 0 0 40%;
      max-width: 40%;
    }
    .legacy-page .google-fb-testimoniale .testimonials_slider_facebook.col-md-9, .legacy-page .google-fb-testimoniale .testimonials_slider.col-md-9 {
      -ms-flex: 0 0 60%;
      flex: 0 0 60%;
      max-width: 60%;
    }
    .legacy-page .google-fb-testimoniale > .container {
      padding: 0;
    }
    .legacy-page .facebook_intro > .d-flex .col-md-2 {
      width: fit-content;
      display: inherit!important;
      padding-left: 0;
    }
    .legacy-page .google-fb-testimoniale .testimonials_slider {
      padding: 0 20px;
    }
    .legacy-page .facebook_intro > .d-flex .col-md-10 {
      padding-right: 0;
      padding-left: 25px;
      margin-top: -5px;
    }
  }
  @media only screen and (max-width: 1023px) {
    .legacy-page .turism_case .video__block {
      padding: 0 15px;
    }
    .legacy-page.legacy-turism .google-fb-testimoniale {
      padding-top: 0;
      padding-bottom: 0;
    }
    .legacy-page .section-23 .d-flex, .legacy-page .section-23 .section_title {
      max-width: 100%;
    }
    .legacy-page.legacy-turism .section-14 .item-sec-14:last-child {
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin-bottom: 20px;
    }
    .legacy-page.legacy-turism .sedare_content {
      padding-top: 0px;
    }
    .legacy-page .video_frame.col-md-9 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .d-flex.about_doctor {
      display: block!important;
    }
    .legacy-page .d-flex.about_doctor .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      text-align: center;
    }
    .legacy-page .section9 .d-flex .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .section9 .presupune-cont {
      margin-top: 20px;
      text-align: center;
    }
    .legacy-page .de_ce_list img {
      width: 60px;
      margin-bottom: 20px;
    }
    .legacy-page .de_ce_list .col-md-4 h5 {
      font-size: 18px;
      line-height: 26px;
      margin-bottom: 10px;
    }
    .legacy-page .de_ce_list .col-md-4 p {
      font-size: 16px;
      line-height: 24px;
    }
    .legacy-page.legacy-turism .informatii .col-md-3 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin: 10px 0px;
    }
    .legacy-page.legacy-turism .informatii {
      padding:  0 15px;
    }
    .legacy-page.legacy-turism .section_title span {
      display: inline;
    }
    .legacy-page.legacy-turism .row-hero {
      flex-direction: column-reverse;
      text-align: center;
    }
    .legacy-page.legacy-turism .row-hero .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page.legacy-turism .row-hero h1 {
      margin-top: 25px;
    }
    .legacy-page.legacy-turism .container {
      padding: 0;
    }
    .legacy-page.legacy-turism .h4-hero span {
      display: inline!important;
    }
    .legacy-page.legacy-turism .cta.d-flex {
      display: block!important;
    }
    .legacy-page.legacy-turism .cta.d-flex a {
      display: block;
      width: 100%;
      margin: 10px 0;
    }
    .legacy-page.legacy-turism .container.banner_cta_2 {
      padding: 0 15px;
    }
    .legacy-page.legacy-turism .section-19, .legacy-page.legacy-turism .gallery_items {
      padding: 0;
    }
    .legacy-page .page-id-8 .hero .container > .d-flex {
      flex-direction: column-reverse;
    }
    .legacy-page .section-9 .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .section-9 .d-md-flex {
      flex-direction: column-reverse;
    }
    .legacy-page .h4-hero span:first-child, .legacy-page .section_title span {
      display: block;
    }
  }
  @media only screen and (max-width: 640px) {
    .legacy-page .price_item.d-flex p {
      width: 100%;
      text-align: left;
      margin-top: 15px;
    }
    .legacy-page .menu__top.col-md-10 {
      -ms-flex: 0 0 50%;
      flex: 0 0 50%;
      max-width: 50%;
    }
    .legacy-page .turist_gall .carousel__arrow_dir_left, .legacy-page .turist_gall .carousel__arrow_dir_right {
      bottom: -40px;
    }
    .legacy-page.legacy-turism .hero {
      padding-top: 15px;
      padding-bottom: 75px;
    }
    .legacy-page.legacy-turism .hero video {
      margin-bottom: 0;
    }
    .legacy-page .de_ce .title_section {
      margin-bottom: 70px;
    }
    .legacy-page .section_price {
      padding: 0 15px;
    }
    .legacy-page .de_ce_cta {
      padding: 0;
      margin-top: -20px;
    }
    .legacy-page .price_title {
      font-size: 26px;
      margin-top: 0;
    }
    .legacy-page .price_col, .legacy-page .price_col3 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0 0px 15px;
      padding: 15px;
    }
    .legacy-page .col__etape {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0 0px 15px;
      padding: 30px;
    }
    .legacy-page .col__etape::after {
      display: none;
    }
    .legacy-page .p4sec-4 {
      font-size: 18px;
      font-weight: 700;
      line-height: 24px;
    }
    .legacy-page.legacy-page .item-sec-16 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0 0 15px;
    }
    .legacy-page.legacy-turism .section-16 .d-flex {
      padding: 0 15px;
    }
    .legacy-page .single_numb p span {
      font-size: 28px;
      font-weight: 700;
      color: #978667;
      margin-right: 5px;
    }
    .legacy-page .section-23 h4 {
      font-size: 24px;
      line-height: 37px;
      color: #978667;
      text-align: left;
      margin-bottom: 15px;
    }
    .legacy-page .turism_case {
      padding: 60px 0 70px;
    }
    .legacy-page .team_row {
      margin-top: 40px;
    }
    .legacy-page .clinic_numbers .section_title, .legacy-page .experience_turism .section_title {
      padding-left: 15px;
      padding-right: 15px;
    }
    .legacy-page .clinic_numbers {
      padding: 60px 0 70px;
    }
    .legacy-page .numbers {
      padding-top: 30px;
      margin-top: 40px;
      margin-bottom: 30px;
    }
    .legacy-page .img_doctor img {
      height: 320px;
    }
    .legacy-page .single_numb p {
      font-size: 16px;
      margin-bottom: 0;
    }
    .legacy-page .video_frame video {
      height: 300px!important;
    }
    .legacy-page .banner_content p {
      color: white;
      font-size: 25px;
      position: relative;
      margin-bottom: 33px;
    }
    .legacy-page .banner1 {
      padding: 50px 15px;
    }
    .legacy-page .cta_text_step h5 {
      font-size: 20px;
      line-height: 30px;
    }
    .legacy-page .cta_text_step {
      margin-top: 40px;
      padding: 0 15px;
    }
    .legacy-page .steps_turism .col__etape img {
      width: 60px;
      margin-bottom: 20px;
    }
    .legacy-page .steps_treatment {
      padding: 0 15px;
    }
    .legacy-page.legacy-turism .facilitati {
      margin-top: -15px;
    }
    .legacy-page .banner_4_content p strong {
      display: inline;
    }
    .legacy-page .btn_banner {
      margin-top: 40px;
    }
    .legacy-page .btn_banner .btn {
      padding: 12px 0px;
      display: block;
    }
    .legacy-page .banner_4_content {
      padding: 50px 15px;
    }
    .legacy-page .banner_4_content p {
      font-size: 20px;
    }
    .legacy-page .de_ce_cta h4 {
      font-size: 24px;
      margin-bottom: 30px;
    }
    .legacy-page .price_col3 .price_title {
      margin-bottom: 15px;
      font-size: 24px;
      margin-top: 15px;
    }
    .legacy-page .de_ce_cta h4 br {
      display: none;
    }
    .legacy-page .de_ce {
      padding: 0 15px;
    }
    .legacy-page .de_ce_list .col-md-4 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0 0px 50px;
      border: 1px solid #dddddd;
      border-radius: 20px;
      padding: 30px;
      text-align: center;
    }
    .legacy-page.legacy-turism .container.banner_cta_2 {
      margin-top: -30px;
    }
    .legacy-page.legacy-turism .infrastructura_clinicii .all_services {
      margin-top: 10px;
    }
    .legacy-page .banner_2 {
      padding: 50px 15px;
    }
    .legacy-page .banner_2 p {
      margin-bottom: 30px;
    }
    .legacy-page .banner_2 h2 {
      font-size: 26px;
    }
    .legacy-page.legacy-turism .button-info {
      margin-bottom: 0;
      font-size: 16px;
      padding: 12px 0;
    }
    .legacy-page.legacy-turism .hero .cta .btn {
      padding: 15px 10px;
    }
    .legacy-page .hero_price {
      font-size: 24px;
      font-weight: 700;
      margin-top: 15px;
    }
    .legacy-page .hero_section .container {
      top: 55%;
      transform: translateY(-42%);
      padding: 0 15px;
    }
    .legacy-page .container {
      width: 100%;
      max-width: 100%;
      padding: 0;
    }
    .legacy-page .single_service_content .btn.btn-magnum {
      margin-top: 10px;
      padding: 10px 25px 10px 25px;
    }
    .legacy-page .doctor_section .d-flex {
      flex-direction: column-reverse;
    }
    .legacy-page .hero_section .btn {
      padding: 10px 25px 10px 25px;
      margin-top: 20px;
    }
    .legacy-page .cta_banner .btn.btn-magnum {
      font-size: 13px;
      padding: 6px 25px 6px 25px;
    }
    .legacy-page .doctor_section .col-md-6 {
      text-align: left;
    }
    .legacy-page .single_service_content .divider-60 {
      display: none;
    }
    .legacy-page .all_services a {
      padding: 10px 25px 10px 25px;
      margin-top: 20px;
      font-size: 13px;
    }
    .legacy-page .all_services {
      margin-top: 0px;
    }
    .legacy-page .video_block .container {
      width: 100%;
      margin: auto;
      padding: 0 15px;
    }
    .legacy-page .servicii-template-igienizare .doctor_section .d-flex:nth-child(2), .legacy-page .doctor_section.doc2 .d-flex:nth-child(2) {
      flex-direction: column-reverse;
      margin: 40px auto;
    }
    .legacy-page .servicii-template-anestezie-generala .single_service_content .divider-120 {
      height: 50px;
    }
    .legacy-page #copyright .d-flex {
      flex-direction: column-reverse;
    }
    .legacy-page #copyright .col-md-7 p {
      font-size: 12px;
    }
    .legacy-page .services__template .divider-120 {
      height: 80px;
    }
    .legacy-page .galerie_pacienti {
      margin: 80px auto 40px;
    }
    .legacy-page .video_testimoniale .divider-80 {
      height: 40px;
    }
    .legacy-page .galerie_pacienti h2 {
      margin-bottom: 0px;
    }
    .legacy-page .galerie_pacienti .title_section {
      margin-bottom: 20px;
    }
    .legacy-page .single_image img {
      height: 250px;
    }
    .legacy-page .galerie__template .divider-80 {
      height: 30px;
    }
    .legacy-page .single_image {
      margin-bottom: 15px;
    }
    .legacy-page .contact_content .d-flex:nth-child(1) .col-lg-4 {
      -ms-flex: 0 0 calc(100% - 25px);
      flex: 0 0 calc(100% - 25px);
      max-width: calc(100% - 25px);
      margin-top: 30px;
    }
    .legacy-page .contact_content .d-flex:nth-child(1) .col-lg-4 {
      padding: 40px 40px 30px;
    }
    .legacy-page .contact_content .cta_23 {
      max-width: 100%;
      margin: 50px auto 0;
    }
    .legacy-page .contact_content .d-flex:nth-child(1) .col-lg-4 {
      padding: 30px 20px 20px;
    }
    .legacy-page .cta_23.d-flex {
      display: block!important;
    }
    .legacy-page .cta_23 .col-lg-4 {
      padding: 0;
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin: 0 15px;
      transition: 0.3s;
      margin-bottom: 10px;
    }
    .legacy-page .contact__template form .col-lg-6:nth-child(1) {
      padding-right: 15px;
    }
    .legacy-page .contact__template form .col-lg-6:nth-child(2) {
      padding-left: 15px;
    }
    .legacy-page .blog_news .col-md-6 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
    }
    .legacy-page .before__template #before-after .col-lg-4 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 15px;
    }
    .legacy-page .descriere .col-lg-3 {
      -ms-flex: 0 0 calc(50% - 20px);
      flex: 0 0 calc(50% - 20px);
      max-width: calc(50% - 20px);
      margin: 0 10px;
      margin-bottom: 20px;
    }
    .legacy-page .case_content .container {
      padding: 30px 15px 20px 15px;
    }
    .legacy-page .descriere .col-lg-3 {
      padding: 12px;
    }
    .legacy-page .content {
      padding: 0;
      max-width: 100%;
    }
    .legacy-page .hero video {
      height: 300px;
      margin-bottom: 30px;
    }
    .legacy-page .hero {
      text-align: center;
    }
    .legacy-page .page-id-8 .hero h1 {
      font-size: 38px;
    }
    .legacy-page .row-hero h3 {
      font-size: 20px;
      margin-top: 30px;
    }
    .legacy-page .hero .cta a {
      display: block;
      margin-right: 0!important;
      width: 100%;
      margin-bottom: 10px;
    }
    .legacy-page .button-info {
      padding: 20px 10px;
      font-size: 20px;
      margin-bottom: 15px;
    }
    .legacy-page .hero {
      padding-bottom: 90px;
    }
    .legacy-page .section_title {
      max-width: 100%;
    }
    .legacy-page .section_title {
      padding-bottom: 20px;
      margin-bottom: 40px;
    }
    .legacy-page .page-id-8 h2.section_title {
      font-size: 30px;
      line-height: 40px;
    }
    .legacy-page .page-id-8 .section-30 h2.section_title {
      padding-left: 15px;
      padding-right: 15px;
    }
    .legacy-page .section-4 img {
      height: 110px;
      margin-bottom: 10px;
    }
    .legacy-page .page-id-8 .p4sec-4 {
      line-height: 22px;
    }
    .legacy-page .section-2 {
      padding: 70px 0;
    }
    .legacy-page .page-id-8 .divider-100 {
      height: 70px;
    }
    .legacy-page .sedare_content {
      padding: 0 15px;
    }
    .legacy-page .sedare_content h5 {
      margin-bottom: 10px;
    }
    .legacy-page .sedare_content a {
      margin-top: 10px;
    }
    .legacy-page .btn {
      font-size: 16px;
      line-height: 26px;
      padding: 12px 20px;
    }
    .legacy-page .why_choose .col-lg-4 {
      width: 50%;
      margin-bottom: 15px;
    }
    .legacy-page .sedare-constienta .d-flex {
      flex-direction: column-reverse;
    }
    .legacy-page .sedare_img {
      height: 100%;
      min-height: 250px;
      margin-top: 40px;
    }
    .legacy-page .item-sec-16 {
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      padding: 20px 15px;
    }
    .legacy-page .item-sec-16 h6 {
      margin-bottom: 10px;
    }
    .legacy-page .section-16 .btn-brown {
      margin-top: 10px;
    }
    .legacy-page .section-3 .col-12 {
      padding: 0;
    }
    .legacy-page .section-14 .d-flex {
      max-width: 100%;
      display: -ms-block!important;
      display: block!important;
    }
    .legacy-page .video__block .gallery-main iframe, .legacy-page .video__block .gallery-main-2 iframe {
      min-height: 250px;
      height: 250px;
    }
    .legacy-page #vid-gallery .gallery-video {
      width: 100%;
      height: 200px;
      margin-top: -10px;
    }
    .legacy-page #vid-gallery .video__item {
      padding: 8px;
    }
    .legacy-page .page-id-8 .section_description {
      max-width: 100%;
      font-size: 18px;
      font-weight: 700;
      margin-bottom: 0;
    }
    .legacy-page .section-14 .item-sec-14 {
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin-bottom: 15px;
      text-align: center;
    }
    .legacy-page .section-14 img {
      margin-bottom: 20px;
    }
    .legacy-page .section-18 .section_title {
      margin-bottom: 65px;
    }
    .legacy-page .section-18 .d-flex {
      display: -ms-block!important;
      display: block!important;
    }
    .legacy-page .section-18 .col-md-4:before {
      display: none;
    }
    .legacy-page .section-18 .col-md-4 {
      -ms-flex: 0 0 100%;
      flex: 0 0 100%;
      max-width: 100%;
      margin-bottom: 50px;
      margin-left: 0;
    }
    .legacy-page .section-18 .col-md-4:last-child {
      margin-bottom: 40px;
    }
    .legacy-page .presupune-cont {
      padding-left: 15px;
    }
    .legacy-page .p-2.section-9-content {
      line-height: 25px;
      margin-bottom: 22px;
    }
    .legacy-page .section-10 .d-flex, .legacy-page .section-20 .d-flex {
      display: -ms-block!important;
      display: block!important;
    }
    .legacy-page .allon-1, .legacy-page .allon-2, .legacy-page .section-20 .col-lg-4 {
      max-width: calc(100% - 30px);
      -ms-flex: 0 0 calc(100% - 30px);
      flex: 0 0 calc(100% - 30px);
      margin: auto;
    }
    .legacy-page .allon-img {
      width: 100%;
    }
    .legacy-page .allon-img {
      height: 170px;
      border-radius: 20px;
    }
    .legacy-page .section-10 .col-md-5 {
      padding: 30px 20px 45px;
      margin-bottom: 15px;
    }
    .legacy-page .allon-text {
      margin-bottom: 25px;
      padding-top: 15px;
    }
    .legacy-page .section-19 {
      padding: 70px 0;
    }
    .legacy-page .section-19 .team_photo {
      height: 380px;
    }
    .legacy-page .section-19 .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .accordion-prices .accordion-single-item {
      padding: 15px;
      margin-top: 10px;
    }
    .legacy-page .fixed_services .col-md-6 {
      padding-right: 0;
      padding-left: 30px;
    }
    .legacy-page .section-8 .btn-brown {
      margin-top: 30px;
    }
    .legacy-page .facilitati_button {
      margin-top: 15px;
    }
    .legacy-page .section-20 .col-lg-4 {
      padding-bottom: 10px;
      margin-bottom: 15px;
    }
    .legacy-page .section-22 .accordion {
      margin-top: 20px;
      margin-bottom: 30px;
    }
    .legacy-page .accordion .accordion-title {
      font-size: 18px;
      line-height: 28px;
    }
    .legacy-page .accordion-single-content-faq {
      font-size: 16px;
      line-height: 24px;
    }
    .legacy-page .why_choose .col-lg-4:last-child {
      width: 70%;
    }
    .legacy-page .divider-120 {
      height: 90px;
    }
    .legacy-page .home .section-16 .d-flex {
      display: block!important;
      display: -ms-block!important;
      padding: 0 15px;
    }
    .legacy-page .home-page .item-sec-16 {
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0 0 15px;
    }
    .legacy-page .home .divider-80 {
      height: 60px;
    }
    .legacy-page .title {
      font-size: 30px;
    }
    .legacy-page .home .all_services {
      margin-top: 15px;
    }
    .legacy-page .divider-100 {
      height: 80px;
    }
    .legacy-page .home .why_us .all_services {
      margin-top: 0;
    }
    .legacy-page .infrastructura_clinicii .content {
      display: none;
    }
    .legacy-page .tabs {
      padding-left: 15px;
    }
    .legacy-page .tab {
      padding: 20px 15px;
      display: block;
      text-align: center;
    }
    .legacy-page .tab h5 {
      font-size: 18px;
      margin-top: 20px;
      margin-bottom: 5px;
    }
    .legacy-page .icon_main {
      margin-right: 0;
    }
    .legacy-page .icon_main img {
      height: 70px;
    }
    .legacy-page .infrastructura_clinicii .divider-30 {
      height: 10px;
    }
    .legacy-page .home .section-16 .all_services {
      margin-top: 30px;
    }
    .legacy-page .home .services_page .all_services {
      margin-top: 10px;
    }
    .legacy-page .home__slider .btn {
      padding: 10px 20px;
    }
    .legacy-page .price_list .col-md-12.text-center {
      padding: 0;
    }
    .legacy-page .price_list .col-md-12.text-center a {
      display: block;
      margin-top: 30px;
    }
    .legacy-page .google-fb-testimoniale h2 {
      font-size: 25px;
    }
    .legacy-page .section_content .pacienti_subtitle {
      font-size: 18px;
    }
    .legacy-page .section_content {
      margin-bottom: 30px;
    }
    .legacy-page .testimonials_slider {
      max-width: 100%;
      padding: 25px 15px 85px 15px;
    }
    .legacy-page .google-fb-testimoniale {
      padding: 15px 15px 0px;
    }
    .legacy-page .facebook_intro.col-md-3 {
      padding: 0;
    }
    .legacy-page .facebook_intro.col-md-3 .col-md-2 {
      display: block;
      width: fit-content;
    }
    .legacy-page .facebook_intro.col-md-3 .col-md-10 {
      width: fit-content;
    }
    .legacy-page .facebook_intro .d-flex .col-md-10 p {
      font-size: 18px!important;
    }
    .legacy-page .google-fb-testimoniale .testimonials_slider, .legacy-page .testimonials_slider_facebook.col-md-9 {
      padding: 0;
      margin-top: 30px;
    }
    .legacy-page .facebook_intro .d-flex .col-md-10 p.baza {
      font-size: 12px!important;
      line-height: 20px!important;
    }
    .legacy-page .google-fb-testimoniale .carousel__arrow_dir_right img, .legacy-page .google-fb-testimoniale .carousel__arrow_dir_left img {
      width: 33px;
    }
  }
  .legacy-page .before_after_carousel img {
    border-radius: 10px;
  }
  @media (min-width: 1366px) and (max-width: 1800px) {
    .legacy-page .btn {
      padding: 12px 20px 12px;
    }
  }
  .legacy-page .facebook_reviews, .legacy-page .google_reviews {
    width: 20px;
    position: absolute;
    right: 15px;
    top: 15px;
  }
  .legacy-page .client_review {
    height: 170px!important;
    overflow-y: auto!important;
  }
  .legacy-page .review_contn {
    color: #222!important;
    font-size: 15px!important;
    line-height: 24px!important;
    max-width: 100%!important;
    white-space: pre-wrap!important;
    word-break: break-word!important;
  }
  .legacy-page .facebook_intro.col-md-3 .col-md-2 img {
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    width: 50px;
  }
  .legacy-page .facebook_intro h5 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 0;
    font-weight: bold;
  }
  .legacy-page .facebook_intro .d-flex .col-md-10 p {
    font-size: 21px;
    line-height: 30px;
    font-weight: 900;
    color: #fb8e28;
    margin-bottom: 0;
  }
  .legacy-page .facebook_intro .d-flex .col-md-10 p.baza {
    font-size: 14px;
    color: #333333;
    font-weight: 400;
    margin-bottom: 15px;
  }
  .legacy-page .facebook_intro .d-flex .col-md-10 a {
    font-size: 14px;
    color: #fff;
    padding: 8px 20px 10px;
    outline: none;
    border-radius: 27px;
    background: #0a6cff;
    white-space: nowrap;
    text-shadow: 1px 1px 0 #888;
    box-shadow: 0 0 2px rgba(0,0,0,.12), 0 2px 4px rgba(0,0,0,.24);
    user-select: none;
    transition: all .2s ease-in-out;
  }
  .legacy-page .facebook_intro .d-flex .col-md-10 a img {
    width: 20px;
    background: white;
    border-radius: 50%;
    padding: 3px;
    margin-top: 0;
  }
  .legacy-page .facebook_intro .d-flex .col-md-10 img {
    width: 110px;
    margin-top: -6px;
    margin-left: 5px;
  }
  .legacy-page .facebook_intro .d-flex .col-md-2 {
    display: contents;
  }
  /* ---------- cazuri clinice video ----------
   *
   * În tema veche blocul ăsta era construit de un plugin jQuery de galerie
   * YouTube (`vidGallery`), care pe site-ul live nu mai pornește: titlurile se
   * suprapun peste o casetă neagră și miniaturile nu se încarcă deloc. Nu e
   * ceva de transcris, deci blocul e refăcut aici cu fațadele temei, într-o
   * grilă de trei pe rând — aceeași soluție ca pe „Video testimoniale”.
   */
  .legacy-page .turism_case .gallery {
    display: block;
  }

  .legacy-page .turism_case .gallery-video {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 15px;
  }

  .legacy-page .sedare-constienta .sedare_content {
    padding-left: 40px;
  }

  .legacy-page .turism_case .gallery-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  /* Regulile portate pentru plugin (titlu absolut, peste imagine, pe fundal
     maro, cu fontul implicit) nu mai au obiect: titlul stă sub fațadă. */
  .legacy-page.legacy-page .turism_case .gallery-item p {
    position: static;
    inset: auto;
    width: auto;
    padding: 0;
    background: none;
    font-family: inherit;
    margin-block: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: var(--color-black);
  }

  @media (width <= 991px) {
    .legacy-page .turism_case .gallery-video {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (width <= 640px) {
    .legacy-page .turism_case .gallery-video {
      grid-template-columns: 1fr;
    }
  }

  /* ---------- galeriile ca carusele ----------
   *
   * În tema veche `.gallery_items`, `.before_after_carousel` și
   * `.turist_gallery` erau slidere Slick: trei imagini pe rând, săgeți pe
   * laterale. Pe site-ul live Slick nu mai pornește și imaginile se înșiră una
   * sub alta, pe mii de pixeli. Aici le face carusel modulul temei
   * (scroll-snap nativ); coloanele de 33,33% și săgețile vin din regulile
   * portate mai sus, doar pista derulantă e nouă.
   */
  .legacy-page .photo_gallery,
  .legacy-page .before_after_wrap,
  .legacy-page .turist_gallery_wrap {
    position: relative;
  }

  .legacy-page .gallery_items,
  .legacy-page .before_after_carousel,
  .legacy-page .turist_gallery {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .legacy-page .gallery_items::-webkit-scrollbar,
  .legacy-page .before_after_carousel::-webkit-scrollbar,
  .legacy-page .turist_gallery::-webkit-scrollbar {
    display: none;
  }

  .legacy-page [data-carousel-slide] {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    scroll-snap-align: start;
  }

  /* Imaginile umplu celula, tăiate la aceeași înălțime, ca pe galeria clinicii. */
  .legacy-page .turist_gallery img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
  }

   .legacy-page .before_after_carousel img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
  }

  #pacienti-reabilitati .cta_button {
    margin-top:0;
  }

  .legacy-page .carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    width: 40px;
    /* Înălțime fixă: regulile portate dau și `bottom` săgeților din unele
       secțiuni; cu `top` + `bottom` fără înălțime, butonul s-ar întinde. */
    height: 40px;
    background: none;
    cursor: pointer;
    translate: 0 -50%;
  }

  .legacy-page .carousel__arrow img {
    width: 40px;
    height: 40px;
  }

  .legacy-page .carousel__arrow_dir_left {
    left: 30px;
  }

  .legacy-page .carousel__arrow_dir_right {
    right: 30px;
  }

  @media (width <= 1023px) {
    .legacy-page [data-carousel-slide] {
      flex-basis: 50%;
      max-width: 50%;
    }
  }

  @media (width <= 519px) {
    .legacy-page [data-carousel-slide] {
      flex-basis: 100%;
      max-width: 100%;
    }
  }

  /* ---------- corecții de design ----------
   *
   * Regulile de aici bat reboot-ul Bootstrap din turism-grid.css, încărcat
   * după acest fișier; de aceea clasa e dublată, ca să câștige la specificitate
   * fără `!important`.
   */

  /* Titlurile de secțiune, la fel ca pe restul site-ului (`.section__title`):
     40/48 bold, nu 32/38 cu grosime 500 cât dădea reboot-ul. */
  .legacy-page.legacy-page :is(h2, .section_title) {
    font-size: 40px;
    line-height: 48px;
    font-weight: 700;
  }

  /* Titlul din hero: mai mare și extra bold. */
  .legacy-page.legacy-page .hero h1 {
    font-size: clamp(34px, 3.9vw, 56px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
  }

  /* Cele două butoane din hero, pe un singur rând. */
  .legacy-page .hero .cta {
    flex-wrap: nowrap;
    align-items: center;
  }

  .legacy-page .hero .cta .btn {
    white-space: nowrap;
  }

  /* Banda de CTA: titlu mult mai mare și aer în jurul lui. */
  .legacy-page .banner_2 {
    padding: 120px 60px;
  }

  .legacy-page.legacy-page .banner_2 :is(h2, h3, h4) {
    margin-bottom: 30px;
    font-size: clamp(32px, 3.4vw, 50px);
    line-height: 1.2;
    font-weight: 800;
  }

  .legacy-page .banner_2 p {
    font-size: 20px;
    line-height: 32px;
  }

  .legacy-page .banner_2 .facilitati_button {
    margin-top: 40px;
  }

  @media (width <= 767px) {
    .legacy-page .hero .cta {
      flex-wrap: wrap;
    }

    .legacy-page .hero .cta .btn {
      white-space: normal;
    }

    .legacy-page .banner_2 {
      padding: 60px 24px;
    }
  }

  /*
   * Butoanele, la fel ca pe restul site-ului (`.btn--solid` / `.btn--outline`):
   * 18/30 padding, rază 50px, 18px bold. Din tema veche veneau trei mărimi
   * diferite pe aceeași pagină — 50px în hero, 44px în bannere, iar
   * `.button_view` n-avea deloc stil și rămânea un link de 26px.
   *
   * Culorile rămân cele ale paginii: maro plin, respectiv conturat.
   */
  .legacy-page.legacy-page :is(.btn, .button_view) {
    display: inline-block;
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 18px;
    line-height: 27px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }

  .legacy-page.legacy-page .btn-brown:not(.slider_button) {
    border-width: 0;
    background: var(--color-brown);
    color: var(--color-white);
  }

  /*
   * Familia conturată, identică cu `.btn--outline` din temă. Intră aici și
   * `.slider_button`: în CSS-ul portat avea contur alb, potrivit pentru un
   * fundal închis, dar secțiunea lui e albă — pe site-ul vechi apărea tot
   * conturat închis.
   */
  .legacy-page.legacy-page :is(.btn-white, .button_view, .slider_button) {
    border: 2px solid #24262d;
    background: transparent;
    color: #24262d;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  }

  .legacy-page.legacy-page :is(.btn-white, .button_view, .slider_button):hover,
  .legacy-page.legacy-page :is(.btn-white, .button_view, .slider_button):focus-visible {
    border-color: #24262d;
    background-color: #24262d;
    color: var(--color-white);
  }

  /* Hero: regula portată are patru clase, deci o egalăm ca specificitate. */
  .legacy-page.legacy-turism .hero .cta .btn {
    padding: 18px 30px;
  }

  @media (width <= 640px) {
    .legacy-page.legacy-page :is(.btn, .button_view),
    .legacy-page.legacy-turism .hero .cta .btn {
      padding: 15px 24px;
      font-size: 16px;
      line-height: 24px;
    }
  }

  /*
   * Cardurile de preț: două late pe primul rând, trei pe al doilea.
   *
   * Regulile portate cer exact asta (`calc(50% - 30px)` plus 15px margine
   * laterală), dar grila Bootstrap are aceeași specificitate și se încarcă
   * după ele, așa că le impunea 50% și 33% fixe. Cu marginile adăugate, cele
   * două cărți late depășeau rândul și coborau una sub alta. Pe site-ul vechi
   * blocul arăta la fel de rupt; aici îl punem cum a fost gândit.
   */
  .legacy-page.legacy-page .price_col {
    flex: 0 0 calc(50% - 30px);
    max-width: calc(50% - 30px);
    margin: 0 15px 30px;
    padding: 30px;
  }

  .legacy-page.legacy-page .price_col3 {
    flex: 0 0 calc(33.3333% - 30px);
    max-width: calc(33.3333% - 30px);
    margin: 0 15px 30px;
    padding: 30px;
  }

  @media (width <= 1023px) {
    .legacy-page.legacy-page .price_col {
      flex-basis: calc(100% - 30px);
      max-width: calc(100% - 30px);
    }

    .legacy-page.legacy-page .price_col3 {
      flex-basis: calc(50% - 30px);
      max-width: calc(50% - 30px);
    }
  }

  @media (width <= 640px) {
    .legacy-page.legacy-page :is(.price_col, .price_col3) {
      flex-basis: calc(100% - 30px);
      max-width: calc(100% - 30px);
      padding: 24px;
    }
  }

  /*
   * Taburile dotărilor. Markup-ul e acum din butoane, iar starea activă se
   * citește din `aria-selected`, nu din clasa `.active` pe care o punea
   * jQuery-ul temei vechi. Panoul vizibil e cel fără `hidden`.
   */
  .legacy-page.legacy-page .tabs .tab {
    width: 100%;
    font: inherit;
    color: inherit;
    text-align: start;
  }

  .legacy-page.legacy-page .tab[aria-selected="true"] {
    border-color: var(--color-brown);
  }

  .legacy-page.legacy-page .tab[aria-selected="true"] h5 {
    color: var(--color-brown);
  }

  .legacy-page .tab_text_long {
    display: block;
  }

  .legacy-page.legacy-page .tab-content:not([hidden]) {
    display: block;
  }

  /* Etapele tratamentului: trei pe rând, text mai mare și îngroșat. */
  .legacy-page.legacy-page .col__etape {
    flex: 0 0 calc(33.3333% - 30px);
    max-width: calc(33.3333% - 30px);
  }

  .legacy-page.legacy-page .col__etape h6 {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
  }

  /*
   * Echipa: carusel cu trei medici pe ecran. Înainte era o grilă de 4×2 fără
   * comenzi — markup-ul aștepta Slick-ul temei vechi.
   */
  .legacy-page .team_carousel {
    position: relative;
  }

  .legacy-page .team_row {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .legacy-page .team_row::-webkit-scrollbar {
    display: none;
  }

  .legacy-page.legacy-page .team_row .single_media {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    padding-inline: 15px;
    scroll-snap-align: start;
  }

  /*
   * Săgețile: cercul folosit de caruselul de cazuri clinice. Săgețile portate
   * din tema veche sunt imagini gri fără fundal — pe ecranele mici, unde pista
   * ocupă toată lățimea, ar sta peste fotografia întunecată a medicului și
   * n-ar mai fi vizibile.
   */
  .legacy-page.legacy-page .team_carousel .carousel__arrow {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 50%;
    background-color: #d6d6d6;
  }

  .legacy-page.legacy-page .team_carousel .carousel__arrow img {
    width: 20px;
    height: 20px;
  }

  /* Titlul benzii de contact: aer până la formular. Reboot-ul Bootstrap din
     turism-grid.css îi dădea 0.5rem, prea puțin pentru un titlu de 40px. */
  .legacy-page.legacy-page .contact-form__title {
    margin-block-end: 30px;
  }

  /* Acordeon: linia de sub titlu dispare cât timp răspunsul e deschis — ea
     desparte întrebările închise între ele, nu întrebarea de propriul răspuns. */
  .legacy-page.legacy-page .accordion button[aria-expanded="true"] {
    border-bottom: 0;
  }

  /*
   * Formularul din banda de contact: grila componentei temei, cu nume și
   * telefon pe același rând. Regula `.d-flex` a grilei Bootstrap o transforma
   * în rând flex, iar câmpurile cădeau unul sub altul.
   */
  .legacy-page.legacy-page :is(.contact-form, .modal) .wpcf7-form .d-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
    gap: var(--space-4);
  }

  /*
   * Și coloanele din interior: `col-lg-6` le limita la 50% din celula de
   * grilă, deci câmpurile ocupau jumătate din lățimea lor.
   */
  .legacy-page.legacy-page :is(.contact-form, .modal) .wpcf7-form [class*="col-"] {
    flex: none;
    max-width: none;
    padding-inline: 0;
  }

  .legacy-page.legacy-page :is(.contact-form, .modal) .wpcf7-form [class*="col-lg-12"] {
    grid-column: 1 / -1;
  }

  @media (width <= 1023px) {
    .legacy-page.legacy-page .team_row .single_media {
      flex-basis: 50%;
      max-width: 50%;
    }
  }

  @media (width <= 640px) {
    .legacy-page.legacy-page .col__etape {
      flex-basis: calc(100% - 30px);
      max-width: calc(100% - 30px);
    }

    .legacy-page.legacy-page .team_row .single_media {
      flex-basis: 100%;
      max-width: 100%;
    }
  }

  /* ==========================================================================
   * Dantură Fixă pe implanturi
   *
   * Regulile din style.css-ul vechi pe care „Turism dentar” nu le folosea, deci
   * nu intraseră în portare: blocul cu implantul descompus, pașii tratamentului,
   * cifrele clinicii și lista de comentarii. Ordinea din interior e cea din
   * style.css, ca să se păstreze cascada.
   * ========================================================================== */

  /*
   * Înainte/după: banda merge de la o margine la alta, iar săgețile stau sub
   * ea, la dreapta — ca pe site-ul vechi, unde Slick le adăuga acolo. Fără
   * asta moștenesc poziționarea absolută a săgeților din celelalte secțiuni și
   * ajung peste imagini.
   */
  .legacy-page .before_after_wrap {
    position: relative;
  }

  .legacy-page .before_after_carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .legacy-page .before_after_carousel::-webkit-scrollbar {
    display: none;
  }

  .legacy-page .before_after_carousel > * {
    scroll-snap-align: start;
  }

  .legacy-page .before_after_nav {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    max-width: var(--wrap-max, 1440px);
    margin-inline: auto;
    padding-inline: 15px;
    margin-block-start: 30px;
  }

  .legacy-page .before_after_nav .carousel__arrow {
    position: static;
    translate: none;
  }

  .legacy-page .divider-40 { height: 40px; }
  .legacy-page .divider-70 { height: 70px; }
  .legacy-page .divider-110 { height: 110px; }
  .legacy-page .divider-160 { height: 160px; }

  /* Etapele: iconița stă peste un disc maro de 100px. */
  .legacy-page .step_img {
    position: relative;
    margin-bottom: 40px;
  }

  .legacy-page .step_img::after {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 100px;
    height: 100px;
    padding: 15px;
    border-radius: 50%;
    background-color: var(--color-brown);
  }

  /*
   * Implantul descompus: fiecare titlu trage o linie spre desenul din dreapta,
   * terminată cu un punct. Lățimile diferite (152/156/160%) sunt din tema
   * veche — liniile pleacă de la cuvinte de lungimi diferite și trebuie să
   * ajungă în același loc pe imagine.
   */
  .legacy-page .formare img {
    width: 100%;
  }

  /* Liniile care pleacă din titluri depășesc coloana din stânga: ele trebuie
     să ajungă la desen. Fără decupare, lățesc pagina pe ecrane mici. */
  .legacy-page .formare .container {
    overflow-x: clip;
  }

  .legacy-page .formare .btn-brown {
    margin-top: 50px;
  }

  .legacy-page .formare_content h3 {
    position: relative;
    color: #978667;
  }

  .legacy-page .formare_content :is(.coroana, .bont, .implant) h3::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline-start: 0;
    z-index: 9;
    height: 3px;
    background: #333;
  }

  .legacy-page .formare_content :is(.coroana, .bont, .implant) h3::before {
    content: "";
    position: absolute;
    inset-block-end: -5px;
    z-index: 9;
    width: 15px;
    height: 15px;
    border-radius: 100px;
    background: #333;
  }

  .legacy-page .formare_content .coroana h3::after { width: 152%; }
  .legacy-page .formare_content .coroana h3::before { right: -52%; }
  .legacy-page .formare_content .bont h3::after { width: 156%; }
  .legacy-page .formare_content .bont h3::before { right: -56%; }
  .legacy-page .formare_content .implant h3::after { width: 160%; }
  .legacy-page .formare_content .implant h3::before { right: -60%; }

  .legacy-page .bont,
  .legacy-page .implant {
    margin-top: 90px;
  }

  /* Clinica în cifre: trei carduri conturate, centrate. */
  .legacy-page .section-20 .col-lg-4 {
    flex: 0 0 calc(30% - 30px);
    max-width: calc(30% - 30px);
    margin: 0 15px 30px;
    padding: 0 15px 30px;
    border: 1px solid #c3c3c3;
    border-radius: 20px;
    text-align: center;
  }

  .legacy-page .section-20 .d-flex {
    justify-content: center;
  }

  .legacy-page .section-20 .section_title {
    max-width: 100%;
  }

  /*
   * Comentariile pacienților: capturi de ecran într-o coloană care se
   * derulează. Bara e vizibilă permanent, ca la lista de recenzii din
   * „Testimoniale ortodonție” — altfel nu se vede că mai e conținut dedesubt.
   */
  .legacy-page .community__review {
    position: relative;
    max-width: 780px;
    height: 500px;
    margin-inline: auto;
    margin-block-end: 110px;
    padding-inline-start: 20px;
    overflow-y: scroll;
  }

  .legacy-page .review_item img {
    display: block;
    width: 80%;
    height: auto;
    margin-inline: auto;
    padding-block-end: 30px;
  }

  @media (min-width: 1024px) and (max-width: 1250px) {
    .legacy-page .formare img {
      position: absolute;
      inset-block-start: 25px;
      inset-inline-end: 0;
      width: 110%;
    }

    .legacy-page .formare .btn-brown {
      margin-top: 30px;
    }

    .legacy-page .number_icon img {
      height: 140px;
    }
  }

  @media (min-width: 641px) and (max-width: 1023px) {
    .legacy-page .formare_content h3 {
      font-size: 28px;
      line-height: 38px;
    }

    .legacy-page .formare_content p {
      font-size: 18px;
    }

    .legacy-page .formare img {
      position: absolute;
      inset-inline-end: -30px;
      width: 115%;
    }

    .legacy-page .implant { margin-top: 45px; }
    .legacy-page .bont { margin-top: 55px; }

    .legacy-page .formare .btn-brown {
      margin-top: 30px;
    }

    .legacy-page .section-20 .col-lg-4 {
      flex: 0 0 calc(33.333% - 30px);
      max-width: calc(33% - 30px);
    }

    .legacy-page .number_icon img {
      width: 100%;
      height: 120px;
      object-fit: contain;
    }

    .legacy-page .number_icon {
      margin-bottom: 0;
    }
  }

  @media (width <= 640px) {
    /*
     * Sub 640px desenul implantului trece în spate, iar textul stă peste el pe
     * jumătate de lățime, cu fundal semitransparent ca să rămână lizibil.
     */
    /*
     * Ancora desenului. Fără ea, `.formare_img` e absolut, dar n-are niciun
     * strămoș poziționat, deci blocul lui de containere e fereastra: lățimea
     * de 100% se măsoară din 390px, nu din coloană, iar cutia pornește de la
     * cei 15px de padding ai containerului și iese 15px în dreapta paginii.
     * `overflow-x: clip` de pe `.container` nu-l oprea — decuparea nu se
     * aplică unui element absolut al cărui bloc de containere e mai sus.
     */
    .legacy-page.legacy-page .formare-implant {
      position: relative;
    }

    /* Dubla clasă: `.legacy-page [class*="col-"]` din legacy-grid.css are
       aceeași specificitate și se încarcă după, deci ar câștiga la egalitate
       și ar readuce `position: relative` și `width: 100%`. */
    .legacy-page.legacy-page .formare_img {
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      overflow-x: hidden;
    }

    .legacy-page .formare_img img {
      position: absolute;
      inset-inline-end: -36%;
      width: 120%;
    }

    .legacy-page.legacy-page .formare_content {
      position: relative;
      z-index: 2;
      width: 52%;
    }

    .legacy-page .formare_content h3 {
      font-size: 20px;
      line-height: 30px;
    }

    .legacy-page .bont,
    .legacy-page .implant {
      background: #ffffffdb;
    }

    .legacy-page .bont { margin-top: 55px; }
    .legacy-page .implant { margin-top: 50px; }

    .legacy-page .formare_content .coroana h3::after { width: 164%; }
    .legacy-page .formare_content .coroana h3::before { right: -65%; }
    .legacy-page .formare_content .bont h3::after { width: 173%; }
    .legacy-page .formare_content .bont h3::before { right: -80%; }
    .legacy-page .formare_content .implant h3::after { width: 175%; }
    .legacy-page .formare_content .implant h3::before { right: -80%; }

    .legacy-page .section-10 .d-flex,
    .legacy-page .section-20 .d-flex {
      display: block !important;
    }

    .legacy-page .allon-1,
    .legacy-page .allon-2,
    .legacy-page .section-20 .col-lg-4 {
      flex: 0 0 calc(100% - 30px);
      max-width: calc(100% - 30px);
      margin: auto;
    }

    .legacy-page .section-20 .col-lg-4 {
      margin-bottom: 15px;
      padding-bottom: 10px;
    }

    .legacy-page .number_icon img {
      height: 130px;
    }

    .legacy-page .step_img {
      margin-bottom: 25px;
    }

    .legacy-page .step_img::after {
      width: 75px;
      height: 75px;
    }

    .legacy-page .section-30 h2.section_title {
      padding-inline: 15px;
    }

    .legacy-page .community__review {
      margin-block-end: 80px;
      padding-inline: 15px;
    }

    .legacy-page .review_item img {
      width: 100%;
    }
  }

  /* ==========================================================================
   * Dantură Fixă — corecții de design
   *
   * Toate sunt prefixate cu `.legacy-dantura`, ca „Turism dentar” să rămână
   * neatins: cele două pagini împart acest fișier.
   * ========================================================================== */

  /* Înainte/după: banda primește aer lateral, iar săgețile trec peste imagini,
     la mijlocul lor, în loc să stea dedesubt. */
  .legacy-page.legacy-dantura .before_after_wrap {
    padding-inline: 15px;
  }

  .legacy-page.legacy-dantura .before_after_nav {
    position: absolute;
    inset-block-start: 50%;
    inset-inline: 30px;
    justify-content: space-between;
    max-width: none;
    margin: 0;
    padding: 0;
    translate: 0 -50%;
    /* Zona dintre săgeți nu trebuie să fure clicurile de pe imagini. */
    pointer-events: none;
  }

  /* Peste fotografii, săgeata goală se pierde: îi dăm cercul folosit și de
     caruselul de cazuri clinice. */
  .legacy-page.legacy-dantura .before_after_nav .carousel__arrow {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 50%;
    background-color: #d6d6d6;
  }

  .legacy-page.legacy-dantura .before_after_nav .carousel__arrow img {
    width: 24px;
    height: 24px;
  }

  /* „De ce să alegi Magnum Clinic”: patru pe rând, două rânduri. */
  .legacy-page.legacy-dantura .section-16 .d-flex {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
  }

  .legacy-page.legacy-dantura .section-16 .item-sec-16 {
    flex: none;
    width: auto;
    max-width: none;
    margin: 0;
  }

  /* Experiențele pacienților și „ce presupune fast&fixed”: fundal gri deschis. */
  .legacy-page.legacy-dantura .section-3,
  .legacy-page.legacy-dantura .section-9 {
    padding-block: 60px;
    background-color: #e7e7e7;
  }

  /* Videoul și textul, aliniate pe mijloc pe verticală. */
  .legacy-page.legacy-dantura .section-9 .d-flex {
    align-items: center;
  }

  /*
   * Etapele: iconițele sunt SVG-uri fără width/height proprii, iar reboot-ul
   * Bootstrap le scoate `max-width`, deci se randau la 0×0. Le dăm dimensiune
   * și le ridicăm peste discul maro, care altfel le acoperea.
   */
  .legacy-page.legacy-dantura .step_img img {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    object-fit: contain;
  }

  .legacy-page.legacy-dantura .step_img::after {
    z-index: 0;
  }

  .legacy-page.legacy-dantura .section-18 p {
    font-weight: 600;
  }

  .legacy-page.legacy-dantura .section-18 .btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
  }

  /* Anatomia implantului: titlurile pieselor, mai mari și bold. */
  .legacy-page.legacy-dantura .formare_content h3 {
    font-size: 36px;
    line-height: 44px;
    font-weight: 700;
  }

  /* All-on-4 / All-on-6: titlurile cardurilor, dublate. */
  .legacy-page.legacy-dantura .allon-title {
    font-size: 48px;
    line-height: 58px;
  }

  /*
   * Prețurile: același card ca pe pagina „Prețuri”, ca să nu existe două
   * limbaje pentru aceeași informație. Markup-ul portat are trei `span`-uri
   * frați, deci rândul se rupe: denumirea și prețul sus, rata sub ele.
   */
  .legacy-page.legacy-dantura .section-8 .accordion-single {
    display: grid;
    gap: 15px;
  }

  /* Paddingul portat rămânea sub card și dubla distanța dintre rânduri. */
  .legacy-page.legacy-dantura .section-8 .accordion-single-item {
    margin: 0;
    padding: 0;
    border: 0;
  }

  .legacy-page.legacy-dantura .section-8 .accordion-single-title {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 20px 30px;
    border: 1px solid var(--color-brown);
    border-radius: 20px;
    background-color: #f9f9f9;
  }

  .legacy-page.legacy-dantura .section-8 .single_title {
    flex: 0 0 75%;
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    color: var(--color-black);
  }

  .legacy-page.legacy-dantura .section-8 .service_price {
    flex: 1;
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    text-align: right;
    color: var(--color-brown);
  }

  .legacy-page.legacy-dantura .section-8 .price-per-month {
    flex: 0 0 100%;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: var(--color-brown);
  }

  /*
   * Diplomele: săgețile trec peste imagini, la mijlocul lor, ca la banda
   * înainte/după. Componenta e comună cu prima pagină, unde rămân dedesubt,
   * deci regula e prinsă de `.legacy-dantura`.
   */
  .legacy-page.legacy-dantura .certificates__nav {
    position: absolute;
    inset-block-start: 140px;
    inset-inline: 30px;
    justify-content: space-between;
    margin: 0;
    translate: 0 -50%;
    /* Spațiul dintre săgeți nu trebuie să fure clicurile de pe imagini. */
    pointer-events: none;
  }

  .legacy-page.legacy-dantura .certificates__nav .case-carousel__arrow {
    pointer-events: auto;
  }

  /* Cifrele clinicii: mari, maro, bold. */
  .legacy-page.legacy-dantura .section-20 .number {
    font-size: 60px;
    line-height: 72px;
    font-weight: 700;
    color: var(--color-brown);
  }

  /* Acordeonul întrebărilor: linie sub fiecare titlu, și când e deschis. */
  .legacy-page.legacy-dantura .accordion button {
    padding-block-end: 16px;
    border-bottom: 1px solid #d9d9d9;
  }

  /* CTA-ul de consultație: prețul și invitația, aproximativ dublate. */
  .legacy-page.legacy-dantura .section-23 h3 {
    font-size: 56px;
    line-height: 66px;
  }

  .legacy-page.legacy-dantura .section-23 .cta_23 h5 {
    font-size: 40px;
    line-height: 50px;
  }

  /* Iconița de WhatsApp din hero: fișierul e alb, pe butonul alb s-ar pierde. */
  .legacy-page.legacy-dantura .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .legacy-page.legacy-dantura .btn-whatsapp img {
    width: 24px;
    height: 24px;
    filter: brightness(0);
  }

  @media (width <= 1023px) {
    .legacy-page.legacy-dantura .section-16 .d-flex {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (width <= 640px) {
    .legacy-page.legacy-dantura .section-16 .d-flex {
      grid-template-columns: 1fr;
    }

    .legacy-page.legacy-dantura .section-8 .single_title,
    .legacy-page.legacy-dantura .section-8 .service_price {
      flex: 0 0 100%;
      text-align: left;
    }

    .legacy-page.legacy-dantura .formare_content h3 {
      font-size: 24px;
      line-height: 32px;
    }

    .legacy-page.legacy-dantura .allon-title {
      font-size: 32px;
      line-height: 40px;
    }

    .legacy-page.legacy-dantura .section-23 h3 {
      font-size: 36px;
      line-height: 44px;
    }

    .legacy-page.legacy-dantura .section-23 .cta_23 h5 {
      font-size: 26px;
      line-height: 34px;
    }
  }
}
