/* ==============================================
    POST
============================================== */
* {    
    box-sizing: border-box;
}
.btns-wrapper {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-end;
    margin-top: 50px;
}
a.btn, span.btn, button.btn, input.btn {
    border: 1px solid #00aff0;
    border-radius: 35px;
    width: 160px;
    height: 50px;
    background-color: #fff;
    color: #00aff0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 50px auto 0 auto;
}
.btn.load-more:hover {
    background-color: #00aff0;
    color: #fff;
}
.posts-title {
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    margin-top: 80px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
.post-container {   
    padding: 10px 10px;
}
.post {   
    margin: 0 auto;
    width: 700px;
    border-top: 1px solid rgba(138,150,163,.25);
    border-bottom: 1px solid rgba(138,150,163,.25);
    border-left: 1px solid rgba(138,150,163,.25);
    border-right: 1px solid rgba(138,150,163,.25);
    overflow: hidden;
}
.post-header {
    padding: 50px 100px 40px 100px;
}
a.post-title {
    color: #000;
}
a.post-title:hover {
    text-decoration: underline;
}
.post a.post-title h3 {
    color: #000;
    margin: 20px 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
}
.post:not(.single-post) .img-wrapper {
    width: 100%;
    height: 400px;
}
.post:not(.single-post) .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media {
    position: relative;
    padding: 0 20px 20px 20px;
    background: rgb(246, 247, 248);
    width: 100%;
    height: calc((670px * 60) / 100);
}

.post .locked-overlay {
    width: 100%;
    height: 100%;
    /* width: calc(100% - 60px);
    height: calc(100% - 60px); */
    /* background: rgba(246, 247, 248, .9); */
    padding: 50px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    /* top: 30px;
    left: 30px;
    right: 30px;
    left: 30px; */
    top: 0px;
    left: 0px;
    right: 0px;
    left: 0px;
    z-index: 2;
    /* border-radius: 6px; */
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
}
.post .lock-icon i {
    color: rgba(145, 145, 145, .5);
    font-size: 150px;
}
.post p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
    position: relative;
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
}
.post-header {
    padding: 30px 100px 20px 100px; 
}
.post-header .row-1 {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    background: #fff;
    margin-bottom: 20px;
}
.post-header .row-1 .column-1 {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.post-header .row-1 .column-2 {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.post-date {
    font-size: 13px;
    margin-right: 10px;
}
.post-footer {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 15px 100px;
    background: #fff;
    border-top: 1px solid rgba(138,150,163,.25);
}
.post-footer .column {
    width: 50%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
}
.post-footer .column.column-1 {
    justify-content: start;
}
.post-footer .column.column-2 {
    justify-content: end;
}
.post-footer i {
    /* padding: 10px; */
    color: rgba(200, 200, 200, 1);
    font-size: 20px;
}
.post-footer i:first-child {
    font-size: 17px;
}
.post-footer .column i {
    margin-right: 5px;
}
.post-footer .column-2 {
    display: flex;
    flex-flow: row nowrap;
}
.post-footer .column-2 svg {
    margin-top: 5px;
}
.post-header .row-2 p:first-child {
    margin-top: 10px;
}
.post-header .row-2 p {
    margin-bottom: 10px;
}
.post-header .row-2 p span {
    color: #00aff0;
}
.post-footer i.ion-android-favorite-outline {
    transition: .4s;
}
.post-footer i.ion-android-favorite {
    transition: .4s;
    color: red;
}
.post-footer .column > div {
    display: flex; 
    flex-flow: row nowrap; 
    align-items: center;
}
.post-footer .column > div i {
    margin-right: 5px;
}
.post-footer .column-1 .likes i,
.post-footer .column-1 .comments i {
    cursor: pointer;
}
.post-footer .column > div > span {
    font-size: 13px; 
    margin-bottom: 2px;
}
.post-footer .column .likes {
    margin-right: 10px;
}
.post-footer .column .comments {
   width: auto;
}
/* Subscribe */
.svg-color {
    fill: #000;
}
.subscribe-box {
    background: rgb(246, 247, 248);
    color: #8a96a3;
    /* position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px; */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(138,150,163,.25);
    border-radius: 6px;
    padding: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}
.h-btn {
    width: 65%;
    border-radius: 1000px;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: space-between;

    border: none;
    padding: 15px 18px;
    font-size: 14px;
    line-height: 20px;
    color: #fefefe;
    background: #00aff0;
    min-width: 78px;
    transition: opacity .15s ease,background-color .15s ease,box-shadow .15s ease;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;    
    cursor: pointer;
}
.h-btn {
    width: 65%;
}
@media screen and (max-width: 768px) {
    .h-btn {
        width: 100%;
    }
}
.h-btn:hover {
    box-shadow: inset 0 0 0 1px rgba(0,145,234,.75);
    background: #0091ea;
}

/* Dropdown */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.post-icon {
    width: 18px;
    height: 18px;
    fill: rgba(145, 145, 145, 1);
    cursor: pointer;
}

.b-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    border: 1px solid rgba(138, 150, 163, 0.25);
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    width: 100%;
    min-width: 220px;
    max-width: 256px;
    z-index: 5;
    top: 10px;
    right: 0;
    display: none;
    font-size: 16px;
    line-height: 24px;
    padding: 4px 0;
    min-height: 48px;
    list-style: none;
    border-radius: 6px;
}

button.dropdown-item {
    border: none;
    background: #fff;
    white-space: normal;
    line-height: 19px;
    padding: 14px 16px 15px;
    position: relative;
    z-index: 1;
    text-align: left;
    font-weight: 400;
    display: block;
    width: 100%;
    cursor: pointer;
}

.ovrl {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 100;
}
.show-dropdown .dropdown-menu {
    display: block;
}
svg.post-icon:hover {
    fill: #00aff0;
}
@media screen and (max-width: 768px) {
    .posts-title {
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 25px;
    }
    .post-container {   
        padding: 10px 20px;
    }
    .post-header {
        padding: 30px 30px 20px 30px;
    }
}



/* Video */
.video-wrapper {
    position: relative;
    width: 700px;
    height: calc((670px * 60) / 100);
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
}


.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Ensure the thumbnail appears above the iframe */
}
.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .4s;
    z-index: 10;
}

