/* ============================================================
   0. ROOT VARIABLES
============================================================ */
:root,
:root * {
    /* BORDER */
    --border-radius: 8px;
    --border-color: #e2e2e4;
    /* BOX SHADOW */
    --box-shadow: 0px 14px 30px 0px rgba(30, 31, 31, 0.08);
    /* HEADER */
    /* FONTS */
    --content-font-family:
        Arial, 'Zirkel', Inter, 'Helvetica Neue', 'Lucida Grande', Helvetica,
        sans-serif;
    --heading-font-family: var(--content-font-family);
}

:root.mobile,
:root.mobile * {
    /* HEADER */
    --sb-background-header-appintranet: #fff;
    --sb-text-header-appintranet: var(--sb-brand);
}

/* ============================================================
    1. CORE STYLES (Font, body, typography, colors, utility classes)
============================================================ */
/* FONTS */
html,
html.simulated {
    font-family: var(--content-font-family) !important;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mobile .menuPage .page-content,
html[data-current-page-type='feed'].mobile .page-content,
html[data-current-page-type='archive'].mobile .page-content,
html[data-plugin-id='page'].mobile.loggedin body #wrapper,
html[data-plugin-id='page'].mobile body .page-content,
html[data-plugin-id='page'].mobile
    body
    .page.without-page-background
    .page-content,
html[data-plugin-id='page'].mobile > body {
     !important;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h1 *,
h2 *,
h3 * {
    font-weight: 600;
    font-family: var(--heading-font-family) !important;
}

/* ============================================================
    2. LAYOUT (Page skeleton: containers, grid/flex systems)
============================================================ */
.regular-width-container {
    max-width: 1300px;
    margin: 0 auto;
}

.mobile.wide .page-content > .scroller,
.desktop .page-content > .scroller {
    padding: 0 !important;
    margin: 0 !important;
}

.mobile .content-widget-wrapper.static-content-wrapper.widget-on-card {
    margin: 0;
}

/* COLUMNS */
html.desktop
    .ui-commons__section__wrapper:has(> .column-66):has(> .column-33)
    > .column-66 {
    width: 66%;
}

html.desktop
    .ui-commons__section__wrapper:has(> .column-66):has(> .column-33)
    > .column-33 {
    width: 30.5%;
}

html.desktop
    .ui-commons__section__wrapper:has(> .column-66):has(> .column-33)
    > .ui-commons__section__column:not(:first-child) {
    margin-inline-start: 3.5% !important;
}

html.desktop
    .ui-commons__section__wrapper:not(:has(> .column-66)):has(> .column-33)
    > .column-33 {
    width: 31.5%;
}

html.desktop
    .ui-commons__section__wrapper:not(:has(> .column-66)):has(> .column-33)
    > .ui-commons__section__column:not(:first-child) {
    margin-inline-start: 2.5% !important;
}

html.desktop .ui-commons__section__wrapper:has(> .column-50) > .column-50 {
    width: 48.5%;
}

html.desktop
    .ui-commons__section__wrapper:has(> .column-50)
    > .ui-commons__section__column:not(:first-child) {
    margin-inline-start: 3% !important;
}

/* ============================================================
    3. BRANDING
============================================================ */
/* NOTIFICATION TOGGLE */
.clientapp .switch.on .handle {
    background-color: #50037f;
}

/* IMPORTANT BADGE */
.news-feed-post-badges .news-feed-post-badge.type-highlighted {
    background-color: #ff8204 !important;
}

/* TO ACKNOWLEDGE BADGE */
.news-feed-post-badge.type-acknowledged,
.action-acknowledge {
    background: #8035bb !important;
}

/* NOTIFICATION BUBBLE */
span.unread-count,
#menu a.notification-bell .notifications__unseen-count,
.profile-header a.notification-bell .notifications__unseen-count {
    background: #ff8204;
    color: #ffffff;
}

/* BOTTOM QUICK LINK NAVIGATION BACKGROUND COLOR */
div#mobile-quicklinks ul {
    background-color: #50037f;
}

/* BOTTOM QUICK LINK NAVIGATION TEXT COLOR */
div#mobile-quicklinks ul li a span {
    color: #ffffff;
}

/* LOGIN LOGO BACKGROUND COLOR + MASK */
.dialog.signin .dialog-inner,
.signin .page-content,
.mobile.wide .signin .page-content {
    background-color: #f5f4fc;
}

.signin .signin-view button {
    background-color: #50037f;
}

