:root {
    /*Colors*/
    --white-text: #ffffff;
    --red: #E21818;
    --red-pallete: rgba(226, 24, 24, 0.5);

    --white-bg: #fbfbfe;
    --white-bg-hover: #d1cece;
    --block-bg: #f2efef;

    --black-text: #191618;
    --grey-text: #555;
    --white-low-text: #cbcbcb;

    --coral-bg: #fa9494;
    --coral-bg-opacity: #fa9494c9;

    --spacing-small: 68px;
    --spacing-medium: 16px;
    --spacing-large: 75px;

    --font-family: "Monda", sans-serif;
    --second-family: "Montserrat", sans-serif;

    --white: #f2f1f1;
    --gold: #ffd700;
    --grey-white: #7c828d;
    --grey: #292b2f;
    --bg: #1b1c1d;
    --purple: #48467d;
    --yellow-white: #ffee93;
}

hr {
    display: none;
}

.blog-top-post {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    gap: 20px;
}





.blog-top-title {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    line-height: 72px;
    color: #F2F1F1;
    margin-bottom: 20px;
}


.blog-description-card {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--grey-white);
    width: 100%;
    height: 50px;
    overflow: hidden;
}

.blog-info-card {
    gap: 15px;
}
.blog-name-card {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 39px;
    color: #F2F1F1;
    text-align: left;
    padding: 0;
    width: 100%;
    min-height: 78px;
    display: -webkit-box;
    -webkit-line-clamp: 2;     
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;       
}
.blog-post-content-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    flex-direction: column;
}
.blog-post-text-block table{
    display: table;
    border-spacing: 10px;
    border-collapse: collapse;
    margin: 20px 0;
}
.blog-post-text-block table td{
    border-style: solid;
    border-color: white;
    border-width: 1px 1px 0 0;
    padding: 10px;
}
.blog-post-text-block table td:first-child{
    border-left-width: 1px;
}
.blog-post-text-block table tr:last-child td{
    border-bottom-width: 1px;
}
.blog-post-text-block table th{
    padding: 10px;
}
.blog-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.content-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
    gap: 70px;
}

.features-section {
    display: flex;
    justify-content: space-between;
    text-align: justify;
    padding: 0;
    margin: 50px auto 70px auto;
}

.blog-post-banner {
    width: 100%;
    max-width: 1300px;
    padding: 0;
    margin: 50px auto 40px auto;
    position: relative;
    max-height: 530px;
}

.blog-post-banner::before {
    position: absolute;
    content: '';
    display: block;
    background: var(--grey);
    height: 100%;
    width: calc(100% - 100px);
    left: 20px;
    bottom: -20px;
    z-index: -1;
    border-radius: 50px;
    margin: 0 auto;
    left: 5.5%;
}

.rating-circles,
.rating-display {
    padding-right: 30px;
}

.rating-circles .error__field-inner {
    padding-bottom: 5px;
}

.blog-thumb {
    max-height: 530px;
    border-radius: 50px;
}

.blog-thumb img {
    width: 100%;
    max-width: 100%;
    max-height: 530px;
    object-fit: cover;
    object-position: top center;
    border-radius: 50px;

}

.blog-post-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-flow: column;
    gap: 40px;
}

.blog-post-content .blog-info-bottom {
    width: 100%;
    max-width: max-content;
    gap: 30px;
    margin: 0 auto 40px 0;
}

.blog-post-content img {
    border-radius: 50px;
}

/*Intro*/

.blog-post-intro h1 {
    font-weight: 700;
    text-align: left;
    margin: 28px 0px 10px 0px;

}

.blog-post-intro p {
    text-align: left;
    color: var(--black-text);
    margin-bottom: 50px;
}

.blog-post-text-block h1,
.blog-post-content h1 {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 54px;
    line-height: 88px;
    color: #F2F1F1;
    margin: 0;
    margin-bottom: 30px;
}

.blog-post-text-block h2 {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 700;
    font-size: 44px;
    line-height: 72px;
    color: #F2F1F1;
    margin-bottom: 15px;
}
.blog-post-text-block h3 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 42px;
    color: var(--white);
}

.blog-post-text-block a {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 700;
    font-size: 17px;
    line-height: 28px;
    color: var(--gold);
}

.blog-post-text-block p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #7C828D;
}

.blog-post-image-block {
    width: 20%;
    display: flex;
    justify-content: center;
}

.blog-post-image-block img {
    width: 100%;
    border-radius: 5px;
    height: 100%;
    object-fit: contain;
}

.blog-post-feature {
    width: 30%;
}

.blog-post-feature h3 {
    margin-bottom: 10px;
    font-weight: 700;
}

