:root{
  --paper: #f6f7f6;
  --paper-soft: #fbfbfb;

  --ink: #2f2f2f;
  --muted: #6e6e6e;

  --accent-soft: #d2c8b6;
  --line: rgba(0,0,0,.06);

  --shadow1: 0 10px 26px rgba(0,0,0,.12);
  --shadow2: 0 36px 72px rgba(0,0,0,.16);
}

.hero{
  position: relative;
  padding: 10px 0 70px;
  min-height: 100vh;

  background: url("/image/kerkfull.jpg") center / cover no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(rgba(0,0,0,.20), rgba(0,0,0,.34));
  z-index:0;
}

.hero__content{
  position: relative;
  z-index: 1;
  width: min(900px, 95%);
  margin: 30px auto;
  padding: 58px 66px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow1), var(--shadow2);
}

.hero__content h1{
  margin: 0 0 14px;
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: .2px;
}

.hero__content p{
  max-width: 720px;
  line-height: 1.75;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero__content .intro{
  margin: 0 auto 34px;
}

.foto-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.event-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.event-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.event-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.event-date {
  margin: 0px 0 0;
  font-size: 13px;
  opacity: .7;
}

.event-text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: #222;
}

.event-photos {
  margin-top: 14px;
  display: grid;
  gap: 12px;

  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.event-photo {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8f9fb;
  transition: transform .15s ease, box-shadow .15s ease;
}

.event-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.event-photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}

@media (max-width: 900px) {
  .event-photos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .event-title {
    font-size: 19px;
  }
}

@media (max-width: 600px) {
  .event-card {
    padding: 14px;
  }

  .event-title {
    font-size: 18px;
  }

  .event-text {
    font-size: 14px;
  }

  .event-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 768px){
  .hero__content h1{
    font-size: 1.85rem;
  }
}
