/*-- -------------------------- -->
<---           Video            -->
<--- -------------------------- -*/

/* Target the links specifically within your cs-nav class */
.cs-nav ul li a:hover {
    cursor: url('https://img.icons8.com/ios-filled/32/steam-engine.png') 0 16, pointer;
}


/* Mobile */
@media only screen and (min-width: 0rem) {
  #video-2284 {
    padding: var(--sectionPadding);
    padding-top: clamp(3.75rem, 18vw, 16rem);
    padding-bottom: clamp(3.75rem, 18vw, 16rem);
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
  }

  #video-2284 .cs-container {
    max-width: calc(1280/16 * 1rem);
    margin: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    min-height: 60vh;
  }

  #video-2284 .cs-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(32/16 * 1rem);
  }

  #video-2284 .cs-title {
    max-width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
  }

  #video-2284 .cs-link {
    font-size: calc(20/16 * 1rem);
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    color: var(--bodyTextColorWhite);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(16/16 * 1rem);
  }

  #video-2284 .cs-wrapper {
    width: calc(80/16 * 1rem);
    height: calc(80/16 * 1rem);
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
  }

  #video-2284 .cs-icon {
    width: calc(24/16 * 1rem);
    transform: translateX(4px);
  }

  /* ✅ FIXED WHITE BORDER FRAME (DO NOT CHANGE IMAGE SIZE) */
   /* ============================= */
  /* 🔥 BACKGROUND IMAGE CONTAINER */
  /* ============================= */
  #video-2284 .cs-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 0px;               /* white border */
    background: white;           /* white frame */
    box-sizing: border-box;
    z-index: -1;

    overflow: hidden;            /* IMPORTANT for hover overlay */
  }

  /* ============================= */
  /* 🔥 IMAGE INSIDE BORDER */
  /* ============================= */
  #video-2284 .cs-background img {
    position: absolute;
    top: 20px;
    left: 20px;

    width: calc(100% - 40px);
    height: calc(100% - 40px);

    object-fit: cover;
  }

  /* ============================= */
  /* 🌑 DARK TINT OVER IMAGE */
  /* ============================= */
  #video-2284 .cs-background::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;

    background: rgba(0, 0, 0, 0.70);  /* gray/black tint */
    transition: opacity 0.3s ease;
    z-index: 2;
  }

  /* ============================= */
  /* 🖱️ HOVER = REMOVE TINT */
  /* ============================= */
  #video-2284:hover .cs-background::after {
    opacity: 0;
  }
}


/*-- -------------------------- -->
<---        Gallery 2285        -->
<--- -------------------------- -*/

@media only screen and (min-width: 0rem) {
  #gallery-2285 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
    min-height: 70vh;
    overflow: hidden;
  }

  #gallery-2285 .cs-container {
    max-width: calc(1280/16 * 1rem);
    margin: auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  #gallery-2285 .cs-content {
    text-align: center;
    z-index: 2;
  }

  #gallery-2285 .cs-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  }

  #gallery-2285 .cs-background {
    position: absolute;
    top: 0;
    height: 100%;
    width: calc(50% - 0.25rem);
    z-index: -1;
  }

  #gallery-2285 .cs-background-left {
    left: 0;
  }

  #gallery-2285 .cs-background-right {
    right: 0;
  }

  #gallery-2285 .cs-background img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #gallery-2285 .cs-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.4),
      rgba(0,0,0,0.8)
    );
    z-index: 1;
  }
}


/* Mobile fix */
@media only screen and (max-width: 47.99rem) {
  #gallery-2285 .cs-background {
    width: 100%;
    height: 40vh;
  }

  #gallery-2285 .cs-background-left {
    top: 0;
  }

  #gallery-2285 .cs-background-right {
    top: 40vh;
  }
}


/* Project text */
.project-info {
    background: #ffffff;
    padding: 4rem 1.5rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cs-project-title {
    font-size: 0.9rem;
    text-decoration: underline;
}

.cs-description {
    font-size: 0.85rem;
    line-height: 1.6;
}

.cs-meta {
    font-size: 0.75rem;
    color: #666;
}


/* NAV */
.project-nav {
    max-width: 2500px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.project-nav a {
    text-decoration: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9e9e9;
    border-radius: 50%;
    transition: 0.2s ease;
}

.project-nav a:hover {
    background: #ddd;
    transform: scale(1.05);
}

.nav-left { justify-self: start; }
.nav-home { justify-self: center; }
.nav-right { justify-self: end; }