.block-hero {
    margin-bottom: -60px;
    z-index: 2;
    position: relative;
}
.skewed-section {
    display: grid;
    grid-template-columns: 50vw 50vw;
    min-height: 750px;
    position: relative;
}

.slideheighthhome {
    height: 650px;
}

.left, .right {
    position: relative;
}

.left .homeleftbgimg {
    content: '';
    position: absolute;
    top: 0;
    left:-20%;
    width: 120%;
    height: 100%;
    transform-origin: top left;
    z-index: 1;
}

.right::before {
    content: '';
    position: absolute;
    top: 0;
    left:0%;
    width: 140%;
    height: 100%;
    transform-origin: top right;
    z-index: 0;
}

.right .right-content {
    content: '';
    position: absolute;
    top: 0;
    left:0%;
    width: 150%;
    height: 100%;
    transform-origin: top right;
    z-index: 0;
    overflow-x: hidden;
}

.right::before {
    background-color: transparent;
    transform: skewX(-20deg); 
}

.left-content{
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    top:180px;
    text-transform:uppercase;
}

.right-content {
    position: relative;
    z-index: 1;
    color: white;
}
.left-content .ast-container {
    flex-direction:column;
    padding-left:80px;
}
.left-content p {
    font-size: 1.313rem;
    color: var(--white);
    text-transform: none;
    max-width: 33%;
    font-weight: 300;
    margin-top: 20px;
    font-family: "Montserrat", sans-serif;
}
.left-content h1 {
    color: var(--white);
    font-size:6.875rem;
    font-weight:bold;
    line-height: .8;
}
.left-content .h1line2 {
    color: var(--white);
    font-weight:normal;
    font-size:7.5rem;
    font-family: "Cicero", sans-serif;
}

.headerslides .slick-dots {
    position: absolute;
    bottom: 20px;
    z-index: 99;
}

.headerslides {
    margin-bottom:0px!important;
}

.headerslides .rightslideholder {
        margin-left:-240px!important;
        margin-right:240px!important;
}

.headerslides .slick-dots li button:before {
    background-color: transparent;
    border: 3px solid #ffffff;
    height: 16px;
    opacity: 1;
    width: 16px;
    color:transparent;
    border-radius:50%;
    transform: skewX(20deg);
}
.headerslides .slick-dots li.slick-active button:before {
    background-color: #ffffff;
    border: 3px solid #ffffff;
    height: 16px;
    opacity: 1;
    width: 16px;
    color:transparent;
    border-radius:50%;
    transform: skewX(20deg);
}

.hhbuttongrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: absolute;
    bottom:57px;
    left:-244px;
    transform: skewX(-20deg);
    max-width:100vw;
    width: calc(100% + 28vw);
}

.hhbuttongrid .yellowbutton {
    background-color: var(--yellow);
    color: var(--black);
}
.hhbuttongrid .yellowbutton:hover {
    background-color: var(--yellowhover);
    color: var(--black);
}
.hhbuttongrid .greybutton {
    background-color: var(--medium-gray);
    color: var(--white);
}
.hhbuttongrid .greybutton:hover {
    background-color: var(--medium-grayhover);
    color: var(--white);
}
.hhbuttongrid .darkgreybutton {
    background-color: var(--gray);
    color: var(--white);
}  
.hhbuttongrid .darkgreybutton:hover {
    background-color: var(--grayhover);
    color: var(--white);
}

.hhbuttongrid .hhbtn {
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    text-transform:uppercase;
    font-style: italic;
    transition: background-color 0.3s ease;
    text-align: center;
}
.headerslides::before {
  content: ''; /* Required for pseudo-elements to work */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Create the gradient. 0.55 black held through the top 10% keeps even a
     white background at or below #757575 behind the menu text (WCAG). */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.55) 10%,
    rgba(0, 0, 0, 0) 100%
  );
  
  /* Make sure the gradient is on top of the image */
  z-index: 1; 
}
.transparent-slanthome {
    overflow: clip;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    transform: skewX(-20deg);
    width: 140%;
    height: 100%;
    margin-left: -40%;
    display:none;
}

