.home-course-tags-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-course-tag-chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e6eaee;
    box-shadow: 0 8px 18px rgba(62, 73, 84, 0.05);
    color: #171347;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.home-course-tag-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(43, 150, 107, 0.35);
    box-shadow: 0 12px 22px rgba(43, 150, 107, 0.12);
    color: #1f6b4d;
    text-decoration: none;
}

.home-course-tag-chip:focus-visible {
    outline: 2px solid #2b966b;
    outline-offset: 2px;
}

.home-course-tag-title {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.home-course-tag-count {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(43, 150, 107, 0.1);
    color: #1f6b4d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.course-tags-empty {
    background: #fff;
    box-shadow: 0 12px 23px 0 rgba(62, 73, 84, 0.04);
}

.course-tags-empty-actions {
    gap: 10px;
}

.course-tags-hero-link {
    color: #fff;
    text-decoration: underline;
}

.course-tags-hero-link:hover {
    color: #fff;
    opacity: 0.88;
}
