@charset "utf-8";

.dd-report-latest {
    width: 100%;
}

.dd-report-latest .rpt-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dd-report-latest .rpt-card {
    background: #ffffff;
    border: 1px solid #eaedf0;
    border-radius: 16px;
    transition: all 0.25s ease;
    overflow: hidden;
}

.dd-report-latest .rpt-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.dd-report-latest .rpt-card-link {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    text-decoration: none !important;
    gap: 20px;
}

.dd-report-latest .rpt-date-box {
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    background: #f4f6fa;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dd-report-latest .rpt-day {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.1;
}

.dd-report-latest .rpt-month {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

.dd-report-latest .rpt-info-box {
    flex: 1;
    min-width: 0;
}

.dd-report-latest .rpt-badge-wrap {
    margin-bottom: 6px;
}

.dd-report-latest .rpt-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    background-color: #406ab3;
    line-height: 1.2;
}

/* 뱃지 색상 조건 분기 */
.dd-report-latest .rpt-badge[data-ca*="긴급"] { background-color: #e03838; }
.dd-report-latest .rpt-badge[data-ca*="전략"] { background-color: #25a163; }
.dd-report-latest .rpt-badge[data-ca*="분석"] { background-color: #406ab3; }
.dd-report-latest .rpt-badge[data-ca*="안내"] { background-color: #3b507b; }
.dd-report-latest .rpt-badge[data-ca*="입시"] { background-color: #e03838; }
.dd-report-latest .rpt-badge[data-ca*="리포트"] { background-color: #406ab3; }

.dd-report-latest .rpt-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.dd-report-latest .rpt-card-link:hover .rpt-title {
    color: #406ab3;
}

.dd-report-latest .rpt-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dd-report-latest .rpt-empty {
    padding: 40px;
    text-align: center;
    color: #94a3b8;
    background: #f8fafc;
    border-radius: 12px;
    font-size: 14px;
}

@media (max-width: 640px) {
    .dd-report-latest .rpt-card-link {
        padding: 16px;
        gap: 14px;
    }
    .dd-report-latest .rpt-date-box {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
    .dd-report-latest .rpt-day {
        font-size: 18px;
    }
    .dd-report-latest .rpt-month {
        font-size: 11px;
    }
    .dd-report-latest .rpt-title {
        font-size: 15px;
    }
    .dd-report-latest .rpt-desc {
        font-size: 12px;
    }
}
