/* ============================================================
   0. ROOT VARIABLES
============================================================ */
:root {
    /* BORDER */
    --border-radius: 0;
    --border-color: #e2e2e4;
    /* BOX SHADOW */
    --box-shadow: none;
    /* HEADER */
    --sb-background-mobile-header-appintranet: #fff;
   --content-font-family: 'ViessmannWeb', Inter, 'Helvetica Neue', 'Lucida Grande', Helvetica, Arial, sans-serif;
    --heading-font-family: var(--content-font-family);
}

/* ============================================================
    1. CORE STYLES (Font, body, typography, colors, utility classes)
============================================================ */
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* TYPOGRAPHY */
*:not(.we-icon, h1, h2, h3, h1 *, h2 *, h3 *) {
    font-family: var(--content-font-family) !important;
}

h1,
h2,
h3,
h1 *,
h2 *,
h3 * {
    font-weight: 400;
    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;
}

/* 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. COMPONENTS (UI pieces)
============================================================ */
/* HEADER */
.mobile header.header-container {
    background-color: var(--sb-background-mobile-header-appintranet) !important;
}

html:is(.desktop, .mobile:has(.full-width-home-page)) .header-title {
    display: none !important;
}
/*
.mobile .header-title,
.mobile header.header-container button span.we-icon {
    color: var(--sb-brand);
}
*/
#header #search-input {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
}

#header #search-input .ds-search-input__wrapper {
    border-radius: 100px;
}
/*
.mobile .header-container .header-button-back {
    color: var(--sb-brand);
}
*/
/* FLOATING NAV */
.desktop nav ul {
    --sb-text-menubar-intranet: var(--sb-text-header-appintranet);
}

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

/* HEADINGS */
.news-feed-post-headline {
    text-transform: uppercase;
}

.ui-commons__section__column > h2 {
    text-transform: uppercase;
}
/* STATIC CONTENT WIDGET */
.wide .content-widget-wrapper.widget-on-card{
    border-radius: 0;
}

