:root{
  --mayr:#608990;
  --mayr-bg:#f5f7f8;
  --mayr-border:rgba(0,0,0,.08);
  --mayr-shadow:0 10px 30px rgba(0,0,0,.06);
}

.mayr-blog-wrap{max-width:1180px;margin:28px auto;padding:0 18px;}
@media (max-width:640px){.mayr-blog-wrap{padding:0 12px;}}

.mayr-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
@media (max-width:980px){.mayr-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.mayr-blog-grid{grid-template-columns:1fr;}}

.mayr-post-card{
  background:#fff;border:1px solid var(--mayr-border);
  border-radius:16px;overflow:hidden;box-shadow:var(--mayr-shadow);
  display:flex;flex-direction:column;min-height:100%;
}

/* Bildbereich: Größe bleibt gleich (16:9), ABER Bild wird vollständig gezeigt (kein Abschneiden) */
.mayr-post-thumb{
  display:block;
  aspect-ratio:16/9;
  width:100%;
  background:#eef3f5;
  overflow:hidden;
}
.mayr-post-thumb img{
  width:100%;
  height:100%;
  object-fit:contain;          /* WICHTIG: komplettes Bild sichtbar */
  object-position:center;
  display:block;
}

.mayr-post-body{padding:14px 14px 12px 14px;display:flex;flex-direction:column;gap:8px;flex:1;}
.mayr-post-meta{font-size:12px;opacity:.75;line-height:1.2;}

/* Theme-Styles überschreiben (keine riesigen blauen Titel) */
.mayr-post-h3{margin:0 !important;font-size:16px !important;font-weight:900 !important;line-height:1.2 !important;text-transform:none !important;}
.mayr-post-h3 a{color:#111 !important;text-decoration:none !important;font-size:16px !important;line-height:1.2 !important;}
.mayr-post-h3 a:hover{text-decoration:underline !important;}

.mayr-post-excerpt{margin:0 !important;font-size:14px !important;line-height:1.45 !important;opacity:.92;}

.mayr-post-actions{padding:0 14px 14px 14px;display:flex;justify-content:flex-start;}
.mayr-post-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 12px;border-radius:12px;text-decoration:none;
  font-weight:800;font-size:14px;color:#111 !important;
  background:rgba(96,137,144,.15);border:1px solid rgba(96,137,144,.25);
  transition:all .2s ease;
}
.mayr-post-btn:hover{background:rgba(96,137,144,.22);transform:translateY(-1px);}

.mayr-blog-pager{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;}
.mayr-page{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:42px;height:42px;padding:0 12px;border-radius:12px;
  text-decoration:none;font-weight:900;font-size:14px;
  color:#111 !important;background:#fff;border:1px solid var(--mayr-border);
  box-shadow:0 8px 22px rgba(0,0,0,.04);transition:all .15s ease;
}
.mayr-page:hover{transform:translateY(-1px);border-color:rgba(96,137,144,.35);}
.mayr-page.is-current{background:rgba(96,137,144,.18);border-color:rgba(96,137,144,.35);}
.mayr-page.dots{pointer-events:none;opacity:.65;}
