/* Djam Djoudi · translucent UI system · 2026-11
   Deliberately layered after site.css to retain existing responsive/content logic. */
:root{
  --glass-stroke:rgba(255,255,255,.65);
  --glass-fill:rgba(255,255,255,.68);
  --glass-soft:rgba(255,255,255,.40);
  --glass-shadow:0 18px 52px rgba(14,42,66,.105),0 2px 8px rgba(14,42,66,.045);
  --glass-text:#132e43;
}
html{scroll-padding-top:95px}
body{transition:background-color .27s ease,color .27s ease}
/* Single-row masthead: navy replaces the disconnected, bright-blue ribbon. */
.site-header.site-header-campaign{isolation:isolate!important;background:transparent!important}
.site-header-campaign .top-strip{
  min-height:83px!important;
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  gap:clamp(12px,2vw,28px)!important;padding:0 clamp(20px,3vw,48px)!important;
  background:linear-gradient(112deg,#0d2840 0%,#123b59 54%,#164c70 100%)!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.10),0 12px 34px rgba(8,31,49,.09)!important;
}
.site-header-campaign.is-scrolled .top-strip{box-shadow:inset 0 -1px 0 rgba(255,255,255,.10),0 12px 35px rgba(8,31,49,.23)!important}
.site-header-campaign .top-strip .brand{flex:0 0 auto!important;white-space:nowrap!important;max-width:none!important}
.site-header-campaign .top-strip .brand-mark{width:43px!important;height:40px!important}
.site-header-campaign .top-strip .brand-name{font-weight:760!important;font-size:15px!important;letter-spacing:.005em!important}
.site-header-campaign .top-strip .nav-shell.nav-ribbon-shell{
  display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:center!important;
  width:auto!important;max-width:none!important;min-width:0!important;height:100%!important;min-height:0!important;
  padding:0!important;margin:0!important;background:transparent!important;border:0!important;
  box-shadow:none!important;border-radius:0!important;
}
.site-header-campaign .desktop-nav.desktop-nav-ribbon{display:flex!important;justify-content:center!important;align-items:center!important;gap:clamp(2px,.55vw,8px)!important;width:auto!important}
.site-header-campaign .desktop-nav.desktop-nav-ribbon a{
  position:relative!important;padding:12px clamp(9px,.95vw,16px)!important;
  border:1px solid transparent!important;border-radius:999px!important;
  color:rgba(255,255,255,.86)!important;font-size:clamp(12px,1.05vw,14px)!important;
  font-weight:590!important;letter-spacing:-.012em!important;white-space:nowrap!important;
  transition:background .22s,border-color .22s,color .22s,box-shadow .22s!important;
}
.site-header-campaign .desktop-nav.desktop-nav-ribbon a:hover,
.site-header-campaign .desktop-nav.desktop-nav-ribbon a:focus-visible{
  color:#fff!important;background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.20)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10)!important;
}
.site-header-campaign .desktop-nav.desktop-nav-ribbon a:after{display:none!important}
.site-header-campaign .top-strip-actions{flex:0 0 auto!important;gap:8px!important}
.site-header-campaign .top-strip .lang-switch a,
.site-header-campaign .top-strip .top-strip-link{
  background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.19)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.11)!important;
  backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);
}
.site-header-campaign .top-strip .lang-switch a.active{background:rgba(255,255,255,.92)!important;color:#123751!important;border-color:rgba(255,255,255,.85)!important}
.theme-switch{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;flex:none;
  min-width:41px;min-height:41px;padding:0 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.13);color:#fff;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.18),0 4px 14px rgba(0,0,0,.06);
  backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);
  cursor:pointer;transition:background .2s,transform .2s,border-color .2s;
}
.theme-switch:hover{background:rgba(255,255,255,.23);transform:translateY(-1px)}
.theme-switch:focus-visible{outline:3px solid #8fdbff;outline-offset:3px}
.theme-switch .theme-icon-moon,.theme-switch .theme-icon-sun{font:normal 23px/1 Georgia,serif;min-width:20px;text-align:center}
.theme-switch .theme-icon-sun{display:none}
html[data-ui-theme="dark"] .theme-switch .theme-icon-moon{display:none}
html[data-ui-theme="dark"] .theme-switch .theme-icon-sun{display:inline}
.theme-switch-mobile{display:none}
/* Repeated small UI: frosted dot navigation, with tactile accessible hit areas. */
.hero-media.hero-media-campaign .hero-slider-dots{
  z-index:6!important;display:flex!important;align-items:center!important;gap:0!important;
  right:20px!important;bottom:18px!important;padding:6px 8px!important;
  border:1px solid rgba(255,255,255,.38)!important;border-radius:999px!important;
  background:rgba(232,244,255,.22)!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.3),0 8px 24px rgba(7,28,44,.16)!important;
  backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);
}
.hero-media.hero-media-campaign .hero-slider-dots button{
  position:relative!important;width:21px!important;height:23px!important;min-width:21px!important;
  padding:0!important;border:0!important;border-radius:999px!important;
  background:transparent!important;box-shadow:none!important;
  display:grid!important;place-items:center!important;transition:transform .18s!important;
}
.hero-media.hero-media-campaign .hero-slider-dots button:before{
  content:"";display:block;width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.70);
  box-shadow:0 1px 2px rgba(0,0,0,.18);transition:background .18s,transform .18s;
}
.hero-media.hero-media-campaign .hero-slider-dots button.is-active:before{background:#fff;transform:scale(1.32);box-shadow:0 0 0 3px rgba(255,255,255,.15)}
.hero-media.hero-media-campaign .hero-slider-dots button:hover:before{background:#fff;transform:scale(1.22)}
.hero-media.hero-media-campaign .hero-slider-dots button:focus-visible{outline:2px solid #fff;outline-offset:1px}
/* Translucent cards and fields. Strokes rather than heavy outlines. */
.home-page .med-hero.campaign-hero,
.inner-hero-home-style{background:linear-gradient(135deg,rgba(255,255,255,.91),rgba(240,246,253,.72))!important}
.home-page .med-hero.campaign-hero{border-bottom:1px solid rgba(37,75,101,.08)}
.home-page .med-hero.campaign-hero .hero-image-wrap.prime-hero-image,
.inner-hero-home-style .inner-hero-media{box-shadow:0 22px 56px rgba(14,42,66,.14),inset 0 1px 0 rgba(255,255,255,.65)!important;border-color:rgba(255,255,255,.52)!important}
.profile-tabs,.profile-panels,.knowledge-media,.knowledge-list,.faq-list details,.focus-card,.video-card,.knowledge-topic-card,
.article-index-card,.article-card,.inner-hero-home-style{
  border-color:rgba(125,161,185,.19)!important;
}
.profile-tabs,.profile-panels,.faq-list details,.focus-card,.video-card,.knowledge-topic-card,.article-index-card,.article-card{
  background:var(--glass-fill);box-shadow:var(--glass-shadow);
  backdrop-filter:blur(16px) saturate(120%);-webkit-backdrop-filter:blur(16px) saturate(120%);
}
.home-page .about-section,.home-page .focus-section,.home-page .knowledge-preview,.home-page .faq-section{position:relative;isolation:isolate}
.home-page .focus-section,.home-page .knowledge-preview{background:linear-gradient(125deg,#edf5fb 0%,#f5f8fc 60%,#e8f1f9 100%)!important}
.home-page .prime-service-row{border-radius:16px!important;padding:19px 18px!important;margin:4px -18px!important;transition:background .22s,box-shadow .22s,transform .22s!important}
.home-page .prime-service-row:hover{background:rgba(255,255,255,.66)!important;padding-left:18px!important;transform:translateY(-2px);box-shadow:0 12px 28px rgba(14,42,66,.075)}
.home-page .knowledge-list a{border-bottom-color:rgba(31,81,113,.17)!important}
.home-page .faq-list details{padding:2px 20px;margin-bottom:10px;border:1px solid rgba(70,113,143,.15)!important;border-radius:17px!important}
.home-page .faq-list details[open]{box-shadow:0 16px 38px rgba(16,62,96,.10)}
.primary-btn,.secondary-btn,.outline-btn{border-radius:999px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 8px 22px rgba(11,51,82,.09)}
.hero-actions .secondary-btn{background:rgba(255,255,255,.74)!important;backdrop-filter:blur(16px)}
/* Dark appearance: deliberate navy surfaces with legible typography. */
html[data-ui-theme="dark"]{--paper:#0b1522;--white:#142438;--ink:#eaf1f7;--muted:#b2c2cf;--line:#304456;--black:#edf3f8;--blue-soft:#172a3d;--sky:#213348;--mint:#1c3442;--sand:#172838;--glass-fill:rgba(31,47,65,.79);--glass-soft:rgba(32,49,68,.70);--glass-stroke:rgba(194,219,238,.15);--glass-shadow:0 18px 58px rgba(0,0,0,.23);--glass-text:#eaf1f7;color-scheme:dark}
html[data-ui-theme="dark"] body{background:#0b1522!important;color:#edf3f8!important}
html[data-ui-theme="dark"] .site-header-campaign .top-strip{background:linear-gradient(112deg,#081624,#102b43 52%,#153850 100%)!important}
html[data-ui-theme="dark"] .home-page .med-hero.campaign-hero,
html[data-ui-theme="dark"] .inner-hero-home-style{background:linear-gradient(135deg,#112235,#152a40)!important}
html[data-ui-theme="dark"] .home-page .focus-section,
html[data-ui-theme="dark"] .home-page .knowledge-preview,
html[data-ui-theme="dark"] .knowledge-page .knowledge-cards-section,
html[data-ui-theme="dark"] .videos-page .video-library.section{background:linear-gradient(130deg,#101f31,#192e43)!important}
html[data-ui-theme="dark"] .about-section,
html[data-ui-theme="dark"] .faq-section,
html[data-ui-theme="dark"] .knowledge-compact.section{background:#0e1b2b!important}
html[data-ui-theme="dark"] .profile-tabs,
html[data-ui-theme="dark"] .profile-panels,
html[data-ui-theme="dark"] .faq-list details,
html[data-ui-theme="dark"] .focus-card,
html[data-ui-theme="dark"] .video-card,
html[data-ui-theme="dark"] .knowledge-topic-card,
html[data-ui-theme="dark"] .article-index-card,
html[data-ui-theme="dark"] .article-card{background:rgba(30,46,64,.78)!important;border-color:rgba(194,219,238,.15)!important;box-shadow:var(--glass-shadow)}
html[data-ui-theme="dark"] .home-page .prime-service-row:hover{background:rgba(255,255,255,.055)!important}
html[data-ui-theme="dark"] .home-page .faq-list details{border-color:rgba(194,219,238,.15)!important}
html[data-ui-theme="dark"] .hero-copy h1,
html[data-ui-theme="dark"] .med-hero.campaign-hero .hero-copy h1,
html[data-ui-theme="dark"] .med-hero.campaign-hero .hero-copy h1 em,
html[data-ui-theme="dark"] .inner-hero-home-style h1,
html[data-ui-theme="dark"] .section-heading h2,
html[data-ui-theme="dark"] .about-copy h2,
html[data-ui-theme="dark"] .knowledge-copy h2,
html[data-ui-theme="dark"] .faq-heading h2,
html[data-ui-theme="dark"] .prime-service-row h3,
html[data-ui-theme="dark"] .prime-service-row p,
html[data-ui-theme="dark"] .knowledge-list a strong,
html[data-ui-theme="dark"] .faq-list summary,
html[data-ui-theme="dark"] .faq-list details p,
html[data-ui-theme="dark"] .hero-lead,
html[data-ui-theme="dark"] .about-copy .large-copy,
html[data-ui-theme="dark"] .knowledge-copy p,
html[data-ui-theme="dark"] .section-heading p,
html[data-ui-theme="dark"] .inner-hero-home-style>div:first-child>p{color:#edf3f8!important}
html[data-ui-theme="dark"] .med-hero.campaign-hero .hero-lead,
html[data-ui-theme="dark"] .knowledge-list a>span,
html[data-ui-theme="dark"] .section-label{color:#a9d5ef!important}
html[data-ui-theme="dark"] .med-hero.campaign-hero .hero-actions .secondary-btn{background:rgba(38,58,77,.88)!important;border-color:rgba(194,219,238,.22)!important;color:#f0f7fc!important}
html[data-ui-theme="dark"] .med-hero.campaign-hero .hero-actions .primary-btn{background:#2d7fbb!important}
html[data-ui-theme="dark"] .profile-tab{color:#d8e8f3!important}
html[data-ui-theme="dark"] .profile-tab.is-active{background:#294c68!important;color:#fff!important}
html[data-ui-theme="dark"] .profile-panel p{color:#d8e4ec!important}
html[data-ui-theme="dark"] .inner-hero-home-style .section-label{background:rgba(255,255,255,.1)!important;color:#b7dffc!important}
html[data-ui-theme="dark"] .inner-hero-home-style .inner-hero-media{border-color:rgba(255,255,255,.14)!important}
html[data-ui-theme="dark"] .mobile-menu{background:#111f2e!important}
html[data-ui-theme="dark"] .mobile-menu-top{background:rgba(17,31,46,.94)!important}
html[data-ui-theme="dark"] .mobile-menu nav span,
html[data-ui-theme="dark"] .mobile-menu-top .brand-name{color:#e9f2f8!important}
html[data-ui-theme="dark"] .mobile-menu-top button{background:#29445b!important;color:#fff!important}
html[data-ui-theme="dark"] .mobile-language a{background:#1b3348!important;color:#ecf5fb!important}
html[data-ui-theme="dark"] .mobile-language a.active{background:#377ca8!important;color:#fff!important}
@media(max-width:1200px){
  .site-header-campaign .top-strip{min-height:68px!important;padding:0 16px!important}
  .site-header-campaign .top-strip .nav-shell.nav-ribbon-shell,
  .site-header-campaign .desktop-nav.desktop-nav-ribbon{display:none!important}
  .site-header-campaign .top-strip .menu-button{display:block!important}
  .site-header-campaign .top-strip .top-strip-email{display:none!important}
}
@media(max-width:680px){
  .site-header-campaign .top-strip{min-height:64px!important}
  .site-header-campaign .top-strip .theme-switch-header{display:none!important}
  .theme-switch-mobile{display:inline-flex;gap:10px;min-height:44px;align-self:flex-start;margin:20px 0 0;padding:0 18px;background:rgba(25,65,96,.10);border:1px solid rgba(28,72,102,.20);color:#183c56}
  .theme-switch-mobile [data-theme-word]{font-size:12px;font-weight:700}
  html[data-ui-theme="dark"] .theme-switch-mobile{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.20);color:#f0f7fd}
  .hero-media.hero-media-campaign .hero-slider-dots{right:15px!important;bottom:13px!important}
  .home-page .faq-list details{padding:2px 14px}
}
@media(prefers-reduced-motion:reduce){.theme-switch,.prime-service-row,body{transition:none!important}}
/* Consistency for secondary public pages and mobile navigation. */
html[data-ui-theme="dark"] body.knowledge-page,
html[data-ui-theme="dark"] body.videos-page{background:#0b1522!important}
html[data-ui-theme="dark"] .knowledge-page .knowledge-cards-section{background:#101e30!important}
html[data-ui-theme="dark"] .knowledge-page .knowledge-topic-card,
html[data-ui-theme="dark"] .videos-page .video-card{background:rgba(30,46,64,.80)!important;border-color:rgba(194,219,238,.15)!important}
html[data-ui-theme="dark"] .video-card-body h2,
html[data-ui-theme="dark"] .video-card-body p,
html[data-ui-theme="dark"] .video-card-body a,
html[data-ui-theme="dark"] .knowledge-topic-card h3,
html[data-ui-theme="dark"] .knowledge-topic-card p{color:#e2eff8!important}
html[data-ui-theme="dark"] .mobile-menu-top .brand-mark{filter:brightness(0) invert(1)}
html[data-ui-theme="dark"] .mobile-menu-meta{color:#d3e0ed!important}


/* v6.0 refined theme icon */
.theme-switch .theme-icon{display:inline-flex;align-items:center;justify-content:center}
.theme-switch .theme-icon-svg{width:18px;height:18px;display:block}
.theme-switch .theme-icon-moon,.theme-switch .theme-icon-sun{font:inherit;min-width:18px}
.theme-switch .theme-icon-sun{display:none}
html[data-ui-theme="dark"] .theme-switch .theme-icon-moon{display:none}
html[data-ui-theme="dark"] .theme-switch .theme-icon-sun{display:inline-flex}



/* Responsive refinement · 2026-11-16. Applied after site.css and glass theme.
   Content-first mobile layout, consistent image ratios and compact section navigation. */
.home-page .knowledge-preview.section,
.home-page .knowledge-preview .knowledge-copy,
.home-page .knowledge-preview .knowledge-media,
.home-page .about-section > *,
.home-page .prime-services-shell > *,
.inner-hero-home-style > * {min-width:0}

/* Preserve natural image ratios instead of stretching portrait uploads. */
.home-page .knowledge-preview .knowledge-media{overflow:hidden;border-radius:20px;min-width:0}
.home-page .knowledge-preview .knowledge-media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 38%}
.home-page .knowledge-preview .knowledge-copy h2{overflow-wrap:break-word;text-wrap:balance}
.home-page .knowledge-preview .knowledge-list a{min-width:0}
.home-page .knowledge-preview .knowledge-list strong{min-width:0;overflow-wrap:break-word;line-height:1.35}

/* The Wissen destination now reads like an editorial link, not a separate CTA. */
.home-page .knowledge-preview .knowledge-view-all-row{display:flex;justify-content:flex-end;margin-top:10px}
.home-page .knowledge-preview .knowledge-view-all{
  display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;
  max-width:100%;padding:8px 0 7px;text-decoration:none;
  border:0;border-bottom:1px solid currentColor;background:transparent;
  color:var(--blue);font-size:14px;font-weight:700;line-height:1.35;
  box-shadow:none;border-radius:0;transition:color .2s ease
}
.home-page .knowledge-preview .knowledge-view-all svg{display:block;flex:none;width:17px;height:17px;transition:transform .2s ease}
.home-page .knowledge-preview .knowledge-view-all:hover svg{transform:translate(3px,-3px)}
.home-page .knowledge-preview .knowledge-view-all:focus-visible{outline:2px solid currentColor;outline-offset:4px}
html[data-ui-theme="dark"] .home-page .knowledge-preview .knowledge-view-all{color:#a9d5ef}

/* The image surface still scrolls vertically with the page, but supports horizontal swipe. */
.home-page [data-hero-slider] .hero-image-wrap.hero-slider{
  touch-action:pan-y pinch-zoom;-webkit-user-select:none;user-select:none;cursor:grab
}
.home-page [data-hero-slider] .hero-image-wrap.hero-slider:active{cursor:grabbing}
.home-page [data-hero-slider] .hero-slide img{-webkit-user-drag:none;user-drag:none;pointer-events:none}
.home-page [data-hero-slider] .hero-slider-dots{touch-action:manipulation}
.home-page [data-hero-slider] .hero-slider-dots button{cursor:pointer}

/* Mid-size tablet: avoid two cramped columns and huge image blocks. */
@media(max-width:1024px){
  .home-page .knowledge-preview.section{grid-template-columns:minmax(0,1fr)!important;gap:24px!important}
  .home-page .knowledge-preview .knowledge-copy{width:100%;max-width:740px;margin:0 auto}
  .home-page .knowledge-preview .knowledge-media{width:100%;max-width:740px;margin:0 auto}
  .home-page .knowledge-preview .knowledge-media img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;max-height:410px;object-fit:cover!important}
  .home-page .knowledge-copy h2{font-size:clamp(36px,5vw,48px)!important;line-height:1.09!important;letter-spacing:-.04em!important}
  .inner-hero-home-style .inner-hero-media{max-width:760px!important;max-height:460px!important;aspect-ratio:16/10!important;margin-inline:auto}
  .inner-hero-home-style .inner-hero-media img{width:100%;height:100%;object-fit:cover}
}

@media(max-width:760px){
  .home-page .knowledge-preview.section{padding-top:42px!important;padding-bottom:46px!important;gap:20px!important}
  .home-page .knowledge-preview .knowledge-copy{max-width:640px!important}
  .home-page .knowledge-preview .knowledge-copy>p{
    display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;
    margin:12px 0 0!important;line-height:1.64!important;font-size:15px!important;
  }
  .home-page .knowledge-preview .knowledge-list{margin-top:16px!important;margin-bottom:8px!important}
  .home-page .knowledge-preview .knowledge-list a{
    grid-template-columns:78px minmax(0,1fr)!important;gap:12px!important;
    padding:13px 0!important;min-height:55px;
  }
  .home-page .knowledge-preview .knowledge-list a>span{font-size:11px!important;letter-spacing:.02em}
  .home-page .knowledge-preview .knowledge-list strong{font-size:15px!important;line-height:1.4!important}
  .home-page .knowledge-preview .knowledge-media{border-radius:16px!important}
  .home-page .knowledge-preview .knowledge-media img{aspect-ratio:16/10!important;max-height:320px!important}
  /* Crop tall portrait source imagery into intentional landscape compositions. */
  .home-page .about-section .about-media,
  .home-page .prime-service-media{width:100%;max-width:640px!important;margin-inline:auto;overflow:hidden}
  .home-page .about-section .about-media img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3!important;object-fit:cover!important;object-position:center 30%}
  .home-page .prime-service-media img{display:block;width:100%!important;height:auto!important;aspect-ratio:4/3!important;max-height:380px;object-fit:cover!important}
  .home-page .hero-image-wrap.prime-hero-image{max-height:540px}
  .knowledge-page .knowledge-compact-media{overflow:hidden;max-height:430px}
  .knowledge-page .knowledge-compact-media img{display:block;width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important}
  .knowledge-page .knowledge-topic-image{overflow:hidden}
  .knowledge-page .knowledge-topic-image img{object-fit:cover!important}
}

@media(max-width:520px){
  .home-page .knowledge-preview.section{padding:34px 18px 38px!important;gap:18px!important}
  .home-page .knowledge-preview .section-label{margin:0 0 12px!important;font-size:11px!important;letter-spacing:.12em!important}
  .home-page .knowledge-preview .knowledge-copy h2{
    font-size:clamp(29px,8.4vw,38px)!important;line-height:1.12!important;
    letter-spacing:-.043em!important;max-width:26ch;text-wrap:balance
  }
  .home-page .knowledge-preview .knowledge-copy>p{font-size:14px!important;line-height:1.58!important;margin-top:12px!important}
  .home-page .knowledge-preview .knowledge-list a{grid-template-columns:64px minmax(0,1fr)!important;gap:12px!important;padding:12px 0!important}
  .home-page .knowledge-preview .knowledge-list strong{font-size:14px!important}
  .home-page .knowledge-preview .knowledge-list a>span{font-size:11px!important}
  .home-page .knowledge-preview .knowledge-view-all-row{margin-top:6px}
  .home-page .knowledge-preview .knowledge-view-all{font-size:13px;padding:8px 0 6px}
  .home-page .knowledge-preview .knowledge-media img{aspect-ratio:16/10!important;max-height:260px!important}
  .home-page .about-section .about-media img{aspect-ratio:4/3!important;max-height:310px!important}
  .home-page .prime-service-media img{aspect-ratio:4/3!important;max-height:310px!important}
  .home-page .hero-media.hero-media-campaign .hero-image-wrap.prime-hero-image{aspect-ratio:5/4!important}
  .home-page .hero-media.hero-media-campaign .hero-slider-dots{bottom:12px!important;right:12px!important}
  .inner-hero-home-style{gap:18px!important;padding:22px 16px!important}
  .inner-hero-home-style h1{font-size:clamp(30px,8.9vw,44px)!important;line-height:1.1!important;overflow-wrap:break-word}
  .inner-hero-home-style>div:first-child>p{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;font-size:14px!important;line-height:1.6!important;margin:13px 0 0!important}
  .inner-hero-home-style .inner-hero-media{width:100%!important;aspect-ratio:16/10!important;max-height:260px!important;border-width:4px!important;border-radius:16px!important}
  .knowledge-page .knowledge-compact.section{padding:18px!important;gap:18px!important}
  .knowledge-page .knowledge-compact-copy h2{font-size:clamp(27px,7.5vw,38px)!important;line-height:1.13!important}
  .knowledge-page .knowledge-compact-media{max-height:260px!important;border-radius:14px!important}
  .knowledge-page .knowledge-topic-copy{padding:18px!important}
  .knowledge-page .knowledge-topic-copy strong{font-size:20px!important;line-height:1.25!important}
  .knowledge-page .knowledge-cards-section{padding-top:32px!important}
  .knowledge-page .knowledge-cards-section .section-heading{margin-bottom:20px!important}
  .knowledge-page .knowledge-topic-grid{gap:14px!important;margin-top:14px!important}
}
@media(max-width:360px){
  .home-page .knowledge-preview.section{padding-left:14px!important;padding-right:14px!important}
  .home-page .knowledge-preview .knowledge-copy h2{font-size:clamp(28px,8.3vw,31px)!important}
  .home-page .knowledge-preview .knowledge-list a{grid-template-columns:57px minmax(0,1fr)!important;gap:10px!important}
  .home-page .hero-media.hero-media-campaign .hero-image-wrap.prime-hero-image{aspect-ratio:1.2!important}
}
@media(min-width:1025px){
  .home-page .knowledge-preview.section{column-gap:clamp(36px,4.6vw,72px)!important}
  .home-page .knowledge-preview .knowledge-media img{max-height:550px;object-fit:cover!important}
}
@media(prefers-reduced-motion:reduce){
  .home-page .knowledge-preview .knowledge-view-all svg{transition:none}
}


/* Final specificity repairs: legacy fixed widths and hero heights. */
@media(max-width:1024px){
  .home-page .hero-media.hero-media-campaign{
    height:auto!important;max-height:none!important;min-height:0!important;
    display:block!important;align-self:stretch!important;
  }
  .home-page .hero-media.hero-media-campaign .hero-image-wrap.prime-hero-image{
    width:100%!important;height:auto!important;min-height:0!important;
    aspect-ratio:16/9!important;max-height:520px!important;
  }
  .home-page .knowledge-preview .knowledge-media{
    width:100%!important;max-width:740px!important;
    justify-self:center!important;align-self:start!important;
  }
  .home-page .knowledge-preview .knowledge-media img{
    width:100%!important;max-width:100%!important;
  }
}
@media(max-width:760px){
  .home-page .hero-media.hero-media-campaign .hero-image-wrap.prime-hero-image{aspect-ratio:4/3!important;max-height:460px!important}
  .home-page .about-section.section{padding-top:44px!important}
}
@media(max-width:520px){
  .home-page .hero-media.hero-media-campaign .hero-image-wrap.prime-hero-image{aspect-ratio:5/4!important;max-height:360px!important}
  .home-page .knowledge-preview .knowledge-media{width:100%!important;max-width:none!important;justify-self:stretch!important}
  .home-page .about-section.section{padding-top:38px!important}
}
@media(min-width:1025px){
  .home-page .knowledge-preview .knowledge-media{
    width:100%!important;max-width:500px!important;
    justify-self:stretch!important;min-width:0!important;
  }
  .home-page .knowledge-preview .knowledge-media img{width:100%!important;height:auto!important;aspect-ratio:4/5!important;max-height:550px!important}
}


/* Keep the portrait subject visible on small screens instead of cropping the face. */
@media(max-width:520px){
 .home-page .knowledge-preview .knowledge-media img{
   aspect-ratio:4/3!important;max-height:320px!important;object-position:center 12%!important;
 }
}