.signin-view a[data-view-link='signin'] {
    color: #50037f;
}

/* ============================================================
    4. COMPONENTS (UI pieces)
============================================================ */
/* HEADER */
html:is(.desktop, .mobile:has(.full-width-home-page)) .header-title {
    display: none !important;
}

#header #search-input {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
}

#header #search-input .ds-search-input__wrapper {
    border-radius: 100px;
}

/* BUTTONS */
.button-block-link {
    border-radius: var(--border-radius) !important;
}

/* TILES WIDGET */
.quick-links-widget.type-tiles li {
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) !important;
}

.quick-links-widget.type-tiles.type-tiles li a {
    font-size: 14px !important;
    line-height: 26px !important;
    padding: 54px 9px 0;
    top: 0;
    position: absolute;
}

.quick-links-wrapper.left-align .quick-links-widget.type-tiles li {
    text-align: left;
}

.quick-links-wrapper.left-align .quick-links-widget.type-tiles li img,
.quick-links-wrapper.left-align
    .quick-links-widget.type-tiles
    li
    .icon.we-icon {
    margin: 8px auto 0 9px;
    padding: 0 !important;
}
.quick-links-widget--tiles .quick-links-widget__item {
    height: 88px;
}

/* POPULAR TOOLS */
.mobile.wide .popular-tools-container {
    padding-left: 32px;
    padding-right: 32px;
}

/* COUNTDOWN */
.content-widget-wrapper.widget-on-card.counter {
    padding: 24px 16px 36px !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--box-shadow) !important;
}

.mobile .content-widget-wrapper.widget-on-card.counter {
    padding: 24px 16px !important;
}

.ui-commons__static-content__content-wrapper:has(> countdown-widget) h1,
.ui-commons__static-content__content-wrapper:has(> countdown-widget) h2 {
    margin: 8px 0 !important;
}

.ui-commons__static-content__content-wrapper:has(> countdown-widget) > p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 20px;
    padding: 0 32px;
}

.cw-countdown-master {
    padding: 8px !important;
}

.cw-countdown-main {
    max-width: 260px;
    margin: auto;
    background: transparent !important;
}

.cw-countdown-box {
    gap: 0 !important;
    padding: 5px !important;
    background: #580084 !important;
    border-radius: var(--border-radius) !important;
}

.cw-countdown-text-d,
.cw-countdown-text-h,
.cw-countdown-text-m,
.cw-countdown-text-s {
    font-size: 12px !important;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding-bottom: 10px;
}

