/* dom parent  */
.hero {
    min-height: 100vh;
    width: 100%;
    display: flex;
    background-color: #fff;
    justify-content: center;
    padding: 140px 0 0;
}

/* post container  */
.post-container {
    width: 1200px;
    flex: none;
    margin-bottom: 60px;
}

/* current-post-large-image */
.current-post-large-image {
    width: 100%;
    height: 650px;
    margin-bottom: 20px;
    border-radius: 5px;
    /* overflow: hidden; */
}

/* post-large-image  */
.current-post-large-image .post-large-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* current post title  */
.current-post-title-h3 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* current-post-title */
.current-post-title {
    margin-bottom: 10px;
}

/* current-post-info */
.current-post-info {
    margin-bottom: 25px;
}

.owl-nav,
.owl-dots {
    display: flex;
    justify-content: flex-end;
}

.owl-nav {
    position: absolute;
    bottom: 26px;
    right: 43px;
    color: #fff;
    font-size: 20px;
}

.owl-dots {
    position: absolute;
    bottom: 10px;
    right: 2px;
    color: #fff;
}

/* current-post-info-span */
.current-post-info-span {
    display: inline-block;
    margin-right: 16px;
    font-weight: 600;
    color: #000000d6;
    font-size: 13px;
}

.current-post-info-span i {
    font-size: 14px;
    margin-right: 5px;
}

/* for last child of span  */
.current-post-info.current-post-info-span:last-child {
    margin-right: 0;
}

/* current-post-uploaded-by parent */
.current-post-uploaded-by {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    /* justify-content: space-between; */
}

/* upload-by-data */
.upload-by-data {
    display: flex;
    align-items: center;
}

.profile-data {
    display: flex;
    align-items: center;
}

.post-carousel-wrapper .owl-carousel .item img {
    height: 100%; /* Make image fit parent height */
    width: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Optional: cover the container */
}

.post-carousel-wrapper .owl-carousel {
    height: 100%; /* Carousel respects parent height */
}

.post-carousel-wrapper .owl-carousel .owl-stage-outer {
    height: 100%; /* Ensure stage respects parent height */
}

/* upload-by-image */
.upload-by-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex: none;
    overflow: hidden;
}

.upload-by-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* upload-by-text-data */
.upload-by-text-data {
    margin-left: 16px;
    color: #000000d6;
}

.upload-by-text-h3 {
    font-size: 17px;
    display: block;
    text-decoration: none;
    color: #000000 !important;
    font-weight: 700;
}

/* name bagg  */
.name-bagg {
    font-size: 10px;
    margin-left: 5px;
    padding: 4px 6px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 0.6px;
    background-color: #000;
    color: #fff;
}

/* .name-bagg i {
  margin-right: 1px;
} */

.upload-by-text-span {
    font-size: 13px;
    font-weight: 600;
}

/* follow button-uploaded-by */
/* .button-uploaded-by {
  margin-left: 23px;
} */

/* follow-btn-uploaded-by */
.current-post-large-btn-design {
    border: 0;
    outline: 0;
    padding: 14px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    letter-spacing: 0.5px;
    /* width: 100%; */
    border-radius: 30px;
    align-items: center;
    justify-content: center;
    background-color: #000;
    cursor: pointer;
    color: #fff;
    text-decoration: none;
}

.radius-btn {
    border-radius: 30px;
}

.current-post-large-btn-design:hover {
    transition: 0.12s;
    background-color: #000000d1;
}

.current-post-large-btn-design i {
    margin-right: 8px;
}

/* ---------------- btn parent */
.current-post-btns-parent {
    margin-top: 15px;
}

.btns-parent {
    display: flex;
    align-items: center;
}

