
.fc-day-other { background-color: #f9f9f9; }
.gr { color: #2c3e50; font-weight: bold; }
.hj { color: #e74c3c; font-weight: bold; }
.fc-header-toolbar{ flex-wrap: wrap; }
.fc-header-toolbar .fc-button-group button{ flex: none !important; }
button {
    background: unset !important;
    padding: unset !important;
    border: unset !important;
    color: #313131 !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
}
button:focus{
    outline: none !important;
    box-shadow: none !important;
}

.events-list{
    margin: 32px 0;
}
.inner-title {
    font-size: 24px;
    color: var(--color_title);
    line-height: 1.7;
    margin-bottom: 32px;
}
.event-list-item,
.events-list .wrapper > div {
    border: 1px solid #E9E6E6;
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.events-cat-wrap {
    display: flex;
    margin-right: auto;
    gap: 8px;
    align-items: center;
}
.event-date {
    background: #F5F6FA;
    width: 64px;
    height: 48px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    font-family: var(--bold_font);
    border-radius: 0 14px 14px 0;
    color: #75788C;
    font-size: 13px;
    gap: 2px;
    letter-spacing: -8%;
}
.events-list [data-holiday="1"] .event-date {
    background: #F5CCCC;
  }
.event-date b {
    color: var(--color_title);
    font-size: 18px;
}
.event-title a {
    color: var(--black);
    font-size: 16px;
}
.event-title a:hover {
    color: var(--color2);
}

.event-cat {
    color: var(--color_title);
    padding: 3px 12px;
    font-family: var(--bold_font);
    font-size: 12px;
    display: inline-block;
    border-radius: 12px 12px 12px 0;
    background-color: #eee;
    transition: 0.4s ease;
}
.event-cat:hover {
    opacity: 0.7;
    color: var(--color_title);
}
.event-cat[style*="background-color: #000000"],
.event-cat[style*="background-color:#000000"],
.event-cat[style*="background-color: rgb(0, 0, 0)"],
.event-cat[style*="background-color:rgb(0,0,0)"],
.event-cat[style*="background-color: black"] {
    color: #fff;
}

.events-list .wrapper {
    display: grid;
    gap: 12px;
}
.date-section {
    background: white;
    border-radius: 20px;
    padding-top: 8px;
    flex-grow: 1;
}
.date-header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 20px 20px 0 0;
    background: var(--color3);
    color: var(--color_title);
    font-size: 16px;
    height: 69px;
    margin: 0 8px ;
}
.date-header i {
    font-size: 20px;
}
.date-item {
    display: flex;
    justify-content: space-between;
    padding: 13px 24px;
    border-bottom: 1px solid #EFEFEF;
    font-family: var(--med_font);
}
.date-item:last-child {
    border-bottom: none;
}
.date-text {
    font-size: 14px;
    color: #666;
    direction: ltr;
}
.date-item i {
    color: #4BAEA0;
    font-size: 14px;
}
.date-sections-wrap {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}
.current-head {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 8px;
    margin-bottom: 14px;
}
.current-jalali {
    grid-area: 1 / 2 / 3 / 3;
}
.current-detail {
    background: #fff;
    border-radius: 14px;
    padding: 9px 24px;
    font-size: 16px;
    color: #75788C;
    font-family: var(--bold_font);
    display: flex;
    gap: 4px;
}
.current-section > .current-detail {
    margin-top: 8px;
}
.current-head .current-detail {
    justify-content: space-between;
    color: #979CBF;
}
.current-detail b {
    font-family: var(--bold_font);
    color: #75788C;
    font-size: 20px;
    line-height: 35px;
}
.current-jalali {
    grid-area: 1 / 2 / 3 / 3;
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 8px;
    font-size: 14px;
    color: #4A4C59;
    line-height: 24px;
    text-align: center;
}
.current-jalali b {
    background: #C5E8E3;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px 12px 0 0;
    font-size: 32px;
    font-family: var(--med_font);
    padding: 3px 5px 2px;
    margin-bottom: 4px;
    line-height: 2;
    min-width: 73px;
}
#month-bar {
    display: flex;
    /*justify-content: center;*/
    direction: rtl;
    gap: 14px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-x: auto;
    padding-bottom: 20px;


    margin-bottom: 20px;
    transition: 0.3s ease;
}
.fc-header-toolbar.disable,
#month-bar.disable {
    opacity: 0.5;
    pointer-events: none;
}
#month-bar .month-btn {
    padding: 8px 12px;
    cursor: pointer;
    background: #FFFFFF;
    min-width: 94px;
    color: var(--black);
    font-size: 16px;
    font-family: var(--bold_font);
    text-align: center;
    border-radius: 14px;
}
.fc-header-toolbar.disable *,
#month-bar.disable .month-btn {
    pointer-events: none;
}
#month-bar .month-btn.active {
    background: var(--color2);
    color: #fff;
}
#calendar {
    max-width:100%;
    margin: 40px auto 88px;
    padding: 0;
}

