Chú ý: Sau khi lưu trang, có thể bạn sẽ phải xóa bộ nhớ đệm của trình duyệt để xem các thay đổi.

  • Firefox / Safari: Nhấn giữ phím Shift trong khi nhấn Tải lại (Reload), hoặc nhấn tổ hợp Ctrl-F5 hay Ctrl-R (⌘R trên Mac).
  • Google Chrome: Nhấn tổ hợp Ctrl-Shift-R (⇧⌘R trên Mac).
  • Edge: Nhấn giữ phím Ctrl trong khi nhấn Làm mới (Refresh), hoặc nhấn tổ hợp Ctrl-F5.
/* Mã CSS đặt ở đây sẽ áp dụng cho mọi giao diện */
/* Ẩn tiêu đề chữ "Trang Chính" mặc định ở trang chủ cho gọn */
.page-Trang_Chính .firstHeading,
.page-Trang_Chính #section_0 {
    display: none !important;
}

/* Khung lời chào (Hero Banner) */
.wiki-hero {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    padding: 28px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.wiki-hero-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.wiki-hero-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 18px;
}
.wiki-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.wiki-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}
.wiki-btn-primary {
    background: #3b82f6;
    color: #ffffff !important;
}
.wiki-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

/* Bố cục chia 2 cột tự động co giãn trên điện thoại */
.wiki-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.wiki-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.wiki-card-header {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid #f1f5f9;
}

/* Mục bài viết nổi bật */
.wiki-featured-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e2e8f0;
}
.wiki-featured-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.wiki-featured-title a {
    font-size: 16px;
    font-weight: 700;
    color: #2563eb;
}
.wiki-featured-excerpt {
    font-size: 14px;
    color: #475569;
    margin: 4px 0 0 0;
}

/* Thẻ hiển thị Meme Hot */
.meme-hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.meme-hot-item:last-child {
    border-bottom: none;
}
.meme-hot-thumb {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}
.meme-hot-info {
    flex: 1;
}
.meme-hot-votes {
    display: inline-block;
    background: #fef3c7;
    color: #b45309;
    font-weight: 700;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
}
/* Danh sách bài viết mới cập nhật */
.new-page-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f1f5f9;
}
.new-page-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.new-page-title {
    font-weight: 600;
    font-size: 15px;
    color: #2563eb;
}
.new-page-date {
    font-size: 12px;
    color: #64748b;
    white-space: nowrap;
}