.thumb {
    position: relative;
    display: inline-block;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.thumb img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.calendar-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
    overflow: hidden;
}

.calendar-header {
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.calendar-header::before,
.calendar-header::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 5px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calendar-header::before {
    left: 10px;
}

.calendar-header::after {
    right: 10px;
}

.calendar-date {
    color: #333;
    font-size: 24px;
    font-weight: bold;
    margin-top: 5px;
}

ul.custom-ul-today-history {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

ul.custom-ul-today-history:before {
    content: "";
    display: inline-block;
    width: 2px;
    background: #d6d6d6;
    position: absolute;
    top: 5px;
    height: calc(100% - 10px);
}

html[dir="rtl"] ul.custom-ul-today-history:before {
    right: 3px;
    left: auto;
}

html[dir="rtl"] ul.custom-ul-today-history li.custom-li {
    padding-right: 15px;
    padding-left: 0;
}

html[dir="rtl"] ul.custom-ul-today-history li.custom-li:before {
    right: 0;
    left: auto;
}

html[dir="ltr"] ul.custom-ul-today-history:before {
    left: 3px;
    right: auto;
}

html[dir="ltr"] ul.custom-ul-today-history li.custom-li {
    padding-left: 15px;
    padding-right: 0;
}

html[dir="ltr"] ul.custom-ul-today-history li.custom-li:before {
    left: 0;
    right: auto;
}

ul.custom-ul-today-history li.custom-li {
    position: relative;
    margin-bottom: 15px;
}

ul.custom-ul-today-history li.custom-li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #000;
    position: absolute;
    top: 5px;
    border-radius: 10px;
}
