/* Wrapper taking full width, place near NIPA banner */
.nipa-ad-bar-wrapper {
    width: 100%;
    color: #ffffff;
    padding: 10px 0;
    position: relative;
    z-index: 999;
    box-sizing: border-box;
}


.nipa-ad-slider {
}

.nipa-ad-item {
    display: flex !important;
    justify-content: center;
    align-items: stretch;
    height: 100%;
}

.nipa-ad-item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
    width: 100%;
    box-sizing: border-box;

    background: #ffffff;
    padding: 10px;
    margin: 0 5px;
    border-radius: 5px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

/* Hover effect */
.nipa-ad-item-link:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
    transform: translateY(-3px);
    text-decoration: none;
}

/* ---- LOGO ---- */
.nipa-ad-logo-wrap {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.nipa-ad-logo {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: 0.3s ease;
}

.nipa-ad-item-link:hover .nipa-ad-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.06);
}

/* Text stays at bottom of card */
.nipa-ad-text {
    margin-top: auto; /* pushes text downward */
    padding-top: 5px;
    color: #333;
}

.nipa-ad-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.nipa-ad-phone {
    font-size: 12px;
    opacity: 0.9;
}

/* Slick overrides */
.nipa-ad-bar-wrapper .slick-slide {
    outline: none;
}

.nipa-ad-bar-wrapper .slick-track {
    display: flex;
    align-items: stretch;
}


.slick-prev:before, .slick-next:before {
    color: #F3191E;
}