/* =========================
   RESOURCES PAGE STYLES
   ========================= */

.resources-section {
  padding: 90px 0 110px;
  background-color: #f7f9fb;
}

.resources-section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.resources-section h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #0b1f33;
}

.resources-section .lead {
  font-size: 1.05rem;
  color: var(--cool-slate);
  margin-bottom: 40px;
}

/* Resource list */
.resources-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.resource-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.resource-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

.resource-meta {
  flex-shrink: 0;
  width: 90px;
}

.resource-type {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clinical-blue);
  background: #eaf2fb;
  border-radius: 6px;
  padding: 4px 10px;
}

.resource-body {
  flex: 1;
}

.resource-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1f33;
  margin-bottom: 8px;
}

.resource-title:hover {
  color: var(--clinical-blue);
}

.resource-desc {
  font-size: 0.95rem;
  color: #5f6f7f;
  line-height: 1.6;
  margin-bottom: 10px;
}

.resource-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clinical-blue);
}

.resource-link:hover {
  text-decoration: underline;
}

/* CTA */
.resources-cta {
  margin-top: 48px;
  text-align: center;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
  .resources-section {
    padding: 70px 0 90px;
  }

  .resources-section h1 {
    font-size: 2.1rem;
  }

  .resource-item {
    flex-direction: column;
  }

  .resource-meta {
    width: auto;
  }
}