/* btn design */
.btn-child {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cad4de26;
    border: 1px solid #cad4de40;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

/* Loader styles */
.btn-ldr {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cad4de26;
    border: 1px solid #cad4de40;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.btn-ldr i {
    display: none !important;
}

.btn-ldr .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #cad4de40;
    border-top-color: #0066ff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Animation class for button press */
.btn-child.animate {
    transform: scale(0.9);
}

.btm-sm-child {
    height: 40px !important;
    width: 40px !important;
}

.btn-child i {
    font-size: 20px;
    transition: all 0.3s ease;
    color: #65676b;
}

.btm-sm-child i {
    font-size: 16px !important;
}

/* Hover effects */
.btn-child:hover {
    background-color: #cad4de50;
    transform: scale(1.05);
}

.btn-child.like-btn:hover {
    background-color: rgba(24, 119, 242, 0.1);
}

.btn-child.like-btn:hover i {
    color: #1877f2;
}

.btn-child.dislike-btn:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.btn-child.dislike-btn:hover i {
    color: #dc3545;
}

/* Active/Clicked states */
.btn-child.liked {
    background-color: rgba(24, 119, 242, 0.15);
    border-color: #1877f2;
}

.btn-child.liked i {
    color: #1877f2;
}

.btn-child.disliked {
    background-color: rgba(220, 53, 69, 0.15);
    border-color: #dc3545;
}

.btn-child.disliked i {
    color: #dc3545;
}

/* Animation */
@keyframes heartBeat {
    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(0.95);
    }

    45% {
        transform: scale(1.15);
    }

    60% {
        transform: scale(1);
    }
}

.btn-child.animate {
    animation: heartBeat 0.6s ease;
}

/* Counter styles */
.counter-container {
    display: flex;
    align-items: center;
}

.counter {
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    bottom: 61px;
    right: 5px;
    padding: 4px 14px;
    font-size: 14px;
    color: #f7faff;
    font-weight: 600;
    background: #000000;
    border-radius: 10px;
}

.counter i {
    font-size: 16px;
}

.counter-sm {
    bottom: 50px;
    right: 8px;
    padding: 2px 8px;
    font-size: 11px;
}

.counter.like-counter i {
    color: #1877f2;
}

.counter.dislike-counter i {
    color: #dc3545;
}

/* post-pargargph-text-data */
.post-paragph-text {
    font-size: 14px;
    font-weight: 600;
    color: #000000d6;
    line-height: 1.8;
}

/* for dark color  */
.color-dark {
    color: #000;
}

/* 12px font size  */
.fs-13 {
    font-size: 13px !important;
}

.line-0 {
    line-height: unset;
}

.d-inline-block {
    display: inline-block;
}

/* comments-section-parent */
.comments-section-parent {
    margin-top: 20px;
}

/* comments-child */
.comments-child {
    margin-bottom: 30px;
}

.replies-child {
    margin-bottom: 25px;
}

/* comments-section-header */
.comments-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    justify-content: space-between;
}

.replies-container .comments-child:last-child {
    margin-bottom: 0px;
}

/* comment child header  */
.comment-child-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* current-blog-posted-by-data */
.comments-data {
    display: flex;
    align-items: flex-start;
}

/* profile image parent  */
.posted-by-profile-img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex: none;
}

/* posted by profile img child */
.posted-by-profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* posted by info  */
.profile-info-and-comment-subject {
    margin-left: 20px;
    flex: 1;
}

/* profile name  */
.profile-name {
    font-size: 13px;
    margin-bottom: 2px;
    font-weight: 600;
    text-decoration: none;
    color: #000 !important;
}

/* comment-subject-text */
.comment-subject-text {
    margin: 8px 0 0px 0;
}

/* mini text of card model  */
.model-mini-text {
    font-size: 12px;
    color: #000000d6;
    font-weight: 600;
}

/* post bagg  */
.post-bagg {
    color: #fff;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 5px;
    border-radius: 5px;
    padding: 4px 5px;
}

/* dark bagg  */
.dark-bagg {
    background-color: #000;
}

/* danger bagg  */
.danger-bagg {
    background-color: #f44336;
}

/* blue bagg  */
.blue-bagg {
    background-color: #607d8b;
}

/* ---- comment box */
.comments-section-form {
    margin-bottom: 25px;
}

/* comments-section */
.comments-section {
    border-radius: 6px;
    border: 2px dashed #000;
}

/* comment-form-text-area */
#comment-form-text-area {
    border: 0;
    width: 100%;
    background-color: transparent;
    outline: 0;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #000;
    resize: none;
}

/* comments num i  */
.comments-alert i {
    margin-right: 5px;
}

