/* EFG Schneeberg – Aktuelles (Beiträge aus ChurchTools) */
.efg-aktuelles-area { padding: 100px 0 40px; background: #f7f7f7; }
.efga-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.efga-karte { display: flex; flex-direction: column; text-align: left; background: #fff; border: 1px solid #ebebeb; border-radius: 6px; overflow: hidden; padding: 0; cursor: pointer; color: #636363; transition: box-shadow .2s, transform .2s; }
.efga-karte:hover, .efga-karte:focus-visible { box-shadow: 0 10px 28px rgba(0,0,0,.1); transform: translateY(-2px); outline: none; }
.efga-bild { display: block; height: 260px; background: #eee; }
.efga-bild img { width: 100%; height: 100%; object-fit: contain; background: #1f1f2c; }
.efga-ohne-bild { display: flex; height: 100%; align-items: center; justify-content: center; font-size: 48px; color: #c92f2f; }
.efga-inhalt { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.efga-inhalt strong { font-size: 18px; color: #1f1f2c; line-height: 1.3; }
.efga-datum { font-size: 13px; color: #636363; }
.efga-datum .fa { color: #c92f2f; }
.efga-kurz { font-size: 14px; line-height: 1.6; }
.efga-mehr { margin-top: auto; font-size: 14px; font-weight: 600; color: #c92f2f; }
.efga-dialog .efgk-dialog-box { max-width: 640px; }
.efga-dialog-bild { display: block; width: calc(100% + 56px); max-width: none; max-height: 60vh; object-fit: contain; background: #1f1f2c; border-radius: 8px 8px 0 0; margin: -28px -28px 18px; }
.efga-dialog .efga-datum { margin: 0 0 6px; }
.efga-text p { font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.efga-text a { color: #c92f2f; text-decoration: underline; word-break: break-word; }
@media (max-width: 991px) { .efga-raster { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .efga-raster { grid-template-columns: 1fr; gap: 20px; } .efg-aktuelles-area { padding-top: 60px; } }
/* Instagram */
.efg-instagram-area { padding: 60px 0 80px; background: #f7f7f7; }
.efgi-raster { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.efgi-kachel { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 6px; background: #1f1f2c; }
.efgi-kachel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.efgi-kachel:hover img, .efgi-kachel:focus-visible img { transform: scale(1.05); }
.efgi-text { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 10px; font-size: 12px; line-height: 1.4; color: #fff; background: linear-gradient(transparent 40%, rgba(0,0,0,.75)); opacity: 0; transition: opacity .2s; }
.efgi-kachel:hover .efgi-text, .efgi-kachel:focus-visible .efgi-text { opacity: 1; }
.efgi-video { position: absolute; right: 8px; top: 8px; color: #fff; font-size: 14px; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.efgi-mehr { text-align: center; margin-top: 30px; }
#efg-instagram:empty + .efgi-mehr { margin-top: -20px; }   /* ohne Beiträge: nur Button */
@media (max-width: 991px) { .efgi-raster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .efgi-raster { grid-template-columns: repeat(2, 1fr); } }
