:root{
    --navy:#141A6D;
    --ink:#111;
    --muted:#666;
    --line:#eee;
    --bg:#fff;
    --hover:#f7f8fb;
  }

  /* =========================
     Grid (News Hub / Category 共通)
  ========================= */
  body.page-news .post-grid,
  body.category .post-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
  }

  @media (max-width: 992px){
    body.page-news .post-grid,
    body.category .post-grid{
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (max-width: 640px){
    body.page-news .post-grid,
    body.category .post-grid{
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }

  /* =========================
     Post Card
  ========================= */
  .post-card{
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
    text-decoration: none;
    display: block;
    color: var(--ink);
    transition:
      background-color .35s ease-out,
      border-color .35s ease-out;
  }

  .post-card:hover{
    background: var(--hover);
    border-color: rgba(20,26,109,.28);
  }

  /* Thumb */
  .post-thumb{
    aspect-ratio: 16/10;
    background: #f3f4f6;
    overflow: hidden;
  }

  .post-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display:block;
  }

  /* Body */
  .post-body{
    padding: 16px 16px 18px;
  }

  .post-meta{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: var(--muted);
    line-height: 1.3;
  }

  .post-tag{
    display:inline-flex;
    align-items:center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(20,26,109,.25);
    color: var(--navy);
    font-weight: 700;
    letter-spacing: .05em;
    font-size: 1.05rem;
    white-space: nowrap;
  }

  /* Title */
  .post-title{
    margin: 0 0 10px;
    font-size: 1.7rem;
    line-height: 1.45;
    font-weight: 800;
    color: var(--navy);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Excerpt */
  .post-excerpt{
    margin: 0;
    color: #333;
    font-size: 1.25rem;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* =========================
     Pager (News Hub / Category 共通)
  ========================= */
  body.page-news .post-pager,
  body.category .post-pager{
    margin-top: 34px;
    display:flex;
    justify-content:center;
    gap: 10px;
  }

  body.page-news .post-pager .page-numbers,
  body.category .post-pager .page-numbers{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    color: var(--navy);
    background: #fff;
  }

  body.page-news .post-pager .page-numbers.current,
  body.category .post-pager .page-numbers.current{
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }
