.ethb-taxonomy-list {
    display: grid;
    gap: 2rem;
}
.ethb-term {
    padding: 10px 20px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.ethb-term:hover {
    background: var(--ethb-hover-bg) !important;
    color: var(--ethb-hover-text) !important;
}

.ethb-icon {
    margin-left: 8px;
    display: inline-block;
}

/* Animations */
.ethb-zoom:hover { transform: scale(1.1); }
.ethb-fade:hover { opacity: 0.7; }
.ethb-bounce:hover { animation: bounce 0.6s; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}



.ethb-cols-1 { display: grid; grid-template-columns: repeat(1, 1fr); }
.ethb-cols-2 {  display: grid;   grid-template-columns: repeat(2, 1fr); }
.ethb-cols-3 {  display: grid;  grid-template-columns: repeat(3, 1fr); }
.ethb-cols-4 {  display: grid;  grid-template-columns: repeat(4, 1fr); }
.ethb-cols-5 {  display: grid;  grid-template-columns: repeat(5, 1fr); }
.ethb-cols-6 {  display: grid;  grid-template-columns: repeat(6, 1fr); }

@media (max-width: 768px) {
    .ethb-cols-6,
    .ethb-cols-5,
    .ethb-cols-4,
    .ethb-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ethb-taxonomy-list {
        grid-template-columns: 1fr;
    }
}


/* Container overlay effect */
.ethb-has-overlay {
    position: relative;
    overflow: hidden;
}

.ethb-has-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ethb-overlay-gradient, transparent);
    z-index: 0;
    pointer-events: none;
    transition: background 0.3s ease;
}



/* Ensure content stays above overlay */
.ethb-has-overlay > * {
    position: relative;
    z-index: 1;
}

.ethb-has-overlay::before {
    opacity: 1;
    transition: opacity 0.3s ease;
}
.ethb-has-overlay.fade-out::before {
    opacity: 0;
}
