/**
 * Global component styles for the Taxonomy Carousel layout structure.
 * Swiper base dependencies are dynamically fetched via CDN.
 */

.dd-taxonomy-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.dd-term-slide {
    height: auto;
    display: flex;
}

.dd-term-content {
    padding: 1.25rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}


.dd-term-meta-image img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
    max-width: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1px solid var(--base);
}



.dd-term-name {
    margin: 0 0 10px 0;
    font-size: 1.125rem;
    text-decoration: underline;
}

.dd-term-name a {
    color: inherit;
    text-decoration: none;
}

.dd-term-description {
    font-size: 0.95em;
    color: #555;
    line-height: 1.5;
}

/* Adjust swiper controls positioning relative to container */
.dd-taxonomy-carousel .swiper-pagination {
    bottom: 0;
}
.dd-taxonomy-carousel .swiper-button-next,
.dd-taxonomy-carousel .swiper-button-prev {
    color: #007cba;
}
.swiper-holder {
    position: relative;
}
