.tf-calendar .tab-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.tf-calendar .tab-month .prev-month,
.tf-calendar .tab-month .next-month {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #B31E25;
    gap: 16px;
}

.tf-calendar .tab-month .divide {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    color: #B31E25;
}

.tf-calendar .fc-view-harness {
    height: auto !important;
}

.tf-calendar .tf-event-tooltip {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0px;
    color: #000000;

    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0px 2px 4px 0px #0C0C0D0D, 0px 2px 4px 0px #0C0C0D1A;
}

.tf-calendar .tf-event-tooltip {
    position: absolute;
    white-space: nowrap;
    opacity: 0;
    display: none;
    /* transition: opacity 0.2s ease; */
    z-index: 9999;
}

.tf-calendar .tf-has-event-bg:hover .tf-event-tooltip {
    opacity: 1;
    display: block;
}

.tf-calendar .tf-event-tooltip:after {
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border: 1px solid #D9D9D9;
    border-left: 0;
    border-top: 0;
    transform: translateX(-50%) rotate(45deg);
    position: absolute;
    bottom: -4px;
    left: 50%;
    background: #FFF;
}

/* .tf-calendar .fc-day-past,
.tf-calendar .fc-day-future {
    color: #BFBFBF;
} */

.tf-calendar .navigation-month {
    width: 44px;
    height: 44px;
    border: 1px solid #BFBFBF;
    background: #fff;
    color: #1F1F1F;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.tf-calendar .navigation-month:hover {
    background: #B31E25;
    color: #fff;
    border-color: #B31E25;
}

.tf-calendar #calendars {
    gap: 40px;
    justify-content: center;
}

.tf-calendar #calendars>.calendar {
    padding: 16px;
}

.tf-calendar .fc-toolbar-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #1F1F1F;
    text-align: center;
    font-family: "Poppins", sans-serif;
    margin-bottom: 14px;
}

.tf-calendar .fc-col-header-cell-cushion {
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    color: #595959;
    text-transform: uppercase;
}

.tf-calendar #calendars .fc-col-header-cell {
    padding: 5px;
    padding-bottom: 15px;
}

.tf-calendar #calendars .fc-daygrid-day-frame {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    vertical-align: middle;
    color: #1F1F1F;
}

.tf-calendar #calendars .fc-day-past .fc-daygrid-day-frame {
    color: #BFBFBF;
}

.tf-calendar #calendars .fc-daygrid-day,
.tf-calendar #calendars .fc-daygrid-day .fc-daygrid-day-frame {
    width: 65px;
    height: 65px;
    margin: 0 auto;
}

.tf-calendar #calendars .fc-daygrid-day .fc-daygrid-day-frame,
.tf-calendar #calendars .fc-daygrid-day .fc-daygrid-day-top  {
    position: relative;
}

.tf-calendar #calendars .fc-daygrid-day .fc-daygrid-day-top {
    z-index: 999;
    height: 100%;
    display: flex
;
    align-items: center;
    justify-content: center;
}

.tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-bg::after {
    content: '';
    width: 60px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 
}

.tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-bg::before {
    content: '';
    width: calc(100% + 50px);
    height: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #A8071A;
    display: none;
}

.tf-calendar #calendars .tf-single-day-event.tf-has-event-bg .fc-daygrid-day-bg::after {
    border-radius: 50%;
}

.tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-bg::after {
    background: #A8071A;
}

.tf-calendar #calendars .tf-single-day-event .fc-daygrid-day-number {
    color: #fff;
}

.tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-number {
    color: #fff;
}

.tf-calendar #calendars .tf-multi-day-start .fc-daygrid-day-bg::after {
    background: #A8071A;
    border-radius: 100px 0 0 100px;
}

.tf-calendar #calendars .tf-multi-day-start .fc-daygrid-day-number {
    color: #fff;
}

.tf-calendar #calendars .tf-multi-day-end .fc-daygrid-day-bg::after {
    background: #A8071A;
    border-radius: 0 100px 100px 0;
}

.tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-bg::before {
    display: block;
}

