.section-events {
    width: 100%;
    box-sizing: border-box;
}

.section-events__inner {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-events__list {
    display: grid;
    gap: 1.5rem;
}

.section-events__item {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(230px, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding: 1.5rem;
    overflow: hidden;
    background: #e6efef;
    border: 1px solid #d2e0e5;
    border-radius: 12px;
}

.section-events__content,
.section-events__media {
    min-width: 0;
}

.section-events__item-title {
    margin: 0 0 1rem;
    color: inherit;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.25;
}

.section-events__text {
    line-height: 1.5;
}

.section-events__text > :first-child {
    margin-top: 0;
}

.section-events__text > :last-child {
    margin-bottom: 0;
}

.section-events__image-link {
    display: block;
    border-radius: 10px;
}

.section-events__image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.section-events__image-link:focus-visible {
    outline: 2px solid #f59b10;
    outline-offset: 3px;
}

@media (max-width: 760px) {
    .section-events__inner {
        width: 92%;
    }

    .section-events__item {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .section-events__media {
        order: -1;
    }
}
