/* =============================================
   Logo Showcase v2 — Public CSS
   ============================================= */

.ls-wrap {
    --ls-accent:      #2563eb;
    --ls-brand-color: #111827;
    --ls-slide-bg:    #ffffff;
    --ls-radius:      12px;
    --ls-shadow:      0 2px 12px rgba(0,0,0,.07);
    position: relative;
    width: 100%;
    padding: 8px 0 40px;
    box-sizing: border-box;
}

/* ── Swiper overrides ── */
.ls-swiper {
    width: 100%;
    padding: 10px 4px 16px !important;
    box-sizing: border-box;
}

.ls-swiper .swiper-wrapper {
    align-items: stretch;
}

/* ── Card ── */
.ls-slide {
    height: auto;
}

.ls-card {
    background: var(--ls-slide-bg);
    border-radius: var(--ls-radius);
    box-shadow: var(--ls-shadow);
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    transition: box-shadow .22s ease, transform .22s ease;
    border: 1px solid rgba(0,0,0,.06);
}

.ls-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    transform: translateY(-3px);
}

/* ── Image ── */
.ls-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    margin-bottom: 14px;
    width: 100%;
}

.ls-img-wrap img {
    display: block;
    max-width: 100%;
}

.ls-no-img {
    width: 100%;
    height: 80px;
    background: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #9ca3af;
    font-style: italic;
}

/* ── Brand name link (the main CTA) ── */
.ls-brand-link {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ls-brand-color);
    text-decoration: none;
    letter-spacing: -.01em;
    line-height: 1.3;
    margin-bottom: 6px;
    position: relative;
    transition: color .18s;
}

.ls-brand-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--ls-accent);
    transition: width .22s ease;
}

.ls-brand-link:hover {
    color: var(--ls-accent);
}

.ls-brand-link:hover::after {
    width: 100%;
}

/* Brand name without link */
.ls-brand-name {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--ls-brand-color);
    margin-bottom: 6px;
}

/* ── Description ── */
.ls-desc {
    font-size: 12.5px;
    color: #6b7280;
    line-height: 1.55;
    margin: 4px 0 0;
    flex: 1;
}

/* ── Navigation arrows ── */
.ls-wrap .swiper-button-prev,
.ls-wrap .swiper-button-next {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--ls-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,.10);
    color: var(--ls-accent);
    top: 50%;
    transform: translateY(calc(-50% - 16px));
    transition: background .18s, color .18s;
}

.ls-wrap .swiper-button-prev:hover,
.ls-wrap .swiper-button-next:hover {
    background: var(--ls-accent);
    color: #fff;
}

.ls-wrap .swiper-button-prev::after,
.ls-wrap .swiper-button-next::after {
    font-size: 14px;
    font-weight: 700;
}

.ls-wrap .swiper-button-prev.swiper-button-disabled,
.ls-wrap .swiper-button-next.swiper-button-disabled {
    opacity: .3;
}

/* ── Pagination dots ── */
.ls-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 14px;
    text-align: center;
}

.ls-pagination .swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: background .2s, transform .2s;
}

.ls-pagination .swiper-pagination-bullet-active {
    background: var(--ls-accent);
    transform: scale(1.3);
}

/* ── Empty state ── */
.ls-empty {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 32px 0;
}

/* ── Responsive arrow offset ── */
@media (max-width: 640px) {
    .ls-wrap .swiper-button-prev,
    .ls-wrap .swiper-button-next {
        display: none;
    }
}
