/* Basic, modern grid styling for the FB feed widget */
.eff-grid {
  --eff-cols: 3;
  display: grid;
  grid-template-columns: repeat(var(--eff-cols), minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .eff-grid { --eff-cols: 2; }
}
@media (max-width: 600px) {
  .eff-grid { --eff-cols: 1; }
}

.eff-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.eff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.eff-media {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  overflow: hidden;
}
.eff-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eff-caption {
  padding: 12px 14px 14px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.eff-caption p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.eff-meta {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #6b7280;
}

.eff-notice {
  padding: 10px 12px;
  background: #f3f4f6;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}
.eff-notice.eff-error {
  background: #fff1f2;
  border-color: #fecdd3;
}