/* Blog der deutschen Seite.
 *
 * Der Blog existiert auf aromainsel.com nicht, deshalb liegt sein Aussehen
 * hier und nicht im geteilten styles.css. _sync.py fasst diese Datei nicht an.
 * Die Kartenform folgt bewusst der Produktkarte des deutschen Shops, damit
 * beide Seiten dieselbe Sprache sprechen.
 */

.post-grid {
  display: grid; gap: clamp(1rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.post-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card__media { background: var(--paper-2); }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.post-card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.post-card__datum {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf); font-weight: 600;
}
.post-card h3 { font-size: 1.06rem; line-height: 1.25; }
.post-card__auszug { font-size: .9rem; color: var(--ink-soft); }

/* Archiv: alles Ältere als kompakte Liste, nach Jahr gruppiert */
.arkisto { margin-top: 1rem; }
.arkisto h3 {
  font-size: 1.5rem; margin: 2.2rem 0 .6rem;
  padding-bottom: .4rem; border-bottom: 1px solid var(--line);
}
.arkisto ul { list-style: none; padding: 0; }
.arkisto li { display: flex; gap: 1rem; align-items: baseline; padding: .42rem 0; border-bottom: 1px solid var(--line); }
.arkisto li:last-child { border-bottom: 0; }
.arkisto time { flex: 0 0 5.6rem; font-size: .8rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.arkisto a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.arkisto a:hover { color: var(--leaf); border-bottom-color: currentColor; }

/* Beitragsseite */
.post-head__meta { font-size: .84rem; color: var(--ink-mute); margin-top: .6rem; }
.post-body { max-width: 42rem; margin-inline: auto; }
.post-body img { width: 100%; height: auto; border-radius: var(--radius); margin: 1.6rem 0; }
.post-body iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); margin: 1.6rem 0; }
.post-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 2rem 0 .6rem; }
.post-body h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.post-nav {
  display: grid; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a { text-decoration: none; color: inherit; font-size: .92rem; }
.post-nav a span { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .25rem; }
.post-nav a:hover strong { color: var(--leaf); }
.post-nav__next { text-align: right; }


/* Beitraege ohne gerettetes Bild bekommen keinen leeren Rahmen */
.post-card--ohne-bild .post-card__body { padding-top: 1.4rem; }
