.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for text-editor, class: .elementor-element-57af4684 *//* Heimsóknir page only */

.vs-page-heimsoknir {
  padding-top: 30px;
}

/* Restore the old page-title feel */
.vs-page-heimsoknir .vs-page-title {
  display: block;
  margin: 0 0 2.1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--vs-border);
  color: var(--vs-ink);
  font-size: clamp(2rem, 3vw, 2.45rem);
  font-weight: 400;
}

/* Old page used lighter, simpler section headings */
.vs-page-heimsoknir h2 {
  margin: 2.1rem 0 0.75rem;
  color: var(--vs-ink);
  font-size: clamp(1.55rem, 2.25vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.vs-page-heimsoknir h2:first-of-type {
  margin-top: 0;
}

/* Let text use the page width while images float beside it */
.vs-page-heimsoknir p,
.vs-page-heimsoknir ul,
.vs-page-heimsoknir ol {
  max-width: none;
}

/* Match the old Drupal layout: supporting images on the right */
.vs-page-heimsoknir img {
  float: right;
  clear: right;
  width: min(34%, 340px);
  max-width: 340px;
  height: auto;
  margin: 0.3rem 0 1.6rem 2.3rem;
  border-radius: 0;
  box-shadow: none;
}

/* The map was also a right-side supporting image */
.vs-page-heimsoknir img[src*="kort"],
.vs-page-heimsoknir img[src*="map"],
.vs-page-heimsoknir img[src*="hagatorg"] {
  width: min(36%, 360px);
  max-width: 360px;
}

/* Keep lists aligned like the original */
.vs-page-heimsoknir ul {
  padding-left: 1.6rem;
}

/* Let section headings sit beside their matching right-side image */
.vs-page-heimsoknir h2 {
  clear: none;
}

/* Only force a full clear at the very end if needed */
.vs-page-heimsoknir::after {
  content: "";
  display: table;
  clear: both;
}


/* Mobile: stack images above/below text */
@media (max-width: 760px) {
  .vs-page-heimsoknir img {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0 1.4rem;
  }

}/* End custom CSS */