/* ===================================================
   SDI NEWS - Modern Layout (Material for MkDocs)
   左：年ナビ / 右：ニュース本体
   modern SaaS style
=================================================== */

/* 背景を少し柔らかく */
.md-content {
  background: #f8fafc;
}

/* 全体レイアウト */
.news-layout {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  margin-top: 16px;
}

/* =========================
   左サイド（年ナビ）
========================= */
.news-sidebar {
  width: 140px;
  position: sticky;
  top: 90px;
  border-right: 1px solid #eef2f7;
  padding-right: 14px;
}

/* 年リンク */
.news-sidebar a {
  display: block;
  padding: 6px 10px;
  margin-bottom: 6px;

  color: #6b7280;
  text-decoration: none;

  border-radius: 8px;
  transition: 0.2s;
}

/* hover */
.news-sidebar a:hover {
  background: #f3f4f6;
  color: #111827;
}

/* active（今の年） */
.news-sidebar a.active {
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 500;
}

/* =========================
   右コンテンツ
========================= */
.news-content {
  flex: 1;
  padding-left: 10px;
}

/* タイトル（2026 News） */
.news-year {
  font-size: 28px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* 月タイトル */
.news-month {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;

  margin: 28px 0 12px;
}

/* =========================
   カード（ニュース本体）
========================= */
.news-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;

  padding: 16px 18px;
  margin-bottom: 14px;

  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: all 0.18s ease;
}

/* hoverで少し浮く */
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

/* タイトル */
.news-card b {
  color: #111827;
}

/* リスト */
.news-card ul {
  margin-top: 8px;
  padding-left: 18px;
  color: #6b7280;
}

/* =========================
   モバイル対応
========================= */
@media (max-width: 900px) {
  .news-layout {
    flex-direction: column;
  }

  .news-sidebar {
    position: relative;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 10px;
    margin-bottom: 16px;
    display: flex;
    gap: 10px;
  }

  .news-sidebar a {
    display: inline-block;
    margin-bottom: 0;
  }
}