/* Calendar */
.widget_calendar {
    padding: 1.5em 1em;
    position: relative;
    border: 1px solid #e0e1db;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1em;
    font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
}

.widget_calendar table {
    width: 100%;
    border-collapse: collapse;
}

.widget_calendar table caption {
    font: bold 1.2em Tahoma;
    color: #333;
    padding-bottom: 1em;
    text-align: center;
    position: relative;
}

.widget_calendar table caption .mm {
    font: bold 1.2em Tahoma;
    color: #007aff;
}

.widget_calendar table caption a {
    padding: .3em;
}

.widget_calendar table caption a img {
    width: 14px;
    height: 14px;
}

.widget_calendar table caption a.back {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url("../images/buttonArrowCalendarLeft.gif") no-repeat center center;
    width: 14px;
    height: 14px;
}

.widget_calendar table caption a.next {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url("../images/buttonArrowCalendarRight.gif") no-repeat center center;
    width: 14px;
    height: 14px;
}

.widget_calendar table th,
.widget_calendar table td {
    padding: .8em 0;
    text-align: center;
    font-size: 0.95em;
    width: 14.28%;
    border-bottom: 1px solid #f0f0f0;
}

.widget_calendar table th {
    font-weight: 500;
    color: #888;
}

.widget_calendar table th.sun {
    color: #ff4d4f;
}

.widget_calendar table th.sat {
    color: #1890ff;
}

.widget_calendar table td {
    color: #333;
}

.widget_calendar table td.sun {
    color: #ff4d4f;
}

.widget_calendar table td.sat {
    color: #1890ff;
}

.widget_calendar table td.today {
    background: #007aff;
    color: #fff;
    border-radius: 0%;
    font-weight: bold;

}

.widget_calendar table td.today a {
    color: #fff;
    font-weight: bold;
}

.widget_calendar table td a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s ease;
}

.widget_calendar table td a:hover {
    background: #f5f5f5;
}

.widget_calendar table td.posted a {
    border: 2px solid #007aff;
}
