/* ==========================================================
   ブログ固有スタイル（ヘッダー/フッターは ../styles.css を使用）
   ========================================================== */

/* ---------- ブログ一覧 ---------- */
.blog-hero {
  border-bottom: 1px solid var(--line-strong);
  padding: 56px 0;
  background: var(--bg-deep);
}

.blog-hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-hero .blog-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--brown);
  margin-bottom: 12px;
  border-left: 2px solid var(--wood);
  padding-left: 12px;
}

.blog-hero h1 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.blog-hero .blog-lead {
  margin-top: 14px;
  color: var(--ink-soft);
  max-width: 42em;
}

.entry-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.entry-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.entry-card:hover {
  background: var(--bg-deep);
  color: var(--ink);
}

.entry-card-image {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-right: 1px solid var(--line);
}

.entry-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--brown);
  letter-spacing: 0.08em;
}

.entry-card h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.entry-card p.entry-excerpt {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.entry-card .entry-more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--brown);
}

/* ---------- 記事ページ ---------- */
.article-head {
  padding: 48px 0 8px;
}

.article-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  color: var(--brown);
  border-left: 2px solid var(--wood);
  padding-left: 12px;
  margin-bottom: 14px;
}

.article-head h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 18px;
}

.article-hero-image {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  margin: 24px 0 32px;
}

.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 10px;
  margin: 40px 0 20px;
  position: relative;
}

.article-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: var(--wood);
}

.article-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--wood);
}

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

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

.article-body ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.article-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 1px;
  background: var(--brown);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 36px 0 8px;
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}

.share-button {
  display: inline-block;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  padding: 9px 20px;
}

.share-button:hover {
  background: var(--ink);
  color: var(--bg);
}

.article-footer-nav {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.article-footer-nav a {
  font-size: 0.85rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 9px 18px;
  color: var(--ink);
}

.article-footer-nav a:hover {
  background: var(--bg-deep);
  color: var(--brown);
}

.sidebar-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

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

  .entry-card-image {
    min-height: 160px;
    max-height: 220px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .blog-hero {
    padding: 40px 0;
  }
}

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