@import url("sart-icons.css");
@import url("sart-legacy.css");
/*
 * Félag starter – 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 > .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; }
}

/* ======================================================================
 * SÍK (producers.is) theme, ported from the SART one – overrides the starter look to match the old
 * ts_insurex site: navy #010654, light grey footer, date badges.
 * ====================================================================== */
:root {
  --dk-primary: #010654;
  --dk-primary-dark: #010654;
  --dk-primary-light: #2323b8;
  --dk-heading: #252a37;
  --dk-text: #212529;
  --sart-accent: #010654;
  --sart-red: #d9322b;
}
body { color: var(--dk-text); }

/* header: contact block + "Mínar síður" button */
.sart-hc-login { border-left: 0 !important; padding-right: 0; }
.sart-login-btn {
  display: inline-flex !important; align-items: center; gap: 6px; background: var(--sart-accent);
  color: #fff !important; font-weight: 700; font-size: 15px !important; padding: 12px 24px; border-radius: 3px; white-space: nowrap;
}
.sart-login-btn:hover { background: var(--dk-primary); color: #fff; }
.sart-login-btn i { color: #fff !important; font-size: 13px !important; margin: 0 !important; width: auto !important; }

/* menu bar: the old site had no underline/darkening on the active item */
#sp-header .sp-megamenu-parent > li > a::after { display: none; }
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li:hover > a { background: rgba(255, 255, 255, .08); }
#sp-header .sp-megamenu-parent > li > a, #sp-header .sp-megamenu-parent > li > span { padding: 0 15px; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a { color: #2c2d30; font-weight: 600; }
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a { color: var(--sart-accent); }

/* buttons as on the old site (no forced uppercase, slightly rounded) */
.sppb-btn, .btn { text-transform: none; letter-spacing: 0; border-radius: 3px; }
.sppb-btn-danger { background: var(--sart-red); border-color: var(--sart-red); }

/* hero slider: the old slides carry their own colouring – no dark overlay */
.dk-slider .sppb-item::before { background: linear-gradient(90deg, rgba(0, 0, 40, .35) 0%, rgba(0, 0, 0, 0) 60%); }
@media (min-width: 992px) { .dk-slider .sppb-carousel-text h2 { font-size: 56px; } }
.dk-slider .sppb-carousel-text .sppb-btn { background: var(--sart-accent); }

/* section titles on the home page ("FRÉTTIR", "FRÉTTIR AF ÖÐRUM VEFJUM") */
.sart-articles > .sppb-addon-title, .sart-sinews .sppb-addon-title, .sppb-addon-module .sppb-addon-title {
  font-size: 20px; font-weight: 700; text-transform: uppercase; color: var(--dk-heading); margin: 0 0 30px;
}

/* SART news (articles addon override) – image with day/month badge, title, one intro line */
.sart-articles-grid { display: grid; grid-template-columns: repeat(var(--sart-cols, 1), minmax(0, 1fr)); gap: 30px; }
.sart-article-img { position: relative; display: block; overflow: hidden; }
/* 3:2 like the old site (540x360) – the news images are 1536x1024, so the text baked into them stays fully visible */
.sart-article-img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s; }
.sart-article:hover .sart-article-img img { transform: scale(1.04); }
.sart-date {
  position: absolute; left: 20px; bottom: 20px; min-width: 52px; padding: 6px 8px; text-align: center; line-height: 1;
  background: var(--dk-primary); color: #fff;
}
.sart-day { display: block; font-size: 24px; font-weight: 700; font-style: italic; }
.sart-month { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.sart-article-body { padding: 20px 20px 0; }
.sart-article-title { font-size: 17px; line-height: 1.4; margin: 0 0 4px; }
.sart-article-title a { color: var(--dk-heading); }
.sart-article-title a:hover { color: var(--dk-primary); }
.sart-article-intro { margin: 0; font-size: 14px; color: #555; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* phones: one card per row instead of the builder's column count (3 columns squeezed the titles to 2-3 words a line) */
@media (max-width: 767.98px) {
  .sart-articles-grid { grid-template-columns: minmax(0, 1fr); }
  .sart-article-body { padding: 16px 0 0; }
}

/* si.is news column on the home page */
.sart-sinews .dk-sinews-item { padding: 18px 0; }
.sart-sinews .dk-sinews-media { flex-basis: 180px; }
.sart-sinews .dk-sinews-title { font-size: 17px; }
.sart-sinews .dk-sinews-intro { font-size: 13px; }

/* feature boxes with the old icon font */
.sppb-feature-box-icon .sico, .sppb-icon .sico { font-size: inherit; }

/* footer: 4 columns on light grey, as on the old site */
#sp-bottom { background: #f5f5f5; color: var(--dk-heading); padding: 60px 0 40px; font-size: 16px; line-height: 30px; }
#sp-bottom .sp-module { margin-bottom: 20px; }
#sp-bottom .sp-module .sp-module-title, #sp-bottom h3.sp-module-title { font-size: 20px; font-weight: 700; color: var(--dk-heading); margin: 0 0 20px; }
#sp-bottom p, #sp-bottom li { color: var(--dk-heading); font-size: 16px; line-height: 30px; } /* as the old site: 16px/30px, dark text */
#sp-bottom a { color: #8f8f8f; }
#sp-bottom a:hover { color: var(--dk-primary); }
#sp-bottom ul.menu { list-style: none; margin: 0; padding: 0; }
#sp-bottom ul.menu li a { display: block; padding: 2px 0; }
#sp-footer { background: #f5f5f5; border-top: 1px solid #e5e5e5; }
#sp-footer .container-inner { padding: 22px 0; }
#sp-footer .sp-copyright, #sp-footer .sp-copyright a { font-size: 14px; color: #8f8f8f; }
@media (max-width: 991.98px) {
  .sart-login-btn { padding: 10px 16px; }
}

/* ---------------------------------------- Bráða- og neyðarþjónusta (com_emergencyservices) */
.emergency-services { padding: 40px 0 70px; }
.emergency-services .page-header h1 { font-size: 40px; margin: 0 0 24px; }
.es-filters {
  display: flex; flex-wrap: wrap; gap: 16px 20px; align-items: flex-end; margin: 26px 0 30px; padding: 20px;
  background: #f8f9fa; border: 1px solid #dee2e6; border-radius: 8px;
}
.es-filter-group { display: flex; flex-direction: column; gap: 6px; }
.es-filter-group label { font-weight: 600; font-size: 14px; color: #495057; }
.es-filter-group .form-select { min-width: 220px; font-size: 14px; }
.es-btn-clear { background: #dc3545; border-color: #dc3545; color: #fff; font-size: 14px; }
.es-btn-clear:hover { background: #c82333; color: #fff; }
.es-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.es-card { background: #fff; border: 1px solid #e9ecef; border-radius: 8px; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, .05); transition: box-shadow .2s, transform .2s; }
.es-card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.es-card-head { border-bottom: 1px solid #e9ecef; padding-bottom: 10px; margin-bottom: 15px; }
.es-name { color: #2563eb; font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.es-id { color: #6c757d; font-size: 13px; }
.es-info { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.es-info-item { display: flex; gap: 8px; align-items: baseline; }
.es-info-item i { color: #6c757d; width: 14px; flex-shrink: 0; font-size: 13px; }
.es-info-item a { color: #2563eb; word-break: break-all; }
.es-services { padding-left: 22px; font-weight: 700; color: #495057; }
.es-contacts { border-top: 1px solid #e9ecef; margin-top: 15px; padding-top: 15px; font-size: 14px; }
.es-contacts h4 { font-size: 16px; margin: 0 0 10px; color: #495057; }
.es-contacts h4 i { color: #6c757d; font-size: 13px; }
.es-contact { margin-bottom: 10px; }
.es-contact strong { display: block; color: #495057; }
.es-contact a { color: #2563eb; }
@media (max-width: 1199.98px) { .es-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .es-grid { grid-template-columns: 1fr; } .es-filters { flex-direction: column; align-items: stretch; } }

/* ------------------------------------------------ Leitarvél þjónustuaðila (com_serviceproviders) */
.sp-directory, .sp-company { padding: 50px 0 70px; }
.sp-heading { font-size: 34px; font-weight: 400; color: #a52a2a; margin: 0 0 24px; }
.sp-intro p { font-size: 14px; margin: 0 0 8px; }
.sp-search { margin-top: 26px; max-width: 800px; }
.sp-search-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 120px; padding: 0 30px; }
.sp-search-grid label { display: block; font-size: 14px; margin-bottom: 6px; }
.sp-search-grid .form-control, .sp-search-grid .form-select { max-width: 240px; font-size: 14px; border-radius: 0; }
.sp-services-hint { font-size: 14px; margin: 26px 0 6px; padding: 0 14px 8px; border-bottom: 1px solid #555; }
.sp-services { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 14px; padding: 0 30px; font-size: 14px; }
.sp-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sp-btn { background: #a52a2a; color: #fff; border-radius: 0; font-size: 14px; padding: 8px 14px; margin: 22px 0 0 4px; }
.sp-btn:hover { background: #8b1f1f; color: #fff; }
.sp-results-count { margin: 20px 0; padding: 12px 14px; background: #f2f2f2; border: 1px solid #e3e3e3; color: #010654; font-size: 14px; }
.sp-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sp-card { display: flex; gap: 18px; padding: 18px 20px; background: #fff; border: 1px solid #e6e8ee; border-left: 4px solid var(--dk-primary); }
.sp-card-logo:empty { display: none; }
.sp-card-logo img { width: 110px; height: auto; }
.sp-card h3 { font-size: 18px; margin: 0 0 4px; }
.sp-card h3 a { color: var(--dk-heading); }
.sp-card h3 a:hover { color: var(--dk-primary); }
.sp-address { font-size: 14px; color: #666; margin: 0 0 6px; }
.sp-contact { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.sp-contact li { display: flex; gap: 8px; align-items: baseline; word-break: break-word; }
.sp-contact i { color: var(--dk-primary); width: 14px; font-size: 12px; flex-shrink: 0; }
.sp-company-head { display: flex; gap: 30px; align-items: flex-start; margin-bottom: 30px; }
.sp-company-logo img { max-width: 220px; height: auto; }
.sp-company h2 { font-size: 32px; margin: 0 0 10px; }
.sp-company h3 { font-size: 20px; margin: 24px 0 12px; }
.sp-service-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-service-tags li { background: #f0f1f7; color: var(--dk-primary); padding: 5px 12px; font-size: 14px; font-weight: 600; }
.sp-description { margin-top: 24px; }
@media (max-width: 767.98px) {
  .sp-search-grid, .sp-results { grid-template-columns: 1fr; gap: 16px; padding: 0; }
  .sp-services { grid-template-columns: 1fr; padding: 0; }
  .sp-company-head { flex-direction: column; }
}

/* ---------------------------------------------------------- Félagatal (mod_felagatal) */
.felagatal-tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 24px; padding: 0; border-bottom: 1px solid #e5e5e5; }
.felagatal-tabs button {
  background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 14px; margin-bottom: -1px;
  color: #d9322b; font-weight: 700; font-size: 14px; cursor: pointer;
}
.felagatal-tabs button:hover { color: var(--dk-primary); }
.felagatal-tabs button.active { color: var(--dk-heading); border-bottom-color: var(--dk-primary); }
.felagatal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 26px; }
.felagatal-card h2 { font-size: 15px; font-weight: 700; color: #000; margin: 0 0 6px; padding-bottom: 5px; border-bottom: 1px solid #d1d1d1; }
.felagatal-card p { font-size: 13px; line-height: 1.6; margin: 0 0 22px; color: #000; word-break: break-word; }
.felagatal-card a { color: #095088; }
@media (max-width: 1199.98px) { .felagatal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .felagatal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .felagatal-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ news section (Fréttir) */
.view-category.layout-blog #sp-main-body, .view-article #sp-main-body { padding: 70px 0; }
.blog .article-list .article, .blog-items .blog-item, .com-content-category-blog__item {
  background: #f5f5f5; padding: 0 0 30px; margin-bottom: 40px;
}
.com-content-category-blog__item .article-body, .blog .article-list .article .article-body { padding: 0 30px; }
.com-content-category-blog__item .article-header h2, .blog .article-header h2 { font-size: 26px; margin-top: 26px; }
#sp-right .sp-module { background: #fff; border: 1px solid #ececec; padding: 24px; margin-bottom: 30px; }
#sp-right .sp-module-title {
  font-size: 18px; font-weight: 700; color: var(--dk-heading); margin: 0 0 18px; padding-left: 12px; border-left: 3px solid var(--dk-primary);
}
.sart-latest { list-style: none; margin: 0; padding: 0; }
#sp-right .sart-latest li, .sart-latest li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
#sp-right .sart-latest li + li { border-top: 1px solid #eee; }
.sart-latest-img { flex: 0 0 90px; }
.sart-latest-img img { width: 90px; height: 64px; object-fit: cover; display: block; }
.sart-latest-title { font-size: 14px; font-weight: 700; line-height: 1.35; color: var(--dk-heading); }
.sart-latest-title:hover { color: var(--dk-primary); }
.sart-si-feed ul, .sart-si-feed .newsfeed { list-style: none; margin: 0; padding: 0; }
.sart-si-feed li { padding: 9px 0; border-bottom: 1px solid #eee; font-size: 14px; font-weight: 700; line-height: 1.35; }
.sart-si-feed li a { color: var(--dk-heading); }
.sart-si-feed li a:hover { color: var(--dk-primary); }
#sp-right .mod-finder .input-group .btn, #sp-right .awesomplete + .btn { background: var(--dk-primary); color: #fff; }
/* beat Helix's ".sp-module ul > li / > a" list styles */
#sp-right .sp-module ul.sart-latest > li { display: flex; flex-wrap: nowrap; }
#sp-right .sp-module ul.sart-latest > li > a { line-height: 1.35; padding: 0; }
#sp-right .sp-module ul.sart-latest > li > a.sart-latest-img { flex: 0 0 90px; }
#sp-right .sp-module ul.sart-latest > li > a.sart-latest-title { min-width: 0; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ cookie notice */
.sart-cookie {
  position: fixed; right: 20px; bottom: 20px; z-index: 9999; max-width: 390px; padding: 20px 22px;
  background: var(--bg); color: var(--fg); font-size: 15px; line-height: 1.6; box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.sart-cookie[hidden] { display: none; }
.sart-cookie p { margin: 0 0 14px; color: var(--fg); }
.sart-cookie a { color: var(--link); text-decoration: underline; }
.sart-cookie-btn { background: var(--btn-bg); color: var(--btn-fg); border: 0; padding: 7px 14px; font-weight: 700; font-size: 14px; cursor: pointer; }
@media (max-width: 575.98px) { .sart-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* mobile: keep wide carousels / negative-margin rows from widening the page */
.owl-stage-outer { overflow: hidden; }
html, body { overflow-x: clip; }

/* footer "Um okkur" menu: 30px per item as on the old site (Helix adds a 15px bottom margin to list items) */
#sp-bottom .sp-module ul.menu > li { margin: 0; padding: 0; }
#sp-bottom .sp-module ul.menu > li > a { padding: 0; line-height: 30px; }

/* ---------------------------------------------------------- main menu dropdowns (as on the old site) */
/* the starter clipped the boxed menu bar, which also hid every dropdown */
#sp-header > .container > .container-inner { overflow: visible; }
/* dropdown arrow on items with children (Helix draws it with ::after, which the underline rule above hid) */
#sp-header .sp-megamenu-parent > li.sp-has-child > a::after,
#sp-header .sp-megamenu-parent > li.sp-has-child > span::after {
  display: inline-block; position: static; content: "\f107"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900; font-size: 13px; margin-left: 6px; background: none; height: auto; width: auto; transform: none;
}
#sp-header .sp-megamenu-parent .sp-dropdown { margin-top: 0; top: 100%; }
#sp-header .sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background: #fff; padding: 20px; border-radius: 0; box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
#sp-header .sp-megamenu-parent .sp-mega-group li.sp-menu-item > a {
  display: block; padding: 0; line-height: 40px; font-size: 14px; font-weight: 600; text-transform: uppercase;
  color: #252525; background: none;
}
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
#sp-header .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a { color: var(--sart-accent); background: none; }

/* links as on the old site (ts_insurex colour preset): red, blue on hover – readable on white and on navy boxes */
a { color: #cc3333; }
a:hover, a:focus { color: #044cd0; }

/* page builder buttons as on the old site: 15px 50px, semibold (the hero slider keeps its own button) */
.sp-page-builder .sppb-btn:not(.sppb-carousel-text .sppb-btn) { padding: 15px 50px; font-weight: 600; line-height: 1.33; }

/* ------------------------------------------------ tabs, as on the old site (Félagatal, Eldri félagar, Nýir félagsmenn)
   plain red bold labels on one line, grey rule underneath; one style for SPPB "tabs" and the Félagatal module */
.sppb-tabs-tab .sppb-nav-tabs, .felagatal-tabs {
  display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; border: 0; border-bottom: 1px solid #e5e5e5;
}
.sppb-tabs-tab .sppb-nav-tabs > li, .felagatal-tabs > li { margin: 0 0 -1px; border: 0; background: none; }
.sppb-tabs-tab .sppb-nav-tabs > li > a, .felagatal-tabs button {
  display: block; margin: 0; padding: 12px 15px; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: #cc3333; font-size: 14px; font-weight: 700; line-height: 20px; text-transform: none; cursor: pointer;
}
.sppb-tabs-tab .sppb-nav-tabs > li > a:hover, .sppb-tabs-tab .sppb-nav-tabs > li > a:focus,
.felagatal-tabs button:hover, .felagatal-tabs button:focus { color: #044cd0; background: none; border: 0; }
.sppb-tabs-tab .sppb-nav-tabs > li.active > a, .sppb-tabs-tab .sppb-nav-tabs > li > a.active,
.felagatal-tabs button.active { color: #cc3333; background: none; border: 0; }
.sppb-tabs-tab .sppb-tab-content, .felagatal-pane { margin-top: 15px; padding: 0; border: 0; background: none; box-shadow: none; }
.felagatal-tabs { margin-bottom: 0; }
/* Félagatal cards: same typography as the exported cards on Eldri félagar (old export.php inline styles) */
.felagatal-card h2 { font-size: 15px; font-weight: 700; color: #000; }
.felagatal-card p { font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 20px; color: #000; }
.felagatal-card a { color: #095088; }
.felagatal-card a:hover { color: #044cd0; }

/* ------------------------------------------------ Fréttir (blog) as on the old site: grey cards, big titles */
.blog .article-list .article { background: #f5f5f5; padding: 0 0 44px; margin-bottom: 50px; border: 0; }
.blog .article-list .article-intro-image { float: none !important; margin: 0 0 30px; }
.blog .article-list .article-intro-image img { display: block; width: 100%; height: auto; }
.blog .article-list .article-body { padding: 0 45px; }
.blog .article-list .article-header h2 { font-size: 30px; line-height: 36px; font-weight: 700; margin: 0 0 20px; }
.blog .article-list .article-header h2 a { color: #252a37; }
.blog .article-list .article-header h2 a:hover { color: #cc3333; }
.blog .article-list .article-info { font-size: 13px; margin: 0 0 16px; }
.blog .article-list .article-intro, .blog .article-list .article-introtext { font-size: 16px; line-height: 30px; }
.blog .article-list .readmore { margin-top: 10px; }
/* page numbers: round, navy active page */
.com-content-category-blog__pagination .pagination { gap: 6px; flex-wrap: wrap; }
.com-content-category-blog__pagination .page-link { border-radius: 50% !important; min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; padding: 0; color: #252a37; border: 1px solid #f1f1f1; }
.com-content-category-blog__pagination .active > .page-link, .com-content-category-blog__pagination .page-link:hover { background: #010654; border-color: #010654; color: #fff; }
.com-content-category-blog__counter { font-size: 14px; color: #666; }
/* sidebar search: one line, square search button (as on the old site) */
#sp-right .mod-finder__search.input-group { flex-wrap: nowrap; }
#sp-right .mod-finder__search .form-control { border-radius: 0; font-size: 14px; height: 46px; }
#sp-right .mod-finder__search .btn { flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border-radius: 0; font-size: 0; background: #010654; border-color: #010654; }
#sp-right .mod-finder__search .btn .icon-search { font-size: 16px; margin: 0; color: #fff; }
@media (max-width: 767.98px) {
  .blog .article-list .article-body { padding: 0 20px; }
  .blog .article-list .article-header h2 { font-size: 24px; line-height: 30px; }
}

/* ------------------------------------------------ search page (com_finder, hidden menu item "Leit")
   grey search panel like the Fréttir cards, results as a divided list, navy round pagination */
div.com-finder { padding: 60px 0 80px; }
.com-finder__form { background: #f5f5f5; padding: 30px; margin-bottom: 30px; }
.com-finder__search { margin: 0 !important; }
.com-finder__search .form-inline > label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.com-finder__search .input-group { flex-wrap: nowrap; }
.com-finder__search .awesomplete { flex: 1 1 auto; }
.com-finder__search .form-control {
  height: 54px; border: 1px solid #e1e1e1; border-radius: 0 !important; padding: 0 20px; font-size: 16px; background: #fff;
}
.com-finder__search .form-control:focus { border-color: #010654; box-shadow: none; }
.com-finder__search .btn {
  display: inline-flex; align-items: center; gap: 8px; height: 54px; padding: 0 26px; border-radius: 0 !important;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.com-finder__search .btn-primary { background: #010654; border-color: #010654; color: #fff; }
.com-finder__search .btn-primary:hover { background: #010654; border-color: #010654; }
.com-finder__search .btn-secondary { background: #fff; border: 1px solid #e1e1e1; border-left: 0; color: #252a37; }
.com-finder__search .btn-secondary:hover, .com-finder__search .btn-secondary[aria-expanded="true"] { background: #fff; color: #cc3333; }
.com-finder__search .btn [class^="icon-"] { margin: 0; }
/* advanced search: tips as plain text, filters in two columns */
.com-finder__advanced { margin-top: 24px; }
.com-finder__tips { border: 0; border-left: 3px solid #010654; border-radius: 0; background: #fff; font-size: 14px; line-height: 1.6; }
.com-finder__tips .card-body { padding: 16px 20px; }
.com-finder__tips p { margin: 0 0 4px; }
.com-finder__tips p:last-child { margin: 0; }
.com-finder__filter .filter-branch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.com-finder__filter .control-group { margin: 0; }
.com-finder__filter label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: #252a37; }
.com-finder__filter .form-select { height: 46px; border: 1px solid #e1e1e1; border-radius: 0; font-size: 14px; }
/* query explanation / no results */
.com-finder__explained { margin: 0 0 10px; font-size: 15px; color: #666; }
.com-finder__explained a, .com-finder__explained span { color: inherit; }
div.com-finder #search-result-empty { padding: 40px 30px; background: #f5f5f5; text-align: center; }
div.com-finder #search-result-empty h2 { font-size: 22px; margin-bottom: 8px; }
/* results */
.com-finder__results-list { list-style: none; margin: 0; padding: 0; }
.com-finder__results-list .result__item { margin: 0; padding: 28px 0; border: 0; border-bottom: 1px solid #e5e5e5; }
.com-finder__results-list .result__item:first-child { padding-top: 16px; }
.com-finder__results-list .result__title { margin: 0 0 10px; }
.com-finder__results-list .result__title-link { display: block; color: #252a37; }
.com-finder__results-list .result__title-text { display: block; font-size: 22px; line-height: 1.35; font-weight: 700; color: inherit; }
.com-finder__results-list .result__title-link:hover { color: #cc3333; }
.com-finder__results-list .result__title-url { display: block; margin-top: 4px; font-size: 13px; font-style: normal; color: #8a8fa0; word-break: break-all; }
.com-finder__results-list .result__description { margin: 0 0 12px; font-size: 15px; line-height: 1.7; color: #4a4f5c; }
.com-finder__results-list .result__date { font-size: 14px; font-weight: 600; color: #010654; }
.com-finder__results-list mark { padding: 0 2px; background: #fff1a8; color: inherit; }
.com-finder__results-list .result__taxonomy { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.com-finder__results-list .result__taxonomy-item { margin: 0; padding: 3px 12px; background: #f5f5f5; font-size: 12px; color: #666; }
.com-finder__results-list .result__taxonomy-item::before, .com-finder__results-list .result__taxonomy-item::after { display: none; }
/* pagination: same round page numbers as the Fréttir list */
.com-finder__navigation { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.com-finder__pagination .pagination { justify-content: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.com-finder__pagination .page-link { border-radius: 50% !important; min-width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; padding: 0; color: #252a37; border: 1px solid #f1f1f1; }
.com-finder__pagination .active > .page-link, .com-finder__pagination .page-link:hover { background: #010654; border-color: #010654; color: #fff; }
.com-finder__counter { font-size: 14px; color: #666; }
@media (max-width: 767.98px) {
  div.com-finder { padding: 40px 0 60px; }
  .com-finder__form { padding: 20px; }
  .com-finder__search .input-group { flex-wrap: wrap; }
  .com-finder__search .awesomplete { flex-basis: 100%; margin-bottom: 10px; }
  .com-finder__search .btn { flex: 1 1 0; justify-content: center; padding: 0 12px; }
  .com-finder__search .btn-secondary { border-left: 1px solid #e1e1e1; }
  .com-finder__filter .filter-branch { grid-template-columns: 1fr; }
  .com-finder__results-list .result__title-text { font-size: 19px; }
}

/* home news column: breathing room between the two SART news cards, as on the old home page */
.sart-articles-grid { row-gap: 40px; }
.sart-article-body { padding-bottom: 10px; }

/* "Sækja um aðild": form title above the BA Forms form, as the old BA Forms 1.x title (26px, normal weight) */
.sik-form-title { font-size: 26px; font-weight: 400; color: #111; margin: 0 0 -10px; padding: 0 20px; }

/* home slider buttons as on the old producers.is slider: red, navy on hover; second button white outline
   (hidden on phones, as the old "hidden-xs-down"). Written into the slide content by _migration_producers/04_sppb_fix.php */
.dk-slider .sppb-carousel-content p.sik-slide-buttons { display: flex; flex-wrap: wrap; gap: 20px; margin: 0; }
.dk-slider .sppb-carousel-text a.sik-slide-btn { background: #cc3333; border: 2px solid #cc3333; color: #fff; padding: 15px 38px; font-size: 16px; line-height: 24px; font-weight: 700; }
.dk-slider .sppb-carousel-text a.sik-slide-btn:hover { background: #010654 !important; border-color: #010654; color: #fff; }
.dk-slider .sppb-carousel-text a.sik-slide-btn-border { background: transparent; border-color: #fff; }
@media (max-width: 575.98px) {
  .dk-slider .sik-slide-btn + .sik-slide-btn-border { display: none; }
  .dk-slider .sppb-carousel-text a.sik-slide-btn { padding: 12px 28px; font-size: 14px; }
}

/* home page partner logos (row class "sik-partners", _migration_producers/19_partner_logos.php):
   one evenly spaced, centred row; logos dimmed to grey until hovered */
.sik-partners .sppb-addon-clients .sppb-row { display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; gap: 30px 20px; margin: 0; }
.sik-partners .sppb-addon-clients .sppb-row > [class*="sppb-col-"] { flex: 0 1 190px; max-width: 190px; padding: 0; }
.sik-partners .sppb-addon-clients a { display: block; }
.sik-partners .sppb-addon-clients-image { width: 100%; height: auto; margin: 0 auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s, transform .3s; }
.sik-partners .sppb-addon-clients a:hover .sppb-addon-clients-image,
.sik-partners .sppb-addon-clients a:focus-visible .sppb-addon-clients-image { filter: none; opacity: 1; transform: scale(1.04); }
@media (max-width: 767.98px) {
  .sik-partners .sppb-addon-clients .sppb-row > [class*="sppb-col-"] { flex-basis: 40%; max-width: 180px; }
}

/* ---------------------------------------------------------- category blogs (Greinar, Aðalfundir, …) as on the old site */
/* text inset 45px (beats the starter's 30px rule above), top space when the card has no intro image */
.blog .article-list .article > .article-body { padding: 0 45px; }
.blog .article-list .article > .article-body:first-child { padding-top: 30px; }
.blog .article-list .article-introtext { line-height: 30px; }
/* "Read more …" as a navy pill button */
.blog .article-list .readmore { margin-top: 12px; }
.blog .article-list .readmore a { display: inline-block; background: #010654; color: #fff; font-size: 16px; line-height: 25px; font-weight: 700; padding: 10px 50px; border-radius: 50px; transition: background-color .3s; }
.blog .article-list .readmore a:hover, .blog .article-list .readmore a:focus-visible { background: #cc3333; color: #fff; }
/* pagination: page numbers + next/previous only (no first/last, no greyed-out arrows), 40px circles */
.pagination { gap: 8px; }
.pagination .page-item:has(.fa-angle-double-left), .pagination .page-item:has(.fa-angle-double-right),
.pagination .page-item.disabled:has(.fa-angle-left), .pagination .page-item.disabled:has(.fa-angle-right) { display: none; }
.pagination .page-item .page-link { width: 40px; height: 40px; margin: 0 !important; }
