@charset "utf-8";
/* CSS Document */
html {
  overflow-y: scroll;
}
/* TABLE */
.projects-wrapper {
  width: 100%;
}

:root {
  --item-height: 70.33dvh;
  --active-scale: 1.15;
}

.projects-table {
  width: 92%;
  border-collapse: collapse;
  font-family:  Times, "Times New Roman", serif;
  line-height: 22px;
   table-layout: fixed;
}

.projects-table th,
.projects-table td {
  padding: 0;
  mix-blend-mode:normal;
  border-bottom: 1px solid #000;
}
.projects-table.is-disabled {
  pointer-events: none;
}

.cell-text,
.cell-text a {
  mix-blend-mode: normal !important;
  color: #000 !important;
  background: transparent !important;
  text-decoration: none;
}

.projects-table tbody tr:hover {
    background-color: transparent !important; 
}

.projects-table tbody tr:hover td {
    mix-blend-mode: difference; 
    color: #fff !important;      
   /* background: #fff !important; */
    background-color: #fff ; 
}

/* IMAGE VIEWPORT (ONLY thing centered) */
.image-viewport {
  position: fixed;
  inset: 0;
  pointer-events: none;
    z-index:-1;
}

.image-strip {
  position: fixed;
  left: 50%;
  top: 50%;
  width: auto;
  height: auto;
  opacity: 0;
}


.img-item {
  display: flex;
  align-items: center;
  justify-content: center;

  /* BASE HEIGHT = inactive size */
	height: var(--item-height);

  /* overlap based on REAL height */
  margin-top: -14.5dvh;
  margin-bottom: 3.5px;
}

.img-inner {
  height: 100%;
  width: auto;

  /* inactive = 40% smaller */
  transform: scale(0.45);

  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.img-item.active .img-inner {
  /* active ≈ modal 90vh */
  transform: scale(var(--active-scale));
}

/* absolutely NO interaction */
.image-strip,
.img-item,
.img-inner {
  pointer-events: none;
}

.image-strip * {
  pointer-events: auto;
}

table {
  pointer-events: auto;
}

body.strip-active table {
  pointer-events: none;
}
.image-strip .img-item {
  cursor: pointer;
}
/* =========================
   MODAL
========================= */
.modal-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 89vw;
  height: calc(var(--item-height) * var(--active-scale));
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  z-index: 30000;
  pointer-events: none;   /* 👈 KEY */
}

.modal-overlay.active {
  display: flex;
    pointer-events: auto;
}

.modal-content {
  width: 100%;
  height: 100%;
  background: transparent;
  position: relative;   
   border: 0;
    outline: 0;
	  pointer-events: auto;
}


.modal-content iframe {
  display: block;   /* removes inline-gap */
  width: 100%;
  height: 100%;
  border: 0;
}
button:focus {
    outline: none !important;
    box-shadow: none !important;
}
/* Close button */
.modal-close {
  position: absolute;
  top: 0;
  right: 2.7%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

.modal-close img {
  display: block;   /* removes inline spacing */
}


.modal-close::before,
.modal-close::after {
  content: '';
}

/*.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
*/
.css-x {
  position: fixed;
  top: 10%;
  right: 0;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
}

.css-x::before,
.css-x::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 1.5px;     /* THIN LINE */
  background: #000;
}

.css-x::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.css-x::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Dim ONLY the centered image when modal slider is open */
body.modal-has-slider .img-item.active .img-inner {
  opacity: 0;
  transition: none !important;
}


.mycaption {
	 font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
	  font-style:italic;
	  font-weight:700;
    position: fixed;
    left: 50%;
    top: calc(50% + ((var(--item-height) * var(--active-scale)) / 2) + 10px);
    transform: translateX(-50%);
    z-index: 35000;
	text-align:center;
    padding: 0;
    color: #fff;
    line-height: normal;
    font-size:18px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
	mix-blend-mode: difference;
}

body.modal-open .mycaption {
    opacity: 1;
}
.modal-overlay {
    pointer-events: none;
}

body.modal-open .modal-overlay {
    pointer-events: auto;
}
.modal {
    pointer-events: auto;
}
.modal-open {
  overflow: visible !important
}

/* Hide default cursor on strip items 
.image-strip .img-item {
  cursor: auto;
}*/

/* Custom cursor */
#strip-cursor {
  position: fixed;
  top: -100px;
  left: -100px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  display: none;
  mix-blend-mode: difference;
}

#strip-cursor img {
  display: block;
  width: auto; /* adjust size */
}

.desktop-strip .sort-icon {
    margin:0;
    font-size: 16px;
    display: inline-block;
}