/*----------POST SHARE----------*/
/* Base dropdown menu/option styling lives in components/dropdown/ti-dropdown-style.css */

.ti-post-share-button {
    font-size: 14px;
    width: 30px;
    height: 30px;
}

.ti-single-post-share .ti-dropdown {
    min-width: 200px;
    max-width: max-content;
}

.ti-single-post-share .ti-dropdown-option i {
    font-size: 18px;
}

/*----------POST AUTHOR----------*/

.ti-post-author-box {
    display: flex;
    gap: 10px;
}

.ti-post-author-box .ti-post-author-img {
    width: 50px;
    height: 50px;
    padding: 0;
}

.ti-post-author-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.ti-post-author-img:not(.ti-card-img-loaded) {
    opacity: 0;
}

.ti-post-author-img.ti-card-img-loaded {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.ti-post-author-img-wrapper:has(.ti-post-author-img:not(.ti-card-img-loaded))::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background-image: var(--ti-ldm-gradient-skeleton);
    background-size: 200% 100%;
    animation: var(--ti-shimmer);
    pointer-events: none;
    z-index: 1;
}

.ti-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ti-post-author-name {
    font-weight: 600;
}

.ti-post-author-name,
.ti-post-date {
    color: var(--ti-ldm-color-black-white);
    font-size: 15px;
}

/*----------POST CATEGORY----------*/

.ti-post-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 20px 0 20px;
    width: 100%;
}

.ti-post-category i {
    font-size: 16px;
    color: var(--ti-ldm-color-green-white);
}

.ti-post-category span {
    font-size: 15px;
    color: var(--ti-ldm-color-black-white);
}

/*----------MEDIA QUERIES----------*/

@media (max-width: 768px) {
    .ti-post-author-box .ti-post-author-img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 425px) {
    .ti-post-author-box {
        flex-direction: column;
    }
}

@media (max-width: 360px) {
    .ti-post-author-box .ti-post-author-img {
        width: 50px;
        height: 50px;
    }
}
