/* ROVE — blog page. Shared chrome in site.css; tokens in colors_and_type.css. */

.cat {
    font: var(--t-caps); letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--forest-700);
  }
  .cat.stock { color: var(--soil-600); }
  .cat.story { color: var(--forest-700); }
  .cat.water { color: var(--sky-500); }
  .cat.life  { color: #6b4f10; }

  /* Featured */
  .featured {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 0;
    background: #fff; border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--shadow-2), var(--shadow-inset);
    margin-bottom: 56px;
  }
  .featured .ph { position: relative; min-height: 420px; }
  .featured .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .featured .body { padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
  .featured .body h2 { font: var(--t-display-m); letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
  .featured .body p { color: var(--ink-2); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
  .featured .byline { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
  .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--soil-300); display: grid; place-items: center; color: var(--soil-600); font: 600 14px/1 var(--font-sans); flex: 0 0 auto; }
  .byline .n { font: var(--t-body-strong); font-size: 14px; }
  .byline .d { font: var(--t-meta); color: var(--ink-2); margin-top: 1px; }
  .read { color: var(--forest-700); font: var(--t-body-strong); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; text-decoration: none; }
  .read:hover { color: var(--forest-900); }

  /* Grid */
  .posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .post {
    display: flex; flex-direction: column; text-decoration: none;
    background: #fff; border-radius: var(--r-l); overflow: hidden;
    box-shadow: var(--shadow-1), var(--shadow-inset);
    transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
  }
  .post:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), var(--shadow-inset); }
  .post .ph { aspect-ratio: 3/2; overflow: hidden; }
  .post .ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--d-slow) var(--ease-out); }
  .post:hover .ph img { transform: scale(1.04); }
  .post .body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .post h3 { font: var(--t-h1); margin: 0; color: var(--ink-1); text-wrap: balance; }
  .post p { color: var(--ink-2); font-size: 14px; line-height: 1.5; }
  .post .foot { margin-top: auto; padding-top: 8px; font: var(--t-meta); color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
  .post .foot .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--stone-400); }

  /* Newsletter */
  .news { background: var(--forest-900); color: var(--cream-50); }
  .news .wrap { padding: 80px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .news h3 { font: var(--t-display-m); margin: 0 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
  .news p { color: rgba(250,245,237,0.78); font-size: 16px; max-width: 420px; }
  .news .form { display: flex; gap: 10px; flex-wrap: wrap; }
  .news input {
    flex: 1; min-width: 220px; border: 1px solid rgba(250,245,237,0.25); background: rgba(250,245,237,0.06);
    color: var(--cream-50); border-radius: var(--r-m); padding: 14px 16px; font: var(--t-body); font-size: 15px;
  }
  .news input::placeholder { color: rgba(250,245,237,0.5); }
  .news input:focus { outline: 2px solid var(--forest-500); outline-offset: 2px; border-color: transparent; }
  .news .btn-light { background: var(--cream-50); color: var(--forest-900); border: 0; border-radius: var(--r-m); padding: 14px 22px; font: var(--t-body-strong); font-size: 15px; cursor: pointer; white-space: nowrap; }
  .news .note { font: var(--t-meta); color: rgba(250,245,237,0.6); margin-top: 12px; }

  @media (max-width: 880px) {
    .featured { grid-template-columns: 1fr; }
    .featured .ph { min-height: 260px; }
    .featured .body { padding: 32px; }
    .posts { grid-template-columns: 1fr; }
    .news .wrap { grid-template-columns: 1fr; }
  }
