/* Main container */
.custom-taxonomy-block__container {
    font-family:'Tilda Sans Bold', sans-serif;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Tabs container */
.custom-taxonomy-block__tabs {
    width: 100%;
}

/* Tab headers container - horizontal layout */
.custom-taxonomy-block__tab-header-wrapper {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Individual tab */
.custom-taxonomy-block__tab {
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
}

/* Tab header text */
.custom-taxonomy-block__tab-header {
    font-weight: 700;
    font-size: 22px;
    color: #1F1F1F;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

/* Hover effect */
.custom-taxonomy-block__tab:hover .custom-taxonomy-block__tab-header {
    color: #333;
}

/* Underline on hover */
.custom-taxonomy-block__tab:hover::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #aaa;
}

/* Active tab */
.custom-taxonomy-block__tab.active .custom-taxonomy-block__tab-header {
    color: #2F6690;
}

/* Active underline */
.custom-taxonomy-block__tab.active::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2F6690;
}

/* Tab contents container */
.custom-taxonomy-block__tab-contents {
    width: 100%;
}

/* Tab content (hidden by default) */
.custom-taxonomy-block__tab-content {
    display: none;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

/* Show active content */
.custom-taxonomy-block__tab-content.active {
    display: flex;
}

/* Tag links */
.custom-taxonomy-block__tab-content a {
    display: inline-block;
    padding: 8px 15px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 18px;
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Tag hover */
.custom-taxonomy-block__tab-content a:hover,
.custom-taxonomy-block__tab-content a.active {
    background-color: #2F6690;
    color: white;
}
.tax-content-block{
    max-width: 48% !important;
}

.taxonomy-cards-container{
	display: none;
}


@media screen and (max-width: 1024px) {
    .tax-content-block{
        max-width: 100% !important;
    }
}

/* Load more */
.load-more-button {
    display: none; 
    margin: 20px auto;
    padding: 14px 40px;
    background-color: #2F6690; 
    color: white;
    border: none;
    border-radius: 8px; 
    cursor: pointer;
    font-family:'Tilda Sans Bold', sans-serif;
    font-size: 18px;
}