/* ============================================================
   昆虫ブリーディング産業レポート ブログ固有スタイル
   （ヘッダー/フッターのスタイルは ../styles.css を使用）
   ============================================================ */

.blog-page-title {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 0;
}

.blog-page-title h1 {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #eafbea;
  padding-left: 16px;
  border-left: 5px solid var(--green-mid);
}

.blog-page-title h1::after {
  content: "";
  display: block;
  width: 88px;
  height: 3px;
  margin-top: 8px;
  background: var(--iridescent);
  border-radius: 2px;
}

.blog-page-lead {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 860px;
}

.article-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 20px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-mid);
}

.article-card img {
  aspect-ratio: 7 / 4;
  object-fit: cover;
  width: 100%;
}

.article-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.article-card time {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-mid);
  letter-spacing: 0.08em;
}

.article-card h2 {
  font-size: 1.1rem;
  font-weight: 900;
  color: #eafbea;
  line-height: 1.55;
}

.article-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}

/* ---------------- 記事ページ ---------------- */

.article-header {
  margin-bottom: 22px;
}

.article-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--green-light);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 12px;
}

.article-header h1 {
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.5;
  color: #eafbea;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.article-meta .reading-time {
  color: #047857;
  font-weight: 700;
}

.article-hero-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  margin-bottom: 28px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.share-button {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: #eafbea;
}

.share-button:hover {
  border-color: var(--green-mid);
  background: var(--bg-card-hover);
}

.back-to-list {
  display: inline-block;
  margin-top: 26px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--green-light);
}

/* Mobile news-commentary readability baseline (shared site-local rule). */
@media (max-width: 768px) {
  .blog-main, .blog-container, .two-col-layout { min-width: 0; }
  .article-detail, .blog-article, .article-body { min-width: 0; }
  .article-detail .article-body, .blog-article { padding-inline: 16px; }
  .article-content {
    font-size: 1rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }
  .article-content h2 { font-size: clamp(1.25rem, 6vw, 1.45rem); line-height: 1.4; }
  .article-content h3 { font-size: clamp(1.12rem, 5vw, 1.25rem); line-height: 1.45; }
  .article-content :is(img, iframe, video) { max-width: 100%; height: auto; }
  .article-content table { display: block; max-width: 100%; overflow-x: auto; }
  .sidebar, .blog-sidebar { position: static; order: 2; }
}
/* Mobile article reading width: keep outer page gutters, remove duplicated inner gutters. */
@media (max-width: 768px) {
  .article-content,
  .article-detail .article-body,
  .blog-article,
  .main-content > article.main-content {
    padding-left: 0;
    padding-right: 0;
  }
  /* Cap article-panel padding without removing deliberate card framing. */
  .article-panel,
  .article-main,
  .post-content,
  .article-detail {
    padding-left: min(16px, 4vw);
    padding-right: min(16px, 4vw);
  }
  .article-body { padding-left: 0; padding-right: 0; }
}