.fc-header-toolbar .fc-button-group{
    position: absolute;
    display: flex;
    justify-content: space-between;
    top: 7px;
    width: 100%;
    margin: 0 !important;
}
.fc .fc-toolbar-title {
    font-size: clamp(24px, 2vw, 32px);
    color: var(--color_title);
    line-height: normal;
}
.fc[data-display-type="compact"] .fc-toolbar-title {
    font-size: clamp(20px, 2vw, 24px);
}

.fc-button-group button i {
    font-size: 21px;
}
.fc-button-group button i:after {
    color: #979797;
    transition: 0.4s ease;
}
.fc-button-group button:hover i:after {
    color: var(--color1);
}
.fc-header-toolbar .fc-toolbar-chunk:first-child {
    background: #fff;
    /* padding: 32px 34px 31px; */
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
     width: 100%;
      order: -1;
       text-align: center;
        position: relative;
      
      margin: 0 0 40px 0;
}
.events-filters select,
.fc-toolbar-chunk select {
    padding: 3px 9px 3px 24px;
    background: #E5EAF1;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='4' viewBox='0 0 6 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.45828 0.533875L3.64435 2.34006C3.28589 2.69699 2.70633 2.69699 2.34787 2.34006L0.533936 0.533875' stroke='%234B4B4B' stroke-width='1.06777' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 9px center;
    background-size: 6px 4px;
    border: none;
    border-radius: 12px 12px 12px 0;
    height: 30px;
    font-family: inherit;
    color: #3B3B3B;
    font-size: 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: 0.4s ease;
  }
  .events-filters select:hover,
  .fc-toolbar-chunk select:hover {
    background-color: #d0d3d7;
  }
.fc-showEvents-button {
    margin: 32px 34px 31px auto !important;
}
.fc-subjectFilter-button {
    margin: 31px 8px 31px 32px !important;

}

.fc-categoryFilter-button {
    margin: 31px auto 31px 0 !important;
}
.fc-header-toolbar .fc-toolbar-chunk:first-child button:last-child {
    margin-left: 32px!important;
}
.fc-showEvents-button #show-events-box {
    display: flex;
    align-items: center;
    padding-right: 50px;
    position: relative;
}

.fc-showEvents-button #show-events-box > span:first-child {
    color: var(--black);
    font-size: 16px;
    font-weight: 500;
    flex: 1;
}

.fc-showEvents-button #show-events-box label {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    margin: 0 !important;
    padding: 0;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    width: 36px;
    height: 20px;
    flex-shrink: 0;
    pointer-events: auto;
    z-index: 3;
}

.fc-showEvents-button #show-events-box label input[type="checkbox"] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
    z-index: 1;
}

.fc-showEvents-button #show-events-box::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 20px;
    background: #E0E0E0;
    border-radius: 14px;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.fc-showEvents-button #show-events-box::before {
    content: '';
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: right 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.fc-showEvents-button #show-events-box:has(input[type="checkbox"]:checked)::after {
    background: #402AA9;
}

.fc-showEvents-button #show-events-box:has(input[type="checkbox"]:checked)::before {
    right: 17px;
}

.fc-showEvents-button #show-events-box:has(input[type="checkbox"]:not(:checked))::after {
    background: #E0E0E0;
}

.fc-showEvents-button #show-events-box:has(input[type="checkbox"]:not(:checked))::before {
    right: 2px;
}

