/*
Theme Name: TradeSupport Column
Description: メインサイトのデザインをそのまま適用するクラシックテーマ
Version: 1.0
*/

/* ===== Column-specific styles ===== */

/* Index: column list */
.ts-index {
  max-width: 800px;
  margin: 40px auto 60px;
  padding: 0 24px;
}

.ts-index-heading {
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 40px;
}

.ts-column-item {
  margin-bottom: 40px;
  transition: transform 0.2s;
}

.ts-column-item:hover {
  transform: translateY(-2px);
}

.ts-column-item a.ts-column-image {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  aspect-ratio: 16 / 9;
}

.ts-column-item:hover a.ts-column-image {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.ts-column-item a.ts-column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.ts-column-item:hover a.ts-column-image img {
  transform: scale(1.02);
}

.ts-column-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  gap: 16px;
}

.ts-column-meta a {
  color: #1a1a2e;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  flex: 1;
}

.ts-column-meta a:hover {
  color: #b05a3a;
}

.ts-column-date {
  color: #888;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Single: article page */
.ts-single {
  max-width: 720px;
  margin: 40px auto 60px;
  padding: 40px 24px 60px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.ts-single-date {
  color: #888;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.ts-single h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.ts-single-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
}

.ts-single-image img {
  width: 100%;
  height: auto;
  display: block;
}

.ts-single-content p {
  font-size: 16px;
  color: #555;
  line-height: 2.2;
  margin-bottom: 1.5em;
}

.ts-single-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 2.5em 0 1em;
}

.ts-single-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 2em 0 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #b05a3a;
}

.ts-single-content blockquote {
  border-left: 3px solid #b05a3a;
  padding-left: 20px;
  margin: 1.5em 0;
  color: #555;
  font-style: normal;
}

.ts-single-content a {
  color: #b05a3a;
  text-decoration: none;
}

.ts-single-content a:hover {
  text-decoration: underline;
}

.ts-single-content ul,
.ts-single-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
  color: #555;
}

.ts-single-content li {
  margin-bottom: 0.5em;
  line-height: 2.0;
}

.ts-back-link {
  margin-top: 60px;
}

.ts-back-link a {
  color: #b05a3a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.ts-back-link a:hover {
  text-decoration: underline;
}

/* Pagination */
.ts-pagination {
  text-align: center;
  margin-top: 40px;
}

.ts-pagination a,
.ts-pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  color: #1a1a2e;
  font-weight: 600;
  font-size: 14px;
}

.ts-pagination span.current {
  background: #1a1a2e;
  color: #fff;
  border-radius: 4px;
}

.ts-pagination a:hover {
  color: #b05a3a;
}

/* Responsive */
@media (max-width: 768px) {
  .ts-column-meta a {
    font-size: 16px;
  }

  .ts-single {
    border-radius: 0;
    padding: 24px 16px 40px;
  }

  .ts-single h1 {
    font-size: 22px;
  }

  .ts-single-content p {
    font-size: 15px;
    line-height: 2.0;
  }

  .ts-single-content h3 {
    font-size: 18px;
  }
}
