/* FWHBC Projects archive — Blocksy child theme */
.fwh-projects {
  --fwh-forest: #1e4c3b;
  --fwh-forest-dark: #10392e;
  --fwh-ink: #242726;
  --fwh-muted: #555f5a;
  --fwh-cream: #f8f7f3;
  --fwh-line: #e1e5de;
  font-family: Manrope, sans-serif;
  color: var(--fwh-ink);
  background: var(--fwh-cream);
}
.fwh-projects *, .fwh-projects *::before, .fwh-projects *::after { box-sizing: border-box; }
.fwh-projects__hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(370px, 34vw, 520px);
  background-color: var(--fwh-forest-dark);
  background-image: linear-gradient(90deg, rgba(8,45,34,.95) 0%, rgba(8,45,34,.76) 33%, rgba(8,45,34,.24) 68%, rgba(8,45,34,.08) 100%), var(--fwh-projects-hero);
  background-position: center;
  background-size: cover;
  color: #fff;
}
.fwh-projects__hero-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 76px 0;
}
.fwh-projects__eyebrow {
  margin: 0 0 20px;
  color: #e2eee7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.fwh-projects__hero h1 {
  max-width: 730px;
  margin: 0;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.fwh-projects__hero-lead {
  max-width: 590px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.94);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
}
.fwh-projects__listing { padding: 72px 0 100px; }
.fwh-projects__container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.fwh-project {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(32px, 5vw, 84px);
  padding: 0 0 64px;
  margin: 0 0 64px;
  border-bottom: 1px solid var(--fwh-line);
}
.fwh-project:last-of-type { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.fwh-project:nth-of-type(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.fwh-project:nth-of-type(even) .fwh-project__media { order: -1; }
.fwh-project__copy { min-width: 0; }
.fwh-project__number {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid #bfd3c6;
  border-radius: 999px;
  background: #e4eee6;
  color: var(--fwh-forest-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fwh-project__title {
  max-width: 540px;
  margin: 20px 0 16px;
  font-size: clamp(27px, 2.6vw, 40px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: -.035em;
}
.fwh-project__title a { color: var(--fwh-ink); text-decoration: none; }
.fwh-project__title a:hover { color: var(--fwh-forest); }
.fwh-project__excerpt {
  max-width: 500px;
  margin: 0 0 26px;
  color: var(--fwh-muted);
  font-size: 16px;
  line-height: 1.8;
}
.fwh-project__link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 0;
  color: var(--fwh-forest-dark);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}
.fwh-project:first-of-type .fwh-project__link {
  padding: 15px 24px;
  border-radius: 999px;
  background: var(--fwh-forest);
  color: #fff;
}
.fwh-project__link span { font-size: 23px; font-weight: 400; transition: transform .25s ease; }
.fwh-project__link:hover span { transform: translateX(5px); }
.fwh-project__link:hover { color: #27694d; }
.fwh-project:first-of-type .fwh-project__link:hover { background: #12382b; color: #fff; }
.fwh-project__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.55;
  border-radius: 10px;
  background: #dbe6dd;
  box-shadow: 0 12px 30px rgba(17,52,40,.06);
}
.fwh-project__image { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fwh-project__media:hover .fwh-project__image { transform: scale(1.035); }
.fwh-project__image-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg,#9db9a8,#244c3d); }
.fwh-projects__pagination { margin-top: 60px; }
.fwh-projects__pagination ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fwh-projects__pagination a, .fwh-projects__pagination span { display: inline-block; padding: 10px 15px; border: 1px solid var(--fwh-line); border-radius: 7px; text-decoration: none; }
.fwh-projects__pagination .current { background: var(--fwh-forest); color: #fff; }
.fwh-projects__empty { padding: 60px 0; text-align: center; }
.fwh-projects__empty h2 { margin-bottom: 12px; }
.fwh-projects a:focus-visible { outline: 3px solid #73b99a; outline-offset: 4px; }
@media (max-width: 767px) {
  .fwh-projects__hero-inner, .fwh-projects__container { width: min(100% - 36px, 1200px); }
  .fwh-projects__hero { min-height: 390px; background-position: 58% center; }
  .fwh-projects__hero-inner { padding: 64px 0; }
  .fwh-projects__listing { padding: 46px 0 70px; }
  .fwh-project, .fwh-project:nth-of-type(even) { grid-template-columns: minmax(0,1fr); gap: 22px; padding-bottom: 42px; margin-bottom: 42px; }
  .fwh-project__media, .fwh-project:nth-of-type(even) .fwh-project__media { order: -1; }
  .fwh-project__media { aspect-ratio: 1.5; }
  .fwh-project__title { margin-top: 16px; }
  .fwh-project__excerpt { font-size: 15px; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  .fwh-project__image, .fwh-project__link span { transition: none; }
  .fwh-project__media:hover .fwh-project__image, .fwh-project__link:hover span { transform: none; }
}