.tf-calendar #calendars .tf-single-day-event.tf-has-event-bg .fc-daygrid-day-bg::before,
.tf-calendar #calendars .tf-multi-day-start .fc-daygrid-day-bg::before,
.tf-calendar #calendars .tf-multi-day-end .fc-daygrid-day-bg::before {
    display: none;
}

.tf-calendar #calendars .tf-multi-day-end .fc-daygrid-day-number {
    color: #fff;
}

.tf-calendar .fc-daygrid-body {
    width: 100% !important;
}

.tf-calendar .fc-daygrid-body .fc-scrollgrid-sync-table {
    width: 100% !important;
    height: auto !important;
}

/* calendar list */

.wrap-list-event {
    display: flex;
    flex-wrap: wrap;
    margin-left: -32px;
}

.wrap-list-event .card-event-calendar {
    width: calc(33.33333% - 32px);
    margin-left: 32px;
    margin-bottom: 32px;
}


.card-event-calendar {
    border: 2px solid #F0F0F0;
    border-radius: 12px;
    overflow: hidden;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    background: #fff;
}

.card-event-calendar:hover {
    box-shadow: 0px 2px 3px 0px #0000004D;

    box-shadow: 0px 6px 10px 4px #00000026;
}

.card-event-calendar .features-post {
    position: relative;
}

.card-event-calendar .features-post .start-date {
    font-weight: 500;
    font-size: 11px;
    color: #fff;
    background: #00000080;
    backdrop-filter: blur(16px);
    padding: 8px 12px;
    border-radius: 20px;
    position: absolute;
    top: 12px;
    left: 12px;
    line-height: 1em;
}

.card-event-calendar .features-post .wrap-actors {
    display: flex
;
    flex-wrap: wrap;
    gap: 10px 24px;
    position: absolute;
    bottom: 12px;
    right: 13px;
    z-index: 5;
    justify-content: right;
        width: 50%;
}

.card-event-calendar .features-post .actor-box {
    font-weight: 500;
    font-size: 11px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
        line-height: 1em;
}

.card-event-calendar .features-post img {
    width: 100%;
    height: 228px;
    object-fit: cover;
}

.card-event-calendar .features-post::after {
    content: '';
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 56.77%, #000000 100%);
    height: 82px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}


.card-event-calendar .features-post .actor-box .actor-logo {
    flex-shrink: 0;
}

.card-event-calendar .features-post .actor-box img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.card-event-calendar .title {
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 9px;
    font-family: "Poppins", sans-serif;
}

.card-event-calendar .title a {
        -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.card-event-calendar .title a {
    color: #B31E25;
}

.card-event-calendar .title a:hover {
    color: #141414;
}

.card-event-calendar .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #1F1F1F;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    min-height: 48px;
}

.card-event-calendar .bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 16px;
}

.card-event-calendar .content {
    padding: 16px 24px;
    padding-bottom: 22px;
    background: #fff;
}

.card-event-calendar .location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8C8C8C;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
}

.card-event-calendar .location i {
    flex-shrink: 0;
    font-size: 16px;
}

.card-event-calendar .btn-read {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    background: #141414;
    border-radius: 8px;
    padding: 4px 15px;
    flex-shrink: 0;
}

.card-event-calendar .btn-read:hover {
    background: #B31E25;
    color: #fff;
}

/* archive-event */


.archive-event {
    padding: 60px 0;
    background: #F5F5F5;
}

.archive-event #calendars {
    background: #fff;
    border-radius: 16px;
    padding: 32px 40px;
    margin-bottom: 32px;
    gap: 20px 40px;
}

.archive-event #calendars > .calendar {
    width: 100%;
    padding: 0;
}

.archive-event #calendars .fc-col-header,
.archive-event #calendars .fc-scrollgrid {
    width: 100% !important;
}

.archive-event #calendars .fc-view-harness {
    background: #F5F5F5;
    border-radius: 8px;
    padding: 40px;
}

.archive-event .tf-calendar .fc-toolbar-title {
font-weight: 600;
font-size: 20px;
line-height: 28px;
color: #1F1F1F;
margin-bottom: 14px;
}

