/* ==========================================================
   捷胜国际环保（香港）· 实用企业官网
   ========================================================== */

:root {
  --white:     #ffffff;
  --bg:        #f5f5f3;
  --bg-alt:    #eeecea;
  --text:      #1a1a1a;
  --text-2:    #555555;
  --text-3:    #999999;
  --border:    #e0e0e0;
  --green:     #1f6b3f;
  --green-dk:  #14532d;
  --green-bg:  #e8f5ee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text);
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- 跳转导航（无障碍） ---------- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  padding: 12px 24px; background: var(--green); color: #fff;
  font-size: 14px; font-weight: 600; border-radius: 0 0 8px 8px;
  z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- 容器 ---------- */
.w { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 68px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; }
.nav-logo .logo-icon {
  width: 36px; height: 36px; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; border-radius: 6px;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a, .nav-dropdown > .nav-drop-trigger { font-size: 14px; color: var(--text-2); transition: color 0.2s; cursor: pointer; }
.nav-links > a:hover, .nav-dropdown:hover > .nav-drop-trigger { color: var(--green); }
.nav-tel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; background: var(--green); color: #fff !important;
  font-size: 14px; font-weight: 500; border-radius: 6px;
  transition: background 0.2s;
}
.nav-tel:hover { background: var(--green-dk); color: #fff !important; }
.nav-tel svg { width: 16px; height: 16px; }

/* 下拉菜单 */
.nav-dropdown { position: relative; }
.nav-drop-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; font-family: inherit;
}
.nav-drop-trigger .chevron {
  width: 14px; height: 14px; transition: transform 0.2s;
}
.nav-dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px; background: var(--white);
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: 8px 0; opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-50%) translateY(8px);
  margin-top: 12px;
}
.nav-dropdown:hover .dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-panel a {
  display: block; padding: 10px 20px; font-size: 14px;
  color: var(--text-2); transition: all 0.15s; white-space: nowrap;
}
.dropdown-panel a:hover { background: var(--green-bg); color: var(--green); }

/* 移动菜单 */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 8px; }
.menu-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 99; padding: 80px 24px 24px; flex-direction: column; gap: 0;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu > a, .mobile-menu > .m-sub-title {
  display: block; padding: 18px 0; font-size: 18px; font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .m-sub-title {
  color: var(--text-3); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 24px 0 8px; border-bottom: none;
}
.mobile-menu .m-sub-link {
  display: block; padding: 14px 0 14px 16px; font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--border); color: var(--text-2);
}
.mobile-menu .m-tel {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; background: var(--green); color: #fff;
  font-size: 18px; font-weight: 600; border-radius: 8px; border-bottom: none;
  justify-content: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--white) 60%, var(--green-bg) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}
.hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 .green { color: var(--green); }
.hero .sub { font-size: 17px; color: var(--text-2); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  border-radius: 8px; border: none; cursor: pointer;
  transition: all 0.2s; text-decoration: none;
}
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dk); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Hero 右侧服务预览 ---------- */
.hero-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.preview-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px 20px;
  transition: all 0.25s; position: relative; overflow: hidden;
}
.preview-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.preview-card .pc-icon {
  width: 44px; height: 44px; background: var(--green-bg);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.preview-card .pc-icon svg { width: 22px; height: 22px; color: var(--green); }
.preview-card .pc-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.preview-card .pc-desc { font-size: 13px; color: var(--text-2); line-height: 1.55; }
.preview-card .pc-arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--green-bg); display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s;
}
.preview-card:hover .pc-arrow { opacity: 1; }
.preview-card .pc-arrow svg { width: 14px; height: 14px; color: var(--green); }

/* ---------- 数字条 ---------- */
.nums {
  padding: 56px 0;
  background: var(--green-dk);
  color: #fff;
}
.nums-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
@media (min-width: 768px) { .nums-grid { grid-template-columns: repeat(4, 1fr); } }
.num-item { text-align: center; }
.num-item .n { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; }
.num-item .n small { font-size: 0.45em; font-weight: 400; opacity: 0.7; }
.num-item .t { font-size: 14px; opacity: 0.8; margin-top: 8px; }

/* ---------- 区块通用 ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--bg); }
.section-head { margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--text-2); max-width: 560px; }

/* ---------- 服务详情（左右大模块） ---------- */
.svc-block {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center; padding: 56px 0;
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .svc-block { grid-template-columns: 1fr 1fr; gap: 72px; }
  .svc-block.flip .svc-img { order: 2; }
  .svc-block.flip .svc-info { order: 1; }
}
.svc-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.svc-img img { width: 100%; height: auto; }
.svc-info h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; margin-bottom: 16px; }
.svc-info p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.svc-info .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.svc-info .tag {
  padding: 6px 14px; font-size: 13px; background: var(--green-bg);
  color: var(--green-dk); border-radius: 6px; font-weight: 500;
}

