.vfd-content {
  --vfd-lo-tab-bg: #f4f6f8;
  --vfd-lo-tab-bg-hover: #eef2f6;
  --vfd-lo-tab-border: #cfd7e2;
}

.vfd-content {
  border: 2px solid #d6dde6;
  border-radius: 0;
  padding: 0;
  margin: 1rem 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(10, 52, 88, 0.08);
}

.vfd-content.vfd-learning-object {
  container-type: inline-size;
}

.vfd-lo-tab-list {
  display: flex;
  width: 100%;
  gap: 0;
  margin-bottom: 0;
  position: relative;
}

[data-vfd-tabs-config] {
  display: none !important;
}

.vfd-lo-tab-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--vfd-lo-tab-border);
}

.vfd-lo-tab-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  background: var(--vfd-lo-tab-bg);
}

.vfd-lo-tab-nav.is-button-mode {
  display: block;
  background: #ffffff;
  padding: 2rem 2rem 0.58rem;
}

.vfd-lo-tab-nav.is-scrollable {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list-wrap {
  overflow: visible;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.72rem;
}

.vfd-lo-tab-nav.is-button-mode.is-variable-tab-width .vfd-lo-tab-list {
  column-gap: 0.72rem;
  row-gap: 0.85rem;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-row-break {
  flex-basis: 100%;
  width: 0;
  height: 0.18rem;
  pointer-events: none;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list::after {
  display: none;
}

.vfd-lo-tab-list-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.vfd-lo-tab-scroll {
  display: none;
  appearance: none;
  border: 0;
  background: var(--vfd-lo-tab-bg);
  color: #35546f;
  width: 100%;
  min-width: 0;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
}

.vfd-lo-tab-scroll::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--vfd-lo-tab-border);
}

.vfd-lo-tab-nav.is-at-start-selected .vfd-lo-tab-scroll-prev::after,
.vfd-lo-tab-nav.is-at-end-selected .vfd-lo-tab-scroll-next::after {
  background: transparent;
}

.vfd-lo-tab-nav.is-at-start-selected .vfd-lo-tab-scroll-prev,
.vfd-lo-tab-nav.is-at-end-selected .vfd-lo-tab-scroll-next {
  background: #ffffff;
}

.vfd-lo-tab-nav.is-at-start-selected .vfd-lo-tab-scroll-prev,
.vfd-lo-tab-nav.is-at-start-selected .vfd-lo-tab-scroll-prev:disabled {
  border-right-color: transparent;
}

.vfd-lo-tab-nav.is-at-end-selected .vfd-lo-tab-scroll-next,
.vfd-lo-tab-nav.is-at-end-selected .vfd-lo-tab-scroll-next:disabled {
  border-left-color: transparent;
}

.vfd-lo-tab-scroll:hover {
  background: var(--vfd-lo-tab-bg-hover);
}

.vfd-lo-tab-scroll:disabled {
  color: #9aa8b6;
  background: var(--vfd-lo-tab-bg);
  cursor: default;
}

.vfd-lo-tab-scroll-prev {
  border-right: 1px solid var(--vfd-lo-tab-border);
}

.vfd-lo-tab-scroll-next {
  border-left: 1px solid var(--vfd-lo-tab-border);
}

.vfd-lo-tab-nav.is-scrollable .vfd-lo-tab-scroll {
  display: block;
}

.vfd-lo-tab-nav.is-scrollable .vfd-lo-tab-list-wrap {
  overflow-x: auto;
  scrollbar-width: none;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-scroll {
  display: none !important;
}

.vfd-lo-tab-nav.is-scrollable .vfd-lo-tab-list-wrap::-webkit-scrollbar {
  display: none;
}

.vfd-lo-tab-button {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: var(--vfd-lo-tab-bg);
  color: #35546f;
  font-weight: 600;
  padding: 30px 1.35rem;
  margin-bottom: 0;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
  flex: 1 1 0;
  min-width: 150px;
  text-align: center;
  position: relative;
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  line-height: 1.2;
}

.vfd-lo-tab-label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 14ch;
  margin: 0 auto;
  line-height: 1.25;
  text-wrap: balance;
}

.vfd-lo-tab-nav.is-scrollable .vfd-lo-tab-list {
  width: max-content;
  min-width: 100%;
}

.vfd-lo-tab-nav.is-scrollable .vfd-lo-tab-button {
  flex: 0 0 auto;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button {
  box-sizing: border-box;
  flex: 0 0 var(--vfd-lo-tab-button-calculated-min-width, 185px);
  width: var(--vfd-lo-tab-button-calculated-min-width, auto);
  min-width: min(100%, var(--vfd-lo-tab-button-calculated-min-width, 185px));
  max-width: none;
  border: 1px solid var(--vfd-lo-tab-border);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.62rem 1.35rem;
  box-shadow: none;
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
}

.vfd-lo-tab-nav.is-button-mode.is-variable-tab-width .vfd-lo-tab-button {
  flex: 1 0 max-content;
  width: auto;
  min-width: max-content;
  max-width: none;
  padding-inline: 1rem;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-label {
  max-width: none;
  display: block;
  -webkit-line-clamp: initial;
  line-clamp: initial;
  -webkit-box-orient: initial;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: manual;
}

.vfd-lo-tab-button:hover {
  color: #084c8d;
  background: var(--vfd-lo-tab-bg-hover);
}

.vfd-lo-tab-button[aria-selected="true"] {
  background: #ffffff;
  color: #0a3458;
  box-shadow: inset 2px 0 0 var(--vfd-lo-tab-border), inset -2px 0 0 var(--vfd-lo-tab-border);
  z-index: 2;
}

.vfd-lo-tab-button:first-child[aria-selected="true"] {
  box-shadow: inset -2px 0 0 var(--vfd-lo-tab-border);
}

.vfd-lo-tab-button:last-child[aria-selected="true"] {
  box-shadow: inset 2px 0 0 var(--vfd-lo-tab-border);
}

.vfd-lo-tab-button:first-child:last-child[aria-selected="true"] {
  box-shadow: none;
}

.vfd-lo-tab-button[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: #ffffff;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button:hover {
  background: #eef4fa;
  color: #0a3458;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button[aria-selected="true"] {
  background: #0a3458;
  border-color: #0a3458;
  color: #ffffff;
  box-shadow: none;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button[aria-selected="true"] .vfd-lo-tab-label {
  color: #ffffff;
}

.vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button[aria-selected="true"]::after {
  display: none;
}

.vfd-lo-tab-button:focus-visible {
  outline: 2px solid #084c8d;
  outline-offset: 2px;
}

.vfd-lo-tab-panels {
  --vfd-lo-panel-side-padding: 0;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  padding: 20px 2rem 30px;
}

.vfd-lo-tab-panel {
  display: block;
}

.vfd-content.vfd-learning-object[data-vfd-equal-panel-height="true"] .vfd-lo-tab-panel {
  min-height: var(--vfd-lo-equal-panel-min-height, auto);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel {
  gap: 0 !important;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-layout {
  display: flex;
  column-gap: 0;
  gap: 1.35rem;
  align-items: flex-start;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-head {
  display: block;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-text h2 {
  margin: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
  color: #1d3346;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-body {
  min-width: 0;
  max-width: 66ch;
  margin-top: 0.5rem;
  padding-left: 0;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-head > :first-child,
.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-head > :nth-child(2) {
  margin-top: 0;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel img {
  display: block;
  width: 220px;
  flex: 0 0 220px;
  max-width: 100%;
  height: auto;
  margin: 0;
  object-fit: contain;
  align-self: flex-start;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-media {
  width: 220px;
  flex: 0 0 220px;
}

.vfd-lo-tab-panel[hidden] {
  display: none !important;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-button {
  appearance: none;
  box-sizing: border-box;
  border: 1px solid var(--vfd-lo-tab-border);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  background: #ffffff;
  color: #0a3458;
  font: inherit;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-button:enabled:hover {
  background: var(--vfd-lo-tab-bg-hover);
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-button[aria-pressed="true"]:enabled {
  background: #0a3458;
  border-color: #0a3458;
  color: #ffffff;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-button:focus-visible {
  outline: 2px solid #084c8d;
  outline-offset: 2px;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-button:disabled {
  background: #f4f6f8;
  border-color: #d6dde6;
  color: #626b75;
  opacity: 1;
  cursor: not-allowed;
  box-shadow: none;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-panel[hidden] {
  display: none !important;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-panel figure.image {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.vfd-content.vfd-learning-object .vfd-panel-switcher-panel figure.image img {
  width: 100% !important;
  max-width: 100%;
  height: auto !important;
  flex: 0 1 auto;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > * + div,
.vfd-content.vfd-learning-object .vfd-lo-tab-panel > div + * {
  margin-top: 0.9rem;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > :is(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, blockquote, pre, table, figcaption, details, summary, .vfd-lo-tab-section) {
  padding-inline: var(--vfd-lo-panel-side-padding);
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > iframe,
.vfd-content.vfd-learning-object .vfd-lo-tab-panel > iframe[src*="media.videotool.dk"] {
  display: block;
  width: calc(100% - (var(--vfd-lo-panel-side-padding) * 2)) !important;
  max-width: calc(100% - (var(--vfd-lo-panel-side-padding) * 2));
  aspect-ratio: 16 / 9;
  height: min(56.25vw, 520px) !important;
  height: calc((100cqw - (var(--vfd-lo-panel-side-padding) * 2)) * 0.5625) !important;
  margin: 0.6rem var(--vfd-lo-panel-side-padding);
  border: 0;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > .vfd-video-embed {
  width: calc(100% - (var(--vfd-lo-panel-side-padding) * 2));
  max-width: calc(100% - (var(--vfd-lo-panel-side-padding) * 2));
  aspect-ratio: 16 / 9;
  margin: 0.6rem var(--vfd-lo-panel-side-padding);
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > .vfd-video-embed iframe {
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > .vfd-image-embed {
  margin: 0.9rem var(--vfd-lo-panel-side-padding);
}

.vfd-content.vfd-learning-object .vfd-lo-tab-panel > .vfd-image-embed img {
  display: block;
  width: 100% !important;
  max-width: 760px;
  height: auto !important;
  margin: 0 auto;
  object-fit: contain;
}

.vfd-lo-tab-image {
  margin: 0.85rem 0 0;
}

@media (max-width: 768px) {
  .vfd-lo-tab-panels {
    --vfd-lo-panel-side-padding: 15px;
  }

  .vfd-lo-tab-nav.is-button-mode {
    padding: 1.5rem 15px 0.46rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list {
    gap: 0.55rem;
    padding-inline: 0.1rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-row-break {
    display: block;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button {
    min-width: 0;
    max-width: none;
    padding: 0.48rem 0.9rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .vfd-lo-tab-button {
    min-width: 140px;
    text-align: center;
    padding: 14px 0.85rem;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    font-size: clamp(0.95rem, 3.6vw, 1.1rem);
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-label {
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .vfd-lo-tab-panels {
    padding: 16px 0 22px;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel img {
    width: 176px;
    flex-basis: 176px;
    height: auto;
    align-self: center;
    margin-inline: auto;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-layout {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-text {
    justify-content: flex-start;
    width: 100%;
    padding: 0 15px;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-text h2 {
    font-size: clamp(1rem, 3.8vw, 1.12rem);
    line-height: 1.35;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-body {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .vfd-lo-tab-panels {
    --vfd-lo-panel-side-padding: 12px;
  }

  .vfd-lo-tab-nav.is-button-mode {
    padding: 0.78rem 12px 0.34rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list {
    gap: 0.4rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button {
    max-width: none;
    padding: 0.4rem 0.68rem;
    font-size: clamp(0.82rem, 3.2vw, 0.9rem);
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-label {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .vfd-lo-tab-panels {
    padding: 0.85rem 0 0.8rem;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel img {
    width: 152px;
    flex-basis: 152px;
  }
}

@container (max-width: 768px) {
  .vfd-lo-tab-panels {
    --vfd-lo-panel-side-padding: 15px;
  }

  .vfd-lo-tab-nav.is-button-mode {
    padding: 1.5rem 15px 0.46rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list {
    gap: 0.55rem;
    padding-inline: 0.1rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-row-break {
    display: block;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button {
    min-width: 0;
    max-width: none;
    padding: 0.48rem 0.9rem;
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .vfd-lo-tab-button {
    min-width: 140px;
    text-align: center;
    padding: 14px 0.85rem;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
    font-size: clamp(0.95rem, 3.6vw, 1.1rem);
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-label {
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .vfd-lo-tab-panels {
    padding: 16px 0 22px;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel img {
    width: 176px;
    flex-basis: 176px;
    height: auto;
    align-self: center;
    margin-inline: auto;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-layout {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-text {
    justify-content: flex-start;
    width: 100%;
    padding: 0 15px;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-text h2 {
    font-size: clamp(1rem, 3.8vw, 1.12rem);
    line-height: 1.35;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel .vfd-person-card-body {
    max-width: 100%;
  }
}

@container (max-width: 420px) {
  .vfd-lo-tab-panels {
    --vfd-lo-panel-side-padding: 12px;
  }

  .vfd-lo-tab-nav.is-button-mode {
    padding: 0.78rem 12px 0.34rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-list {
    gap: 0.4rem;
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-button {
    max-width: none;
    padding: 0.4rem 0.68rem;
    font-size: clamp(0.82rem, 3.2vw, 0.9rem);
  }

  .vfd-lo-tab-nav.is-button-mode .vfd-lo-tab-label {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .vfd-lo-tab-panels {
    padding: 0.85rem 0 0.8rem;
  }

  .vfd-content.vfd-learning-object .vfd-lo-tab-panel img {
    width: 152px;
    flex-basis: 152px;
  }
}
