.top-section {
    width: 100%;
    min-height: 900px;
    padding: 120px 0;
    background-color: #fff;
}

.top-section-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 40px, 1400px);
    min-height: 660px;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
}

.top-section-left {
    min-width: 0;
    aspect-ratio: 1;
}

.top-section-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0 32px 0 32px;
    object-fit: cover;
}

.top-section-right {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.top-section-heading {
    margin: 0 0 24px;
    color: var(--jkpodolog-color-polar-night);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
}

.top-section-description {
    max-width: 620px;
    margin: 0 0 28px;
    color: var(--jkpodolog-color-polar-night);
    font-size: 24px;
    line-height: 1.25;
}

.tekst-button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    color: var(--jkpodolog-color-polar-night);
    background-color: var(--jkpodolog-color-desert-sand);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.tekst-button:hover,
.tekst-button:focus-visible {
    color: var(--jkpodolog-color-ivory);
    background-color: var(--jkpodolog-color-polar-night);
}

@media (max-width: 900px) {
    .top-section {
        min-height: 0;
        padding: 72px 0;
    }

    .top-section-inner {
        grid-template-columns: minmax(0, 1fr);
        width: min(100% - 40px, 660px);
        min-height: 0;
        gap: 36px;
    }

    .top-section-left {
        width: 100%;
        max-height: 520px;
        aspect-ratio: 1.1;
    }

    .top-section-heading {
        margin-bottom: 16px;
        font-size: clamp(32px, 7vw, 42px);
    }

    .top-section-description {
        margin-bottom: 22px;
        font-size: 18px;
        line-height: 1.5;
    }

    .tekst-button {
        min-height: 48px;
        font-size: 16px;
    }
}