/* comment-btn-parent */
.comment-btn-parent {
    margin-top: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* comments-child-btn-parent */
.comments-child-btn-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* comment-btn-child */
.comment-buttons {
    padding: 6px 10px;
    /* border: 1px solid #cad4de40; */
    background-color: #cad4de26;
    border-radius: 5px;
    margin-right: 10px;
    letter-spacing: 0.3px;
    font-size: 11px;
    font-weight: 600;
}

.comment-buttons i {
    margin-right: 4px;
}

/* for 0 margin at the right  */
.me-0 {
    margin-right: 0 !important;
}

.d-none {
    display: none !important;
}

/* add reply form  */
.add-reply-form {
    margin-top: 20px;
    display: flex;
    /* align-items: center; */
}

/* active user profile img  */
.profile-img-area-active-user {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    overflow: hidden;
}

/* target the img  */
.profile-img-area-active-user img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* add-reply-input-field */
.add-reply-input-field {
    flex: 1;
    border: 1px solid #cad4de40;
    margin-left: 10px;
    border-radius: 6px;
    display: flex;
}

/* target the input  */
.add-reply-input-field input {
    border: 0;
    outline: 0;
    padding: 10px;
    height: 100%;
    font-size: 12px;
    flex: 1;
    font-weight: 600;
    color: #000000ad;
    background-color: transparent;
}

/* add reply btn parent  */
.add-reply-btn-parent {
    margin-left: 10px;
}

/* add reply btn / */
.add-reply-btn {
    border: 0;
    outline: 0;
    height: 100%;
    background-color: #000;
    color: #fff;
    padding: 10px;
    font-size: 12px;
    border-radius: 30px;
    font-weight: 600;
}

/* .add-reply-btn i */
.add-reply-btn i {
    margin-right: 4px;
}

/* replies-parent */
.replies-parent {
    margin: 20px 0 0px;
}

.replies-heading {
    margin-bottom: 10px;
}

/* responsive css design  */
/* this css is for less than or equal to 1600px width  */
@media only screen and (max-width: 1600px) {
    /* post container  */
    .post-container {
        width: 1100px;
        flex: none;
        margin-bottom: 60px;
    }

    /* current post large image  */
    .current-post-large-image {
        width: 100%;
        height: 500px;
    }
}

/* this css is for less than or equal to 1400px width  */
@media only screen and (max-width: 1400px) {
    /* post container  */
    .post-container {
        width: 900px;
        flex: none;
        margin-bottom: 60px;
    }

    /* current post large image  */
    .current-post-large-image {
        width: 100%;
        height: 450px;
    }
}

/* this css is for less than or equal to 1220px width  */
@media only screen and (max-width: 1220px) {
    /* post container  */
    .post-container {
        width: 800px;
        flex: none;
        margin-bottom: 60px;
    }

    /* current post large image  */
    .current-post-large-image {
        width: 100%;
        height: 400px;
    }
}

/* this css is for less than or equal to 920px width  */
@media only screen and (max-width: 920px) {
    /* hero container  */
    .hero {
        padding: 180px 0 0;
    }

    /* post container  */
    .post-container {
        width: 650px;
        flex: none;
        margin-bottom: 40px;
    }

    /* current post large image  */
    .current-post-large-image {
        width: 100%;
        height: 350px;
    }

    /* current-post-uploaded-by parent */
    .current-post-uploaded-by {
        flex-direction: column;
        align-items: flex-start;
    }

    .upload-by-data {
        width: 100%;
    }

    /* current-post-btns-parent */
    .current-post-btns-parent {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        margin-top: 60px;
    }
}

/* this css is for less than or equal to 720px width  */
@media only screen and (max-width: 720px) {
    /* post container  */
    .post-container {
        width: 95%;
    }

    /* current post large image  */
    .current-post-large-image {
        width: 100%;
        height: auto;
    }
}

/* this css is for less than or equal to 620px width  */
@media only screen and (max-width: 620px) {
    /* button-uploaded-by */
    .button-uploaded-by {
        margin-top: 10px;
    }

    .current-post-title-h3 {
        font-size: 18px;
    }
}

/* this css is for less than or equal to 520px width  */
@media only screen and (max-width: 520px) {
    /* current-post-info */
    .current-post-info {
        margin-top: 15px;
    }

    /* current-post-info > current-post-info-span */
    .current-post-info .current-post-info-span {
        display: block;
        /* text-align: center; */
    }

    /* upload-by-data */
    .upload-by-data {
        flex-direction: column;
    }

    .current-post-uploaded-by {
        align-items: center;
    }

    /* current-post-btns-parent */
    .current-post-btns-parent {
        display: flex;
        justify-content: center;
    }
}

/* this css is for less than or equal to 520px width  */
@media only screen and (max-width: 440px) {
    /* post-container */
    .post-container {
        width: 100%;
    }

    /* comments-section-header */
    .comments-section-header {
        display: flex;
        align-items: unset;
        flex-direction: column;
        justify-content: center;
    }
}
