.single-post-header {
    background: #A997680D;
    padding: 40px;
    height: 540px;
    display: flex;
    align-items: center;
    padding-left: 12%;
    justify-content: center;
    padding-top: 60px;
}

.single-post-header {
    background-image: url(/wp-content/themes/Avada-child/images/svg-circle.svg);
    background-repeat: no-repeat;
}

.single-post-header-col {
    flex: 1;
    display: flex;
    height: 100%;
    a{
        overflow: hidden;
    }
}

.single-post-header-col img {
    width: 100%;
    object-fit: cover;
}

.single-post-header-col-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 46%;
    padding-right: 50px;
}


.single-post-meta {
    padding: 10px 20px;
    background: #A997681A;
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    color: #A99768;
    line-height: 27px;
    text-align: left;
    max-width: 560px;

}

.single-post-title {
    font-family: Alike;
    font-size: 51px !important;
    font-weight: 400;
    line-height: 61.2px;
    text-align: left;
}

.single-post-excerpt {
    font-family: Lato;
    font-size: 25px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
}



.embed-video-wrapper {
    width: 100%;
    height: 100%;
}







.sidebar-tab-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

a.sidebar-tab-button {
    /* font-family: Lato; */
    font-size: 16px;
    font-weight: 700;
    line-height: 20.5px;
    text-align: left;
    color: #006C7B !important;
    border: solid 1px #006C7B;
    padding: 16px;
    border-left: none;
    cursor: pointer;
    opacity: 0.5;
}

a.sidebar-tab-button.active {
    border-bottom: 0;
    opacity: 1;
}

.sidebar-tab-content {
    display: none;
    padding: 20px;
}

.sidebar-tab-content.active {
    display: block;
}

