html,
body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
}

.about-page {
  flex: 1;
}

.site-footer {
  margin-top: auto;
}

/* ── Hero med bilde ──────────────────────────────────────────── */

.about-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Selve bakgrunnsbildet med blur */
.about-hero-bg {
  position: absolute;
  inset: -20px; /* litt utenfor for å skjule blur-kanter */
  background-image: url('./stringing-hero.webp');
  background-size: cover;
  background-position: center 30%;
  filter: blur(5px);
}

/* Mørk overlay for lesbarhet */
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
}

/* Tekst over bildet */
.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 0 1.5rem;
}

.about-hero-content h1 {
  font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.about-hero-content p {
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ── Tekstpanel ──────────────────────────────────────────────── */

.about-panel {
  background: var(--bg-card);
  border: 1px solid rgba(47, 114, 201, 0.14);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(42, 101, 178, 0.1);
  padding: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.about-panel p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 860px;
  font-size: 1rem;
}

@media (min-width: 760px) {
  .about-hero {
    height: 500px;
  }

  .about-hero-content h1 {
    font-size: 3.2rem;
  }

  .about-hero-content p {
    font-size: 1.15rem;
  }

  .about-panel {
    padding: 1.8rem 2rem;
  }
}
