/* talent-public-profile.css */
/* クリエイター公開プロフィールページ用スタイル */

/* 自動リンク化されたURLのスタイル */
.purimall-auto-link-url {
  color: #ec4899;
  text-decoration: underline;
  word-break: break-all;
}

/* メインコンテナ */
.talent-public-profile-container {
  max-width: 880px;
  margin: 0 auto;
  font-family: sans-serif;
  padding: 2em;
  border-radius: 12px;
}

/* プロフィールヘッダー */
.talent-public-profile-header {
  text-align: center;
}

.talent-public-profile-avatar {
  border-radius: 8px !important;
  width: 96px !important;
  height: 96px !important;
}

.talent-public-profile-name {
  font-size: 1.5em;
  margin: 0.5em 0;
}

.talent-public-profile-bio {
  margin: 1em 0;
}

.talent-public-profile-bio-title {
  color: #ec4899;
  margin-bottom: 0.5em;
}

.talent-public-profile-bio-content {
  line-height: 1.6;
}

.talent-public-profile-divider {
  margin: 2em 0;
}

/* アコーディオンセクション */
.talent-public-profile-accordion-section {
  margin-bottom: 1em;
}

.talent-public-profile-accordion-header {
  background: #f8f9fa;
  padding: 1em;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e5e7eb;
}

.talent-public-profile-accordion-header h3 {
  margin: 0;
  color: #ec4899;
}

.talent-public-profile-accordion-header h3 i {
  margin-right: 8px;
}

.talent-public-profile-accordion-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.talent-public-profile-accordion-content {
  display: none;
  padding: 1em;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-radius: 0 0 8px 8px;
  background: #fff;
}

/* 紹介文ボックス */
.talent-public-profile-description-box {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #ec4899;
}

.talent-public-profile-description-box h4 {
  margin: 0 0 10px 0;
  color: #ec4899;
}

.talent-public-profile-description-box h4 i {
  margin-right: 8px;
}

.talent-public-profile-description-box p {
  margin: 0;
  line-height: 1.6;
}

/* プラン/投稿/商品グリッド */
.talent-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2em;
  margin-top: 1em;
}

.talent-post-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: row;
  min-height: 120px;
}

.talent-post-card .thumbnail {
  width: 120px;
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-post-card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talent-post-card .content {
  padding: 1em;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.talent-post-card h3 {
  margin: 0 0 0.5em 0;
  font-size: 1em;
  color: #333;
  line-height: 1.3;
}

.talent-post-card .plan-label {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 0.5em;
}

.talent-post-card .post-date {
  font-size: 0.75em;
  color: #999;
  margin-bottom: 0.5em;
}

.talent-post-card .status-label {
  font-size: 0.75em;
  color: #999;
  margin-bottom: 0.5em;
}

.talent-post-card .actions {
  padding-top: 0.5em;
  text-align: right;
  font-size: 0.85em;
}

.talent-post-card .actions a {
  color: #ec4899;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.talent-post-card .actions a:hover {
  color: #d63384;
}

/* ページネーション */
.talent-public-profile-pagination {
  text-align: center;
  margin: 2em 0;
  padding: 1em;
}

.talent-public-profile-pagination a {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.2em;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}

.talent-public-profile-pagination a:hover {
  background: #f8f9fa;
}

.talent-public-profile-pagination .current {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.2em;
  border: 1px solid #ec4899;
  border-radius: 4px;
  background: #ec4899;
  color: white;
}

/* 注意書き */
.talent-public-profile-notice {
  margin-top: 1em;
  padding: 0.5em;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 4px;
  font-size: 0.8em;
  color: #856404;
}

.talent-public-profile-notice i {
  margin-right: 0.3em;
}

/* サムネイルプレースホルダー */
.talent-post-card .thumbnail-placeholder {
  color: #999;
  font-size: 0.8em;
}

.talent-post-card .thumbnail-placeholder i {
  font-size: 1.5em;
}

/* 投稿のサムネイル（ぼかし処理） */
.talent-post-card .thumbnail-blur {
  filter: blur(4px);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .talent-post-grid {
    grid-template-columns: 1fr;
  }

  .talent-post-card .thumbnail {
    width: 100px;
    height: 100px;
  }
}

