.tek-resource-section {
  display: grid;
  gap: .8rem;
  margin-top: clamp(2.5rem, 7vw, 4.5rem);
  scroll-margin-top: 1.25rem;
}

.tek-resource-section h2 { margin-bottom: .25rem; }

.tek-resource-book {
  padding: clamp(.85rem, 2vw, 1.35rem);
  border: 1px solid #d8c8e7;
  border-radius: .95rem 1.25rem .72rem .72rem;
  background: #f2eaf9;
}

.tek-resource-book h3 { font-size: clamp(1.08rem, 2vw, 1.35rem); }

.tek-resource-book summary {
  min-height: 1.85rem;
  font-size: clamp(1rem, 1.7vw, 1.13rem);
  font-weight: 760;
  cursor: pointer;
}

.tek-resource-book summary::marker { color: #674295; }
.tek-resource-book summary:hover { color: #5d307f; }

.tek-resource-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .55rem;
  margin: .85rem 0 0;
  padding: 0;
  list-style: none;
}

.tek-resource-list a {
  display: flex;
  height: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  padding: .52rem .74rem;
  border: 1px solid #d9c9e6;
  border-radius: .55rem .8rem .4rem .55rem;
  color: #29204f;
  background: #fffaf7;
  font-weight: 700;
  text-decoration: none;
}

.tek-resource-list a:hover { border-color: #9b75be; text-decoration: underline; }
.tek-resource-list a span { flex: none; color: #674295; }