.mobile .page .page-content .content-widget-wrapper .static-content-widget.content-widget .static-content-widget.content-widget{
    border: 1px solid var(--border-color) !important; 
    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 16px 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 {
    margin: 8px auto 0 12px;
}

.quick-links-widget--tiles .quick-links-widget__item {
    height: 88px;
}

/* FULL WIDTH ARTICLE - NEWS BANNER */
.simulated .full-width-news-banner {
    min-height: 0;
}


.full-width-news-banner .swiper,
.full-width-news-banner .swiper-container,
.full-width-news-banner
    .news-slider-slide.swiper-slide
    .news-feed-post-media-dummy,
.full-width-news-banner .news-slider-slide.swiper-slide article,
.full-width-news-banner
    .news-slider-content-wrapper.news-slider-content-wrapper,
.full-width-news-banner
    news-slider-block
    .swiper
    .news-slider-media-wrapper
    .news-feed-post-image,
.full-width-news-banner
    news-slider-block
    .swiper
    .news-slider-media-wrapper
    .news-feed-post-video {
    border-radius: 0;
}

.full-width-news-banner {
    min-height: 700px;
    position: relative;
    background: transparent !important;
}

.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper
    .swiper-wrapper,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper
    .swiper-wrapper
    .swiper-slide,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper
    .swiper-wrapper
    .swiper-slide
    article.slide-post,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper
    .swiper-wrapper
    .swiper-slide
    article.slide-post
    .news-slider-media-wrapper,
.desktop
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper
    .swiper-wrapper
    .swiper-slide
    article.slide-post
    .news-slider-media-wrapper
    * {
    height: 100% !important;
    min-height: 750px !important;
    max-height: 750px !important;
    margin: 0 !important;
}

.mobile .full-width-news-banner {
    min-height: 500px;
}

.mobile
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr,
.mobile
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block,
.mobile
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container,
.mobile
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper,
.mobile
    .full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr
    news-slider-block
    .news-slider-container
    .swiper
    .swiper-wrapper {
    height: 100%;
    min-height: 500px;
}

.full-width-news-banner .news-slider-media-wrapper,
.full-width-news-banner .news-slider-media-wrapper .news-feed-post-link,
.full-width-news-banner
    .news-slider-media-wrapper
    .news-feed-post-link
    .news-feed-post-image {
    height: 100%;
}

.full-width-news-banner
    .news-slider-media-wrapper
    .news-feed-post-link
    .news-feed-post-image
    img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.full-width-news-banner
    .news-slider-media-wrapper
    .news-feed-post-image::after {
    background: rgba(0, 0, 0, 0.3) !important;
}

.full-width-news-banner news-slider-block .swiper .news-slider-media-wrapper {
    margin-bottom: 0 !important;
}

.full-width-news-banner
    .news-slider-content-wrapper
    .news-slider-inner-content-wrapper
    .news-feed-post-headline {
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    line-height: 1.25 !important;
    letter-spacing: -0.04em;
}

.full-width-news-banner
    .content-widget-wrapper.news-stage-wrapper.dynamic-widget-with-ptr {
    margin: 0;
}

.desktop .full-width-news-banner .news-slider-content-wrapper {
    position: absolute;
    width: 100%;
    max-width: 1300px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    align-items: start;
}

.mobile .full-width-news-banner .news-slider-content-wrapper {
    position: absolute;
    width: 100%;
    bottom: 17.8%;
    left: 16px;
    align-items: start;
}

.full-width-news-banner
    .news-slider-content-wrapper
    .swiper-slide.news-slider-slide
    article.slide-post {
    border-radius: 0;
}

.desktop
    .full-width-news-banner
    .news-slider-content-wrapper
    .news-slider-inner-content-wrapper {
    max-width: 60%;
    padding: 0;
}

.mobile .full-width-news-banner {
    padding: 0 !important;
}

.mobile
    .full-width-news-banner
    .news-slider-content-wrapper
    .news-slider-inner-content-wrapper {
    max-width: 85%;
    padding: 0;
}

.desktop
    .full-width-news-banner
    .news-slider-content-wrapper
    .news-slider-inner-content-wrapper
    .news-feed-post-headline {
    font-size: 65px;
    font-weight: 600;
    line-height: 75px;
}

.mobile
    .full-width-news-banner
    .news-slider-content-wrapper
    .news-slider-inner-content-wrapper
    .news-feed-post-headline {
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
}

.desktop .full-width-news-banner .column-33 {
    position: relative;
    top: 85px;
}

.desktop .full-width-news-banner .heading-large-hero {
    font-size: 65px;
    line-height: 75px;
    padding-right: 170px;
    padding-top: 60px;
}

.desktop .full-width-news-banner .content-widget-wrapper.section-wrapper {
    padding-top: calc(136px + 44px);
}

.mobile .full-width-news-banner .column-66 {
    position: absolute;
    bottom: 32px;
}

.mobile .full-width-news-banner h1 {
    font-size: 40px;
    line-height: 40px;
    padding-right: 100px;
    z-index: 10;
}

.desktop .full-width-news-banner div:has(> button.news-slider-navbutton-prev) {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.mobile .full-width-news-banner div:has(> button.news-slider-navbutton-prev) {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.mobile
    .news-slider-navbutton-prev.news-slider-navbutton-prev.news-slider-navbutton-prev {
    left: 15px;
    bottom: 10px;
    top: auto;
}

.mobile
    .news-slider-navbutton-next.news-slider-navbutton-next.news-slider-navbutton-next {
    left: 60px;
    bottom: 10px;
    top: auto;
}

.full-width-news-banner
    .news-slider-content-wrapper
    .news-slider-inner-content-wrapper
    .news-slider-header-wrapper {
    margin-bottom: 10px;
}

/* FULL WIDTH NEWS BANNER WIDGET */
.full-width-news-banner .banner-widget-container {
    z-index: 3;
    position: absolute;
    bottom: 5%;
    right: calc(50% - min(650px, 50%));
    max-width: 395px;
    width: 100%;
}

.full-width-news-banner .banner-widget-container:has(.weather-widget) {
    width: 27%;
    max-width: 420px;
}

.full-width-news-banner
    .banner-widget-container
    > div.content-widget-wrapper.static-content-wrapper {
    padding: 16px;
    border-radius: 12px !important;
}

.full-width-news-banner
    .banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
}

.full-width-news-banner
    .banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-wrapper {
    margin: 0 !important;
}

.mobile .banner-widget-container div:has(> .portfolio-wrapper) {
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.mobile .banner-widget-container {
    margin-bottom: 0 !important;
}

/* BANNER WIDGET */
.banner-widget-container > .content-widget-wrapper {
    border-radius: var(--border-radius) !important;
    box-shadow: var(--box-shadow) !important;
}

.banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-wrapper {
    border: none !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--box-shadow) !important;
    margin: 0 !important;
}

.banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-link:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-text-wrapper {
    text-align: center;
    z-index: 100;
}

.banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-link:hover
    .ui-commons__portfolio-widget__panel-text-wrapper
    * {
    text-decoration: underline;
}

.banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    .ui-commons__portfolio-widget__panel-text-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    padding: 16px;
}

.mobile .ui-commons__portfolio-widget__panel-text-wrapper h2 {
    font-size: 24px !important;
}

.mobile
    .banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    > .ui-commons__portfolio-widget__wrapper {
    flex-wrap: nowrap;
}

.mobile
    .banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    > .ui-commons__portfolio-widget__wrapper
    > .ui-commons__portfolio-widget__panel-wrapper:not(:first-child) {
    margin-left: 10px;
}
.mobile
    .banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    > .ui-commons__portfolio-widget__wrapper
    > .ui-commons__portfolio-widget__panel-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.mobile
    .banner-widget-container
    .portfolio-wrapper
    > .portfolio-widget
    > .ui-commons__portfolio-widget__wrapper
    > .ui-commons__portfolio-widget__panel-wrapper
    .ui-commons__portfolio-widget__panel-title {
    font-size: 12px;
    text-align: center;
}

.mobile
    .banner-widget-container
    .portfolio-wrapper:not(.widget-on-card)
    .ui-commons__portfolio-widget__wrapper {
    padding: 0;
}

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

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

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

.movile .content-widget-wrapper.widget-on-card.counter {
    padding: 5px 16px 15px !important;
}

.mobile.compact .content-widget-wrapper.widget-on-card.counter {
    margin-bottom: 16px !important;
}

.mobile.wide .content-widget-wrapper.widget-on-card.counter {
    margin-bottom: 24px !important;
}

.mobile .content-widget-wrapper.widget-on-card.counter static-content-block {
    background: transparent !important;
}

.counter .column-33 .static-content-wrapper {
    padding: 10px !important;
    text-align: center;
}

.counter div:has(> countdown-widget) h1,
.counter div:has(> countdown-widget) h2 {
    margin-bottom: 0;
}

.counter countdown-widget {
    margin-bottom: 0 !important;
    margin-top: 5px !important;
}

.counter .cw-countdown-number,
.counter .cw-countdown-text {
    display: flex;
    gap: 10px;
}

.counter .cw-countdown-number {
    font-size: 32px;
}

.counter .cw-countdown-text {
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 12px;
}

.counter .cw-countdown-number br,
.counter .cw-countdown-text br {
    display: none !important;
}

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

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

.counter .cw-countdown-main:has(.cw-countdown-expired) {
    margin-bottom: 16px;
}

.counter .cw-countdown-expired {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
}

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

.counter .cw-countdown-number-d,
.counter .cw-countdown-number-h,
.counter .cw-countdown-number-m,
.counter .cw-countdown-number-s {
    padding: 12px 0 8px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.counter .cw-countdown-number-d,
.counter .cw-countdown-number-h,
.counter .cw-countdown-number-m,
.counter .cw-countdown-number-s,
.counter .cw-countdown-text-d,
.counter .cw-countdown-text-h,
.counter .cw-countdown-text-m,
.counter .cw-countdown-text-s {
    width: 33% !important;
    background: #cdcdcd;
    color: #000 !important;
}

.counter .cw-countdown-number-s,
.counter .cw-countdown-text-s {
    display: none !important;
}

.counter .ui-commons__static-content__content-wrapper > h2 {
    margin: 0 !important;
}

.counter .ui-commons__static-content__content-wrapper > p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 20px;
    padding: 0 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;
}

/* STOCK WIDGET */
stock-ticker .widget-card {
    padding: 19px 16px !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: var(--box-shadow) !important;
    border-radius: var(--border-radius) !important;
    background: white !important;
}

stock-ticker .stockwidget-logo {
    background: #da012f !important;
    padding: 4px;
}

stock-ticker .stockwidget-container {
    min-height: unset !important;
    padding: 0px !important;
}

stock-ticker .stockwidget-row {
    flex-wrap: nowrap !important;
}

stock-ticker .stockwidget-row * {
    margin-bottom: 0 !important;
}

stock-ticker .stockwidget-chart {
    width: 100px !important;
}

/* 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__info {
    width: 55%;
}

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

.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 */
.survey-custom {
    border-radius: var(--border-radius) !important;
}

.survey-custom * {
    border-radius: var(--border-radius) !important;
}

.survey-custom form {
    padding: 0 !important;
}

.survey-custom form > div {
    padding: 24px !important;
    min-height: 0 !important;
    gap: 0 !important;
    border: none;
}

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

.survey-custom form > div hr {
    display: none;
}

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

.survey-custom .ds-button.ds-button--primary {
    margin: 0;
    height: 45px;
    background-color: var(--sb-brand) !important;
    color: #fff !important;
    border: 1px solid var(--sb-brand);
}

.survey-custom .ds-button.ds-button--primary:hover {
    background-color: white !important;
    color: var(--sb-brand) !important;
}

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

.survey-custom label svg {
    width: 32px;
    height: 32px;
    top: 5px;
    position: relative;
}

.survey-custom plugin-block.plugin-widget {
    box-shadow: var(--box-shadow);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.survey-custom form svg.ds-icon.ds-icon-lock,
.survey-custom form svg.ds-icon.ds-icon-lock path {
    border-radius: 0 !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 8px !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;
}

.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;
}

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

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

.mobile.wide .page-content:has(.full-width-home-page) {
    padding: 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;
}

.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: var(--sb-color-grey-900);
}

