/* ===== UniGo News Advertisement Cards ===== */

.unigo-news .unigo-feed-promo {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    text-decoration: none;
}

.unigo-news .unigo-feed-promo:hover {
    color: inherit;
    text-decoration: none;
}

/* Advertisement image */

.unigo-news .unigo-feed-promo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #F3F5FC;
}

.unigo-news .unigo-feed-promo-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image-only advertisements */

.unigo-news .unigo-feed-promo.is-image-only .unigo-feed-promo-image img {
    object-fit: contain;
}

/* Sponsored label */

.unigo-news .unigo-feed-promo-label {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    margin: 10px 0 0 15px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #EDF2FF;
    color: #3C61C9;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

/* Advertisement content */

.unigo-news .unigo-feed-promo-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 15px 0;
}

.unigo-news .unigo-feed-promo-title {
    margin: 0;
    color: #1E2333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.unigo-news .unigo-feed-promo-text {
    margin: 0;
    color: #79849B;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Remove fixed heights and card borders */

.unigo-news-grid .unigo-feed-promo {
    height: auto;
    min-height: 0;
    border: 0;
    box-shadow: none;
}

/* Responsive */

@media (max-width: 767px) {
    .unigo-news .unigo-feed-promo-image {
        border-radius: 14px 14px 0 0;
    }

    .unigo-news .unigo-feed-promo-label {
        margin-left: 12px;
    }

    .unigo-news .unigo-feed-promo-content {
        padding: 10px 12px 0;
    }
}
/* Match advertisement cards with news cards */

.unigo-news .unigo-feed-promo {
    background: #FFFFFF;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: none;
    border: none;
}

.unigo-news .unigo-feed-promo-image {
    border-radius: 0;
}

.unigo-news .unigo-feed-promo-label {
    margin-top: 10px;
}

.unigo-news .unigo-feed-promo-content {
    padding-bottom: 16px;
}

@media (max-width: 767px) {
    .unigo-news .unigo-feed-promo {
        border-radius: 16px;
    }
}