.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-2592e24f *//* Verkefni page only */

.vs-page-verkefni {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  padding-top: 30px;
}

/* Full-width title and intro */
.vs-page-verkefni .vs-page-title,
.vs-page-verkefni > .block-system {
  grid-column: 1 / -1;
}

.vs-page-verkefni .vs-page-title {
  display: block;
  margin: 0 0 1.2rem;
  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;
}

.vs-page-verkefni > .block-system {
  margin-bottom: 1.8rem;
  max-width: none;
}

.vs-page-verkefni > .block-system p,
.vs-page-verkefni > .block-system {
  color: var(--vs-ink);
  font-size: 1rem;
  line-height: 1.55;
}

/* The two sections should sit side by side like the old Drupal page */
.vs-page-verkefni > .block-views {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0;
  padding: 0;
}

.vs-page-verkefni .block-title {
  margin: 0 0 0.8rem;
  color: var(--vs-ink);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 400;
}

/* Override global .view-verkefni grid */
.vs-page-verkefni .view-verkefni .view-content {
  display: block !important;
}

/* Neutralize imported spacing */
.vs-page-verkefni .verkefnismyndahnappur,
.vs-page-verkefni .namsgagnahnappur {
  margin: 0 0 12px;
  padding: 0;
}

/* Old-style wide horizontal cards */
.vs-page-verkefni .myndahnappur {
  min-height: 0;
  aspect-ratio: 2.45 / 1;
  border-radius: 4px;
  box-shadow: none;
}

.vs-page-verkefni .myndahnappsmynd,
.vs-page-verkefni .myndahnappsmynd img {
  width: 100%;
  height: 100%;
}

.vs-page-verkefni .myndahnappur img {
  display: block;
  min-height: 0;
  object-fit: cover;
  border-radius: 4px;
}

/* Vinnusmiðjur: red strip with white text */
.vs-page-verkefni .verkefnismyndahnappur .myndahnappstexti {
  padding: 0.6rem 0.7rem;
  background: rgba(236, 75, 47, 0.82);
  color: var(--vs-white);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
}

/* Námsgagnapakkar: pale strip with red text, matching old page */
.vs-page-verkefni .namsgagnahnappur .myndahnappstexti {
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--vs-red);
  font-size: clamp(1.15rem, 1.65vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
}

.vs-page-verkefni .myndatexti {
  color: inherit;
}

/* Tablet/mobile */
@media (max-width: 760px) {
  .vs-page-verkefni {
    display: block;
  }

  .vs-page-verkefni > .block-views {
    margin-bottom: 2rem;
  }

  .vs-page-verkefni .myndahnappur {
    aspect-ratio: 1.9 / 1;
  }
}/* End custom CSS */