/* =========================================================
   Smartmatching Blog — Related Articles Widget Styles
   ========================================================= */
.sm-related-articles {
  background: linear-gradient(180deg, #fafbfc 0%, #f1f5f9 100%);
  padding: 4rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #e5e9ef;
}
.sm-related-articles * { box-sizing: border-box; }

.sm-related-articles-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sm-related-eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  color: #2563eb;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: system-ui, sans-serif;
}

.sm-related-title {
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2rem;
  letter-spacing: -.01em;
  border: none;
  padding: 0;
}

.sm-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.sm-related-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.4rem;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s cubic-bezier(.4,0,.2,1), box-shadow .2s, border-color .2s;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}
.sm-related-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
  color: inherit;
  text-decoration: none;
}

.sm-related-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: .12em;
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: system-ui, sans-serif;
}

.sm-related-card-title {
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  flex: 1;
}

.sm-related-card-meta {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: system-ui, sans-serif;
}
.sm-related-card-meta span {
  color: #2563eb;
  font-weight: 600;
  font-size: 13px;
  transition: transform .2s;
}
.sm-related-card:hover .sm-related-card-meta span { transform: translateX(3px); }

.sm-related-foot {
  margin-top: 2rem;
  text-align: center;
}
.sm-related-hub-link {
  font-size: 14px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .04em;
  transition: color .2s;
  font-family: system-ui, sans-serif;
}
.sm-related-hub-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 540px) {
  .sm-related-articles { padding: 3rem 1.25rem; }
  .sm-related-grid { grid-template-columns: 1fr; }
}
