/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./src/app/all-directors/components/style.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
.hide {
  transform: translateY(-1em) !important;
  opacity: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
}

.director--item {
  color: rgb(0, 0, 0);
  mix-blend-mode: difference;
  cursor: pointer;
  line-height: 0.9;
  text-transform: uppercase;
  transform: translateY(0px);
  opacity: 1;
  max-height: 1.5em;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  transition:
    opacity 0.5s ease-out,
    transform 0.5s,
    max-height 0.5s,
    min-height 0.5s;
}

.all-directors-video-container {
  left: 34.2%;
  top: 18vw;
  /* height: 30vw; */
}

/* Video cross-fade animation classes */
.video-crossfade {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

.video-crossfade.active {
  opacity: 1;
  pointer-events: auto;
}

/* === DEBUG: force red halo, kill blending === */
/* .director--item,
.director-link,
.director-title,
.director-hoverTitle {
  mix-blend-mode: normal !important;
}

.director-title,
.director-hoverTitle {
  color: #000 !important; 
  -webkit-text-stroke: 0 !important; 
  text-shadow:
    0 0 0 rgb(255, 255, 255),
    0 0 4px rgb(255, 255, 255),
    0 0 10px rgba(255, 255, 255, 0.95),
    0 2px 6px rgba(255, 255, 255, 0.9) !important;
} */

/* 1) Default for all browsers (Chrome/Firefox/etc.) */
.director-title,
.director-hoverTitle {
  mix-blend-mode: difference;   /* your original effect */
  color: rgb(226,226,226);
}

/* 2) Safari-only override: disable blending, add halo for readability */
@supports (-webkit-hyphens: none) and (not (text-decoration-thickness: from-font)) {
  .director-title,
  .director-hoverTitle {
    mix-blend-mode: normal !important;
    color: #000 !important; /* your choice: black text */
    /* visible red test -> swap to white once you're happy */
    text-shadow:
      0 0 1px rgba(255,255,255,0.7),
      0 1px 2px rgba(255,255,255,0.8),
      0 0 6px rgba(255,255,255,0.6);
    -webkit-text-stroke: 0.6px rgba(255,255,255,0.55); /* optional crisp edge */
  }
}

/* @supports (-webkit-touch-callout: none) {
  .director-title,
  .director-hoverTitle {
    mix-blend-mode: normal !important;
    color: #000 !important;
    text-shadow:
      0 0 1px rgba(255,255,255,0.7),
      0 1px 2px rgba(255,255,255,0.8),
      0 0 6px rgba(255,255,255,0.6);
    -webkit-text-stroke: 0.6px rgba(255,255,255,0.55);
  }
} */

