body {
    margin: 0;
    padding: 0;
}

/* GLAVNI KONTEJNER */
.listing-image {
    width: 1080px;
    height: 1080px;
    background: linear-gradient(160deg, #0f0f0f, #672d8b);
    color: #fff;
    font-family: 'Syne', sans-serif;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 70px;
    box-sizing: border-box;
    position: relative;
}

/* TOP */
.listing-top {
    display: flex;
    justify-content: center;
}

.listing-logo {
    width: 180px;
}

/* BODY */
.listing-body {
    text-align: left;
}

.listing-category {
    font-size: 20px;
    opacity: 0.7;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.listing-company {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.listing-title {
    font-size: 44px;
    line-height: 1.05;
    margin-bottom: 26px;
    font-weight: 700;
}

.listing-description {
    font-size: 28px;
    line-height: 1.5;
    opacity: 0.9;

    max-height: 420px;
    overflow: hidden;
    /* allow breaking long unspaced strings so text wraps on narrow widths */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    -ms-word-break: break-all;
    hyphens: auto;
}

/* BOTTOM */
.listing-bottom {
    margin-top: 40px;
}

.listing-contact span {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

/* FOOTER BAR */
.listing-footer-bar {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;

    font-size: 18px;
    opacity: 0.8;
}

.listing-badge {
    background: #fff;
    color: #672d8b;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
}

.listing-featured {
    position: absolute;
    top: 40px;
    right: 40px;

    background: gold;
    color: #000;
    padding: 10px 18px;
    border-radius: 20px;

    font-size: 16px;
    font-weight: bold;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    /* center inline SVG and text */
    overflow: visible;
    transform-box: fill-box;
    transform-origin: center;
}

/* INLINE-SVG star for generated listing image badge to unify rendering across devices
   To revert: remove ::before and restore ::first-letter coloring. */
.listing-featured svg {
    vertical-align: middle;
    margin-right: 8px;
    transform: translateY(0px);
    /* reset vertical nudge to avoid clipping in gallery */
    transform-box: fill-box;
    transform-origin: center;
}