#blogHeadContainer {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 5em;
}
#blogHeadText {
    font-size: 60px;
    line-height: 60px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

#blogHeadText span{
    font-size: 30px;
    line-height: 30px;
    display: block;
}

#blogHeaderContainer{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5em;
}
#blogHeaderWrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60%;
}
#blogHeadHeader {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-align: center;
}
#blogHeadDescription {
    font-size: 14px;
    text-align: center;
}

/*
#blogCategoryContainer {
    display: flex;
    gap: 1em;
    justify-content: flex-start;
    align-items: center;
}
.blogCategory {
    padding: 0.5em;
    border: 1px solid #ccc;
    font-size: 14px;
    color: #fff !important;
}
*/

.blogListPostContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    gap: 1em;
}
 .blogListImg-wrapper,
.blogListPost {
    display: flex;
    position: relative;
    height: 404px;
    overflow: hidden;
}
    /* Target the first 3 items and set their flex properties */
    .blogListPost-item:nth-child(5n+1),
    .blogListPost-item:nth-child(5n+2),
    .blogListPost-item:nth-child(5n+3),
    .blogListPost:nth-child(5n+1),
    .blogListPost:nth-child(5n+2),
    .blogListPost:nth-child(5n+3) {
        flex: 1 0 calc(33.33% - 1em);
    }
    /* Target the next 2 items and set their flex properties */
    .blogListPost-item:nth-child(5n+4),
    .blogListPost-item:nth-child(5n+5),
    .blogListPost:nth-child(5n+4),
    .blogListPost:nth-child(5n+5) {
        flex: 1 0 calc(50% - 1em);
    }

    .blogListPost:hover {
        box-shadow: 0 2px 6px 0 #ddd;
    }

.blogListPost > a {
    font-size: 0;
}

.blogListPost-item{
    display: block;
    overflow: hidden;
}

.blogListImgWrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
}

.blogListImg {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
    margin: 0;
}
    .blogListPost:hover .blogListImg {
        transform: scale(1.1);
    }

.blogListImgBackground {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0.5;
}

.blogListTextContainer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em;
}

.blogListTextWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #777;
    padding: 5px 15px;
    box-shadow: 0 0 35px rgba(0, 0, 0, .5);
}

.blogListHeader {
    display: flex;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    padding: 0.5em;
    text-align: center;
    word-break: break-word;
    background: #777;
    height: 100%;
}
.pageId1 .blogListHeader b {
    font-weight: normal;
}
.blogListDescription {
    font-size: 16px;
    color: #fff;
    text-align: center;
    margin: 0.5em;
}

.blogListText {
    font-size: 12px;
    color: #fff;
}

#blogPostVideoContainer {
    position: relative;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 5em;
}
#blogPostVideo {
    width: 100%;
    height: 100%;
    line-height: 0;
}
#youtubePlayer {
    transition: aspect-ratio 1s ease-in-out;
    aspect-ratio: 16 / 5;
}
#blogPostVideoCoverContainer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
#blogPostVideoCoverImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}
#blogPostVideoCoverBackground {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: 0.5;
}
#blogPostVideoCoverButtonContainer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
#blogPostVideoCoverButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    color: #000;
    background-color: #fff;
    font-size: 25px;
    transition: font-size 0.2s ease-in-out;
    padding-left: 5px;
}
    #blogPostVideoCoverButtonContainer:hover #blogPostVideoCoverButton {
        color: #fff;
        background-color: #87b7a3;
        font-size: 40px;
    }

.blogPostHeadImg {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin: 0;
}

#blogPostHeaderWrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
}
#blogPostTopic {
    font-size: 14px;
    font-weight: bold;
    color: #6c757d;
    margin-bottom: 1em;
    text-align: left;
}
#blogPostHeader {
    font-size: 40px;
    font-weight: bold;
    text-align: left;
    line-height: 1.2;
}
#blogPostHeader h1 {
    font-size: inherit;
    font-weight: inherit;
}

#blogPostTextContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#blogPostTextWrapper {
    display: flex;
    flex-direction: column;
    width: 60%;
    text-align: left;
}
    #blogPostTextWrapper > * {
        margin: 0;
    }
    #blogPostTextWrapper > h1:not(:first-child),
    #blogPostTextWrapper > h2:not(:first-child),
    #blogPostTextWrapper > h3:not(:first-child),
    #blogPostTextWrapper > h4:not(:first-child),
    #blogPostTextWrapper > h5:not(:first-child) {
        margin: 24px 0 12px 0;
    }
    #blogPostTextWrapper > h1:first-child,
    #blogPostTextWrapper > h2:first-child,
    #blogPostTextWrapper > h3:first-child,
    #blogPostTextWrapper > h4:first-child,
    #blogPostTextWrapper > h5:first-child {
        margin: 0 0 12px 0;
    }
    #blogPostTextWrapper > p,
    #blogPostTextWrapper > ul,
    #blogPostTextWrapper > div {
        margin: 0 0 12px 0;
        font-size: 14px;
    }
    #blogPostTextWrapper img {
        margin: 0;
        width: 100%;
        height: auto;
    }
    #blogPostTextWrapper a:hover {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-decoration-color: #87b7a3;
    }

#blogPostProductsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 2em;
    align-items: stretch;
}
#blogPostProductsImgContainer {
    flex: 0 1 auto;
    max-height: 100%;
}
#blogPostProductsImg {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}
#blogPostProductsBox {
    padding: 2em;
    background-color: #fff;
    box-shadow: 4px 4px 6px 4px #ddd;
    flex: 1;
    height: 100%;
    width: auto;
    white-space: nowrap;
}

@media (max-width: 767px) {
    #blogHeaderWrapper,
    #blogPostHeaderWrapper {
        width: 100%;
        margin: 0 3em;
    }
    #blogPostTextWrapper {
        width: 100%;
        padding: 0 3em;
    }
    #blogHeadText {
        font-size: 30px;
         line-height: 30px;
    }
    #blogHeadText span{
        font-size: 15px;
         line-height: 15px;
    }
    #blogPostHeader {
        font-size: 24px;
    }
    #blogHeadContainer {
        margin-bottom: 3em;
        max-height: 150px !important;
    }
    #blogHeaderContainer,
    #blogPostVideoContainer {
        margin-bottom: 3em;
    }
    .blogListImg-wrapper,
    .blogListPost {
        height: 150px;
    }
    .blogListPost-item:nth-child(1n+1),
    .blogListPost:nth-child(1n+1) {
        flex: 1 0 calc(100% - 1em);
    }

    .blogListHeader {
        font-size: 16px;
    }

    .blogListDescription {
        font-size: 12px;
    }
    #blogPostVideoCoverButton {
        height: 60px;
        border-radius: 22px;
    }

    #blogPostProductsImgContainer {
        display: none;
    }
    #blogPostProductsBox {
        white-space: normal;
    }
}

@media (min-width: 768px) and (max-width: 959px) {
    #blogPostHeaderWrapper,
    #blogPostTextWrapper {
        width: 80%;
    }

    #blogHeadContainer {
        max-height: 300px !important;
    }
    .blogListImg-wrapper,
    .blogListPost {
        height: 355px;
    }
    .blogListPost-item:nth-child(3n+1),
    .blogListPost-item:nth-child(3n+2),
    .blogListPost:nth-child(3n+1),
    .blogListPost:nth-child(3n+2) {
        flex: 1 0 calc(50% - 1em);
    }
    .blogListPost-item:nth-child(3n+3),
    .blogListPost:nth-child(3n+3) {
        flex: 1 0 calc(100% - 1em);
    }
}

@media (min-width: 960px) and (max-width: 1281px) {
     .blogListImg-wrapper,
    .blogListPost {
        height: 295px;
    }
}