/* ============================================================
   Let-Lab Help-Lab · Resources & News pages styling
   ============================================================ */

/* ---- Hero ---- */
.content-hero {
  padding: 80px 0 40px;
  background: linear-gradient(135deg, #F8FAFD 0%, #FFFFFF 100%);
  border-bottom: 1px solid #E3EAF2;
}
.content-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
  margin: 14px 0 16px;
  letter-spacing: -0.5px;
}
.content-hero .lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 720px;
  line-height: 1.6;
}
.content-hero-meta {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.content-hero-meta span {
  font-size: 13px;
  color: var(--ink-soft);
}
.content-hero-meta strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--royal);
  margin-bottom: 2px;
}

/* ---- Featured Collections ---- */
.featured-collections { background: #fff; }
.fc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.fc-card {
  background: #fff;
  border: 1px solid #E3EAF2;
  border-radius: 10px;
  padding: 10px 14px;
  transition: all .25s;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 320px;
  min-width: 300px;
}
.fc-card:hover {
  border-color: var(--royal);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,78,155,.10);
}
.fc-tag {
  position: absolute;
  top: 6px;
  right: 8px;
  background: var(--royal);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}
.fc-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(15,78,155,.10), rgba(8,145,178,.12));
  color: var(--royal);
  flex-shrink: 0;
}
.fc-icon svg { width: 11px; height: 11px; }
.fc-card h3 { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.fc-card p { font-size: 12px; color: var(--ink-soft); line-height: 1.5; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-arrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--royal);
  text-decoration: none;
  transition: gap .2s;
}
.link-arrow:hover { text-decoration: underline; }

/* ---- Resources Categories ---- */
.resources-categories { background: #F6F9FD; }
.rc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.rc-card {
  background: #fff;
  border: 1px solid #E3EAF2;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 280px;
  min-width: 260px;
}
.rc-card:hover {
  border-color: var(--royal);
  box-shadow: 0 8px 20px rgba(15,78,155,.08);
  transform: translateY(-2px);
}
.rc-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(15,78,155,.10), rgba(8,145,178,.12));
  color: var(--royal);
  flex-shrink: 0;
}
.rc-icon svg { width: 11px; height: 11px; }
.rc-card h3 { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.rc-card p { font-size: 12px; color: var(--ink-soft); line-height: 1.5; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-meta {
  display: inline-block;
  font-size: 11.5px;
  color: var(--ink-soft);
  background: #F0F5FB;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* ---- Partners Wall ---- */
.partners-wall { background: #fff; }
.pw-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: stretch;
}
.pw-card {
  background: linear-gradient(135deg, #FAFCFE, #F4F8FC);
  border: 1px solid #E3EAF2;
  border-radius: 10px;
  padding: 8px 14px;
  text-align: left;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 180px;
  min-width: 160px;
}
.pw-card:hover {
  border-color: var(--royal);
  background: #fff;
  transform: translateY(-2px);
}
.pw-logo {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: var(--royal);
  opacity: .8;
  flex-shrink: 0;
}
.pw-logo svg { width: 11px; height: 11px; }
.pw-card span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.2px;
}
.pw-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.pw-note a { color: var(--royal); font-weight: 600; }

/* ---- Blog Latest ---- */
.blog-latest { background: #F6F9FD; }
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  align-items: stretch;
}
.blog-card {
  background: #fff;
  border: 1px solid #E3EAF2;
  border-radius: 10px;
  padding: 10px 14px;
  transition: all .25s;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 320px;
  min-width: 300px;
}
.blog-card:hover {
  border-color: var(--royal);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15,78,155,.10);
}
.blog-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.blog-meta span {
  background: var(--royal);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.blog-meta time {
  font-size: 12px;
  color: var(--ink-soft);
}
.blog-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}
.blog-card p {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-author {
  font-size: 12px;
  font-style: italic;
  color: var(--ink-soft);
}
.btn-outline {
  background: transparent;
  color: var(--royal);
  border: 2px solid var(--royal);
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background: var(--royal); color: #fff; }

/* ---- News list (news.html) ---- */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #E3EAF2;
}
.news-item:first-child { padding-top: 0; }
.news-date time {
  display: block;
  text-align: center;
  background: #F0F5FB;
  border-radius: 10px;
  padding: 12px 8px;
}
.news-date strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--royal);
  line-height: 1;
}
.news-date span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 1px;
  margin-top: 4px;
}
.news-body h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin: 12px 0 10px;
  line-height: 1.4;
}
.news-body p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 10px;
}
.news-pagination {
  margin-top: 32px;
  text-align: center;
}
.news-page-status {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 8px 18px;
  background: #F0F5FB;
  border-radius: 8px;
  display: inline-block;
}
@media (max-width: 560px) {
  .news-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ---- 响应式 ---- */
@media (max-width: 992px) {
  .fc-grid { gap: 8px; }
  .rc-grid { gap: 8px; }
  .pw-grid { gap: 8px; }
  .blog-grid { gap: 8px; }
}
@media (max-width: 560px) {
  .fc-grid { gap: 8px; }
  .rc-grid { gap: 8px; }
  .pw-grid { gap: 8px; }
  .content-hero-meta { gap: 20px; }
}
