/* Avalehe teadaanne */
.section--notice {
  padding: 36px 0 0;
  background: var(--kreem);
}
.notices { display: grid; gap: 18px; }
.notice {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .05);
  box-shadow: var(--vari);
}
.notice--landscape { grid-template-columns: minmax(240px, 420px) minmax(0, 1fr); }
.notice .gallery-grid { grid-template-columns: 1fr; gap: 0; }
.notice .gallery-item {
  aspect-ratio: 723 / 1024;
  border-radius: 16px;
  box-shadow: none;
}
.notice--landscape .gallery-item { aspect-ratio: 1024 / 537; }
.notice .gallery-item img { object-fit: contain; background: #1f4d34; }
.notice .gallery-item:hover img { transform: none; filter: brightness(.92); }
.notice__body h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 8px 0 12px;
}
.notice__body p { color: var(--tekst-hele); max-width: 38rem; }
.notice__contact {
  margin-top: 16px;
  color: var(--tekst);
  font-weight: 700;
}
.notice__contact a { color: var(--tuli); }
.notice__contact a:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .notice,
  .notice--landscape { grid-template-columns: 1fr; gap: 22px; }
  .notice .gallery-item { max-width: 280px; }
  .notice--landscape .gallery-item { max-width: none; }
}

/* Avalehe kogukonna ürituste pildiread */
.community-moments {
  margin-top: 64px;
}
.community-moments__head {
  margin-bottom: 8px;
}
.community-moments__head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 8px 0 6px;
}
.community-moments__head p {
  color: var(--tekst-hele);
  max-width: 42rem;
}
.community-event {
  margin-top: 32px;
}
.community-event__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.community-event__bar h4 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
}
.community-event__bar small {
  display: block;
  margin-top: 2px;
  color: var(--tekst-hele);
  font-weight: 600;
  font-size: .82rem;
}
.community-event__bar a {
  color: var(--tuli);
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
}
.community-event__bar a:hover { text-decoration: underline; }
.community-event .gallery-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.community-event .gallery-item {
  border-radius: 14px;
  box-shadow: var(--vari);
  aspect-ratio: 1 / 1;
}
.community-event .gallery-overlay { opacity: 1; padding: 12px; }
.community-event .gallery-caption { font-size: .82rem; }

@media (max-width: 900px) {
  .community-event .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .community-moments { margin-top: 44px; }
  .community-event .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
