@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #e9eef5;
  --surface: #f7f9fd;
  --panel: #ffffff;
  --ink: #121922;
  --muted: #5c6978;
  --line: #d5dfea;
  --brand: #1b9be2;
  --brand-strong: #0a6fb1;
  --header-text: #ecf6ff;
  --font-ui: "Poppins", "Segoe UI", Tahoma, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-ui);
  background: #ffffff;
  color: var(--ink);
}

body,
button,
input,
select,
textarea,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
a,
span {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif !important;
}

html *,
*::before,
*::after {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mbr-section-title,
.card-title,
.display-1,
.display-2,
.display-4,
.display-5,
.display-7,
.mbr-fonts-style {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.mbr-section-title,
.card-title,
.display-1,
.display-2,
.display-4,
.display-5 {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

strong,
b {
  font-weight: 700 !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.2s ease;
}

.site-header.home {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.solid {
  background: rgba(11, 22, 35, 0.95);
  border-bottom: 1px solid rgba(176, 203, 228, 0.3);
  backdrop-filter: blur(8px);
}

.site-header.home.scrolled {
  background: rgba(11, 22, 35, 0.95);
  border-bottom: 1px solid rgba(176, 203, 228, 0.3);
  backdrop-filter: blur(8px);
}

.header-shell {
  width: 100%;
  margin: 0 auto;
  padding-inline: clamp(10px, 1.4vw, 28px);
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.2rem;
  transition: min-height 0.2s ease;
}

.site-header.home.scrolled .header-shell {
  min-height: 74px;
}

.brand {
  display: inline-flex;
  text-decoration: none;
}

.brand img {
  height: 72px;
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

.site-header.home.scrolled .brand img {
  height: 34px;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(202, 226, 245, 0.42);
  background: rgba(8, 20, 34, 0.75);
  color: var(--header-text);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.4rem 0.78rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  justify-self: center;
}

.top-link {
  text-decoration: none;
  color: var(--header-text);
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s ease;
}

.top-link:hover,
.top-link.active {
  background: transparent !important;
  color: #a8c6da;
}

.cta-link {
  border: 1px solid rgba(108, 204, 244, 0.72);
}

.nav-item {
  position: relative;
}

.dropdown-toggle::after {
  content: "";
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(9, 21, 34, 0.98);
  border: 1px solid rgba(182, 214, 239, 0.35);
  border-radius: 12px;
  padding: 0.45rem;
  z-index: 60;
}

.dropdown-link {
  display: block;
  text-decoration: none;
  color: #e8f5ff;
  font-size: 0.84rem;
  padding: 0.52rem 0.6rem;
  transition: color 0.18s ease;
}

.dropdown-link:hover {
  background: transparent !important;
  color: #a8c6da;
}

.nav-item.dropdown:hover .dropdown-panel,
.nav-item.dropdown:focus-within .dropdown-panel,
.nav-item.dropdown.open .dropdown-panel,
.dropdown-panel:hover {
  display: block;
}

.lang-link {
  text-decoration: none;
  font-size: 0.77rem;
  font-weight: 700;
  color: #c6e2f5;
  border: 1px solid rgba(197, 224, 244, 0.42);
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.lang-link.active {
  color: #f3feff;
  background: rgba(12, 117, 163, 0.65);
  border-color: rgba(97, 211, 255, 0.72);
}

.page-shell {
  width: min(1350px, 95vw);
  margin: 0 auto;
  padding-top: 0;
  padding-bottom: 2.2rem;
}

.page-shell.home {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0;
}

.hero-home {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  min-width: 100%;
  height: 56.25vw;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 72, 118, 0.45) 0%, rgba(8, 68, 115, 0.55) 100%),
    radial-gradient(circle at 84% 20%, rgba(42, 177, 255, 0.35) 0%, rgba(42, 177, 255, 0) 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 94vw);
  text-align: center;
  color: #f8fcff;
  animation: intro 0.7s ease;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9edffd;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 1rem auto 0;
  max-width: 1080px;
  color: #d5e9f8;
  font-size: clamp(0.96rem, 1.8vw, 1.1rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.78rem;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  min-width: 170px;
  padding: 0.82rem 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(145deg, #1ab2ed 0%, #0f85cb 100%);
  color: #f6feff;
  box-shadow: 0 14px 30px rgba(11, 131, 191, 0.38);
}

.btn-ghost {
  color: #f0fbff;
  border: 1px solid rgba(196, 226, 247, 0.7);
  background: rgba(10, 22, 35, 0.33);
}

.hero-page {
  margin-top: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0;
  border-radius: 0;
  background: linear-gradient(140deg, #0d84b8 0%, #0e7faa 50%, #0b769d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: clamp(7rem, 11vw, 9rem) 1rem clamp(2.1rem, 4vw, 3.4rem);
}

.hero-page-inner {
  width: min(1180px, 94vw);
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-page h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2.9vw, 2.45rem);
  line-height: 1.14;
  color: #ffffff;
}

.hero-page-graphic {
  position: absolute;
  right: max(2vw, 18px);
  bottom: max(8px, 1.2vw);
  width: clamp(120px, 15vw, 250px);
  height: auto;
  opacity: 0.32;
  pointer-events: none;
  filter: saturate(0) brightness(1.9);
}

.meta {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-shell {
  margin-top: 1rem;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: clamp(0.4rem, 1vw, 0.8rem);
}

.content-shell section {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 1.8rem;
  box-shadow: none;
}

.content-shell .card,
.content-shell .card-wrapper,
.content-shell .card-box {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.content-shell .card {
  padding: 0 !important;
}

.content-shell .card-img img {
  border-radius: 0 !important;
}

/* VR solution feature grid blocks (icon + heading + text, 2 columns) */
.content-shell .testimonials1 {
  margin-bottom: 1.4rem !important;
}

.content-shell .testimonials1 .container.pt-3.mt-2 {
  padding-top: 0.8rem !important;
  margin-top: 0 !important;
}

.content-shell .testimonials1 .media-container-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start;
}

.content-shell .testimonials1 .mbr-testimonial {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  margin-bottom: 1.4rem;
}

.content-shell .testimonials1 .panel-item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.6rem 1rem !important;
}

.content-shell .testimonials1 .card-block,
.content-shell .testimonials1 .card-footer,
.content-shell .testimonials1 .mbr-testimonial .p-3,
.content-shell .testimonials1 .mbr-testimonial .panel-item.p-3 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.content-shell .testimonials1 .card-footer {
  padding: 0 !important;
}

.content-shell .testimonials1 .testimonial-photo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 72px;
  margin-bottom: 0.7rem;
}

.content-shell .testimonials1 .testimonial-photo img {
  width: 174px;
  height: 174px;
  object-fit: contain;
  border-radius: 0 !important;
}

.content-shell .testimonials1 .card-block .mbr-text.display-5 {
  text-align: center !important;
  color: #5f6976 !important;
  font-size: 2rem !important;
  margin: 0.25rem 0 0.65rem !important;
}

.content-shell .testimonials1 .card-footer .mbr-author-name {
  text-align: center !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: #5f6976 !important;
  max-width: 620px;
  margin: 0 auto;
}

.content-shell.home-content {
  width: min(1180px, 92vw);
  margin: 1.4rem auto 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 0;
}

.content-shell.home-content section {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0 0 2.8rem;
}

.content-shell.home-content h1,
.content-shell.home-content h2,
.content-shell.home-content h3,
.content-shell.home-content h4,
.content-shell.home-content h5,
.content-shell.home-content h6 {
  color: #394451;
  font-weight: 700;
}

.content-shell.home-content p,
.content-shell.home-content li {
  color: #4f5b68;
}

/* Keep the original two-column comparison layout, but remove all card visuals */
.content-shell.home-content .row {
  row-gap: 1rem;
}

.content-shell.home-content .card,
.content-shell.home-content .card-wrapper,
.content-shell.home-content .card-box {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.content-shell.home-content .card {
  padding: 0 !important;
}

.content-shell.home-content .card-img {
  margin-bottom: 0.8rem;
}

.content-shell.home-content .card-img img {
  border-radius: 0 !important;
}

/* Force the benefits comparison block into two columns on desktop */
.content-shell.home-content .features2 .media-container-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.2rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.content-shell.home-content .features2 .card {
  flex: 0 0 calc(50% - 0.6rem) !important;
  max-width: calc(50% - 0.6rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Original testimonials block from old site */
 .content-shell .testimonials-slider .carousel-inner > .carousel-item {
  display: block;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(110%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
}

 .content-shell .testimonials-slider .carousel-inner {
  position: relative;
  overflow: hidden;
  height: 730px;
}

 .content-shell .testimonials-slider .carousel[role="listbox"] {
  position: relative;
}

 .content-shell .testimonials-slider .carousel-inner > .carousel-item.active {
  position: absolute;
  inset: 0;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

 .content-shell .testimonials-slider .carousel-inner > .carousel-item.slide-in-right {
  opacity: 1;
  transform: translateX(110%);
  z-index: 3;
}

 .content-shell .testimonials-slider .carousel-inner > .carousel-item.slide-in-left {
  opacity: 1;
  transform: translateX(-110%);
  z-index: 3;
}

 .content-shell .testimonials-slider .carousel-inner > .carousel-item.slide-out-left {
  opacity: 0;
  transform: translateX(-110%);
  z-index: 4;
}

 .content-shell .testimonials-slider .carousel-inner > .carousel-item.slide-out-right {
  opacity: 0;
  transform: translateX(110%);
  z-index: 4;
}

 .content-shell .testimonials-slider .user {
  margin: 0 auto;
  text-align: center;
}

 .content-shell .testimonials-slider .user_image img {
  max-width: 155px;
  height: auto;
  margin: 0 auto 1rem;
  display: block;
}

 .content-shell .testimonials-slider .user_text p {
  color: #37aee3 !important;
  font-style: italic;
  line-height: 1.7;
  font-size: 1.4rem;
}

 .content-shell .testimonials-slider .carousel-item[data-quote-size="short"] .user_text p {
  font-size: 1.9rem;
  line-height: 1.6;
}

 .content-shell .testimonials-slider .carousel-item[data-quote-size="medium"] .user_text p {
  font-size: 1.55rem;
  line-height: 1.65;
}

 .content-shell .testimonials-slider .carousel-item[data-quote-size="long"] .user_text p {
  font-size: 1.2rem;
  line-height: 1.68;
}

 .content-shell .testimonials-slider .carousel-item[data-quote-size="xlong"] .user_text p {
  font-size: 1.05rem;
  line-height: 1.66;
}

 .content-shell .testimonials-slider .user_name,
 .content-shell .testimonials-slider .user_desk {
  text-align: center !important;
}

 .content-shell .testimonials-slider .carousel-controls {
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  z-index: 20;
  pointer-events: none;
}

 .content-shell .testimonials-slider .carousel-control-prev,
 .content-shell .testimonials-slider .carousel-control-next {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid #d4dbe3;
  background: #f0f2f4;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #9ea8b3;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

 .content-shell .testimonials-slider .carousel-control-prev span,
 .content-shell .testimonials-slider .carousel-control-next span {
  display: none !important;
}

 .content-shell .testimonials-slider .carousel-control-prev::before {
  content: "\2039";
  font-size: 30px;
  line-height: 1;
}

 .content-shell .testimonials-slider .carousel-control-next::before {
  content: "\203A";
  font-size: 30px;
  line-height: 1;
}

/* Center the "Hvad består..." line */
.content-shell.home-content #content1-11w .mbr-text,
.content-shell.home-content #content1-11w p {
  text-align: center !important;
}

/* Section under testimonials: heading + target-group buttons */
.content-shell.home-content #content1-yz .mbr-text,
.content-shell.home-content #content1-ym .mbr-text {
  text-align: center !important;
}

.content-shell.home-content #content8-yx .mbr-section-btn,
.content-shell.home-content #content8-yy .mbr-section-btn {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 260px));
  gap: 0.35rem 1rem;
  justify-content: center !important;
  justify-items: center;
  max-width: 560px;
  width: fit-content;
  margin: 0 auto !important;
}

.content-shell.home-content #content8-yx .media-container-row,
.content-shell.home-content #content8-yy .media-container-row {
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.content-shell.home-content #content8-yx .col-12.col-md-8,
.content-shell.home-content #content8-yy .col-12.col-md-8 {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  justify-content: center;
}

.content-shell.home-content #content8-yx .btn,
.content-shell.home-content #content8-yy .btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 0;
  width: 100%;
  border-radius: 999px !important;
  min-height: 54px;
  padding: 0.9rem 1rem !important;
  background: #23a0cf !important;
  border: 0 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  font-size: 0.94rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.content-shell.home-content #content8-yx {
  margin-bottom: 0.45rem !important;
}

.content-shell.home-content #content8-yy {
  margin-top: 0 !important;
}

.content-shell.home-content #content8-yx .btn:hover,
.content-shell.home-content #content8-yy .btn:hover,
.content-shell.home-content #content8-yx .btn:focus,
.content-shell.home-content #content8-yy .btn:focus {
  background: #1b8fbb !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 124, 165, 0.32);
}

/* Partner logo rotator: 4 at a time, auto slide left every 10s */
 .content-shell .clients.syncsense-logos .partners-window {
  position: relative;
  overflow: hidden;
  min-height: 190px;
}

 .content-shell .clients.syncsense-logos .partners-track {
  display: flex;
  gap: 0;
  align-items: center;
  position: relative;
  width: 125%;
  height: 100%;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.75s ease;
}

 .content-shell .clients.syncsense-logos .partner-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 20% !important;
  width: 20% !important;
  padding: 0 1.15rem;
}

 .content-shell .clients.syncsense-logos .partner-cell img {
  max-height: 184px;
  width: auto;
  display: block;
  opacity: 1;
}

 .content-shell .clients.syncsense-logos .partners-track.no-transition {
  transition: none !important;
}

 .content-shell .clients.syncsense-logos .partners-track.slide-left {
  transform: translateX(-20%);
}

/* Spacing around "Kunder og gode samarbejdspartnere" */
.content-shell.home-content #content1-ym {
  margin-top: 2rem !important;
  margin-bottom: 0.65rem !important;
}

 .content-shell .clients.syncsense-logos {
  margin-top: 0 !important;
}

/* Reusable section styles for all pages (not just front page) */
.content-shell .syncsense-target-heading .mbr-text,
.content-shell .syncsense-target-heading p {
  text-align: center !important;
}

.content-shell .syncsense-target-heading {
  margin-top: 1.8rem !important;
}

.content-shell .syncsense-target-heading .mbr-section-title,
.content-shell .syncsense-target-heading h1,
.content-shell .syncsense-target-heading h2,
.content-shell .syncsense-target-heading h3,
.content-shell .syncsense-target-heading h4,
.content-shell .syncsense-target-heading h5,
.content-shell .syncsense-target-heading h6 {
  text-align: center !important;
}

.content-shell .syncsense-target-buttons .mbr-section-btn {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 260px));
  gap: 0.35rem 1rem;
  justify-content: center !important;
  justify-items: center;
  max-width: 560px;
  width: fit-content;
  margin: 0 auto !important;
}

