.resources-page {
  margin: 0;
  color: var(--text, #1c1815);
  background:
    radial-gradient(1000px 460px at 90% -10%, rgba(224, 69, 59, 0.07), transparent 62%),
    var(--bg, #f6f1e9);
  font-family: var(--font-body, "Outfit", "Inter", sans-serif);
}

.resource-shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.resource-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(251, 247, 240, 0.9);
  border-bottom: 1px solid var(--line, rgba(28, 24, 21, 0.1));
  backdrop-filter: blur(18px);
}

.resource-brand,
.resource-header nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.resource-brand {
  gap: 11px;
  color: inherit;
  text-decoration: none;
}

.resource-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.resource-brand strong {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.04rem;
}

.resource-header nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.resource-header nav a:not(.button) {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.resource-header nav a:not(.button):hover {
  color: var(--red-deep, #c63a31);
  border-color: currentColor;
}

.resource-header nav .button {
  color: #fff9f3;
}

.resource-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0 clamp(66px, 8vw, 104px);
  color: var(--text, #1c1815);
  background:
    radial-gradient(circle at 72% 46%, rgba(245, 235, 117, 0.24), transparent 32%),
    #fbf7f0;
  border-bottom: 1px solid rgba(28, 24, 21, 0.12);
}

.resource-hero::before,
.resource-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(28, 24, 21, 0.56);
  border-radius: 50%;
  pointer-events: none;
}

.resource-hero::before {
  width: 420px;
  height: 420px;
  top: -230px;
  right: 4vw;
  border-color: var(--red, #e0453b);
}

.resource-hero::after {
  width: 220px;
  height: 220px;
  top: 18px;
  right: 16vw;
}

.resource-hero .resource-shell {
  position: relative;
  z-index: 1;
}

.resource-hero h1,
.resource-article-head h1 {
  max-width: 940px;
  margin: 12px 0 22px;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(52px, 8vw, 106px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.resource-hero h1 {
  color: var(--text, #1c1815);
}

.resource-article-head h1 {
  font-size: clamp(44px, 6.5vw, 84px);
}

.resource-kicker {
  margin: 0;
  color: var(--red, #e0453b);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource-hero > div > p:last-child,
.resource-lead {
  max-width: 790px;
  margin-bottom: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.55;
}

.resource-hero > div > p:last-child {
  color: var(--muted, #6b6156);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 68px 104px;
}

.resource-card {
  overflow: hidden;
  background: rgba(255, 253, 249, 0.74);
  border: 1px solid rgba(28, 24, 21, 0.32);
  border-radius: 5px;
  box-shadow: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.resource-card:hover {
  transform: translateY(-3px);
  border-color: var(--red, #e0453b);
  box-shadow: none;
}

.resource-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.resource-card img,
.resource-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.resource-placeholder {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(224, 69, 59, 0.72), transparent 42%),
    linear-gradient(135deg, #16120f, #31211d);
}

.resource-placeholder::after {
  content: "POV";
  position: absolute;
  right: 22px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.resource-card div > div {
  padding: 25px;
}

.resource-card h2 {
  margin: 10px 0 12px;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 1.55rem;
  line-height: 1.12;
}

.resource-card p:not(.resource-kicker) {
  color: var(--muted, #6b6156);
  line-height: 1.62;
}

.resource-card small,
.resource-meta {
  color: var(--muted, #6b6156);
}

.resource-article-head {
  padding-top: clamp(56px, 8vw, 92px);
}

.resource-article-head nav {
  margin-bottom: 48px;
  color: var(--muted, #6b6156);
  font-size: 0.9rem;
}

.resource-article-head nav a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.resource-cover {
  margin-top: 54px;
}

.resource-cover img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: var(--radius, 13px);
  box-shadow: var(--shadow, 0 30px 60px -36px rgba(28, 24, 21, 0.42));
}

.resource-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
  padding-block: 64px 110px;
}

.resource-content {
  font-size: 1.08rem;
  line-height: 1.78;
}

.resource-content h2 {
  margin: 2.2em 0 0.7em;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.03;
}

.resource-content a {
  color: var(--red-deep, #c63a31);
  text-underline-offset: 0.18em;
}

.resource-layout aside {
  position: sticky;
  top: 96px;
  padding: 30px;
  color: #fdf7ee;
  background:
    radial-gradient(circle at 100% 0, rgba(224, 69, 59, 0.46), transparent 45%),
    #16120f;
  border-radius: var(--radius, 13px);
  box-shadow: var(--shadow, 0 30px 60px -36px rgba(28, 24, 21, 0.42));
}

.resource-layout aside h2 {
  margin: 12px 0 24px;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: 2rem;
  line-height: 1.05;
}

.resource-layout aside .button {
  color: #fff;
  background: var(--red, #e0453b);
  text-decoration: none;
}

.resource-layout aside .button:hover {
  background: var(--red-deep, #c63a31);
}

.resource-empty {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 78px);
  text-align: center;
  background: transparent;
  border: 1px solid rgba(28, 24, 21, 0.48);
  border-radius: 5px;
  box-shadow: none;
}

.resource-empty::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--red, #e0453b);
}

.resource-empty h2 {
  margin: 0 0 12px;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.resource-empty p {
  margin: 0;
  color: var(--muted, #6b6156);
}

.resource-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  color: rgba(253, 247, 238, 0.72);
  background: #16120f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-footer strong {
  color: #fffdf9;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
}

@media (max-width: 850px) {
  .resource-header nav a:not(.button) {
    display: none;
  }

  .resource-shell {
    width: min(100% - 32px, 1120px);
  }

  .resource-grid,
  .resource-layout {
    grid-template-columns: 1fr;
  }

  .resource-layout aside {
    position: static;
  }

  .resource-footer {
    flex-direction: column;
  }
}
