/* ジビエ産業現況レポート ブログ固有スタイル
   （ヘッダー/フッターのスタイルは ../styles.css を使用） */

.blog-hero {
  background: linear-gradient(135deg, rgba(23, 36, 15, 0.94), rgba(74, 93, 35, 0.9));
  border-bottom: 4px solid var(--brown);
  color: #fdf9ee;
  text-align: center;
  padding: 46px 20px;
}

.blog-hero h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.9rem;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 6px rgba(10, 18, 5, 0.8);
}

.blog-hero p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #e6dfca;
}

/* 記事一覧 */
.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--cream-light);
  border: 2px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 4px 4px 0 rgba(139, 94, 52, 0.18);
}

.post-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-right: 3px solid var(--green);
}

.post-card .post-body {
  padding: 20px 24px;
}

.post-card .post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--brown-dark);
}

.post-card .post-meta time {
  font-family: var(--font-serif);
  font-weight: 700;
}

.post-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #fdf9ee;
  background: var(--brown);
  border-radius: 2px;
  padding: 1px 10px;
}

.post-card h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 8px 0 10px;
}

.post-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h2 a:hover {
  color: var(--green);
}

.post-card .post-excerpt {
  font-size: 0.88rem;
  color: #4c4331;
  margin-bottom: 12px;
}

.post-card .post-more {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  border: 2px solid var(--green);
  border-radius: 3px;
  padding: 5px 20px;
}

.post-card .post-more:hover {
  background: var(--green);
  color: #fdf9ee;
}

/* 記事ページ */
.article-header {
  border-bottom: 3px double var(--brown);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.article-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--brown);
}

.article-header h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin: 8px 0 12px;
  color: var(--ink);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.82rem;
  color: var(--brown-dark);
}

.article-meta time {
  font-family: var(--font-serif);
  font-weight: 700;
}

.article-hero-image {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 4px;
  margin-bottom: 26px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.32rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  border-bottom: 3px solid var(--green);
  padding: 6px 0 8px 16px;
  position: relative;
  margin: 40px 0 18px;
}

.article-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 10px;
  width: 8px;
  background: var(--brown);
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 18px 24px;
}

.article-body li {
  margin-bottom: 6px;
}

/* シェアボタン */
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 10px;
  border-top: 2px dashed var(--line);
  padding-top: 22px;
}

.share-button {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 3px;
  padding: 8px 22px;
  color: #fdf9ee;
}

.share-button.share-x {
  background: var(--ink);
}

.share-button.share-facebook {
  background: var(--green);
}

.share-button:hover {
  background: var(--brown);
  color: #fdf9ee;
}

/* 記事下の回遊導線 */
.article-back {
  margin-top: 26px;
}

.article-back a {
  display: inline-block;
  border: 2px solid var(--green);
  background: var(--cream-light);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 4px;
  padding: 10px 26px;
}

.article-back a:hover {
  background: var(--green);
  color: #fdf9ee;
}

@media (max-width: 768px) {
  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card img {
    height: 180px;
    border-right: none;
    border-bottom: 3px solid var(--green);
  }

  .blog-hero h1 {
    font-size: 1.4rem;
  }

  .article-header h1 {
    font-size: 1.32rem;
  }
}

/* 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; }
}

@media (max-width: 1100px) { .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .post-list { grid-template-columns: 1fr; } }
/* 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; }
}
