/* anewbd/css/brand-showcase.css (Final Version with Responsive Font Size) */

.anewbd-brands-showcase-wrapper {
    text-align: center;
    margin: 30px 0;
}

.brands-showcase-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--theme-heading-color);
}

.brands-showcase-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.brand-item-link {
    text-decoration: none;
    width: 150px;
}

.brand-item-card {
    background-color: var(--theme-secondary-bg-color);
    border: 1px solid var(--theme-border-color);
    border-radius: 8px;
    padding: 12px; /* প্যাডিং 15px থেকে 12px করা হয়েছে */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.brand-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--theme-link-color);
}

.brand-image-wrapper {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.brand-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* --- মূল পরিবর্তন এখানে --- */
.brand-name {
    font-size: 15px; /* ফন্ট সাইজ 16px থেকে 15px করা হয়েছে */
    font-weight: 600;
    color: var(--theme-text-color);
    margin: 0;
    line-height: 1.3; /* লাইন হাইট যোগ করা হয়েছে */
    word-wrap: break-word; /* লম্বা শব্দ প্রয়োজনে ভেঙে যাবে */
    white-space: normal; /* লেখাকে প্রয়োজনে দুই লাইনে দেখানোর অনুমতি দেওয়া হলো */
}

/* Responsive Styles */
@media (max-width: 480px) {
    .brands-showcase-grid {
        gap: 15px;
    }
    .brand-item-link {
        width: calc(50% - 10px);
    }
    .brand-item-card {
        padding: 10px;
    }
    .brand-image-wrapper {
        height: 80px;
    }
    .brand-name {
        font-size: 13px; /* মোবাইলের জন্য ফন্ট সাইজ 14px থেকে 13px করা হয়েছে */
    }
}