/*
 * Dúkur – look & feel modelled on mfh.is
 * (logo row + boxed blue menu bar, Source Sans Pro, #003399 primary, light footer)
 */
:root {
  --dk-primary: #003399;
  --dk-primary-dark: #002270;
  --dk-primary-light: #2c56c9;
  --dk-heading: #252a37;
  --dk-text: #4a4f5c;
  --dk-muted: #8a8fa0;
  --dk-gray: #f5f6f9;
  --dk-border: #e6e8ee;
  /* one content width for header, page sections and slider captions (same steps as Bootstrap .container,
     widest step 1200px – also set as "container max width" in SP Page Builder settings) */
  --dk-container: 100%;
}
@media (min-width: 576px)  { :root { --dk-container: 540px; } }
@media (min-width: 768px)  { :root { --dk-container: 720px; } }
@media (min-width: 992px)  { :root { --dk-container: 960px; } }
@media (min-width: 1200px) { :root { --dk-container: 1200px; } }

body { color: var(--dk-text); font-size: 16px; line-height: 1.7; }
@media (min-width: 1200px) {
  .container, .sppb-row-container { max-width: var(--dk-container); }
}
h1, h2, h3, h4, h5, h6 { color: var(--dk-heading); line-height: 1.25; }
a { color: var(--dk-primary); }
a:hover, a:focus { color: var(--dk-primary-dark); }

/* ------------------------------------------------------------------ header */
#sp-logo-area { background: #fff; padding: 20px 0 15px; position: relative; z-index: 3; }
#sp-logo-area .logo { display: flex; align-items: center; height: auto; }
#sp-logo-area .logo-image, #sp-logo-area .logo-image-phone { height: 60px; width: auto; }

.dk-header-contact { display: flex; align-items: center; justify-content: flex-end; }
.dk-hc-item { display: flex; align-items: center; padding: 4px 28px; line-height: 1.3; }
.dk-hc-item + .dk-hc-item { border-left: 1px solid var(--dk-border); }
.dk-hc-item:last-child { padding-right: 0; }
.dk-hc-item > i { color: var(--dk-primary); font-size: 22px; margin-right: 14px; width: 24px; text-align: center; }
.dk-hc-item a, .dk-hc-item strong { display: block; color: var(--dk-heading); font-weight: 700; font-size: 16px; }
.dk-hc-item a:hover { color: var(--dk-primary); }
.dk-hc-item span { display: block; font-size: 13px; color: var(--dk-muted); }

#sp-header {
  background: transparent; box-shadow: none; height: auto; position: relative;
  z-index: 99; margin-bottom: -35px;
}
/* the boxed blue menu bar (no shadow); the menu row sits flush inside it, without Bootstrap's
   negative gutters, so nothing (e.g. the active item's highlight) can stick out past its edge */
#sp-header > .container > .container-inner {
  background: var(--dk-primary); padding: 0 10px; box-shadow: none; overflow: hidden;
}
#sp-header > .container > .container-inner > .row { margin: 0; }
#sp-header #sp-menu { height: 70px; padding: 0; }
#sp-header .sp-megamenu-parent { margin: 0; }
#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
  color: #fff; font-size: 16px; font-weight: 700; text-transform: uppercase; line-height: 70px;
  padding: 0 17px; letter-spacing: .02em; position: relative;
}
#sp-header .sp-megamenu-parent > li > a::after {
  content: ""; position: absolute; left: 17px; right: 17px; bottom: 0; height: 4px;
  background: #fff; transform: scaleX(0); transition: transform .25s ease;
}
#sp-header .sp-megamenu-parent > li:hover > a::after,
#sp-header .sp-megamenu-parent > li.active > a::after { transform: scaleX(1); }
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li:hover > a { color: #fff; background: rgba(0, 0, 0, .12); }

/* sticky: only the position changes – the bar keeps the same boxed width and the items the same place */
#sp-header.header-sticky {
  position: fixed; top: 0; left: 0; right: 0; margin: 0; animation: dkDown .3s ease;
  background: transparent; box-shadow: none;
}
@keyframes dkDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* mobile toggler */
#offcanvas-toggler .burger-icon > span { background-color: var(--dk-primary); }
#sp-logo-area #offcanvas-toggler { height: 44px; }
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span { font-weight: 700; text-transform: uppercase; font-size: 15px; }
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a { color: var(--dk-primary); }