.cw-countdown-number-d,
.cw-countdown-number-h,
.cw-countdown-number-m,
.cw-countdown-number-s {
    font-size: 32px !important;
    font-weight: 400 !important;
    padding: 6px 0 4px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.mobile.wide .content-widget-wrapper:has(countdown-widget) {
    padding-left: 32px;
    padding-right: 32px;
}

/* NEWS ARTICLES */
.news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article.news-feed-post
    header
    > div:has(.news-feed-post-badges) {
    margin-bottom: 16px !important;
}

.news-feed-wrapper .news-feed.scroller .news-feed-list article.news-feed-post {
    padding: 24px 24px 16px 24px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

.news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article.news-feed-post:has(
        .news-feed-post-social-counts .news-feed-post-link.reactions
    ) {
    padding: 24px;
}

.news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article.news-feed-post
    .news-feed-post-social-counts:not(:has(.news-feed-post-link.reactions)) {
    display: none;
}

.news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article.news-feed-post.news-feed-post-type-updates
    section.news-feed-post-teaser {
    margin-bottom: 16px;
}

/* NEWS SLIDER */
.news-stage-wrapper
    news-slider-block
    .news-slider-container
    .swiper
    .news-slider-pagination {
    display: none;
}

/* PODCAST WIDGET */
.latest-podcast {
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius) !important;
}

.mobile
    .content-widget-wrapper.static-content-wrapper.widget-on-card.latest-podcast {
    margin-bottom: 24px !important;
}

.desktop .latest-podcast {
    padding: 16px !important;
}

.mobile .latest-podcast {
    padding: 16px 10px !important;
}

.mobile .latest-podcast static-content-block {
    padding: 0 !important;
}

.latest-podcast .audio-player__meta,
.latest-podcast .audio-player__file-size {
    display: none;
}

.latest-podcast .ui-commons__static-content__content-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.latest-podcast__thumb,
.latest-podcast__info,
.audio-player {
    margin-bottom: 0 !important;
}

.latest-podcast__thumb {
    width: 16%;
    border-radius: var(--border-radius);
}

.latest-podcast__thumb > p {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.latest-podcast__thumb image-block.connected {
    padding: 8px 0 !important;
    width: 100% !important;
    display: flex;
    align-items: center;
}

.latest-podcast__info {
    width: 55%;
}

.latest-podcast__player {
    margin-left: auto;
    margin-bottom: 0;
}

.latest-podcast__info-title {
    font-size: 16px;
    font-weight: 400;
}

.latest-podcast__info-subtitle {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    color: #545459;
    line-height: 1.2;
}

.latest-podcast__player .audio-player {
    border: none;
}

.latest-podcast__player .audio-player .audio-player__play-button {
    background: none;
    padding: 2px !important;
    border-radius: 100%;
}

.latest-podcast__player .audio-player .audio-player__play-button svg {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 100%;
}

.latest-podcast__player .audio-player .audio-player__play-button svg path {
    fill: #000;
}

.latest-podcast__player
    .audio-player
    .audio-player__play-button:hover
    svg
    path {
    opacity: 0.8;
}

/* SURVEY WIDGET */
.plugin-wrapper.widget-on-card:has(survey-plugin-employee-block) {
    border-radius: var(--border-radius) !important;
    border: 1px solid var(--border-color) !important;
    padding: 0 !important;
}

.plugin-wrapper.widget-on-card:has(survey-plugin-employee-block) * {
    border-radius: var(--border-radius) !important;
    border: none !important;
}

survey-plugin-employee-block form {
    padding: 0 !important;
    gap: 0 !important;
}

survey-plugin-employee-block form > div {
    padding: 24px !important;
    min-height: 0 !important;
    gap: 0 !important;
    border-color: var(--border-color) !important;
    border-radius: var(--border-radius) !important;
}

survey-plugin-employee-block div:has(> .ds-pill) {
    gap: 16px !important;
}

survey-plugin-employee-block form > div hr {
    display: none;
}

survey-plugin-employee-block form > div h2 {
    text-align: center;
    font-size: 24px !important;
    font-weight: 400 !important;
}

survey-plugin-employee-block form button[type='submit'] {
    margin: 0;
    height: 45px;
    background-color: #580084 !important;
    border-radius: var(--border-radius);
}

survey-plugin-employee-block form button[type='submit'] span {
    color: #fff !important;
}

survey-plugin-employee-block button[type='submit']:hover {
    opacity: 0.8;
}

survey-plugin-employee-block form label svg {
    fill: var(--sb-brand) !important;
    width: 32px;
    height: auto;
}

survey-plugin-employee-block form div:has(> svg.ds-icon.ds-icon-lock) p {
    margin-top: 2px;
}

survey-plugin-employee-block form svg.ds-icon.ds-icon-lock,
survey-plugin-employee-block form svg.ds-icon.ds-icon-lock path {
    border-radius: 0 !important;
}

survey-plugin-employee-block .text-\[var\(--sb-brand-600\)\] {
    fill: var(--sb-brand) !important;
}

/* JOBS WIDGET */
.jobs {
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius) !important;
    padding: 24px !important;
}

.jobs .job-description {
    font-size: 12px;
    color: var(--sb-color-grey-900);
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.jobs .column-33.column-33 {
    display: flex;
    align-items: center;
}

.mobile .jobs .content-widget-wrapper > button-block.content-widget {
    margin-top: 5px;
}

.jobs .button-widget.content-widget > .widget-card {
    display: flex;
    justify-content: end;
}

.jobs .button-widget.content-widget a {
    padding: 10px !important;
    line-height: 20px;
    min-height: 30px;
    font-size: 14px;
}

.jobs
    .content-widget-wrapper.section-wrapper.content-widget-wrapper.section-wrapper.content-widget-wrapper.section-wrapper:not(
        :last-child
    ) {
    border-bottom: 1px solid var(--border-color);
}

.jobs
    .content-widget-wrapper.section-wrapper.content-widget-wrapper.section-wrapper.content-widget-wrapper.section-wrapper {
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.jobs
    .content-widget-wrapper.section-wrapper.content-widget-wrapper.section-wrapper.content-widget-wrapper.section-wrapper:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.jobs .ui-commons__section__wrapper {
    justify-content: space-between;
}

@media screen and (max-width: 800px) {
    .jobs .column-66.column-66:not(:last-child) {
        width: 66.6667%;
        max-width: 66.6667%;
        padding-right: 16px;
        margin-bottom: 0;
    }

    .jobs .column-33.column-33 {
        width: 33.3333%;
        max-width: 33.3333%;
    }
}

.mobile .static-content-wrapper.widget-on-card.jobs .static-content-widget {
    padding: 0 !important;
}

.mobile
    .static-content-wrapper.widget-on-card.jobs
    .static-content-widget
    .section-widget.content-widget {
    padding: 0;
}

.mobile
    .static-content-wrapper.widget-on-card.jobs
    .static-content-widget
    .section-widget.content-widget
    .button-widget {
    padding: 0;
}

/* CREATE POST WIDGET */
.content-widget-wrapper.create-post-wrapper {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--box-shadow) !important;
    border: 1px solid var(--border-color) !important;
}

.content-widget-wrapper.create-post-wrapper .create-post-widget {
    border-radius: var(--border-radius) !important;
}

/* MY TASKS WIDGET */
static-tasks .widget-card {
    box-shadow: var(--box-shadow) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    background-color: #fff !important;
}

/* MY ABSENCES WIDGET */
.content-widget-wrapper.user-absence-wrapper {
    box-shadow: var(--box-shadow) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    overflow: hidden !important;
}

.mobile .content-widget-wrapper.user-absence-wrapper {
    margin-top: 24px !important;
}

/* MY PAYSLIPS WIDGET */
.content-widget-wrapper.user-payslips-wrapper {
    box-shadow: var(--box-shadow) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    overflow: hidden !important;
}

/* ACCORDION WIDGET */
.content-widget-wrapper.accordion-wrapper {
    box-shadow: var(--box-shadow) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
}

.content-widget-wrapper.accordion-wrapper
    accordion-block
    div.widget-card
    > div {
    padding: 10px;
}

.content-widget-wrapper.accordion-wrapper
    accordion-block
    div.widget-card
    > div
    div[role='heading']
    > div:nth-of-type(2) {
    bottom: 50%;
    transform: translateY(50%);
}

.content-widget-wrapper.accordion-wrapper
    accordion-block
    div.widget-card
    > div:has(div[aria-hidden='false'])
    div[role='heading']
    > div:nth-of-type(2) {
    bottom: 50%;
    transform: translateY(50%) rotate(180deg);
}

/* FOOTER */
.page-footer > .content-widget-wrapper.static-content-wrapper {
    border-radius: 0;
}

html.desktop #wrapper:not(:has(.full-width-home-page)):has(.page-footer) {
    padding: 175px 0 0 !important;
    width: 100% !important;
    max-width: unset !important;
}

html.desktop #wrapper:has(.page-footer) div:has(> #breadcrumbs) {
    width: 1200px !important;
    margin: auto;
}

