.opt {
    display: flex;
    background-color: #fff;
    border: 1px solid #cacaca;
    border-radius: 16px;
    padding: 0px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    margin: 10px;
}


.container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 20px;
}

/* Стили для заголовка */
.container h1 {
    margin: 15px;
    width: 100%;
    padding: 0px 0;
    text-align: left;
    font-size: 24px;
    color: #333;
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px;
}

/* Стили для блока с описанием и картинкой */
.content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    /* Максимальная ширина контента */
}

/* Стили для описания и картинки */
.description,
.image {
    flex: 1;/* Равномерное распределение ширины */
    margin: 0 10px;
}

/* Стили для текста в описании */
.description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    text-align: justify;
    margin: 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #6c757d;
}

.image img {
    border-radius: 10px;
    max-width: 100%;
    height: 550px;
    object-fit: cover;
}

.opt-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 3px solid #6c757d;
}

/* Мобильные стили */
@media (max-width: 768px) {
    .opt {
        margin: 5px;
        border-radius: 12px;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    }

    .container {
        margin: 10px;
    }

    .container h1 {
        font-size: 20px;
        margin: 10px 0;
        text-align: left;
    }

    .content {
        flex-direction: column;
        gap: 20px;
    }

    .description,
    .image {
        flex: none;
        margin: 0;
    }


    .description p {
        font-size: 1rem;
        line-height: 1.6;
        padding: 12px;
        text-align: left;
    }

    .image img {
        height: auto;
        min-height: 250px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .opt {
        margin: 2px;
        border-radius: 8px;
    }

    .container {
        margin: 8px;
    }

    .container h1 {
        font-size: 18px;
        margin: 8px 0;
        text-align: left;
    }

    .content {
        gap: 15px;
    }


    .description p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 10px;
    }

    .image img {
        min-height: 200px;
        max-height: 300px;
        border-radius: 8px;
    }
}
