/* 1. CONTROLS THE SIZE */
.facade-controller {
  width: 220px; 
  margin: 0 auto;
  cursor: pointer; /* Turns the mouse into a clicking hand */
}

/* 2. THE CONTAINER */
.facade-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease-in-out;
}

/* Slight zoom effect when they hover over it */
.facade-wrapper:hover {
  transform: scale(1.02); 
}

/* 3. THE THUMBNAIL IMAGE */
.facade-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* Ensures the image fills the space nicely */
  opacity: 0.7; /* Dims the image slightly so the play button pops */
  transition: opacity 0.2s;
}
.facade-wrapper:hover .facade-thumb {
  opacity: 1; /* Brightens on hover */
}

/* 4. THE CUSTOM PLAY BUTTON (Built with pure CSS, no image needed!) */
.facade-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  background: rgba(255, 0, 0, 0.9); /* YouTube Red */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

/* The white triangle inside the play button */
.facade-play-btn::after {
  content: '';
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid white;
  margin-left: 4px; /* Centers the triangle perfectly */
}