/* === Шорткод event_steps === */
.event-steps {
    position: relative;
    overflow: hidden;
    margin: 32px 0;
    width: calc(100% + 80px);
    margin-left: -40px;
    padding: 40px 40px 40px 40px;
    box-sizing: border-box;
}
.event-steps__media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
.event-steps__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.event-steps__title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 100%);
}
.event-steps__title h2 {
    font-family: Gotham, sans-serif;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    display: block;
    margin: 0;
}
.event-steps__intro,
.event-steps__outro {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}
.event-steps__intro p,
.event-steps__outro p {
    margin: 0;
}
.event-steps__outro {
    margin-top: 20px;
    margin-bottom: 0;
}
.event-steps__list {
    margin: 0;
    padding: 0;
}
.event-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
    position: relative;
}
.event-steps__item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background-color: #FF7582;
}
.event-steps__marker {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 10px solid #FF7582;
    box-sizing: border-box;
    background: #fff;
    position: relative;
    z-index: 1;
}
.event-steps__content {
    padding-top: 4px;
}
.event-steps__step-title {
    font-family: Gotham, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    margin-top: -6px;
}
.event-steps__step-text {
    font-size: 18px;
    line-height: 1.6;
    color: #777;
}
.event-steps__body {
    padding: 40px;
}

.event-steps__body ol {
    padding-left: 0;
}
@media (max-width: 1024px) {
    .event-steps {
        width: calc(100% + 40px);
        margin-left: -20px;
        padding: 24px;
    }
    .event-steps__title {
        padding: 28px;
    }
    .event-steps__title h2 {
        font-size: 24px;
        line-height: 1.25;
    }
    .event-steps__body {
        padding: 28px 16px;
    }
    .event-steps__step-title {
        font-size: 20px;
        line-height: 1.3;
    }
    .event-steps__step-text {
        font-size: 17px;
    }
}
@media (max-width: 768px) {
    .event-steps {
        width: 100%;
        max-width: 100%;
        margin: 24px 0;
        padding: 20px;
    }
    .event-steps__media {
        border-radius: 16px;
    }
    .event-steps__title {
        padding: 24px;
    }
    .event-steps__title h2 {
        font-size: 22px;
    }
    .event-steps__body {
        padding: 24px 8px 16px;
    }
    .event-steps__content {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .event-steps__step-title {
        font-size: 18px;
    }
    .event-steps__step-text {
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .event-steps {
        padding: 12px;
        border-radius: 20px;
    }
    .event-steps__media {
        margin-bottom: 14px;
        border-radius: 12px;
    }
    .event-steps__title {
        padding: 18px;
    }
    .event-steps__title h2 {
        font-family: Gotham, sans-serif;
        font-size: 18px;
    }
    .event-steps__body {
        padding: 16px 4px 8px;
    }
    .event-steps__item {
        gap: 12px;
        padding-bottom: 16px;
    }
    .event-steps__item:not(:last-child)::before {
        left: 14px;
        top: 28px;
    }
    .event-steps__marker {
        width: 30px;
        height: 30px;
        border-width: 8px;
        border-radius: 9px;
    }
    .event-steps__step-title {
        font-family: Gotham, sans-serif;
        font-size: 16px;
        line-height: 1.25;
    }
    .event-steps__step-text {
        font-size: 15px;
        line-height: 1.5;
    }
}
/* === / Шорткод event_steps === */

