/* Основной информационный блок, его можно целиком добавлять в html столько, сколько необходимо (слева - фото, справа - текст) */
.infoblock-left-right {
    font-family: 'MuseoSansCyrl-100';
    background-color: #ebf9ff;
    height: 610px;
    width: 100%;
    margin: 50px 0px;
    padding-left: 100px;
    padding-right: 100px;
    display: flex;
    box-sizing: border-box;
    gap: 50px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-clip: border-box;
}

.photo-item-left-right {
    height: 100%;
    aspect-ratio: 1/1;
    flex: 0 0 auto;
    /*background-color: #ffffff;
    background-image: url('../images/sample.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    border-radius: 30px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.06),
        0 10px 20px rgba(0, 0, 0, 0.06),
        0 15px 40px rgba(0, 0, 0, 0.10);
    transition: transform 0.5s ease;
}

.photo-item-left-right img {
  width: 100%;
  border-radius: 30px;
}

.photo-item-left-right:hover {
    transform: translateY(-20px);
}

.photo-item-left-right {
    aspect-ratio: 1/1;
    border-radius: 30px;
}

.photo-text-info {
    padding-top: 30px; 
    font-weight: 500;
}

.modern-title {
  font-size: 40px;
}

.companion-subtitle {
  padding-top: 10px;
  font-size: 25px;
}

.information-left-right {
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    text-align: right;
    color: #000000;
    overflow-y: auto;
    align-items: flex-end;
}

.text-info {
    font-size: 30px;
    font-weight: 400;
    color: #000000;
    line-height: 1;
    margin: 0 0 10px 0;
}

.text-info span {
    font-family: 'MuseoSansCyrl-500';
}

.information-left-right-hr {
    height: 5px;
    width: 100%;
    max-width: 580px;
    margin: 30px 0;
    border-radius: 5px;
    background-color: #808080;
    margin-left: auto;
    display: block;
}

@media (max-width: 1440px) {
  .infoblock-left-right {
    height: 560px;
    padding-left: 70px;
    padding-right: 70px;
    gap: 40px;
  }
  
  .text-info {
    font-size: 28px;
  }
  
  .information-left-right-hr {
    max-width: 500px;
    margin: 25px 0;
  }
}

@media (max-width: 1280px) {
  .infoblock-left-right {
    height: 500px;
    padding-left: 50px;
    padding-right: 50px;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .photo-item-left-right {
    border-radius: 25px;
  }
  
  .text-info {
    font-size: 26px;
  }
  
  .information-left-right {
    padding: 30px 0;
  }
  
  .information-left-right-hr {
    max-width: 450px;
    margin: 20px 0;
    height: 4px;
  }
}

@media (max-width: 1100px) {
  .infoblock-left-right {
    height: 450px;
    padding-left: 50px;
    padding-right: 50px;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .photo-item-left-right:hover {
    transform: translateY(-10px);
  }
  
  .information-left-right {
    padding: 20px 0;
  }
  
  .text-info {
    font-size: 20px;
    margin-bottom: 8px;
  }
  
  .information-left-right-hr {
    max-width: 350px;
    margin: 20px 0;
    height: 4px;
  }
}

@media (max-width: 900px) {
  .infoblock-left-right {
    height: auto;
    padding: 25px 40px;
    margin: 0px;
    gap: 40px;
    align-items: center;
    flex-direction: column;
  }
  
  .photo-item-left-right {
    width: 100%;
    max-width: 450px;
    height: 450px;
    aspect-ratio: unset;
    margin: 0 auto;
    order: 1;
  }
  
  .information-left-right {
    width: 100%;
    max-width: 600px;
    text-align: center;
    align-items: center;
    padding: 0;
    order: 2;
  }
  
  .text-info {
    font-size: 22px;
    text-align: center;
  }
  
  .information-left-right-hr {
    margin: 20px auto;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .infoblock-left-right {
    padding: 40px 30px;
    gap: 30px;
  }
  
  .photo-item-left-right {
    max-width: 400px;
    height: 400px;
    border-radius: 25px;
  }
  
  .text-info {
    font-size: 20px;
  }
  
  .information-left-right-hr {
    max-width: 350px;
    height: 3px;
  }

    .modern-title {
    font-size: 30px;
    }

    .companion-subtitle {
    padding-top: 10px;
    font-size: 20px;
    }
}

@media (max-width: 480px) {
  .infoblock-left-right {
    padding: 30px 20px;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  
  .photo-item-left-right {
    max-width: 100%;
    height: 300px;
    border-radius: 20px;
  }
  
  .photo-item-left-right:hover {
    transform: translateY(-8px);
  }
  
  .text-info {
    font-size: 18px;
    margin-bottom: 6px;
    line-height: 1.2;
  }
  
  .information-left-right-hr {
    max-width: 280px;
    margin: 15px auto;
    height: 2px;
  }
}