.festival-page {
    /*position: relative;*/
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1440px;
    padding: 0 20px;
    padding-top: 60px;
}

.festival-page-bg {
    position: absolute;
    z-index: -1;
    top: -10px;
    left: 0;
    width: 100%;
    height: 623px;

    /*svg:nth-child(2) {*/
    /*    display: none;*/
    /*}*/

    background-image: url('/public/static/preview-frame-gradient-1.svg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.festival-page-bg:after {
    content: '';
    position: absolute;
    top: 604px;
    left: 0;
    right: 0;
    height: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.festival-page__header {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 125px;
    line-height: 80%;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    margin-top: 112px;
    margin-bottom: 80px;
}

.festival-page__filters {
    display: grid;
    grid-template-columns: 170px 1fr;
    max-width: 550px;
    align-self: center;
    width: 100%;
    margin-bottom: 20px;
    grid-column-gap: 4px;
}

.festival-page__events {
    margin-bottom: 24px;
    position: relative;
    width: 100%;
    padding: 80px 103px;
}

.festival-page__events-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.festival-page__events-main {
    margin-bottom: 80px;
}

.festival-page__events-main h3 {
    font-family: var(--second-family);
    font-weight: 800;
    font-size: 18px;
    line-height: 139%;
    text-transform: uppercase;
    color: #7c3dc7;
    margin-bottom: 24px;
}

.festival-page__cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    grid-column-gap: 24px;
    grid-row-gap: 24px;
}

.festival-page__card {
    display: flex;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 154px;
}

.festival-page__card:hover {
    opacity: 1;
    transform: scale(1.03);
}

.festival-page__card-image {
    width: 284px;
    height: 154px;
    flex-shrink: 0;
    overflow: hidden;
}

.festival-page__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.festival-page__card-content {
    padding: 16px 9px 16px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    font-family: var(--font-family);
    letter-spacing: 0.02em;
}

.festival-page__card-date {
    font-weight: 400;
    font-size: 12px;
    line-height: 158%;
    margin-bottom: 12px;
}

.festival-page__card-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 118%;
}

.festival-page__card-venue {
    font-weight: 400;
    font-size: 12px;
    line-height: 158%;
    margin-top: auto;
}

.festival-page__favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: transparent;
    /*width: fit-content;*/
    /*height: fit-content;*/
    color: inherit;
    display: block;
}

.festival-page__card--headliner {
    background: radial-gradient(255.18% 49.66% at 92.6% 35.93%, #722fd5 0%, #3b186f 100%);
    border: 2px solid #9f56ff;
    color: #fff;
}

.festival-page__card--other {
    background: rgba(229, 210, 255, 0.58);
    border: 2px solid rgba(229, 210, 255, 0.58);
    color: #502974;
}

.festival-page-pixels-1 {
    top: 4%;
    left: 20%;
    z-index: -1;
}
.festival-page-pixels-2 {
    top: 0;
    right: 20%;
    z-index: -1;
}

@media (max-width: 1280px) {
    .festival-page__events-bg {
        display: none;
    }

    .festival-page__cards-wrapper {
        grid-column-gap: 12px;
        grid-row-gap: 12px;
    }

    .festival-page__events {
        background: white;
        border-radius: 20px;
    }

    .festival-page__events-main {
        margin-bottom: 30px;
    }

    .festival-page__events {
        padding: 30px 20px;
    }

    .festival-page__card {
        padding-right: 25px;
    }
}

@media (max-width: 1150px) {
    .festival-page__cards-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .festival-page__header h1 {
        font-size: 80px;
    }

    .festival-page-bg {
        background-image: url('/public/static/preview-frame-gradient-2.svg');
        /*svg:nth-child(1) {*/
        /*    display: none;*/
        /*}*/
        /*svg:nth-child(2) {*/
        /*    display: block;*/
        /*}*/
    }
}

@media (max-width: 768px) {
    .festival-page-pixels-2 {
        top: 6%;
        right: 20%;
    }

    .festival-page__header h1 {
        font-size: 36px;
        line-height: 90%;
    }

    .festival-page__filters {
        max-width: 450px;
    }

    .festival-page-bg {
        height: 530px;
    }

    .festival-page-bg:after {
        top: 530px;
    }

    .festival-page {
        padding: 0;
    }

    .festival-page__events {
        width: calc(100% - 16px);
        align-self: center;
    }

    .festival-page__card {
        flex-direction: column;
        height: min-content;
        padding-right: 0;
    }

    .festival-page__card-image {
        width: 100%;
        height: 197px;
    }

    .festival-partners {
        padding-top: 36px;
        background: #f1f1f1;
    }

    .festival-page__card:hover {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .festival-page__filters {
        grid-template-columns: 1fr;
        grid-row-gap: 4px;
        max-width: 380px;
    }
}

@media (max-width: 420px) {
    .festival-page__header {
        margin-bottom: 40px;
    }
    .festival-page__filters {
        max-width: 320px;
    }
}
@media (max-width: 340px) {
    .festival-page__filters {
        max-width: 250px;
    }
}

.festival-page__card-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.festival-page__card-tag {
    padding: 2px 5px;
    font-size: 10px;
    background: #fff;
    color: balck;
    border-radius: 4px;
}
