h1 {
    text-align: center;
}

.stoberi {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 900px;
    margin: 50px auto;
    font-family: sans-serif;
}

.stoberi img {
    width: 75%;
    border-radius: 50px;
}

.stoberi-info {
    position: absolute;
    right: 0;
    width: 45%;
    background-color: #7B241C;
    color: white;
    padding: 60px 40px;
    border-radius: 100px 40px 100px 40px;
    box-sizing: border-box;
}

.stoberi-info h2 {
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    margin: 0 0 20px 0;
}

.stoberi-info p {
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.news-post {
        display: flex;
        flex-direction: row-reverse;
        align-items: stretch;
        gap: 30px;
        height: 600px;
        margin: 150px;
    }

    .main-promo-img {
        width: 50%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    .news-content-left {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
        height: 100%;
    }

    .news-text {
        flex: 1;
        background-color: #7B241C;
        padding: 40px;
        border-radius: 30px;
        color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }

    .news-text h2 {
        font-size: 36px;
        color: #D6D1B2;
        margin: 0 0 15px 0;
    }

    .secondary-img {
        flex: 1;
        width: 100%;
        height: 50%;
        object-fit: cover;
        border-radius: 30px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    @media screen and (max-width: 1024px) {
    .news-post {
        flex-direction: column;
        height: auto;
        margin: 40px 20px;
        gap: 20px;
    }

    .main-promo-img {
        width: 100%;
        height: 400px;
    }

    .news-content-left {
        width: 100%;
    }

    .news-text {
        padding: 30px;
    }

    .news-text h2 {
        font-size: 28px;
    }

    .secondary-img {
        height: 300px;
    }
}

.cakes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    max-width: 1000px;
    margin: 50px auto;
}

.cakes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.cakes .cakes-info {
    grid-column: 1 / span 2;
    padding: 20px;
    background: #fdfdfd;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
}

@media (max-width: 768px) {
    .stoberi {
        flex-direction: column;
        padding: 0 20px;
    }

    .stoberi img {
        width: 100%;
    }

    .stoberi-info {
        position: static;
        width: 100%;
        margin-top: -30px;
        border-radius: 40px;
        padding: 30px;
    }

    .cookies {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        padding: 0 20px;
    }

    .cookies > img:first-child {
        grid-column: 1;
        grid-row: 2;
        height: 300px;
    }

    .cookies .cookies-info:nth-of-type(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .cookies .cookies-info:nth-of-type(2) {
        grid-column: 1;
        grid-row: 3;
    }

    .cakes {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .cakes img:nth-of-type(1),
    .cakes img:nth-of-type(2),
    .cakes .cakes-info {
        grid-column: 1;
    }
}