.content-shell .syncsense-target-buttons .media-container-row {
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.content-shell .syncsense-target-buttons .col-12.col-md-8 {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  justify-content: center;
}

.content-shell .syncsense-target-buttons .btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 0;
  width: 100%;
  border-radius: 999px !important;
  min-height: 54px;
  padding: 0.9rem 1rem !important;
  background: #23a0cf !important;
  border: 0 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  font-size: 0.94rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.content-shell .syncsense-target-buttons .btn:hover,
.content-shell .syncsense-target-buttons .btn:focus {
  background: #1b8fbb !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 124, 165, 0.32);
}

.content-shell .syncsense-target-buttons + .syncsense-target-buttons {
  margin-top: 0.2rem !important;
}

.content-shell .syncsense-target-heading + .syncsense-target-buttons {
  margin-top: 0.75rem !important;
}

.content-shell .features2.syncsense-two-col .media-container-row {
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.2rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.content-shell .features2.syncsense-two-col .card {
  flex: 0 0 calc(50% - 0.6rem) !important;
  max-width: calc(50% - 0.6rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.content-shell .syncsense-system-note {
  margin-bottom: 2.2rem !important;
}

.content-shell .syncsense-system-note p {
  font-style: italic !important;
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.content-shell .syncsense-system-note p strong {
  font-weight: 400 !important;
}

.content-shell .syncsense-system-note p strong:first-of-type {
  font-weight: 700 !important;
}

.content-shell .syncsense-cta-heading .title,
.content-shell .syncsense-cta-heading h2,
.content-shell .syncsense-cta-heading h3,
.content-shell .syncsense-cta-heading .mbr-section-subtitle {
  text-align: center !important;
}

.content-shell .syncsense-cta-heading h3,
.content-shell .syncsense-cta-heading .mbr-section-subtitle {
  font-weight: 400 !important;
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif !important;
}

.content-shell .syncsense-cta-heading {
  margin-top: 2.8rem !important;
  margin-bottom: 1.8rem !important;
}

.content-shell .syncsense-cta-heading .title {
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.content-shell .syncsense-cta-heading h2 {
  margin-bottom: 1.5rem !important;
}

.content-shell .syncsense-cta-heading h3,
.content-shell .syncsense-cta-heading .mbr-section-subtitle {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

.content-shell .syncsense-dual-cta .mbr-section-btn {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 260px));
  gap: 0.35rem 1rem;
  justify-content: center !important;
  justify-items: center;
  max-width: 560px;
  width: fit-content;
  margin: 0 auto !important;
}

.content-shell .syncsense-dual-cta .media-container-row,
.content-shell .syncsense-dual-cta .media-container-row.title {
  justify-content: center !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.content-shell .syncsense-dual-cta .col-12.col-md-8 {
  max-width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  display: flex;
  justify-content: center;
}

.content-shell .syncsense-dual-cta .btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  min-width: 0;
  width: 100%;
  border-radius: 999px !important;
  min-height: 54px;
  padding: 0.9rem 1rem !important;
  background: #23a0cf !important;
  border: 0 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  font-size: 0.94rem !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.content-shell .syncsense-dual-cta .btn:hover,
.content-shell .syncsense-dual-cta .btn:focus {
  background: #1b8fbb !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 124, 165, 0.32);
}

.content-shell .syncsense-dual-cta {
  margin-top: 1rem !important;
  margin-bottom: 2.6rem !important;
}

/* Target-group pages: opening gallery as 4x2 image matrix */
.page-shell.slug-hospital .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
.page-shell.slug-rehab .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
.page-shell.slug-pleje .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
.page-shell.slug-neuro .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
.page-shell.slug-nursing .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.page-shell.slug-hospital .content-shell .mbr-gallery-item,
.page-shell.slug-rehab .content-shell .mbr-gallery-item,
.page-shell.slug-pleje .content-shell .mbr-gallery-item,
.page-shell.slug-neuro .content-shell .mbr-gallery-item,
.page-shell.slug-nursing .content-shell .mbr-gallery-item {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}

.page-shell.slug-hospital .content-shell .mbr-gallery-item img,
.page-shell.slug-rehab .content-shell .mbr-gallery-item img,
.page-shell.slug-pleje .content-shell .mbr-gallery-item img,
.page-shell.slug-neuro .content-shell .mbr-gallery-item img,
.page-shell.slug-nursing .content-shell .mbr-gallery-item img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-shell.slug-hospital .content-shell .mbr-gallery,
.page-shell.slug-rehab .content-shell .mbr-gallery,
.page-shell.slug-pleje .content-shell .mbr-gallery,
.page-shell.slug-neuro .content-shell .mbr-gallery,
.page-shell.slug-nursing .content-shell .mbr-gallery {
  margin-top: 1.25rem !important;
  margin-bottom: 3rem !important;
}

.page-shell.slug-hospital .content-shell .syncsense-case-intro,
.page-shell.slug-rehab .content-shell .syncsense-case-intro,
.page-shell.slug-pleje .content-shell .syncsense-case-intro,
.page-shell.slug-neuro .content-shell .syncsense-case-intro,
.page-shell.slug-nursing .content-shell .syncsense-case-intro {
  margin-top: 0.4rem !important;
  margin-bottom: 2rem !important;
}

.page-shell.slug-hospital .content-shell .syncsense-case-intro .mbr-text,
.page-shell.slug-rehab .content-shell .syncsense-case-intro .mbr-text,
.page-shell.slug-pleje .content-shell .syncsense-case-intro .mbr-text,
.page-shell.slug-neuro .content-shell .syncsense-case-intro .mbr-text,
.page-shell.slug-nursing .content-shell .syncsense-case-intro .mbr-text {
  text-align: center !important;
  max-width: 980px;
  margin: 0 auto !important;
}

.page-shell.slug-hospital .content-shell section[id^="video3-"] .video-block,
.page-shell.slug-rehab .content-shell section[id^="video3-"] .video-block,
.page-shell.slug-pleje .content-shell section[id^="video3-"] .video-block,
.page-shell.slug-neuro .content-shell section[id^="video3-"] .video-block,
.page-shell.slug-nursing .content-shell section[id^="video3-"] .video-block {
  width: min(1080px, 100%) !important;
  margin: 0 auto !important;
}

.page-shell.slug-hospital .content-shell section[id^="video3-"] .mbr-embedded-video,
.page-shell.slug-rehab .content-shell section[id^="video3-"] .mbr-embedded-video,
.page-shell.slug-pleje .content-shell section[id^="video3-"] .mbr-embedded-video,
.page-shell.slug-neuro .content-shell section[id^="video3-"] .mbr-embedded-video,
.page-shell.slug-nursing .content-shell section[id^="video3-"] .mbr-embedded-video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  min-height: 720px;
}

.page-shell.slug-hospital .content-shell .syncsense-case-note,
.page-shell.slug-rehab .content-shell .syncsense-case-note,
.page-shell.slug-pleje .content-shell .syncsense-case-note,
.page-shell.slug-neuro .content-shell .syncsense-case-note,
.page-shell.slug-nursing .content-shell .syncsense-case-note,
.page-shell.slug-historie .content-shell .syncsense-case-note {
  margin-top: 0.45rem !important;
  margin-bottom: 1.8rem !important;
}

.page-shell.slug-hospital .content-shell .syncsense-case-note .mbr-text,
.page-shell.slug-rehab .content-shell .syncsense-case-note .mbr-text,
.page-shell.slug-pleje .content-shell .syncsense-case-note .mbr-text,
.page-shell.slug-neuro .content-shell .syncsense-case-note .mbr-text,
.page-shell.slug-nursing .content-shell .syncsense-case-note .mbr-text,
.page-shell.slug-historie .content-shell .syncsense-case-note .mbr-text {
  text-align: center !important;
  font-size: 0.82rem !important;
  line-height: 1.4 !important;
  color: #5e6a78 !important;
  max-width: 900px;
  margin: 0 auto !important;
}

.page-shell.slug-hospital .content-shell .syncsense-partners-heading,
.page-shell.slug-rehab .content-shell .syncsense-partners-heading,
.page-shell.slug-pleje .content-shell .syncsense-partners-heading,
.page-shell.slug-neuro .content-shell .syncsense-partners-heading,
.page-shell.slug-nursing .content-shell .syncsense-partners-heading {
  margin-bottom: 2.5rem !important;
}

.page-shell.slug-hospital .content-shell .syncsense-testimonials-heading,
.page-shell.slug-rehab .content-shell .syncsense-testimonials-heading,
.page-shell.slug-pleje .content-shell .syncsense-testimonials-heading,
.page-shell.slug-neuro .content-shell .syncsense-testimonials-heading,
.page-shell.slug-nursing .content-shell .syncsense-testimonials-heading {
  margin-top: 2.3rem !important;
  margin-bottom: 1.5rem !important;
}

.page-shell.slug-hospital .content-shell .syncsense-testimonials-heading .mbr-text,
.page-shell.slug-rehab .content-shell .syncsense-testimonials-heading .mbr-text,
.page-shell.slug-pleje .content-shell .syncsense-testimonials-heading .mbr-text,
.page-shell.slug-neuro .content-shell .syncsense-testimonials-heading .mbr-text,
.page-shell.slug-nursing .content-shell .syncsense-testimonials-heading .mbr-text,
.page-shell.slug-hospital .content-shell .syncsense-testimonials-heading h1,
.page-shell.slug-rehab .content-shell .syncsense-testimonials-heading h1,
.page-shell.slug-pleje .content-shell .syncsense-testimonials-heading h1,
.page-shell.slug-neuro .content-shell .syncsense-testimonials-heading h1,
.page-shell.slug-nursing .content-shell .syncsense-testimonials-heading h1,
.page-shell.slug-hospital .content-shell .syncsense-testimonials-heading h2,
.page-shell.slug-rehab .content-shell .syncsense-testimonials-heading h2,
.page-shell.slug-pleje .content-shell .syncsense-testimonials-heading h2,
.page-shell.slug-neuro .content-shell .syncsense-testimonials-heading h2,
.page-shell.slug-nursing .content-shell .syncsense-testimonials-heading h2 {
  text-align: center !important;
}

.page-shell.slug-hospital .content-shell .testimonials4,
.page-shell.slug-rehab .content-shell .testimonials4,
.page-shell.slug-pleje .content-shell .testimonials4,
.page-shell.slug-neuro .content-shell .testimonials4,
.page-shell.slug-nursing .content-shell .testimonials4 {
  margin-top: 0.5rem !important;
  margin-bottom: 2.6rem !important;
}

.page-shell.slug-evidens .content-shell .syncsense-evidence-ref-intro {
  margin-top: 5.2rem !important;
}

/* Evidens page: guaranteed large gap between 4-button block and references heading */
.page-shell.slug-evidens .content-shell section[class*="content8"] + section[class*="content8"] + section {
  margin-top: 7rem !important;
  padding-top: 0.5rem !important;
}

/* Support page: taller embedded video */
.page-shell.slug-support .content-shell section[id^="video3-"] .video-block {
  width: min(1080px, 100%) !important;
  margin: 0 auto !important;
}

.page-shell.slug-support .content-shell section[id^="video3-"] .mbr-embedded-video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  min-height: 720px;
}

/* Historie page: taller video and consistent award rows layout */
.page-shell.slug-historie .content-shell section[id^="video3-"] .video-block {
  width: min(1080px, 100%) !important;
  margin: 0 auto !important;
}

.page-shell.slug-historie .content-shell section[id^="video3-"] .mbr-embedded-video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  min-height: 720px;
}

.page-shell.slug-historie .content-shell .header3 {
  margin-top: 1.6rem !important;
  margin-bottom: 2.4rem !important;
}

.page-shell.slug-historie .content-shell .header3 .media-container-row {
  display: grid !important;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: center;
}

.page-shell.slug-historie .content-shell .header3 .mbr-figure {
  width: auto !important;
  margin: 0 auto !important;
}

.page-shell.slug-historie .content-shell .header3 .mbr-figure img {
  width: min(320px, 100%);
  height: auto;
  object-fit: contain;
}

.page-shell.slug-historie .content-shell .header3 .media-content {
  text-align: left !important;
}

.page-shell.slug-historie .content-shell .header3 .mbr-section-title,
.page-shell.slug-historie .content-shell .header3 .mbr-section-text,
.page-shell.slug-historie .content-shell .header3 .mbr-text {
  text-align: left !important;
}

.page-shell.slug-historie .content-shell .header3 .mbr-section-title {
  margin-top: 0 !important;
  margin-bottom: 0.9rem !important;
  line-height: 1.2;
}

.page-shell.slug-historie .content-shell .header3 .mbr-section-title br:first-child,
.page-shell.slug-historie .content-shell .header3 .mbr-section-title br:first-child + br {
  display: none;
}

/* Distributor page: two reseller blocks side-by-side and centered copy */
.page-shell.slug-distributor .content-shell .features2 .media-container-row {
  display: flex !important;
  flex-wrap: wrap;
  column-gap: 1.2rem;
  row-gap: 1.2rem;
  justify-content: center !important;
}

.page-shell.slug-distributor .content-shell .features2 .card {
  flex: 0 0 calc(50% - 0.6rem) !important;
  max-width: calc(50% - 0.6rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-shell.slug-distributor .content-shell .features3 .media-container-row {
  display: flex !important;
  flex-wrap: wrap;
  column-gap: 1.2rem;
  row-gap: 1.2rem;
  justify-content: center !important;
}

.page-shell.slug-distributor .content-shell .features3 .card {
  flex: 0 0 calc(50% - 0.6rem) !important;
  max-width: calc(50% - 0.6rem) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.page-shell.slug-distributor .content-shell h1,
.page-shell.slug-distributor .content-shell h2,
.page-shell.slug-distributor .content-shell h3,
.page-shell.slug-distributor .content-shell h4,
.page-shell.slug-distributor .content-shell h5,
.page-shell.slug-distributor .content-shell h6,
.page-shell.slug-distributor .content-shell .mbr-text,
.page-shell.slug-distributor .content-shell p,
.page-shell.slug-distributor .content-shell li,
.page-shell.slug-distributor .content-shell .card-title {
  text-align: center !important;
}

.page-shell.slug-distributor .content-shell .features3 .mbr-section-btn,
.page-shell.slug-distributor .content-shell .features2 .mbr-section-btn {
  display: flex;
  justify-content: center;
}

.page-shell.slug-distributor .content-shell .features3 .btn,
.page-shell.slug-distributor .content-shell .features2 .btn {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  border-radius: 999px !important;
  min-height: 54px;
  min-width: 220px;
  padding: 0.9rem 1.2rem !important;
  background: #23a0cf !important;
  border: 0 !important;
  color: #fff !important;
  line-height: 1.15 !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-shell.slug-distributor .content-shell .features3 .btn:hover,
.page-shell.slug-distributor .content-shell .features3 .btn:focus,
.page-shell.slug-distributor .content-shell .features2 .btn:hover,
.page-shell.slug-distributor .content-shell .features2 .btn:focus {
  background: #1b8fbb !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(15, 124, 165, 0.32);
}

/* Team page: centered content and clean LinkedIn icon row */
.page-shell.slug-team .content-shell h1,
.page-shell.slug-team .content-shell h2,
.page-shell.slug-team .content-shell h3,
.page-shell.slug-team .content-shell h4,
.page-shell.slug-team .content-shell h5,
.page-shell.slug-team .content-shell h6,
.page-shell.slug-team .content-shell p,
.page-shell.slug-team .content-shell .mbr-text,
.page-shell.slug-team .content-shell .item-name,
.page-shell.slug-team .content-shell .item-role,
.page-shell.slug-team .content-shell .card-title {
  text-align: center !important;
}

.page-shell.slug-team .content-shell .content4 .title,
.page-shell.slug-team .content-shell .content4 .title.col-12,
.page-shell.slug-team .content-shell .content4 .title.col-12.col-md-8 {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.page-shell.slug-team .content-shell .content4 {
  margin-top: 2.6rem !important;
  margin-bottom: 1.4rem !important;
}

.page-shell.slug-team .content-shell .team1 {
  margin-bottom: 3rem !important;
}

.page-shell.slug-team .content-shell .team1 .media-row {
  justify-content: center;
}

.page-shell.slug-team .content-shell .team1 .team-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.page-shell.slug-team .content-shell .team1 .item-caption {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.page-shell.slug-team .content-shell .team1 .item-name {
  min-height: 3.6rem;
}

.page-shell.slug-team .content-shell .team1 .item-name p {
  margin: 0;
  line-height: 1.35;
}

.page-shell.slug-team .content-shell .team1 .item-role {
  min-height: 9rem;
}

.page-shell.slug-team .content-shell .team1 .item-role p {
  margin: 0;
  line-height: 1.45;
}

.page-shell.slug-team .content-shell .item-social {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 28px;
  margin-top: auto;
}

.page-shell.slug-team .content-shell .team-linkedin {
  width: 22px;
  height: 22px;
  color: #0a66c2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.page-shell.slug-team .content-shell .team-linkedin:hover,
.page-shell.slug-team .content-shell .team-linkedin:focus {
  color: #084f94;
  transform: translateY(-1px);
}

.page-shell.slug-team .content-shell .team-linkedin svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Media page: centered top content, consistent buttons, and 4-up logo rows */
.page-shell.slug-media .content-shell .header1 {
  margin-bottom: 2.2rem !important;
}

.page-shell.slug-media .content-shell .content4 {
  margin-top: 2.8rem !important;
  margin-bottom: 1.3rem !important;
}

.page-shell.slug-media .content-shell .content4 .title,
.page-shell.slug-media .content-shell .content4 .title.col-12,
.page-shell.slug-media .content-shell .content4 .title.col-12.col-md-8 {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.page-shell.slug-media .content-shell .form1 {
  margin-top: 0 !important;
  margin-bottom: 3.1rem !important;
}

.page-shell.slug-media .content-shell .form1 .media-container-column {
  max-width: 1260px !important;
  width: 100% !important;
  flex: 0 0 100% !important;
  margin: 0 auto !important;
}

.page-shell.slug-media .content-shell .form1 .dragArea.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem 1rem;
  align-items: end;
}

.page-shell.slug-media .content-shell .form1 .dragArea.row > .form-group,
.page-shell.slug-media .content-shell .form1 .dragArea.row > [data-for] {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
}

.page-shell.slug-media .content-shell .form1 .form-group {
  margin-bottom: 0 !important;
}

.page-shell.slug-media .content-shell .form1 .form-control-label {
  margin-bottom: 0.4rem !important;
  font-weight: 600 !important;
}

.page-shell.slug-media .content-shell .form1 .form-control {
  min-height: 58px;
  padding: 0.85rem 0.95rem !important;
}

.page-shell.slug-media .content-shell .form1 .input-group-btn {
  grid-column: 1 / -1;
  margin-top: 0.6rem;
  justify-self: center;
  text-align: center !important;
}

.page-shell.slug-media .content-shell .form1 .gdpr-block {
  display: block;
  text-align: center;
  margin-top: 0.95rem;
}

.page-shell.slug-media .content-shell .form1 .gdpr-block input[type="checkbox"] {
  margin-right: 0.55rem;
  vertical-align: middle;
}

.page-shell.slug-media .content-shell .content8 {
  margin-top: 2.1rem !important;
  margin-bottom: 2.1rem !important;
}

.page-shell.slug-media .content-shell .content8 .media-container-row.title,
.page-shell.slug-media .content-shell .content8 .media-container-row,
.page-shell.slug-media .content-shell .content8 .col-12.col-md-8 {
  justify-content: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

.page-shell.slug-media .content-shell .content8 .mbr-section-btn {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(230px, 280px));
  justify-content: center !important;
  gap: 0.95rem 1rem;
}

.page-shell.slug-media .content-shell .content8 .btn,
.page-shell.slug-media .content-shell .form1 .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 54px;
  border: 0 !important;
  border-radius: 999px !important;
  background: #23a0cf !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.96rem !important;
  line-height: 1.15 !important;
  padding: 0.9rem 1.35rem !important;
  box-shadow: 0 14px 28px rgba(14, 129, 176, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.page-shell.slug-media .content-shell .form1 .btn {
  min-width: 170px;
}

.page-shell.slug-media .content-shell .content8 .btn:hover,
.page-shell.slug-media .content-shell .content8 .btn:focus,
.page-shell.slug-media .content-shell .form1 .btn:hover,
.page-shell.slug-media .content-shell .form1 .btn:focus {
  background: #1b8fbb !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(13, 116, 157, 0.26);
}

.page-shell.slug-media .content-shell .features2 {
  margin-top: 2.4rem !important;
  margin-bottom: 2.4rem !important;
}

.page-shell.slug-media .content-shell .features2 .media-container-row {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem 1.2rem;
  align-items: center;
  justify-items: center;
}

.page-shell.slug-media .content-shell .features2 .card {
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.page-shell.slug-media .content-shell .features2 .card-wrapper,
.page-shell.slug-media .content-shell .features2 .card-box {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.page-shell.slug-media .content-shell .features2 .card-img {
  width: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-shell.slug-media .content-shell .features2 .card-img a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-shell.slug-media .content-shell .features2 .card-img img {
  max-width: min(260px, 96%);
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.page-shell.slug-hospital .content-shell .testimonials4 .testimonials-container,
.page-shell.slug-rehab .content-shell .testimonials4 .testimonials-container,
.page-shell.slug-pleje .content-shell .testimonials4 .testimonials-container,
.page-shell.slug-neuro .content-shell .testimonials4 .testimonials-container,
.page-shell.slug-nursing .content-shell .testimonials4 .testimonials-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.page-shell.slug-hospital .content-shell .testimonials4 .testimonials-item,
.page-shell.slug-rehab .content-shell .testimonials4 .testimonials-item,
.page-shell.slug-pleje .content-shell .testimonials4 .testimonials-item,
.page-shell.slug-neuro .content-shell .testimonials4 .testimonials-item,
.page-shell.slug-nursing .content-shell .testimonials4 .testimonials-item {
  width: 100% !important;
  margin: 0 !important;
}

.page-shell.slug-hospital .content-shell .testimonials4 .testimonials-caption,
.page-shell.slug-rehab .content-shell .testimonials4 .testimonials-caption,
.page-shell.slug-pleje .content-shell .testimonials4 .testimonials-caption,
.page-shell.slug-neuro .content-shell .testimonials4 .testimonials-caption,
.page-shell.slug-nursing .content-shell .testimonials4 .testimonials-caption {
  background: #ffffff;
  border: 1px solid #d8e2ee;
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 0 12px 28px rgba(25, 44, 69, 0.08);
  height: 100%;
}

.page-shell.slug-hospital .content-shell .testimonials4 .user_text p,
.page-shell.slug-rehab .content-shell .testimonials4 .user_text p,
.page-shell.slug-pleje .content-shell .testimonials4 .user_text p,
.page-shell.slug-neuro .content-shell .testimonials4 .user_text p,
.page-shell.slug-nursing .content-shell .testimonials4 .user_text p {
  color: #2a3f57 !important;
  line-height: 1.62;
  margin-bottom: 0.85rem;
}

.page-shell.slug-hospital .content-shell .testimonials4 .user_name,
.page-shell.slug-rehab .content-shell .testimonials4 .user_name,
.page-shell.slug-pleje .content-shell .testimonials4 .user_name,
.page-shell.slug-neuro .content-shell .testimonials4 .user_name,
.page-shell.slug-nursing .content-shell .testimonials4 .user_name {
  color: #0f2f52;
  font-weight: 700 !important;
  padding-top: 0 !important;
}

.page-shell.slug-hospital .content-shell .testimonials4 .user_desk,
.page-shell.slug-rehab .content-shell .testimonials4 .user_desk,
.page-shell.slug-pleje .content-shell .testimonials4 .user_desk,
.page-shell.slug-neuro .content-shell .testimonials4 .user_desk,
.page-shell.slug-nursing .content-shell .testimonials4 .user_desk {
  color: #5d6b7b;
  padding-top: 0.35rem !important;
}

/* Hide legacy footer blocks from imported pages */
.content-shell .footer3,
.content-shell .social-buttons2,
.content-shell .contacts4,
.content-shell section[id^="footer"],
.content-shell section[id^="social-buttons"],
.content-shell section[id^="contacts"] {
  display: none !important;
}

.content-shell h1,
.content-shell h2,
.content-shell h3,
.content-shell h4,
.content-shell h5,
.content-shell h6 {
  color: #1a2c3f;
  line-height: 1.2;
}

.content-shell h1 { font-size: 1.7rem !important; }
.content-shell h2 { font-size: 1.55rem !important; }
.content-shell h3 { font-size: 1.35rem !important; }
.content-shell h4 { font-size: 1.2rem !important; }
.content-shell h5 { font-size: 1rem !important; }
.content-shell h6 { font-size: 0.92rem !important; }

.content-shell .display-1 { font-size: 2.2rem !important; }
.content-shell .display-2 { font-size: 1.8rem !important; }
.content-shell .display-4 { font-size: 1.4rem !important; }
.content-shell .display-5 { font-size: 1.2rem !important; }

.content-shell p,
.content-shell li {
  color: #354a61;
  line-height: 1.6;
}

.content-shell img,
.content-shell video,
.content-shell iframe {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Keep a consistent vertical gap between text blocks and images */
.content-shell .card-img,
.content-shell .mbr-figure,
.content-shell .image-block {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.content-shell p + img,
.content-shell ul + img,
.content-shell ol + img,
.content-shell h1 + img,
.content-shell h2 + img,
.content-shell h3 + img,
.content-shell h4 + img,
.content-shell h5 + img,
.content-shell h6 + img,
.content-shell img + p,
.content-shell img + ul,
.content-shell img + ol,
.content-shell img + h1,
.content-shell img + h2,
.content-shell img + h3,
.content-shell img + h4,
.content-shell img + h5,
.content-shell img + h6 {
  margin-top: 1rem;
}

.site-footer {
  margin-top: 0.3rem;
  text-align: center;
  padding: 1rem 0 1.25rem;
  color: #b8c8d8;
  background: #071524;
  border-top: 1px solid rgba(192, 220, 243, 0.22);
}

.site-footer-rich {
  margin-top: 0;
  text-align: left;
  background: #2d2f34;
  color: #f3f5f7;
  border-top: 0;
  padding: 2.3rem 0 2.1rem;
}

.footer-shell {
  width: min(1260px, 94vw);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand img {
  width: 208px;
  height: auto;
}

.footer-nav-col h4 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-nav-col a {
  display: block;
  color: #f1f4f7;
  text-decoration: none;
  margin: 0 0 0.18rem;
  font-size: 1rem;
  transition: color 0.18s ease;
}

.footer-nav-col a:hover {
  color: #b8c0cb;
}

.footer-divider {
  border-top: 1px solid rgba(188, 196, 207, 0.18);
  margin: 1.5rem 0 1.3rem;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-contact p,
.footer-address p {
  margin: 0 0 0.25rem;
  color: #f2f5f8;
  font-size: 1rem;
}

.footer-contact p:first-child,
.footer-address p:first-child {
  margin-bottom: 0.9rem;
}

.footer-contact p:last-child,
.footer-address p:last-child {
  margin-top: 0.9rem;
}

.footer-contact {
  grid-column: 1 / 3;
}

.footer-address {
  grid-column: 3;
}

.footer-social {
  grid-column: 4;
  justify-self: start;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer-social span {
  color: #f2f5f8;
  font-weight: 600;
}

.footer-social a {
  color: #b8bfc8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: color 0.18s ease;
}

.footer-social a:hover {
  color: #9ea8b5;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

@keyframes intro {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .menu-toggle {
    display: inline-flex;
  }

  .header-shell {
    min-height: 76px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-inline: 12px;
  }

  .brand img {
    height: 34px;
  }

  .top-nav {
    display: none;
    position: absolute;
    top: 74px;
    right: 2vw;
    width: min(470px, 94vw);
    background: rgba(9, 21, 34, 0.98);
    border: 1px solid rgba(182, 214, 239, 0.35);
    border-radius: 14px;
    padding: 0.65rem;
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  .top-nav.open {
    display: flex;
  }

  .dropdown-panel {
    position: static;
    min-width: 100%;
    margin-top: 0.35rem;
  }

  .nav-item {
    width: 100%;
  }

  .top-link {
    width: 100%;
    text-align: left;
  }

  .lang-link {
    margin-left: 0;
  }
}

@media (max-width: 860px) {
  .hero-home {
    min-height: 84vh;
  }

  .hero-page {
    padding: 5.8rem 0.85rem 1.55rem;
  }

  .hero-page-graphic {
    width: 110px;
    opacity: 0.22;
  }

  .content-shell.home-content .features2 .card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .content-shell.home-content #content8-yx .mbr-section-btn,
  .content-shell.home-content #content8-yy .mbr-section-btn {
    grid-template-columns: 1fr;
  }

  .content-shell .syncsense-target-buttons .mbr-section-btn {
    grid-template-columns: 1fr;
  }

  .content-shell .syncsense-dual-cta .mbr-section-btn {
    grid-template-columns: 1fr;
  }

  .page-shell.slug-hospital .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
  .page-shell.slug-rehab .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
  .page-shell.slug-pleje .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
  .page-shell.slug-neuro .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div,
  .page-shell.slug-nursing .content-shell .mbr-gallery-row .mbr-gallery-layout-default > div > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-shell.slug-hospital .content-shell section[id^="video3-"] .mbr-embedded-video,
  .page-shell.slug-rehab .content-shell section[id^="video3-"] .mbr-embedded-video,
  .page-shell.slug-pleje .content-shell section[id^="video3-"] .mbr-embedded-video,
  .page-shell.slug-neuro .content-shell section[id^="video3-"] .mbr-embedded-video,
  .page-shell.slug-nursing .content-shell section[id^="video3-"] .mbr-embedded-video {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .page-shell.slug-support .content-shell section[id^="video3-"] .mbr-embedded-video {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .page-shell.slug-historie .content-shell section[id^="video3-"] .mbr-embedded-video {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .page-shell.slug-historie .content-shell .header3 .media-container-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .page-shell.slug-historie .content-shell .header3 .mbr-figure img {
    width: min(280px, 92vw);
  }

  .page-shell.slug-distributor .content-shell .features2 .card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .page-shell.slug-distributor .content-shell .features3 .card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .page-shell.slug-media .content-shell .form1 .dragArea.row {
    grid-template-columns: 1fr;
  }

  .page-shell.slug-media .content-shell .content8 .mbr-section-btn {
    grid-template-columns: 1fr;
  }

  .page-shell.slug-media .content-shell .features2 .media-container-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.85rem;
  }

  .page-shell.slug-media .content-shell .features2 .card-img {
    min-height: 112px;
  }

  .page-shell.slug-media .content-shell .features2 .card-img img {
    max-height: 92px;
  }

  .page-shell.slug-hospital .content-shell .testimonials4 .testimonials-container,
  .page-shell.slug-rehab .content-shell .testimonials4 .testimonials-container,
  .page-shell.slug-pleje .content-shell .testimonials4 .testimonials-container,
  .page-shell.slug-neuro .content-shell .testimonials4 .testimonials-container,
  .page-shell.slug-nursing .content-shell .testimonials4 .testimonials-container {
    grid-template-columns: 1fr;
  }

  .content-shell.home-content #content8-yx .col-12.col-md-8,
  .content-shell.home-content #content8-yy .col-12.col-md-8 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .content-shell .features2.syncsense-two-col .card {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .content-shell .testimonials1 .mbr-testimonial {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

   .content-shell .clients.syncsense-logos .partners-window {
    min-height: 130px;
  }

   .content-shell .clients.syncsense-logos .partners-track {
    width: 250%;
  }

   .content-shell .clients.syncsense-logos .partner-cell {
    flex: 0 0 20% !important;
    width: 20% !important;
    padding: 0 0.65rem;
  }

   .content-shell .clients.syncsense-logos .partner-cell img {
    max-height: 120px;
  }

   .content-shell .testimonials-slider .carousel-item[data-quote-size="short"] .user_text p {
    font-size: 1.45rem;
  }

   .content-shell .testimonials-slider .carousel-item[data-quote-size="medium"] .user_text p {
    font-size: 1.24rem;
  }

   .content-shell .testimonials-slider .carousel-item[data-quote-size="long"] .user_text p {
    font-size: 1.04rem;
  }

   .content-shell .testimonials-slider .carousel-item[data-quote-size="xlong"] .user_text p {
    font-size: 0.96rem;
  }

  .hero-content h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.8rem);
  }

   .content-shell .testimonials-slider .carousel-inner {
    height: 840px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }

  .footer-brand img {
    width: 152px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-contact,
  .footer-address,
  .footer-social {
    grid-column: auto;
  }
}

/* Media newsletter fallback form (no JS dependency) */
.page-shell.slug-media #content4-uo,
.page-shell.slug-media #form1-uf {
  display: none !important;
}

.newsletter-custom {
  width: min(1180px, 92vw);
  margin: 2.2rem auto 2.8rem;
}

.newsletter-custom-form {
  max-width: 1180px;
  margin: 0 auto;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.newsletter-custom .form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.newsletter-custom .form-group input {
  min-height: 56px;
}

.newsletter-cta {
  margin-top: 0.9rem;
  text-align: center;
}

.newsletter-gdpr {
  margin-top: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  color: #8d97a2;
  font-size: 1rem;
}

.newsletter-gdpr input[type="checkbox"] {
  margin-top: 0.22rem;
}

.newsletter-gdpr a {
  color: #0f7699;
}

@media (max-width: 860px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