.archive-event #calendars .fc-col-header-cell {
    text-align: center;
}

.description-event {
    padding: 60px 0;
    text-align: center;
}

.description-event.bg-gray {
    background: #f5f5f5;
}

.description-event h2 {
    font-weight: 600;
    font-size: 48px;
    line-height: 64px;
    color: #B31E25;
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.description-event h2 span {
    font-weight: 200;
}

.description-event h2::after {
    content: '';
    width: 193px;
    height: 1px;
    background: #820014;
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
}

.description-event h2::before {
    content: '';
    width: 17px;
    height: 1px;
    background: #fff;
    position: absolute;
    bottom: -7px;
    left: 58%;
    transform: translateX(-50%);
    z-index: 1;
}

.description-event p {
font-size: 16px;
line-height: 24px;
color: #000000;
margin: 0;
}

#calendars .tf-multi-day-start .fc-daygrid-day-bg::after,
#calendars .tf-multi-day-end .fc-daygrid-day-bg::after {
    width: 100% !important;
}

#calendars .fc-daygrid-body,
#calendars .fc-scrollgrid-sync-table {
    width: 100% !important;
}

@media (max-width: 1400px) {
.tf-calendar #calendars .fc-daygrid-day, .tf-calendar #calendars .fc-daygrid-day .fc-daygrid-day-frame {
    width: 50px;
    height: 50px;
}
#calendars .fc-daygrid-day .fc-daygrid-day-bg::after {
    width: 45px !important;
    height: 45px !important;
}
.tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-bg::before {
    height: 45px !important;
}
.tf-calendar #calendars .tf-multi-day-start .fc-daygrid-day-frame,
.tf-calendar #calendars .tf-multi-day-end .fc-daygrid-day-frame,
#calendars .tf-multi-day-start .fc-daygrid-day-bg::after,
#calendars .tf-multi-day-end .fc-daygrid-day-bg::after {
    width: 100% !important;
}
.archive-event #calendars .fc-col-header-cell {
    width: 50px;
}
.archive-event #calendars .fc-col-header,
.archive-event #calendars .fc-scrollgrid,
.tf-calendar .fc-daygrid-body .fc-scrollgrid-sync-table {
    width: 100% !important;
}
.archive-event #calendars .fc-scrollgrid {
        margin: 0 auto;
}
}

@media (max-width: 991px) {
    .wrap-list-event .card-event-calendar {
        width: calc(50% - 32px);
    }
    .tf-calendar #calendars .fc-daygrid-day, .tf-calendar #calendars .fc-daygrid-day .fc-daygrid-day-frame {
    width: 40px;
    height: 40px;
}
#calendars .fc-daygrid-day .fc-daygrid-day-bg::after {
    width: 35px !important;
    height: 35px !important;
}
#calendars .fc-daygrid-day .fc-daygrid-day-bg::before,
    .tf-calendar #calendars .tf-has-event-bg .fc-daygrid-day-bg::before {
    height: 35px !important;
}
.tf-calendar #calendars .tf-multi-day-start .fc-daygrid-day-frame,
.tf-calendar #calendars .tf-multi-day-end .fc-daygrid-day-frame,
#calendars .tf-multi-day-start .fc-daygrid-day-bg::after,
#calendars .tf-multi-day-end .fc-daygrid-day-bg::after {
    width: 100% !important;
}
.archive-event #calendars .fc-view-harness {
    padding: 20px;
}
}

@media (max-width: 767px) {
    .archive-event #calendars {
        flex-wrap: wrap;
        padding: 30px 15px;
    }
    .archive-event #calendars .fc-view-harness {
        padding: 15px;
    }
    .wrap-list-event .card-event-calendar {
        width: calc(100% - 32px);
    }
    .tf-calendar .tab-month {
    gap: 10px;
}
.tf-calendar .tab-month .prev-month, .tf-calendar .tab-month .next-month {
    font-size: 18px;
    gap: 10px;
}
.tf-calendar .navigation-month {
    width: 35px;
    height: 35px;
}
}