.profile-cover-bg{
    height:200px;
}

.card-img{
    border-radius: 0px!important;
}

.centered-and-cropped {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.avatar-holder, .avatar-holder img{
    width: 130px;
    height: 130px;
}

/*@media (max-width: 767px) {
    .avatar-holder, .avatar-holder img{
        width: 130px;
        height: 130px;
    }
}*/
.description-content p{
    margin-bottom: .5rem;
}
.description-content p:last-child{
    margin-bottom: 5px;
}

.description-content p{
    margin-bottom: 0.3rem;
}

/* Followers/Following Modal Styles */
#followers-following-modal .modal-dialog {
    max-width: 575px;
}

#followers-following-modal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.followers-following-wrapper .user-card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    border: 1px solid #e9ecef;
}

.followers-following-wrapper .user-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.followers-following-wrapper .user-card .card-body {
    background: #fff;
    color: #333;
}

.followers-following-wrapper .user-card h6 {
    color: #333;
    font-weight: 600;
}

.followers-following-wrapper .user-card small {
    color: #6c757d;
}

.followers-following-wrapper .avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.followers-following-wrapper .suggestion-header-bg {
    height: 80px;
    background-size: cover;
    background-position: center;
}

.followers-following-wrapper .half-bg {
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

.followers-following-wrapper .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.followers-following-wrapper .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Mobile subscription bundles styles */
@media (max-width: 767.98px) {
    .subscription-bundles {
        display: block !important;
        margin-top: 0.25rem !important; /* mt-1 equivalent */
    }
    
    .subscription-bundles .btn {
        width: 100% !important;
        height: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
    }
}


/* Grid view styles */
.post-grid-item-wrapper {
    width: 100%;
    padding-bottom: 100%; /* square aspect ratio */
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.post-grid-item-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.grid-extra-blur {
    filter: blur(15px);
    transform: scale(1.1);
}

.grid-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-video-wrapper {
    background-color: #000;
}

.grid-text {
    background: #fff;
    border: 1px solid #eee;
}

.post-grid-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.post-grid-item-wrapper:hover .post-grid-item-overlay {
    opacity: 1;
}

.gallery-icon, .video-icon, .lock-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    text-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.video-icon, .lock-icon {
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
}
@media
    (max-width: 565px) {
       .video-icon, .lock-icon {
    top: 45%;
    left: 50%;
}
    }
/* Adjustments for the feed-box on profile */
.feed-box.grid-view .post-box {
    display: none;
}

@media (max-width: 767px) {
    .post-grid-item-overlay {
        display: none !important; /* hide on mobile as there's no hover */
    }
}
