.news-page,
.news-detail{
  padding:80px 0;
  background:#fff;
}

/* head */
.news-page__head{
  max-width:820px;
  margin:0 auto 18px;
  text-align:center;
}
.news-page__title{
  margin:0 0 10px;
  font-size:46px;
  font-weight:900;
  line-height:1.1;
  color:var(--dark);
}
.news-page__subtitle{
  margin:0 auto;
  max-width:720px;
  line-height:1.7;
}

/* filters */
.news-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  margin:18px 0 26px;
}

.news-filter{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:#0f172a;
  font-weight:800;
  font-size:14px;
  line-height:1;
  transition:background .12s ease, border-color .12s ease, transform .12s ease;
}
.news-filter:hover{ transform:translateY(-1px); border-color: rgba(249,115,22,.35); }
.news-filter.is-active{
  background: rgba(249,115,22,.10);
  border-color: rgba(249,115,22,.35);
  color:#9a3412;
}

/* grid */
.news-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
  align-items:stretch;
}

/* card */
.news-card{
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.news-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(15,23,42,.10);
  border-color: rgba(249,115,22,.35);
}

.news-card__link{
  display:flex;
  flex-direction:column;
  height:100%;
  color:inherit;
}

.news-card__img{
  height:220px;
  background:rgba(15,23,42,.06);
}
.news-card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.news-card__ph{
  width:100%;
  height:100%;
  background:
    linear-gradient(135deg, rgba(15,23,42,.06), rgba(15,23,42,.02));
}

.news-card__body{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.news-card__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.news-card__date{
  color:var(--orange);
  font-weight:900;
  font-size:13px;
}
.news-card__cat{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:#334155;
}

.news-card__title{
  margin:0;
  font-weight:900;
  line-height:1.25;
  color:var(--dark);

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
  min-height:50px;
}

.news-card__text{
  margin:0;
  color:#64748b;
  line-height:1.6;
  font-size:14px;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  min-height:72px;
}

.news-card__more{
  margin-top:auto;
  font-weight:900;
  color:var(--orange);
}

/* empty */
.news-empty{
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  padding:28px;
  background:#fff;
  box-shadow:var(--shadow);
  text-align:center;
}
.news-empty__title{
  margin:0 0 8px;
  font-weight:900;
  color:var(--dark);
}
.news-empty__text{ margin:0; }

/* detail */
.breadcrumbs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:18px;
  color:#64748b;
  font-size:14px;
}
.breadcrumbs__link{ color:#64748b; }
.breadcrumbs__link:hover{ color:#0f172a; }
.breadcrumbs__sep{ opacity:.6; }
.breadcrumbs__current{ color:#0f172a; font-weight:700; }

.news-detail__head{
  max-width:920px;
  margin:0 auto 18px;
}
.news-detail__title{
  margin:0 0 10px;
  font-size:46px;
  font-weight:900;
  line-height:1.1;
  color:var(--dark);
}
.news-detail__meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.news-detail__date{
  color:var(--orange);
  font-weight:900;
  font-size:14px;
}
.news-detail__cat{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(15,23,42,.06);
  color:#334155;
  font-weight:800;
  font-size:13px;
}
.news-detail__cat:hover{ color:#0f172a; }

.news-detail__cover{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:var(--shadow);
  margin:18px 0 18px;
}
.news-detail__cover img{
  width:100%;
  max-height:420px;
  object-fit:cover;
  display:block;
}

.news-detail__content{
  border:1px solid rgba(15,23,42,.10);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  padding:22px;
}

.news-detail__lead{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.75;
  color:#334155;
  font-weight:700;
}

.news-detail__body{
  color:#334155;
  line-height:1.85;
}
.news-detail__body p{ margin:0 0 12px; }

.news-detail__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* responsive */
@media (max-width:1100px){
  .news-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:720px){
  .news-page__title,
  .news-detail__title{ font-size:34px; }
  .news-grid{ grid-template-columns:1fr; }
  .news-detail__content{ padding:18px; }
}
