/*
 * Bổ sung nhỏ cho bản Laravel — KHÔNG sửa site.css (CSS gốc đã build từ Tailwind).
 * Chỉ thêm những phần HTML tĩnh chưa có: menu mobile, thông báo form, font Khmer.
 */

/* Font tiếng Khmer */
html[lang="km"] body {
    font-family: "Noto Sans Khmer", "Segoe UI", "Noto Sans", Arial, sans-serif;
}

/* Menu mobile (nút Menu trong header gốc) */
.mobile-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e6ece8;
    background: #fff;
    padding: 8px 24px 16px;
    font-size: 15px;
    font-weight: 600;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a {
    padding: 12px 0;
    border-bottom: 1px solid #eef2ef;
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a.is-active,
.mobile-nav a:hover { color: #126f37; }
@media (min-width: 64rem) {
    .mobile-nav { display: none !important; }
}

/* Form liên hệ */
.form-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #b42318;
}
.form-alert {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 2px;
    font-size: 14px;
}
.form-alert-success {
    background: #eef6f1;
    border: 1px solid #cfe0d4;
    color: #0e5c2e;
}
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Nội dung bài tin tức (HTML từ CMS) */
.news-body { line-height: 1.8; color: #344b3c; }
.news-body > * + * { margin-top: 1em; }
.news-body h2 { font-size: 1.5rem; font-weight: 700; color: #063e26; }
.news-body h3 { font-size: 1.25rem; font-weight: 700; color: #063e26; }
.news-body ul { list-style: disc; padding-left: 1.5em; }
.news-body ol { list-style: decimal; padding-left: 1.5em; }
.news-body a { color: #126f37; text-decoration: underline; }

/* Trang chi tiết tài liệu: máy tính xem PDF trong khung, điện thoại hiện bìa (trình duyệt di động không hiện PDF trong iframe). */
.report-pdf-frame {
    display: none;
    width: 100%;
    height: 760px;
    border: 0;
    background: #525659;
}
@media (min-width: 1024px) {
    .report-pdf-frame { display: block; }
    .report-pdf-cover { display: none; }
}
