/**
 * Taxonomy CSS - CLEANED
 * Path: public_html/css/taxonomy.css
 * Version: 3.2.0
 * 
 * Changelog v3.2.0:
 * - Removed translateY(-8px) hover effect on cards
 * - Kept box-shadow hover effect
 * 
 * Changelog v3.1.0:
 * - FIXED: Changed desktop grid from 3 columns to 2 columns
 * - Removed !important from grid-template-columns
 * 
 * Changelog v3.0.0:
 * - REMOVED: .taxonomy-card .category styles (now in badges.css)
 * - KEPT: Taxonomy layout and card structure only
 */

/* Taxonomy Card Layout for Tags, Categories, Tools */
.taxonomy-full-width {
    max-width: 1240px;
    margin: 0 auto;
    padding: 8px 16px;
    box-sizing: border-box;
}

.taxonomy-full-width h1 {
    margin-top: 0;
}

.taxonomy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0 120px 0;
    justify-content: center;
    list-style: none;
}

.taxonomy-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.taxonomy-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.taxonomy-card a {
    text-decoration: none;
    color: #1a202c;
    display: flex;
    flex-direction: column;
    padding: 16px;
    flex-grow: 1;
}

.taxonomy-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 6px;
}

.taxonomy-card h2 .emoji {
    font-size: 1.4rem;
    line-height: 1;
}

.taxonomy-card p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0 0 8px;
    flex-grow: 1;
}

.taxonomy-card .tool-logo {
    max-height: 150px;
    width: auto;
    margin: 8px 0;
    object-fit: contain;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .taxonomy-full-width {
        padding: 8px 12px;
    }

    .taxonomy-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 0 400px 0;
    }

    .taxonomy-card {
        border-radius: 10px;
    }

    .taxonomy-card h2 {
        font-size: 1.2rem;
    }

    .taxonomy-card h2 .emoji {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    .taxonomy-card {
        padding: 12px;
    }

    .taxonomy-card .tool-logo {
        max-height: 120px;
    }
}