/**
 * Trending Suites - Tag Cloud Style
 * Modern pill-style buttons for suite navigation
 */

/* Section Container */
.trending-suites * {
    font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    /** antialiasing for better text rendering **/
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.trending-suites {
    margin: 2em auto 2em;
    padding: 0;
}

/* Title */
.trending-suites__title {
    color: #FF8400;
    font-size: 22px;
    font-weight: normal;
    padding-top: 30px;
    margin-bottom: .5em;
    display: block;
}

/* Tag Cloud Container */
.trending-suites__cloud {
    margin-top: 1em;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

/* Individual Tag */
.trending-suites__tag {
    display: inline-block;
    padding: 8px 12px;
    background: #F5F5F5;
    color: #242424;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.trending-suites__tag:hover {
    background: #FF8400;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 132, 0, 0.3);
}

.trending-suites__tag:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 132, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .trending-suites {
        margin-bottom: 32px;
    }

    .trending-suites__title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .trending-suites__cloud {
        gap: 8px;
    }

    .trending-suites__tag {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .trending-suites__title {
        font-size: 20px;
    }

    .trending-suites__tag {
        padding: 8px 16px;
        font-size: 14px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .trending-suites__tag {
        transition: none;
    }

    .trending-suites__tag:hover {
        transform: none;
    }
}

/* Focus styles */
.trending-suites__tag:focus {
    outline: 2px solid #FF8400;
    outline-offset: 2px;
}

.trending-suites__tag:focus:not(:focus-visible) {
    outline: none;
}

.trending-suites__tag:focus-visible {
    outline: 2px solid #FF8400;
    outline-offset: 2px;
}
