*{
margin: 0;
padding: 0;
box-sizing: border-box;
}



body {
font-family: 'Segoe UI', Arial, sans-serif; 
line-height: 1.6;
color: #333;
background-color: #f0f2f5;}



.wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px; 
}

a {
text-decoration: none;
color: inherit; 
}

ul {
list-style: none;
}
.main-header {
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-top {
background-color:#003366; 
color: #fff;
padding: 8px 0;
font-size: 0.85em;
border-bottom: 1px solid #003a72;
}

.header-top .wrapper {
display: flex;
justify-content: space-between;
align-items: center;
}

.member-of a {
color: #fff;
font-weight: bold;
display: inline-flex;
align-items: center;
font-family:Arial, Helvetica, sans-serif;
font-size: 10px;
gap: 5px;
}

.member-of img {
height: 50px;
width: 75px;
vertical-align: middle;
border-radius: 50%; }
.social-icons a {
color: #fff;
margin-left: 13px;
font-size: 1.1em;
transition: color 0.3s ease;
}

.social-icons a:hover {
color: #e0e0e0;
}

.header-bottom {
padding: 15px 0;
background-color: #fff;
}
.main-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f7f6;
}

a {
    text-decoration: none;
    color: inherit;
}

.section {
    padding: 60px 5%;
    text-align: center;
}

h1, h2 {
    color: #007
}
:root {
    --primary-blue: #007bff; /* Màu chủ đạo: Xanh */
    --secondary-orange: #ff9900; /* Màu nhấn: Cam */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

/* HEADER */
.header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--primary-blue);
}

.logo img {
    height: 30px; /* Điều chỉnh kích thước logo */
    margin-right: 10px;
}

.top-nav a {
    color: #6c757d;
    margin-left: 20px;
    padding: 5px 0;
    font-size: 0.9em;
}

