﻿.news-hot {
    
    padding: 20px;
    border-radius: 8px;
    
}

/* --- Tiêu đề căn giữa, có 2 đường đôi song song --- */
.title-news-box-center {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

    .title-news-box-center h4 {
        display: inline-block;
        background: #009963;
        color: #fff;
        font-weight: bold;
        text-transform: uppercase;
        padding: 8px 30px 8px 45px; /* chừa chỗ cho icon loa */
        border-radius: 30px;
        position: relative;
        font-size: 18px;
        z-index: 2;
    }

/* Icon loa trắng bên trái chữ */
.icon-speaker {
    position: absolute;
    left: calc(50% - 90px);
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: url('/Content/images/speaker-white.png') no-repeat center;
    background-size: cover;
    z-index: 3;
}

/* Hai đường đôi song song hai bên tiêu đề */
.title-news-box-center::before,
.title-news-box-center::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 32%;
    height: 8px; /* tổng chiều cao của 2 gạch */
    transform: translateY(-50%);
    background-image: linear-gradient(to right, #009963 100%, transparent 0), linear-gradient(to right, #009963 100%, transparent 0);
    background-size: 100% 2px, 100% 2px; /* mỗi gạch dày 2px */
    background-repeat: no-repeat;
    background-position: top, bottom; /* tạo hai đường song song */
    opacity: 0.8;
}

.title-news-box-center::before {
    left: 0;
}

.title-news-box-center::after {
    right: 0;
}


/* --- Hàng cuộn --- */
.scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding-bottom: 10px;
    cursor: grab;
}

    .scroll-container::-webkit-scrollbar {
        height: 8px;
    }

    .scroll-container::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

/* --- Mỗi tin --- */
.news-item {
    flex: 0 0 calc(25% - 20px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
}

    .news-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .news-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 4px;
    }

    .news-item h5 {
        font-weight: 700;
        margin-top: 10px;
    }

        .news-item h5 a {
            color: #0073c6;
            text-decoration: none;
        }

    .news-item p {
        font-size: 14px;
        color: #333;
        text-align: justify;
    }

/* Responsive */
@media (max-width: 991px) {
    .news-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .news-item {
        flex: 0 0 100%;
    }
}

.footer-template {
    background: #009963;
    color: #fff;
    font-size: 15px;
    padding: 50px 0 20px 0;
}

    .footer-template .footer-logo {
        max-width: 130px;
    }

    .footer-template .footer-heading {
        color: #ffeb3b;
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 8px;
    }

    .footer-template .footer-school-name {
        color: #ffeb3b;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .footer-template .highlight {
        color: #ffeb3b;
    }

    .footer-template .register-box {
        background: #ffde59;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.25);
        overflow: hidden;
    }

    .footer-template .register-header {
        background: #ffde59;
        text-align: center;
        padding: 30px 20px 60px 20px;
        position: relative;
    }

        .footer-template .register-header::after {
            content: "";
            position: absolute;
            bottom: -40px;
            left: 0;
            width: 100%;
            height: 80px;
            background: #ffffff;
            border-bottom-left-radius: 100% 60px;
            border-bottom-right-radius: 100% 60px;
        }

    .footer-template .register-title {
        color: black;
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .footer-template .register-sub {
        font-size: 18px;
        margin: 0 0 20px;
        color: black;
        font-weight:bold;
    }

    .footer-template .register-body {
        background: #ffffff;
        padding: 50px 30px 30px 30px;
    }

        .footer-template .register-body .form-control {
            border: 1px solid #ccc;
            height: 40px;
            font-size: 14px;
        }

        .footer-template .register-body textarea.form-control {
            height: 90px !important;
        }

    .footer-template .captcha-img {
        width: 180px;
        height: 55px;
        border-radius: 5px;
    }

    .footer-template .captcha-refresh {
        color: #004aad;
        font-weight: 600;
        cursor: pointer;
    }

    .footer-template .btn-submit {
        background: #d90000;
        color: #fff;
        padding: 8px 32px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 6px;
        border: none;
    }

        .footer-template .btn-submit:hover {
            background: #a00000;
        }

    .footer-template .map-title {
        text-align: center;
        color: #ffeb3b;
        font-size: 18px;
        font-weight: 700;
        margin: 30px 0 10px;
        display: inline-block;
        padding: 8px 28px;
        border: 3px dotted #ffffff;
        border-radius: 40px;
        color: #ffeb3b;
        font-weight: 800;
        font-size: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
        position: relative;
        background: transparent;
        z-index: 1;
    }

    .footer-template .map-wrapper {
        border: 2px dashed #ffeb3b;
        border-radius: 10px;
        overflow: hidden;
    }

    .footer-template .footer-bottom {
        background: rgba(0,0,0,0.15);
        padding: 15px 20px;
        font-size: 14px;
    }

        .footer-template .footer-bottom .stats span {
            font-weight: 700;
            color: #ffeb3b;
        }
    /* ---- Sửa lỗi font cho footer heading ---- */
    .footer-heading,
    .footer-template .footer-heading,
    .footer-new .footer-heading {
        font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
        font-weight: 800 !important; /* chữ đậm như mẫu */
        font-size: 22px !important; /* cỡ chữ */
        letter-spacing: 0.5px;
        color: #ffeb3b !important; /* vàng */
        text-transform: uppercase; /* in hoa */
        line-height: 1.1;
        display: inline-block;
        padding: 8px 28px;
        border: 3px dotted #ffffff;
        border-radius: 40px;
        color: #ffeb3b;
        font-weight: 800;
        font-size: 18px;
        letter-spacing: 1px;
        text-transform: uppercase;
        position: relative;
        background: transparent;
        z-index: 1;
    }

    /* Nếu tên trường cũng bị lỗi font */
    .footer-school-name,
    .footer-new .footer-school-name,
    .footer-template .footer-school-name {
        font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
        font-weight: 700 !important;
        color: #ffeb3b !important;
        font-size: 18px !important;
    }

   
    .footer-new * {
        font-family: inherit;
    }

   
    .footer-new, .footer-template {
        font-family: "Roboto", "Helvetica Neue", Arial, sans-serif !important;
    }
.title-dotted {
    display: inline-block;
    padding: 8px 25px;
    border: 3px dotted #ffffff;
    border-radius: 30px;
    color: #ffeb3b;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: transparent;
}

.featured-slider .news-item{
    padding:10px;
}

.featured-slider .news-item img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:6px;
}

/* card tin */
.featured-slider .news-item{
    height:420px;
    background:#fff;
    border-radius:8px;
    padding:10px;
    display:flex;
    flex-direction:column;
}

/* ảnh */
.featured-slider .news-item img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:6px;
}

/* tiêu đề */
.featured-slider .news-item h5{
    font-size:18px;
    margin-top:10px;
    height:100px;
    overflow:hidden;
}

/* summary */
.featured-slider .news-item p{
    font-size:14px;
    flex-grow:1;
    overflow:hidden;
}
.slick-prev,
.slick-next{
    width:45px;
    height:45px;
    background:#009963;
    border-radius:50%;
    display:flex !important;
    align-items:center;
    justify-content:center;
    z-index:10;
}

.slick-prev{
    left:-20px;
}

.slick-next{
    right:-20px;
}

.slick-prev:before,
.slick-next:before{
    font-size:20px;
    color:white;
}

.slick-prev:hover,
.slick-next:hover{
    background:#007a50;
}



