@import url('editorial-hero-surface.css');
/* Resource-library layout, using the site's existing fonts and brand palette. */
.blog-resources { background: #fff; }
.resources-hero {
  position: relative;
  padding: 172px 0 92px;
  overflow: hidden;
  isolation: isolate;
}
.resources-intro { position: relative; z-index: 2; max-width: 1200px; padding: 0 32px; margin: 0 auto; }
.resources-intro .eyebrow { margin-bottom: 36px; color: #064e04; animation: heroUp .7s ease both; }
.resources-intro h1 {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -1.6px;
  max-width: 880px;
  margin: 0;
  animation: heroUp .7s .08s ease both;
}
.resources-intro h1 span { color: inherit; }
.resources-intro > p {
  max-width: 740px;
  margin: 24px 0 0;
  color: #6e6e64;
  font-size: 18px;
  line-height: 1.68;
  animation: heroUp .7s .16s ease both;
}
.resources-library {
  padding: 48px 0 96px;
  background:
    linear-gradient(180deg,#fff 0%,transparent 24%,transparent 76%,#fff 100%),
    radial-gradient(ellipse at 12% 65%,#eaf4f4 0%,transparent 60%),
    radial-gradient(ellipse at 90% 68%,#eef4e9 0%,transparent 58%),
    #f8faf8;
}
.resources-container { max-width: 1200px; padding: 0 32px; margin: 0 auto; }
.resources-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.resources-heading h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: -.5px; }
.resources-heading > p { font-size: 13px; color: var(--graphite); }
.resource-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.resource-filters[hidden], .resource-card[hidden] { display: none; }
.resource-filters button {
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  padding: 10px 16px;
  border: 1px solid #dce1d5;
  border-radius: 8px;
  background: transparent;
  color: #59624e;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}
.resource-filters button:hover { background: #eaf0e0; border-color: #b7c7a0; }
.resource-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.resource-card { min-width: 0; }
.resource-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #e0e5d9;
  background: #fff;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.resource-image { aspect-ratio: 16 / 10; overflow: hidden; background: #e6ebdf; }
.resource-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.3,1); }
.resource-copy { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.resource-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; margin-bottom: 16px; font-size: 11px; line-height: 1.5; }
.resource-meta > span { color: var(--green); font-weight: 500; }
.resource-meta time { color: var(--graphite); }
.resource-copy h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.35px; margin: 0; }
.resource-copy > p { font-size: 14px; line-height: 1.7; margin: 14px 0 26px; color: var(--graphite); }
.resource-read { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-top: 18px; margin-top: auto; border-top: 1px solid #edf0e7; font-size: 13px; font-weight: 500; color: var(--green); }
.resource-read > span { font-size: 20px; line-height: 1; transition: transform .25s ease; }
.resource-link:hover { border-color: #b4c99d; box-shadow: 0 8px 24px rgba(37,63,18,.07); }
.resource-link:hover .resource-image img { transform: scale(1.035); }
.resource-link:hover .resource-read > span { transform: translate(2px,-2px); }
.resource-link:focus-visible, .resource-filters button:focus-visible { outline: 3px solid #739448; outline-offset: 4px; }
.resource-status { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 960px) {
  .resources-hero { padding: 150px 0 72px; }
  .resources-intro h1 { font-size: 34px; letter-spacing: -1px; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resources-break { display: none; }
}
@media (max-width: 640px) {
  .resources-intro { padding: 0 22px; }
  .resources-intro h1 { font-size: 28px; letter-spacing: -.6px; }
  .resources-intro > p { font-size: 16px; }
  .resources-container { padding: 0 22px; }
  .resources-library { padding: 32px 0 64px; }
  .resources-heading { display: block; margin-bottom: 18px; }
  .resources-heading > p { margin-top: 8px; }
  .resource-grid { grid-template-columns: minmax(0, 1fr); }
  .resource-copy { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .resources-intro .eyebrow, .resources-intro h1, .resources-intro > p { animation: none; }
  .resource-link, .resource-image img, .resource-read > span, .resource-filters button { transition: none; }
  .resource-link:hover .resource-image img, .resource-link:hover .resource-read > span { transform: none; }
}
