/* Workvolve blog index. Builds on article.css (tokens, nav, cards, CTA band, footer). */

.wvi-hero { padding: 152px 0 72px; }
.wvi-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.wvi-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7vw, 92px); line-height: 0.98; letter-spacing: -0.032em; color: var(--fg); margin-bottom: 26px; text-wrap: balance; }
.wvi-lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 460px; }

/* Three overlapping covers */
.wvi-mosaic { position: relative; aspect-ratio: 1 / 0.82; }
.wvi-tile { position: absolute; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(29, 29, 31, 0.5); }
.wvi-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wvi-tile-1 { left: 0; top: 6%; width: 58%; aspect-ratio: 4 / 5; transform: rotate(-4deg); }
.wvi-tile-2 { right: 0; top: 0; width: 52%; aspect-ratio: 1; transform: rotate(3deg); }
.wvi-tile-3 { left: 30%; bottom: 0; width: 50%; aspect-ratio: 16 / 11; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .wvi-tile { transition: transform 0.9s var(--ease); }
  .wvi-mosaic:hover .wvi-tile-1 { transform: rotate(-6deg) translate(-6px, -4px); }
  .wvi-mosaic:hover .wvi-tile-2 { transform: rotate(5deg) translate(6px, -4px); }
}

/* Featured guide */
.wvi-featured { padding: 24px 0 96px; }
.wvi-feature { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; color: var(--fg); text-decoration: none; }
.wvi-feature-art { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.wvi-feature-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.wvi-feature:hover .wvi-feature-art img { transform: scale(1.03); }
.wvi-feature-headline { position: relative; z-index: 1; max-width: 80%; background: var(--bg); color: var(--fg); border-radius: 18px; padding: 16px 20px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.01em; box-shadow: 0 16px 36px -22px rgba(29, 29, 31, 0.5); }
.wvi-feature-label { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg); background: var(--fg); border-radius: 999px; padding: 5px 12px; margin-bottom: 22px; }
.wvi-feature-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.04; letter-spacing: -0.022em; margin-bottom: 18px; text-wrap: balance; transition: color 0.2s; }
.wvi-feature:hover .wvi-feature-body h2 { color: var(--gold-deep); }
.wvi-feature-body p { font-size: 17px; line-height: 1.65; color: var(--ink-2); margin-bottom: 22px; }

/* Sections */
.section-heading { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -0.02em; color: var(--fg); }
.wvi-series { padding: 72px 0 96px; background: var(--cream); }
.wvi-series .section-heading { margin-bottom: 36px; }
.wvi-series .post-card-image { background: var(--bg); }
.wvi-series .post-card-meta { color: var(--ink-2); }
.wvi-articles { padding: 104px 0 128px; }
.wvi-articles-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }

/* Filters */
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-family: inherit; font-size: 13.5px; font-weight: 500; line-height: 1; padding: 11px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.pill:hover { border-color: var(--gold); color: var(--fg); }
.pill.active { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.pill .pill-count { margin-left: 6px; font-size: 12px; color: var(--fg-secondary); }
.pill.active .pill-count { color: rgba(253, 252, 248, 0.75); }

/* Card grid (cards themselves are styled in article.css) */
.wvi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.post-card-excerpt { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.post-card.hidden, .post-card.is-more { display: none; }
.wvi-more { display: flex; justify-content: center; margin-top: 64px; }
.wvi-more-btn { font-family: inherit; font-size: 15px; font-weight: 500; padding: 15px 28px; border-radius: 999px; border: 1px solid var(--fg); background: transparent; color: var(--fg); cursor: pointer; transition: background 0.2s, color 0.2s; }
.wvi-more-btn:hover { background: var(--fg); color: var(--bg); }
.wvi-more-btn[hidden] { display: none; }

@media (max-width: 960px) {
  .wvi-hero-grid, .wvi-feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .wvi-mosaic { max-width: 520px; width: 100%; margin: 0 auto; }
  .wvi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 22px; }
}
@media (max-width: 640px) {
  .wvi-hero { padding: 116px 0 48px; }
  .wvi-lede { font-size: 17px; }
  .wvi-featured { padding-bottom: 72px; }
  .wvi-feature-art { border-radius: 20px; padding: 14px; }
  .wvi-feature-headline { max-width: 92%; padding: 12px 14px; }
  .wvi-series { padding: 56px 0 72px; }
  .wvi-articles { padding: 72px 0 96px; }
  .wvi-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .filter-pills { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .filter-pills::-webkit-scrollbar { display: none; }
  .pill { flex: none; }
}