.sidebar-tab-content-text {
    font-family: Lato;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-tab-content-title {
    font-family: Alike;
    font-size: 31px;
    font-weight: 400;
    line-height: 31px;
    text-align: center;
}



.sidebar-description * {
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #002B30;
}

.sidebar-description a {
    font-weight: 600;
    text-decoration: underline;
}





.single-post-content-sidebar {
    border: solid 1px #006C7B;
    max-width: 430px;
    width: 100%;
    height: 100%;
    position: sticky;
    top: 200px;
    padding: 0;
    /* z-index: 9999999; */
}

.single-post-content-wrapper {
    display: flex;
    gap: 10px;
    padding-left: 10%;
    /* padding-right: 10%; */
    position: relative;
}

.single-post-content {
    width: 100%;
    padding-right: 50px;
}


.gform-grid-col {
    flex: 100% !important;
    width: 100%;
    display: block;
}

.ginput_container {
    /* width: 100%; */
    display: block;
}

.gfield--width-half {
    width: 100%;
    grid-column: span 12 !important;
}

.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container textarea,
.gform_wrapper .ginput_container select {
    border: solid 2px #A99768 !important;
}




























section.single-post-related-posts-wrapper {
    background: #52B9BF0D;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 10% 70px;
}

.single-post-related-subtitle {
    font-family: Lato;
    font-size: 13px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    color: #002B30;
    margin-bottom: 20px;
}



section.single-post-related-posts-wrapper h3 {
    font-family: Alike;
    font-size: 45px !important;
    font-weight: 400;
    line-height: 75.24px;
    text-align: center;
    color: #006C7B;
    margin-bottom: 30px !important;
}

.single-post-related-posts {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.single-post-related {
    display: flex;
    flex-direction: column;
    /* gap: 20px; */
    background: white;
    flex: 1;
}

.single-post-related-image {
    background-size: cover;
    background-position: center;
}

.single-post-related-post-title {
    font-family: Alike;
    font-size: 21px !important;
    font-weight: 400;
    line-height: 23px !important;
    text-align: center;
    color: #006C7B;
    margin: 0 !important;
}


.single-post-related-meta {
    display: flex;
    flex-direction: column;
    padding: 30px;
    align-items: center;
    gap: 20px;
    min-height: 160px;
}

.single-post-related-meta a {
    padding: 5px 10px;
    background: #A99768;
    color: white;
    font-family: Lato;
    font-size: 16px;
    font-weight: 800;
    line-height: 25.47px;
    text-align: center;
    border-radius: 10px;
    min-width: 180px;
    margin-top: auto;
}

.single-post-related-meta a:hover {
    opacity: 0.8;
}


section.about-the-author {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 90px;
    gap: 130px;
    background: url(/wp-content/themes/Avada-child/images/svg-circle.svg);
    background-repeat: no-repeat;
    background-size: contain;
}

.about-the-author-content h4 {
    font-family: Alike;
    font-size: 60px !important;
    font-weight: 400;
    line-height: 75.24px !important;
    text-align: left;
    color: #006C7B;
    margin: 0;
}

.about-the-author-content p {
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    text-align: left;
    color: #002B30;
}

.about-the-author-stats {
    display: flex;
    /* flex: 1; */
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}



.about-the-author-image {
    position: relative;
}

.about-the-author-image:after {
    content: "";
    border: solid 2px #A99768;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    left: 15px;
    bottom: -15px;
    z-index: 0;
}

.about-the-author-image img {
    position: relative;
    z-index: 1;
    height: 100%;
    object-fit: cover;
}




.about-stat {
    display: flex;
    /* flex: 1; */
    border-left: solid 2px #A99768;
    padding-left: 7px;
    gap: 10px;
    align-items: center;
    height: 40px;
}

.about-stat-number {
    font-family: Lato;
    font-size: 54px;
    font-weight: 400;
    line-height: 35.72px;
    text-align: left;
    color: #006C7B;
}

.about-stat-name {
    font-family: Lato;
    font-size: 16px;
    font-weight: 700;
    line-height: 14.55px;
    text-align: left;
    color: #002B30;
}

.about-the-author-link a {
    display: inline-block;
    padding: 5px 10px;
    background: #A99768;
    color: white;
    font-family: Lato;
    font-size: 16px;
    font-weight: 800;
    line-height: 25.47px;
    text-align: center;
    border-radius: 10px;
    margin-top: 30px;
    padding: 10px 20px;
    text-transform: uppercase;
}





.lightbox {
    background-color: rgba(0, 0, 0, 0.8);
    overflow: scroll;
    position: fixed;
    display: none;
    z-index: 1;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    z-index: 9999999999;
}

.lightbox-container {
    position: relative;
    max-width: 960px;
    margin: 7% auto;
    display: block;
    padding: 0 3%;
    height: auto;
    z-index: 10;
    z-index: 999999999;
}

@media screen and (max-width: 768px) {
    .lightbox-container {
        margin-top: 10%;
    }
}

@media screen and (max-width: 414px) {
    .lightbox-container {
        margin-top: 13%;
    }
}

.lightbox-content {
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
    text-transform: uppercase;
    background: transparent;
    position: absolute;
    font-weight: 300;
    font-size: 12px;
    display: block;
    border: none;
    color: white;
    top: -22px;
    right: 3%;
}

.video-container {
    padding-bottom: 56.25%;
    position: relative;
    padding-top: 30px;
    overflow: hidden;
    height: 0;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
}





.sidebar-tab-content .ginput_container input::placeholder {
    color: #BABABA;
}

.sidebar-tab-content .gform_fields legend {
    display: none !important;
}

.sidebar-tab-content .gform_wrapper .top_label .gfield_label {
    display: none;
}

.sidebar-tab-content .gform-theme--foundation .gform_fields {
    row-gap: 15px;
}

.sidebar-tab-content input[type="submit"] {
    width: 100% !important;
}





span.close-sidebar {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    background: black;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 11px;
    display: none;
}


@media screen and (max-width:1400px) {
    .single-post-header {
        padding-left: 5%
    }

    section.about-the-author {
        gap: 40px;
        padding: 40px;
    }
}

@media screen and (max-width:1550px) {
    .single-post-title {
        font-size: 42px !important;
    }
}

@media screen and (max-width:1180px) {
    .single-post-page-builder-wrapper {
        max-width: 1060px;
        margin: 0 auto;
    }

    .single-post-content-sidebar {
        max-width: 600px;
    }

    .single-post-header {
        flex-direction: column;
        height: auto;
        margin-top: 50px;
        gap: 20px;
        padding-left: 15px;
    }

    .single-post-header-col-left {
        gap: 15px;
        max-width: 800px;
        padding-right: initial;
    }

    .single-post-meta {
        max-width: none;
    }



    .about-stat-number {
        font-size: 35px;
    }

    .about-the-author-content h4 {
        font-size: 35px !important;
    }



}



@media screen and (max-width:700px) {
    .single-post-title {
        font-size: 30px !important;
    }

    .single-post-header {
        padding: 10px;
        margin-top: 0;
    }

    .single-post-meta {
        font-size: 12px;
        line-height: 17px;
        padding: 15px 10px;
    }







    .single-post-content-sidebar {
        position: fixed;
        bottom: -46px;
        left: 0;
        width: 100%;
        height: 100px;
        top: initial;
        display: block;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99999999;
        background: white;
    }

    .sidebar-tabs {
        width: 100%;
        margin: 0 auto;
    }


    .single-post-content-sidebar.active {
        position: fixed;
        height: 100%;
        top: 0;
    }

    a.sidebar-tab-button {
        font-size: 14px;
        text-align: center;
    }

    .single-post-content-sidebar.active span.close-sidebar {
        display: flex;
    }


    .single-post-related-posts {
        flex-wrap: wrap;
    }

    .single-post-related-meta {
        min-height: initial;
    }

    .fusion-privacy-bar,
    .fusion-privacy-bar-full {
        z-index: 99999999999;
    }

    .about-stat-number {
        font-size: 19px;
    }

    .about-stat-name {
        font-size: 12px;
    }


    section.about-the-author {
        grid-template-columns: 1fr;
    }

    .about-the-author-image {
        max-width: 320px;
        margin: 0 auto;
    }



    section.about-the-author {
        padding: 10px;
        padding-bottom: 50px;
    }

    .about-the-author-stats {
        flex-wrap: wrap;
        gap: 2px;
    }

    .about-stat {
        flex: 1;
    }


    .single-post-excerpt {
        font-size: 18px;
    }

    .wa__btn_popup {
        bottom: 60px !important;
    }

    .sidebar-tab-buttons {
        grid-template-columns: 1fr auto;
    }

}