/* Layout-fidelity patch; independently editable from the original stylesheet.
   Pixel reference: 1440px desktop and 390px mobile screenshots. */
.header .toggle-menu .fa-bars::before{
  content:"";
  display:inline-block;
  width:28px;
  height:4px;
  border-radius:1px;
  background:#000;
  box-shadow:0 -8px #000,0 8px #000;
  vertical-align:middle;
}
.header .toggle-menu:focus-visible{
  outline:2px solid #111;
  outline-offset:3px;
}

/* Accordion: independent of WordPress/jQuery; preserve original slim headings. */
.kompetenzmodule [id^="accordion-"] > div[hidden]{display:none!important}
/* Video poster: the legacy YouTube iframe was blank on the Pages preview. */
.fidelity-video-poster{display:block;position:relative;width:100%;height:calc(39vw / 16 * 9);overflow:hidden;border:0!important;text-decoration:none!important;color:#fff!important;background:#222}
.fidelity-video-poster img{display:block;width:100%;height:100%;object-fit:cover}
.fidelity-video-title{position:absolute;top:6px;left:10px;right:10px;font-size:16.5px;font-weight:700;line-height:1.2;text-shadow:0 1px 2px #000;color:#fff}
.fidelity-video-play{position:absolute;right:14px;bottom:12px;background:rgba(0,0,0,.58);border-radius:26px;padding:8px 13px;font-size:16.5px;font-weight:600;color:#fff}
.fidelity-video-poster:focus-visible{outline:3px solid #111;outline-offset:2px}
@media(max-width:990px){.fidelity-video-poster{height:calc(80vw / 16 * 9)}}
@media(max-width:600px){.fidelity-video-poster{height:calc(78vw / 16 * 9)}}

/* Accordion typography: retain the effective 500-weight titles for both states.
   Previously overwritten 300/700-weight link declarations are consolidated here. */
.kompetenzmodule #accordion-4102 > h3,
.kompetenzmodule #accordion-4250 > h3{font-weight:300!important;margin-bottom:.6rem!important}
.kompetenzmodule #accordion-4102 > h3 > a,
.kompetenzmodule #accordion-4250 > h3 > a{font-weight:500!important;text-decoration:none!important}
.kompetenzmodule #accordion-4102 > h3 > a[aria-expanded],
.kompetenzmodule #accordion-4250 > h3 > a[aria-expanded]{font-weight:500!important;color:#292b2c!important}
.kompetenzmodule #accordion-4102 > div:not([hidden]),
.kompetenzmodule #accordion-4250 > div:not([hidden]){display:block;padding:.5em 0 1em;overflow:auto;font-size:20.9px;font-weight:300}
@media(max-width:991px){
.kompetenzmodule #accordion-4102 > div:not([hidden]),
.kompetenzmodule #accordion-4250 > div:not([hidden]){font-size:20.9px;line-height:1.5}
}

/* Swiss Olympic strategy case study: consistent spacing within its article only. */
.so-strategy-copy .so-section-title{display:block;font-weight:700}
.so-strategy-copy ul{margin:14px 0 24px;padding-left:2em}
.so-strategy-copy ul li{margin:0 0 10px;line-height:inherit}
.so-strategy-copy ul li:last-child{margin-bottom:0}
.so-strategy-copy img.aligncenter{display:block;margin:24px auto 12px}
.so-strategy-copy h6{margin:8px 0 20px}
@media(max-width:767px){.so-strategy-copy .so-section-title{margin-top:30px;margin-bottom:12px}}

/* Project case studies: approved Swiss Olympic article spacing, scoped to editorial copy. */
.project-unified-copy .project-section-title{display:block;font-weight:700}
.project-unified-copy ul{margin:14px 0 24px;padding-left:2em}
.project-unified-copy ul li{margin:0 0 10px;line-height:inherit}
.project-unified-copy ul li:last-child{margin-bottom:0}
.project-unified-copy img.aligncenter{display:block;margin:24px auto 12px}
.project-unified-copy h6{margin:8px 0 20px}
@media(max-width:767px){.project-unified-copy .project-section-title{margin-top:30px;margin-bottom:12px}}

/* Homepage editorial spacing: scoped to the two text sections only. */
.homepage-unified-copy p{margin:0 0 20px}
.homepage-unified-copy ul{margin:14px 0 24px;padding-left:2em}
.homepage-unified-copy ul li{margin:0;line-height:1.5}
.homepage-unified-copy ul li:last-child{margin-bottom:0}
.homepage-research-copy .homepage-section-title{display:block;margin:36px 0 0;font-weight:700}
@media(max-width:767px){.homepage-research-copy .homepage-section-title{margin-top:30px;margin-bottom:0}}

/* Benefits page: consistent editorial paragraphs, without changing accordion panels. */
.benefits-editorial-copy > p{margin:0 0 20px}
.benefits-editorial-copy > p:last-child{margin-bottom:0}
.benefits-editorial-copy > h6{margin:8px 0 20px}
.benefits-editorial-copy > p:has(iframe){margin-top:24px;margin-bottom:8px}

/* Chief Behavioral Officer: approved consistent paragraph and video spacing. */
.book-editorial-copy > p{margin:0 0 20px}
.book-editorial-copy > p:last-child{margin-bottom:0}
.book-editorial-copy > p:has(iframe){margin-bottom:24px}

/* smartcut academy: editorial spacing consistent with the approved content pages. */
.academy-editorial-copy > p{margin:0 0 20px}
.academy-editorial-copy > p:last-child{margin-bottom:0}
.academy-editorial-copy > p:has(img.aligncenter){margin-bottom:24px}

/* Aktuell: consistent spacing inside each media entry, preserving alternating cards. */
.thoughts-container .thought-container h4{margin-bottom:14px}
.thoughts-container .thought-container h3{margin-bottom:20px}
.thoughts-container .thought-container .two-columns{margin-bottom:0}

/* FAQ: consistent question/answer spacing and section breaks, scoped to article. */
.faq-editorial-copy > p{margin:0 0 20px}
.faq-editorial-copy > .faq-question{margin-top:24px;margin-bottom:12px}
.faq-editorial-copy > .faq-question:first-child{margin-top:0}
.faq-editorial-copy > .faq-section-title{margin:36px 0 14px}
@media(max-width:767px){.faq-editorial-copy > .faq-section-title{margin-top:30px;margin-bottom:12px}}

/* Homepage original-layout parity: no extra break after research title. */
.homepage-research-copy .homepage-section-title{margin-bottom:0}

/* Responsive native image gallery, including thumbnail and full-screen navigation. */
.smartcut-lightbox[hidden]{display:none!important}
.smartcut-lightbox{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.93);padding:48px 64px}
.lightbox-open{overflow:hidden}
.smartcut-lightbox .lightbox-image{display:block;object-fit:contain;max-width:100%;max-height:calc(100vh - 110px);width:auto;height:auto}
.smartcut-lightbox button{position:absolute;border:0;background:transparent;color:#fff;cursor:pointer;font-family:Arial,sans-serif;font-weight:300;line-height:1;padding:12px}
.smartcut-lightbox button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.smartcut-lightbox .lightbox-close{position:fixed;right:16px;top:12px;z-index:2;font-size:46.2px;cursor:pointer}
.smartcut-lightbox .lightbox-prev{left:5px;top:50%;transform:translateY(-50%);font-size:59.4px}
.smartcut-lightbox .lightbox-next{right:5px;top:50%;transform:translateY(-50%);font-size:59.4px}
.smartcut-lightbox .lightbox-counter{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);color:#fff;font:14px Arial,sans-serif}
@media(max-width:767px){.smartcut-lightbox{padding:55px 38px}.smartcut-lightbox .lightbox-prev,.smartcut-lightbox .lightbox-next{font-size:44px;padding:8px}}

/* Leistungsbezeichnungen auf Desktop und Mobile gleich fett wie ANGEBOTSENTWICKLUNG. */
.homepage-unified-copy .homepage-service-heading{font-weight:700}

/* YouTube embeds: keep iframe height proportional to its rendered column width (16:9), preventing thin black letterbox bars on mobile. */
iframe[src*="youtube.com/embed/"],iframe[src*="youtube-nocookie.com/embed/"]{display:block;width:100%;height:auto;aspect-ratio:16/9;border:0}

/* Project subheadings: one desktop/mobile spacing definition. */
.project-unified-copy .project-section-title,.so-strategy-copy .so-section-title{display:block;margin-top:64px!important;margin-bottom:28px!important;font-weight:700}
.project-unified-copy .project-section-title:first-child,.project-unified-copy .project-first-title,.so-strategy-copy .so-first-title{margin-top:64px!important}
@media(max-width:767px){
.project-unified-copy .project-section-title,.so-strategy-copy .so-section-title{margin-top:52px!important;margin-bottom:24px!important}
.project-unified-copy .project-section-title:first-child,.project-unified-copy .project-first-title,.so-strategy-copy .so-first-title{margin-top:52px!important}
}
/* Homepage: remove inherited viewport-height spacers; preserve approved desktop and mobile gaps. */
body.home > .content-container,body.home .content-container{min-height:0!important}
body.home .content-container:not(.offers-none):has(+ .team-members-container) .project-container{padding-bottom:16px!important}
body.home .content-container:has(+ .team-members-container) .btn-container{margin-bottom:0!important}
body.home .content-container:has(+ .team-members-container) .btn-default{margin-bottom:0!important}

@media(max-width:767px){
body.home .content-container:not(.offers-none):has(+ .team-members-container) .project-container{padding-bottom:52px!important}
body.home .content-container:has(+ .team-members-container) .btn-container{margin:0!important;padding:0!important}
body.home .content-container:has(+ .team-members-container) .btn-default{margin:0!important}
body.home .content-container:has(+ .team-members-container) .btn-container + div:empty{display:none!important}

body.home main.content-container > .team-container{padding-top:46px!important}
body.home main#main-content .team-container h3{line-height:1.2!important}
body.home .clients-wrapper .clients-icons .row{scrollbar-width:none!important;-ms-overflow-style:none!important}
body.home .clients-wrapper .clients-icons .row::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
}
/* Footer inquiry buttons: regular weight. */
.btn-default,.btn-default a{font-weight:400!important}
/* Book trailer: spacing belongs to its paragraph, not the iframe. */
.book-editorial-copy > p:has(> iframe[src*="youtube.com/embed/"]){display:flow-root!important;overflow:hidden!important;margin-bottom:0!important;padding-bottom:44px!important}
.book-editorial-copy > p > iframe[src*="youtube.com/embed/"]{display:block!important;width:calc(100% + 8px)!important;max-width:none!important;margin:0 0 0 -4px!important;border:0!important;outline:0!important;clip-path:none}
@media(max-width:767px){.book-editorial-copy > p:has(> iframe[src*="youtube.com/embed/"]){padding-bottom:56px!important}}
/* WinterCARD image and caption. */
.project-award-figure{margin:24px 0 28px!important}
.project-award-figure > img{display:block!important;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;margin:0!important}
.project-award-figure > figcaption{margin:12px 0 0!important;font-size:inherit;line-height:inherit}
.project-unified-copy .project-award-figure > figcaption{font-size:17.6px!important;line-height:1.35!important;font-weight:400!important}
/* Offer headings: remove inherited viewport spacer; mobile spacing 56px above and below. */
.content-container.offers-none{min-height:0!important;height:auto!important;margin-bottom:0!important;padding-bottom:0!important}

.content-container.offers-none > .project-container h3{margin-bottom:0!important}
.content-container.offers-none + .team-members-container{margin-top:0!important;padding-top:0!important}
@media(max-width:767px){

.content-container.offers-none > .project-container > .row{width:auto!important;margin-top:0!important;margin-bottom:0!important}
.content-container.offers-none > .project-container h3{position:static!important;top:auto!important;margin:0!important}
}
/* Client logos heading: avoid inherited full-viewport height; mobile asymmetric optical spacing. */
@media(max-width:767px){
body.home .content-container.desktop-off:has(+ .clients-wrapper){min-height:0!important;height:auto!important}

body.home .content-container.desktop-off:has(+ .clients-wrapper) h3{margin:0!important;padding:0!important}
@media(max-width:767px){body.home .content-container.desktop-off:has(+ .clients-wrapper) h3{font-size:clamp(25px,6vw,34px)!important;line-height:1.22!important}}
}
/* Homepage project tiles: original 640x360 proportions, no underlying images. */
body.home .projects-overview-container .project-overview-item{aspect-ratio:16/9!important;min-height:0!important;background:#d9dadc}
body.home .projects-overview-container .project-overview-item-content{top:0!important;bottom:0!important;opacity:1!important;background:transparent!important}

/* Mobile: more breathing room between project tiles and client-reference heading. */

/* Full-card news links: native anchors compatible with CSP and keyboard navigation. */
.thought-container .thought-card-overlay-link,.thought-container .thought-card-overlay-link:hover{position:absolute;inset:0;z-index:1;display:block;border:0!important;box-shadow:none!important}
.thought-container .thought-card-overlay-link:focus-visible{outline:3px solid #222;outline-offset:-3px}
.thought-container a:not(.thought-card-overlay-link){position:relative;z-index:2}

/* Homepage project imagery: original photos on desktop/tablet; approved grey cards on mobile. */
@media(min-width:768px){
body.home .projects-overview-container .project-overview-item > img.img-fluid{display:block;width:100%;height:100%;object-fit:cover}
body.home .projects-overview-container .project-overview-item-content{opacity:0!important;background:rgba(255,255,255,.9)!important;transition:opacity .2s ease}
body.home .projects-overview-container .project-overview-item:hover .project-overview-item-content,
body.home .projects-overview-container .project-overview-item-content:focus-visible{opacity:1!important}
}
@media(max-width:767px){body.home .projects-overview-container .project-overview-item > img.img-fluid{display:none}}

/* Project pages: align the first editorial subheading with the top of the left title column on desktop/tablet. */
@media(min-width:768px){
.project-unified-copy > .project-section-title:first-child,
.project-unified-copy > .project-first-title:first-child,
.so-strategy-copy > .so-section-title:first-child{margin-top:0!important}
}

/* Keep the gallery and its close control above the fixed site header on all devices. */
body.lightbox-open .smartcut-lightbox{z-index:2147483647}

/* Consistent 24px space above Contact CTAs across pages, regardless of markup. */
main .btn-container:has(a[href="/fidelity/kontakt/"]),
main p:has(> .btn-default a[href="/fidelity/kontakt/"]){margin-top:24px!important}

/* Consistent breathing room at the bottom of grey editorial sections. */
main .contact-container{padding-bottom:72px}

/* FAQ: reduce the excessive grey area beneath the final Contact CTA. */
main .contact-container:has(.faq-editorial-copy){padding-bottom:44px!important}
.faq-editorial-copy > p:last-child{margin-bottom:0!important}

/* Very restrained scroll reveals: content only; never animate section backgrounds. */
@media (prefers-reduced-motion: no-preference){
  .smartcut-reveal-ready{
    transition:opacity .8s ease-out,transform .8s cubic-bezier(.22,1,.36,1);
  }
  .smartcut-reveal-pending{
    opacity:0;
    transform:translate3d(0,30px,0);
  }
}
@media (prefers-reduced-motion: reduce){
  .smartcut-reveal-pending{opacity:1!important;transform:none!important;transition:none!important}
}

/* Individual text blocks move gently as they enter the viewport. */
@media (prefers-reduced-motion: no-preference){
  .smartcut-text-reveal-ready{
    transition:opacity .8s ease-out var(--smartcut-text-delay,0ms),
      transform .8s cubic-bezier(.22,1,.36,1) var(--smartcut-text-delay,0ms);
  }
  .smartcut-text-reveal-pending{
    opacity:0;
    transform:translate3d(0,22px,0);
  }
}
@media (prefers-reduced-motion: reduce){
  .smartcut-text-reveal-pending{opacity:1!important;transform:none!important;transition:none!important}
}

/* Slightly more leading in the four large editorial page titles. */
main .contact-container:has(.benefits-editorial-copy) .content > h3,
main .contact-container:has(.book-editorial-copy) .content > h3,
main .contact-container:has(.academy-editorial-copy) .content > h3,
main .contact-container:has(.faq-editorial-copy) .content > h3{line-height:1.20!important}

/* Single authoritative spacing rule after the team portraits. */
/* Match the centered offer-section headline's whitespace and placement. */
body.home .team-members-container + .content-container.success-stories-heading{min-height:0!important;height:auto!important}

body.home .success-stories-heading .project-container h3{text-align:center!important;margin:0!important}

/* Match the homepage research/service copy while separating the existing 5D follow-up. */
.benefits-editorial-copy.homepage-research-copy > .homepage-unified-copy{margin-bottom:0}
.benefits-editorial-copy.homepage-research-copy > .benefits-framework-intro{margin-top:36px!important}

/* Align right-hand editorial columns consistently beside the left titles. */
@media (min-width:768px){
  main .contact-container .row > :is(.benefits-editorial-copy,.book-editorial-copy,.academy-editorial-copy,.faq-editorial-copy),
  main .project-container .row > .project-unified-copy,
  main .thought-container .row > .two-columns,
  main .offers-container .row > .benefits-editorial-copy{
    padding-left:24px!important;
  }
}

/* Behavioral offers heading spacing is specified directly in its page markup. */

/* One spacing standard for centered headline bands across all pages. */
.content-container.offers-none > .project-container,
body.home .content-container.success-stories-heading > .project-container,
body.home .content-container.desktop-on:has(+ .clients-wrapper) > .project-container,
body.home .content-container.desktop-off:has(+ .clients-wrapper) > .project-container{
  padding-top:80px!important;
  padding-bottom:56px!important;
  min-height:0!important;
}

/* Keep the Verhaltensökonomie hero title at three lines on wide screens without moving the copy column. */
@media (min-width:992px){
  main.kompetenzen > .contact-container:first-child .content > h3{max-width:350px}
}

/* Unified proportional leading for editorial copy at every breakpoint.
   Headings, controls, card overlays and captions retain their own metrics. */
main :is(.project-container,.team-container,.thought-container,.thoughts-container,.contact-container,.offers-container,.team-details-container)
:is(p,li,.two-columns,.homepage-unified-copy,.project-unified-copy,.so-strategy-copy,.benefits-editorial-copy,.book-editorial-copy,.academy-editorial-copy,.faq-editorial-copy){
  line-height:1.5!important;
}
main .kompetenzmodule [id^="accordion-"] > div:not([hidden]){
  line-height:1.5!important;
}

/* Mobile project cards: keep every headline on a single line. */
@media(max-width:767px){
  body.home .projects-overview-container .project-overview-item{aspect-ratio:16/9!important}
  body.home .projects-overview-container .project-overview-item-content{
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;opacity:1!important;
  }
  body.home .projects-overview-container .row .project-overview-item:nth-child(odd) .project-overview-item-content{background:#d9dade!important}
  body.home .projects-overview-container .row .project-overview-item:nth-child(even) .project-overview-item-content{background:#c4c5c7!important}
  body.home .projects-overview-container .project-overview-item-headline:first-child{
    font-size:clamp(19px,6.6vw,28px)!important;line-height:1.2!important;width:100%!important;white-space:nowrap!important;
    padding:0 3%!important;box-sizing:border-box;
  }
  body.home .projects-overview-container .project-overview-item-title{
    font-size:5.4vw!important;line-height:1.2!important;
  }
}

/* Match the three homepage section headlines on mobile. */
@media(max-width:767px){
  body.home .content-container.success-stories-heading h3,
  body.home .content-container.offers-none h3,
  body.home .content-container.desktop-off:has(+ .clients-wrapper) h3{
    font-size:25px!important;
    line-height:1.22!important;
  }
}

/* Module 1 now uses the same direct paragraph markup as modules 2–4. */
main.kompetenzen .contact-container:first-child .benefits-editorial-copy > p.homepage-section-title{
  font-size:20.9px!important;line-height:1.5!important;font-weight:700!important;
  margin:30px 0 0!important;
}
main.kompetenzen .contact-container:first-child .benefits-editorial-copy > p.homepage-section-title + p{
  margin-top:0!important;
}

/* Project pages use the same image-backed tile geometry as the homepage. */
body.single-projects .projects-overview-container .project-overview-item{
  position:relative;overflow:hidden;border:0!important;box-shadow:none!important;
}
body.single-projects .projects-overview-container .project-overview-item > img.img-fluid{
  display:block!important;width:100%;height:auto;aspect-ratio:16/9;
  visibility:hidden;opacity:0;
}
body.single-projects .projects-overview-container .project-overview-item-content{
  position:absolute;inset:0;top:0!important;bottom:0!important;
  opacity:1!important;border:0!important;box-shadow:none!important;
}
@media(max-width:767px){
  body.single-projects .projects-overview-container .project-overview-item{
    width:100%;max-width:100%;flex:0 0 100%;padding:0!important;
  }
  body.single-projects .projects-overview-container .project-overview-item-content{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
  }
  body.single-projects .projects-overview-container .row .project-overview-item:nth-child(odd) .project-overview-item-content{background:#d9dade!important}
  body.single-projects .projects-overview-container .row .project-overview-item:nth-child(even) .project-overview-item-content{background:#c4c5c7!important}
  body.single-projects .projects-overview-container .project-overview-item-headline:first-child{
    font-size:clamp(19px,6.6vw,28px)!important;line-height:1.2!important;
    width:100%;white-space:nowrap;padding:0 3%;box-sizing:border-box;
  }
  body.single-projects .projects-overview-container .project-overview-item-title{
    font-size:5.4vw!important;line-height:1.2!important;
  }
}
/* Project tiles: no dark outlines; preserve the original tile geometry. */
body.single-projects .projects-overview-container .project-overview-item,
body.single-projects .projects-overview-container .project-overview-item-content{
  border:0!important;box-shadow:none!important;outline:0!important;
}

/* Offer cards: preserve thin white separators and in-flow bottom CTAs. */
body.single-projects .team-members-container .team-members-item{
  border:1px solid #fff!important;box-shadow:none!important;outline:0!important;
}
body.single-projects .team-members-container .anfrage-box,
body.single-projects .team-members-container .anfrage-item-content-container{
  border:0!important;box-shadow:none!important;outline:0!important;
}
body.single-projects .team-members-container .team-members-item::before,
body.single-projects .team-members-container .team-members-item::after{
  border:0!important;box-shadow:none!important;
}
body.single-projects .team-members-container > .row > .team-members-item{
  display:flex!important;flex-direction:column!important;
  height:auto!important;min-height:0!important;
}
body.single-projects .team-members-container > .row > .team-members-item > .anfrage-box{
  flex:1 1 auto!important;min-height:0!important;padding-bottom:30px!important;
}
body.single-projects .team-members-container > .row > .team-members-item > .anfrage-item-content-container{
  position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;
  flex:0 0 auto!important;margin:0 auto 40px!important;width:100%!important;
}

/* All pages: offer heading matches the homepage headline on mobile. */
@media(max-width:767px){
  .content-container.offers-none > .project-container h3{
    font-size:25px!important;line-height:1.22!important;
  }
}

/* Contact page: reduce grey space below the email button on mobile. */
@media(max-width:767px){
  body.page-template-page-contact main.content-container{min-height:0!important;height:auto!important}
  body.page-template-page-contact main.content-container > .contact-container{padding-bottom:35px!important}
}

/* Keep the smaller navigation type only on mobile; use original sizing on tablet and desktop. */
@media(max-width:767px){.sidebar-menu-container{font-size:1.215em!important}}
/* Mobile: increase only the first six navigation labels from Über uns to Kontakt by 1px. */
@media(max-width:767px){.sidebar-menu-container > ul > li:nth-child(-n+6) > a:not([href="https://www.linkedin.com/company/smartcut-consulting/"]){font-size:calc(1em + .9px)!important}}
@media(min-width:768px){.sidebar-menu-container{font-size:1.55em!important}}

/* Offer cards: 18px body copy on mobile; default size on larger screens. */
@media(max-width:767px){.team-members-container .anfrage-box{font-size:18px!important}}

/* Homepage lead headline: approved 29.7px mobile size. */
@media(max-width:767px){body.home main#main-content > .team-container:first-child h3{font-size:29.7px!important}}

/* Homepage: equal spacing before all three service headings. */
body.home .first-text-container.homepage-unified-copy > p:has(.homepage-service-heading){margin-top:32px}

/* Homepage: avoid stacking the previous paragraph's bottom margin with the first service heading. */
body.home .first-text-container.homepage-unified-copy > p:has(+ p .homepage-service-heading){margin-bottom:0!important}


/* Competences page: reduce space after the WinterCARD video caption on mobile only. */
@media(max-width:767px){
  main.kompetenzen > .contact-container:has(iframe[src*="avmuyRSewME"]){padding-bottom:56px!important;min-height:0!important}
  /* Keep the button and video in the same grey section; add 16px solely before the embed. */
  main.kompetenzen > .contact-container .benefits-editorial-copy > p:has(> .btn-default a[href="/fidelity/kontakt/"]) + p:has(> iframe[src*="avmuyRSewME"]){padding-top:16px!important}
  main.kompetenzen > .contact-container:has(iframe[src*="avmuyRSewME"]) .benefits-editorial-copy > h6:last-child{margin-bottom:0!important}
}

/* Site-wide editorial links: subtle grey underline, without the legacy solid border.
   Exclude navigation, buttons, accordion controls, project tiles and galleries. */
main a[href]:not(.btn-default):not(.btn-default a):not(.team-member-link):not(.social-button):not(.show-prev-team-member):not(.show-next-team-member):not(.anfrage-item-content-container):not(.project-overview-item-content):not(.fidelity-video-poster):not([data-gallery]):not([role="button"]):not(:has(img)):not(:has(svg)):not(.unstyled-link){border-bottom:0!important;padding-bottom:0!important;color:inherit!important;text-decoration-line:underline!important;text-decoration-color:#aab0b5!important;text-decoration-thickness:1px!important;text-underline-offset:4px;transition:text-decoration-color .15s ease}
@media(hover:hover){main a[href]:not(.btn-default):not(.btn-default a):not(.team-member-link):not(.social-button):not(.show-prev-team-member):not(.show-next-team-member):not(.anfrage-item-content-container):not(.project-overview-item-content):not(.fidelity-video-poster):not([data-gallery]):not([role="button"]):not(:has(img)):not(:has(svg)):not(.unstyled-link):hover{text-decoration-color:currentColor!important}}
main a[href]:focus-visible{outline:2px solid #31546d!important;outline-offset:3px}

/* Mobile logos: one transform-based endless loop, two rows, drag/swipe support. */
@media(max-width:767px){
body.home .clients-wrapper.desktop-off .clients-icons{overflow:hidden!important;touch-action:pan-y!important;overscroll-behavior-x:auto}
body.home .clients-wrapper.desktop-off .clients-icons > .row{
 display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;
 grid-auto-columns:33.333333vw!important;gap:0!important;width:max-content!important;
 max-width:none!important;overflow:visible!important;transform:translate3d(0,0,0);
 animation:none!important;will-change:transform;user-select:none;-webkit-user-select:none;
}
body.home .clients-wrapper.desktop-off .client-icon{width:33.333333vw!important;max-width:33.333333vw!important;min-width:0!important}
}

/* Team email: icon alone, with no link decoration. */
.team-member-detail-container .social-buttons-container a.social-button.email{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  width:28px!important;min-width:28px!important;height:38px!important;
  margin:0!important;padding:0!important;background:transparent!important;
  color:#30373b!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;text-decoration:none!important;
}
.team-member-detail-container .social-buttons-container a.social-button.email:is(:hover,:focus){border:0!important;text-decoration:none!important}
.team-member-detail-container .social-buttons-container a.social-button.email i{
  border:0!important;text-decoration:none!important;
}
.team-member-detail-container .social-buttons-container a.social-button.email:focus-visible{outline:2px solid #31546d!important;outline-offset:3px!important}

/* Academy is reachable through the Schulung offer, not the global menu. */
.sidebar-menu-container > ul > li:has(> a[href="/fidelity/smartcut-academy-verhaltensoekonomie-schulung/"]){display:none!important}

/* Consistent navigation rhythm on every page, including active links. */
.sidebar-menu-container > ul > li{margin:0!important;line-height:1.4!important;padding:5px 0!important}
.sidebar-menu-container > ul > li > a{display:block!important;line-height:inherit!important;margin:0!important;padding:0!important}
@media(max-width:767px){.sidebar-menu-container > ul > li{padding:2px 0!important}}

/* FAQ follows the normal menu rhythm, without extra spacing. */
.sidebar-menu-container > ul > li:has(> a[href="/fidelity/faq/"]){margin-top:0!important}

/* Slightly airier menu rhythm, consistent across all pages. */
.sidebar-menu-container > ul > li{line-height:1.5!important}

/* Align team mail outline precisely with the left edge of the role heading. */
.team-member-detail-container .team-member-shortfacts .social-buttons-container{margin-left:0!important;padding-left:0!important;text-align:left!important}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.email{margin-left:0!important;margin-right:0!important;justify-content:flex-start!important;width:28px!important;min-width:28px!important}

/* Editorial news-card headlines remain clean links without underlines. */
main .thought-container h3 a[href],main .thought-container h3 a[href]:hover,main .thought-container h3 a[href]:focus{border-bottom:0!important;text-decoration:none!important;text-decoration-line:none!important}

/* Explicitly exempt editorial card titles from the global link-underline rule. */
main .thought-container h3 a.unstyled-link[href],main .thought-container h3 a.unstyled-link[href]:hover,main .thought-container h3 a.unstyled-link[href]:focus{border-bottom:0!important;text-decoration:none!important;text-decoration-line:none!important;text-decoration-color:transparent!important}

/* Subtle underlines only for the 14 «mehr» teaser links on the media page. */
main .thoughts-container .thought-container .two-columns > a.unstyled-link[href]{border-bottom:0!important;padding-bottom:0!important;text-decoration-line:underline!important;text-decoration-style:solid!important;text-decoration-color:#aab0b5!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important;transition:text-decoration-color .15s ease}
@media(hover:hover){main .thoughts-container .thought-container .two-columns > a.unstyled-link[href]:hover{text-decoration-color:currentColor!important}}

/* News teasers have one accessible full-card anchor, not duplicate blue text links. */
body.page-id-281 .thought-container .two-columns > .news-more-text{
  text-decoration:underline;text-decoration-color:#aab0b5;text-decoration-thickness:1px;
  text-underline-offset:4px;color:inherit;
}
@media(hover:hover){body.page-id-281 .thought-container:hover .news-more-text{text-decoration-color:currentColor}}

/* Impressum und Datenschutz: alle Text-Zwischentitel gleich gross. */
body.page-id-4085 main .project-container .two-columns > :is(h3,h5){font-size:26px!important;line-height:1.25!important;font-weight:500!important}
@media(max-width:991px){body.page-id-4085 main .project-container .two-columns > :is(h3,h5){font-size:24px!important}}

/* Legal editorial rhythm: consistent section spacing and paragraph gaps. */
body.page-id-4085 main .project-container .two-columns > :is(h3,h5){margin:44px 0 14px!important;padding:0!important}
body.page-id-4085 main .project-container .two-columns > :is(h3,h5):first-child{margin-top:0!important}
body.page-id-4085 main .project-container .two-columns > p{margin:0 0 16px!important;line-height:1.5!important}
body.page-id-4085 main .project-container .two-columns > p:last-child{margin-bottom:0!important}

/* Contact page: no underlines in telephone and email buttons. */
body.page-id-274 main .contact-container .btn-container .btn-default > a,
body.page-id-274 main .contact-container .btn-container .btn-default > a:is(:hover,:focus,:active,:visited){text-decoration:none!important;text-decoration-line:none!important;border-bottom:0!important;box-shadow:none!important}

/* LinkedIn is no longer part of the smartcut website navigation. */

/* Team profile navigation: small matching arrows just above the portrait corners. */
.team-portrait-nav{position:relative}
.team-portrait-nav > img{display:block;width:100%;height:auto}
.team-portrait-nav > a.team-portrait-arrow{
 position:absolute;top:-42px;width:32px;height:32px;display:flex;align-items:center;
 justify-content:center;color:#292b2c!important;font:300 34px/1 Arial,sans-serif;
 text-decoration:none!important;text-decoration-line:none!important;border:0!important;
 border-bottom:0!important;padding:0!important;box-shadow:none!important;z-index:5
}
.team-portrait-nav > a.team-portrait-arrow-prev{left:0;right:auto;justify-content:flex-start}
.team-portrait-nav > a.team-portrait-arrow-next{right:0;left:auto;justify-content:flex-end}
.team-portrait-nav > a.team-portrait-arrow:is(:hover,:focus,:active){text-decoration:none!important;border:0!important;color:#111!important}
.team-portrait-nav > a.team-portrait-arrow:focus-visible{outline:2px solid #31546d;outline-offset:2px}


/* Tablet and desktop: identical two-row continuous customer logo carousel. */
@media(min-width:768px){
body.home .clients-wrapper.desktop-on .clients-icons{overflow:hidden!important;touch-action:pan-y!important;overscroll-behavior-x:auto}
body.home .clients-wrapper.desktop-on .clients-icons > .row{
 display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;
 grid-auto-columns:clamp(125px,16.666667vw,240px)!important;gap:0!important;
 width:max-content!important;max-width:none!important;overflow:visible!important;
 transform:translate3d(0,0,0);animation:none!important;will-change:transform;
 user-select:none;-webkit-user-select:none;
}
body.home .clients-wrapper.desktop-on .client-icon{
 flex:none!important;width:clamp(125px,16.666667vw,240px)!important;
 max-width:clamp(125px,16.666667vw,240px)!important;min-width:0!important;
}
}

/* Homepage editorial eyebrow directly above the primary headline. */
body.home main#main-content .homepage-eyebrow{font-size:clamp(12px,1.05vw,15px)!important;line-height:1.35!important;font-weight:700!important;letter-spacing:.045em!important;margin:0 0 5px!important;padding:0!important;color:#707277!important;position:relative!important;left:1.5px!important;margin-left:0!important;text-align:left!important}

/* Unified small editorial eyebrows immediately preceding headlines.
   Excludes team pages, where h4 describes roles or team characteristics. */
main#main-content :is(.project-container,.thought-container,.contact-container) h4:has(+ h3){
  font-size:clamp(12px,1.05vw,15px)!important;
  line-height:1.35!important;
  font-weight:700!important;
  letter-spacing:.045em!important;
  color:#707277!important;
  margin:0 0 5px!important;
  padding:0!important;
  position:relative!important;
  left:1.5px!important;
  text-align:left!important;
}

/* Preserve vertical scrolling when mobile or tablet team portraits are swiped. */
@media(max-width:1199px){.team-portrait-nav>img{touch-action:pan-y}}

/* All contact CTA links remain undecorated, including hover and focus. */
main .btn-default > a[href],main .btn-default > a[href]:is(:hover,:focus,:active,:visited){text-decoration:none!important;text-decoration-line:none!important;border-bottom:0!important;box-shadow:none!important}

/* Project case studies: 64px grey space below the final Contact CTA. */
body.single-projects main#main-content > .project-container:first-child{padding-bottom:64px!important}
body.single-projects main#main-content > .project-container:first-child .two-columns:has(.btn-container a[href="/fidelity/kontakt/"]){margin-bottom:0!important;padding-bottom:0!important}
body.single-projects main#main-content > .project-container:first-child .btn-container:has(a[href="/fidelity/kontakt/"]){margin-bottom:0!important;padding-bottom:0!important}
body.single-projects main#main-content > .project-container:first-child .btn-container .btn-default{margin-bottom:0!important}
body.single-projects main#main-content > .project-container:first-child .btn-container ~ br{display:none!important}

/* All project pages and viewport widths: equal spacing below the last Kontakt button.
   Use 64px on desktop, tablet and mobile.
   Normalize both inline and wrapped final CTAs without touching earlier CTAs. */
body.single-projects main#main-content > .project-container:first-child
.two-columns:has(a[href="/fidelity/kontakt/"]){
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body.single-projects main#main-content > .project-container:first-child
.two-columns .btn-default:has(a[href="/fidelity/kontakt/"]){
  margin-bottom:0!important;
  vertical-align:bottom!important;
}

/* FAQ section headings: clear separation from preceding answer, close to next question. */
main#main-content .faq-editorial-copy > p.faq-section-title{margin-top:52px!important;margin-bottom:12px!important}

/* Media listing: match the detail page headline typography. */
body.page-id-281 main#main-content .thoughts-container .thought-container h3,
body.page-id-281 main#main-content .thoughts-container .thought-container h3 > a.unstyled-link{font-family:Lato,sans-serif!important;font-weight:500!important;color:#292b2c!important}

/* News listing titles: identical line-height to the article detail heading. */
body.page-id-281 main#main-content .thoughts-container .thought-container h3,
body.page-id-281 main#main-content .thoughts-container .thought-container h3 > a.unstyled-link{line-height:1.2!important}

/* Mobile project galleries: one uniform gap instead of stacked 1px borders. */
@media (max-width:575px){
  .project-media-container .project-media-item{border:0!important}
  .project-media-container .project-inline-item{border:0!important}
  .project-media-container .project-media-item + .project-media-item{margin-top:3px!important}
  .project-media-container .project-media-item .project-inline-item + .project-inline-item{margin-top:3px!important}
}

/* Tablet and desktop: adjacent 1.5px edges form one 3px gutter.
   Stacked pictures inside one column get exactly the same 3px gap. */
@media (min-width:576px){
  .project-media-container .project-media-item{border:1.5px solid #fff!important}
  .project-media-container .project-inline-item{border:0!important}
  .project-media-container .project-media-item .project-inline-item + .project-inline-item{
    border-top:3px solid #fff!important;
  }
}

/* Case-study photographs and captions: one coherent editorial unit. */
.project-unified-copy figure.project-captioned-image,
.so-strategy-copy figure.project-captioned-image{
  margin:32px 0 0!important;padding:0!important;
}
.project-unified-copy figure.project-captioned-image img,
.so-strategy-copy figure.project-captioned-image img{
  display:block;max-width:100%;height:auto;margin:0!important;
}
.project-unified-copy figure.project-captioned-image figcaption,
.so-strategy-copy figure.project-captioned-image figcaption{
  display:block;margin:12px 0 0!important;padding:0!important;
  font-size:1.1rem!important;line-height:1.4;font-weight:400;
}
.project-unified-copy figure.project-captioned-image + .project-section-title,
.so-strategy-copy figure.project-captioned-image + .so-section-title{
  margin-top:64px!important;
}
@media(max-width:767px){
  .project-unified-copy figure.project-captioned-image,
  .so-strategy-copy figure.project-captioned-image{margin-top:26px!important}
  .project-unified-copy figure.project-captioned-image + .project-section-title,
  .so-strategy-copy figure.project-captioned-image + .so-section-title{margin-top:52px!important}
}

/* All editorial media captions – photos, video and awards – share the
   Kilchberger Schwinget caption's 1.4 leading on every screen. */
main#main-content :is(.project-container,.contact-container)
  :is(p:has(> iframe),p:has(> img),p:has(> .fidelity-video-poster)) + h6,
main#main-content .project-unified-copy .project-award-figure > figcaption{
  font-size:1.1rem!important;
  line-height:1.4!important;
  font-weight:400!important;
}

/* Captioned media: stable Kilchberger typography and a real paragraph below. */
main#main-content .two-columns figure.project-captioned-image > figcaption{
  font-size:1.1rem!important;line-height:1.4!important;font-weight:400!important;
}
main#main-content .so-strategy-copy figure.project-captioned-image + p.project-caption-following-copy{
  margin:36px 0 0!important;
}

/* 5D accordion: optical gap from heading to first copy line matches body leading.
   Preserve spacing between collapsed items. */
/* Keep the headings' box metrics identical in both states: changing
   aria-expanded must not jump a heading by changing its bottom margin. */
.kompetenzmodule #accordion-4102 > h3,
.kompetenzmodule #accordion-4250 > h3{
  margin-bottom:8px!important;
}
.kompetenzmodule #accordion-4102 > h3 + div,
.kompetenzmodule #accordion-4250 > h3 + div{
  padding-top:0!important;
}

/* Customer-logo carousel: stagger the lower row by half a logo width.
   Move items, not the animated track, preserving the existing endless loop and swipe. */
body.home .clients-wrapper .clients-icons > .row > .client-icon:nth-child(even){
  position:relative;
  left:50%;
}

/* Customer-logo tiles: finer, lighter outlines on every viewport. */
body.home .clients-wrapper .clients-icons .client-icon{border:0.5px solid #edf0f1!important}


/* Inline links retain the weight of their bold surrounding text. */
main#main-content :is(strong,b) a,
main#main-content a:is(strong,b){
  font-weight:inherit!important;
}

/* Mobile book hero: show the full 2560×1396 composition without cropping either book.
   Desktop and tablet hero styling is unchanged. */
@media (max-width: 767px) {
  body.home .header-link {
    display: block;
    padding: 0 !important;
  }
  body.home .header-link .header_image {
    height: auto !important;
    aspect-ratio: 2560 / 1396;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #d9dadc;
  }
}

/* Mobile header: explicit image prevents background-size:cover cropping. */
body.home .mobile-books-header{display:none}
@media(max-width:767px){
  body.home .header-link .header_image{
    background-image:none!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:auto!important;
    padding:0!important;
    overflow:hidden;
  }
  body.home .header-link .mobile-books-header{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    object-fit:contain;
    vertical-align:middle;
  }
}

/* Fixed mobile navigation: reserve its full height before the book hero. */
@media(max-width:767px){body.home > .after-header{height:73px!important}}

/* Prevent horizontal page panning on mobile while retaining vertical scroll. */
@media(max-width:767px){
 html,body{max-width:100%;overflow-x:clip!important}
 body.home .header-link{max-width:100%;overflow:hidden}
 body.home .header-link .header_image{width:100%;max-width:100%;overflow:hidden!important}
}

/* Mobile homepage: slightly more separation below navigation, tighter editorial start. */
@media(max-width:767px){
 body.home > .after-header{height:87px!important}
 body.home main#main-content > .team-container:first-child{padding-top:22px!important}
}

/* Mobile home hero: intrinsic height only, no legacy 100%-height link spacer. */
@media(max-width:767px){
 body.home > a.header-link{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;line-height:0!important;display:block!important}
 body.home > a.header-link > .header_image{height:auto!important;min-height:0!important;margin:0!important;padding:0!important;line-height:0!important}
 body.home > a.header-link .mobile-books-header{margin:0!important;vertical-align:top!important}
 body.home main#main-content{margin-top:0!important;padding-top:0!important}
 body.home main#main-content > .team-container:first-child{padding-top:18px!important;margin-top:0!important}
}



/* Desktop homepage hero: a real image, no background/height overrides. */
@media(min-width:768px){
 body.home > a.header-link{display:block!important;width:83.333333%!important;max-width:83.333333%!important;height:auto!important;min-height:0!important;margin:24px auto 0!important;padding:0!important;line-height:0!important}
 body.home > a.header-link > .header_image{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;overflow:hidden!important;background:none!important;line-height:0!important;max-height:calc(83.333333vw * 1396 / 2560 - 3.5vw)!important}
 body.home > a.header-link img.desktop-books-header{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;position:static!important;margin:0!important;padding:0!important;vertical-align:top!important}
 body.home > a.header-link img.mobile-books-header{display:none!important}
 body.home main#main-content{position:static!important;z-index:auto!important;margin:0!important;padding:0!important}
 body.home main#main-content > .team-container:first-child{margin:0!important;padding-top:12px!important}
}
@media(max-width:767px){body.home > a.header-link img.desktop-books-header{display:none!important}}

/* Desktop hero/text seam: one explicit spacing rule; keep the image visible. */
@media(min-width:768px){
 body.home > a.header-link{margin-bottom:0!important}
 body.home main#main-content{margin-top:0!important;padding-top:0!important}
 body.home main#main-content > .team-container:first-child{padding-top:0!important;margin-top:0!important}
 body.home main#main-content > .team-container:first-child > .row{margin-top:0!important;padding-top:0!important}
 body.home main#main-content .homepage-eyebrow{margin-top:0!important;padding-top:0!important}
}

/* Mobile navigation: lift legal links and copyright 40px from the bottom. */
@media(max-width:767px){
  #smartcut-menu .footer{bottom:50px!important}
}

/* Globally remove yellow editorial text markings while preserving all
   paragraph text, links and layout. Covers homepage, FAQ and Vorteile. */
body.home .agentic-inline-highlight,
.faq-agentic-highlight,
.benefits-editorial-copy .benefits-agentic-highlight,
.contact-container .content h4 .benefits-agentic-highlight,
.contact-container .content h3 .benefits-agentic-highlight{
  background-color:transparent!important;
  box-decoration-break:slice;
  -webkit-box-decoration-break:slice;
  padding:0!important;
}

/* Approved single yellow highlight: Agentic introduction on the homepage only.
   Other FAQ, Vorteile and Kaufmaschinen highlights remain transparent. */
body.home .homepage-agentic-intro .agentic-inline-highlight{
  background-color:#fff4c9!important;
  -webkit-box-decoration-break:clone;
  box-decoration-break:clone;
}

/* Desktop team profiles: position arrows OUTSIDE the portrait, with their
   bottom edges aligned to the image. Keep original biography and smaller views. */
@media(min-width:1200px){
  .team-member-detail-container .team-portrait-nav{
    --team-arrow-top:auto;
  }
  .team-member-detail-container .team-portrait-nav > .team-portrait-arrow{
    bottom:0!important;
  }
  .team-member-detail-container .team-portrait-nav > .team-portrait-arrow-prev{
    transform:translateX(calc(-100% - 4px))!important;
  }
  .team-member-detail-container .team-portrait-nav > .team-portrait-arrow-next{
    transform:translateX(4px)!important;
  }
}


/* Desktop project recommendations: show authentic project imagery just as on the homepage.
   Tablet/mobile retain their currently approved presentation. */
@media (min-width: 768px) {
  body.single-projects .projects-overview-container .project-overview-item {
    background-color: #d9dadc;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  body.single-projects .projects-overview-container .project-overview-item-content {
    opacity: 0 !important;
    background: rgba(255,255,255,.9) !important;
    transition: opacity .2s ease;
  }
  body.single-projects .projects-overview-container .project-overview-item:hover .project-overview-item-content,
  body.single-projects .projects-overview-container .project-overview-item-content:focus-visible,
  body.single-projects .projects-overview-container .project-overview-item:focus-within .project-overview-item-content {
    opacity: 1 !important;
  }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/andermatt-sedrun-disentis-halbpreis-abo-agentur/"]) { background-image: url("/fidelity/assets/files/Verhaltensoekonomie_Behavioral_Economics_Beratung_Consulting_ASD-202093bd355dd0.png"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/swiss-olympic-strategieentwicklung/"]) { background-image: url("/fidelity/assets/files/Verhaltensoekonomie_Behavioral_Economics_Beratung_Consulting_SO_-7d933c077cde86.png"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/anti-littering-kampagne-thalwil-agentur/"]) { background-image: url("/fidelity/assets/files/Verhaltensoekonomie_Behavioral_Economics_Beratung_Consulting_TH_-c65da8b221fa42.png"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/wintercard/"]) { background-image: url("/fidelity/assets/files/Verhaltensoekonomie_Behavioral_Economics_Beratung_Consulting_SF_-e19f3da28b3e4c.png"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/zwinglistadt-2019/"]) { background-image: url("/fidelity/assets/files/Verhaltensoekonomie_Behavioral_Economics_Beratung_Consulting_RK_-af9a45ae933fae.png"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/sustainable-textiles-switzerland-2030-strategie/"]) { background-image: url("/fidelity/assets/files/Verhaltensoekonomie_Behavioral_Economics_Beratung_Consulting_STS-d5781a75252fd7.png"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/aktion-und-business-idee-fuer-sattel-hochstuckli/"]) { background-image: url("/fidelity/assets/files/gallery-thumbs/aktion-und-business-idee-fuer-sattel-hochstuckli-28db059d87dc81.jpg"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/swiss-olympic-wirsagendanke/"]) { background-image: url("/fidelity/assets/files/gallery-thumbs/swiss-olympic-wirsagendanke-a57e9cb32e36b5.jpg"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/kilchberger-schwinget-sponsoring-konzept/"]) { background-image: url("/fidelity/assets/files/KS_2-459fd526f719f6.jpg"); }
  body.single-projects .projects-overview-container .project-overview-item:has(> a[href="/fidelity/projects/swiss-olympic-kampagne-mein-sportverein/"]) { background-image: url("/fidelity/assets/files/Thumbnail_530x298_Ermotti-11.41.44-640x360-3e1851649277a8.jpg"); }
}

/* Desktop: match the homepage's 1px white tile borders (2px between adjacent cards).
   Restore the original gutter without changing Bootstrap column widths. */
@media (min-width: 768px) {
  body.single-projects .projects-overview-container .project-overview-item {
    border: 1px solid #fff !important;
    box-sizing: border-box;
  }
}

/* Further Cases: exactly the homepage tile-spacing system.
   Each card gets a 1px white border, creating 2px between adjacent cards.
   Use the same Bootstrap flex columns as on the homepage, not a separate grid. */
body.single-projects .projects-overview-container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
  background: #fff !important;
  margin: 0 !important;
}
body.single-projects .projects-overview-container > .row > .project-overview-item {
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #fff !important;
  aspect-ratio: 16 / 9;
}
@media (min-width: 768px) {
  body.single-projects .projects-overview-container > .row > .project-overview-item {
    flex: 0 0 33.333333% !important;
    width: 33.333333% !important;
    max-width: 33.333333% !important;
  }
}
@media (max-width: 767px) {
  body.single-projects .projects-overview-container > .row > .project-overview-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Solid LinkedIn icon in the sidebar navigation. The existing link text remains accessible to screen readers. */
.sidebar-menu-container ul a[href="https://www.linkedin.com/company/smartcut-consulting/"]{
  font-size:0!important;
  line-height:0!important;
  width:max-content!important;
  max-width:100%!important;
}
.sidebar-menu-container ul a[href="https://www.linkedin.com/company/smartcut-consulting/"]::before{
  content:"";
  display:block;
  width:30px;
  height:30px;
  transform:translateX(0);
  background:transparent url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Crect%20x%3D%271%27%20y%3D%271%27%20width%3D%2722%27%20height%3D%2722%27%20rx%3D%272.3%27%20fill%3D%27%23555555%27%2F%3E%3Ccircle%20cx%3D%276.7%27%20cy%3D%277.25%27%20r%3D%271.45%27%20fill%3D%27white%27%2F%3E%3Cpath%20fill%3D%27white%27%20d%3D%27M5.35%2010h2.7v8.25h-2.7zM10.25%2010h2.6v1.12c.58-.83%201.44-1.37%202.8-1.37%203.03%200%203.35%201.99%203.35%204.56v3.94h-2.7v-3.53c0-1.34-.02-2.47-1.51-2.47-1.51%200-1.74%201.18-1.74%202.39v3.61h-2.8z%27%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;
}

/* Separate the LinkedIn icon from the navigation items above it. */
.sidebar-menu-container > ul > li:has(> a[href="https://www.linkedin.com/company/smartcut-consulting/"]){margin-top:1.4em!important}

/* Mobile: let the open navigation end shortly after its content instead of filling the viewport. */
@media(max-width:767px){
  .sidebar-menu-container{bottom:auto!important;height:auto!important;min-height:0!important;max-height:100dvh!important;overflow-y:auto!important;padding-bottom:17px!important}
  .sidebar-menu-container > .footer{position:static!important;bottom:auto!important;left:auto!important;right:auto!important;margin:44px 0 0 4vw!important;padding-left:40px!important}
}

/* Mobile team biographies: crop the 16:9 portraits to 4:3, so the subjects visibly fill their text-column width. */
@media(max-width:767px){
  .team-member-detail-container .team-portrait-nav{display:block!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
  .team-member-detail-container .team-portrait-nav > img{display:block!important;width:100%!important;max-width:100%!important;aspect-ratio:4/3!important;height:auto!important;object-fit:cover!important;object-position:center center!important}
}

/* Team profile icons: retain original Font Awesome envelope and align LinkedIn beside it. */
.team-member-detail-container .team-member-shortfacts .social-buttons-container{
  display:flex!important;align-items:center!important;gap:5px!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.email{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  width:28px!important;min-width:28px!important;height:38px!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.email i{
  font-size:15.4px!important;line-height:1!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  width:24px!important;min-width:24px!important;height:38px!important;
  margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  text-decoration:none!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal .team-social-svg{
  display:block!important;width:24px!important;height:24px!important;flex:none!important;
  transform:none!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal:focus-visible{
  outline:2px solid #31546d!important;outline-offset:3px!important;
}

/* Team profiles: place email and LinkedIn vertically, left-aligned. */
.team-member-detail-container .team-member-shortfacts .social-buttons-container{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:5px!important}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.email,
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal{margin:0!important;align-self:flex-start!important;justify-content:flex-start!important}

/* Compact vertically stacked team links: align the visible silhouettes, not only their boxes. */
.team-member-detail-container .team-member-shortfacts .social-buttons-container{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:4px!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.email,
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  flex:0 0 24px!important;width:28px!important;min-width:28px!important;
  height:24px!important;min-height:24px!important;line-height:1!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
}
.team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal .team-social-svg{
  width:24px!important;height:24px!important;transform:translateX(-5px)!important;
}

/* Desktop and tablet: keep the compact mobile stacking and 1px-right LinkedIn alignment. */
@media (min-width:768px){
  .team-member-detail-container .team-member-shortfacts .social-buttons-container{
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:flex-start!important;gap:4px!important;
  }
  .team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.email,
  .team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex:0 0 24px!important;width:28px!important;min-width:28px!important;
    height:24px!important;min-height:24px!important;
    padding:0!important;margin:0!important;
  }
  .team-member-detail-container .team-member-shortfacts .social-buttons-container a.social-button.linkedin-personal .team-social-svg{
    width:24px!important;height:24px!important;transform:translateX(-5px)!important;
  }
}

/* Homepage primary headline: slightly larger on tablet and desktop; mobile unchanged. */
@media(min-width:768px) and (max-width:1180px){body.home main#main-content > .team-container:first-child .homepage-eyebrow + h3{font-size:1.7em!important}}
@media(min-width:1181px){body.home main#main-content > .team-container:first-child .homepage-eyebrow + h3{font-size:1.9em!important}}

/* Three minimal square-cornered offers, matching the approved visual mockup. */
body.home .homepage-offers-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  margin:46px 0 46px!important;
}
body.home .homepage-offers-grid > .homepage-offer{
  box-sizing:border-box!important;
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:26px 24px 30px!important;
  display:flex!important;
  flex-direction:column!important;
}
body.home .homepage-offers-grid > .homepage-offer > p{
  margin:0 0 28px!important;
}
body.home .homepage-offers-grid .homepage-service-heading{
  display:inline-block!important;
  color:#000!important;
  font-size:23px!important;
  font-weight:700!important;
  line-height:1.18!important;
  margin-bottom:16px!important;
}
body.home .homepage-offers-grid > .homepage-offer > ul{
  color:#292b2c!important;
  list-style:disc outside!important;
  margin:auto 0 0!important;
  padding-left:1.4em!important;
}
body.home .homepage-offers-grid > .homepage-offer > ul li::marker{color:#000!important}
@media(min-width:992px){
  body.home .homepage-offers-grid{
    /* Preserve the original individual tile width; only distribute additional space between tiles. */
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:24px!important;
    align-items:stretch!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  body.home .homepage-offers-grid > .homepage-offer{padding:21px 17px 24px!important}
  body.home .homepage-offers-grid .homepage-service-heading{font-size:clamp(10px,1.25vw,23px)!important;white-space:nowrap!important;letter-spacing:-.015em!important}
}
@media(min-width:992px){
  body.home .homepage-offers-grid{
    /* Use the full available width for the three columns instead of large distributed gaps. */
    width:calc(83.333333vw - 46px)!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    justify-content:normal!important;
    gap:20px!important;
  }
}
@media(min-width:1200px){
  body.home .homepage-offers-grid > .homepage-offer{padding:21px 20px 25px!important}
  body.home .homepage-offers-grid .homepage-service-heading{font-size:clamp(10px,1.25vw,23px)!important}
}

/* Narrow windows up to 991px: retain original unboxed, vertically stacked homepage service presentation. */
@media(max-width:991px){
  body.home .homepage-offers-grid{
    display:block!important;
    margin:0!important;
    padding:0!important;
  }
  body.home .homepage-offers-grid > .homepage-offer{
    display:block!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
  }
  body.home .homepage-offers-grid > .homepage-offer > p{
    margin:32px 0 8px!important;
  }
  body.home .homepage-offers-grid .homepage-service-heading{
    display:inline!important;
    font-size:inherit!important;
    font-weight:700!important;
    line-height:inherit!important;
    letter-spacing:normal!important;
    white-space:normal!important;
    margin:0!important;
  }
  body.home .homepage-offers-grid > .homepage-offer > ul{
    margin:8px 0 24px!important;
    padding-left:2em!important;
    list-style:disc outside!important;
  }
}

/* Align the first homepage service offer with the text column above on tablet/desktop. */
@media(min-width:992px){
  body.home .homepage-offers-grid > .homepage-offer:first-child{padding-left:0!important}
}

/* Desktop/tablet offers: tighter copy-to-list spacing, bullets aligned to the left text edge. */
@media(min-width:992px){
  body.home .homepage-offers-grid > .homepage-offer > p{margin-bottom:14px!important}
  body.home .homepage-offers-grid > .homepage-offer > ul{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }
  body.home .homepage-offers-grid > .homepage-offer > ul > li{
    position:relative!important;
    padding-left:1.3em!important;
    list-style:none!important;
  }
  body.home .homepage-offers-grid > .homepage-offer > ul > li::before{
    content:"•";
    position:absolute;
    left:0;
    top:0;
    color:#000;
  }
}

/* Legal information belongs at page end on all screen sizes, not in navigation. */
#smartcut-menu > .footer{display:none!important}
body > footer.mobile-site-footer{
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:4px!important;
  width:100%!important;
  margin:0!important;
  padding:33px 8.333333% 40px!important;
  background:#fff!important;
  border-top:0!important;
  color:#777!important;
  font-family:Lato,Arial,sans-serif!important;
  font-size:13px!important;
  font-weight:400!important;
  line-height:1.5!important;
  text-align:left!important;
}
body > footer.mobile-site-footer a{
  color:inherit!important;
  font:inherit!important;
  text-decoration:none!important;
  border:0!important;
}
body > footer.mobile-site-footer a:hover,
body > footer.mobile-site-footer a:focus-visible{text-decoration:underline!important}


/* Desktop and tablet: legal link and copyright share one discreet footer row. */
@media(min-width:768px){
  body > footer.mobile-site-footer{
    flex-direction:row!important;
    align-items:center!important;
    column-gap:24px!important;
    row-gap:8px!important;
    flex-wrap:wrap!important;
  }
}

/* Andermatt Rechenbeispiel: slightly less space before following paragraph on desktop only. */
@media (min-width: 768px){
  body.postid-5916 .project-unified-copy img.wp-image-8102{margin-bottom:0!important}
}

/* Andermatt notebooks: mobile-only, equal-size left/right panels stacked vertically. */
body.postid-5916 .andermatt-mobile-calculation{display:none}
@media(max-width:767px){
  body.postid-5916 .project-unified-copy img.wp-image-8102{display:none!important}
  body.postid-5916 .andermatt-mobile-calculation{
    display:flex!important;
    flex-direction:column;
    gap:4px;
    width:100%;
    margin:24px auto 12px;
  }
  body.postid-5916 .andermatt-mobile-calculation > div{
    width:100%;
    aspect-ratio:512 / 719;
    background-image:url('/fidelity/assets/files/Rechenbeispiel_Andermatt_transparent.png?v=20261105-transparent');
    background-repeat:no-repeat;
    background-size:200% 100%;
  }
  body.postid-5916 .andermatt-calculation-left{background-position:left top}
  body.postid-5916 .andermatt-calculation-right{background-position:right top}
}

/* Mobile Andermatt two-step calculation: one paper block at a time. */
@media(max-width:767px){
  body.postid-5916 .project-unified-copy br:has(+ br + img.wp-image-8102),
  body.postid-5916 .project-unified-copy br:has(+ img.wp-image-8102),
  body.postid-5916 .project-unified-copy .andermatt-mobile-calculation + br,
  body.postid-5916 .project-unified-copy .andermatt-mobile-calculation + br + br{display:none!important}
  body.postid-5916 .andermatt-mobile-calculation{
    position:relative!important;
    display:block!important;
    margin:16px auto!important;
    width:100%;
    padding:0 24px;
    box-sizing:border-box;
  }
  body.postid-5916 .andermatt-calculation-viewport{
    width:100%;
    overflow:hidden;
    touch-action:pan-y;
  }
  body.postid-5916 .andermatt-calculation-track{
    display:flex;
    width:100%;
    transform:translateX(0);
    transition:transform .25s ease-out;
    will-change:transform;
  }
  body.postid-5916 .andermatt-calculation-slide{
    flex:0 0 100%;
    min-width:0;
    aspect-ratio:512/719;
  }
  body.postid-5916 .andermatt-calculation-slide > div{
    display:block;
    width:100%;
    height:100%;
    background-image:url('/fidelity/assets/files/Rechenbeispiel_Andermatt_transparent.png?v=20261105-transparent');
    background-repeat:no-repeat;
    background-size:200% 100%;
  }
  body.postid-5916 .andermatt-calculation-left{background-position:left top;filter:brightness(1.035)}
  body.postid-5916 .andermatt-calculation-right{background-position:right top}
  body.postid-5916 .andermatt-mobile-calculation button{
    appearance:none;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    width:24px;
    height:44px;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#333;
    font-family:Arial,sans-serif;
    font-size:32px;
    font-weight:300;
    line-height:1;
    cursor:pointer;
    z-index:1;
  }
  body.postid-5916 .andermatt-calculation-prev{left:0}
  body.postid-5916 .andermatt-calculation-next{right:0}
  body.postid-5916 .andermatt-mobile-calculation button:disabled{visibility:hidden}
  body.postid-5916 .andermatt-mobile-calculation button:focus-visible{outline:2px solid #333;outline-offset:1px}
}
@media(prefers-reduced-motion:reduce){
  body.postid-5916 .andermatt-calculation-track{transition:none!important}
}

/* Reset the previous two-panel background rule on the new slider viewport. */
@media(max-width:767px){
  body.postid-5916 .andermatt-mobile-calculation > .andermatt-calculation-viewport{
    aspect-ratio:auto!important;
    height:auto!important;
    background:none!important;
    background-image:none!important;
  }
}

/* Swiss Olympic strategy: breathing room before the bracelet collage and after the last caption. */
body.postid-8140 .so-strategy-copy figure.project-captioned-image:has(img.wp-image-8178){
  margin-top:48px!important;
}
body.postid-8140 .so-strategy-copy figure.project-captioned-image:has(img.wp-image-8147) + p.project-caption-following-copy{
  margin-top:48px!important;
}
@media(max-width:767px){
  body.postid-8140 .so-strategy-copy figure.project-captioned-image:has(img.wp-image-8178){
    margin-top:40px!important;
  }
  body.postid-8140 .so-strategy-copy figure.project-captioned-image:has(img.wp-image-8147) + p.project-caption-following-copy{
    margin-top:40px!important;
  }
}

/* Swiss Textiles COM-B model: inline vector animation, matching the original shapes and colours. */
.comb-animated-diagram{display:block;width:100%;max-width:1024px;margin:58px auto;overflow:visible}
.comb-animated-diagram svg{width:100%;height:auto;display:block;overflow:visible}
.comb-animated-diagram .comb-node text{
  font-family:Lato,Arial,sans-serif;font-size:30px;font-weight:400;
  text-anchor:middle;dominant-baseline:middle;
}
/* Fully visible until JS arms the scene: safe fallback for blocked scripts. */
@media(prefers-reduced-motion:no-preference){
  .comb-animated-diagram.comb-ready .comb-node{opacity:0}
  .comb-animated-diagram.comb-ready .comb-line{opacity:0;stroke-dasharray:1;stroke-dashoffset:1;marker-start:none;marker-end:none}
  /* Arrowheads are added only after each line finishes drawing, avoiding black dots before Behavior. */
  .comb-animated-diagram.comb-ready .comb-line.comb-complete{marker-end:url(#comb-animated-arrow)}
  .comb-animated-diagram.comb-ready .comb-line.comb-complete{marker-start:url(#comb-animated-arrow)}
  .comb-animated-diagram.comb-playing .comb-node{
    animation:comb-node-enter .3s cubic-bezier(.2,.75,.25,1) both;
  }
  .comb-animated-diagram.comb-playing .comb-line{
    animation:comb-line-draw .3s ease-in-out both;
  }
  .comb-animated-diagram.comb-playing .comb-behavior{animation-delay:.05s}
  .comb-animated-diagram.comb-playing .comb-to-capability{animation-delay:.32s}
  .comb-animated-diagram.comb-playing .comb-capability{animation-delay:.63s}
  .comb-animated-diagram.comb-playing .comb-to-opportunity{animation-delay:.93s}
  .comb-animated-diagram.comb-playing .comb-opportunity{animation-delay:1.24s}
  .comb-animated-diagram.comb-playing .comb-to-motivation{animation-delay:1.54s}
  .comb-animated-diagram.comb-playing .comb-motivation{animation-delay:1.85s}
  .comb-animated-diagram.comb-playing .comb-capability-to-opportunity{animation-delay:2.16s}
  .comb-animated-diagram.comb-playing .comb-motivation-to-opportunity{animation-delay:2.46s}
}
@keyframes comb-node-enter{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes comb-line-draw{
  from{opacity:1;stroke-dashoffset:1}
  to{opacity:1;stroke-dashoffset:0}
}

/* Swiss Textiles EAST framework: same scroll-triggered build and spacing as COM-B. */
.east-animated-diagram{display:block;width:100%;max-width:1024px;margin:58px auto;overflow:visible}
.east-animated-diagram svg{display:block;width:100%;height:auto;overflow:visible}
.east-animated-diagram .east-node text{
  font-family:Lato,Arial,sans-serif;font-size:30px;font-weight:400;
  text-anchor:middle;dominant-baseline:middle;
}
@media(prefers-reduced-motion:no-preference){
  .east-animated-diagram.east-ready .east-node{opacity:0}
  .east-animated-diagram.east-playing .east-node{
    animation:east-node-enter .26s cubic-bezier(.2,.75,.25,1) both;
  }
  .east-animated-diagram.east-playing .east-easy{animation-delay:.04s}
  .east-animated-diagram.east-playing .east-attractive{animation-delay:.34s}
  .east-animated-diagram.east-playing .east-social{animation-delay:.64s}
  .east-animated-diagram.east-playing .east-timely{animation-delay:.94s}
}
@keyframes east-node-enter{
  from{opacity:0;transform:translateY(8px)}
  to{opacity:1;transform:translateY(0)}
}

/* Swiss Textiles: fill the mobile text width with the visible SVG shapes,
   not with the SVGs' wide internal whitespace. */
@media(max-width:767px){
  body.postid-7772 .comb-animated-diagram,
  body.postid-7772 .east-animated-diagram{
    width:100%;
    overflow:hidden;
  }
  body.postid-7772 .comb-animated-diagram svg{
    width:156%;
    max-width:none;
    margin-left:-23.8%;
  }
  body.postid-7772 .east-animated-diagram svg{
    width:125%;
    max-width:none;
    margin-left:-12.5%;
  }
}


/* Mobile homepage services: all three enter from the left on scroll. */
@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  body.home.mobile-offers-motion .homepage-offers-grid .homepage-offer {
    opacity: 0;
    transform: translate3d(-56px, 0, 0);
    transition: opacity .58s ease-out, transform .68s cubic-bezier(.2,.8,.2,1);
    will-change: opacity, transform;
  }
  body.home.mobile-offers-motion .homepage-offers-grid .homepage-offer.offer-in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
  }
}


/* Tablet and desktop: 3 services in one row, with a coordinated scroll entrance.
   Mobile uses consistent left-to-right single-column entrances. */
@media (min-width:768px) and (max-width:991px) {
  body.home .homepage-offers-grid {
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    width:100%!important;
    max-width:100%!important;
    gap:14px!important;
    margin:36px 0 42px!important;
    align-items:stretch!important;
  }
  body.home .homepage-offers-grid > .homepage-offer {
    display:flex!important;
    flex-direction:column!important;
    min-width:0!important;
    margin:0!important;
    padding:12px 4px 16px!important;
  }
  body.home .homepage-offers-grid > .homepage-offer > p {
    font-size:clamp(13px,1.6vw,16px)!important;
    line-height:1.45!important;
    margin:0 0 15px!important;
  }
  body.home .homepage-offers-grid .homepage-service-heading {
    display:inline-block!important;
    white-space:nowrap!important;
    font-size:clamp(10px,1.28vw,13px)!important;
    line-height:1.2!important;
    letter-spacing:-.018em!important;
    margin:0 0 10px!important;
  }
  body.home .homepage-offers-grid > .homepage-offer > ul {
    font-size:clamp(12px,1.4vw,14px)!important;
    line-height:1.45!important;
    list-style:disc outside!important;
    margin:auto 0 0!important;
    padding-left:1.1em!important;
  }
}
@media (min-width:768px) and (prefers-reduced-motion:no-preference) {
  body.home.desktop-offers-motion .homepage-offers-grid > .homepage-offer {
    opacity:0;
  }
  body.home.desktop-offers-motion.desktop-offers-playing .homepage-offers-grid > .homepage-offer {
    animation:smartcut-offer-from-left .76s cubic-bezier(.2,.8,.2,1) both;
  }
  body.home.desktop-offers-motion.desktop-offers-playing .homepage-offers-grid > .homepage-offer:nth-child(2) {
    animation-name:smartcut-offer-from-bottom;
    animation-delay:.18s;
  }
  body.home.desktop-offers-motion.desktop-offers-playing .homepage-offers-grid > .homepage-offer:nth-child(3) {
    animation-name:smartcut-offer-from-right;
    animation-delay:.36s;
  }
}
@keyframes smartcut-offer-from-left {from{opacity:0;transform:translate3d(-54px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes smartcut-offer-from-bottom {from{opacity:0;transform:translate3d(0,40px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes smartcut-offer-from-right {from{opacity:0;transform:translate3d(54px,0,0)}to{opacity:1;transform:translate3d(0,0,0)}}


/* Mobile navigation: the empty legacy social area and list bottom margin
   must not extend the grey panel below the LinkedIn icon. */
@media (max-width:767px) {
  #smartcut-menu.sidebar-menu-container {
    bottom:auto!important;
    height:fit-content!important;
    min-height:0!important;
    max-height:100dvh!important;
    padding-bottom:48px!important;
  }
  #smartcut-menu > ul { margin-bottom:0!important; }
  #smartcut-menu > .under-navigation { display:none!important; }
}


/* Original smartcut double-arrow marque, limited to the three homepage service headings. */
body.home .homepage-offers-grid > .homepage-offer .homepage-service-heading::before {
  content:"";
  display:inline-block;
  width:0.9em;
  height:0.9em;
  margin-right:0.32em;
  vertical-align:baseline;
  background:url("/fidelity/assets/files/fastforward-d3bb92ea854672.png") center/contain no-repeat;
}

/* All screen sizes: reveal the three behavioral-economics application areas as groups on scroll. */
@media(prefers-reduced-motion:no-preference){
  .benefits-editorial-copy > .homepage-section-title.smartcut-area-motion-ready,
  .benefits-editorial-copy > .homepage-section-title.smartcut-area-motion-ready + p{
    transition:opacity .72s ease,transform .72s cubic-bezier(.2,.8,.2,1);
  }
  .benefits-editorial-copy > .homepage-section-title.smartcut-area-motion-pending,
  .benefits-editorial-copy > .homepage-section-title.smartcut-area-motion-pending + p{
    opacity:0;
    transform:translate3d(-32px,0,0);
  }
  .benefits-editorial-copy > .homepage-section-title.smartcut-area-motion-ready + p{
    transition-delay:.09s;
  }
}

/* Mobile page footer: legal link and copyright on one line across the full width. */
@media(max-width:767px){
  body > footer.mobile-site-footer{
    flex-direction:row!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:4px!important;
    padding:25px 10px 30px!important;
    font-size:13px!important;
    text-align:center!important;
    white-space:nowrap!important;
  }
  body > footer.mobile-site-footer > *{min-width:0!important;white-space:nowrap!important}
}

/* Two editorial section headlines: mobile scroll reveal from the left. */
@media(max-width:767px) and (prefers-reduced-motion:no-preference){
  .smartcut-heading-left-ready{
    transition:opacity .8s ease-out,transform .8s cubic-bezier(.22,1,.36,1)!important;
  }
  .smartcut-heading-left-pending{
    opacity:0!important;
    transform:translate3d(-42px,0,0)!important;
  }
}

/* Apply the same left-entry headline reveal across all pages on tablet and desktop. */
@media(min-width:768px) and (prefers-reduced-motion:no-preference){
  .smartcut-heading-left-ready{
    transition:opacity .8s ease-out,transform .8s cubic-bezier(.22,1,.36,1)!important;
  }
  .smartcut-heading-left-pending{
    opacity:0!important;
    transform:translate3d(-42px,0,0)!important;
  }
}

/* Copyright removed from the visible page footer; retain the legal link. */
body > footer.mobile-site-footer > span{display:none!important}

/* Benefits page: authoritative vertical rhythm for all five editorial sections.
   Standard sections retain their approved bottom whitespace. The two sections
   followed by an accordion use the same compact light-grey seam and the same
   generous dark-grey heading space. Video/caption exceptions above remain intact.
   Scope all rules to this page to avoid changing other site sections. */
/* The general section spacing is defined above by main .contact-container.
   Keep only the benefit-page exception for the Contact button's own margin. */
main.kompetenzen > .contact-container .benefits-editorial-copy > p:last-child > .btn-default:has(a[href="/fidelity/kontakt/"]){
  margin-bottom:0!important;
}
/* Identical light-grey/dark-grey transitions for Dig and marketing modules. */
main.kompetenzen > .contact-container:has(+ .offers-container:has(#accordion-4102)),
main.kompetenzen > .contact-container:has(+ .offers-container:has(#accordion-4250)){
  padding-bottom:14px!important;
}
/* Approved Vorteile layout: Dig–Deliver accordion continues the white intro,
   with less vertical space below the first Contact button. */
main.kompetenzen > .offers-container:has(#accordion-4102){
  background-color:#fff!important;
}
main.kompetenzen .offers-container #accordion-4102{
  padding-top:30px!important;
}
main.kompetenzen .offers-container #accordion-4250{
  padding-top:66px!important;
}

/* Desktop and tablet: align the legal footer link to the right edge. */
@media(min-width:768px){
  body > footer.mobile-site-footer{
    justify-content:flex-end!important;
    text-align:right!important;
  }
}

/* Original smartcut double-arrow icon for the three application-area headings.
   Reuse the same asset and proportions as the homepage offer headings. */
main.kompetenzen .benefits-editorial-copy .homepage-section-title > strong.smartcut-service-area-title::before{
  content:"";
  display:inline-block;
  width:.9em;
  height:.9em;
  margin-right:.32em;
  vertical-align:baseline;
  background:url("/fidelity/assets/files/fastforward-d3bb92ea854672.png") center/contain no-repeat;
}

/* smartcut academy: split the original 700x581 Spock/Homer artwork without
   recompression or cropping. Each half includes its original caption. */
.academy-editorial-copy > .academy-duo-image{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  width:100%;
  max-width:700px;
  aspect-ratio:700 / 581;
  margin-left:auto;
  margin-right:auto;
  overflow:hidden;
}
.academy-duo-image > .academy-duo-half{
  display:block;
  min-width:0;
  height:100%;
  background-image:url("/fidelity/assets/files/Spock_Homer_4b-11767f8d669adb.jpg");
  background-size:200% 100%;
  background-repeat:no-repeat;
}
.academy-duo-spock{background-position:left center}
.academy-duo-homer{background-position:right center}
@media(prefers-reduced-motion:no-preference){
  .academy-duo-image.academy-duo-animate .academy-duo-half{
    opacity:0;
    transition:opacity .8s ease,transform .9s cubic-bezier(.22,1,.36,1);
    will-change:transform,opacity;
  }
  .academy-duo-image.academy-duo-animate .academy-duo-spock{
    transform:translate3d(-105%,0,0);
  }
  .academy-duo-image.academy-duo-animate .academy-duo-homer{
    transform:translate3d(105%,0,0);
    transition-delay:.48s;
  }
  .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-half{
    opacity:1;
    transform:translate3d(0,0,0);
  }
}


/* Academy mobile: establish the hidden start positions before deferred JS
   runs, preventing a flash or an outward movement at page load. */
@media (max-width:767px) and (prefers-reduced-motion:no-preference){
  .academy-editorial-copy > .academy-duo-image .academy-duo-half{
    opacity:0;
    transition:none;
    will-change:opacity,transform;
  }
  .academy-editorial-copy > .academy-duo-image .academy-duo-spock{
    transform:translate3d(-105%,0,0);
  }
  .academy-editorial-copy > .academy-duo-image .academy-duo-homer{
    transform:translate3d(105%,0,0);
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-spock{
    animation:smartcut-academy-spock-arrive .95s cubic-bezier(.22,1,.36,1) 0s both;
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-homer{
    animation:smartcut-academy-homer-arrive .95s cubic-bezier(.22,1,.36,1) 0s both;
  }
}

/* Project story copy has legacy inline text and manual <br> separators.
   Reveal inline runs without changing wrapping, paragraph geometry or galleries. */
@media (prefers-reduced-motion:no-preference){
  main .project-unified-copy .smartcut-project-copy-reveal.smartcut-text-reveal-ready{
    position:relative;
    transition:opacity .8s ease-out var(--smartcut-text-delay,0ms),
      top .8s cubic-bezier(.22,1,.36,1) var(--smartcut-text-delay,0ms);
    transform:none;
    top:0;
  }
  main .project-unified-copy .smartcut-project-copy-reveal.smartcut-text-reveal-pending{
    opacity:0;
    transform:none;
    top:22px;
  }
}
@media (prefers-reduced-motion:reduce){
  main .project-unified-copy .smartcut-project-copy-reveal{
    top:0!important;
    opacity:1!important;
    transform:none!important;
  }
}

/* Swiss Olympic strategy uses the same inline scroll-reveal behavior as other case studies. */
@media (prefers-reduced-motion:no-preference){
  main .so-strategy-copy .smartcut-project-copy-reveal.smartcut-text-reveal-ready{
    position:relative;
    transition:opacity .8s ease-out var(--smartcut-text-delay,0ms),
      top .8s cubic-bezier(.22,1,.36,1) var(--smartcut-text-delay,0ms);
    transform:none;
    top:0;
  }
  main .so-strategy-copy .smartcut-project-copy-reveal.smartcut-text-reveal-pending{
    opacity:0;
    transform:none;
    top:22px;
  }
}
@media (prefers-reduced-motion:reduce){
  main .so-strategy-copy .smartcut-project-copy-reveal{
    top:0!important;opacity:1!important;transform:none!important;
  }
}

/* Academy desktop: clearly perceptible opposing entrances, staggered timing.
   The original image/captions and the mobile/tablet motion remain unchanged. */
@media (min-width:992px) and (prefers-reduced-motion:no-preference){
  .academy-duo-image.academy-duo-animate .academy-duo-half{
    transition:opacity 1.05s ease,transform 1.15s cubic-bezier(.22,1,.36,1);
  }
  .academy-duo-image.academy-duo-animate .academy-duo-spock{
    transform:translate3d(-160px,0,0);
    transition-delay:0s;
  }
  .academy-duo-image.academy-duo-animate .academy-duo-homer{
    transform:translate3d(160px,0,0);
    transition-delay:.48s;
  }
  .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-half{
    transform:translate3d(0,0,0);
    opacity:1;
  }
}

/* Desktop Academy: fully separated entrances, visibly starting outside the frame.
   Keyframes avoid transitions being skipped when the image is already in view. */
@media (min-width:768px) and (prefers-reduced-motion:no-preference){
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate .academy-duo-spock{
    opacity:0;
    transform:translate3d(-105%,0,0);
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate .academy-duo-homer{
    opacity:0;
    transform:translate3d(105%,0,0);
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-spock{
    animation:smartcut-academy-spock-arrive .85s cubic-bezier(.19,1,.22,1) .06s both;
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-homer{
    animation:smartcut-academy-homer-arrive .85s cubic-bezier(.19,1,.22,1) .48s both;
  }
}
@keyframes smartcut-academy-spock-arrive{
  from{opacity:0;transform:translate3d(-105%,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes smartcut-academy-homer-arrive{
  from{opacity:0;transform:translate3d(105%,0,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}

/* Tablet: share desktop project imagery and interaction, sized to two columns. */
@media (min-width:768px) and (max-width:991px){
 body.single-projects .projects-overview-container > .row{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
 body.single-projects .projects-overview-container .project-overview-item-content{
  opacity:1!important;
  background:rgba(255,255,255,.86)!important;
 }
 body.single-projects .projects-overview-container .project-overview-item:focus-within .project-overview-item-content{
  background:rgba(255,255,255,.9)!important;
 }
}
/* Tablet team portraits: same bottom-aligned arrows as desktop. */
@media (min-width:768px) and (max-width:1199px){
 .team-member-detail-container .team-portrait-nav > .team-portrait-arrow{top:auto!important;bottom:0!important}
 .team-member-detail-container .team-portrait-nav > .team-portrait-arrow-prev{transform:translateX(calc(-100% - 4px))!important}
 .team-member-detail-container .team-portrait-nav > .team-portrait-arrow-next{transform:translateX(4px)!important}
}

/* Tablet project recommendations: three image-free grey tiles, matching mobile.
   Desktop >=1200px keeps its existing photographed hover cards. */
@media (min-width:768px) and (max-width:1199px){
  body.single-projects .projects-overview-container > .row{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:2px!important;
    margin:0!important;
    background:#fff!important;
  }
  body.single-projects .projects-overview-container > .row > .project-overview-item{
    display:block!important;
    position:relative!important;
    min-width:0!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    aspect-ratio:16/9!important;
    background-image:none!important;
    background-color:#d9dade!important;
    border:0!important;
    padding:0!important;
  }
  body.single-projects .projects-overview-container .row > .project-overview-item:nth-child(even){
    background-color:#c4c5c7!important;
  }
  body.single-projects .projects-overview-container .project-overview-item > img.img-fluid{
    display:none!important;
  }
  body.single-projects .projects-overview-container .project-overview-item-content,
  body.single-projects .projects-overview-container .project-overview-item:hover .project-overview-item-content,
  body.single-projects .projects-overview-container .project-overview-item:focus-within .project-overview-item-content{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    position:absolute!important;
    inset:0!important;
    opacity:1!important;
    background:transparent!important;
    text-align:center!important;
    color:#292b2c!important;
  }
  body.single-projects .projects-overview-container .project-overview-item-headline:first-child{
    font-size:clamp(14px,1.85vw,22px)!important;
    line-height:1.18!important;
    width:100%!important;
    padding:0 3%!important;
    box-sizing:border-box!important;
  }
  body.single-projects .projects-overview-container .project-overview-item-title{
    font-size:clamp(12px,1.5vw,19px)!important;
    line-height:1.2!important;
  }
}


/* Desktop and tablet team portraits: circular crop instead of a hard rectangular bottom.
   Keep the original 16:9 files, natural centered portrait scale and arrows
   outside the circle. Mobile retains its existing treatment. */
@media (min-width:768px){
  .team-member-detail-container .team-portrait-nav > img{
    display:block!important;
    width:min(100%,300px)!important;
    max-width:300px!important;
    height:auto!important;
    aspect-ratio:1/1!important;
    object-fit:cover!important;
    object-position:center center!important;
    border-radius:50%!important;
    margin-inline:auto!important;
  }
  .team-member-detail-container .team-portrait-nav{
    overflow:visible!important;
    width:min(100%,300px)!important;
    max-width:300px!important;
    margin-inline:auto!important;
  }
}


/* Accordion: animate the entire box, not content height plus static padding.
   Keep the original .5em / 1em inner spacing but remove the outside padding
   that caused a visible snap before and after every height animation. */
.kompetenzmodule #accordion-4102 > div,
.kompetenzmodule #accordion-4250 > div{
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.kompetenzmodule #accordion-4102 > div > .smartcut-accordion-inner,
.kompetenzmodule #accordion-4250 > div > .smartcut-accordion-inner{
  display:block!important;
  padding:.5em 0 1em;
  box-sizing:border-box;
}


/* Desktop/tablet: compact, content-width navigation with even side/bottom padding. */
@media (min-width:768px) {
  #smartcut-menu.sidebar-menu-container {
    box-sizing:border-box!important;
    width:max-content!important;
    max-width:90vw!important;
    right:-100vw!important;
    bottom:auto!important;
    height:fit-content!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow-y:auto!important;
    padding:76px 64px 48px 48px!important;
  }
  #smartcut-menu.sidebar-menu-container.visible {right:0!important;}
  #smartcut-menu > ul {
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  #smartcut-menu > .close-menu-button-container {right:24px!important;}
  #smartcut-menu > .under-navigation {display:none!important;}
}


/* Navigation close control: white X at the upper-right corner on every viewport. */
#smartcut-menu > .close-menu-button-container {
  position:absolute!important;
  top:12px!important;
  right:14px!important;
  margin:0!important;
  padding:0!important;
  z-index:2!important;
}
#smartcut-menu > .close-menu-button-container > .toggle-menu {
  display:block!important;
  width:30px!important;
  height:30px!important;
  padding:0!important;
  line-height:0!important;
}
#smartcut-menu > .close-menu-button-container svg {
  display:block!important;
  width:30px!important;
  height:30px!important;
}
#smartcut-menu > .close-menu-button-container svg line,
#smartcut-menu > .close-menu-button-container svg g {
  stroke:#fff!important;
}


/* Mobile navigation: use the same compact content-width panel as desktop. */
@media (max-width:767px) {
  #smartcut-menu.sidebar-menu-container {
    box-sizing:border-box!important;
    width:max-content!important;
    max-width:calc(100vw - 16px)!important;
    right:-100vw!important;
    bottom:auto!important;
    height:fit-content!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow-y:auto!important;
    padding:68.4px 36px 36px!important;
  }
  #smartcut-menu.sidebar-menu-container.visible {right:0!important;}
  #smartcut-menu > ul {
    box-sizing:border-box!important;
    width:max-content!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  #smartcut-menu > .under-navigation {display:none!important;}
}


/* Navigation colour: midpoint of the two alternating project-tile greys. */
#smartcut-menu.sidebar-menu-container {background-color:#cfd0d3!important;}

/* Desktop only: more breathing room to the right of the navigation links. */
@media (min-width:992px) {
  #smartcut-menu.sidebar-menu-container {padding-right:88px!important;}
}

/* Gallery arrows: no lingering white focus ring after mouse clicks; preserve keyboard focus. */
.smartcut-lightbox .lightbox-prev:focus:not(:focus-visible),
.smartcut-lightbox .lightbox-next:focus:not(:focus-visible) {
  outline:none!important;
  box-shadow:none!important;
}


/* Team portraits: center previous/next arrows vertically alongside each image. */
.team-member-detail-container .team-portrait-nav > .team-portrait-arrow {
  top:50%!important;
  bottom:auto!important;
  transform:translateY(-50%)!important;
}
@media (min-width:768px){
  .team-member-detail-container .team-portrait-nav > .team-portrait-arrow-prev {
    transform:translate(calc(-100% - 4px),-50%)!important;
  }
  .team-member-detail-container .team-portrait-nav > .team-portrait-arrow-next {
    transform:translate(4px,-50%)!important;
  }
}


/* Responsive menu: begin immediately at its own width beyond the right edge,
   rather than travelling from a full viewport-width offset. */
#smartcut-menu.sidebar-menu-container {
  right:0!important;
  transform:translate3d(100%,0,0)!important;
  transition:transform .5s ease, visibility 0s linear .5s!important;
}
#smartcut-menu.sidebar-menu-container.visible {
  right:0!important;
  transform:translate3d(0,0,0)!important;
  transition:transform .5s ease, visibility 0s linear 0s!important;
}
@media (prefers-reduced-motion:reduce) {
  #smartcut-menu.sidebar-menu-container,
  #smartcut-menu.sidebar-menu-container.visible {transition:none!important;}
}


/* Dominik profile: align the previous arrow directly to the portrait's left edge,
   mirroring the visual edge alignment of Marcus's next arrow. */
@media (min-width:768px) {
  .team-member-detail-container .team-portrait-nav > a.team-portrait-arrow-prev[href="/fidelity/teammembers/marcus-gretener-behavioral-economics-agentur/"] {
    left:0!important;
    transform:translateY(-50%)!important;
  }
}

/* Global navigation policy: the book page remains reachable, but its
   "Unser Buch" item must never appear in the sidebar on any page. */
#smartcut-menu > ul > li:has(> a[href="/fidelity/chief-behavioral-officer/"]){
  display:none!important;
}

/* Desktop editorial titles: match the computed 1.8em project headline
   (1.8 x 17.6px body font = 31.68px), without changing iPad or mobile.
   Applies only to Benefits, Chief Behavioral Officer, Academy, FAQ, Contact. */
@media (min-width:1200px){
  main#main-content > .contact-container:has(
    :is(.benefits-editorial-copy,.book-editorial-copy,.academy-editorial-copy,.faq-editorial-copy)
  ) .content > h3,
  body.page-id-274 main#main-content > .contact-container .content > h3{
    font-size:31.68px!important;
    font-weight:500!important;
    line-height:1.2!important;
  }
}

/* Menu activation invariant: only the explicit menu button can arm the
   slide-in transition. Never animate or reveal it during page navigation. */
#smartcut-menu.sidebar-menu-container:not(.visible){
  visibility:hidden!important;
  pointer-events:none!important;
}
#smartcut-menu.sidebar-menu-container.visible{
  visibility:visible!important;
  pointer-events:auto!important;
}
body:not(.smartcut-menu-user-activated) #smartcut-menu.sidebar-menu-container{
  transition:none!important;
}
body:not(.smartcut-menu-user-activated) #smartcut-menu.sidebar-menu-container.visible{
  visibility:hidden!important;
  pointer-events:none!important;
  transform:translate3d(100%,0,0)!important;
}

/* Dialogs: opening focuses the container, not the top-right X.
   Container focus is visually neutral; keyboard focus on controls remains visible. */
#smartcut-menu.sidebar-menu-container:focus,
.smartcut-lightbox:focus{
  outline:none!important;
  box-shadow:none!important;
}
#smartcut-menu > .close-menu-button-container > .toggle-menu:focus:not(:focus-visible),
.smartcut-lightbox .lightbox-close:focus:not(:focus-visible){
  outline:none!important;
  box-shadow:none!important;
}





/* One shared separator system for homepage tiles, further-case tiles and gallery images.
   Every outer tile edge is 1px white; adjoining edges form 2px separators.
   Stacked photos have a single 2px interior divider, not nested borders. */
.project-media-container{border-top:0!important}
.project-media-container .project-media-item{
  border:1px solid #fff!important;
  margin:0!important;
  box-shadow:none!important;
}
.project-media-container .project-inline-item{
  border:0!important;
  margin:0!important;
}
.project-media-container .project-media-item .project-inline-item + .project-inline-item{
  border-top:2px solid #fff!important;
  margin-top:0!important;
}
.project-media-container .project-media-item + .project-media-item{margin-top:0!important}
body.home .projects-overview-container .project-overview-item,
body.single-projects .projects-overview-container .project-overview-item{
  border:1px solid #fff!important;
  box-sizing:border-box!important;
}


/* Navigation invariant: retain original Lato Light 300 everywhere.
   The original body is weight 300; only the legacy active item was 700.
   Keep active, hover and focus typography identical to the other entries. */
#smartcut-menu.sidebar-menu-container ul li,
#smartcut-menu.sidebar-menu-container ul li.active,
#smartcut-menu.sidebar-menu-container ul li a,
#smartcut-menu.sidebar-menu-container ul li a:hover,
#smartcut-menu.sidebar-menu-container ul li a:focus,
#smartcut-menu.sidebar-menu-container ul li a:visited{
  font-weight:300!important;
}


/* Navigation feedback: Lato Light 300 at rest and on the active page.
   Regular 400 only on hover and keyboard focus of other links. No underline. */
#smartcut-menu.sidebar-menu-container ul li > a{
  font-weight:300!important;
  text-decoration:none!important;
  background-image:none!important;
}
#smartcut-menu.sidebar-menu-container ul li > a:hover,
#smartcut-menu.sidebar-menu-container ul li > a:focus-visible{
  font-weight:400!important;
  text-decoration:none!important;
  background-image:none!important;
}
/* The active page uses the same 300-to-400 hover/focus feedback as every
   other navigation item; aria-current remains for accessibility only. */
#smartcut-menu.sidebar-menu-container ul li > a:focus-visible{
  outline:2px solid currentColor;
  outline-offset:5px;
}


/* News article paragraphs: animate inline text between existing <br><br> pairs,
   without changing line wrapping, media, layout or earlier left entrances. */
@media (prefers-reduced-motion:no-preference){
  body.single-news main .two-columns > .smartcut-news-copy-reveal.smartcut-text-reveal-ready{
    position:relative;
    top:0;
    transform:none;
    transition:opacity .8s ease-out var(--smartcut-text-delay,0ms),
      top .8s cubic-bezier(.22,1,.36,1) var(--smartcut-text-delay,0ms);
  }
  body.single-news main .two-columns > .smartcut-news-copy-reveal.smartcut-text-reveal-pending{
    opacity:0;
    top:22px;
    transform:none;
  }
}
@media (prefers-reduced-motion:reduce){
  body.single-news main .two-columns > .smartcut-news-copy-reveal{
    opacity:1!important;
    top:0!important;
    transform:none!important;
    transition:none!important;
  }
}


/* Project galleries: no white border along the OUTER left/right edges.
   Preserve the 2px separators between neighbouring images, the upper edge,
   and all horizontal dividers. Classify wrapped row edges at runtime. */
.project-media-container .project-media-item.smartcut-gallery-edge-left{
  border-left:0!important;
}
.project-media-container .project-media-item.smartcut-gallery-edge-right{
  border-right:0!important;
}
@media (max-width:575px){
  .project-media-container .project-media-item{
    border-left:0!important;
    border-right:0!important;
  }
}


/* Tablet project tiles: mobile-style grey surfaces in desktop-style three columns,
   alternating shades, centred visible text and no project photographs.
   Desktop >=1200px retains the photographic multi-column presentation. */
@media (min-width:768px) and (max-width:1199px){
  body.home .projects-overview-container > .row,
  body.single-projects .projects-overview-container > .row{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    gap:0!important;
    margin:0!important;
    background:#fff!important;
  }
  body.home .projects-overview-container > .row > .project-overview-item,
  body.single-projects .projects-overview-container > .row > .project-overview-item{
    display:block!important;
    position:relative!important;
    flex:0 0 33.333333%!important;
    width:33.333333%!important;
    max-width:33.333333%!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    aspect-ratio:16/9!important;
    padding:0!important;
    margin:0!important;
    border:1px solid #fff!important;
    background-image:none!important;
    box-sizing:border-box!important;
  }
  body.home .projects-overview-container .project-overview-item > img.img-fluid,
  body.single-projects .projects-overview-container .project-overview-item > img.img-fluid{
    display:none!important;
  }
  body.home .projects-overview-container .project-overview-item-content,
  body.single-projects .projects-overview-container .project-overview-item-content,
  body.home .projects-overview-container .project-overview-item:hover .project-overview-item-content,
  body.single-projects .projects-overview-container .project-overview-item:hover .project-overview-item-content,
  body.home .projects-overview-container .project-overview-item:focus-within .project-overview-item-content,
  body.single-projects .projects-overview-container .project-overview-item:focus-within .project-overview-item-content{
    display:flex!important;
    position:absolute!important;
    inset:0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    opacity:1!important;
    top:0!important;
    bottom:0!important;
    text-align:center!important;
    color:#292b2c!important;
    border:0!important;
    box-shadow:none!important;
  }
  body.home .projects-overview-container .row > .project-overview-item:nth-child(odd) .project-overview-item-content,
  body.single-projects .projects-overview-container .row > .project-overview-item:nth-child(odd) .project-overview-item-content{
    background:#d9dade!important;
  }
  body.home .projects-overview-container .row > .project-overview-item:nth-child(even) .project-overview-item-content,
  body.single-projects .projects-overview-container .row > .project-overview-item:nth-child(even) .project-overview-item-content{
    background:#c4c5c7!important;
  }
  body.home .projects-overview-container .project-overview-item-headline:first-child,
  body.single-projects .projects-overview-container .project-overview-item-headline:first-child{
    font-size:clamp(14px,1.85vw,22px)!important;
    line-height:1.2!important;
    width:100%!important;
    padding:0 3%!important;
    box-sizing:border-box!important;
    white-space:nowrap!important;
  }
  body.home .projects-overview-container .project-overview-item-title,
  body.single-projects .projects-overview-container .project-overview-item-title{
    font-size:clamp(12px,1.5vw,19px)!important;
    line-height:1.2!important;
  }
}


/* Tablet: smaller typography only in the three Angebot 1/2/3 cards.
   Keep card geometry, CTA buttons, desktop and mobile unchanged. */
@media (min-width:768px) and (max-width:1199px){
  .team-members-container .team-members-item[id^="angebot-"] .anfrage-box{
    font-size:17px!important;
    line-height:1.4!important;
  }
  .team-members-container .team-members-item[id^="angebot-"] .anfrage-box h3{
    font-size:clamp(21px,2.3vw,26px)!important;
    line-height:1.15!important;
  }
}

/* Tablet: editorial headlines on Benefits, FAQ, Contact, Academy and CBO
   match the project-page title at the same viewport width. Desktop/mobile
   remain unchanged. These sizes track the existing project CSS breakpoints. */
@media (min-width:768px) and (max-width:990px){
  body:is(.page-id-1539,.page-id-9194,.page-id-274,.page-id-8961,.page-id-7242)
  main#main-content > .contact-container:first-child .content > h3{
    font-size:31.68px!important;
  }
}
@media (min-width:991px) and (max-width:1180px){
  body:is(.page-id-1539,.page-id-9194,.page-id-274,.page-id-8961,.page-id-7242)
  main#main-content > .contact-container:first-child .content > h3{
    font-size:28.16px!important;
  }
}
@media (min-width:1181px) and (max-width:1199px){
  body:is(.page-id-1539,.page-id-9194,.page-id-274,.page-id-8961,.page-id-7242)
  main#main-content > .contact-container:first-child .content > h3{
    font-size:31.68px!important;
  }
}


/* Tablet Academy: one composited animation per half. The previous desktop
   transition AND keyframe animation both controlled transform/opacity here,
   causing jumps on tablets. Never apply two motion systems to the same tile.
   Both halves now enter together after the original observer trigger. */
@media (min-width:768px) and (max-width:1199px) and (prefers-reduced-motion:no-preference){
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate .academy-duo-half{
    transition:none!important;
    animation:none;
    will-change:transform,opacity;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-spock{
    animation:smartcut-academy-spock-arrive .95s cubic-bezier(.22,1,.36,1) .06s both;
  }
  .academy-editorial-copy > .academy-duo-image.academy-duo-animate.academy-duo-visible .academy-duo-homer{
    animation:smartcut-academy-homer-arrive .95s cubic-bezier(.22,1,.36,1) .06s both;
  }
}


/* Navigation links open their destination without moving the open panel.
   Disable only the outgoing slide; the hamburger's opening and deliberate
   closing animation remain unchanged. */
body.smartcut-menu-page-leaving #smartcut-menu.sidebar-menu-container{
  transition:none!important;
}


/* A heavier hovered label must not resize the max-content navigation panel.
   Reserve its Lato Regular 400 advance width invisibly while the actual label
   remains Lato Light 300 at rest. No extra visual space or menu animation. */
#smartcut-menu.sidebar-menu-container > ul > li > a[data-stable-menu-label]::after{
  content:attr(data-stable-menu-label);
  display:block;
  font:inherit;
  font-weight:400;
  white-space:nowrap;
  height:0;
  overflow:hidden;
  visibility:hidden;
  pointer-events:none;
}


/* Global accordion rhythm: bring body copy closer to its own heading.
   The outer content panels retain zero padding, so measured heights and
   the existing 350ms expand/collapse motion remain jump-free. */
.kompetenzmodule #accordion-4102 > h3,
.kompetenzmodule #accordion-4250 > h3{
  margin-bottom:5px!important;
}
.kompetenzmodule #accordion-4102 > div > .smartcut-accordion-inner,
.kompetenzmodule #accordion-4250 > div > .smartcut-accordion-inner{
  padding-top:0!important;
}


/* Global accordion separation: keep each heading close to its own text,
   but add breathing room before the next accordion heading. This spacing
   does not live inside animated height panels and is identical whether the
   previous item is open or closed. */
.kompetenzmodule #accordion-4102 > h3:not(:first-child),
.kompetenzmodule #accordion-4250 > h3:not(:first-child){
  margin-top:10px!important;
}


/* The benefits page must never switch scroll anchoring on the final
   animation frame: toggling overflow-anchor at animation completion can
   itself move the desktop viewport. Opt out continuously on this page,
   while retaining normal scroll anchoring everywhere else. */
@media (min-width:992px){
  html:has(#accordion-4102):has(#accordion-4250){
    overflow-anchor:none!important;
  }
}


/* All navigation entries give feedback, including the LinkedIn icon. */
#smartcut-menu.sidebar-menu-container > ul > li > a[href="https://www.linkedin.com/company/smartcut-consulting/"]::before{
  opacity:1;
  transition:opacity .16s ease;
}
#smartcut-menu.sidebar-menu-container > ul > li > a[href="https://www.linkedin.com/company/smartcut-consulting/"]:is(:hover,:focus-visible)::before{
  opacity:.68;
}

/* Once opening finishes, let descenders and the last text line render
   outside the temporary animation clipping region. */
.kompetenzmodule #accordion-4102 > div.smartcut-accordion-fully-open,
.kompetenzmodule #accordion-4250 > div.smartcut-accordion-fully-open{
  overflow:visible!important;
}

/* Desktop benefits: modestly reduce the grey space beneath the WinterCARD video/caption.
   Do not change tablet/mobile spacing or the accordion sections. */
@media (min-width:992px){
  main.kompetenzen > .contact-container:has(iframe[src*="avmuyRSewME"]){
    padding-bottom:48px!important;
  }
  /* The final video caption already has its own 20px bottom margin.
     Remove that duplicate spacing only in this desktop section. */
  main.kompetenzen > .contact-container:has(iframe[src*="avmuyRSewME"])
  .benefits-editorial-copy > h6:last-child{
    margin-bottom:0!important;
  }
}

/* Customer-logo carousel: preserve original brand colours without a grayscale filter.
   Applies at rest and on hover; leaves track motion and swipe unchanged. */
body.home .clients-wrapper .client-icon img,
body.home .clients-wrapper .client-icon:hover img{
  -webkit-filter:none!important;
  filter:none!important;
}


/* Agentic Commerce: full-width highlighted introduction followed by three
   parallel modules with the same double arrows and rhythm as the first row.
   Book note stays below all three. Responsive layout: three columns on
   desktop/tablet and stacked modules on mobile. */
body.home .homepage-agentic-intro{
  width:100%!important;
  margin:40px 0 0!important;
}
body.home .homepage-agentic-intro > p{margin:0!important}
body.home .homepage-agentic-offers-grid{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:18px!important;
  margin:28px 0 28px!important;
  min-width:0!important;
}
body.home .homepage-agentic-offers-grid > .homepage-agentic-offer{
  display:flex!important;
  flex-direction:column!important;
  box-sizing:border-box!important;
  min-width:0!important;
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:26px 24px 26px!important;
  margin:0!important;
}
body.home .homepage-agentic-offers-grid .homepage-agentic-offer > p{
  margin:0!important;
}
body.home .homepage-agentic-offers-grid .homepage-service-heading{
  display:inline-block!important;
  color:#000!important;
  font-size:23px!important;
  font-weight:700!important;
  line-height:1.18!important;
  margin:0 0 16px!important;
  white-space:normal!important;
}
body.home .homepage-agentic-offers-grid .homepage-service-heading::before{
  content:"";
  display:inline-block;
  width:.9em;
  height:.9em;
  margin-right:.32em;
  vertical-align:baseline;
  background:url("/fidelity/assets/files/fastforward-d3bb92ea854672.png") center/contain no-repeat;
}
body.home .homepage-agentic-book-note{
  margin:0 0 20px!important;
}
body.home .homepage-agentic-book-note a::before{
  content:none!important;
  display:none!important;
}
body.home .homepage-agentic-book-note a[href="https://agentic-commerce.biz/"]{
  margin-left:0!important;
}
@media(min-width:768px){
  body.home .homepage-agentic-offers-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:14px!important;
    margin:36px 0 36px!important;
    width:100%!important;
  }
  body.home .homepage-agentic-offers-grid > .homepage-agentic-offer{
    padding:12px 4px 12px!important;
  }
  body.home .homepage-agentic-offers-grid .homepage-agentic-offer > p{
    font-size:clamp(13px,1.6vw,16px)!important;
    line-height:1.45!important;
  }
  body.home .homepage-agentic-offers-grid .homepage-service-heading{
    font-size:clamp(10px,1.28vw,13px)!important;
    letter-spacing:-.018em!important;
    line-height:1.2!important;
    margin:0 0 10px!important;
  }
}
@media(min-width:992px){
  body.home .homepage-agentic-offers-grid{
    width:calc(83.333333vw - 46px)!important;
    gap:20px!important;
    margin:46px 0 46px!important;
  }
  body.home .homepage-agentic-offers-grid > .homepage-agentic-offer{
    padding:21px 17px 21px!important;
  }
  body.home .homepage-agentic-offers-grid > .homepage-agentic-offer:first-child{
    padding-left:0!important;
  }
  /* Same inherited body typography as the original three offers. */
  body.home .homepage-agentic-offers-grid .homepage-agentic-offer > p{
    font-size:inherit!important;
    line-height:inherit!important;
  }
  body.home .homepage-agentic-offers-grid .homepage-service-heading{
    font-size:clamp(10px,1.25vw,23px)!important;
    letter-spacing:-.015em!important;
  }
}
@media(min-width:1200px){
  body.home .homepage-agentic-offers-grid > .homepage-agentic-offer{
    padding:21px 20px 21px!important;
  }
}
/* Entrance directions match existing Behavioral / Choice / Frictionless cards. */
@media(max-width:767px) and (prefers-reduced-motion:no-preference){
  body.home.mobile-agentic-offers-motion .homepage-agentic-offers-grid .homepage-agentic-offer{
    opacity:0;
    transform:translate3d(-56px,0,0);
    transition:opacity .58s ease-out,transform .68s cubic-bezier(.2,.8,.2,1);
  }
  body.home.mobile-agentic-offers-motion .homepage-agentic-offers-grid .homepage-agentic-offer.offer-in-view{
    opacity:1;
    transform:none;
  }
}
@media(min-width:768px) and (prefers-reduced-motion:no-preference){
  body.home.desktop-agentic-offers-motion .homepage-agentic-offers-grid > .homepage-agentic-offer{opacity:0}
  body.home.desktop-agentic-offers-motion.desktop-agentic-offers-playing .homepage-agentic-offers-grid > .homepage-agentic-offer{
    animation:smartcut-offer-from-left .76s cubic-bezier(.2,.8,.2,1) both;
  }
  body.home.desktop-agentic-offers-motion.desktop-agentic-offers-playing .homepage-agentic-offers-grid > .homepage-agentic-offer:nth-child(2){
    animation-name:smartcut-offer-from-bottom;
    animation-delay:.18s;
  }
  body.home.desktop-agentic-offers-motion.desktop-agentic-offers-playing .homepage-agentic-offers-grid > .homepage-agentic-offer:nth-child(3){
    animation-name:smartcut-offer-from-right;
    animation-delay:.36s;
  }
}

/* Cases navigation: land slightly above the heading without changing page layout. */
body.home #cases{
  scroll-margin-top:60px;
}
/* Mobile visual reference (8 Nov): heading begins below fixed branding;
   its container already provides 80px of top padding. */
@media(max-width:767px){
  body.home #cases{scroll-margin-top:60px;}
}

/* Approved 10% smaller mobile navigation: typography, panel and controls.
   Tablet/desktop stay unchanged. Keep the slide-in and focus rules intact. */
@media(max-width:767px){
  #smartcut-menu > .close-menu-button-container{
    top:10.8px!important;
    right:12.6px!important;
  }
  #smartcut-menu > .close-menu-button-container > .toggle-menu,
  #smartcut-menu > .close-menu-button-container svg{
    width:27px!important;
    height:27px!important;
  }
  #smartcut-menu.sidebar-menu-container > ul > li{
    padding:1.8px 0!important;
  }
  #smartcut-menu.sidebar-menu-container ul a[href="https://www.linkedin.com/company/smartcut-consulting/"]::before{
    width:27px!important;
    height:27px!important;
  }
}


/* Mobile Safari/Chromium: preserve the fixed logo/header across same-origin
   document navigations. Without a cross-document snapshot, every page load
   repaints the SVG and briefly flashes an empty header. No motion or crossfade
   is added: the header remains visually stationary while pages change. */
@media(max-width:767px){
  @view-transition{navigation:auto}
  body > .header{
    view-transition-name:smartcut-mobile-persistent-header;
    transition:none!important;
  }
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-old(smartcut-mobile-persistent-header),
  ::view-transition-new(smartcut-mobile-persistent-header){
    animation:none!important;
  }
}

/* Mobile Safari: suppress snapshot-group geometry animations as well as
   snapshot fades during cross-document navigation. With Safari's dynamic
   bottom toolbar, even a non-fading root image can briefly resize/reposition
   unless the root and persistent-header view-transition groups are fixed.
   Keep the previously approved persistent header and no-fade snapshots. */
@media(max-width:767px){
  ::view-transition{
    background:#fff;
  }
  ::view-transition-group(root),
  ::view-transition-group(smartcut-mobile-persistent-header),
  ::view-transition-image-pair(root),
  ::view-transition-image-pair(smartcut-mobile-persistent-header){
    animation:none!important;
  }
}

/* Mobile homepage Cases heading: 64px above instead of the shared 80px;
   preserve the approved 56px spacing before the project tiles. */
@media(max-width:767px){
  body.home .content-container.success-stories-heading > .project-container{
    padding-top:64px!important;
  }
}

/* Homepage editorial-to-offer rhythm: consistent compact whitespace on all devices.
   The same clear gap separates intro → first trio → highlighted Agentic intro
   → second trio → highlighted Kaufmaschinen note. Keep card alignment intact. */
@media(min-width:992px){
  body.home .homepage-unified-copy > p:has(+ .homepage-offers-grid){
    margin-bottom:0!important;
  }
  body.home .homepage-offers-grid{
    margin-top:30px!important;
    margin-bottom:0!important;
  }
  body.home .homepage-agentic-intro{
    margin-top:18px!important;
  }
  body.home .homepage-agentic-offers-grid{
    margin-top:30px!important;
    margin-bottom:18px!important;
  }
}
@media(min-width:768px) and (max-width:991px){
  body.home .homepage-unified-copy > p:has(+ .homepage-offers-grid){
    margin-bottom:0!important;
  }
  body.home .homepage-offers-grid{
    margin-top:26px!important;
    margin-bottom:0!important;
  }
  body.home .homepage-agentic-intro{
    margin-top:16px!important;
  }
  body.home .homepage-agentic-offers-grid{
    margin-top:26px!important;
    margin-bottom:16px!important;
  }
}
@media(max-width:767px){
  body.home .homepage-offers-grid > .homepage-offer:first-child > p{
    margin-top:24px!important;
  }
  body.home .homepage-agentic-intro{
    margin-top:16px!important;
  }
  body.home .homepage-agentic-offers-grid{
    margin-top:24px!important;
    margin-bottom:16px!important;
    gap:24px!important;
  }
  body.home .homepage-agentic-offers-grid > .homepage-agentic-offer{
    padding:0!important;
  }
}

/* Mobile homepage only: match the vertical rhythm of the original three
   service modules and keep descriptions directly beneath their headings. */
@media(max-width:767px){
  body.home .homepage-offers-grid > .homepage-offer:first-child > p{
    margin-top:32px!important;
  }
  body.home .homepage-agentic-offers-grid{
    margin-top:32px!important;
    gap:32px!important;
  }
  body.home .homepage-agentic-offers-grid .homepage-service-heading{
    display:inline!important;
    margin-bottom:0!important;
    font-size:inherit!important;
    line-height:inherit!important;
  }
}

/* Desktop homepage: bring descriptions under the first three service headings
   as close as in the Agentic offers. Tablet and mobile remain unchanged. */
@media(min-width:992px){
  body.home .homepage-offers-grid .homepage-service-heading{
    margin-bottom:10px!important;
  }
}

/* Mobile homepage: a clear pause between the final Agentic strategy copy and «Übrigens». */
@media(max-width:767px){
  body.home .homepage-agentic-offers-grid{
    margin-bottom:32px!important;
  }
}

/* Align the Vorteile eyebrow with the FAQ eyebrow at the same viewport.
   Measured browser discrepancy: +2px down everywhere, +2.5px right >=768px. */
body.page-id-1539 main#main-content > .contact-container:first-child .content > h4{
  position:relative;
  top:-2px;
}
@media (min-width:768px){
  body.page-id-1539 main#main-content > .contact-container:first-child .content > h4{
    left:-1px!important;
  }
}

/* Aktuell: approved white / light-grey alternating editorial articles.
   Scope to this listing only; article detail pages and other sections stay unchanged. */
body.page-id-281 main#main-content > .thoughts-container > .thought-container:nth-child(odd){
  background-color:#fff!important;
}
body.page-id-281 main#main-content > .thoughts-container > .thought-container:nth-child(even){
  background-color:#d9dadc!important;
}

/* Match the first Vorteile headline's browser coordinates to FAQ precisely.
   Measured offsets: 2px down at all widths; 2.5px right from 768px up. */
body.page-id-1539 main#main-content > .contact-container:first-child .content > h3{
  position:relative;
  top:-2px!important;
}
@media(min-width:768px){
  body.page-id-1539 main#main-content > .contact-container:first-child .content > h3{
    left:-2.5px!important;
  }
}

