/* Custom background classes for Partners Program website */
.section-bg {
  background: linear-gradient(90deg, #e0f2fe 0%, #c7d2fe 100%);
}
.section-accent {
  background: linear-gradient(90deg, #dbeafe 0%, #d1fae5 100%);
}
.section-dark {
  background: linear-gradient(90deg, #2563eb 0%, #059669 100%);
}
.section-light {
  background: linear-gradient(90deg, #f1f5f9 0%, #e0e7ff 100%);
}
.hero-fullwidth {
  position: relative;
  width: 100vw;
  height: 22rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-fullwidth img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  opacity: 0.85;
  pointer-events: none;
  transition: transform 0.1s linear;
  will-change: transform;
}
.hero-fullwidth .mobile-masthead {
  display: none;
}
@media (max-width: 767px) {
  .hero-fullwidth .desktop-masthead {
    display: none;
  }
  .hero-fullwidth .mobile-masthead {
    display: block;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  background: rgba(0,0,0,0.28);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (max-width: 767px) {
  .hero-fullwidth,
  .hero-fullwidth img,
  .hero-overlay {
    height: 12rem;
    min-height: 12rem;
  }
  .hero-content {
    padding: 0 1rem;
  }
}
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid #e0e7ff;
  box-shadow: 0 1px 8px rgba(100,100,150,0.07);
}

/* Responsive list display for essentials section */
@media (min-width: 768px) {
  .desktop-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }
  .mobile-list {
    display: none;
  }
}
@media (max-width: 767px) {
  .desktop-list {
    display: none;
  }
  .mobile-list {
    display: block;
  }
}
