.taxonomy-page {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f1f1f1;
    color: #000000;
}

.taxonomy-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}

.taxonomy-header {
    text-align: left;
    margin-bottom: 24px;
}

.taxonomy-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.taxonomy-header p {
    font-size: 0.95rem;
    color: #000000;
}

/* Grid */

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

/* Card base */

.taxonomy-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    background: radial-gradient(circle at top left, #1b2140, #090b1a);
    border: 1px solid rgba(120, 130, 180, 0.35);
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out, background 0.15s ease-out;
}

.taxonomy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
    border-color: #4f8cff;
    background: radial-gradient(circle at top left, #222a4f, #050714);
}

/* Content */

.taxonomy-content h2 {
    font-size: 1rem;
    margin: 0 0 4px;
}

.taxonomy-content p {
    font-size: 0.85rem;
    margin: 0;
    color: #ffffff;
}

/* Genre: icon style */

.genre-card .taxonomy-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6b6b, #f7d046);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.genre-card:nth-child(3n+1) .taxonomy-icon {
    background: linear-gradient(135deg, #4f8cff, #7b5cff);
}
.genre-card:nth-child(3n+2) .taxonomy-icon {
    background: linear-gradient(135deg, #18c9a5, #4f8cff);
}
.genre-card:nth-child(3n+3) .taxonomy-icon {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
}

.taxonomy-icon-letter {
    font-size: 1.1rem;
    font-weight: 700;
    color: #050711;
}

/* Industry: thumbnail image style */

.industry-card .taxonomy-thumb {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #11131f;
    border: 1px solid rgba(140, 150, 200, 0.45);
}

.industry-card .taxonomy-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile tweaks */

@media (max-width: 600px) {
    .taxonomy-card {
        padding: 12px 14px;
    }

    .taxonomy-header h1 {
        font-size: 1.7rem;
    }
}