/* Aktuell article previews: retain original short wording on mobile,
   show the original article introductions on tablet and desktop. */
body.page-id-281 .news-teaser-long{display:none}
@media(min-width:768px){
  body.page-id-281 .news-teaser-short{display:none}
  body.page-id-281 .news-teaser-long{display:inline}
}

/* Mobile: slightly more breathing room before Agentic Commerce Readiness. */
@media(max-width:767px){
  body.home .homepage-agentic-offers-grid{
    margin-top:34px!important;
  }
}

/* Contact page: reuse the homepage two-row logo carousel at each breakpoint. */
body:is(.page-id-274,.client-references-page) .contact-client-heading .project-container {
  background:#fff!important; padding-top:34px!important; padding-bottom:48px!important;
  min-height:0!important;
}
body:is(.page-id-274,.client-references-page) .contact-client-heading h3 { margin:0!important; text-align:center; }
body:is(.page-id-274,.client-references-page) .contact-client-logos {position:relative; overflow:hidden!important;}
body:is(.page-id-274,.client-references-page) .contact-client-logos .clients-icons {overflow:hidden!important;touch-action:pan-y!important;overscroll-behavior-x:auto;}
body:is(.page-id-274,.client-references-page) .contact-client-logos .clients-icons > .row {
  display:grid!important;grid-auto-flow:column!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;
  gap:0!important;width:max-content!important;max-width:none!important;overflow:visible!important;
  transform:translate3d(0,0,0);animation:none!important;will-change:transform;
  user-select:none;-webkit-user-select:none;
}
body:is(.page-id-274,.client-references-page) .contact-client-logos .clients-icons > .row > .client-icon:nth-child(even) {position:relative;left:50%;}
body:is(.page-id-274,.client-references-page) .contact-client-logos .client-icon {border:0.5px solid #edf0f1!important;}
body:is(.page-id-274,.client-references-page) .contact-client-logos .client-icon img,
body:is(.page-id-274,.client-references-page) .contact-client-logos .client-icon:hover img {filter:none!important;-webkit-filter:none!important;}
@media(max-width:767px){
  body:is(.page-id-274,.client-references-page) .contact-client-heading {height:auto!important;min-height:0!important;}
  body:is(.page-id-274,.client-references-page) .contact-client-heading h3 {font-size:25px!important;line-height:1.22!important;}
  body:is(.page-id-274,.client-references-page) .contact-client-logos.desktop-off .clients-icons > .row {grid-auto-columns:33.333333vw!important;}
  body:is(.page-id-274,.client-references-page) .contact-client-logos.desktop-off .client-icon {
    width:33.333333vw!important;max-width:33.333333vw!important;min-width:0!important;
  }
}
@media(min-width:768px){
  body:is(.page-id-274,.client-references-page) .contact-client-logos.desktop-on .clients-icons > .row {
    grid-auto-columns:clamp(125px,16.666667vw,240px)!important;
  }
  body:is(.page-id-274,.client-references-page) .contact-client-logos.desktop-on .client-icon {
    flex:none!important;width:clamp(125px,16.666667vw,240px)!important;
    max-width:clamp(125px,16.666667vw,240px)!important;min-width:0!important;
  }
}

/* Contact page only: remove inherited viewport-height gap before the clients.
   The visual gap is now controlled explicitly by the contact section and
   the client heading rather than by a full-height main wrapper. */
body.page-id-274 main#main-content.content-container {
  min-height:0!important;
  height:auto!important;
}
body.page-id-274 main#main-content > .contact-container {
  padding-bottom:30px!important;
}
@media(max-width:767px){
  body.page-id-274 main#main-content > .contact-container {
    padding-bottom:24px!important;
  }
  body:is(.page-id-274,.client-references-page) .contact-client-heading .project-container {
    padding-top:24px!important;
    padding-bottom:40px!important;
  }
}

