/* GRID */
.sponsor-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

/* CARD STRUCTURE */
.sponsor-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #eee;
  opacity: 0;                     /* Fade-in start */
  animation: fadeInUp 0.6s ease forwards;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* LOGO */
.sponsor-card img {
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

/* TITLES */
.sponsor-card h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.sponsor-card p {
  font-size: 0.95rem;
  color: #555;
}

/* -------------------------------------------
   LEVEL STYLES (rene hvite kort + rammefarge)
----------------------------------------------*/

/* Gold: subtil, varm gullkant */
.sponsor-grid.gold .sponsor-card {
  border: 2px solid #d3b363; 
}

/* Silver: ren lys sølvgrå */
.sponsor-grid.silver .sponsor-card {
  border: 2px solid #bfc5ce;
}

/* Bronze: svak, diskret bronsetone */
.sponsor-grid.bronze .sponsor-card {
  border: 2px solid #c79a63;
}

/* Other: standard lys grå */
.sponsor-grid.other .sponsor-card {
  border: 1px solid #eaeaea;
}

/* GRID SIZES */
.sponsor-grid.gold {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sponsor-grid.silver {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.sponsor-grid.bronze,
.sponsor-grid.other {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* SECTION HEADINGS */
#sponsorer-container h2, 
#sponsorer-container h3 {
  margin-top: 2rem;
  font-weight: 700;
}

#sponsorer-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#sponsorer-container h3 {
  font-size: 1.3rem;
  opacity: 0.85;
}

/* CTA BOX */
.sponsor-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: #f7fbff;
  border-radius: 16px;
  text-align: center;
  border: 1px solid #d3e7ff;
}

.sponsor-cta h3 {
  margin: 0;
  font-size: 1.6rem;
}

.sponsor-cta p {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  background: #0077ff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #005fcc;
}

/* INTRO TEXT */
.sponsor-intro {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* ANIMATION */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* LOGO WRAPPER — FIXED HEIGHT FOR SYMMETRY */
.sponsor-logo-wrap {
  height: 140px;              /* Lik høyde for alle logo-plasseringer */
  display: flex;
  justify-content: center;
  align-items: center;        /* Midtstiller små logoer */
  margin-bottom: 0.75rem;
}

.sponsor-logo-wrap img {
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
}