/* XXL devices (larger desktops, 1440px and up) */
@media (min-width: 1440px) {

  /* Keep your existing desktop styles here */
  .container {
    max-width: 80vw;
  }
}

/* Large devices (laptops/desktops, 1200px - 1439px) */
@media (max-width: 1439px) {}

/* Medium devices (landscape tablets, 992px - 1199px) */
@media (max-width: 1199px) {

  .blog-list .post-f-img {
    aspect-ratio: 3 / 2;
  }
}

/* Small devices (portrait tablets, 768px - 991px) */
@media (max-width: 991px) {
  header.site-header {
    clip-path: polygon(49% 100%, -120% 0px, 230% 0px);
  }
}

/* Extra small devices (phones, 576px - 767px) */
@media (max-width: 768px) {
  h2 {
    font-size: 3rem;
  }

  header.site-header {
    clip-path: polygon(49% 100%, -170% 0px, 280% 0px);
  }

  header.site-header .menu-text {
    display: none;
  }
  header.site-header .container{
		position:relative;
		padding-top: 0;
    padding-bottom: 0;
	}
  header.site-header .header-logo {
    width: 50%;
	  /* position: absolute;
	  left: 50%;
	  transform: translateX(-50%);
	  top: -10px; */
    margin-right: auto;
    margin-left: 16%;
  }

  .banner {
    margin-top: -25%;
  }

  .banner h1 {
    font-size: 5rem;
  }

  .banner h1 i {
    font-size: 6rem;
  }

  .about,
  .about-us,
  .timeline,
  .news,
  .wish,
  .team,
  .social {
    padding: 1.5rem 0 5.5rem 0;
    clip-path: polygon(50% 100%, -1100% 0px, 1200% 0px);
  }

  .about p {
    font-size: 1.375rem;
    line-height: 2.125rem;
  }

  .btn-orange {
    border: 1px solid #fff;
    background: transparent;
    color: #fff;
    padding: 0.625rem 5.313rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s;
    letter-spacing: 2px;
    border-radius: 0;
  }

  .embed h2 {
    font-size: 3rem;
  }

  .title span::before,
  .title span::after {
    width: calc((100vw - var(--container-width, 850px)) / 2 + 100%);
    display: none;
  }

  .about-us .title span,
  .for-fans .title span,
  .wish .title span,
  .timeline .title span,
  .team .title span,
  .news .title span,
  .social .title span,
  .notes .title span {
    font-weight: bold;
  }

  .list-box ul li {
    color: #ffffffad;
  }

  .just-img {
    margin-top: -14%;
  }

  .for-fans p,
  .timeline p,
  .wish h4,
  .wish .list-box .support p {
    font-size: 1.875rem;
    line-height: 50px;
  }

  .wish .list-box .support span {
    font-size: 3.75rem;
  }

  .wish .list-box .support p {
    line-height: 40px;
  }

  .just-img2,
  .ft-subscription {
    margin-top: -15%;
  }

  .news .news-box .blog-title a {
    font-size: 1.2rem;
  }

  .site-footer .ft-menu {
    justify-content: space-evenly;
  }

  .mega-menu .mega-left {
    display: none;
  }

  .mega-menu .mega-right a {
    font-size: 2.5rem;
    font-family: 'Montserrat-Bold';
  }

  .mega-menu .mega-right ul {
    line-height: 4rem;
  }

  .for-mob .list-box span.close-team svg {
    overflow: visible;
  }

  .for-mob .list-box span.close-team {
    top: -30px;
    right: -10px;
  }

  .for-fans.blog-list {
    clip-path: polygon(0% 0%,100% 0%,150% calc(99% - 50px),50% 100%,-50% calc(99% - 50px));
  }

  .blog-list .post-f-img {
    aspect-ratio: 16 / 9;
  }

  .blog-list .entry-header{
    margin-top: 15px;
  }

  .big-txt{
    bottom: 2rem;
  }
	.team-col{
		position: inherit;
	}
  .donate-btn{
    background-color: black;
  }
  .team .team-box{
    padding: 0;
  }
  .team .team-box .name{
    font-size: 1.2rem;
  }
  .team .team-box .does{
    font-size: 1.2rem;
    margin-top: 0;
  }
  .list-box{
    margin-top: 1rem;
  }
	
	/* iOS specific fixes */
.img-wrap {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
    -webkit-touch-callout: none; /* Disable callout menu */
}

/* Force hardware acceleration for smoother transitions on iOS */
.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    -webkit-transform: translateZ(0); /* Hardware acceleration */
    transform: translateZ(0);
    -webkit-transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ensure proper touch targets on iOS */
.gary-b-lamb-img,
.barry-gordon-img {
    min-height: 44px; /* Apple's minimum touch target size */
    min-width: 44px;
}
	
}

