/* =========================================================
   NEWS PAGES (listing + article detail)
   Prefix: .news-page-  (kept distinct from homepage classes
   in style.css; the shared header/nav/footer/widget classes
   there are reused as-is on these pages)
   ========================================================= */

/* =========================================================
   PAGE HEADER BAND
   ========================================================= */
.news-page-head{background:#fff; border-bottom:1px solid var(--line); padding:22px 0;}
.news-page-head h1{font-size:1.4rem; font-weight:800; color:var(--navy); margin:0;}
.news-page-head p{font-size:.85rem; color:var(--ink-soft); margin:4px 0 0;}

/* =========================================================
   FILTER BAR: category tabs + search
   ========================================================= */
.news-filter-bar{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap; background:#fff;
  border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:10px 16px; margin:0 0 20px;
}
.news-tabs-pill{display:flex; gap:6px; flex-wrap:wrap;}
.news-tabs-pill button{
  border:none; background:var(--bg); color:var(--ink-soft); font-weight:700; font-size:.8rem;
  padding:8px 16px; border-radius:100px; transition:.15s ease;
}
.news-tabs-pill button.active,
.news-tabs-pill button:hover{background:var(--navy); color:#fff;}
.news-search{margin-left:auto; position:relative; max-width:240px; flex:1 1 auto;}
.news-search input{width:100%; border:1px solid var(--line); border-radius:100px; padding:8px 38px 8px 14px; font-size:.82rem; background:var(--bg);}
.news-search i{position:absolute; right:14px; top:50%; transform:translateY(-50%); color:var(--ink-soft);}

/* =========================================================
   NEWS GRID CARD
   ========================================================= */
.news-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.news-grid-card{background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); overflow:hidden; transition:.15s ease;}
.news-grid-card:hover{box-shadow:var(--shadow-md); transform:translateY(-4px);}
.news-grid-card__img{height:150px; background-size:cover; background-position:center; position:relative;}
.news-grid-card__body{padding:14px;}
.news-grid-card__title{font-size:.9rem; font-weight:800; color:var(--ink); display:block; line-height:1.4; margin-bottom:8px; min-height:2.8em;}
.news-grid-card__title:hover{color:var(--navy);}
.news-grid-card__excerpt{font-size:.78rem; color:var(--ink-soft); margin-bottom:10px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.news-grid-card__meta{font-size:.7rem; color:var(--ink-soft); display:flex; justify-content:space-between; border-top:1px dashed var(--line); padding-top:8px;}

/* =========================================================
   PAGINATION
   ========================================================= */
.news-pagination{display:flex; justify-content:center; gap:6px; margin:30px 0 6px;}
.news-pagination button{
  width:36px; height:36px; border-radius:8px; border:1px solid var(--line); background:#fff; color:var(--ink-soft);
  font-weight:700; font-size:.82rem;
}
.news-pagination button.active{background:var(--navy); color:#fff; border-color:var(--navy);}
.news-pagination button:hover:not(.active){background:var(--bg);}
.news-pagination button.nav{width:auto; padding:0 12px;}

/* =========================================================
   ARTICLE DETAIL PAGE
   ========================================================= */
.article-wrap{background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:26px;}
.article-category{display:inline-block; background:var(--teal); color:#fff; font-size:.68rem; font-weight:800; letter-spacing:.03em; padding:5px 12px; border-radius:100px; margin-bottom:14px;}
.article-title{font-size:1.55rem; font-weight:800; color:var(--ink); line-height:1.4; margin-bottom:12px;}
.article-meta{display:flex; flex-wrap:wrap; gap:16px; font-size:.8rem; color:var(--ink-soft); border-bottom:1px solid var(--line); padding-bottom:16px; margin-bottom:20px;}
.article-meta span{display:flex; align-items:center; gap:6px;}
.article-cover{width:100%; border-radius:var(--radius); margin-bottom:20px; height:340px; background-size:cover; background-position:center;}
.article-body{font-size:.94rem; color:var(--ink); line-height:1.85;}
.article-body p{margin-bottom:16px;}
.article-body h3{font-size:1.05rem; margin:22px 0 10px; color:var(--navy);}
.article-body blockquote{
  border-left:4px solid var(--teal); background:var(--bg); padding:14px 18px; font-style:italic; color:var(--ink-soft);
  border-radius:0 8px 8px 0; margin:18px 0;
}
.article-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:22px;}
.article-tags a{font-size:.74rem; font-weight:600; color:var(--navy); background:var(--bg); border-radius:100px; padding:6px 13px;}
.article-tags a:hover{background:var(--navy); color:#fff;}
.article-share{display:flex; align-items:center; gap:10px; margin-top:22px; padding-top:18px; border-top:1px solid var(--line);}
.article-share__label{font-size:.78rem; font-weight:700; color:var(--ink-soft);}
.article-share a{width:34px; height:34px; border-radius:50%; background:var(--bg); color:var(--ink-soft); display:flex; align-items:center; justify-content:center;}
.article-share a:hover{background:var(--navy); color:#fff;}

.related-item{display:flex; gap:12px; padding:12px 0; border-bottom:1px dashed var(--line);}
.related-item:last-child{border-bottom:none;}
.related-item__img{width:76px; height:58px; border-radius:8px; flex:0 0 auto; background-size:cover; background-position:center;}
.related-item__title{font-size:.82rem; font-weight:700; color:var(--ink); display:block; line-height:1.35;}
.related-item__title:hover{color:var(--navy);}
.related-item__date{font-size:.7rem; color:var(--ink-soft); margin-top:3px;}

/* =========================================================
   WIDGETS (Sidebar)
   ========================================================= */
.widget{background:#fff; border-radius:var(--radius-lg); box-shadow:var(--shadow-sm); padding:20px; margin-bottom:22px;}
.widget__title{
  font-family:var(--font-display); font-weight:800; font-size:.95rem; color:var(--navy);
  border-bottom:2px solid var(--line); padding-bottom:12px; margin-bottom:14px;
  text-transform:uppercase; letter-spacing:.02em; display:flex; align-items:center; gap:8px;
}
.widget__title .ico{color:var(--orange);}

.cal-row{
  padding:12px 0; border-bottom:1px dashed var(--line);
  font-size:.85rem; color:var(--ink-soft); line-height:1.5;
}
.cal-row:last-child{border-bottom:none; padding-bottom:0;}
.cal-row b{color:var(--ink); font-weight:700; display:block; margin-bottom:2px;}

.contact-list{margin:0;}
.contact-list li{
  display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px dashed var(--line);
  font-size:.85rem; color:var(--ink); line-height:1.4;
}
.contact-list li:last-child{border-bottom:none; padding-bottom:0;}
.contact-list i{color:var(--red); font-size:1.1rem; margin-top:-2px; flex:0 0 auto;}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:991.98px){
  .news-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:767.98px){
  .news-grid{grid-template-columns:1fr;}
  .news-search{max-width:100%; order:3;}
  .article-title{font-size:1.2rem;}
  .article-cover{height:200px;}
  .article-wrap{padding:18px;}
}
