.calendar-text-img {
    margin-top: -21px;
}
.calendar-fest-img,
.calendar-second-img {
    width: 175px;
    height: auto;
}
.calendar-fest-time,
.calendar-second-time {
    margin-left: 36px;
    margin-top: -39px !important;
}
.result-table {
    table-layout: fixed;
    font-size: 12px;
}

.result-table thead tr td {
    font-weight: bold;
}

.bg-grad-yellow {
    background: linear-gradient(
        180deg,
        rgba(247, 101, 101, 1) 0%,
        rgba(246, 238, 78, 1) 100%
    );
}

.result-table th:first-child,
.result-table td:first-child {
    width: 80px;
}

.result-table tbody tr td div {
    display: flex;
    min-height: 100%;
    justify-content: center;
    align-items: center;
}

.result-table thead tr td,
.result-table tbody tr td {
    text-align: center;
    vertical-align: middle;
    padding: 2px;
    text-shadow: 1px 1px #f3bf30;
}

.result-table tbody tr td div span:first-child,
.result-table tbody tr td div span:last-child {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.result-table tbody tr td.date {
    padding: 5px;
}

.result-table tbody tr td.date span:first-child,
.result-table tbody tr td.date span:last-child {
    display: block ruby;
}

.result-table tbody tr td div span:nth-child(2) {
    font-weight: 600;
    font-size: 18px;
    font-style: italic;
}

@media (max-width: 991.98px) {
    .result-table {
        font-size: 10px;
    }

    .result-table tbody tr td div span:nth-child(2) {
        font-size: 16px;
    }
}

.text-red {
    color: red;
}

@media (max-width: 425px) {
    .result-table tbody tr td div span:nth-child(2) {
        font-size: 10px !important;
    }
}

@media (max-width: 375px) {
    .calendar-fest-img,
    .calendar-second-img {
        width: 163px !important;
        height: auto;
    }
    .result-table {
        font-size: 9px;
    }

    .result-table tbody tr td div span:nth-child(2) {
        font-size: 9px !important;
    }
}

@media (max-width: 320px) {
    .calendar-text-img {
        margin-top: -18px;
        gap: 0px !important;
    }
    .calendar-fest-img,
    .calendar-second-img {
        width: 153px !important;
        height: auto;
    }
    .calendar-fest-time,
    .calendar-second-time {
        margin-left: 36px;
        margin-top: -36px !important;
    }
    .result-table {
        font-size: 7px;
    }

    .result-table tbody tr td div span:nth-child(2) {
        font-size: 8px !important;
    }
}
