.pcm-promoted-content-wrapper {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.pcm-promoted-content-wrapper:has(.pcm-promoted-content-tiles) {
    background-color: #f3f3f3;
}

.pcm-promoted-content-heading {
    background-color: #1f1f1f;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcm-promoted-content-company-page .pcm-promoted-content-heading {
    justify-content: center;
}

.pcm-promoted-content-heading a {
    font-weight: 600;
    color: #fff;
}

.pcm-promoted-content-description {
    min-height: 20px;
}

.pcm-promoted-content-company-page .pcm-promoted-content-body {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 20px;
    color: #000;
}

.pcm-promoted-content-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.pcm-promoted-content-tiles::after {
    content: "";
    flex-basis: 100%;
    height: 10px;
}

.pcm-promoted-content-tiles .pcm-promoted-content-post-link {
    flex: 0 0 calc((100% - 32px) / 3);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow: hidden;
}

.pcm-promoted-content-tiles .pcm-promoted-content-post-link img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .pcm-promoted-content-tiles .pcm-promoted-content-post-link {
        flex-basis: calc((100% - 16px) / 2);
    }
}

.pcm-promoted-content-wrapper .pcm-promoted-content-heading img {
    max-width: 25%;
    height: auto;
}

@media (max-width: 639px) {
    .pcm-promoted-content-wrapper .pcm-promoted-content-heading img {
        max-width: 50%;
    }
}

.pcm-promoted-content-sidebar .pcm-promoted-content-heading img {
    max-width: 50%;
}

.pcm-promoted-content-company-page .pcm-promoted-content-heading img {
    max-width: 75%;
}

.pcm-promoted-content-sidebar,
.pcm-promoted-content-home {
    background-color: #f3f3f3;
}

.pcm-promoted-content-home .jeg_posts_wrap,
.pcm-promoted-content-post-wrapper {
    padding: 20px 20px 0px 20px;
}

.pcm-promoted-content-sidebar .jeg_post_category,
.pcm-promoted-content-sidebar .jeg_post_meta,
.pcm-promoted-content-home .category-promoted-content,
.pcm-promoted-content-post .category-promoted-content {
    display: none !important;
}

.pcm-promoted-content-post-body {
    padding-bottom: 20px;
}

.pcm-promoted-content-post-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #000;
    font-weight: bold;
}

.pcm-promoted-content-post-link img {
    width: auto;
    height: auto;
    max-width: 250px;
    max-height: 150px;
}

@media only screen and (max-width: 767px) {
    .pcm-promoted-content-wrapper .jeg-post {
        width: 100%!important;
    }

    .pcm-promoted-content-intro {
        flex-direction: column;
    }
}

.pcm-promoted-content-intro {
    display: flex;
    padding: 50px;
    gap: 30px;
    color: #fff;
    align-items: center;
    border-bottom: 6px solid var(--j-alt-color);
    background-size: cover;
}

.pcm-promoted-content-sidebar {
    text-align: left;
}

.pcm-premium-promoted-content-header {
    position: sticky;
    top: 0;
    display: flex;
    background-color: #000;
    justify-content: center;
    z-index: 5;
}

.pcm-premium-promoted-content-header-body {
    display: flex;
    width: 1300px;
    padding: 15px;
    justify-content: space-between;
    align-items: center;
}

.pcm-premium-promoted-content-header-body img {
    max-width: 170px;
}

.pcm-premium-promoted-content-header a {
    color: #ffffff;
    text-decoration: underline;
}

@media (min-width: 767px) and (max-width: 850px) {
    #premium-empty-space {
        height: 230px !important;
    }
}
@media (min-width: 850px) and (max-width: 900px) {
    #premium-empty-space {
        height: 250px !important;
    }
}
@media (min-width: 900px) and (max-width: 980px) {
    #premium-empty-space {
        height: 270px !important;
    }
}

.pcm-premium-promoted-content-header-body a:hover{
    color: #dbdbdb;
}

.pcm-related-company-carousel__link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    padding: 16px;
    background: #fff;
    box-sizing: border-box;
    text-decoration: none;
}

.pcm-related-company-carousel__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 140px;
    max-height: 140px;
    object-fit: contain;
}

.pcm-related-company-carousel__fallback-title {
    display: block;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    padding: 0 12px;
}

.pcm-promoted-content-thumbnail {
    text-align: center;
    margin-bottom: 10px;
}

.pcm-promoted-content-thumbnail img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 150px;
}

.pcm-promoted-content-company-details {
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

.pcm-promoted-content-company-detail {
    margin-bottom: 10px;
}

.pcm-promoted-content-company-detail div:first-child {
    font-weight: 600;
    margin-top: 10px;
}

.pcm-related-company-acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0 0;
}

.pcm-related-company-acf-map img {
   max-width: inherit !important;
}
