:root {
    --bg: #656f87;
    --card-bg: #ffffff;
    --text-main: #111;
    --text-muted: #666;
    --radius: 14px;
    --shadow-soft: 0 6px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 10px 30px rgba(0,0,0,0.12);
  }
  
  * {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 32px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text-main);
  }
  
  h1 {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }
  
  /* Grid layout */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
  
  /* Card */
  .card {
    display: block;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-soft);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  
  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
  }
  
  /* Thumbnail */
  .card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #ddd;
  }
  
  /* Title */
  .card .title {
    padding: 14px 16px 18px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
  }
  
  /* Optional: subtle subtitle style later */
  .card .meta {
    padding: 0 16px 16px;
    font-size: 13px;
    color: var(--text-muted);
  }
  