/* Giardino digitale */

body {
  font-family: system-ui, -apple-system, sans-serif;
  max-width: 720px;
  margin: 40px auto;
  padding: 0 20px;
  line-height: 1.6;
  color: #243028;
  background: #f6f4ef;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
}

a { color: #1a5f3a; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2 { border-bottom: 1px solid #e4e0d6; padding-bottom: 10px; }
h1 a { color: inherit; }

header p { color: #5c675f; }

.garden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.note-card {
  position: relative;
  min-height: 260px;
  border: 1px solid #e4e0d6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(36, 48, 40, 0.06);
}

.note-card:hover {
  border-color: #b7d4c2;
}

.card-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #e0f2e9;
}

.card-content { padding: 15px; }

.card-content h3 {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
}

blockquote {
  margin: 1.5em 0;
  padding: 0.2em 0 0.2em 1em;
  border-left: 3px solid #1a5f3a;
  color: #3d4a42;
}

pre {
  overflow-x: auto;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e4e0d6;
  border-radius: 8px;
  line-height: 1.45;
}

code { font-size: 0.92em; }

.abc-score {
  display: block;
  margin: 1.2em 0 0.5em;
  background: #fff;
  border: 1px solid #e4e0d6;
  border-radius: 8px;
  line-height: 0;
}

.abc-audio {
  margin: 0.45em 0 1.6em;
  line-height: normal;
}

.abc-source-hidden { display: none; }

.abcjs-highlight { fill: #1a5f3a; }

footer {
  margin-top: 60px;
  text-align: center;
  color: #777;
  font-size: 0.9em;
}