/* ---------- 流程 ---------- */
.steps-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 24px; position: relative;
}
.step-card .s-num {
  width: 40px; height: 40px; background: var(--green);
  color: #fff; border-radius: 8px; display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; margin-bottom: 20px;
}
.step-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ---------- 客户类型 ---------- */
.aud-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(4, 1fr); } }
.aud-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px 24px; transition: all 0.25s;
}
.aud-card:hover { border-color: var(--green); }
.aud-card .ac-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--green-bg); display: flex;
  align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.aud-card .ac-icon svg { width: 24px; height: 24px; color: var(--green); }
.aud-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.aud-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ---------- CTA 横幅 ---------- */
.cta-bar {
  padding: 80px 0;
  background: var(--green-dk);
  color: #fff;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr 0.8fr; } }
.cta-bar h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.cta-bar p { font-size: 16px; opacity: 0.85; line-height: 1.7; }
.cta-right { display: flex; flex-direction: column; gap: 20px; }
.cta-tel { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: 0.02em; color: #fff; }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white { background: #fff; color: var(--green-dk); }
.btn-white:hover { background: var(--green-bg); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { padding: 64px 0 32px; background: var(--bg); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; } }
.footer-brand { font-size: 17px; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-icon {
  width: 32px; height: 32px; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; border-radius: 6px;
}
.footer-col h5 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col a { display: block; font-size: 14px; color: var(--text-2); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-3);
}

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 选中态 ---------- */
::selection { background: var(--green); color: #fff; }

/* ---------- 导航激活 ---------- */
.nav-links > a.active,
.nav-drop-trigger.active { color: var(--green) !important; font-weight: 600; }

/* ---------- 子页面页头 ---------- */
.page-header {
  padding: 120px 0 56px;
  background: linear-gradient(135deg, var(--white) 60%, var(--green-bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(30px, 5vw, 44px); font-weight: 800; margin-bottom: 12px;
}
.page-header p { font-size: 17px; color: var(--text-2); max-width: 620px; line-height: 1.7; }

/* ---------- 服务卡片网格（services.html） ---------- */
.svc-cards {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 640px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
.svc-card-v {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  transition: all 0.25s;
}
.svc-card-v:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.svc-card-v img { width: 100%; height: 200px; object-fit: cover; background: var(--bg); }
.svc-card-v h3 { font-size: 20px; font-weight: 700; padding: 24px 24px 0; }
.svc-card-v p { font-size: 14px; color: var(--text-2); line-height: 1.6; padding: 12px 24px 0; flex: 1; }
.svc-card-v .card-link {
  display: block; padding: 20px 24px; font-size: 14px;
  color: var(--green); font-weight: 600;
}

/* ---------- 详情布局（detail pages） ---------- */
.detail-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .detail-layout { grid-template-columns: 1fr 320px; } }
.detail-main h2 {
  font-size: 22px; font-weight: 700;
  margin: 40px 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--green-bg);
}
.detail-main h2:first-of-type { margin-top: 24px; }
.detail-main p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.detail-illust {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
  background: var(--bg);
}
.detail-illust img { width: 100%; height: auto; }
.detail-cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.check-list li {
  position: relative; padding: 8px 0 8px 28px;
  font-size: 15px; color: var(--text-2); line-height: 1.6;
}
.check-list li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  color: var(--green); font-weight: 700; font-size: 15px;
}

/* Step list (ordered) */
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0 0 16px; }
.step-list li {
  position: relative; padding: 10px 0 10px 36px;
  font-size: 15px; color: var(--text-2); line-height: 1.6;
  counter-increment: step;
}
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 24px; height: 24px; background: var(--green); color: #fff;
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* Sidebar cards */
.detail-side { display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px;
}
.side-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.side-card a {
  display: block; font-size: 14px; color: var(--green);
  padding: 6px 0; font-weight: 500; transition: color 0.2s;
}
.side-card a:hover { color: var(--green-dk); }
.side-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; margin-top: 4px; }
.big-tel {
  display: block; font-size: 24px; font-weight: 800;
  color: var(--green); letter-spacing: 0.02em;
}

/* ---------- 联系页网格 ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 380px; } }
.contact-main h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; }
.contact-main > p { font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px;
}
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.contact-card .big-tel { margin-bottom: 8px; }
.contact-card .tag {
  display: inline-block; padding: 6px 14px; font-size: 13px;
  background: var(--green-bg); color: var(--green-dk);
  border-radius: 6px; font-weight: 500; transition: all 0.2s;
}
.contact-card .tag:hover { background: var(--green); color: #fff; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  padding: 32px 0; border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
@media (min-width: 640px) { .news-item { grid-template-columns: 200px 1fr; gap: 28px; } }
.news-item:first-child { padding-top: 0; }
.news-thumb {
  width: 100%; height: 140px; border-radius: 10px;
  background: var(--bg); border: 1px solid var(--border);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb .thumb-placeholder {
  font-size: 32px; color: var(--green); opacity: 0.3;
}
.news-body { display: flex; flex-direction: column; justify-content: center; }
.news-date { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.news-body h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  line-height: 1.4; transition: color 0.2s;
}
.news-item:hover .news-body h3 { color: var(--green); }
.news-body p { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.news-tags span {
  padding: 3px 10px; font-size: 12px; background: var(--green-bg);
  color: var(--green-dk); border-radius: 4px; font-weight: 500;
}

/* ---------- 文章正文 ---------- */
.article-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
}
@media (min-width: 900px) { .article-layout { grid-template-columns: 1fr 320px; } }
.article-main { max-width: 100%; }
.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.article-meta .meta-date { font-size: 14px; color: var(--text-3); }
.article-meta .meta-tag {
  padding: 4px 12px; font-size: 12px; background: var(--green-bg);
  color: var(--green-dk); border-radius: 4px; font-weight: 500;
}
.article-content h2 {
  font-size: 22px; font-weight: 700; margin: 36px 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--green-bg);
}
.article-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 12px; }
.article-content p {
  font-size: 15px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px;
}
.article-content ul, .article-content ol {
  margin: 0 0 16px 20px; color: var(--text-2); font-size: 15px; line-height: 1.8;
}
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--green); background: var(--green-bg);
  padding: 16px 20px; margin: 20px 0; border-radius: 0 8px 8px 0;
  font-size: 15px; color: var(--text); line-height: 1.7;
}
.article-nav {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.article-nav a {
  font-size: 14px; color: var(--green); font-weight: 500; transition: color 0.2s;
}
.article-nav a:hover { color: var(--green-dk); }


.news-item--compact:hover {
  background: #fafafa;
  padding-left: 0.5rem;
}
.news-item--compact .news-date {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #999;
  min-width: 6rem;
}
.news-item--compact h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  line-height: 1.4;
}
.news-item--compact:hover h3 {
  color: #2563eb;
}

