/* =========================
     Photolog Article
  ========================= */
  
  .post-date {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
  }
  
  .race {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  
  .race-title {
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2f2f2f;
    margin-bottom: 0.5rem;
  }
  
  .race-meta {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #365c95;
  }

  @media (max-width: 768px) {
    .race-meta {
      display: flex;
      flex-direction: column;   /* ← 縦に積む */
      align-items: flex-start;
      gap: 0.15rem;             /* ← 行間は極小 */
      margin-bottom: 1rem;
    }
  
    .race-meta .sep {
      display: none;            /* ← × を消す */
    }
  
    .race-meta .horse {
      font-size: 1.35rem;
      font-weight: 600;
      color: #365c95;
      white-space: nowrap;      /* ← 折り返さない */
    }
  
    .race-meta .jockey {
      font-size: 1.2rem;
      font-weight: 500;
      color: #365c95;
      line-height: 1.2;
      white-space: nowrap;      /* ← 折り返さない */
    }
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }

  .grid img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    }

    /* ホバー時に少し拡大＆シャドウ */
    .grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    filter: brightness(1.05);
}
/* =========================
   Photolog index (一覧)
========================= */

.photolog-index .post-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* ← 少し大きく */
    gap: 2.2rem 1.5rem;
    padding: 1.5rem;
  }
  
  .photolog-index .post-card {
    position: relative;
    max-width: none;        
    margin: 0;
  }
  
  .photolog-index .thumb {
    aspect-ratio: 3 / 2;      /* ← 写真をしっかり見せる */
    width: 100%;
  }
  
  .photolog-index .meta {
    padding: 0.6rem 0.7rem 0.8rem;
  }
  
  .photolog-index .meta .title {
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .photolog-index .meta .date {
    font-size: 0.75rem;
    color: #888;
  }

  @media (max-width: 768px) {
    .photolog-index .post-list {
      grid-template-columns: repeat(2, 1fr); /* ← 横2枚 */
      gap: 1.2rem 0.8rem;                    /* ← スマホ用に詰める */
      padding: 1rem;
    }
  
    .photolog-index .meta {
      padding: 0.5rem 0.5rem 0.6rem;
    }
  
    .photolog-index .meta .title {
      font-size: 0.8rem;
    }
  
    .photolog-index .meta .date {
      font-size: 0.7rem;
    }
  }