.row-flex { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.content-area.has-sidebar { width: calc(70% - 20px); }
.sidebar-right { width: calc(30% - 20px); min-width: 320px; position: sticky; top: 30px; }
.widget { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #f0f0f0; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.widget-title { font-family: var(--title-font); font-size: 1.6rem; font-weight: 700; border-bottom: 3px solid var(--gold-color); color: var(--bg-dark); padding-bottom: 10px; margin-bottom: 25px; display: inline-block; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 12px 0; border-bottom: 1px dashed #eee; }
.widget ul li a { color: #555; display: block; font-family: var(--reading-font); transition: 0.2s; }
.widget ul li:hover a { color: var(--bg-dark); padding-left: 5px; font-weight: 600; }
.sidebar-toggle-btn { display: none !important; }
.sidebar-inner { display: block !important; }
@media (max-width: 900px) {
    .row-flex { flex-direction: column; }
    .content-area.has-sidebar, .sidebar-right { width: 100%; min-width: 0; }
    .sidebar-right { margin-top: 40px; position: static; }
    .sidebar-toggle-btn { display: flex !important; justify-content: space-between; align-items: center; width: 100%; padding: 18px 20px; background: #fff; border: 2px solid var(--gold-color); color: var(--bg-dark); font-family: var(--title-font); font-size: 1.3rem; font-weight: bold; border-radius: 10px; cursor: pointer; margin-bottom: 25px; box-shadow: 0 6px 15px rgba(0,0,0,0.05); position: relative; z-index: 50; }
    .sidebar-inner { display: none !important; }
    .sidebar-inner.is-visible { display: block !important; animation: fadeIn 0.5s; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
/* assets/css/sidebar.css - GIAO DIỆN SIDEBAR & WIDGET */

/* Khung Widget */
.widget {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee; /* Viền nhẹ */
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); /* Bóng đổ nhẹ */
    transition: transform 0.3s;
}

.widget:hover {
    transform: translateY(-3px); /* Hiệu ứng nổi khi di chuột */
}

/* Tiêu đề Widget (Có gạch chân vàng) */
.widget-title-sidebar, .widget-title {
    font-family: var(--title-font, serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f4c3a; /* Màu xanh đậm */
    border-bottom: 2px solid var(--gold-color, #d4af37);
    padding-bottom: 12px;
    margin-bottom: 20px;
    display: block;
}

/* Widget Lịch (Calendar) Custom */
.calendar-widget-box {
    text-align: center;
}
.calendar-today {
    font-size: 4rem;
    font-weight: bold;
    color: #e74c3c; /* Màu đỏ cho ngày */
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}
.calendar-month-year {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}