﻿.ys-user-support-section {
  background: #f8f9fa;
  padding: 40px 0;
}
.ys-user-support-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}
.ys-user-support-overview {
  background: #ffffff;
  border-left: 6px solid var(--theme-color-0);
  padding: 24px;
  border-radius: 10px;
}
.ys-support-title {
  font-size: 1.5rem;
  color: var(--theme-color-0);
}
.ys-user-support-feature-grid .ys-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid #e2e2e2;
}
.ys-feature-icon {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--theme-color-0);
}
.ys-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
}
.ys-feature-desc {
  font-size: 0.95rem;
  color: #666;
}
.ys-feature-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}
.ys-user-support-list {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
}
.ys-support-list-title {
  color: var(--theme-color-0);
  font-weight: bold;
}
.ys-user-support-list-new {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
}

.ys-user-card-flex-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ys-user-card {
  background: #fff;
  border: 1px solid #ddd;
  border-left: 6px solid var(--theme-color-0);
  border-radius: 10px;
  padding: 16px 20px;
  flex: 1 1 calc(50% - 20px);
  min-width: 280px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.ys-user-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ys-user-card-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #444;
}

.ys-user-card-row strong {
  font-weight: 600;
  color: #333;
}

@media (max-width: 767.98px) {
  .ys-user-card {
    flex: 1 1 100%;
  }
}

.ys-user-card-row a {
    color: #0c47a1; /* ✅ Google 系清新藍 */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
  }

  .ys-user-card-row a:hover {
    color: #1a73e8;
    border-bottom: 1px solid #0c47a1; /* ✅ hover 有底線強調 */
  }


/*****************/

.ys-user-detail-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px 20px;
}

.ys-user-detail-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border-left: 6px solid var(--theme-color-0);
}

.ys-user-detail-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
}

.ys-user-detail-info {
  flex: 1;
}

.ys-detail-name {
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--theme-color-0);
}

.ys-detail-role {
  font-size: 1rem;
  color: #666;
}

.ys-detail-meta li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #444;
}

.ys-user-detail-skill h4,
.ys-user-detail-article h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--theme-color-0);
}

.ys-skill-tags {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ys-skill-tags li {
  background: var(--theme-color-0);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.ys-related-posts {
  list-style: none;
  padding-left: 0;
}

.ys-related-posts li {
  margin-bottom: 8px;
}

.ys-related-posts a {
  color: var(--theme-color-0);
  text-decoration: none;
  font-weight: 500;
}

.ys-related-posts a:hover {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .ys-user-detail-card {
    flex-direction: column;
    text-align: center;
  }

  .ys-user-detail-avatar {
    margin-bottom: 16px;
  }
}
