: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: 150px;
  line-height: 1.75;
  font-size: 1.05rem;
  color: var(--muted);
}

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

.nieuws-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

.nieuws-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: box-shadow .2s ease, transform .2s ease;
}

.nieuws-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.10);
}

.nieuws-summary{
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 6px;
  padding: 16px 18px;
}

.nieuws-summary::-webkit-details-marker{
  display: none;
}

.nieuws-date{
  font-size: .8rem;
  color: rgba(0,0,0,.55);
  margin: 0;
}

.nieuws-title{
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
  color: #111;
}

.nieuws-more{
  justify-self: end;
  margin-top: 6px;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: .85rem;
  font-weight: 600;
  color: rgba(0,0,0,.75);

  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
}

.nieuws-more::after{
  content: "▾";
}

details[open] .nieuws-more::after{
  content: "▴";
}

.nieuws-body{
  padding: 0 18px 16px;
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(0,0,0,.80);
  border-top: 1px solid rgba(0,0,0,.08);
  text-align: left;
  max-width: 100%;
}

details:not([open]) .nieuws-body{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-top: 12px;
}

details[open] .nieuws-body{
  padding-top: 14px;
}

.nieuws-summary:hover{
  background: rgba(0,0,0,.02);
}

details[open] .nieuws-summary{
  background: rgba(0,0,0,.02);
}

.nieuws-summary:focus-visible{
  outline: 3px solid rgba(210,200,182,.7);
  outline-offset: 2px;
  border-radius: 10px;
}

@media (max-width: 600px){
  .nieuws-summary{ padding: 14px; }
  .nieuws-body{ padding: 0 14px 14px; }
  .nieuws-title{ font-size: 1.0rem; }
}
