/* Green Day media layer. The IMK layout, typography and motion remain intact. */
.c-header__logo img {
  display: block;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.menu-on-dark .c-header__logo img {
  filter: brightness(0) invert(1);
}

.c-video-player > video,
.c-video-player .plyr video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-video-player > video {
  position: absolute;
  inset: 0;
}

.c-home-team .c-member-card__content {
  position: relative;
  overflow: hidden;
}

/* Keep the source card reveal and image swaps, but let the products form a tighter grid. */
.c-home-team__content {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: clamp(1rem, 1.5vw, 1.5rem);
  padding: clamp(1rem, 2vw, 2rem);
  align-items: start;
}

.c-home-team__content > .c-home-team__title {
  grid-column: 1 / -1 !important;
  min-height: 0;
}

.c-home-team__title h2 {
  min-height: 0;
}

.c-home-team__content > .c-member-card {
  grid-column: auto !important;
  margin: 0 !important;
  min-width: 0;
}

.c-home-team__content > .c-home-team__text {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  min-height: 0;
}

.c-home-team .gd-product-name {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: 18%;
  place-items: center;
  padding: 0.55rem 0.8rem;
  background: #4caf50;
  color: #fff;
  font-size: clamp(0.8rem, 1.1vw, 1.15rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

@media (min-width: 750px) and (max-width: 1199px) {
  .c-home-team__content {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .c-home-team__content > .c-home-team__text {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 749px) {
  .c-home-team__content {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.875rem;
    padding: 1rem;
  }

  .c-home-team__content > .c-home-team__title,
  .c-home-team__content > .c-home-team__text {
    grid-column: 1 / -1 !important;
    min-height: 0;
  }

  .c-home-team .gd-product-name {
    min-height: 20%;
    font-size: clamp(0.7rem, 2.5vw, 0.9rem);
    letter-spacing: 0.08em;
  }
}

/* Hero: the 3-line headline covered most of the video (owner, 30 Oct 2026). Smaller, two lines, with a soft
   shade only behind the text so the footage stays visible. */
.c-home-intro__title h1 {
  font-size: clamp(2.3rem, 4.4vw, 4.6rem) !important;
  line-height: 1.02 !important;
  max-width: 13ch;
}
.c-home-intro__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 749px) {
  .c-home-intro__title h1 { font-size: clamp(2rem, 9vw, 2.6rem) !important; }
}
