/* stories.css — page-specific styles. Shared foundation lives in base.css,
   which must be loaded BEFORE this file. */

/* ---------- page header ---------- */
  .page-header {
    padding: 160px 0 80px;
    text-align: center;
  }
  .page-header .kicker {
    font-family: 'Nunito', sans-serif; font-size: 14px; color: var(--blue);
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
  }
  .page-header h1 {
    font-family: 'Nunito', sans-serif; font-weight: 800;
    font-size: clamp(32px, 4.5vw, 52px); line-height: 1.15;
    max-width: 700px; margin: 0 auto;
  }
  .page-header p {
    color: var(--ink-soft); font-size: 17px; margin-top: 16px;
    max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7;
  }

  /* ---------- stories grid ---------- */
  .stories-section { padding: 0 0 120px; }

  .stories-list {
    display: flex; flex-direction: column; gap: 0;
    max-width: 860px; margin: 0 auto;
  }

  .story-card {
    display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; align-items: center;
    padding: 40px 0; border-bottom: 1px solid var(--rule);
    text-decoration: none; cursor: pointer;
    transition: background 0.3s;
  }
  .story-card:first-child { border-top: 1px solid var(--rule); }

  .story-card:hover { background: rgba(0, 98, 65, 0.03); }

  .story-num {
    font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 32px;
    color: var(--blue); opacity: 0.4; line-height: 1;
  }

  .story-info h2 {
    font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 20px;
    line-height: 1.35; margin-bottom: 8px;
    transition: color 0.2s;
  }
  .story-card:hover .story-info h2 { color: var(--blue); }

  .story-meta {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  }
  .story-tag {
    font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--blue); font-weight: 600;
    background: rgba(0, 98, 65, 0.08); padding: 4px 10px; border-radius: 6px;
  }
  .story-status {
    display: flex; align-items: center; gap: 6px;
    font-size: 13px; color: var(--ink-soft); font-weight: 500;
  }
  .story-status .pulse {
    width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
    animation: pulseGlow 2s ease-in-out infinite;
  }

  .story-arrow {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(0, 98, 65, 0.06);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }
  .story-arrow svg { width: 18px; height: 18px; color: var(--blue); }
  .story-card:hover .story-arrow {
    background: var(--blue); transform: translateX(4px);
  }
  .story-card:hover .story-arrow svg { color: #fff; }

  @media (max-width: 640px) {
    .story-card { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
    .story-num { font-size: 24px; }
    .story-info h2 { font-size: 18px; }
    .story-arrow { display: none; }
  }

  @keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
  }

  /* ---------- footer ---------- */
  .foot-section {
    padding: 60px 0;
    text-align: center;
  }
  .foot-section p {
    color: var(--ink-soft); font-size: 14px;
  }
  .foot-section a {
    color: var(--blue); text-decoration: none; font-weight: 600;
  }
  .foot-section a:hover { text-decoration: underline; }
