/* Distributor cards hover effect */
.distributor-card,
.wpb_content_element .vc_column-inner {
    transition: all 0.3s ease;
    border: 2px solid #FBD000;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

/* Hover effect */
.distributor-card:hover,
.wpb_content_element .vc_column-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(245, 180, 0, 0.35);
    border-color: #FBD000;
}

/* Base distributor card */
.gb-loop-item {
    background: #fff;
    border: 1px solid #FBD000;
    border-radius: 20px;
    padding: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    box-shadow: 0px 0px 20px 0px #D5D5D5;
}

.gb-loop-item {
    display: flex;
    flex-direction: column;
}

.gb-loop-item h3 {
    min-height: 78px; /* adjust to 2 lines */
}

.gb-loop-item > *:last-child {
    margin-top: auto;
}

.gb-loop-item p {
    line-height: 1.5;
    margin-bottom: 16px;
}

.gb-loop-item .region {
    margin-bottom: 6px;
    opacity: 0.7;
}

/* Hover = same as product cards */
.gb-loop-item:hover {
    transform: translateY(-2px);
    box-shadow: 0px 0px 15px 0px #FBD000;
}

.wp-block-post-featured-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* key */
}

.wp-block-post-featured-image img {
    max-width: 80%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Apply background to visible layout layer */
body.page-id-5735 #main {
    background: #ECF0F5 !important;
}

/* Keep inner content transparent */
body.page-id-5735 .wf-wrap,
body.page-id-5735 .wf-container-main,
body.page-id-5735 #content {
    background: transparent;
}

/* Cards */
body.page-id-5735 .gb-loop-item {
    background: #fff;
}