/* Contact: one consistent transition from the final email button to the
   client-reference heading on phone, tablet and desktop. Remove incidental
   margins and viewport sizing rather than applying positional offsets. */
body:is(.page-id-274,.client-references-page) .contact-client-heading {
  min-height:0!important;
  height:auto!important;
  margin-top:0!important;
}
body.page-id-274 main#main-content .btn-container {
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body.page-id-274 main#main-content .btn-container > .btn-default:last-child {
  margin-bottom:0!important;
}
body.page-id-274 main#main-content > .contact-container {
  padding-bottom:18px!important;
}
body:is(.page-id-274,.client-references-page) .contact-client-heading .project-container {
  padding-top:34px!important;
}
@media(max-width:767px){
  body.page-id-274 main#main-content > .contact-container {
    padding-bottom:16px!important;
  }
  body:is(.page-id-274,.client-references-page) .contact-client-heading .project-container {
    padding-top:32px!important;
  }
}

/* EngstligenAlp: use the same tile ratio as the established logo images.
   Centre the wordmark in both axes with balanced 65% optical width. */
body:is(.home,.page-id-274,.client-references-page) .clients-wrapper .client-icon img[src$="/EngstligenAlp.png"],
body:is(.home,.page-id-274,.client-references-page) .clients-wrapper .client-icon:hover img[src$="/EngstligenAlp.png"]{
  width:100%!important;
  height:auto!important;
  aspect-ratio:625 / 585!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  padding:0 17.5%!important;
  object-fit:contain!important;
  filter:brightness(0) opacity(.78)!important;
  -webkit-filter:brightness(0) opacity(.78)!important;
}

