/* Tillegg kun for innhold som ikke finnes i originalmalen. Sideoppsett, bredder og padding
   kommer fortsatt fra p7-vanilla og de samme klassene som brukes på index.html. */
.info-page h2 { margin-top: 1.7em; }
.info-page h2:first-child { margin-top: 0; }
.info-page ul { line-height: 1.6; }
.info-page .updated { margin-top: 2em; font-size: .9em; }

.about-image-placeholder {
  min-height: 300px;
  border: 1px dashed #888;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  box-sizing: border-box;
  background: rgba(255,255,255,.35);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.board-member { min-width: 0; }
.board-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid #bbb;
  background: rgba(255,255,255,.4);
}
.board-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  box-sizing: border-box;
}
.board-member h3 { margin-bottom: .25em; }
.board-member p { margin-top: .45em; }

.contact-form { max-width: 820px; }
.contact-field { margin-bottom: 18px; }
.contact-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #999;
  background: #fff;
  color: #222;
  font: inherit;
}
.contact-consent { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; }
.contact-consent input { margin-top: 4px; }
.contact-submit {
  border: 0;
  padding: 12px 22px;
  background: #333;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.contact-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-success { border: 1px solid #4d7d4d; padding: 14px; margin-bottom: 18px; background: #eef7ee; }

@media only screen and (max-width: 1050px) {
  .board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media only screen and (max-width: 700px) {
  .board-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .about-image-placeholder { min-height: 220px; }
}
@media only screen and (max-width: 430px) {
  .board-grid { grid-template-columns: 1fr; }
}
