/* Brand Wall - Carousel Styles */
.bw-brands-carousel-wrapper {
    position: relative;
    margin: 20px 5px;
    overflow: hidden;
}

.bw-brand-slide {
    height: 200px;
}

.brand-content {
    background: #f0f0f0;
    border: 3px solid #f6f8f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.brand-content:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-link,
.brand-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.brand-title {
    margin: 0;
    padding: 15px;
    font-size: 18px;
    color: #333;
    text-align: center;
    background: #f6f8f9;
}

.no-image-placeholder {
    flex: 1;
    background: #f6f8f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder span {
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* Brand Wall - List Styles */
.bw-brands-list {
    display: grid;
    gap: 30px;
    margin: 20px 0;
}

.bw-columns-1 { 
    grid-template-columns: 1fr; 
}

.bw-columns-2 { 
    grid-template-columns: repeat(2, 1fr); 
}

.bw-columns-3 { 
    grid-template-columns: repeat(3, 1fr); 
}

.bw-columns-4 { 
    grid-template-columns: repeat(4, 1fr); 
}

.bw-brand-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: #f0f0f0;
    border: 3px solid #f6f8f9;
    transition: box-shadow 0.3s ease;
}

.bw-brand-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bw-brand-logo img {
    max-width: 250px;
    object-fit: contain;
}

.bw-brand-info {
    flex: 1;
}

.bw-brand-info .brand-title {
    margin: 0 0 15px;
    font-size: 22px;
    color: #333;
    position: static;
    background: none;
    padding: 0;
    font-weight: normal;
    text-align: left;
}

.bw-brand-info .brand-title a {
    color: #333;
    text-decoration: none;
}

.bw-brand-info .brand-title a:hover {
    color: #0073aa;
}

.brand-description {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.brand-visit-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.brand-visit-btn:hover {
    background: #005a87;
    color: white;
}
.bw-brand-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bw-columns-2,
    .bw-columns-3,
    .bw-columns-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .bw-columns-3,
    .bw-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}