/* ==========================================================================
   Homepage / shared news widget canonical styles
   --------------------------------------------------------------------------
   Ownership:
   - #c_new_list_195-17537704131830 : company-news top cards
   - #c_new_list_146-17709638712150 : insights list

   This file loads after home.min.css on the homepage and is also reused by
   marker-based partial loading on pages that embed the same widgets.
   Keep these two widgets here. Do not style them in theme-extra.css.
   ========================================================================== */

/* --- Semantic company-news heading --- */
#c_new_list_195-17537704131830 .home-company-news-header {
    width: 94%;
    max-width: 1360px;
    margin: 24px auto 20px;
    padding: 0 12px;
    text-align: center;
}

#c_new_list_195-17537704131830 .home-company-news-header__title {
    margin: 0;
    color: #1a2440;
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
    #c_new_list_195-17537704131830 .home-company-news-header {
        margin-top: 16px;
        margin-bottom: 18px;
    }

    #c_new_list_195-17537704131830 .home-company-news-header__title {
        font-size: 22px;
    }
}

/* --- Top-4 company news cards --- */
#c_new_list_195-17537704131830 .e_loop-4 {
    max-width: 1360px !important;
    width: 94% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#c_new_list_195-17537704131830 .e_loop-4 .p_list {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
    padding: 0 !important;
}

#c_new_list_195-17537704131830 .e_loop-4 .p_loopitem {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

#c_new_list_195-17537704131830 .cbox-5-0.p_item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

#c_new_list_195-17537704131830 .e_container-5.s_layout,
#c_new_list_195-17537704131830 .e_container-5 {
    display: flex !important;
    width: 100% !important;
    height: 100%;
    margin: 0 !important;
    padding: 12px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #eee;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(24, 56, 131, 0.06);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease !important;
}

#c_new_list_195-17537704131830 .e_container-5:hover {
    background: #fff !important;
    background-color: #fff !important;
    border-color: #d7deea !important;
    box-shadow: 0 14px 32px rgba(24, 56, 131, 0.14) !important;
    transform: translateY(-4px) !important;
}

#c_new_list_195-17537704131830 .home-news-top-card__thumb,
#c_new_list_195-17537704131830 .e_image-6 {
    position: relative;
    display: block;
    overflow: hidden;
    height: 0;
    padding-bottom: 66%;
    background: linear-gradient(135deg, #f6f8fc 0%, #eef3fa 100%);
    border-radius: 4px;
}

#c_new_list_195-17537704131830 .home-news-top-card__thumb img,
#c_new_list_195-17537704131830 .e_image-6 img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    transition: transform .35s ease, opacity .3s ease !important;
}

#c_new_list_195-17537704131830 .e_container-5:hover .home-news-top-card__thumb img,
#c_new_list_195-17537704131830 .e_container-5:hover .e_image-6 img {
    transform: scale(1.04) !important;
    opacity: 1;
}

#c_new_list_195-17537704131830 .home-news-top-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8d97a6;
    font-size: 14px;
}

#c_new_list_195-17537704131830 .home-news-top-card__date {
    margin: 18px 0 10px;
    color: #8a96a8;
    font-size: 12px;
    line-height: 1;
}

#c_new_list_195-17537704131830 .home-news-top-card__title,
#c_new_list_195-17537704131830 .e_text-7 {
    margin: 0 0 12px;
    min-height: 2.8em;
    line-height: 1.4 !important;
    color: #20324a;
}

#c_new_list_195-17537704131830 .home-news-top-card__title-link {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

#c_new_list_195-17537704131830 .home-news-top-card__excerpt,
#c_new_list_195-17537704131830 .e_richText-8 {
    margin: 0;
    min-height: 3.1em;
    color: #7a8492;
    line-height: 1.55;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden;
}

#c_new_list_195-17537704131830 .home-news-top-card__excerpt-link {
    color: inherit;
    text-decoration: none;
}

#c_new_list_195-17537704131830 .e_container-5:hover .home-news-top-card__title,
#c_new_list_195-17537704131830 .e_container-5:hover .home-news-top-card__title-link,
#c_new_list_195-17537704131830 .e_container-5:hover .e_text-7 {
    color: #0057a0 !important;
}