/* === News Feed === */

/* Top 5 thumbnail grid */
.nf-grid5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .nf-grid5 { grid-template-columns: repeat(3, 1fr); }
  .nf-grid5 .nf-thumb-card:first-child { grid-column: span 2; }
  .nf-grid5 .nf-thumb-card:first-child .nf-thumb-card__img { height: 180px; }
}
@media (min-width: 1024px) {
  .nf-grid5 { grid-template-columns: repeat(5, 1fr); }
  .nf-grid5 .nf-thumb-card:first-child { grid-column: span 1; }
  .nf-grid5 .nf-thumb-card:first-child .nf-thumb-card__img { height: 120px; }
}

.nf-thumb-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #fff;
}
.nf-thumb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.nf-thumb-card__img {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: var(--bg);
}
.nf-thumb-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.nf-thumb-card:hover .nf-thumb-card__img img {
  transform: scale(1.05);
}
.nf-thumb-ph {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--green-bg) 100%);
}
.nf-thumb-card__info {
  padding: 10px 12px 12px;
}
.nf-thumb-card__info h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 4px;
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.nf-thumb-card:hover h3 { color: var(--green); }
.nf-thumb-card__date {
  font-size: 11px;
  color: #aaa;
}

/* More articles list */
.nf-more {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.nf-more__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-bg);
}
.nf-more__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.nf-more__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s, padding-left 0.12s;
  border-radius: 4px;
}
.nf-more__item:last-child { border-bottom: none; }
.nf-more__item:hover {
  background: #fafbfc;
  padding-left: 14px;
}
.nf-more__date {
  flex-shrink: 0;
  font-size: 12px;
  color: #bbb;
  min-width: 5.5rem;
  font-variant-numeric: tabular-nums;
}
.nf-more__tag {
  flex-shrink: 0;
  font-size: 11px;
  padding: 1px 6px;
  background: var(--green-bg);
  color: var(--green-dk);
  border-radius: 3px;
  font-weight: 500;
}
.nf-more__name {
  font-size: 14px;
  font-weight: 500;
  color: #444;
  line-height: 1.4;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nf-more__item:hover .nf-more__name { color: var(--green); }

@media (max-width: 640px) {
  .nf-more__item { flex-wrap: wrap; gap: 4px 8px; }
  .nf-more__name { white-space: normal; }
  .nf-more__tag { order: -1; }
}