@media (min-width:992px) {
    .hhbuttongrid {
        width: calc(100% + 26vw);
    }
    .right .right-content {
        width: 150%;
    }
}
@media (min-width:1200px) {
    .hhbuttongrid {
        width: calc(100% + 22vw);
    }
}
@media (min-width:1440px) {
    .hhbuttongrid {
        max-width: 68vw;
    }
}
@media (min-width:1600px) {
    .hhbuttongrid {
        max-width: 66vw;
    }
}
@media (min-width:1920px) {
    .hhbuttongrid {
        max-width: 63vw;
    }
}
@media (min-width:2200px) {
    .hhbuttongrid {
        max-width: 61vw;
    }
}
@media (min-width:2500px) {
    .hhbuttongrid {
        max-width: 60vw;
    }
}

@media(max-width:1399.96px) {
    .left-content h1 {
        font-size:6rem;
    }
    .left-content .h1line2 {
        font-size:6.6rem;
    }   
}
@media(max-width:1199.96px) {
    .left-content h1 {
        font-size:5.2rem;
    }
    .left-content .h1line2 {
        font-size:5.7rem;
    }   
}
    
@media(max-width:991.96px) {
    .left-content h1 {
        font-size:4.4rem;
    }
    .left-content .h1line2 {
        font-size:4.9rem;
    }   
    .left-content p {
        font-size:1.1rem;
    }
}
@media(max-width:921.96px) {
    .block-hero {
        /* Height of the bottom text panel. The slider height, panel position
           and dot offset all derive from it: slider = 400px + panel, dots sit
           20px above the panel (bottom edge 380px from the hero top). */
        --hh-rect-h: 250px;
    }
    .left-content {
        top: 400px;
        height: var(--hh-rect-h);
        display: flex;
        align-items: center;
        z-index: 3;
    }
    .left-content p {
        max-width:100%;
    }
    /* The skewed slab becomes a full-width rectangle holding the hero text,
       flush with the bottom of the slider images. */
    .transparent-slanthome {
        width: 100%;
        height: var(--hh-rect-h);
        margin-left: 0;
        display: block;
        z-index: 2;
        position: absolute;
        top: auto;
        bottom: 0;
        transform: none;
    }
    .skewed-section {
        display: grid;
        grid-template-columns: 100vw;
        min-height: auto;
    }
    .skewed-section .left {
        display:none;
    }
    .right::before {
        background-color: transparent;
        transform: skewX(0deg); 
    }
    .hhbuttongrid {
        display: block;
        position: relative;
        background-color: #000;
        bottom: 0;
        left: 0;
        right: 0;
        transform: skewX(0deg);
        width: 100%;
        padding-top:20px;
        padding-bottom:10px;
        margin-top:0;
        z-index: 1;
    }
    .hhbuttongrid .hhbtn {
        padding: 10px 20px;
        margin: 0px 20px 10px;
        text-decoration: none;
        font-weight: bold;
        text-transform: uppercase;
        font-style: italic;
        transition: background-color 0.3s ease;
        text-align: center;
        display: inline-block;
        width: calc(100% - 40px);
        transform: skewX(-20deg);
    }
    .hhbtn .unskew {
        display: inline-block;
        width: 100%;
    }
    .right .right-content {
        position: relative;
        width: 100%;
        transform: skewX(0deg)!important;
        height:auto;
        overflow: hidden;
    }
    .headerslides .slick-dots li button:before {
        transform: skewX(0deg);
    }
    .headerslides .slick-dots li.slick-active button:before {
        transform: skewX(0deg);
    }
    .headerslides .slick-dots {
        bottom: calc(var(--hh-rect-h) + 20px);
    }
    .slideheighthhome {
        height: calc(400px + var(--hh-rect-h));
        transform: skewX(0deg)!important;
        background-position: center;
    }
    .headerslides .rightslideholder {
        margin-left:0px!important;
        margin-right:0px!important;
    }
}
@media(max-width:767.96px) {
    .left-content h1 {
        font-size:3.6rem;
    }
    .left-content .h1line2 {
        font-size:4.1rem;
    }   
}
@media(max-width:575.96px) {
    .block-hero {
        /* Smaller screens wrap the description onto more lines; 260px keeps
           ~15px breathing above/below the text and still fits a max-length
           (200 char) description at 320px. */
        --hh-rect-h: 260px;
    }
    .left-content h1 {
        font-size:2.813rem;
    }
    .left-content .h1line2 {
        font-size:3rem;
    }   
    .left-content p {
        font-size:1rem;
    } 
}