@media (max-width: 1600px) {
    .current-events-block, .current-events-block .card-img {
        height: auto;
    }

    .current-events-block-preview .placeholder {
        height: 450px;
    }

    .event-calendar-cell {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 20px;
    }

    .js-count-events {
        bottom: 8px;
        width: 40px;
    }

    .event-short-card .current-event-link .event-link-btn {
        font-size: 14px;
    }

    .event-short-card .current-event-link .btn-arrow-icon {
        bottom: 4px;
    }

    .card .item-image {
        height: 248px;
    }
}

@media (max-width: 1399px) {
    .card .item-image {
        height: 326px;
    }
}

@media (max-width: 1279px) {
    .card .item-image {
        height: 272px;
    }
}


@media (max-width: 992px) {
    .event-calendar-cell {
        font-size: 28px;
        line-height: 28px;
        width: 81px;
        height: 81px;
    }

    .js-count-events {
        bottom: 15px;
        width: 81px;
    }

    .current-events-blocks-container {
        margin-top: 40px;
    }


    .events-calendar-block {
        margin-top: 30px;
    }

    .events-calendar table {
        margin-top: 20px;
    }

    .events-calendar .month-name {
        font-size: 20px;
        line-height: 24px;
    }

    .events-calendar-footer .badge-block {
        margin-right: 8px;
    }

    #events-title {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .short-event-header {
        padding: 20px;
    }

    .short-event-header .btn {
        font-size: 14px;
        line-height: 14px;
        letter-spacing: 0.02em;
    }

    .container-events {
        padding-left: 8px;
        padding-right: 8px;
    }

    .event-short-card .card-body {
        padding: 20px 10px 0 20px;
    }

    .event-card .card-title {
        font-size: 20px !important;
        line-height: 24px;
    }

    .events-pagination {
        margin-top: 54px;
    }

    .events-pagination .pagination {
        justify-content: center;
    }

    .pagination-center {
        margin: 0 45px;
    }

    .events-pagination .pagination .page-item {
        width: 41px;
        height: 41px;
    }

    .events-pagination .pagination .page-item:before {
        width: 39px;
        height: 39px;
    }

    .events-pagination .pagination .page-item i {
        font-size: 32px;
        top: 2px;
    }

    .events-pagination .pagination .page-item.prev, .events-pagination .pagination .page-item.prev:before {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }

    .events-pagination .pagination .page-item.next, .events-pagination .pagination .page-item.next:before {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    }

    .pagination-center > span {
        font-size: 16px;
        line-height: 12px;
    }

    .pagination-center .shown-page {
        font-size: 32px;
        line-height: 24px;
    }

    .short-event-header .btn {
        padding: 8px;
    }

    .current-event .card-img-overlay .current-event-header .btn {
        padding: 8px;
        font-size: 14px;
        line-height: 14px;
    }

    .current-event .card-img-overlay {
        padding: 20px 0 0 20px !important;
    }

    .current-event .card-img-overlay .current-event-link .btn {
        padding: 16px 44px 17px 18px;
        height: 52px;
        font-size: 16px;
        line-height: 19px;
    }

    .current-event .card-img-overlay .current-event-link .btn-arrow-icon {
        bottom: 10px;
    }

    .card .item-image {
        height: auto;
    }
}

@media (max-width: 768px) {
    .event-calendar-cell {
        font-size: 28px;
        line-height: 28px;
        width: 61px;
        height: 61px;
    }

    .js-count-events {
        bottom: 16px;
        width: 61px;
    }

    .current-event, .current-events-block .card-img, .current-events-block-preview .placeholder {
        clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 20px 100%, 0 calc(100% - 20px));
    }

    [class^=events-block-calendar] .selector-box:first-child {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .current-events-block .owl-dots {
        margin-top: -23px !important;
    }

    .event-calendar-cell-block {
        padding: 4px !important;
    }

    .event-calendar-cell {
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 20px;
    }

    .js-count-events {
        bottom: 8px;
        width: 40px;
    }


    .current-events-block, .current-events-block .card-img, .current-events-block-preview .placeholder {
        height: 250px;
    }

    .current-event-not-found {
        min-height: 250px;
    }
}