/* Mobile devices (phones, 425px - 575px) */
@media (max-width: 575px) {
  header.site-header {
    clip-path: polygon(49% 100%, -230% 0px, 340% 0px);
  }

  .banner h1 {
    font-size: 4rem;
  }

  .banner h1 i {
    font-size: 5.5rem;
  }
  header.site-header .header-logo{
    margin-left: 18%;
  }
  .mega-menu .mega-right a {
    font-size: 1.3rem;
  }
  .mega-right li {
    margin-bottom: 0;
  }
  .mega-menu .mega-right ul {
    line-height: 3rem;
  }
  .mega-right li:last-child a svg {
    width: 1.7rem;
  }
  .mega-right{
		margin-top: -5rem;
	}
}

/* Small mobile devices (phones, 375px - 424px) */
@media (max-width: 428px) {
  .banner h1 i {
    font-size: 3rem;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .embed h2 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .about-us .title span,
  .for-fans .title span,
  .wish .title span,
  .timeline .title span,
  .team .title span,
  .news .title span,
  .social .title span,
  .notes .title span,
  .notes-pvt .title span {
    font-size: 1.7rem;
  }

  .list-box h3 {
    font-size: 1.5rem;
  }

  .list-box ul li {
    font-size: 1.2rem;
  }

  .just-img,
  .just-img1 {
    margin-top: -20%;
  }

  .about,
  .about-us,
  .timeline,
  .news,
  .wish,
  .team,
  .social {
    padding: 1.5rem 0 5.5rem 0;
    clip-path: polygon(50% 100%, -1500% 0px, 1600% 0px);
  }

  .timeline .list-box .milestone p {
    line-height: 30px;
    margin-bottom: 0;
    margin-top: 1rem;
  }

  .ft-subscription {
    margin-top: -22%;
  }

  .header-logo img {
    width: 100%;
  }

  .header-caption {
    font-size: 0.7rem;
  }

  .ft-subscription .mc4wp-form-fields .input-group {
    width: 100%;
  }

  .mega-menu .mega-right a {
    font-size: 1.3rem;
  }

  .mega-menu .mega-right ul {
    line-height: 3rem;
  }

  .contactForm .wpcf7-form span {
    font-size: 0.9rem;
  }

  .industry-protected .title h3 {
    font-size: 1.5rem;
  }
  .social .tags span{
    font-size: 1.7rem;
  }
  .big-txt {
    bottom: 5rem;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
    height: auto;
  }
  .btn-play{
    top: 40%;
  }
  .btn-play svg{
    width: 6rem;
    height: auto;
  }
  .mega-right li{
    margin-bottom: 0;
  }
  .mega-menu{
    overflow-y: scroll;
  }
	.mega-right li:last-child a svg{
		width: 1.7rem;
	}
	.mega-right{
		margin-top: -5rem;
	}
}

/* Very small mobile devices (phones, 320px - 374px) */
@media (max-width: 374px) {
  .social .tags span{
    font-size: 1.4rem;
  }
  header.site-header .header-logo{
    width:60%;
  }
  header.site-header .header-logo{
    margin-left: 10%;
  }
  .banner h1 {
    font-size: 2.5rem;
  }
  .banner h1 i {
    font-size: 2.5rem;
  }
  .mega-menu .mega-right a {
    font-size: 1.1rem;
  }
}
@media (hover: none) {
  .img-wrap:hover .hover-img {
/*     opacity: 0 !important; */
  }
}
