/* per_help-common.css — shared layout for help center module */

.per-help-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.per-help-hero {
  background: #fff;
  padding: 40px 24px;
}

.per-help-title {
  font-size: 32px;
  line-height: 1.5;
  color: #1a1a1a;
  font-weight: 700;
}

.per-help-subtitle {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

.per-help-search-wrap {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-top: 24px;
}

.per-help-search {
  width: 100%;
  height: 56px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fff;
  padding: 0 16px 0 48px;
  font-size: 15px;
  color: #333;
}

.per-help-search::placeholder {
  color: rgba(51, 51, 51, 0.5);
}

.per-help-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.per-help-categories {
  padding: 8px 0 0;
}

.per-help-categories-title {
  font-size: 24px;
  line-height: 1.5;
  color: #1a1a1a;
  font-weight: 700;
}

.per-help-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.per-help-card {
  background: #fff;
  border-radius: 16px;
  min-height: 233px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.per-help-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #fff5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.per-help-card__icon-wrap img {
  width: 28px;
  height: 28px;
}

.per-help-card h3 {
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.5;
  color: #1a1a1a;
  font-weight: 700;
}

.per-help-card p {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.per-help-card__link {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-primary);
  font-weight: 600;
}

.per-help-card__link img {
  width: 16px;
  height: 16px;
}

.per-help-empty {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.per-help-empty.is-hidden {
  display: none;
}

@media (max-width: 1200px) {
  .per-help-hero {
    padding: 24px 20px;
  }

  .per-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .per-help-card {
    padding: 24px;
  }
}

@media (max-width: 992px) {
  .per-help-main {
    gap: 16px;
  }

  .per-help-title {
    font-size: 28px;
  }

  .per-help-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .per-help-hero {
    padding: 20px 16px;
  }

  .per-help-title {
    font-size: 24px;
    line-height: 1.35;
  }

  .per-help-search-wrap {
    margin-top: 16px;
  }

  .per-help-search {
    height: 48px;
    border-radius: 10px;
    font-size: 14px;
  }

  .per-help-search-icon {
    width: 18px;
    height: 18px;
  }

  .per-help-categories-title {
    font-size: 22px;
  }

  .per-help-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .per-help-card {
    min-height: 0;
    padding: 16px;
    border-radius: 12px;
  }

  .per-help-card h3 {
    margin-top: 14px;
  }
}
