body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   RESOURCES PAGE
============================================ */
.page-section {
  flex: 1;
  padding: 5rem 0;
}

.page-section h1 {
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.page-intro {
  color: var(--muted);
  margin-bottom: 3rem;
}

.resources {
  list-style: none;
  border-top: 1px solid var(--sand);
}

.resource-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sand);
}

.resource-info { flex: 1; min-width: 0; }

.resource-name {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 0.2rem;
}

.resource-desc {
  font-size: 0.875rem;
  color: var(--muted);
}

.resource-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  background: var(--bark);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border-radius: 4px;
  transition: background 0.15s;
}

.resource-link:hover {
  background: var(--soil);
  color: #fff;
}

.resource-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.resource-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copy-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: 1.5px solid var(--sand);
  border-radius: 4px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

.copy-link-btn:hover {
  color: var(--bark);
  border-color: var(--clay);
}

.copy-link-btn.copied {
  color: #2d5a2d;
  border-color: #b8d8b8;
}

.copy-link-btn svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 640px) {
  .resource-item { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .resource-actions { width: 100%; }
}

@media (max-width: 520px) {
  .page-section { padding: 3.5rem 0; }
}
