/* ============================================
   Für Blogger, Coaches und Presse (templates/resources.html).
   Eigene Datei, damit parallele Branches style.css nicht an denselben
   Stellen ändern. Baut auf tool-panel, tool-card-icon, topic-chips auf.
   ============================================ */

.resources-section {
  scroll-margin-top: 80px;
}
.resources-tools {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.resources-tool {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.5rem;
  scroll-margin-top: 80px;
}
.resources-tool-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.resources-tool-head .tool-card-icon {
  flex: 0 0 44px;
}
.resources-tool h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.4rem 0 0.35rem;
  color: var(--color-ink);
}
.resources-tool p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.resources-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.resources-tool-links a {
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: none;
}
.resources-details {
  margin-top: 0.5rem;
}
.resources-details summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-deep);
  padding: 0.35rem 0;
}
/* Das Panel steht in einer weißen Karte: zarter Sand statt Weiß auf Weiß. */
.resources-details .tool-panel {
  background: var(--color-surface);
  margin: 0.75rem 0 0;
}
.resources-code {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text);
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-top: 0.4rem;
  word-break: break-all;
}
.resources-figure {
  margin: 1.5rem 0 1rem;
}
.resources-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.resources-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}
.resources-facts > div {
  background: var(--color-card);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}
.resources-facts dt {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.resources-facts dd {
  margin: 0.2rem 0 0;
  color: var(--color-ink);
}
