:root {
    --yellow: #f9ac1a;
    --white: #fff;
    --black: #000;
}

/* Hiding parts */
.single .entry-meta {
    display: none;
}
.single .entry-title {
    display: none;
}

/* Header */
.single .single-header {
    position: relative;
    width: 100vw;
    left: calc(-50vw + 50%);
    padding: 64px 32px;
    text-align: center;
    color: var(--white);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.single-header:before {
    position: absolute;
    content: "";
    bottom: -50px;
    left: 0;
    background-image: url(/wp-content/uploads/2020/10/hp_hero_graphics_left.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: contain;
    width: 100%;
    height: 143px;
}
@media (max-width: 330px) {
    .single-header:before {
        bottom: -25px;
    }
}
@media (min-width: 500px) {
    .single-header:before {
        bottom: -70px;
    }
}
@media (min-width: 768px) {
    .single .single-header {
        padding: 100px 32px;
        /* Animation */
        /* animation: heroExpand linear 5s;
        animation-iteration-count: 1;
        animation-fill-mode: forwards; */
    }
    .single-header:before {
        bottom: -50px;
    }
}
@media (min-width: 922px) {
    .single .single-header {
        padding: 175px 32px;
    }
}
@media (min-width: 1024px) {
    .single-header:after {
        position: absolute;
        content: "";
        background-image: url(https://www.northernconstruction.com/wp-content/uploads/2020/10/hp_hero_graphics_right.png);
        background-size: contain;
        background-repeat: no-repeat;
        bottom: -200px;
        right: 0;
        width: 279px;
        height: 473px;
    }
}

.single-header .header-wrap {
    max-width: 563px;
    margin: auto;
    position: relative;
}
.single-header .header-wrap:before {
    position: absolute;
    content: "";
    background-color: #fff;
    width: calc(100% - 52px);
    height: 4px;
    bottom: -4px;
    left: 0;
}
.single-header h1 {
    color: #ffffff;
    /* font-size: 40px; */
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 55px 25px;
    border: 4px solid #fff;
    position: relative;
    border-right: none;
    border-bottom: none;
}
@media (min-width: 1024px) {
    .single-header h1 {
        font-size: 32px;
    }
}
.single-header h1:after {
    position: absolute;
    content: "";
    background-color: #fff;
    top: 0;
    right: 0;
    width: 4px;
    height: calc(100% - 50px);
}
.single-header h1:before {
    position: absolute;
    content: "";
    bottom: -4px;
    left: -4px;
    width: calc(100% + 4px);
    height: 55px;
    background-image: url(/wp-content/uploads/2020/11/hero-box-bottom-triangle.png);
    background-repeat: no-repeat;
    background-size: cover;

    background-position: right bottom;
    z-index: 3;
}
.single-header .slideInRight {
    animation-name: slideInRight;
    animation-fill-mode: forwards;
    animation-duration: 2s;
}

/* Content Wrapper */
.single .entry-content {
    margin-top: 64px;
    position: relative;
    background-color: #fff;
}
@media (min-width: 768px) {
    .single .entry-content {
        margin-top: 140px;
    }
}

.single .entry-content a {
    text-decoration: underline;
    color: var(--yellow);
}
.single .entry-content h2 {
    color: var(--yellow);
}
.single .entry-content h3 {
    font-size: 22px;
}
@media (min-width: 768px) {
    .single .entry-content h2 {
        font-size: 27px;
    }
}

/* Animations */
@keyframes heroExpand {
    0% {
        background-size: 100% auto;
    }
    50% {
        background-size: 110% auto;
    }
    100% {
        background-size: 125% auto;
    }
}

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(0);
    }
}
