/* Page-specific styles extracted from global.css */

body.page-shell {
  background-image: url('../css/sjuf billeder/hall.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body.page-shell::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

body.page-shell nav {
  margin-bottom: 0;
}

body.page-shell > h1 {
  background-color: #000000;
  padding: 1.5rem 2rem;
  border-radius: 0;
  display: block;
  margin: 0 0 4rem 0;
  width: 100%;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

body.page-shell .content-box {
  margin-bottom: 6rem;
}

body.page-home .content-box {
  margin-top: 4rem;
}

body.page-donations .donation-payment {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

body.page-donations .donation-bank,
body.page-donations .donation-mobilepay {
  flex: 1 1 260px;
}

body.page-donations .donation-bank {
  display: flex;
  justify-content: center;
}

body.page-donations .bank-details {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  max-width: 340px;
}

body.page-donations .bank-details-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

body.page-donations .bank-details-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

body.page-donations .bank-details-label {
  font-weight: 700;
}

body.page-donations .donation-mobilepay {
  display: flex;
  justify-content: center;
}

body.page-donations .donation-mobilepay > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column-reverse;
}

body.page-donations .donation-mobilepay img {
  width: min(100%, 240px);
  height: auto;
  border-radius: 12px;
  background: #ffffff;
  padding: 0.5rem;
}

@media (max-width: 640px) {
  body.page-shell {
    background-attachment: scroll;
  }

  body.page-shell > h1 {
    padding: 1rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
  }

  body.page-shell .content-box {
    margin-bottom: 2rem;
  }

  body.page-home .content-box {
    margin-top: 2rem;
  }

  body.page-donations .donation-payment {
    gap: 1rem;
  }

  body.page-donations .donation-mobilepay img {
    width: min(100%, 180px);
  }

  body.page-donations .donation-mobilepay > div {
    gap: 0.75rem;
  }
}
