@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@1,800&display=swap');


/* @import url('http://example.com/example_style.css'); */

/***********************************************/
/* CSS @imports must be at the top of the file */
/* Add them above this section                 */
/***********************************************/

/*****************************************/
/* Start your style declarations here    */
/*****************************************/

.kanit-extrabold-italic {
  font-family: "Kanit", sans-serif !important;
/*   font-weight: bold !important; */
  font-weight: 800 !important;
  font-style: italic !important;
} 

h1,h2 {
  font-style: italic !important;
}
 h1 {
  filter: drop-shadow(0px .08em .05em rgba(0,0,0,0.5));
}

.text-small {
  font-size: 50%; !important; 
}

.pwr--full-width {
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.pwr-hero--large/*, .pwr-hero--transparent-header.pwr-hero--large, .pwr-video-background, .pwr-video-background__youtube*/  {
  height: 56.25vw !important; 
  max-height: 90vh;
}

div.pwr-hero--large {
  background-position: center top !important;
}

.pwr-hero__info-box {
  bottom: 5% !important;
}

@media screen and (max-width: 575px) /*mobile*/ {
  .pwr--full-width {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .pwr-hero /*:not(.pwr-hero--full-height):not(.pwr-hero--content-height)*/ {
    height: auto !important;
    min-height: 85vh !important;
  }
  .pwr-hero .pwr-hero__info-box {
    position: absolute !important; 
  }
  h1 {
    font-size: 60px !important;
    line-height: 60px !important;
    margin-bottom: 10px !important;
  }
  .pwr-countdown {
    margin-top: 0px;
    padding: 20px 0 20px;
  }
  .pwr-countdown__element {
    margin: 0 0% 15px;
    width: 20%;
  }
  .pwr-countdown__number {
    font-size: 36px;
  }
  .pwr-countdown__desc {
    font-size: 15px;
    font-weight: 500;
    padding: 0 5px;
  }
}

@media screen and (min-width: 576px) and (max-width: 767px) /*tablet*/ {
  .pwr--full-width {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  h1 {
    font-size: 90px !important;
    line-height: 90px !important;
    margin-bottom: 15px !important;
  }
  .pwr-video-background-plyr .plyr__video-embed {
    object-fit: cover !important;
    object-position: center !important;
    max-width:100% !important;
  }
  .pwr-countdown {
    margin-top: 0px;
    padding: 20px 0 20px;
  }
  .pwr-countdown__element {
    margin: 0 0% 20px;
    width: 20%;
  }
  .pwr-countdown__number {
    font-size: 60px;
  }
  .pwr-countdown__desc {
    font-size: 20px;
    font-weight: 500;
    padding: 0 5px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1199px) /*desktop-sm*/ {
  h1 {
    font-size: 120px !important;
    line-height: 120px !important;
    margin-bottom: 20px !important;
  }
  .pwr-video-background-plyr .plyr__video-embed {
    object-fit: cover !important;
    object-position: center !important;
    max-width:100% !important;
  }
  .pwr-countdown {
    margin-top: 0px;
    padding: 30px 0 30px;
  }
  .pwr-countdown__element {
    margin: 0 0% 24px;
    width: 20%;
  }
  .pwr-countdown__number {
    font-size: 90px;
  }
  .pwr-countdown__desc {
    font-size: 24px;
    font-weight: 500;
    padding: 0 5px;
  }
}

@media screen and (min-width: 1200px) /*desktop-lg*/ {
  .pwr-video-background-plyr .plyr__video-embed {
    object-fit: cover !important;
    object-position: center !important;
    max-width:100% !important;
  }
  .pwr-countdown {
    margin-top: 0px;
    padding: 40px 0 40px;
  }
}

/*
@media (max-width: 575px /*{ { mqMaxMobile }}* /) {
  .pwr--full-width {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
*/

/*
.pwr-burger__trigger-open {
  visibility: hidden;
}
.pwr-stat {
  vertical-align: top;
}
*/


/*
 .pwr-tabs__body--hor .pwr-tabs__content:not(.pwr-collapse-content){
  display: block !important;
}
*/

/* 2nd attempt 
.pwr-tabs__body .pwr-tabs__content:first-child{
  display: inherit !important;
}
*/

.pwr-tabs__body--hor .pwr-collapse-content{
  display: none !important;
}

.pwr-tabs__body--hor .pwr-tabs__content:not(.pwr-collapse-content){
  display: block !important;
}


/*
.pwr-hero__desc {
  max-width: 800px !important;
}
*/


/*.pwr-hero__info-box {
  max-width: 100%;
  padding: 30px;
  background-color: rgba(103, 148, 54, .9);
}
*/

/* Parrallex Hero Video Display Hieght Fix */

/* --- THE STREET HEAT "CORNER KILLER" FIX --- */

@media (max-width: 991px) {
  /* 1. THE HERO: Lock the 16:9 box */
  .pwr-hero:has(.pwr-video-background-plyr) {
    height: 56.25vw !important; /* Cinematic height */
    min-height: 300px !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
  }

  /* 2. THE PARALLAX CONTAINER: Breakout of the Grid */
  /* We target the exact classes from your dev console to override the JS */
  .pwr-video-background-plyr.pwr-parallax,
  .pwr-video-background-plyr--pos-parallax,
  .pwr-bg.pwr-parallax {
    /* FORCE FULL SCREEN WIDTH */
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    height: 100% !important;
    
    /* FORCE OUT OF THE BOTTOM-RIGHT CORNER */
    position: absolute !important;
    top: 0 !important;   /* Kills the 50% drift */
    left: 0 !important;  /* Kills the 50% drift */
    
    /* THE BREAKOUT MATH */
    margin-left: calc(50% - 50vw) !important;
    
    /* YOUR DISCOVERY: Reset the transform */
    transform: translate(0, 0) scale(1) !important;
    -webkit-transform: translate(0, 0) scale(1) !important;
  }

  /* 3. THE PLYR & VIDEO: Force them to fill the breakout */
  .pwr-video-background-plyr .plyr,
  .pwr-video-background-plyr .plyr__video-wrapper,
  .pwr-video-background-plyr video {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    object-fit: cover !important;
    transform: none !important;
  }

  /* 4. CONTENT FIX: Keep text centered in the smaller hero */
  .pwr-hero__info-box {
    width: 100% !important;
    max-width: 100% !important;
    padding: 20px !important;
    bottom: 5% !important;
    left: 0 !important;
    text-align: center !important;
  }
}

/* 5. GLOBAL SAFETY: Prevent horizontal scroll on mobile */
html, body {
  overflow-x: hidden !important;
}

@media (max-width: 575px) {
  .pwr-hero .pwr-hero__info-box {
    /* translateY moves the box DOWN by exactly the amount you specify */
    /* Adjust '30px' until it sits perfectly below your nav bar */
    transform: translateY(30px) !important;
    
    /* Ensure padding-top is also helping if you want more space inside the box */
    padding-top: 1.5em !important; 
  }
}

/* End of Hero Video Display Hieght Fix*/