/* ------------------------------------------------------------- page title */
.sp-page-title {
  position: relative; padding: 140px 0 95px; text-align: center; color: #fff;
  background-color: var(--dk-primary); background-size: cover; background-position: center; background-repeat: no-repeat;
}
.sp-page-title::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 18, 60, .55) 0%, rgba(0, 30, 100, .55) 100%);
}
.sp-page-title > .container { position: relative; }
.sp-page-title .sp-page-title-heading {
  color: #fff; font-size: 56px; font-weight: 700; line-height: 1.15; margin: 0 0 12px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .25);
}
.sp-page-title .breadcrumb { justify-content: center; margin: 0; padding: 0; background: none; font-size: 15px; font-weight: 600; }
.sp-page-title .breadcrumb > li, .sp-page-title .breadcrumb > li > a, .sp-page-title .breadcrumb > li + li::before,
.sp-page-title .breadcrumb .divider, .sp-page-title .breadcrumb span { color: #fff; }
.sp-page-title .breadcrumb > li > a:hover { color: #fff; text-decoration: underline; }
.sp-page-title .breadcrumb > li.active { opacity: .85; }

/* --------------------------------------------------------------- sections */
#sp-main-body { padding: 0; }
.dk-section { padding: 80px 0; }
.dk-section.dk-section-head { padding-bottom: 0; }
.dk-section.dk-section-head + .dk-section { padding-top: 40px; }
.dk-section.dk-section-tight { padding-top: 30px; }
.dk-section-gray { background: var(--dk-gray); }
.dk-section .sppb-addon-heading { margin-bottom: 0; }

.dk-heading .sppb-addon-title {
  font-size: 34px; font-weight: 700; color: var(--dk-heading); text-transform: uppercase;
  letter-spacing: .01em; margin: 0 0 28px; padding-bottom: 16px; position: relative;
}
.dk-heading .sppb-addon-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 60px; height: 4px; background: var(--dk-primary);
}
.dk-heading-center .sppb-addon-title::after { left: 50%; margin-left: -30px; }
.dk-subheading { font-size: 20px; font-weight: 300; color: var(--dk-muted); margin-top: -8px; }

.dk-text, .dk-lead { font-size: 17px; }
.dk-text h4, .dk-text h5 { font-size: 21px; margin: 0 0 14px; color: var(--dk-heading); }
.dk-lead p { font-size: 20px; font-weight: 300; color: var(--dk-heading); }
.dk-text p, .dk-lead p { margin-bottom: 1.1em; }

.dk-image img { width: 100%; }
.dk-image-shadow img { box-shadow: 0 20px 45px rgba(0, 25, 80, .18); }

.dk-note {
  background: var(--dk-gray); border-left: 4px solid var(--dk-primary); padding: 22px 26px; margin: 10px 0 24px;
}
.dk-note h4 { font-size: 20px; color: var(--dk-primary); margin: 0 0 8px; }
.dk-note p { margin: 0; }

ul.dk-check { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.dk-check li { position: relative; padding: 8px 0 8px 36px; border-bottom: 1px solid var(--dk-border); }
ul.dk-check li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--dk-primary); color: #fff; font-size: 11px; line-height: 24px; text-align: center;
}

/* ---------------------------------------------------------------- buttons */
.sppb-btn, .btn { font-weight: 700; text-transform: uppercase; letter-spacing: .03em; border-radius: 0; }
.sppb-btn-lg { padding: 14px 30px; font-size: 15px; }
.sppb-btn-primary, .btn-primary { background: var(--dk-primary); border-color: var(--dk-primary); color: #fff; }
.sppb-btn-primary:hover, .sppb-btn-primary:focus, .btn-primary:hover, .btn-primary:focus {
  background: var(--dk-primary-dark) !important; border-color: var(--dk-primary-dark) !important; color: #fff;
}
.sppb-btn-outline { background: transparent; border: 2px solid var(--dk-primary); color: var(--dk-primary); }
.sppb-btn-outline:hover { background: var(--dk-primary); color: #fff; }
.dk-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.dk-buttons .sppb-btn { margin: 0; }

/* ------------------------------------------------------------ home slider */
.dk-hero .sppb-row-container, .dk-hero .sppb-container { max-width: none; padding: 0; }
.dk-hero .sppb-row { margin: 0; }
.dk-hero .sppb-row > div, .dk-hero .sppb-column { padding: 0; }
.dk-hero .sppb-addon-wrapper, .dk-hero .sppb-column-addons > * { margin: 0 !important; }
/* height only – positioning of .active/.next/.prev must stay with SPPB's carousel CSS, or slides stack during the transition */
.dk-slider .sppb-item { height: 620px; overflow: hidden; }
.dk-slider .sppb-carousel-inner { height: 620px; }
.dk-slider .sppb-item > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dk-slider .sppb-item::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0, 20, 70, .78) 0%, rgba(0, 30, 100, .45) 45%, rgba(0, 0, 0, 0) 75%);
}
/* full-slide layer that vertically centres the caption in the area below the overlapping menu bar (35px) */
.dk-slider .sppb-item.sppb-item-has-bg .sppb-carousel-item-inner {
  position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding: 35px 0 0;
}
/* caption box = the header's container, so slide text starts exactly at the logo / menu bar edge.
   SPPB lays the caption out as table/table-cell (which ignores max-width), so use plain blocks. */