.blog-post-feature p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #7C828D;
    font-size: 16px;
}

.blog-post-text-block ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-post-text-block li {
    margin-bottom: 10px;
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #7C828D;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.blog-post-intro-info-holder {
    width: 77%;
}

.centered-image-wrapper {
    display: flex;
    justify-content: center;
    width: 70%;
}

.centered-image-wrapper img {
    width: 70%;
    border-radius: 50px;
}

.blog-related-blogs {
    max-width: 1340px;
    padding: 0 20px;
    margin: 0 auto 70px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}



.related_blogs {
    margin: 40px auto;
}

.blog-post-intro-card {
    display: flex;
    justify-content: space-between;
}

.second-card {
    flex-direction: row-reverse;
}

.block_reviews_wrapper {
    margin-top: 50px !important;
}

/*Purple theme */

.custom-hr {
    display: none;
    background-color: #F62DA3;
}

.blog-post-intro,
.blog-post-intro-info,
.blog-post-intro p,
.blog-post-text-block {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #7C828D;
}
.blog-post-text-block{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-post-text-block p {
    font-family: var(--second-family);
    font-style: normal;
    font-weight: 400;
    font-size: 17px;
    line-height: 28px;
    color: #7C828D;
}

.blog-post-text-block li {
    color: #cbcbcb;
}

.blog-post-intro-info li {
    color: #cbcbcb;
}

.blog-post-intro-info strong {
    color: #F62DA3;
}

.blog_subtitle {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 54px;
    line-height: 88px;
    color: var(--white);
}

.blog_related_slider-container {
    position: relative;
    width: 100%;
    max-width: 1865px;
    margin: 0 auto;
    overflow: hidden;
}

.blog_related_slider-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.blog_related_slider-track .blog-card {
    flex: 0 0 100%;
    max-width: 32.5%;
    min-width: 315px;
    box-sizing: border-box;
    margin: 0 10px;
    padding: 0 10px;
}

.blog_slider_btns {
    max-width: 110px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    display: none;
}

.blog_slider_btn {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background-color: var(--grey);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.blog_slider_btn:hover {
    background-color: var(--grey-white);
}

.blog_slider_btn img.arrow-prev {
    transform: rotate(182deg);
}

.blog_related_slider-track.slide-left {
    transform: translateX(-100%);
}

.blog_related_slider-track.slide-right {
    transform: translateX(100%);
}

.block_reviews_form .field_container input{
    width: 100%;
    flex: 0 0 100%;
    max-width: 290px;
    min-width: 210px;
}

@media (max-width: 981px) {
    .blog_slider_btns {
        display: flex;
    }

    .blog_related_slider-track .blog-card {
        max-width: 49.7%;
    }

}

/* 
@media (max-width: 1180px) {
  .blog_related_slider-track .blog-card {
    flex: 0 0 31.5%;
    max-width: 31.5%;
  }

}

@media (max-width: 845px) {
  .blog_related_slider-track .blog-card {
    flex: 0 0 47.5%;
    max-width: 47.5%;
  }

}
*/
@media (max-width: 695px) {
    .blog_related_slider-track .blog-card {
        flex: 0 0 100%;
        max-width: 100%;
        min-width: 290px;
    }

    .blog_related_slider-container {
        width: 100%;
        max-width: 356px;
        position: relative;
    }

}

@media (max-width: 1430px) {
    .blog-post-banner {
        padding: 0 20px;
    }
}

@media (max-width: 1300px) {


    .blog-post-container {
        padding: 0;
    }

    .block_reviews_wrapper {
        margin-top: 70px !important;
    }
}

@media (max-width: 1280px) {
    .blog-post-content-section {
        flex-direction: column;
    }

    .blog-post-image-block {
        width: 20%;
    }
}

@media (max-width: 1150px) {

    .custom-hr {
        width: 150px;
        height: 4px;
        /*background-color: var(--red-pallete);*/
        background-color: #F62DA3;
        border: none;
        border-radius: 30px;
        margin: 5px 0 10px 0px;
    }



    .blog-reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .blog-post-feature {
        width: 100%;
        margin-bottom: 30px;
    }

    .blog-post-text-block {
        margin-left: 0;
    }

    .blog-post-text-block ul {
        padding-left: 15px;
        margin-left: 0;
    }

    .blog-post-text-block li {
        font-size: 15px;
        margin-bottom: 15px;
        margin-left: 0;
    }

    .blog-post-intro p {
        margin: 0;
    }

    .blog-post-text-block h2 {
        margin-left: 0;
    }

    .blog-post-text-block p {
        line-height: 1.2;
        margin-left: 0;
    }

    .blog-post-image-block img {
        border-radius: 3px;
        margin: 10px;
    }

    .blog-post-features-section {
        padding: 30px;
        margin-left: 0;
    }

    .blog-post-feature p {
        line-height: 1.2;
    }

    .centered-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .centered-image-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .centered-image-wrapper img {
        width: 50%;
        border-radius: 5px;
    }

    /*Photos*/
    .blog-post-image-block {
        display: flex;
        justify-content: center;
        width: 20%;
    }

    .blog-post-image-block img {
        border-radius: 5px;
        margin: 30px;
    }
}

@media (max-width: 1024px) {
    .blog-related-blogs {
        margin: 0 auto 50px auto;
        gap: 30px;
    }
    .blog-post-content-section{
        padding: 0 20px;
    }

    .post-author__name span {
        font-size: 15px;
    }

    .post-date {
        font-size: 15px;
        font-weight: 600;
    }

    .blog-post-content-section,
    .content-section,
    .features-section {
        align-items: flex-start;
        margin: 0;
    }

    .blog-post-image-block img {
        margin: 0;
        height: auto;
    }

    .block_reviews_wrapper {
        margin-top: 50px !important;
    }
}

@media (max-width: 768px) {
    .blog_subtitle {
        font-size: 44px;
    }

    .blog-related-blogs {
        gap: 20px;
    }
    .blog-post-text-block h3 {
        font-size: 32px;
    }
}

@media (max-width: 774px) {
    .blog-post-intro-info-holder {
        width: 100%;
    }

    .blog-post-image-block {
        width: 100%;
    }

    .blog-post-banner {
        margin-bottom: 30px;
        margin-top: 30px;
        height: 85vw;
        max-height: 524px;
    }

    .blog-thumb {
        height: 85vw;
    }

    .blog-thumb img {
        aspect-ratio: 728 / 504;
        height: 85vw;
    }

    .blog-post-banner::before {
        bottom: -15px;
    }

    .blog-post-content .blog-info-bottom {
        margin-bottom: 0;
    }

    .blog-post-content {
        gap: 30px;
    }

    .blog-post-image-block img {
        width: 42%;
    }

    .blog-post-text-block h1,
    .blog-post-content h1 {
        font-size: 44px;
        line-height: 72px;
        margin-bottom: 20px;
    }

    .blog-post-text-block h2 {
        font-size: 38px;
        line-height: 62px;

    }

    .blog-post-intro-card {
        display: flex;
        flex-direction: column;
    }

    .block_reviews_wrapper {
        margin-top: 40px !important;
    }

    .second-card {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 560px) {
     .blog-post-text-block h3 {
        font-size: 22px;
    }
    .blog-post-banner {
        padding: 0 10px;
    }
    .blog-post-content-section{
        padding: 0 10px;
    }
    .blog_subtitle {
        font-size: 32px;
    }

    .blog-related-blogs {
        margin: 0 auto 40px auto;
        padding: 0 10px;
    }


    .blog-post-text-block h1,
    .blog-post-content h1 {
        font-size: 32px;
        line-height: 52px;
        margin-bottom: 15px;
    }

    .blog-post-banner {
        margin-bottom: 20px;
        margin-top: 15px;
        height: 290px;
        width: 290px;
        border-radius: 30px;
    }

    .blog-post-banner::before  {
        width: 270px;
        left: 17px;
        bottom: -3;
        border-radius: 30px;
    }
    .blog-post-text-block h2 {
        font-size: 24px;
        line-height: 39px;
        margin-bottom: 20px;
    }

    .blog-thumb {
        height: 290px;
        width: 290px;
    }

    .blog-thumb img {
        aspect-ratio: 1 / 1;
        height: 280px;
        width: 290px;
         border-radius: 30px;
    }

    .blog-post-banner::before {
        bottom: -10px;
    }

    .blog-post-content .blog-info-bottom {
        margin: 0 auto;
    }

    .blog-post-content {
        gap: 20px;
    }
}

@media only screen and (max-width: 520px) {
    .block_reviews_form .input-group {
        flex-direction: column;
        justify-content: start;
        align-items: flex-start;
        gap: 20px;
    }
    .rating-circles{
        padding-left: 10px;
        justify-content: flex-start;
    }
    .block_reviews_form{
        gap: 20px;
    }
    .block_reviews_form .field_container input, 
    .block_reviews_form .field_container textarea{
        max-width: 100%;
    }
    .block_reviews_form .field_container{
        max-width: 100%;
        width: 100%;
    } 
}
@media (max-width: 500px) {
    .blog-post-image-block img {
        width: 70%;
    }
}

@media (max-width: 425px) {

    .blog-post-content-section,
    .content-section,
    .features-section {
        align-items: flex-start;
        margin: 0;
    }
}