/* Header */
.partners-header {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.partners-header h2 {
  margin: 0;
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  color: #0b1322;
  font-weight: 600;
}

.partners-underline {
  display: inline-block;
  width: 90px;
  height: 4px;
  background: #2f7b72;
  border-radius: 999px;
  margin: 14px 0 18px;
}

.partners-header p {
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: #6b7280;
}

/* Logo cards */
.partners-grid {
  max-width: 1200px;
  margin: 60px auto 70px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: center;
  gap: 26px;
}

.partner-card {
  background: #fbfbfb;
  border: 1px solid #eee;
  border-radius: 10px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 18px;
}

.partner-card img {
  max-width: 85%;
  max-height: 80px;
  object-fit: contain;
}

.partner-card .tier {
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(0, 0, 0, 0.25);
  font-weight: 700;
}

/* CTA box */
.partners-cta {
  max-width: 1200px;
  margin: 0 auto;
  background: #2f6f6b; /* grønn/teal */
  border-radius: 0; /* i screenshot ser den “kantet” ut */
  padding: 46px 50px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-left h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", sans-serif;
  font-size: 34px;
  color: #ffffff;
  font-weight: 600;
}

.cta-left p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  line-height: 1.6;
}

/* CTA button */
.cta-button {
  background: #ffffff;
  color: #2f6f6b;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 18px 34px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

/* Responsive */
@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 22px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}

/*program*/
.tracks-section {
  background-color: white;
  padding: 100px 20px;
}

.tracks-header {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.tracks-header h2 {
  font-family: "Playfair Display", sans-serif;
  font-size: 36px;
  color: #0b1322;
  margin-bottom: 10px;
}
.tracks-header h3 {
  font-family: "Playfair Display", sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  color: #151e30;
  margin-bottom: 10px;
}

.tracks-header p {
  color: #6b7280;
  font-size: 18px;
  margin-top: 10px;
}

/* GRID */
.tracks-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* CARD */
.track-card {
  background: #f9fbfa;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  width: 40vw;
  justify-content: center;
}

.track-card-åpning {
  width: 1100px;
  background: #f9fbfa;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: row;
}

.track-image-logo {
  width: 1000px;
  height: suto;
  display: flex;
  align-items: center;
  overflow: hidden; /* optional */
  align-items: center;
}

.track-image-logo img {
  max-width: 400px;
  height: auto;
  object-fit: contain; /* ensures whole logo is visible */
  padding: 20px;
  margin-top: 100px;
  margin-left: 20px;
  width: 100%;
}
.track-image {
  min-width: 300px;
  height: 450px;
  overflow: hidden;
}

.track-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT */
.track-content {
  padding: 32px;
}

.track-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
  color: #2f7b72;
  margin-bottom: 12px;
}

.track-content h3 {
  font-size: 28px;
  color: #0b1322;
  margin-bottom: 14px;
}

/* META */
.track-meta {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 18px;
}

/* TEXT */
.track-content p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 22px;
}

/* LIST */
.track-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.track-content li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: #0b1322;
  font-weight: 500;
}

.track-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2f7b72;
  font-weight: 700;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .track-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .track-image > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
  }

  .tracks-header {
    text-align: center;
  }

  .tracks-header h2 {
    font-size: 20px;
  }

  .tracks-grid {
    grid-template-columns: 1fr;
  }

  .track-card-åpning,
  .track-card-logo,
  .track-card {
    width: 100vw;
    flex-direction: column;
  }
  .track-card-åpning img,
  .track-card-logo img,
  .track-card img {
    height: auto;
    width: 80vw;
  }
}

/*galla section*/
.event-hero {
  /* Bytt bildet her */
  background-color: #004b4b;
  position: relative;
  padding: 110px 20px;
  max-height: fit-content;
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Dark overlay for readability */
.event-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #041a1a, #004b4b);
}

.event-hero-inner {
  position: relative;
  max-width: 1200px;
  width: 100%;
  text-align: center;
  color: #ffffff;
}

/* Top pill */
.event-pill {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(47, 123, 114, 0.22);

  color: #f7f6e9;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 26px;
}

.event-date {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  color: #f9f8ee;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 10px;
}

/* Title */
.event-title {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  font-family: "inter", sans-serif;
}

/* Subtitle */
.event-subtitle {
  max-width: 860px;
  margin: 0 auto 50px;
  font-size: 22px;
  line-height: 1.6;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
}

/* Cards row */
.event-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 0 auto 0px;
  max-width: 1100px;
}

.event-card:hover {
  transform: scale(1.04);
  background-color: #147d7d;
}

/* Glass cards */
.event-card {
  background-color: #267f7faf;
  border-radius: 18px;
  padding: 26px 24px;
}

.event-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin: 0 auto 16px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(127, 224, 197, 0.35);
  font-size: 22px;
}

.event-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.event-card-meta {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}

/* CTA button */
.event-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  border-radius: 999px;
  background: #2f7b72;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 20px 50px rgba(47, 123, 114, 0.35);
  transition: 0.2s ease;
}

.event-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .event-cards {
    grid-template-columns: 1fr;
    max-width: 540px;
    flex-direction: column;
  }

  .event-hero {
    min-height: auto;
    padding: 90px 20px;
  }

  .event-subtitle {
    font-size: 18px;
  }
}