.play-btn:hover {
    background: #00aff0;
    /* transform: translate(-50%, -50%) scale(1.1); */
}

.play-btn svg {
    width: 60%;
    height: 60%;
    fill: #fff;
}
.play-btn.played {
    display: none; /* Hide play button */
}
.video-thumbnail {
    /* ... your existing styles ... */
    background-size: cover;
    background-position: center;
}

.video-player {
    /* ... your existing styles ... */
    display: none;
}
/* Image */
.img-wrapper {
    width: 100%;
}
.img-wrapper img {
    width: 100%;
}
@media screen and (max-width: 768px) {
    /* Video */
    .media-container, .media {
        max-width: 400px;
        height: calc((370px * 60) / 100);
    }
}




.post {
    width: 700px;
}
.posts-title {
    text-align: center;
    width: 700px;
}

.media-container {
    width: 700px;
    height: calc((9 / 16) * 700px);
}
.media {
    width: 700px;
    height: calc((9 / 16) * 700px);
}
.video-wrapper {
    width: 700px;
    height: calc((9 / 16) * 700px);
}
.video-thumbnail {
    width: 700px;
    height: calc((9 / 16) * 700px);
}
.video-wrapper video {
    width: 700px;
    height: calc((9 / 16) * 700px);
}
@media screen and (max-width: 900px) {
    .posts-title {
        width: 600px;
    }
    .post {
        width: 600px;
    }
    .media-container {
        width: 600px;
        height: calc((9 / 16) * 600px);
    }
    .media {
        width: 600px;
        height: calc((9 / 16) * 600px);
    }
    .video-wrapper {
        width: 600px;
        height: calc((9 / 16) * 600px);
    }
    .video-thumbnail {
        width: 600px;
        height: calc((9 / 16) * 600px);
    }
    .video-wrapper video {
        width: 600px;
        height: calc((9 / 16) * 600px);
    }
}
@media screen and (max-width: 768px) {
    .posts-title {
        width: 400px;
    }
    .post {
        width: 400px;
    }
    .media-container {
        width: 400px;
        height: calc((9 / 16) * 400px);
    }
    .media {
        width: 400px;
        height: calc((9 / 16) * 400px);
    }
    .video-wrapper {
        width: 400px;
        height: calc((9 / 16) * 400px);
    }
    .video-thumbnail {
        width: 400px;
        height: calc((9 / 16) * 400px);
    }
    .video-wrapper video {
        width: 400px;
        height: calc((9 / 16) * 400px);
    }
    .post-footer {
        padding: 15px 30px;
    }
}
@media screen and (max-width: 576px) {
    .post-container {
        padding: 10px 0px;
    }
    .posts-title {
        width: 320px;
    }
    .post {
        width: 320px;
    }
    .media-container {
        width: 320px;
        height: calc((9 / 16) * 320px);
    }
    .media {
        width: 320px;
        height: calc((9 / 16) * 320px);
    }
    .video-wrapper {
        width: 320px;
        height: calc((9 / 16) * 320px);
    }
    .video-thumbnail {
        width: 320px;
        height: calc((9 / 16) * 320px);
    }
    .video-wrapper video {
        width: 320px;
        height: calc((9 / 16) * 320px);
    }
}