/* Academy: display only the portrait portion of the original JPG.
   Its baked-in 116px grey caption strip is cropped, not overpainted.
   The original portrait halves keep their existing arrival animations.
   Real HTML captions sit directly on the section's light-grey background. */
body.page-id-8961 .academy-editorial-copy > .academy-duo-image{
  aspect-ratio:700/465!important;
  margin-bottom:0!important;
  position:static;
  isolation:auto;
}
body.page-id-8961 .academy-editorial-copy > .academy-duo-image::after{
  content:none!important;
}
body.page-id-8961 .academy-editorial-copy > .academy-duo-image > .academy-duo-half{
  background-image:url("/fidelity/assets/files/Spock_Homer_4b-11767f8d669adb.jpg")!important;
  background-size:200% 124.94623656%!important;
  background-repeat:no-repeat!important;
  background-blend-mode:normal!important;
}
body.page-id-8961 .academy-editorial-copy > .academy-duo-image > .academy-duo-spock{
  background-position:left top!important;
}
body.page-id-8961 .academy-editorial-copy > .academy-duo-image > .academy-duo-homer{
  background-position:right top!important;
}
body.page-id-8961 .academy-editorial-copy > .academy-duo-captions{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  max-width:700px;
  width:100%;
  margin:0 auto 20px!important;
  padding:16px 0 29px;
  background:#fff!important;
}
body.page-id-8961 .academy-duo-caption{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  font-family:Lato,sans-serif;
  font-size:clamp(12px,2.857vw,20px);
  font-weight:400;
  line-height:1.4;
  color:#161616;
}
/* Mobile Academy headings: same document-flow geometry as the Chief
   Behavioral Officer page. No relative offsets or entering animations
   may alter the position after initial layout. */
