body {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  background-color: black;
  overflow-x: hidden;
  font-family: sans-serif;
}

form {
  width: 95%;
  margin: auto;
  margin-top: 20px;
}

input {
  outline: none;
  display: block;
}

.text__input {
  border-radius: 10px;
  width: 98%;
  padding: 10px;
  border: 2px dotted rgba(128, 128, 128, 0.622);
  color: #fff;
  background-color: transparent;
  margin-top: 20px;
}

.text__input::placeholder {
  color: #fff;
}

#image__input {
  display: none;
}

.label_image_input {
  display: flex;
  border-radius: 10px;
  width: 98%;
  padding: 10px;
  border: 2px dotted rgba(128, 128, 128, 0.622);
  height: 70vh;
  margin-top: 20px;
  color: #fff;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.BTN {
  width: 100%;
  margin-top: 20px;
  background-color: #fff;
  color: #000;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  outline: none;
  border: 1px solid transparent;
  transition: 0.3s;
  margin-bottom: 20px;
}

.BTN:hover {
  color: #fff;
  background-color: #000;
  border: 1px solid #fff;
}

.BTNS {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

.grid-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.grid-row.right {
  direction: rtl;
}

.grid-item.First {
  grid-row: span 2;
}

.grid-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  /* background-color: #222; */
}

.grid-link {
  display: block;
  width: 100%;
  aspect-ratio: 2/1;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.grid-link.First {
  height: 74vh;
  background-size: cover;
  height: 100%;
}

.grid-link:hover {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  bottom: 20px;
  left: 40px;
  color: white;
  z-index: 2;
}

.title {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  line-height: 1;
  opacity: 0.72;
}
.grid-item:hover .title {
  opacity: 1;
}

.subtitle {
  font-size: 12px;
  margin-top: 2px;
  font-weight: 200;
  opacity: 0.8;
  font-family: poppins, sans-serif;
  line-height: 1;
}

.UploadingBar {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 7px;
  display: block;
  text-align: center;
  z-index: 9999999;
  pointer-events: none;
}

.UploadingBarProgress {
  display: inline-block;
  height: 100%;
  background-image: url(../../../imgs/PreLoader.gif);
  width: 0px;
  background-size: auto 100%;
  transition-duration: 600ms;
}

.UploadingBarProgress[Nesba="100"] {
  opacity: 0;
}

/* Responsive Overrides for Showcases Grid */
.PlusContainer {
  padding: 8rem 6rem 4rem 6rem;
  padding-top: 120px;
}

.ShowcasesHeader {
  padding: 0 20px;
  margin-bottom: 40px;
}

.ShowcasesHeader h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  font-family: "Bebas Neue", sans-serif;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}

.ShowcasesHeader p {
  font-size: clamp(14px, 4vw, 18px);
  font-family: Poppins, sans-serif;
  font-weight: 200;
  color: var(--SecondColor);
  text-transform: uppercase;
}

/* ── Vertical Tablet (portrait iPad / iPad Pro) and below ──
   Collapse the editorial 2-col grid into a single column where each
   showcase card spans 100% of the container width. Desktop layout
   (≥1025px) is preserved as-is. */
@media (max-width: 1024px) {
  .PlusContainer {
    padding: 6rem 24px 3rem 24px;
    padding-top: 100px;
  }

  .ShowcasesHeader {
    padding: 0 4px;
    margin-bottom: 28px;
  }

  .Response {
    width: 100%;
  }

  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }

  .grid-row,
  .grid-row.right {
    display: flex !important;
    flex-direction: column !important;
    direction: ltr !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 18px !important;
    padding: 0 !important;
    width: 100%;
  }

  .grid-item,
  .grid-item.First {
    width: 100%;
    grid-row: auto !important;
  }

  .grid-link,
  .grid-link.First {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    background-size: cover;
  }

  .overlay {
    bottom: 18px;
    left: 22px;
  }

  .title {
    font-size: clamp(1.4rem, 4.2vw, 2rem) !important;
  }

  .subtitle {
    font-size: clamp(11px, 2vw, 14px);
  }
}

/* ── Phones ──
   Tighter padding and a taller aspect-ratio so the hero artwork
   still reads well on narrow screens. */
@media (max-width: 600px) {
  .PlusContainer {
    padding: 4rem 14px 2rem 14px;
    padding-top: 80px;
  }

  .ShowcasesHeader {
    margin-bottom: 20px;
  }

  .grid-container,
  .grid-row,
  .grid-row.right {
    gap: 14px !important;
  }

  .grid-link,
  .grid-link.First {
    aspect-ratio: 4 / 3 !important;
  }

  .overlay {
    bottom: 14px;
    left: 16px;
  }
}