.page-footer p {
    font-size: 14px;
    line-height: 26px;
}

.page-footer p > strong {
    font-family: var(--heading-font-family);
}

.mobile .full-width-bg.page-footer > .content-widget-wrapper {
    margin-bottom: 0 !important;
}

.mobile .page-content:has(div.page-footer) {
    padding-bottom: var(--custom-safe-area-inset-bottom) !important;
}

.mobile .page-content > .scroller:has(div.page-footer) {
    padding-bottom: 0 !important;
}

/* ============================================================
    5. PAGES
============================================================ */
/* ---------------------- HOME PAGE ---------------------- */
html.desktop #wrapper:has(.full-width-home-page) {
    padding: 0 !important;
    width: 100% !important;
    max-width: unset !important;
}

.full-width-home-page {
    padding: 0 !important;
}

.mobile.wide .page-content:has(.full-width-home-page) {
    padding: 0 !important;
}

/* FEATURED NEWS BANNER */
.featured-news-banner {
    background: #ffdfbc;
}

.featured-news-banner {
    padding: 160px 0 60px;
}

.featured-news-banner > div:first-of-type {
    max-width: 1500px;
    margin: 0 auto 10px;
}

.featured-news-banner > div:last-of-type {
    max-width: 1500px;
    margin: 0 auto;
}

