@charset "utf-8";
/* CSS Document */
 
.post-card {
    background: #ffffff;
    padding: 25px;
    margin-bottom: 30px;
    border-bottom: 3px solid #e03131;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border-radius: 8px;
}
.gallery-container {
    height: 380px;
}
.main-img-box {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
}
.main-img-box img.main-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.thumbs-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
}
.thumb-box {
    height: calc(25% - 4.5px);
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    background-color: #eee;
}
.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.author-wrapper .user-avatar {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 50%;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.author-name-hover {
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}
.author-wrapper:hover .author-name-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.views-badge {
    background-color: #ffc107;
    color: #000;
    font-weight: bold;
    padding: 6px 16px;
    font-size: 0.9rem;
    display: inline-block;
    border-radius: 3px;
    white-space: nowrap;
}
.post-title {
    color: #d63384;
    font-weight: bold;
    font-size: 1.6rem;
    margin: 0;
}
.post-desc {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}
.post-full-desc {
    color: #333;
    line-height: 2;
    font-size: 1.05rem;
    text-align: justify;
    white-space: pre-line;
}
.more-link {
    color: #d63384;
    text-decoration: none;
    font-weight: bold;
}
.author-box {
    background-color: #e9ecef;
    padding: 12px 20px;
    font-size: 0.9rem;
    color: #495057;
    border-radius: 6px;
}
.custom-icon-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.icon-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 50%;
}
.author-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
}
.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transition-duration: 1.5s;
}
.carousel-fade .carousel-item.active {
    opacity: 1;
}
.lightbox-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.92);
    border: none;
    border-radius: 0;
}
.lightbox-modal .modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0;
    position: relative;
}
.lightbox-modal .lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}
.lightbox-btn-close {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1060;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}
.lightbox-btn-close:hover {
    background: rgba(255, 255, 255, 0.4);
}
.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1060;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.lightbox-nav-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}
.lightbox-btn-prev {
    right: 20px;
}
.lightbox-btn-next {
    left: 20px;
}
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    color: #fff;
    font-size: 0.95rem;
    background: rgba(0,0,0,0.5);
    padding: 4px 15px;
    border-radius: 20px;
}