.videosection {
  margin-top: 100px;
  padding-left: 0px;
  padding-right: 0px;
  box-sizing: border-box;
  text-align: center;
  
}
.video-wrapperr {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

.responsive-iframee {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.zoom-box {
  position: relative;
  overflow: hidden;
}
.zoom-box img {
  transition: all 0.3s;
  transform: scale(1);
}

.ghc-2025-videosection .zoom-box:hover img {
  transform: none;
}
.ghc-2025-videosection h1 {
  text-align: center;
  font-size: 45px;
  color: #e2b937;
  margin: 75px 0px;
}

.ghc-2025-videosection .col-md-4.col-12 {
  margin-bottom: 45px;
}

.zoom-box:hover img {
  transform: scale(1.2);
}

/*gallery az*/
.ghc-2025-videosection .videoCard {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  background-color: white;
}

.ghc-2025-videosection .videoCard:hover {
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
}

/* Wrap only the image part for overlay */
.ghc-2025-videosection .videoImage {
  position: relative;
  overflow: hidden;
}

.ghc-2025-videosection .videoImage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3); /* transparent overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.ghc-2025-videosection .videoCard:hover .videoImage::before {
  opacity: 0.3;
}

.ghc-2025-videosection .videoImage img {
  width: 100%;
  display: block;
  z-index: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.ghc-2025-videosection .play-icon,
.ghc-2025-videosection .image-text {
  position: relative;
  z-index: 2;
}

/* Optional: style for text area */
.ghc-2025-videosection .image-text {
  padding: 10px 20px;
  background-color: white;
  text-align: center;
  height: 65px;
  font-size: 16px;
  font-weight: 400;
  font-family: "Poppins";
  color: #363636;
}

/*gallery az end */

/*.gallery.memorabilia{width:100%;}*/
.image-text {
  position: static; /* Remove absolute positioning */
  color: #363636;
  font-size: 18px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  padding-top: 10px;
  text-align: center;
  line-height: 24px;
}

.gallery {
  display: grid;
  grid-gap: 4px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 10px;
  width: 91%;
}
.widthAdjustable .gallery {
  width: 100%;
  padding: 0 0px;
}

.gallery__item .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; /* Adjust size as needed */
  height: 48px; /* Adjust size as needed */
  background: url("../gallery-photo/ghc2025/play-icn.png") no-repeat center center; /* Replace 'play-icon.png' with your actual play icon image */
  background-size: contain;
}
.bannerItem .play-iconBanner {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 48px; /* Adjust size as needed */
  height: 48px; /* Adjust size as needed */
  background: url("../gallery-photo/ghc2025/play-icn.png") no-repeat center center; /* Replace 'play-icon.png' with your actual play icon image */
  background-size: contain;
}
.bderradius {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.zoom-box .bderradius:hover img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform: scale(1.2);
}

/*viewo banner*/
.banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* 👇 Default for narrow (mobile portrait) screens: fit width */
.responsive-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* = 100vw * 9 / 16 */
  transform: translate(-50%, -50%);
}

/* 👇 For wider screens (desktop / landscape): fit height */
@media (min-aspect-ratio: 16/9) {
  .responsive-iframe {
    width: 177.78vh; /* = 100vh * 16 / 9 */
    height: 100vh;
  }
}

/*video banner end*/

.gallery__item {
  align-items: center;
  display: flex;
  justify-content: center;
}

.gallery__item > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.gallery__item--hor {
  grid-column: span 2;
}

.gallery__item--vert {
  grid-row: span 2;
}

.gallery__item--lg {
  grid-column: span 2;
  grid-row: span 2;
}
/*   
  @media only screen and (min-width: 1300px) {
    
    .gallery.memorabilia{width: 100%;}

} */
@media (max-width: 767px) {
  .videosection {
    /* padding-top: 93px;  */
  }
}
@media only screen and (max-width: 600px) {
  .banner-section {
    height: 48dvh; /* 👈 fixes white space issue in mobile browsers */
  }
  .topmargin {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }


  .bannerItem .play-iconBanner {
    top: 60%;
  }
  .ghc-2025-videosection .col-md-4.col-12 {
    margin-bottom: 27px;
  }

  .fancybox-slide--iframe {
    padding: 44px 0px 0 !important;
  }
  .fancybox-slide::before {
    content: "";
    display: inline-block;
    height: 100%;
    margin-right: 0px !important;
    vertical-align: middle;
    width: 0;
  }
  .ghc-2025-videosection {
    margin: 10px;
  }
  .ghc-2025-videosection .videoImage::before {
    opacity: 0.3;
  }

  /* Optional: Ensure play icon is visible (if it's otherwise hidden) */
  .ghc-2025-videosection .play-icon {
    opacity: 1;
    visibility: visible;
  }

  /* You can also change box-shadow if needed */
  .ghc-2025-videosection .videoCard {
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
  }
  .ghc-2025-videosection .image-text {
    padding: 10px;
    background-color: white;
    text-align: center;
    /*height: 84px; */
    height: auto;
    font-size: 15px;
    font-weight: 400;
    line-height: 16px;
  }

  .ghc-2025-videosection h1 {
    text-align: center;
    font-size: 28px;
    color: #e2b937;
    line-height: normal;
    margin: 25px 0px;
  }
  .widthAdjustable {
    margin-top: 40px;
  }
  .ghc-2025-videosection .col-md-4.col-6 {
    margin-bottom: 20px;
    padding: 0px 8px;
  }

  .image-text {
    height: 50px;
    line-height: 13px;
    font-size: 9px;
  }
  .gallery__item .play-icon {
    width: 40px;
    height: 40px;
  }
}
@media only screen and (max-width: 560px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    grid-auto-rows: 120px;
    grid-column: span 2;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }

}

@media only screen and (max-width: 412px) {
  .gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 2fr));
    grid-auto-rows: 150px;
    grid-column: span 1;
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }
}
