@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
 
* {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
body {
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  background-color: #f8f8f8;
  line-height: 1.7;
}
 
/* ── NAVBAR (1:1 wie positions.html) ── */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid #009f4e;
  backdrop-filter: blur(5px);
}
 
.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
}
 
.navbar a:hover,
.navbar a.active {
  color: #009f4e;
}
 
.nav-links,
.nav-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
 
/* ── PAGE HEADER ── */
.pub-header {
  text-align: center;
  padding: 4rem 5% 3rem;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
 
.pub-header h1 {
  font-size: clamp(2.1rem, 5.5vw, 2.9rem);
  font-weight: 900;
  color: #1a1a1a;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}
 
.pub-header h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #009f4e;
  border-radius: 2px;
}
 
.pub-header p {
  margin-top: 1.5rem;
  color: #777;
  font-size: 1rem;
  font-weight: 300;
}
 
/* ── CONTAINER ── */
.pub-container {
  padding: 3rem 5% 5rem;
}
 
.pub-count {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
}
 
/* ── GRID: mehrere Posts nebeneinander, zentriert ── */
.pub-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
 
/* ── CARD ── */
.pub-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
 
.pub-card:hover {
  border-color: #009f4e;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 159, 78, 0.12);
}
 
.pub-card::before {
  content: "";
  display: block;
  height: 5px;
  background: #009f4e;
}
 
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid #f0f0f0;
  gap: 0.5rem;
}
 
.card-topic {
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}
 
.card-date {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: #009f4e;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}
 
.card-date .material-icons {
  font-size: 0.95rem !important;
  vertical-align: middle;
}
 
/* Instagram embed – zentriert in der Card */
.card-embed {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.card-embed blockquote.instagram-media {
  margin: 0 auto !important;
  min-width: unset !important;
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.card-embed iframe.instagram-media,
.card-embed iframe {
  margin: 0 auto !important;
  display: block !important;
}
 
/* ── RESPONSIVE ── */
@media (max-width: 520px) {
  .pub-card {
    max-width: 100%;
  }
 
  .pub-container {
    padding: 2rem 4% 4rem;
  }
}