body, h1, h2, h3, h4, h5, h6, p, a, li {
  font-family: "Raleway", sans-serif;
}

body {
  background: linear-gradient(180deg, #f9f6f3 0%, #f3f8fa 100%);
  color: #1f2c35;
}

.resource-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: calc(var(--site-header-offset, 140px) + 1.5rem) 1rem 4rem;
}

.resource-intro,
.resource-section {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(51, 91, 118, 0.12);
  box-shadow: 0 18px 50px rgba(45, 92, 128, 0.06);
  border-radius: 24px;
  padding: 2rem 2rem 1.75rem;
  margin-bottom: 1.5rem;
}

.resource-intro h1 {
  margin: 0 0 0.8rem;
  color: #7b652e;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.resource-intro p,
.resource-section p,
.resource-section li,
.book-item p,
.resource-item p {
  color: #425866;
  line-height: 1.8;
  font-size: 1rem;
}

.resource-section h2 {
  margin: 0 0 1rem;
  color: #1f2c35;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
}

.resource-section h3 {
  color: #1f2c35;
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.resource-section h4 {
  margin: 0 0 0.35rem;
  color: #1f2c35;
  font-size: 1.2rem;
}

.resource-block,
.resource-item,
.book-item {
  padding: 1.2rem 0 0.5rem;
  border-top: 1px solid rgba(51, 91, 118, 0.12);
  margin-top: 1rem;
}

.resource-block:first-of-type,
.resource-item:first-of-type,
.book-item:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.resource-links {
  margin-top: 0.6rem;
}

.resource-item a,
.book-item a,
.resource-links a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #2f7599;
  font-weight: 700;
  text-decoration: underline;
}

.resource-item a:hover,
.book-item a:hover,
.resource-links a:hover {
  color: #1e5979;
}

.author {
  font-weight: 700;
  color: #1f2c35;
  margin-bottom: 0.5rem;
}

.affiliate-note {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(51, 91, 118, 0.12);
  font-size: 0.95rem;
}

.note-block {
  background: linear-gradient(180deg, rgba(122, 101, 46, 0.04), rgba(50, 111, 147, 0.03));
}

@media (max-width: 640px) {
  .resource-page {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .resource-intro,
  .resource-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
