@import url("https://fonts.googleapis.com/css2?family=Noto+Looped+Thai:wght@500&display=swap");

header {
    background-color: #01609A !important;
    margin-bottom: 40px;
}

.container {
    display: flex;
    flex-direction: column; /* Размещаем элементы по вертикали */
    align-items: center;
    max-width: 800px;
    margin: auto;
    background: linear-gradient(to bottom, #015483, #D1E0F2);


    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;

}

.image-section {
    width: 100%;
    max-width: 600px; /* Максимальная ширина для больших экранов */
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.text-section {
    width: 100%;
    color: rgba(1, 96, 154, 1);
    padding-top: 20px; /* Отступ сверху для отделения от изображения */
}

.header-title {
    font-size: 24px;
    color: rgba(1, 96, 154, 1);
    margin: 0 0 16px;
    font-weight: 700;
    text-align: center;
}

.body-info {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 12px;
    font-weight: 500;
    text-align: justify;
}

.small-text,
.foot-text {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(1, 96, 154, 1);
    margin-top: 20px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 650px) {
    .image-section {
        height: auto; /* Убираем фиксированную высоту на маленьких экранах */
    }
}
