body.cms-index-index .uahome-homepage,
body.cms-index-index .uahome-homepage * {
    box-sizing: border-box;
}

body.cms-index-index .page-main {
    display: flex;
    flex-direction: column;
}

body.cms-index-index .columns {
    display: flex;
    flex: 1 1 auto;
}

body.cms-index-index .column.main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
}

.uahome-homepage {
    display: flex;
    width: 100%;
    max-width: 1152px;
    min-height: 100%;
    margin: 0 auto;
    padding: 0 16px 24px;
    flex: 1 1 auto;
    align-items: center;
}

.uahome-homepage__panel {
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 64px);
    width: 100%;
    margin: auto;
    padding: clamp(24px, 5vw, 56px);
    border: 1px solid #e7e4dc;
    border-radius: 3px;
    background: #f8f7f2;
}

.uahome-homepage__brand {
    display: block;
    width: min(100%, 22rem);
    justify-self: center;
}

.uahome-homepage__brand img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.uahome-homepage__message {
    max-width: 38rem;
}

.uahome-homepage__message h1 {
    margin: 0;
    color: #333;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.uahome-homepage__message p {
    margin: 1rem 0 0;
    color: #575757;
    font-size: 1.6rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .uahome-homepage__panel {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 24px 20px 32px;
        text-align: center;
    }

    .uahome-homepage__brand {
        width: min(100%, 18rem);
    }

    .uahome-homepage__message p {
        font-size: 1.4rem;
    }
}