.dk-slider .sppb-item.sppb-item-has-bg .sppb-carousel-item-inner > .sppb-carousel-caption {
  position: static; transform: none; display: block; height: auto;
  width: 100%; max-width: var(--dk-container); margin: 0 auto; padding: 0 15px; text-align: left;
}
.dk-slider .sppb-item.sppb-item-has-bg .sppb-carousel-item-inner > .sppb-carousel-caption > .sppb-carousel-text { display: block; max-width: 640px; width: auto; }
.dk-slider .sppb-carousel-text h2 {
  color: #fff; font-size: 54px; font-weight: 700; line-height: 1.1; margin: 0 0 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .25);
}
.dk-slider .sppb-carousel-content, .dk-slider .sppb-carousel-content p { color: rgba(255, 255, 255, .92); font-size: 20px; font-weight: 300; line-height: 1.55; }
.dk-slider .sppb-carousel-content { margin-bottom: 28px; }
.dk-slider .sppb-carousel-text .sppb-btn { background: var(--dk-primary); border: 0; color: #fff; }
.dk-slider .sppb-carousel-text .sppb-btn:hover { background: #fff !important; color: var(--dk-primary); }
.dk-slider .sppb-carousel-arrow {
  z-index: 5; top: 50%; bottom: auto; transform: translateY(-50%);
  width: 50px; height: 50px; margin: 0; padding: 0; border: 0; border-radius: 0; opacity: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .15); color: #fff; font-size: 18px; text-shadow: none; transition: background .25s;
}
.dk-slider .sppb-carousel-arrow.left { left: 20px; }
.dk-slider .sppb-carousel-arrow.right { right: 20px; left: auto; }
.dk-slider .sppb-carousel-arrow i { position: static; margin: 0; }
.dk-slider .sppb-carousel-arrow:hover { background: var(--dk-primary); color: #fff; }
.dk-slider .sppb-carousel-indicators { z-index: 5; bottom: 30px; }
.dk-slider .sppb-carousel-indicators li { width: 34px; height: 4px; border-radius: 0; border: 0; background: rgba(255, 255, 255, .45); margin: 0 4px; }
.dk-slider .sppb-carousel-indicators li.active { background: #fff; }

/* ------------------------------------------------------------ home cards */
.dk-card { display: block; background: #fff; box-shadow: 0 10px 35px rgba(0, 25, 80, .08); transition: transform .3s, box-shadow .3s; height: 100%; }
.dk-card:hover { transform: translateY(-6px); box-shadow: 0 18px 45px rgba(0, 25, 80, .16); }
.dk-card-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.dk-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.dk-card:hover .dk-card-img img { transform: scale(1.06); }
.dk-card-body { display: block; padding: 26px 28px 28px; border-top: 4px solid var(--dk-primary); }
.dk-card-title { display: block; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--dk-heading); margin-bottom: 6px; }
.dk-card-text { display: block; color: var(--dk-text); font-size: 16px; min-height: 52px; }
.dk-more { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--dk-primary); }
.dk-more i { margin-left: 6px; transition: margin .2s; }
.dk-card:hover .dk-more i { margin-left: 12px; }
.dk-cards .sppb-column { height: 100%; }

/* ------------------------------------------ SI news feed (mod_sinews, mfh style) */
.dk-news { padding-top: 70px; }
.dk-sinews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.dk-sinews-cols-1 .dk-sinews-grid { grid-template-columns: 1fr; }
.dk-sinews-cols-3 .dk-sinews-grid { grid-template-columns: repeat(3, 1fr); }
.dk-sinews-item { display: flex; gap: 24px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--dk-border); }
.dk-sinews-media {
  position: relative; flex: 0 0 200px; display: block; aspect-ratio: 16 / 11; margin-left: 16px;
  background: var(--dk-gray);
}
.dk-sinews-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: filter .3s; }
.dk-sinews-item:hover .dk-sinews-media img { filter: brightness(1.06); }
.dk-sinews-date {
  position: absolute; left: -16px; top: 16px; min-width: 76px; padding: 6px 8px 7px;
  background: var(--dk-primary); color: #fff; text-align: center; line-height: 1; box-shadow: 0 6px 16px rgba(0, 25, 80, .25);
}
.dk-sinews-day { display: block; font-size: 28px; font-weight: 700; font-style: italic; }
.dk-sinews-month { display: block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.dk-sinews-body { min-width: 0; }
.dk-sinews-title { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.dk-sinews-title a { color: var(--dk-heading); }
.dk-sinews-title a:hover { color: var(--dk-primary); }
.dk-sinews-intro { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dk-text); }
.dk-sinews-more { margin: 28px 0 0; text-align: center; }
.dk-sinews-more a { font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.dk-sinews-more a i { margin-left: 6px; transition: margin .2s; }
.dk-sinews-more a:hover i { margin-left: 12px; }
@media (max-width: 991.98px) {
  .dk-sinews-grid, .dk-sinews-cols-3 .dk-sinews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
  .dk-sinews-item { flex-direction: column; gap: 16px; }
  .dk-sinews-media { flex-basis: auto; width: calc(100% - 16px); }
}

/* -------------------------------------------------- blue band (mfh "Stofnað") */
.dk-band { position: relative; padding: 90px 0; }
.dk-band::before { content: ""; position: absolute; inset: 0; background: rgba(34, 68, 190, .88); }
.dk-band > .sppb-row-container, .dk-band > .sppb-container { position: relative; z-index: 1; }
.dk-intro-left { padding-right: 20px; }
.dk-kicker { display: block; color: #fff; font-size: 20px; font-weight: 400; margin-bottom: 8px; }
.dk-intro-left h2 { color: #fff; font-size: 36px; font-weight: 700; line-height: 1.2; margin: 0; }
.dk-intro-right { border-left: 2px solid rgba(255, 255, 255, .9); }
.dk-intro-right .sppb-column-addons { padding-left: 30px; }
.dk-intro-text, .dk-intro-text p { color: rgba(255, 255, 255, .85); font-style: italic; font-weight: 300; font-size: 18px; }
.dk-intro-btn .sppb-btn { background: var(--dk-primary); color: #fff; min-width: 180px; }
.dk-intro-btn .sppb-btn:hover { background: #fff !important; color: var(--dk-primary); }

/* ---------------------------------------------------------- CTA band */
.dk-cta { background: var(--dk-primary); padding: 55px 0; }
.dk-cta .dk-cta-title { color: #fff; font-size: 30px; margin: 0 0 8px; }
.dk-cta p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 17px; }
.dk-cta-btn .sppb-btn { background: #fff; color: var(--dk-primary); border: 2px solid #fff; }
.dk-cta-btn .sppb-btn:hover { background: transparent !important; color: #fff; }

/* ------------------------------------------------------------- contact */
.dk-contact-info h2 { font-size: 34px; text-transform: uppercase; margin: 0 0 6px; }
.dk-contact-info .dk-lead { font-size: 19px; color: var(--dk-muted); margin-bottom: 26px; }
.dk-contact-info ul { list-style: none; margin: 0; padding: 0; }
.dk-contact-info li { display: flex; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--dk-border); }
.dk-contact-info li > i {
  flex: 0 0 48px; height: 48px; line-height: 48px; text-align: center; margin-right: 16px;
  background: var(--dk-primary); color: #fff; font-size: 17px;
}
.dk-contact-info li small { display: block; color: var(--dk-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.dk-contact-info li span { color: var(--dk-heading); font-weight: 600; font-size: 17px; }
.dk-form { background: #fff; padding: 38px 40px 30px; box-shadow: 0 10px 35px rgba(0, 25, 80, .08); border-top: 4px solid var(--dk-primary); }
.dk-form .sppb-addon-title { font-size: 26px; text-transform: uppercase; margin-bottom: 22px; }
.dk-form .sppb-form-control, .dk-form input[type=text], .dk-form input[type=email], .dk-form textarea {
  border-radius: 0; border: 1px solid var(--dk-border); background: var(--dk-gray); padding: 12px 16px; font-size: 16px;
}
.dk-form .sppb-form-control:focus { border-color: var(--dk-primary); background: #fff; box-shadow: none; }

/* ------------------------------------------------ Hafa samband page (mfh style) */
.dk-contact-box {
  display: flex; align-items: center; gap: 20px; height: 100%;
  padding: 26px 28px; background: #fff; border: 1px solid var(--dk-border); transition: box-shadow .25s, border-color .25s;
}
.dk-contact-box:hover { border-color: transparent; box-shadow: 0 12px 35px rgba(0, 25, 80, .1); }
.dk-contact-box-icon {
  flex: 0 0 58px; width: 58px; height: 58px; line-height: 58px; text-align: center; border-radius: 50%;
  background: rgba(0, 51, 153, .08); color: var(--dk-primary); font-size: 22px;
}
.dk-contact-box h3 { font-size: 20px; margin: 0 0 2px; }
.dk-contact-box p { margin: 0; color: var(--dk-text); }
.dk-contact-box a { color: var(--dk-text); }
.dk-contact-box a:hover { color: var(--dk-primary); }
.dk-contact-page .dk-form { height: 100%; }
.dk-contact-text h3 { font-size: 26px; text-transform: uppercase; margin: 0 0 6px; }
.dk-contact-text .dk-lead-sm { font-size: 19px; color: var(--dk-muted); margin-bottom: 18px; }
.dk-contact-text p { margin-bottom: 8px; }
.dk-map { margin-top: 24px; }
.dk-map .sppb-addon-openstreetmap, .dk-map .leaflet-container { border-top: 4px solid var(--dk-primary); box-shadow: 0 10px 35px rgba(0, 25, 80, .08); }
@media (max-width: 991.98px) {
  .dk-contact-box { margin-bottom: 16px; height: auto; }
  .dk-contact-page .sppb-col-md-6 + .sppb-col-md-6 { margin-top: 30px; }
}

/* ------------------------------------------------------ Um félagið cards */
.dk-info-card { background: #fff; height: 100%; box-shadow: 0 10px 35px rgba(0, 25, 80, .08); }
.dk-info-img { aspect-ratio: 4 / 3; overflow: hidden; }
.dk-info-img img { width: 100%; height: 100%; object-fit: cover; }
.dk-info-body { padding: 26px 28px 30px; border-top: 4px solid var(--dk-primary); }
.dk-info-body h3 { font-size: 24px; text-transform: uppercase; margin: 0 0 12px; }
.dk-info-body p { margin: 0; }

.dk-timeline .sppb-addon-timeline .timeline-badge,
.dk-timeline .timeline-badge { background: var(--dk-primary) !important; border-color: #fff; }
.dk-timeline .timeline-panel, .dk-timeline .sppb-timeline-panel { background: #fff; box-shadow: 0 8px 25px rgba(0, 25, 80, .08); padding: 22px 24px; }
.dk-timeline .timeline-panel .title { font-size: 21px; font-weight: 700; color: var(--dk-heading); }
.dk-timeline .timeline-date, .dk-timeline .sppb-timeline-date { color: var(--dk-primary); font-weight: 700; font-size: 18px; }

.dk-people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.dk-person { text-align: center; background: #fff; padding: 30px 18px 26px; box-shadow: 0 10px 35px rgba(0, 25, 80, .08); border-bottom: 4px solid var(--dk-primary); }
.dk-person-icon {
  display: inline-block; width: 74px; height: 74px; line-height: 74px; border-radius: 50%;
  background: var(--dk-gray); color: var(--dk-primary); font-size: 28px; margin-bottom: 16px;
}
.dk-person h3 { font-size: 19px; margin: 0 0 4px; }
.dk-person-role { display: block; color: var(--dk-primary); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .06em; margin-bottom: 12px; }
.dk-person a { display: block; font-size: 15px; word-break: break-word; }
.dk-person a i { color: var(--dk-muted); margin-right: 4px; font-size: 13px; }

/* ------------------------------------------------------------ members */
.dk-members { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.dk-member { background: #fff; padding: 24px 24px 18px; box-shadow: 0 8px 25px rgba(0, 25, 80, .07); border-top: 4px solid var(--dk-primary); }
.dk-member h3 { font-size: 19px; margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--dk-border); }
.dk-member ul { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.dk-member li { position: relative; padding: 3px 0 3px 24px; word-break: break-word; }
.dk-member li i { position: absolute; left: 0; top: 8px; color: var(--dk-primary); font-size: 13px; width: 16px; text-align: center; }

/* ---------------------------------------------------------------- tabs */
.dk-tabs .sppb-nav-tabs { border: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 0; }
.dk-tabs .sppb-nav-tabs > li { margin: 0; }
.dk-tabs .sppb-nav-tabs > li > a {
  display: block; border: 0; border-radius: 0; margin: 0; padding: 13px 20px; background: #fff;
  color: var(--dk-heading); font-weight: 700; font-size: 15px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0, 25, 80, .06);
}
.dk-tabs .sppb-nav-tabs > li > a:hover { color: var(--dk-primary); }
.dk-tabs .sppb-nav-tabs > li.active > a, .dk-tabs .sppb-nav-tabs > li.active > a:hover { background: var(--dk-primary); color: #fff; }
.dk-tabs .sppb-tab-content { background: #fff; padding: 34px 36px; border-top: 4px solid var(--dk-primary); box-shadow: 0 10px 35px rgba(0, 25, 80, .08); }
.dk-tabs .sppb-tab-content p { margin-bottom: 1em; }
.dk-tabs .sppb-tab-content img { display: inline-block; margin: 6px; max-width: calc(33.333% - 12px); }
.dk-section:not(.dk-section-gray) .dk-tabs .sppb-nav-tabs > li > a { background: var(--dk-gray); box-shadow: none; }
.dk-tabs .sppb-nav-tabs > li.active > a, .dk-tabs .sppb-nav-tabs > li > a.active,
.dk-section:not(.dk-section-gray) .dk-tabs .sppb-nav-tabs > li.active > a,
.dk-section:not(.dk-section-gray) .dk-tabs .sppb-nav-tabs > li > a.active { background: var(--dk-primary); color: #fff; }
.dk-section:not(.dk-section-gray) .dk-tabs .sppb-tab-content { box-shadow: none; background: var(--dk-gray); }

/* --------------------------------------------- Verklýsingar downloads (mfh "Lög MFH") */
.dk-downloads { margin-bottom: 30px; }
.dk-download {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--dk-primary); color: #fff; padding: 20px 24px; margin-bottom: 14px;
  font-weight: 700; font-size: 18px; line-height: 1.3; border-radius: 6px; transition: background .25s;
}
.dk-download i { font-size: 26px; }
.dk-download:hover, .dk-download:focus { background: var(--dk-primary-dark); color: #fff; }

/* --------------------------------------------------------- link boxes */
.dk-linkbox { background: #fff; padding: 28px 30px; height: 100%; box-shadow: 0 10px 35px rgba(0, 25, 80, .08); border-top: 4px solid var(--dk-primary); }
.dk-linkbox h3 { font-size: 22px; margin: 0 0 16px; text-transform: uppercase; }
.dk-linkbox ul { list-style: none; margin: 0; padding: 0; }
.dk-linkbox li { border-bottom: 1px solid var(--dk-border); }
.dk-linkbox li:last-child { border-bottom: 0; }
/* hover: the whole row becomes a filled blue bar; chevron slides, external-link icon fades in */
.dk-linkbox a {
  display: flex; align-items: center; gap: 12px; position: relative;
  padding: 9px 36px 9px 12px; margin: 0 -12px; border-radius: 4px;
  color: var(--dk-heading); font-weight: 600; line-height: 1.35;
  transition: background-color .25s ease, color .25s ease;
}
.dk-linkbox a::before {
  content: "\f105"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
  flex: 0 0 22px; width: 22px; height: 22px; line-height: 22px; text-align: center; font-size: 11px; border-radius: 50%;
  background: rgba(0, 51, 153, .1); color: var(--dk-primary);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.dk-linkbox a::after {
  content: "\f35d"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: 11px;
  position: absolute; right: 12px; top: 50%; transform: translate(-6px, -50%); opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}
.dk-linkbox a:hover, .dk-linkbox a:focus-visible { background: var(--dk-primary); color: #fff; }
.dk-linkbox a:hover::before, .dk-linkbox a:focus-visible::before { background: rgba(255, 255, 255, .2); color: #fff; transform: translateX(2px); }
.dk-linkbox a:hover::after, .dk-linkbox a:focus-visible::after { opacity: .85; transform: translate(0, -50%); }
.dk-linkbox li:has(a:hover) { border-bottom-color: transparent; }
.dk-linkbox li:has(+ li a:hover) { border-bottom-color: transparent; }
.dk-section:not(.dk-section-gray) .dk-linkbox { background: var(--dk-gray); box-shadow: none; }

/* ----------------------------------------------------------- partners */
/* mid-tone band (as on the old site) so both the light and the dark partner logos read well */
#sp-bottom { background: #8da2cc; padding: 45px 0; }
#sp-bottom .sp-module { margin: 0; }
.dk-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 38px; }
.dk-partners a { display: block; }
.dk-partners img { max-height: 62px; max-width: 128px; width: auto; transition: transform .3s; }
.dk-partners a:hover img { transform: scale(1.07); }

/* ------------------------------------------------------------- footer */
#sp-footer { background: #f5f5f5; color: var(--dk-text); font-size: 14px; padding: 0; text-align: left; }
#sp-footer .container-inner { padding: 45px 0; border-top: 0; }
#sp-footer .row { align-items: center; }
#sp-footer .sp-module { margin: 0; }
.dk-footer-logo img { height: 60px; width: auto; }
.dk-footer-info { text-align: left; }
.dk-footer-info p { margin: 0 0 6px; }
.dk-footer-info strong { color: var(--dk-heading); }
#sp-footer3 .sp-column { display: flex; flex-direction: column; align-items: flex-start; }
.dk-footer-si img { height: 42px; width: auto; margin-bottom: 10px; }
#sp-footer .sp-copyright { font-size: 13px; color: var(--dk-muted); }

.sp-scroll-up { background: var(--dk-primary); color: #fff; border-radius: 50%; }
.sp-scroll-up:hover { background: var(--dk-primary-dark); color: #fff; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
  .dk-hc-item { padding: 4px 16px; }
  .dk-people { grid-template-columns: repeat(3, 1fr); }
  .dk-members { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  #sp-logo-area { padding: 14px 0; box-shadow: 0 2px 12px rgba(0, 25, 80, .08); }
  .sp-page-title { padding: 80px 0 60px; }
  .sp-page-title .sp-page-title-heading { font-size: 38px; }
  .dk-slider .sppb-item, .dk-slider .sppb-carousel-inner { height: 480px; }
  .dk-slider .sppb-carousel-text h2 { font-size: 38px; }
  .dk-slider .sppb-carousel-content, .dk-slider .sppb-carousel-content p { font-size: 18px; }
  .dk-section { padding: 60px 0; }
  .dk-intro-right { border-left: 0; margin-top: 20px; }
  .dk-intro-right .sppb-column-addons { padding-left: 0; }
  .dk-members { grid-template-columns: repeat(2, 1fr); }
  .dk-cards .sppb-column, .dk-info-card { margin-bottom: 24px; height: auto; }
  .dk-cta .sppb-text-right { text-align: left; margin-top: 18px; }
  #sp-footer .container-inner { text-align: center; }
  #sp-footer .sp-column, #sp-footer3 .sp-column { align-items: center; margin-bottom: 14px; }
  .dk-footer-logo img { margin: 0 auto; }
}
@media (max-width: 767.98px) {
  .dk-slider .sppb-item, .dk-slider .sppb-carousel-inner { height: 440px; }
  .dk-slider .sppb-carousel-text h2 { font-size: 30px; }
  .dk-heading .sppb-addon-title, .dk-contact-info h2 { font-size: 27px; }
  .dk-people { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dk-members { grid-template-columns: 1fr; }
  .dk-form { padding: 28px 22px; }
  .dk-tabs .sppb-tab-content { padding: 24px 20px; }
  .dk-tabs .sppb-tab-content img { max-width: calc(50% - 12px); }
  .dk-partners img { max-height: 48px; max-width: 130px; }
}
@media (max-width: 479.98px) {
  .dk-people { grid-template-columns: 1fr; }
}
