/* ==========================
   News Page
========================== */

.news-cover{
    background: linear-gradient(135deg,#0d6efd,#5dbbff);
    color:#fff;
    min-height:220px;

    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;

    text-align:center;
    padding:30px;
}

.news-cover h1{
    margin:0 0 12px;
    font-size:42px;
}

.news-cover p{
    margin:0;
    font-size:22px;
}

/* ========================== */

.news-page{
    background:#f5f7fb;
    padding:60px 0;
}

.news-list-page{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.news-page-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    transition:.25s;
}

.news-page-card:hover{
    transform:translateY(-6px);
}

.news-page-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
}

.news-page-body{
    padding:25px;
}

.news-page-body span{
    color:#888;
    font-size:14px;
}

.news-page-body h2{
    margin:12px 0;
    color:#7b001c;
    font-size:24px;
    line-height:1.4;
}

.news-page-body p{
    line-height:1.8;
    color:#444;
}

.news-page-body a{
    display:inline-block;
    margin-top:15px;
    color:#0d6efd;
    font-weight:bold;
}

.news-page-body a:hover{
    color:#7b001c;
}

/* ========================== */

.empty-box{
    background:#fff;
    padding:60px;
    text-align:center;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    font-size:20px;
    color:#888;
}

/* ========================== */

@media(max-width:992px){

.news-list-page{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.news-list-page{
    grid-template-columns:1fr;
}

.news-cover h1{
    font-size:30px;
}

.news-cover p{
    font-size:18px;
}

.news-page-card img{
    height:220px;
}

}
/* Modern page grid alignment */
.news-page{
  background:transparent !important;
  padding:30px 0 80px !important;
}
.news-page .container{
  width:min(1180px,94%) !important;
  margin:0 auto !important;
}
