.eco-block {
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    /* Adjust to theme font */
}


.eco-trend-title {
    color: #d8ff4f;
    /* Yellow neon */
    font-size: 40px;
    text-shadow: 2px 2px 0px #000;
    /* Or maybe outlined text */
    -webkit-text-stroke: 1px #000;
    letter-spacing: 2px;
}

/* Adjust if the gradient is part of the uploaded image. */
/* If the user uploads the whole "Trend" background, remove background here. */


.eco-image {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.eco-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius);
}


/* Overlay button INSIDE image */
.eco-image .eco-btn {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);

    width: auto;          /* override 80% */
    margin: 0;            /* override auto */
    padding: 8px 18px;

    background: rgba(255, 255, 255, 0.85);
    color: #000;
    border-radius: 20px 20px 0px 0px;

    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;

    z-index: 2;
}

.eco-image .eco-btn:hover {
    background: rgba(255, 255, 255, 1);
    color: #000;
}

#left-column .block, #left-column .links {
    margin-bottom: 15px;
}

.eco-block .eco-image img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block;
    margin: 0 !important;
}


.eco-subtitle {
    font-size: 14px;
    color: #000;
    font-weight: 700;
    margin: 10px 0;
    text-transform: uppercase;
}

.eco-btn {
    background-color: #6f257a;
    /* Purple */
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    text-transform: none;
    font-size: 12px;
    line-height: 25px;
    transition: all 0.3s;
    display: block;
    width: 80%;
    margin: auto;
}

.eco-btn:hover {
    background-color: #8e3da0;
    color: #fff;
    text-decoration: none;
}

/* Responsive Images Logic */
.eco-mobile-img {
    display: none;
}

@media (max-width: 767px) {
    .eco-desktop-img.has-mobile {
        display: none;
    }

    .eco-mobile-img {
        display: block;
        margin: 0 auto;
    }
}