*{
    box-sizing:border-box;
    padding:0;
    margin:0; /* Những cái này phải có đủ để căn chỉnh tự động . hay còn gọi là xóa bỏ khoảng cách mặc định */
}
body{
    background: white ;
    width: 100%;
    
    /* Body viết trước xong mới phát hiện ra *{} */
}

header{
    background: white;/*Màu nền header phải trắng để có vạch phân biệt giữa tiêu đề và menu*/
    width: 100%;
}
.tieuDe{
    background: beige;
    margin:5px;
    text-align : center ;
    color : green ;
    padding:13px;
}
 /* Thêm vào sau vì trước đó thấy nó hẹp mà chưa biết nguyên nhân */
.logo{
color: green;
font-size:28px;
}
/* Tiêu đề và nav phải tách biệt để khi trượt menu thì tiêu đề không trượt theo*/

nav{
    background: beige;
    margin:5px;
    padding:0px; /* padding là khoảng cách bên trong khối */
}
nav ul{
    list-style-type:none;/*Bỏ chấm tròn*/
}
nav a{
    text-decoration :none;/*Bỏ gạch chân*/
}
nav ul{
    display : flex ;
    overflow-x:none;/* Hai dòng này kết hợp là để menu ngang*/
    white-space:nowrap; /* Cấm xuống dòng */
}
nav li{
    margin:0 3px;/*Khoảng cách các danh mục*/
    
}
nav ul li a{
    font-weight:bold;
    color: green;
    font-size:16px;
}
nav ul{
    overflow-x: auto; /* Cái này mới chính xác là làm cho menu vuốt ngang mà mọi thứ không chạy theo */
}
.menu{
display:inline-block;
padding:10px 15px;
border-radius:4px;
}
.quangCao{
    background: beige;
    margin:25px;
    padding :5px;
    border:1px dashed #ffcc00;
}
main{
    background: white ;
    width: 100%;
}
.bao{
    background: beige ;
    margin:5px;
}
.danhNgon{
    margin:20px;
    background: white ;
    border-left :4px solid #a3b899;
    border-radius :8px;
    padding :20px;
}
.en{
    font-weight : bold ;
    font-size :18px;
    padding : 8px ;
}
.vi{
    font-size :14px;
    font-style : italic ;
    color :#6e7f6e;
    padding : 8px ;
}
.binh{
    font-size :12px;
    font-style :italic;
    color :#888;
    padding : 8px ;
}
.lienKet{
    font-weight :bold;
    font-size :14px ;
    display :flex ;
    justify-content :space-between;
    padding:0;
    background:beige;
    margin:3px;
    white-space:nowrap;
}
.lienKet li{
    list-style-type: none ;
}
.lienKet a{
    color :green ;
    text-decoration:none;
}
.theoDoi{
    background: lightgray;
    margin:5px;
    color:#dddddd;
    text-align:center;
}
footer{
    background: silver;
    margin:11px;
    font-size :13px;
    text-align:center;
    padding :10px;
}
a{
    text-decoration:none;
    font-weight:bold;
    color :#4a6b4a;
    padding:5px;
}
/* Chỗ này cho bài viết */
article{
  padding:25px;
}
/* Phần bổ sung cho trang chủ */
.tieuDeCon{
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #2e7d32;
            font-weight: 700;
            margin-bottom: 12px;
            display: inline-block;
        }
.khoiChu{
            font-size: 1.4rem;
            color: #2c3e50;
            margin-bottom: 15px;
        }
.cauChuyen{
            font-size: 1.05rem;
            color: #4f5f6f;
            margin-bottom: 20px;
            margin-top:15px;
        }

        /* Đặc biệt cho phần danh ngôn */
.vanBan {
            font-family: Georgia, 'Times New Roman', Times, serif;
            font-style: italic;
            font-size: 1.25rem;
            color: #16a085;
            line-height: 1.5;
        }
.tacGia {
            text-align: right;
            font-size: 0.95rem;
            color: #7f8c8d;
            margin-top: 8px;
            font-weight: 500;
        }

        /* --- 6. BUTTONS --- */
.duongDan {
            display: inline-block;
            background-color: green;
            color: #ffffff;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: background-color 0.3s;
        }
.duongDan:hover {
            background-color: #1b5e20;
        }
.hero {
            text-align: center;
            padding: 50px 0 40px 0;
        }
.hero h1 {
            font-size: 26px;
            color: #1a3038;
            margin-bottom: 10px;
        }
.hero p {
            font-size: 1.1rem;
            color: #7f8c8d;
}