/* Joint Theme Core - Brand Loop */

.jtc-brand-loop-wrapper {
    width: 100%;
}

.jtc-brand-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 20px;
    border: 1px solid transparent;
    color: inherit;
    text-align: center;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.jtc-brand-card:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.elementor-editor-active .jtc-brand-card,
.elementor-preview .jtc-brand-card {
    display: flex !important;
    width: 100%;
}

.jtc-brand-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.jtc-brand-card__title {
    margin: 0 0 12px;
    transition: color 0.2s ease;
}

.jtc-brand-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    margin-top: auto;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.jtc-brand-loop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.jtc-brand-loop-swiper .swiper-wrapper {
    align-items: stretch;
}

.jtc-brand-loop-empty {
    margin: 0;
}
