.event-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.event-card {
    display: block;
    background: var(--color-purple-light);
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    color: var(--color-black);
    padding: 20px 45px 30px 45px;
    box-sizing: border-box;
    text-decoration: none;
}

.event-card-content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}

.event-card-title {
    font-weight: 500;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
    color: var(--color-black);
}

.event-card-place {
    font-weight: 700;
    font-size: var(--size-2xl);
    margin-top: 32px;
}

.event-card-place-item {
    margin-top: 4px;
}

.event-card-place-light {
    font-weight: 500;
}

.events-content {
    background: var(--color-red-light);
    margin-top: 100px;
    padding: 30px 45px 50px 45px;
    border-radius: 15px;
    font-size: var(--size-2xl);
    font-weight: 500;
    line-height: 1.3;
    h2 {
        font-family: var(--font-title);
        font-size: var(--size-3xl);
        font-weight: 300;
        margin-bottom: 45px;
    }
}

.events-buttons {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 16px;
}

.events-single-places {
    margin-top: 16px;
}
.events-single-place {
    font-size: 32px;
    font-weight: 300;
}
.event-description-block {
    margin-top: 16px;
    padding: 30px 24px;
    border-radius: 15px;
    background: var(--color-purple-light);
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 24px;
}
.event-press-release {
    margin-top: 40px;
}
.event-description-text {
    font-size: var(--size-xl);
    font-weight: 300;
    padding-top: 24px;
    line-height: 1.3;
}
.event-description-media {
    width: 560px;
    height: 420px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--color-purple);
    position: relative;
}
.event-description-right {
    flex-shrink: 0;
}
.events-single-img {
    width: 100%;
    height: 100%;
    position: relative;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.video-block {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    &:hover {
        .play-btn {
            background: var(--color-red);
        }
    }
}
.play-btn {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--color-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    .play-btn-icon {
        max-width: 50px;
        transform: translateX(6px);
    }
}

.painters-block {
    margin-top: 100px;
}
.painter-block-img {
    width: 220px;
    height: 220px;
    border-radius: 100%;
    overflow: hidden;
    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.painter-block-name {
    font-size: var(--size-xl);
    font-weight: 300;
    margin-top: 24px;
    line-height: 1.3;
    text-align: center;
}
.painter-block {
    flex: 0 1 calc(25% - 42px); // 56/8*6
    max-width: calc(25% - 42px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}
.painters-block-grid {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 56px;
}
.future-triangle {
    color: red;
    font-size: 24px;
    vertical-align: middle;
    margin: 0 5px;
}

/* Основные стили блока партнеров */
.partners-section {
    width: 100%;
    max-width: 1300px; /* Фиксируем максимальную ширину */
    margin: 50px auto;
    padding: 0 20px;
}

.partners-row {
    display: flex;
    justify-content: space-between; /* Равномерное распределение */
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto 30px;
}

/* Убираем gap и используем padding для контроля расстояний */
.main-partners .partner-item {
    flex: 1;
    min-width: calc(50% - 20px); /* Два элемента в строке с отступами */
    padding: 20px;
    margin: 0 10px;
    box-sizing: border-box;
}

.regular-partners .partner-item {
    flex: 0 0 calc(33.333% - 30px); /* Три элемента в строке */
    margin: 15px;
    padding: 15px;
    box-sizing: border-box;
}

/* Новые размеры для логотипов */
.main-logo {
    width: 100%; /* Занимает всю ширину контейнера */
    max-width: 600px; /* Макс. ширина для одного лого */
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.regular-logo {
    width: 100%;
    max-width: 300px;
    max-height: 100px;
    object-fit: contain;
}

/* Адаптивность */
@media (max-width: 1300px) {
    .main-logo {
        max-width: 500px;
    }
}

@media (max-width: 1024px) {
    .main-partners .partner-item {
        min-width: calc(50% - 15px);
    }
    
    .regular-partners .partner-item {
        flex: 0 0 calc(33.333% - 20px);
    }
    
    .main-logo {
        max-height: 120px;
    }
    
    .regular-logo {
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    .main-partners .partner-item {
        min-width: 100%; /* На мобилах - один в строке */
        margin-bottom: 30px;
    }
    
    .regular-partners .partner-item {
        flex: 0 0 calc(50% - 20px); /* Два в строке */
    }
}

@media (max-width: 480px) {
    .regular-partners .partner-item {
        flex: 0 0 100%; /* На маленьких экранах - один в строке */
    }
    
    .main-logo {
        max-height: 100px;
    }
    
    .regular-logo {
        max-height: 60px;
    }
}