/* calendar custom styles */
.fc-theme-standard td, .fc-theme-standard th, .fc-theme-standard .fc-scrollgrid {
    border: none !important;
}
.fc-daygrid.fc-dayGridMonth-view.fc-view {
    background: #FFFFFF;
    padding: 41px 34px;
    border-radius: 24px;
}
.fc-col-header-cell.fc-day a {
    display: block;
    background: var(--color1);
    margin: 0 15px;
    color: #fff;
    border-radius: 14px;
    padding: 8px;
}
.fc .fc-scroller-harness {
    margin-bottom: 17px;
}
.fc[data-display-type="compact"] .fc-scroller-harness {
    margin-bottom: 8px;
}
.fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    border: 1px solid #E9E6E6;
    border-radius: 24px;
    height: 100%;
    /* min-height: 211px; */
    padding: 10px;
}
td.fc-daygrid-day.fc-day {
    padding: 7px;
}
.fc .fc-daygrid-day.fc-day-today,
.fc-day-other {
    background-color: unset !important;
}
.fc-daygrid-day-top {
    background: #F5F6FA;
    color: #313131;
    justify-content: center;
    border-radius: 20px 20px 0 0;
    padding: 8px 0 8px;
    font-family: var(--bold_font);
}
.fc-daygrid-day.holiday .fc-daygrid-day-top {
    background: #F5CCCC
}
.fc-daygrid-day.fc-day-today .fc-daygrid-day-top {
    background: #CEF9EB
}
.extra-dates {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 11px;
 }
.extra-dates span {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #979CBF;
    font-family: var(--bold_font);
}
.extra-dates span b {
    color: #75788C;
    font-size: 14px;
}
.fc-daygrid-event {
    color: #75788C !important;
    background: unset !important;
    font-size: 13px;
    line-height: 20px;
    font-family: var(--bold_font);
    border-width: 0 2px 0 0 !important;
    padding-right: 6px;
    margin-top: 8px !important;
        border-radius: 0;
}
.fc-h-event .fc-event-main {
    color: #75788C !important;
}
.fc-h-event .fc-event-title {
    white-space: break-spaces;
}

.fc-daygrid-more-link {
    color: #4B4B4B;
    font-weight: bold;
    font-size: 11px;
    padding-right: 6px;
}
.fc .fc-daygrid-day-bottom {
    font-size: 0;
    padding-top: 4px;
}
.fc .fc-daygrid-day-bottom a {
    border-right: 2px solid #1c1c1c;
}
.fc .fc-popover {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50% , -50%);
    overflow: hidden;
    border-radius: 14px;
}
.fc-theme-standard .fc-popover-header {
    background: var(--color1);
    color: #fff;
    padding: 3px 10px;
}
.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: unset;
}
.fc .fc-day-other .extra-dates,
.fc .fc-day-other .fc-daygrid-day-events {
    opacity: 0.3;
}
.fc .fc-daygrid-body-natural .fc-daygrid-day-events {
    margin-bottom: 0;
}
.fc .fc-popover-close {
    transition: 0.4s ease;
}
.fc .fc-popover-close:hover {
    color: var(--danger);
}
.fc .fc-more-popover .fc-popover-body {
    padding: 0 10px 10px;
}
.fc-h-event .fc-event-title {
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
#calendar[data-display-type="compact"],
.mobile #calendar {
    margin: 0 auto; 
}
[data-display-type="compact"] .extra-dates,
.mobile .extra-dates {
    flex-direction: column;
    gap: 5px;
    margin-top: 8px;
}
[data-display-type="compact"] .extra-dates span b,
.mobile .extra-dates span b {
    line-height: 1;
    font-size: 12px;
}
[data-display-type="compact"] .fc-daygrid-day-top,
.mobile .fc-daygrid-day-top {
    border-radius: 12px 12px 0 0;
    padding: 7px 0 1px;
    
}
r[data-display-type="compact"] .fc-daygrid-day-events,
.mobile .fc-daygrid-day-events {
    display: none;
}
#calendar[data-display-type="compact"] .fc-header-toolbar .fc-toolbar-chunk:first-child,
.mobile .fc-header-toolbar .fc-toolbar-chunk:first-child {
    display: none;
}
[data-display-type="compact"] .fc-header-toolbar .fc-toolbar-chunk:nth-child(2),
.mobile .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
        margin: 0;
}
[data-display-type="compact"] .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) select,
.mobile .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) select {
    padding: 3px 9px 3px 12px;
}
[data-display-type="compact"] .fc-daygrid.fc-dayGridMonth-view.fc-view,
.mobile .fc-daygrid.fc-dayGridMonth-view.fc-view {
    padding: 14px 10px 4px;
}
#calendar[data-display-type="compact"] .fc-daygrid.fc-dayGridMonth-view.fc-view td.fc-daygrid-day.fc-day,
.mobile td.fc-daygrid-day.fc-day {
    padding: 4px;
}
[data-display-type="compact"] .fc-daygrid-day-frame.fc-scrollgrid-sync-inner,
.mobile .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
    border-radius: 16px;
    padding: 6px;
}
[data-display-type="compact"] .fc .fc-scroller-harness,
.mobile .fc .fc-scroller-harness {
    margin-bottom: 4px;
}
[data-display-type="compact"] .fc-col-header-cell.fc-day a,
.mobile .fc-col-header-cell.fc-day a {
    margin: 0 5px;
}
[data-display-type="compact"] .extra-dates span,
.mobile .extra-dates span {
    font-size: 8px;
}
.events-filters {
    display: flex;
    align-items: center;
    gap: 8px;
}
.events-filters-styled {
    background: #fff;
    padding: 31px;
    border-radius: 24px;
}
.events-filters > div {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
    font-family: var(--bold_font);
    color: #4B4B4B;
    margin-right: auto;
}

  /* hide the native checkbox but keep it focusable */
 #check-holiday {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
  
