/* ============================================================
   en-news.css — English newsroom styles (EN news pages only)
   Loaded by /en/news.html, /en/news/category/*.html, /en/news/*.html
   Independent file: never touches style.css / en.css.
   ============================================================ */

/* ---- Category pill navigation ---- */
.en-catnav {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0 0 22px;
}
.en-catnav a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 16px; transition: all .18s ease;
}
.en-catnav a:hover { border-color: var(--green); color: var(--green-dark); }
.en-catnav a.is-active {
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff; border-color: transparent; font-weight: 600;
}

/* ---- Category cards on the hub ---- */
.en-catgrid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; margin: 0 0 28px;
}
.en-catcard {
  display: block; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px; text-decoration: none;
  box-shadow: var(--shadow); transition: transform .16s ease, border-color .16s ease;
}
.en-catcard:hover { transform: translateY(-2px); border-color: var(--green); }
.en-catcard h3 {
  margin: 0 0 6px; font-size: 16.5px; color: var(--ink); font-weight: 700;
}
.en-catcard p { margin: 0 0 8px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.en-catcard .cc-count { font-size: 13px; color: var(--green-dark); font-weight: 600; }

/* ---- Article card list ---- */
.en-list { list-style: none; margin: 0 0 26px; padding: 0; }
.en-list li {
  border-bottom: 1px dashed var(--border); padding: 14px 0;
}
.en-list li:last-child { border-bottom: 0; }
.en-list h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.5; font-weight: 700; }
.en-list h3 a { color: var(--ink); text-decoration: none; }
.en-list h3 a:hover { color: var(--green-dark); text-decoration: underline; }
.en-list p { margin: 0 0 6px; font-size: 14.8px; color: var(--muted); line-height: 1.75; }
.en-list .en-meta { font-size: 13px; color: #8b9a94; }
.en-list .en-meta a { color: var(--green-dark); text-decoration: none; }

/* ---- Article page: meta line ---- */
.en-artmeta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  font-size: 13.5px; color: var(--muted); margin: 0 0 16px;
  padding: 10px 16px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 10px;
}
.en-artmeta a { color: var(--green-dark); text-decoration: none; }
.en-artmeta a:hover { text-decoration: underline; }
.en-artmeta time { color: #8b9a94; }

/* ---- Key points box (anchors into the article) ---- */
.en-kp {
  background: #fff; border: 1px solid var(--border);
  border-left: 4px solid var(--green); border-radius: 0 12px 12px 0;
  padding: 14px 18px; margin: 0 0 24px; box-shadow: var(--shadow);
}
.en-kp .kp-title {
  font-size: 15px; font-weight: 700; color: var(--ink); margin: 0 0 8px;
}
.en-kp ol { margin: 0; padding-left: 20px; }
.en-kp ol li { margin-bottom: 6px; font-size: 15px; line-height: 1.7; }
.en-kp ol li::marker { color: var(--green); font-weight: 700; }
.en-kp a { color: var(--green-dark); text-decoration: none; }
.en-kp a:hover { text-decoration: underline; }

/* ---- Article body tuning ---- */
.en-article h2 {
  font-size: 20px; color: var(--ink); margin: 30px 0 12px; padding-top: 6px;
}
.en-article h2:first-of-type { margin-top: 8px; }
.en-article p { margin: 0 0 16px; font-size: 16px; line-height: 1.95; color: #33403c; }
.en-article ul { margin: 0 0 18px; padding-left: 24px; }
.en-article ul li { margin-bottom: 10px; line-height: 1.85; font-size: 15.6px; color: #33403c; }
.en-article a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.en-article a:hover { color: var(--green); }

/* ---- Related / footer nav blocks ---- */
.en-rel {
  margin: 30px 0 0; padding: 18px 20px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.en-rel h2 { font-size: 17px; margin: 0 0 10px; color: var(--ink); }
.en-rel ul { margin: 0; padding-left: 20px; }
.en-rel li { margin-bottom: 7px; font-size: 15px; line-height: 1.7; }
.en-rel a { color: var(--green-dark); text-decoration: none; }
.en-rel a:hover { text-decoration: underline; }
.en-pager {
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  margin: 22px 0 0; font-size: 14.5px;
}
.en-pager a { color: var(--green-dark); text-decoration: none; }
.en-pager a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .en-catgrid { grid-template-columns: 1fr; }
  .en-article h2 { font-size: 18px; }
  .en-article p { font-size: 15.5px; }
}
