/* Tutorial page layout */

.tutorial-page {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Header */

.tutorial-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tutorial-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.tutorial-subtitle {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 40rem;
  margin: 0 auto;
}

/* Sections */

.tutorial-section {
  margin-bottom: 3rem;
}

.tutorial-section h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

/* Resource blocks (cards around each image + button) */

.resource-block {
  background-color: #122536;
  border-radius: 0.9rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto 1.75rem auto;
}

.resource-figure {
  margin: 0;
  width: 100%;
  text-align: center;
}

.resource-figure img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  background: #fff; /* keep sheet music on white */
}

/* Download button area */

.resource-actions {
  display: flex;
  justify-content: center;
}

.resource-actions .hero-button {
  display: inline-block;
  text-align: center;
  line-height: 1.4;
  font-size: 1rem;
  padding: 0.75rem 1.6rem;
}

/* Small screens */

@media (max-width: 767px) {
  .tutorial-page {
    padding: 2rem 1.25rem;
  }
}