label[for="check-holiday"] {
    position: relative;
    padding-left: 44px; 
    cursor: pointer;
}
label[for="check-holiday"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: #cfd2f5;
    transform: translateY(-50%);
    transition: background 0.2s ease;
}
label[for="check-holiday"]::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}
#check-holiday:checked + label[for="check-holiday"]::before {
    background: #402AA9;
}
#check-holiday:checked + label[for="check-holiday"]::after {
    transform: translate(14px, -50%);
}
/* day */
.calendar-page-wrap {
    display: flex;
    gap: 20px;
}
.calendar-page-main {
    flex: 0 0 66%;
    max-width: 66%;
}
.calendar-page-sidebar #calendar {
    background: #fff;
    padding-top: 18px;
    border-radius: 20px;
}
.calendar-page-sidebar .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 0;
}
.section-banners {
    margin: 40px 0 24px;
}
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px 12px 27px;
    background: white;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.4s ease;
    height: 70px;
}

.sidebar-link:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.link-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon i {
    color: #4BAEA0;
    font-size: 20px;
}

.uploaded-icon {
    max-width: 20px;
}

.link-title {
    color: #313131;
    font-size: 16px;
    font-family: var(--bold_font);
}
.sidebar-link .icon-link {
    margin-right: auto;
    font-size: 21px;
    vertical-align: middle;
    display: inline-block;
}
.calender-page-grid {
    display: flex;
    gap: 20px;
}
.calender-page-grid .events-list-wrapper {
    flex: 0 0 66%;
    max-width: 86%;
}
.calendar-page-sidebar {
    flex-grow: 1;
    position: sticky;
  top: 105px;
  height: fit-content;
}
.sidebar-banner img {
	width: 100%;
}
.sidebar-banner {
	margin-bottom: 24px;
	display: block;
	border-radius: 24px;
	overflow: hidden;
}
.event-single-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.event-single-head .current-head-wrap {
    flex: 0 0 36%;
    max-width: 36%;
}
.event-meta-tags {
    display: flex;
    gap: 8px;
}
.event-meta-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 8px;
  }

