/* ===== PHILOSOPHY PAGE ===== */


/* ===== HERO ===== */

.philosophy-hero {
  position: relative;
  height: 420px;          /* 🔥 fast højde = ingen sort hul */
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  background: #05070d;
}

.philosophy-hero-bg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center center;

  opacity: 0.85;
}

/* mørk fade over billedet */
.philosophy-hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(5, 7, 13, 0.1) 0%,
    rgba(5, 7, 13, 0.45) 100%
  );
}

/* tekst ovenpå billed */
.philosophy-hero-inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.philosophy-hero h1 {
  margin: 0 0 0.8rem;

  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.05;

  color: #ffffff;

  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.philosophy-hero p {
  margin: 0 auto;

  max-width: 720px;

  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;

  color: #d6d9e6;
}


/* ===== BODY ===== */

.philosophy-body {
  padding: 1.2rem 1.5rem 3rem;   /* 🔥 ingen stort hul */
  background: #05070d;
}

.philosophy-content {
  max-width: 860px;
  margin: 0 auto;
}

/* cleanup spacing */

.philosophy-content > *:first-child {
  margin-top: 0;
}

.philosophy-content > *:last-child {
  margin-bottom: 0;
}


/* ===== TEXT ===== */

.philosophy-content h1,
.philosophy-content h2,
.philosophy-content h3 {
  color: #ffffff;
  line-height: 1.2;
}

.philosophy-content h2 {
  margin: 2rem 0 1rem;
  font-size: 1.8rem;
}

.philosophy-content h3 {
  margin: 1.4rem 0 0.5rem;
  font-size: 1.2rem;
  color: #e3e6f5;
}

.philosophy-content p,
.philosophy-content li {
  color: #c8ccd8;
  font-size: 1.05rem;
  line-height: 1.85;
}

.philosophy-content p + p,
.philosophy-content ul,
.philosophy-content ol {
  margin-top: 1rem;
}

.philosophy-content ul,
.philosophy-content ol {
  padding-left: 1.5rem;
}

.philosophy-content strong {
  color: #ffffff;
}


/* ===== LINKS ===== */

.philosophy-content a {
  color: #a8a8ff;
  text-decoration: none;
}

.philosophy-content a:hover {
  color: #d5d5ff;
}


/* ===== SUMMARY BOX ===== */

.philosophy-end {
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 1.6rem;

  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(11, 15, 24, 0.9) 0%,
    rgba(8, 11, 18, 0.9) 100%
  );

  border: 1px solid rgba(134,134,196,0.15);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.4);
}

.philosophy-end h2 {
  margin: 0;
  color: #ffffff;
}

.philosophy-end p {
  margin-top: 0.6rem;
  color: #cfd3df;
  line-height: 1.7;
}


/* ===== MOBILE ===== */

@media (max-width: 768px) {

  .philosophy-hero {
    height: 300px;
  }

  .philosophy-hero-inner {
    padding: 0 1rem;
  }

  .philosophy-body {
    padding: 0.8rem 1rem 2rem;
  }

  .philosophy-content p,
  .philosophy-content li {
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .philosophy-content h2 {
    font-size: 1.5rem;
  }

  .philosophy-end {
    padding: 1.3rem;
    border-radius: 14px;
  }


/* ===== CORE VALUES AS CARDS ===== */

.philosophy-content h3 {
  margin-top: 1.8rem;
}

/* wrap hvert value i en “box illusion” */

.philosophy-content h3 + p {
  margin-top: 0.5rem;
}

/* hack: style blokke visuelt */

.philosophy-content h3 {
  position: relative;
  padding: 1.2rem 1.4rem 0.3rem;

  border-radius: 16px;

  background: rgba(11, 15, 24, 0.7);

  border: 1px solid rgba(134,134,196,0.15);

  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.philosophy-content h3 + p {
  margin: 0;
  padding: 0.2rem 1.4rem 1.2rem;

  border-radius: 0 0 16px 16px;

  background: rgba(11, 15, 24, 0.7);

  border-left: 1px solid rgba(134,134,196,0.15);
  border-right: 1px solid rgba(134,134,196,0.15);
  border-bottom: 1px solid rgba(134,134,196,0.15);
}
 }
