/* Blog Tags Component - Shared styles */

/* Tags container */
.blog-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0px;
    gap: 8px;
    position: relative;
}

/* Individual tag */
.blog-tag {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    height: 20px;
    border-radius: 16px;
    font-family: 'Rubik';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    text-transform: uppercase;
    color: #343538;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition: transform 0.2s ease;
    flex: none;
}

.blog-tag:hover {
    transform: translateY(-2px);
    color: #343538 !important;
}

/* Tags overlay on blog cards */
.blog-card-enhanced__tags {
    position: absolute;
    bottom: 12px;
    right: 12px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    max-width: calc(100% - 24px);
    overflow: visible;
    padding-top: 4px;
}

.blog-card-enhanced__tags .blog-tag {
    flex-shrink: 0;
}

/* Mobile styles */
@media (max-width: 640px) {
    .blog-tags {
        gap: 8px;
    }

    .blog-tag {
        padding: 4px 14px;
        height: 22px;
        font-size: 12px;
        line-height: 18px;
    }

    .blog-card-enhanced__tags {
        bottom: 12px;
        right: 12px;
        gap: 8px;
        max-width: calc(100% - 24px);
    }
}
