/* V27 – reiner Instagram-Feed */
.instagram-feed-heading{
  align-items:flex-end;
  gap:22px;
}
.instagram-feed-subline{
  max-width:760px;
  margin:10px 0 0;
  color:#60776c;
  font-size:.98rem;
  line-height:1.62;
}
.instagram-profile-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:9px 15px;
  border-radius:999px;
  background:linear-gradient(135deg,#6d36d7,#dd2a7b,#f58529);
  color:#fff;
  text-decoration:none;
  font-size:.88rem;
  font-weight:900;
  box-shadow:0 9px 20px rgba(173,35,105,.2);
}
.instagram-profile-button span{
  font-size:1.15rem;
}
.instagram-feed-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.instagram-card{
  display:flex !important;
  flex-direction:column;
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #dce6df;
  border-radius:22px;
  box-shadow:0 16px 38px rgba(5,34,20,.08);
  transition:transform .2s ease,box-shadow .2s ease;
}
.instagram-card:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 42px rgba(5,34,20,.14);
}
.instagram-card__media{
  position:relative;
  display:block;
  height:215px;
  overflow:hidden;
  background:#dfe8e2;
}
.instagram-card__media img{
  display:block !important;
  width:100%;
  height:100%;
  object-fit:cover;
}
.instagram-card__badge{
  position:absolute;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:5px 11px;
  border-radius:999px;
  background:linear-gradient(135deg,#6d36d7,#dd2a7b,#f58529);
  color:#fff;
  font-size:.71rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.instagram-card__body{
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:225px;
  padding:18px;
}
.instagram-card__body time{
  color:#667f74;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.instagram-card__body h3{
  margin:9px 0 10px;
  color:#082517;
  font-size:1.28rem;
  line-height:1.22;
}
.instagram-card__body p{
  margin:0;
  color:#365246;
  font-size:.95rem;
  line-height:1.58;
}
.instagram-card__body>a{
  margin-top:auto;
  padding-top:15px;
  color:#08713f;
  font-weight:900;
  text-decoration:none;
}
.instagram-feed-dots{
  display:none;
  justify-content:center;
  gap:7px;
  margin-top:16px;
}
.instagram-feed-dots span{
  width:7px;
  height:7px;
  border-radius:999px;
  background:#c9d5ce;
}
.instagram-feed-dots span.active{
  width:22px;
  background:#dd2a7b;
}
@media(max-width:1020px){
  .instagram-feed-grid{
    grid-template-columns:repeat(3,minmax(285px,1fr));
    overflow-x:auto;
    padding:2px 2px 16px;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .instagram-feed-grid::-webkit-scrollbar{display:none}
  .instagram-card{scroll-snap-align:start}
  .instagram-feed-dots{display:flex}
}
@media(max-width:760px){
  .instagram-feed-heading{
    align-items:flex-start;
  }
  .instagram-profile-button{
    align-self:flex-start;
  }
  .instagram-feed-grid{
    grid-template-columns:repeat(3,84vw);
    margin-right:calc((100vw - 100%)/-2);
    padding-right:8vw;
  }
  .instagram-card__media{
    height:190px;
  }
  .instagram-card__body{
    min-height:215px;
    padding:16px;
  }
}