#c_new_list_195-17537704131830 .e_container-5:hover .home-news-top-card__excerpt,
#c_new_list_195-17537704131830 .e_container-5:hover .home-news-top-card__excerpt-link,
#c_new_list_195-17537704131830 .e_container-5:hover .e_richText-8 {
    color: #7a8492 !important;
}

#c_new_list_195-17537704131830 .e_container-5:hover .home-news-top-card__date,
#c_new_list_195-17537704131830 .e_container-5:hover .e_timeFormat-9 {
    color: #8a96a8 !important;
}

.home-news-top-all {
    margin-top: 28px;
    text-align: center;
}

/* --- Insights list / Explore & Discover --- */
#c_new_list_146-17709638712150 {
    min-height: 0;
    padding: 20px 0 48px;
}

#c_new_list_146-17709638712150 .home-insights-header {
    width: 90%;
    max-width: 1360px;
    margin: 28px auto 10px;
    padding: 0 15px;
}

#c_new_list_146-17709638712150 .home-insights-header__title {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    color: #555;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
}

#c_new_list_146-17709638712150 .e_loop-1 {
    width: 90% !important;
    max-width: 1360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#c_new_list_146-17709638712150 .e_loop-1 .p_list {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 0 15px;
}

#c_new_list_146-17709638712150 .e_loop-1 .p_loopitem {
    position: relative;
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
}

#c_new_list_146-17709638712150 .e_container-2 {
    position: relative;
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    column-gap: 24px;
    width: 94%;
    margin: 0 20px 1px 0;
    padding: 0 10px !important;
    background: #fff;
    border-bottom: 1px dashed #dedede;
    transition: background-color .25s ease, border-color .25s ease;
}

#c_new_list_146-17709638712150 .e_container-2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 24px;
    border-radius: 999px;
    background: #0057a0;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity .25s ease;
}

#c_new_list_146-17709638712150 .home-insights-item:hover .e_container-2 {
    padding-left: 10px !important;
    background-color: rgba(0, 87, 160, 0.035);
    border-bottom-color: #d7e3f1;
}

#c_new_list_146-17709638712150 .home-insights-item:hover .e_container-2::before {
    opacity: 1;
}

#c_new_list_146-17709638712150 .cbox-2-0.home-news-list__date-col {
    flex: 0 0 112px;
    margin-right: 0;
    width: auto !important;
    min-width: 112px;
}

#c_new_list_146-17709638712150 .cbox-2-1.home-news-list__title-col {
    flex: 1 1 auto;
    width: auto !important;
    min-width: 0 !important;
}

#c_new_list_146-17709638712150 .home-news-list__date,
#c_new_list_146-17709638712150 .home-news-list__title {
    margin: 0;
    padding: 12px 0;
}

#c_new_list_146-17709638712150 .home-news-list__date {
    color: #999;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    line-height: 1.6;
}

#c_new_list_146-17709638712150 .home-news-list__title {
    min-width: 0;
    overflow: hidden;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

#c_new_list_146-17709638712150 .home-news-list__title a {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: inherit;
    text-decoration: none;
    transition: color .25s ease;
}

#c_new_list_146-17709638712150 .home-news-list__title a::after {
    content: none !important;
}

#c_new_list_146-17709638712150 .home-insights-item:hover .home-news-list__title,
#c_new_list_146-17709638712150 .home-insights-item:hover .home-news-list__title a {
    color: #0057a0;
}

.home-insights-more {
    margin-top: 28px;
    text-align: center;
}

@media screen and (max-width: 1024px) {
    #c_new_list_195-17537704131830 .e_loop-4 .p_list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media screen and (max-width: 768px) {
    #c_new_list_146-17709638712150 .e_loop-1 {
        width: 94% !important;
    }

    #c_new_list_146-17709638712150 .e_loop-1 .p_list {
        padding: 0;
    }

    #c_new_list_146-17709638712150 .e_loop-1 .p_loopitem {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #c_new_list_146-17709638712150 .cbox-2-0.home-news-list__date-col {
        display: none !important;
    }

    #c_new_list_146-17709638712150 .e_container-2 {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        width: 100%;
        margin-right: 0;
    }

    #c_new_list_195-17537704131830 .home-news-top-card__title,
    #c_new_list_195-17537704131830 .home-news-top-card__excerpt {
        min-height: auto;
    }

    #c_new_list_195-17537704131830 .e_loop-4 .p_list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
