@charset "utf-8";

/* 주간 다이어리 최신글 스킨 스타일 */
.weekly-diary-skin {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 90%;
    box-sizing: border-box;
    font-family: sans-serif;
    height: 100%;
    transform: rotate(4deg);
}

.weekly-diary-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    height: 100%;
}

.weekly-day-col {
    background: #ffffff85;
    padding: 4px;
    min-height: 120px;
}

.weekly-day-col.is-today {
    border-color: #7e9ed6;
    background-color: #ffffff85;
}

.weekly-day-header {
    color: #88a9db;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 2px;
    margin-bottom: 2px;
    border-bottom: 1px dotted rgb(176, 196, 222);
    display: grid;
}
.weekly-day-header span {
    font-family: 'RoundedFixedsys' !important;
}
.weekly-day-header .day-sun { color: #e19a83; }
.weekly-day-header .day-sat { color: #7d8f72; }

.weekly-item-list {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 77%;
    overflow: hidden;
}

.weekly-item {
    font-size: 10px;
    line-height: 1em;
    letter-spacing: -1px;
    margin-bottom: 3px;
    word-break: break-all;
    color: rgb(117,130,91);
    background: #b0c4de36;
    padding: 3px;
    text-align: justify;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

/* 완료된 항목 (취소선) */
.weekly-item.completed {
    text-decoration: line-through;
    color: #868e96;
}

.weekly-more-count {
    font-size: 11px;
    color: #868e96;
    text-align: center;
    line-height: 0.9em;
    padding-right: 5px;
    box-sizing: border-box;
}

span.date-num {
    font-size: 9px;
    line-height: 0.8em;
}

@media all and (max-width:1000px) {
    .weekly-diary-skin {
        transform: none;
        position: static;
        margin: 0 auto;
    }
    .weekly-more-count, .weekly-day-header, .weekly-day-col {
        margin: 0 !important;
    }
    .weekly-day-header{
        margin-bottom: 2px !important;
    }
}