/* ==========================================================
   Column (コラム) Page Styles
   ========================================================== */

/* --- Breadcrumb --- */
.column-breadcrumb {
  font-size: 13px;
  padding: 12px 0;
}
.column-breadcrumb a {
  color: #D87185;
  text-decoration: none;
}
.column-breadcrumb a:hover {
  text-decoration: underline;
}
.column-breadcrumb .separator {
  margin: 0 6px;
  color: #999;
}

/* --- Archive Page --- */
.column-archive-header {
  margin-bottom: 30px;
}
.column-archive-header h1 {
  font-size: 24px;
  color: #D87185;
  border-bottom: 3px solid #D87185;
  padding-bottom: 10px;
  margin-bottom: 0;
}

/* Category Filter */
.column-category-filter {
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.column-category-filter a {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid #D87185;
  border-radius: 20px;
  font-size: 13px;
  color: #D87185;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.column-category-filter a:hover,
.column-category-filter a.active {
  background-color: #D87185;
  color: #fff;
}

/* Article List Item */
.column-list-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.column-list-item:first-child {
  border-top: 1px solid #eee;
}
.column-list-thumbnail {
  flex-shrink: 0;
  width: 160px;
  height: 110px;
  overflow: hidden;
  border-radius: 4px;
}
.column-list-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.column-list-thumbnail .no-image {
  width: 100%;
  height: 100%;
  background-color: #F2D3D3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D87185;
  font-size: 12px;
}
.column-list-body {
  flex: 1;
  min-width: 0;
}
.column-list-body h2 {
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.5;
}
.column-list-body h2 a {
  color: #333;
  text-decoration: none;
}
.column-list-body h2 a:hover {
  color: #D87185;
}

/* Date & Category Badge */
.column-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 6px;
}
.column-date .date-icon {
  margin-right: 4px;
}
.column-date .update-date {
  margin-left: 12px;
}
.column-category-badge {
  display: inline-block;
  padding: 2px 10px;
  background-color: #F2D3D3;
  color: #D87185;
  font-size: 12px;
  border-radius: 3px;
  margin-right: 6px;
}

/* Pagination */
.column-pagination {
  text-align: center;
  margin: 40px 0 20px;
}
.column-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border: 1px solid #D87185;
  color: #D87185;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
}
.column-pagination .page-numbers:hover,
.column-pagination .page-numbers.current {
  background-color: #D87185;
  color: #fff;
}

/* --- Single Page --- */
.column-single {
  max-width: 800px;
  margin: 0 auto;
}
.column-single-header {
  margin-bottom: 24px;
}
.column-single-header h1 {
  font-size: 24px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 12px;
}
.column-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Featured Image */
.column-featured-image {
  margin-bottom: 30px;
}
.column-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Article Body */
.column-content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.column-content h2 {
  font-size: 20px;
  color: #D87185;
  border-left: 4px solid #D87185;
  padding-left: 12px;
  margin: 40px 0 16px;
  line-height: 1.5;
}
.column-content h3 {
  font-size: 18px;
  color: #333;
  border-bottom: 2px solid #F2D3D3;
  padding-bottom: 6px;
  margin: 32px 0 14px;
  line-height: 1.5;
}
.column-content p {
  font-size: 16px;
  margin-bottom: 1.5em;
}
.column-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
.column-content ul,
.column-content ol {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}
.column-content li {
  margin-bottom: 0.5em;
}
.column-content blockquote {
  border-left: 4px solid #F2D3D3;
  padding: 12px 20px;
  margin: 20px 0;
  background-color: #fafafa;
  color: #555;
}

/* Highlight/Marker Style */
.column-content mark,
.column-content span[style*="background-color: #ffff00"],
.column-content span[style*="background-color: yellow"],
.column-content span[style*="background-color:#ffff00"],
.column-content span[style*="background-color:#fff799"] {
  background: linear-gradient(transparent 60%, #fff799 60%) !important;
  padding: 0 2px;
}

/* Back to List */
.column-back-to-list {
  text-align: center;
  margin: 30px 0;
}
.column-back-to-list a {
  display: inline-block;
  padding: 10px 30px;
  border: 2px solid #D87185;
  color: #D87185;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.2s, color 0.2s;
}
.column-back-to-list a:hover {
  background-color: #D87185;
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 767px) {
  .column-list-item {
    flex-direction: column;
    gap: 12px;
  }
  .column-list-thumbnail {
    width: 100%;
    height: 180px;
  }
  .column-list-body h2 {
    font-size: 16px;
  }
  .column-single-header h1 {
    font-size: 20px;
  }
  .column-content h2 {
    font-size: 18px;
  }
  .column-content h3 {
    font-size: 16px;
  }
}