.desktop
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50 {
    width: calc(50% - 4px) !important;
    max-width: unset !important;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article {
    min-height: 510px;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article
    > .news-slider-content-wrapper
    > .news-slider-inner-content-wrapper {
    padding: 15px;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article
    .news-slider-content-wrapper {
    position: absolute;
    bottom: 5%;
    left: 3%;
    width: 75%;
    background: #ffffff20;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    backdrop-filter: blur(20px);
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article
    .news-slider-content-wrapper
    .news-slider-body-wrapper
    section.news-feed-post-teaser
    > span {
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.desktop
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    margin-inline-start: 8px !important;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper {
    flex: 1;
    min-height: 0;
    margin-bottom: 8px !important;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget,
.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper,
.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .content-widget-wrapper.news-stage-wrapper,
.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .content-widget-wrapper.news-stage-wrapper
    news-slider-block,
.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .content-widget-wrapper.news-stage-wrapper
    news-slider-block
    > div,
.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .content-widget-wrapper.news-stage-wrapper
    news-slider-block
    > div
    > .news-slider-container,
.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .content-widget-wrapper.news-stage-wrapper
    news-slider-block
    > div
    > .news-slider-container
    .swiper {
    height: 100%;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    > .column-50 {
    width: calc(50% - 4px) !important;
    max-width: unset !important;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    .column-50:nth-of-type(2) {
    margin-inline-start: 8px !important;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper:nth-of-type(2) {
    margin-bottom: 0 !important;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    article
    .news-slider-content-wrapper {
    position: absolute;
    bottom: 4%;
    left: 3%;
    width: 80%;
    background: #ffffff20;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    backdrop-filter: blur(20px);
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    article
    > .news-slider-content-wrapper
    > .news-slider-inner-content-wrapper {
    padding: 10px;
}

.featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    article
    > .news-slider-content-wrapper
    > .news-slider-inner-content-wrapper
    h2.news-feed-post-headline {
    font-size: 20px;
    line-height: 24px;
}

/* FEATURED NEWS BANNER - mobile */
.mobile .featured-news-banner {
    padding: 0;
}

.mobile .featured-news-banner > div:first-of-type {
    margin: 0;
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1) {
    margin-bottom: 8px;
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article {
    min-height: 350px;
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article
    .news-slider-content-wrapper {
    bottom: 5%;
    left: 3%;
    width: 85%;
    background: #ffffff20;
    border-radius: var(--border-radius);
    border: 1px solid transparent;
    backdrop-filter: blur(20px);
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(1)
    article
    .news-slider-content-wrapper
    .news-slider-body-wrapper
    section.news-feed-post-teaser
    > span {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2) {
    display: none;
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    > .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    > .column-50 {
    margin-bottom: 0 !important;
}

.mobile
    .featured-news-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-50:nth-of-type(2)
    article {
    min-height: 215px;
}

@media only screen and (min-width: 600px) {
    .mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(1)
        article {
        min-height: 440px;
    }

    .mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(2) {
        display: block;
    }

    .ipad.mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(2)
        > .content-widget-wrapper.section-wrapper {
        margin-bottom: 10px !important;
    }

    .ipad.mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(2) {
        margin-inline-start: 14px !important;
    }

    .ipad.mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(2)
        > .content-widget-wrapper.section-wrapper
        .section-widget.content-widget
        .ui-commons__section__wrapper
        > .column-50 {
        width: calc(50% - 7px) !important;
    }

    .ipad.mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(2)
        .column-50:nth-of-type(2) {
        margin-inline-start: 14px !important;
    }
}

@media only screen and (min-width: 750px) {
    .ipad.mobile
        .featured-news-banner
        > .content-widget-wrapper.section-wrapper
        > .section-widget.content-widget
        > .ui-commons__section__wrapper
        > .column-50:nth-of-type(2) {
        margin-inline-start: 0 !important;
    }
}

/* PLAIN ARTICLES SECTION */
.content-widget-wrapper:has(.news-articles-plain) {
    border-radius: 0 !important;
}

.news-articles-plain
    .column-25:has(
        .content-widget-wrapper.news-feed-wrapper.news-feed-wrapper
    ) {
    display: flex;
    align-items: end;
}

.desktop .news-articles-plain {
    padding-top: 55px;
}

.news-articles-plain
    .news-feed-post
    h2.news-feed-post-headline.news-feed-post-headline.news-feed-post-headline {
    font-size: 24px;
    line-height: 32px;
    color: #fff;
}

.news-articles-plain .news-feed-post .news-feed-post-meta {
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-articles-plain .news-feed-post .news-feed-post-teaser span {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    color: #fff;
}

.desktop .news-articles-plain .news-feed-post figure,
.desktop .news-articles-plain .news-feed-post .news-feed-post-social-footer,
.desktop .news-articles-plain .news-feed-post .read-more {
    display: none;
}

.news-articles-plain article.news-feed-post.news-feed-post.news-feed-post {
    padding: 24px 16px;
    background: transparent;
    box-shadow: none;
    border: none !important;
    border-radius: unset !important;
}

.mobile
    .news-articles-plain
    article.news-feed-post.news-feed-post.news-feed-post {
    padding: 0;
}

/* This might only work on webkit (chromium based browsers) */
.desktop .news-articles-plain article.news-feed-post section span {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-articles-plain .news-feed-post-channel-link {
    color: var(--sb-brand);
    font-weight: bold;
    text-decoration: none;
}

.news-articles-plain .news-feed-post-channel-link:hover {
    text-decoration: underline !important;
}

/* LOCAL NEWS SECTION */
.desktop .local-news-container {
    padding-bottom: 24px;
}

.desktop
    .local-news-container
    .column-66.ui-commons__section__column
    .column-50.ui-commons__section__column {
    display: flex;
    flex-direction: column;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.news-feed-wrapper.news-feed-wrapper {
    flex-grow: 1;
    margin-bottom: 0;
    display: flex;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper {
    margin-bottom: 16px !important;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper:nth-of-type(2) {
    margin-bottom: 10px !important;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-widget {
    width: 100%;
}

.local-news-container
    .column-66.ui-commons__section__column
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller,
.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller
    .news-feed-list,
.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    > div,
.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article {
    height: 100%;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article {
    display: flex;
    flex-direction: column;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article
    header {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
}

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.section-wrapper
    .section-widget.content-widget
    .ui-commons__section__wrapper
    .column-50.ui-commons__section__column
    .news-feed-wrapper
    .news-feed.scroller
    .news-feed-list
    article
    footer
    .news-feed-post-social-footer
    > div:not(.news-feed-post-social-counts) {
    display: none;
}

.local-news-container .news-feed-wrapper {
    margin-bottom: 0 !important;
}

.mobile .local-news-container .news-feed-post-image,
.mobile .local-news-container .news-feed-post-video {
    margin: -24px -24px 24px -24px;
}

.mobile .local-news-container {
    margin-bottom: 0 !important;
}

.mobile .local-news-container .news-feed-list > div:not(:last-child) {
    padding-bottom: 16px;
}

.local-news-container .news-feed-post-channel-link {
    color: var(--sb-brand);
    font-weight: bold;
    text-decoration: none;
}

.local-news-container .news-feed-post-channel-link:hover {
    text-decoration: underline !important;
}

.local-news-container .column-33 .quick-links-wrapper {
    margin-bottom: 12px;
}

/* Local news quick links section */
.local-news-container .column-33 .quick-links-wrapper:nth-of-type(4) {
    margin-bottom: 32px !important;
}

.local-news-container
    .column-33
    .quick-links-wrapper
    .quick-links-widget__item {
    padding: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: start;
}

.local-news-container
    .column-33
    .quick-links-wrapper
    .quick-links-widget__item
    .icon.we-icon {
    margin: 0;
}

.local-news-container
    .column-33
    .quick-links-wrapper
    .quick-links-widget__item
    a {
    position: static;
    display: flex;
    text-align: start;
    align-items: center;
    padding: 0;
}
.local-news-container .column-33 .quick-links-wrapper {
    margin-bottom: 12px;
}

.local-news-container .column-33 .quick-links-wrapper:nth-of-type(4) {
    margin-bottom: 32px !important;
}

.local-news-container
    .column-33
    .quick-links-wrapper
    .quick-links-widget__item {
    padding: 16px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: start;
}

.local-news-container
    .column-33
    .quick-links-wrapper
    .quick-links-widget__item
    .icon.we-icon {
    margin: 0;
}

.local-news-container
    .column-33
    .quick-links-wrapper
    .quick-links-widget__item
    a {
    position: static;
    display: flex;
    text-align: start;
    align-items: center;
    padding: 0;
}

/* CALL OUT BANNER SECTION */
.content-widget-wrapper.static-content-wrapper:has(.call-out-banner) {
    border-radius: 0;
    margin: 0 !important;
}

.call-out-banner {
    background: linear-gradient(91deg, #58008452 0.79%, #580084 99.21%);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 32px;
    position: relative;
    overflow: hidden;
    height: 475px;
}

.desktop .call-out-banner {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
}

.call-out-banner h1 {
    font-size: 64px !important;
    line-height: 70px !important;
    font-weight: 700 !important;
    padding-right: 80px !important;
}

.mobile .call-out-banner h1 {
    font-size: 24px !important;
    line-height: 32px !important;
    padding-right: 105px !important;
}

.mobile .call-out-banner {
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    padding: 24px;
}

.call-out-banner > .content-widget-wrapper.section-wrapper,
.call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget,
.call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper,
.call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-100,
.call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-100
    > .content-widget-wrapper.section-wrapper,
.call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-100
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget,
.call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-100
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper {
    height: 100%;
}

.mobile
    .call-out-banner
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper
    > .column-100
    > .content-widget-wrapper.section-wrapper
    > .section-widget.content-widget
    > .ui-commons__section__wrapper {
    height: 75%;
}

.call-out-banner .column-66 {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.call-out-banner .column-66.ui-commons__section__column {
    z-index: 1;
}

.desktop .call-out-banner .column-33 img {
    position: absolute;
    bottom: 0;
    right: 0;
}

.mobile .call-out-banner .column-33 img {
    position: absolute;
    right: -95px;
    bottom: 0;
    max-width: 350px;
}

.desktop .call-out-banner p.feature {
    position: absolute;
    bottom: 45px;
    right: 60px;
}

.mobile .call-out-banner p.feature {
    position: absolute;
    left: 24px;
    bottom: 24px;
    text-align: left !important;
}

.call-out-banner
    .button-wrapper
    .button-widget.content-widget
    a.button-block-link {
    border-radius: var(--border-radius);
}

/* SOCIAL WALL SECTION */
.content-widget-wrapper.static-content-wrapper:has(.social-wall-container) {
    margin-bottom: 0 !important;
    border: none;
}

.social-wall-container .content-widget-wrapper.news-feed-wrapper {
    margin-bottom: 0px !important;
}

.mobile .social-wall-container .news-feed-list > div:not(:last-child) {
    padding-bottom: 16px;
}

.mobile.wide
    .social-wall-container
    > .section-wrapper
    > .section-widget
    > .ui-commons__section__wrapper
    > .ui-commons__section__column {
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.mobile.wide
    .social-wall-container
    .ui-commons__section__column:has(.news-feed-wrapper) {
    margin-bottom: 16px !important;
}

/* ---------------------- TEMPLATES ---------------------- */
.custom-news-feed-font-template1 h2.news-feed-post-headline {
    font-size: 16px !important;
}

.custom-news-feed-font-template1 section.news-feed-post-teaser span {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}


/* Hiding menu flyout and nested items for 'Your news' page */
div[data-folder-id="69fb95fc21cc7b1f95028bb0"] ul,
a[data-menu-item-id="69fb95fc21cc7b1f95028bb0"] svg,
li[data-menu-item-id="69fb95fc21cc7b1f95028bb0"] svg {
     display: none;
} 


/* ======== Mobile Navigation Quick link bar at the bottom START =======*/
#mobile-quicklinks a,
#mobile-quicklinks span,
#mobile-quicklinks li {
    color: #ffffff !important;
    opacity: 1 !important; /* Overrides the default inactive grey-out opacity */
}

/* forces uploaded image icons (PNG/SVG/JPG) white */
#mobile-quicklinks img {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important; 
}

/* targets system icon SVG's */
#mobile-quicklinks svg,
#mobile-quicklinks svg *,
#mobile-quicklinks path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    color: #ffffff !important;
    opacity: 1 !important; 
}
/* ======== Mobile Navigation Quick link bar at the bottom END =======*/


/* ==========================================================================
    STANDARDIZE NEWS WIDGET CARD HEIGHTS/ALIGNMENT START
   ========================================================================== */
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .content-widget-wrapper,
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed-widget,
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed,
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed-list,
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed-list > div {
    height: 100%;
}
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed-post {
    height: 100%;
    display: flex;
    flex-direction: column;
}
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed-post > footer {
    margin-top: auto !important;
}
html[data-menu-id="6a1a1eb886d65e61949987a8"].desktop .column-33 .news-feed-post-headline {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    min-height: 48px; 
}

/* HOME PAGE */
/* 1. Target the correct News Stage title classes to wrap to 2 lines */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-titleBox,
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-titleBox * {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    height: auto !important; 
}

/* 2. Keep the title wrapper locked to EXACTLY 2 lines of height */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-header-wrapper {
    height: 50px !important; 
    overflow: hidden !important;
}

/* 3. Make the wrapper tall enough to hold 5 lines PLUS the link (approx 135px) */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-body-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 135px !important; 
    overflow: hidden !important;
}

/* 4. Apply the clamp to the text itself, keeping it to 5 lines */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-body-wrapper .news-feed-post-teaser > span,
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-body-wrapper .news-feed-post-teaser > p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 5 !important;
    overflow: hidden !important;
}

/* 5. Push the 'Read more' link to the bottom so they all align horizontally */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-25 .news-slider-body-wrapper .news-feed-post-teaser > a {
    margin-top: auto !important;
    padding-top: 4px !important; 
}

/* HOME PAGE - CLINICAL UPDATES AT A GLANCE */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .content-widget-wrapper,
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-widget,
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-list,
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-list > div {
    height: 100%;
}

html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-post,
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-post > a.news-feed-post-link {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 3. Clamp the Headlines to EXACTLY 2 lines of space */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-post-headline {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    min-height: 48px !important; 
}

html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-post-teaser > span {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important; /* Changed to 4 */
    overflow: hidden !important;
    min-height: 86px !important; /* Increased to fit 4 lines (approx 21px * 4) */
}

/* 5. Turn the teaser section into a flexbox to control the "Read more" link */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-post-teaser {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 6. Push the "Read more" link to the absolute bottom of the card */
html[data-menu-id="6a594cb537d57e0963ded22b"].desktop .column-33 .news-feed-post-teaser > a {
    margin-top: auto !important;
    padding-top: 10px !important; /* Adds a little breathing room above the link */
}

/* LEADERSHIP SUMMIT PAGE */
/* 1. Pass the height down through all the invisible wrapper divs */
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .content-widget-wrapper,
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed-widget,
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed,
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed-list,
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed-list > div {
    height: 100%;
}

/* 2. Force the article card to be a flex column that fills that 100% height */
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed-post {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* 3. Push the footer (Read more) to the absolute bottom */
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed-post > footer {
    margin-top: auto !important;
}

/* 4. Ensure headlines are clamped to a consistent 2 lines */
html[data-menu-id="6a6bab38e2fcd84119f94a3c"].desktop .column-33 .news-feed-post-headline {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    min-height: 48px; 
}



/* OUR IMPACT page */
html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 news-slider-block,
html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 news-slider-block > div,
html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 .news-slider-container,
html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 .swiper-wrapper,
html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 .swiper-slide,
html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 article.slide-post {
    height: 360px !important; 
}

html[data-menu-id="69e68c844a58e67d49826509"].desktop .column-50 .button-wrapper {
    margin-top: auto !important;
}

/* OPERATIONS HUB PAGE */
html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .content-widget-wrapper,
html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed-widget,
html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed,
html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed-list,
html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed-list > div {
    height: 100%;
}

html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed-post {
    height: 100%;
    display: flex;
    flex-direction: column;
}

html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed-post > footer {
    margin-top: auto !important;
}

html[data-menu-id="69d9579b85ba23166a9222e6"].desktop .column-33 .news-feed-post-headline {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    min-height: 48px; 
}

/* our cultures and values */
html[data-menu-id="6997521ea267982eb0de4d23"].desktop .column-50 .content-widget-wrapper,
html[data-menu-id="6997521ea267982eb0de4d23"].desktop .column-50 .ui-commons__portfolio-widget__wrapper,
html[data-menu-id="6997521ea267982eb0de4d23"].desktop .column-50 .ui-commons__portfolio-widget__panel-wrapper {
    height: 100%;
}

html[data-menu-id="6997521ea267982eb0de4d23"].desktop .column-50 .ui-commons__portfolio-widget__panel-link {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

html[data-menu-id="6997521ea267982eb0de4d23"].desktop .column-50 .ui-commons__portfolio-widget__panel-link > div {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; 
}


/* ==========================================================================
    STANDARDIZE NEWS WIDGET CARD HEIGHTS END
   ========================================================================== */

/* ==========================================================================
    ADJUSTING COLUMN STACK FOR MOBILE RESOLUTION OVER 800PX < 900PX 
   ========================================================================== */

@media screen and (max-width: 900px) {
  .ui-commons__section__wrapper {
    flex-direction: column !important;
  }
  .ui-commons__section__column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .iLjSJZ:not(:first-child) {
    margin-inline-start: unset !important;
  }

  /* Fix: override the JS-computed inline pixel size on feed thumbnails */
  .ui-commons__section__column .news-feed-post-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }

  /* Neutralize the gutter-compensation margin now that it's full width */
  .ui-commons__section__column .news-feed.scroller {
    margin: 0 !important;
  }
}