.events-card-wrapper {
    margin: 90px 0 110px;
}
.event-single-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.event-single-top .event-head-wrap {
    flex-grow: 1;
}
.event-single-top .thumbnail-post-img {
    flex: 0 0 40.7%;
}
.not-found {
    border: 1px solid #E9E6E6;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    color: var(--danger);
    font-family: var(--bold_font);
    width: 100%;
}
.loading-wrap {
    text-align: center;
    mix-blend-mode: darken;
}
.message-item {
    border: 1px solid #E9E6E6;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 22px 31px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    min-height: 96px;
    font-size: 14px;
}
.share-buttons .icon-share2 {
    background: #F5F6FA;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}
.share-list {
    display: flex;
    align-items: center;
    font-size: 18px;
    gap: 5px;
    padding: 12px 10px;
    background: var(--border_light);
    border-radius: 14px;
    margin-left: 10px;
    line-height: 1;
    pointer-events: none;
    opacity: 0;
    width: 0;
    margin-left: -34px;
    transition: 0.4s ease;
    overflow: hidden;
    position: absolute;
    left: 100%;
}
.share-buttons:hover .share-list {
    opacity: 1;
    pointer-events: auto;
    width: auto;
    margin-left: 0;
}
.share-buttons {
    display: flex;
    gap: 5px;
    align-items: center;
    flex-direction: row-reverse;
    position: relative;
}
.copy-url {
    position: relative;
    display: flex;
    font-size: 16px;
    color: #4B4B4B;
    line-height: 1;
    cursor: pointer;
    transition: 0.4s ease;
}

.copy-btn:hover {
    color: var(--color1);
}

.copy-btn i {
    z-index: 2;
}

.copeid-alert {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 8px 100px;
    border-radius: 6px;
    font-size: 13px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 9999;
}
.copeid-alert.hide {
    opacity: 0;
}
.message-section {
    margin: 40px 0;
}
.event-nav {
    border: 8px solid #FFF;
    background: #C5E8E3;
    border-radius: 14px;
    margin-bottom: 40px;
    position: sticky;
    top: 100px;
    padding: 19px 40px;
    z-index: 2;
}
.event-nav ul {
    display: flex;
    gap: 40px;
}
.event-nav ul a {
    color: #313131;
    font-size: 18px;
    font-family: var(--bold_font);
    transition: 0.4s ease;
}
.event-nav ul a:hover {
    color: var(--color1);
}
.event-single-head.week-style {
    flex-direction: column;
    gap: 17px;
}
.event-single-head.week-style {
    flex-direction: column;
    gap: 17px;
}
.event-single-head.week-style .current-head-wrap {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    margin-bottom: 8px;
}
.current-head-wrap .indicator {
    height: 2px;
    background: #B4B9D9;
    margin: 0 10px;
    margin-bottom: 0px;
    flex-grow: 1;
    margin-bottom: 14px;
    position: relative;
    flex: none;
    width: 92px;
    max-width: 92px;
}
.current-head-wrap .indicator::after,
.current-head-wrap .indicator::before {
    content: '';
    width: 12px;
    height: 12px;
    background: #B4B9D9;
    border-radius: 100%;
    display: inline-block;
    position: absolute;
    top: -5px;
}
.current-head-wrap .indicator::before {
    right: 0;
}
.current-head-wrap .indicator::after {
    left: 0;
}
.event-single-head.week-style .current-head {
    flex-grow: 1;
}
.swiper-events:not(.swiper-initialized) .swiper-slide {
    flex-shrink: unset;
    margin-left: 15px;
    width: 360px;
    flex: 0 0 360px;
}
@media screen and (max-width: 1400px) {
    .calender-page-grid .events-list-wrapper ,
    .calendar-page-main {
        flex: 0 0 60%;
        max-width: 60%;
    }

}
@media screen and (max-width: 1200px) {
    .calendar-page-wrap {
        flex-direction: column;
    }
    
    .calendar-page-main {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .calender-page-grid .events-list-wrapper {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .calender-page-grid {
        flex-direction: column;
    }
    .event-single-top,
    .event-single-head {
        flex-direction: column;
        gap: 20px;
    }
    .event-single-head .current-head-wrap {
        flex: 0 0 100%;
        max-width: 100%;
    }
    nav.event-nav {
        display: none;
    }
    .message-item {
        padding: 20px 16px;
    }
    .events-cat-wrap {
        display: none;
    }
    .events-list .wrapper > div {
        padding: 12px;
    }
    .date-sections-wrap {
        flex-direction: column;
        margin-bottom: 40px;
    }
    .events-card-wrapper {
        margin: 40px 0 65px;
    }
    .inner-title {
        margin-bottom: 16px;
    }
}
@media screen and (max-width: 576px) {
    button {
        gap: 4px;
    }
    .fc .fc-button {
        font-size: 12px;
    }
    .events-filters {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .fc-header-toolbar .fc-button-group {
        top: 3px;
    }
    .event-single-head.week-style .current-head-wrap {
        flex-direction: column;
    }
    .current-head-wrap .indicator {
        height: 72px;
        width: 2px;
        max-width: 2px;
    }
    .current-head-wrap .indicator::before {
        right: -5px;
    }
    .current-head-wrap .indicator::after {
        left: -5px;
        top: unset;
        bottom: -5px;
    }
}
@media screen and (max-width: 380px) {
    .mobile .fc-daygrid-day-frame.fc-scrollgrid-sync-inner {
        border-radius: 12px;
        padding: 3px;
    }  
    .mobile .extra-dates span {
        font-size: 7px;
    }
    .mobile td.fc-daygrid-day.fc-day {
        padding: 2px;
    }
    .mobile .fc-daygrid.fc-dayGridMonth-view.fc-view {
        padding: 8px 6px;
    }
}