.top-nav a.active, .top-nav a:hover {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

:root {
    --primary-blue: #007bff; /* Xanh Chủ Đạo */
    --secondary-orange: #ff9900; /* Màu nhấn Cam */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

/* ==================================== */
/* HEADER CỐ ĐỊNH                      */
/* ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.3em;
    font-weight: 800;
    color:#003366 ;
    font-family: 'Times New Roman', Times, serif;
}

.logo i {
    margin-right: 10px;
    color: var(--secondary-orange);
}

.top-nav a {
    color: #6c757d;
    margin-left: 25px;
    padding: 5px 0;
    font-weight: 500;
}

.top-nav a.active, .top-nav a:hover {
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}
:root {
    --header-dark-blue: #0f4077; 
    --primary-blue: #007bff; 
    --secondary-orange: #ff9900; 
    --text-color: #333;
    --light-bg: #f4f7f9; /* Nền nhạt hơn cho thân trang */
    --white: #ffffff;
    
    /* Màu Tags */
    --tag-event: #ff6347; /* Đỏ nhạt */
    --tag-academic: #1e90ff; /* Xanh dương */
    --tag-security: #228b22; /* Xanh lá */
    --tag-health: #da70d6; /* Tím */
    --tag-rules: #8a2be2; /* Tím đậm */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: var(--primary-blue);
    transition: color 0.3s;
}

/* ==================================== */
/* HEADER CỐ ĐỊNH (2 DÒNG)             */
/* ==================================== */
.top-bar-and-main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
/* ... (Thêm CSS chi tiết cho .top-bar, .main-header, .logo, .main-navigation) ... */
/* Dòng này đảm bảo Header Dòng 2 nằm sát dưới Dòng 1 */
.main-header { top: 40px; } /* Giả sử Top Bar cao 40px */


/* BÙ KHOẢNG CÁCH NỘI DUNG */
.announcements-page-content {
    padding-top: 20px; /* Bù cho Header 2 dòng */
    padding-bottom: 50px;
    background-color: var(--light-bg);
}
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-main-title {
    color: #0f4077;
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}
.page-main-title i {
    color: var(--secondary-orange);
    margin-right: 10px;
}

/* KHUNG CẢNH BÁO (ALERT BOX) */
.alert-box {
    background-color: #e6f7ff; /* Nền xanh nhạt */
    border-left: 5px solid #007bff; /* Border xanh đậm */
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.alert-box i {
    color: #007bff;
    font-size: 1.2em;
    margin-right: 15px;
}
.alert-box p {
    margin: 0;
    font-size: 0.95em;
    color: var(--text-color);
}

/* BỘ LỌC */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}
.sort-options p, .category-filters p {
    font-size: 0.9em;
    color: #6c757d;
    display: inline-block;
}
.filter-link {
    margin-left: 10px;
    color: #0f4077;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 4px;
}
.filter-link.active {
    background-color: #0f4077;
    color: var(--white);
}

/* ==================================== */
/* BỐ CỤC LƯỚI DẠNG CARD (NEWS GRID V2) */
/* ==================================== */
.news-grid-v2 {
    display: grid;
    /* 3 cột trên desktop */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
}

.news-card-v2 {
    position: relative;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    color: var(--text-color);
    display: block;
}

.news-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Tag Phân loại */
.card-tag {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8em;
    font-weight: 600;
    z-index: 10;
    border-radius: 8px 0 8px 0;
}
.tag-event { background-color: var(--tag-event); }
.tag-academic { background-color: var(--tag-academic); }
.tag-security { background-color: var(--tag-security); }
.tag-health { background-color: var(--tag-health); }
.tag-rules { background-color: var(--tag-rules); }

/* Hình ảnh */
.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

/* Thông tin */
.card-info {
    padding: 15px;
}
.card-info h4 {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #0f4077;
    /* Giới hạn 2 dòng */
    overflow: hidden;
    display: -webkit-box;
   
    -webkit-box-orient: vertical;
}
.card-date {
    display: block;
    font-size: 0.85em;
    color: #999;
    margin-bottom: 10px;
}
.read-more {
    font-size: 0.9em;
    color: var(--primary-blue);
    font-weight: 500;
    border-bottom: 1px solid transparent;
}
.news-card-v2:hover .read-more {
    border-bottom: 1px solid var(--primary-blue);
}

/* FOOTER */
.simple-footer {
    background-color: #0f4077;
    color: var(--white);
    padding: 15px 20px;
    font-size: 0.9em;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-social a {
    color: var(--white);
    margin-left: 15px;
}

/* ==================================== */
/* MEDIA QUERIES (RESPONSIVE)           */
/* ==================================== */

@media (max-width: 992px) {
    /* 2 cột trên Tablet */
    .news-grid-v2 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Header: Xếp chồng */
    .main-header-inner {
        flex-direction: column;
        text-align: center;
    }
    .main-navigation a {
        margin: 0 10px;
    }
    .announcements-page-content {
        padding-top: 150px; 
    }
    .filter-bar {
        flex-direction: column;
        gap: 15px;
    }
    .category-filters, .sort-options {
        text-align: center;
        width: 100%;
    }
    .footer-inner {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    /* 1 cột trên Mobile */
    .news-grid-v2 {
        grid-template-columns: 1fr;
    }
    .alert-box {
        flex-direction: column;
        text-align: center;
    }
    .alert-box i {
        margin-bottom: 10px;
    }
}
.simple-footer {
background-color: #003366; 
color: #fff; 
padding: 30px 0; 
margin-top: 40px; 
font-size: 0.9em; 
}

.footer-content-simple {
display: flex;
align-items: center; 
gap: 30px; 
flex-wrap: wrap; }

.footer-logo-simple img {
height: 100px; 
width: auto; 
object-fit: contain;
}

.footer-info-simple {
flex: 1; 
line-height: 1.8; 
text-align: left;
        color:#ffffff;
}

.footer-info-simple p {
margin-bottom: 5px; }

.footer-info-simple p:last-child {
margin-bottom: 0;
}

.footer-info-simple a {
color: #fff; 
text-decoration: underline; 
}

.footer-info-simple a:hover {
color: #cccccc; }

.footer-org-name {
font-weight: bold;
font-size: 1.1em;
margin-bottom: 10px; 
}

@media (max-width: 768px) {
.footer-content-simple {
    flex-direction: column; 
    text-align: center; 
    align-items: center; 
}
.footer-logo-simple {
    margin-bottom: 20px; 
}
.footer-info-simple p {
    margin-bottom: 8px; 
}
}

@media (max-width: 480px) {
.simple-footer {
    padding: 20px 0;
}
.footer-logo-simple img {
    height: 80px; 
}
.footer-info-simple {
    font-size: 0.85em;
}
.footer-org-name {
    font-size: 1em;
}
}


@media (max-width: 992px) {
.footer-content {
    flex-direction: column; 
    align-items: flex-start; 
}
.footer-column {
    min-width: unset; 
    width: 100%; 
    max-width: 100%; 
    margin-bottom: 20px;
}
.footer-column:last-child {
    margin-bottom: 0;
}
}

@media (max-width: 576px) {
.main-footer {
    padding-top: 20px;
}
.footer-column h3 {
    font-size: 1.1em;
    text-align: center; 
}
.footer-column h3::after {
    left: 50%;
    transform: translateX(-50%);
}
.footer-column p, .footer-contact ul li {
    text-align: center; 
    justify-content: center; 
}
.footer-contact ul li i {
    margin-right: 0; 
}
}
.main-content-area {
    position: relative;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.9); /* Lớp phủ đen */
    min-height: 100vh;
}

.left-content-mock {
    position: absolute;
    top: 50px; /* Điều chỉnh vị trí tương đối */
    left: 5%;
    color: #d1d1d1;
    font-size: 1.2em;
    font-weight: 300;
}

/* CONTAINER CHÍNH CỦA CÁC NÚT - Cố định vị trí */
.action-buttons-container {
    position: fixed; /* Rất quan trọng: Giữ cố định khi cuộn */
    bottom: 30px; 
    right: 30px; 
    display: flex;
    flex-direction: column-reverse; /* Đảo ngược để nút đóng nằm dưới */
    align-items: flex-end; 
    gap: 15px; /* Khoảng cách giữa các mục */
    z-index: 1000; 
}

/* Định kiểu cho mỗi mục nút và nhãn */
.action-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    /* Loại bỏ khoảng cách margin-bottom nếu sử dụng gap trên container */
}

/* Nhãn văn bản */
.text-label {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 12px;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 1em;
    font-weight: 500;
    white-space: nowrap; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Định kiểu chung cho các biểu tượng nút tròn */
.icon-button {
    width: 60px; /* Kích thước lớn hơn để khớp với hình ảnh */
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.6em; 
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: transform 0.2s;
}

.icon-button:hover {
    transform: scale(1.05);
}

/* Màu sắc và biểu tượng cụ thể */
.location-item .red-light {
    background-color: #e54c4c; /* Đỏ/Đỏ nhạt */
}

.call-item .yellow-call {
    background-color: #ffc107; /* Vàng */
    color: #333; /* Chữ màu tối hơn trên nền vàng */
    font-size: 2em;
}

.facebook-item .green-fb {
    background-color: #18b33b; /* Xanh lá Facebook (tương tự hình ảnh) */
    font-size: 2.5em;
    line-height: 0.8;
}

.zalo-item .blue-zalo {
    background-color: #0088ff; /* Xanh Zalo */
    font-size: 1em;
    padding-top: 5px;
}

/* Nút Đóng/Hủy (Luôn nằm dưới cùng) */
.action-close-button {
    /* Đặt riêng để nó nằm phía dưới các nút hành động (nhờ flex-direction: column-reverse) */
    align-self: flex-end; 
    margin-top: 5px; /* Thêm chút khoảng cách với nút Zalo */
}

.action-close-button .red-close {
    background-color: #e53935; /* Màu đỏ đậm */
    font-size: 3em;
    line-height: 0.8;
    width: 65px; 
    height: 65px;
}


/* --- MEDIA QUERY CHO ĐỊNH DẠNG ĐÁP ỨNG (Mobile) --- */
@media (max-width: 600px) {
    
    /* Điều chỉnh vị trí container trên điện thoại */
    .action-buttons-container {
        bottom: 15px; 
        right: 15px; 
        gap: 10px;
    }

    /* Giảm kích thước nút */
    .icon-button {
        width: 50px;
        height: 50px;
        font-size: 1.4em;
    }

    .call-item .yellow-call {
        font-size: 1.8em;
    }
    
    .facebook-item .green-fb {
        font-size: 2.2em;
    }
    
    .action-close-button .red-close {
        width: 55px; 
        height: 55px;
        font-size: 2.5em;
    }
    
    /* Giảm kích thước nhãn */
    .text-label {
        padding: 6px 10px;
        font-size: 0.9em;
        margin-right: 10px;
    }
}

