/* ===== SIDEBAR ===== */

.sidebar{
    position: sticky;
    top:110px;
}

.sidebar-box{
    margin-bottom:40px;
}

.sidebar-title{
    background:#0E766B;
    color:#fff;
    padding:12px;
    font-weight:bold;
    text-align:center;
}

.sidebar-box ul{
    list-style:none;
    padding:15px;
    background:#f5f5f5;
}

.sidebar-box ul li{
    margin-bottom:10px;
}

.sidebar-box ul li a{
    text-decoration:none;
    color:#333;
}

/* POST */

.sidebar-post{
    display:flex;
    gap:10px;
    margin:15px 0;
    align-items:center;
}

.sidebar-post img{
    width:80px;
    height:60px;
    object-fit:cover;
}

.sidebar-post p{
    font-size:14px;
}

/* SUPPORT */

.support-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 15px;
    margin-bottom:12px;
    background:#fff;
    border-radius:6px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.support-icon img{
    width:22px;
    height:22px;
    object-fit:contain;
}

.support-content span{
    display:block;
    font-size:13px;
    color:#666;
}

.support-content a{
    text-decoration:none;
    font-weight:bold;
    color:#0E766B;
}

/* MOBILE */

@media (max-width:768px){
.sidebar{
    display:none;
}
}

/* =====tin-tuc ===== */

.news{
    padding:80px 0;
    background:#f7f7f7;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/* IMAGE */

.news-image{
    position:relative;
    height:230px;
    overflow:hidden;
}

.news-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:0.3s;
}

/* DATE */

.news-date{
    position:absolute;
    top:15px;
    left:15px;
    background:#d40000;
    color:#fff;
    text-align:center;
    padding:10px 12px;
    font-weight:bold;
}

.news-date span{
    font-size:20px;
    display:block;
}

.news-date small{
    font-size:12px;
}

/* CONTENT */

.news-content{
    background:#fff;
    padding:25px;
    margin-top:-40px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    position:relative;
}

.news-content h3{
    font-size:18px;
    margin-bottom:10px;
}

.news-content p{
    font-size:14px;
    color:#555;
}

/* CARD */

.news-card{
    transition:0.3s;
    text-decoration:none;
    color:inherit;
    display:block;
    overflow:hidden;
}

.news-card:hover img{
    transform:scale(1.05);
}

.news-card:hover .news-content{
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
}

.news-content h3:hover{
    color:#d40000;
}

/* TABLET */

@media (max-width:1024px){

.news-grid{
    grid-template-columns:repeat(2,1fr);
}

}

/* MOBILE */

@media (max-width:768px){

.news{
    padding:40px 0;
}

.news-grid{
    grid-template-columns:1fr;
    gap:20px;
}

.news-image{
    height:180px;
}

.news-content{
    padding:18px;
}

.news-content h3{
    font-size:16px;
}

.news-content p{
    font-size:13px;
}

.news-date{
    padding:6px 8px;
}

.news-date span{
    font-size:16px;
}

}