@media(max-width:767px){
  body.page-id-8961 main#main-content > .contact-container:first-child .content > :is(h4,h3){
    position:static!important;
    inset:auto!important;
    transform:none!important;
    translate:none!important;
    animation:none!important;
    transition:none!important;
  }
}

/* Match the Book page's 1.5px relative eyebrow offset precisely.
   The heading remains in normal flow; no moving animation is allowed. */
@media(max-width:767px){
  body.page-id-8961 main#main-content > .contact-container:first-child .content > h4{
    position:relative!important;
    left:1.5px!important;
    top:auto!important;
  }
}

/* Unified compact transition beneath the final editorial Contact button
   (Book, FAQ, Academy) and the final article (Aktuell).
   Two adjacent 40px bands create one 80px section transition on all devices.
   Contact and Ihre Vorteile retain their existing approved spacing. */
body:is(.page-id-7242,.page-id-9194,.page-id-8961)
  main#main-content > .contact-container:first-child{
  padding-bottom:40px!important;
  min-height:0!important;
  height:auto!important;
}
body:is(.page-id-7242,.page-id-9194,.page-id-8961)
  main#main-content > .contact-container:first-child
  :is(.book-editorial-copy,.faq-editorial-copy,.academy-editorial-copy) > p:last-child{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body:is(.page-id-7242,.page-id-9194,.page-id-8961)
  main#main-content > .contact-container:first-child
  :is(.book-editorial-copy,.faq-editorial-copy,.academy-editorial-copy)
  > p:last-child > .btn-default{
  margin-bottom:0!important;
  vertical-align:bottom!important;
}
body:is(.page-id-7242,.page-id-9194)
  main#main-content + .content-container.offers-none > .project-container{
  padding-top:40px!important;
}
body.page-id-8961 main#main-content + .contact-client-heading > .project-container{
  padding-top:40px!important;
}
body.page-id-281 main#main-content > .thoughts-container > .thought-container:last-child{
  padding-bottom:40px!important;
}
body.page-id-281 main#main-content + .contact-client-heading > .project-container{
  padding-top:40px!important;
}