.news-articles-plain .news-feed-post .news-feed-post-meta {
    font-size: 12px;
    line-height: 16px;
    color: var(--sb-color-grey-700);
    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: var(--sb-color-grey-900);
}

.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;
}

.desktop
    .news-articles-plain
    .column-25
    article.news-feed-post.news-feed-post.news-feed-post,
.desktop
    .news-articles-plain
    .column-33
    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;
}

.desktop
    .news-articles-plain
    .column-25:first-child
    article.news-feed-post.news-feed-post.news-feed-post {
    padding-left: 0;
}

.desktop
    .news-articles-plain
    .column-25:last-child
    article.news-feed-post.news-feed-post.news-feed-post {
    padding-right: 0;
}

@media screen and (max-width: 1000px) {
    .desktop
        .news-articles-plain
        .column-25:first-child
        article.news-feed-post.news-feed-post.news-feed-post {
        padding-left: 16px;
    }

    .desktop
        .news-articles-plain
        .column-25:last-child
        article.news-feed-post.news-feed-post.news-feed-post {
        padding-right: 16px;
    }
}

/* 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;
}

@media screen and (max-width: 1480px) {
    .desktop .news-articles-plain .column-25 {
        width: calc(25% - 12px);
        max-width: calc(25% - 12px);
    }
}

@media screen and (max-width: 1000px) {
    .desktop .news-articles-plain .column-25 {
        width: calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

.news-articles-plain .news-feed-post-channel-link {
    color: #171719;
    font-weight: bold;
    text-decoration: none;
}

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

.news-articles-plain .read-more {
    color: #171719 !important;
}

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

.local-news-container
    .column-66.ui-commons__section__column
    .content-widget-wrapper.news-feed-wrapper.news-feed-wrapper {
    height: 100%;
    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 {
    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: #171719;
    font-weight: bold;
    text-decoration: none;
}

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

.local-news-container .read-more {
    color: #171719 !important;
}

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

.call-out-banner {
    background: #a3a3a3;
    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-66.ui-commons__section__column {
    z-index: 1;
    padding-right: 30%;
}

.desktop .call-out-banner .column-33 img {
    position: absolute;
    bottom: 0;
    right: 25px;
    max-width: 695px;
}

.mobile .call-out-banner .column-33 img {
    position: absolute;
    right: -95px;
    bottom: -25px;
    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;
}


/* =============================================================================
= BUTTON (PUBLIC HINT) =========================================================
================================================================================ */

.public-login-hint button,
.page-content .blank-slate .positive {
    background-color: rgb(120, 143, 33);
}

.public-login-hint button.positive:hover, 
.public-login-hint button.positive:focus, 
.touch .public-login-hint button.positive.active,
.page-content .blank-slate .positive:hover, 
.page-content .blank-slate .positive:focus,
.touch .page-content .blank-slate .positive.active {
    background-color: rgba(120, 143, 33,.8);
} 

/* =============================================================================
= BUTTON (login button) ========================================================
================================================================================ */
.signin-view button, 
.signin-view button:focus {
    color: #FFFFFF;
}

.signin-view[data-view-id="signin"] a[data-view-link="signin"] {
   font-size: 12px;
   text-decoration: none !important;
   color: #000;
   margin-top: 30px;
}

.signin-container .signin-view-container hr:last-of-type {
   display: none !important;
}
