.headerimage img {
  margin-top: 50px;
  margin-bottom: 40px;
  margin-right: 290px;
}

.copyblock p {
  margin-top: 30px;
}
.smallTwoCard {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  width: 50%;
}
.sidebar a {
  font-size: 25px;
  color: rgb(129, 129, 129);
  display: block;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  transition: 0.3s;
  height: 40px;
}

.sidebar a:hover {
  color: #f1f1f1;
  background-color: #818181;
}

.event_title {
  margin-top: 50px;
}
.mango {
  height: 450px;
}
@media screen and (max-width: 1366px) {
  .headerimage img {
    margin-right: 250px;
  }
}
@media screen and (max-width: 479px) {
  .tile.featured {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1001;
  top: 0;
  right: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}
.sidebar .closeMenubtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #ffff00;
  color: white;
  padding: 10px 15px;
  border: none;
  position: fixed;
  top: 15px;
  right: 9px;
  z-index: 1000;
}
.openbtn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #000000;
}
.openMenubtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #ffff00;
  color: white;
  padding: 10px 15px;
  border: none;
  position: fixed;
  top: 15px;
  right: 9px;
  z-index: 1000;
}

.openMenubtn span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #000000;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.sidebar.open {
  width: 250px;
}

.sidebar-overlay.open {
  display: block;
}

/* sketch  */

.threeCard {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

.singleSketch {
  margin-top: 20px;
}
.twoCard {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: 20px;
}

/* Make images fluid and stack card layouts on smaller screens */
.workimage.fullbleed {
  display: block;
  width: 100%;
  height: auto;
}

/* Balanced four-side shadow for gallery images */
.workimage.fullbleed {
  box-shadow: 0px 0px 3px 3px rgba(0, 0, 0, 0.22);
  border-radius: 6px;
}

@media screen and (max-width: 900px) {
  .threeCard,
  .twoCard {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .threeCard > div,
  .twoCard > div,
  .singleSketch {
    width: 100%;
  }

  .backgrounddiv {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media screen and (max-width: 480px) {
  .workpageheader h1 {
    font-size: 28px;
    line-height: 1.1;
  }

  .cornernumber,
  .cornernumber2 {
    font-size: 13px;
  }
}

/* Modal styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-content {
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.modal-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 4px;
}
.modal-content img {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  padding: 12px 14px;
  font-size: 28px;
  cursor: pointer;
  border-radius: 4px;
  z-index: 2010;
}
.modal-prev {
  left: 8px;
}
.modal-next {
  right: 8px;
}
.modal-arrow:focus {
  outline: 2px solid rgba(255, 255, 255, 0.2);
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f86b02;
  color: #fff;
  border: none;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

@media screen and (max-width: 600px) {
  .modal-content {
    max-height: 85vh;
  }
  .modal-close {
    font-size: 26px;
    top: 6px;
    right: 6px;
  }
}

/* Video player styles */
.singleSketch {
  width: 100%;
}

.video-player {
  display: block;
  width: 90%;
  height: auto;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media screen and (max-width: 900px) {
  .video-player {
    border-radius: 4px;
  }
}