/* Aktuell: the closing article is a full-width article card, not a CTA.
   Remove inherited viewport-height and gap artefacts and measure the
   visible transition from the last card's inner row to the logo heading. */
body.page-id-281 main#main-content{
  min-height:0!important;
  height:auto!important;
  padding-bottom:0!important;
}
body.page-id-281 main#main-content > .thoughts-container{
  margin-bottom:0!important;
  padding-bottom:0!important;
}
body.page-id-281 main#main-content > .thoughts-container > .thought-container:last-child{
  min-height:0!important;
  margin-bottom:0!important;
  padding-bottom:40px!important;
}
body.page-id-281 main#main-content + .contact-client-heading{
  min-height:0!important;
  height:auto!important;
  margin-top:0!important;
  padding-top:0!important;
}
body.page-id-281 main#main-content + .contact-client-heading > .project-container{
  min-height:0!important;
  margin-top:0!important;
  padding-top:40px!important;
}

/* Aktuell: the desktop/tablet logo heading is NOT an adjacent sibling
   of main: the hidden mobile heading and logo strip lie between them
   in document order. Target both responsive headings by class instead. */
body.page-id-281 .contact-client-heading{
  min-height:0!important;
  height:auto!important;
  margin-top:0!important;
  padding-top:0!important;
}
body.page-id-281 .contact-client-heading > .project-container{
  min-height:0!important;
  height:auto!important;
  margin-top:0!important;
  padding-top:40px!important;
}

/* Aktuell mobile specificity: retain the legacy adjacent-sibling selector in the
   final override so the approved 60px wins on mobile as well as tablet/desktop. */
/* Aktuell only: increase the optical break before the customer-logo heading.
   Keep other pages at the previously approved 40+40px. */
body.page-id-281 main#main-content > .thoughts-container > .thought-container:last-child{
  padding-bottom:60px!important;
}
body.page-id-281 .contact-client-heading > .project-container,
body.page-id-281 main#main-content + .contact-client-heading > .project-container{
  padding-top:60px!important;
}
/* Aktuell desktop: slightly larger gap directly before the client-logo headline. */
@media(min-width:1200px){
  body.page-id-281 .contact-client-heading.desktop-on > .project-container{
    padding-top:70px!important;
  }
}
/* Aktuell tablet: increase space before the customer-logo headline only. */
@media(min-width:768px) and (max-width:1199px){
  body.page-id-281 .contact-client-heading.desktop-on > .project-container{
    padding-top:90px!important;
  }
}
/* Academy mobile: restore eyebrow and headline in the same structural position
   as the Chief Behavioral Officer page. Shared layout rules determine their geometry. */
