/* ==========================================================================
   Vélsmiðja Suðurlands – custom styles (Helix Ultimate + SP Page Builder)
   Recreates the look of the previous velsud.is (ut_reto "Construction") site.
   ========================================================================== */

:root {
  --vs-blue: #2d9cfa;
  --vs-blue-dark: #1b7fd6;
  --vs-dark: #222222;
  --vs-text: #727272;
  --vs-light: #f5f7fa;
  --vs-gray: #f3f3f3;
  --vs-footer: #24272f;
  --vs-footer-bottom: #1d2026;
}

body { font-size: 15px; line-height: 26px; color: var(--vs-text); }
h1, h2, h3, h4, h5, h6 { color: var(--vs-dark); }
a { color: var(--vs-blue); }
a:hover, a:focus { color: var(--vs-blue-dark); }

/* Content width like the old site (1110px inner) */
@media (min-width: 1200px) {
  #sp-header .container, .sp-page-title .container, #sp-main-body > .container,
  #sp-bottom .container, #sp-footer .container, .sppb-row-container {
    max-width: 1140px !important;
  }
}

/* ---------- Header: transparent over hero, blue when sticky ---------- */
#sp-top-bar, .sticky-header-placeholder { display: none !important; }

#sp-header {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 99;
  height: 80px;
  background: transparent;
  box-shadow: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#sp-header.header-sticky {
  position: fixed;
  background: var(--vs-blue);
  border-bottom-color: transparent;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
#sp-header .logo { height: 80px; display: flex; align-items: center; }
#sp-header .logo img { height: 64px; width: auto; }

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 80px;
  padding: 0 15px;
}
.sp-megamenu-parent > li:last-child > a { padding-right: 0; }
.sp-megamenu-parent > li > a:hover,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active:hover > a { color: rgba(255, 255, 255, 0.6); }

#offcanvas-toggler .burger-icon > span { background-color: #fff; }

@media (max-width: 991.98px) {
  #sp-header, #sp-header .logo { height: 70px; }
  #sp-header .logo img { height: 54px; }
}
@media (max-width: 575.98px) {
  #sp-header, #sp-header .logo { height: 64px; }
  #sp-header .logo img { height: 46px; }
}

/* Offcanvas menu */
.offcanvas-menu { background: var(--vs-footer-bottom); }
.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
}
.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover { color: var(--vs-blue); }
.offcanvas-menu .close-offcanvas .burger-icon > span,
.offcanvas-menu .burger-icon > span { background-color: #fff; }

/* ---------- Page title banner ---------- */
.sp-page-title {
  position: relative;
  padding: 160px 0 90px;
  background-color: #2b2f36;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.sp-page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 32, 38, 0.6);
}
.sp-page-title .container { position: relative; }
.sp-page-title .sp-page-title-heading {
  color: #fff;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 14px;
}
.sp-page-title .breadcrumb {
  justify-content: center;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}
.sp-page-title .breadcrumb li,
.sp-page-title .breadcrumb a,
.sp-page-title .breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #fff; }
.sp-page-title .breadcrumb a { font-weight: 500; }
.sp-page-title .breadcrumb a:hover { color: var(--vs-blue); }
.sp-page-title .breadcrumb li.active { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 767.98px) {
  .sp-page-title { padding: 120px 0 60px; }
  .sp-page-title .sp-page-title-heading { font-size: 28px; }
}

/* ---------- Generic SPPB helpers ---------- */
.vs-kicker .sppb-addon-title { color: var(--vs-blue); font-size: 20px; font-weight: 500; margin-bottom: 14px; }
.vs-title-bar .sppb-addon-title,
.vs-section-title .sppb-title-heading {
  position: relative;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 400;
  padding-bottom: 18px;
  margin-bottom: 30px;
}
.vs-title-bar .sppb-addon-title::after,
.vs-section-title .sppb-title-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 80px; height: 1px;
  background: var(--vs-blue);
}
.vs-section-title .sppb-title-heading { font-weight: 500; }
.vs-section-title .sppb-section-title { margin-bottom: 50px; }
.vs-section-title .sppb-title-heading::after { left: 50%; margin-left: -40px; }
@media (max-width: 767.98px) {
  .vs-title-bar .sppb-addon-title, .vs-section-title .sppb-title-heading { font-size: 26px; }
}

.vs-bg-light { background: var(--vs-light); }
.vs-bg-gray { background: var(--vs-gray); }
.vs-mb-30 { margin-bottom: 30px; }

/* Image with blue offset block behind it */
.vs-service .vs-image-offset img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.vs-service .vs-image-offset .sppb-addon-single-image-container { display: block; }
.vs-image-offset .sppb-addon-single-image-container { position: relative; display: inline-block; }
.vs-image-offset .sppb-addon-single-image-container::before {
  content: "";
  position: absolute;
  top: 15px; left: 15px; right: -15px; bottom: -15px;
  background: var(--vs-blue);
  z-index: 0;
}
.vs-image-offset img { position: relative; z-index: 1; }
@media (max-width: 991.98px) {
  .vs-image-offset { margin-top: 40px; padding-right: 15px; }
}

/* Buttons */
.sppb-btn-primary, .vs-btn .sppb-btn {
  background: var(--vs-blue);
  border-color: var(--vs-blue);
  border-radius: 0;
  font-size: 15px;
  font-weight: 500;
}
.sppb-btn-primary:hover, .sppb-btn-primary:focus { background: var(--vs-dark); border-color: var(--vs-dark); }

/* ---------- Hero slideshow ---------- */
.vs-hero .sp-slider .sppb-container { max-width: 1140px; }
.vs-hero .sp-slider-content-align-left { padding-left: 60px; padding-right: 60px; }
.vs-hero .sp-item:first-child .sp-slider-content-align-left::before {
  /* outlined blue frame from the old hero */
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 250px; height: 320px;
  transform: translateY(-50%);
  border: 3px solid var(--vs-blue);
  pointer-events: none;
}
.vs-hero .sp-slider-content-align-left { position: relative; }
.vs-hero .vs-slide-title,
.vs-hero .vs-slide-big {
  color: #fff;
  font-size: 64px;
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 18px;
}
.vs-hero .vs-slide-big { color: var(--vs-blue); text-transform: uppercase; font-weight: 500; }
.vs-hero .vs-slide-kicker {
  color: var(--vs-blue);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.vs-hero .vs-slide-text { color: #fff; font-size: 17px; }
.vs-hero .vs-slide-small { color: var(--vs-blue); font-size: 16px; margin-bottom: 26px; }
.vs-hero .vs-slide-sub { color: #fff; font-size: 30px; line-height: 1.3; margin-bottom: 14px; }
.vs-hero .sppb-slider-btn-wrap, .vs-hero .vs-slide-btn { display: inline-block; margin: 20px 12px 0 0; }
.vs-hero a.sppb-sp-slider-button, .vs-hero .vs-slide-btn a, .vs-hero a.vs-slide-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--vs-blue);
  border: 2px solid var(--vs-blue);
  color: #fff;
  font-weight: 500;
  text-transform: uppercase;
}
.vs-hero .vs-slide-btn-ghost a, .vs-hero a.vs-slide-btn-ghost { background: transparent; border-color: #fff; }
.vs-hero a.sppb-sp-slider-button:hover, .vs-hero .vs-slide-btn a:hover, .vs-hero a.vs-slide-btn:hover { background: #fff; border-color: #fff; color: var(--vs-dark); }

/* vertical square bullets on the right, like the old Revolution slider */
.vs-hero .sp-dots {
  left: auto !important;
  right: 24px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%);
  width: auto !important;
}
.vs-hero .sp-dots ul { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; }
.vs-hero .sp-dots ul li {
  width: 18px !important; height: 18px !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.35) !important;
  border: 0 !important;
  cursor: pointer;
  position: relative;
}
.vs-hero .sp-dots ul li::after {
  content: "";
  position: absolute;
  left: 7px; top: 7px; width: 4px; height: 4px;
  background: #fff;
}
.vs-hero .sp-dots ul li.active { background: #fff !important; }
.vs-hero .sp-dots ul li.active::after { background: var(--vs-blue); }

@media (max-width: 991.98px) {
  .vs-hero .vs-slide-title, .vs-hero .vs-slide-big { font-size: 44px; }
  .vs-hero .vs-slide-sub { font-size: 24px; }
  .vs-hero .sp-item:first-child .sp-slider-content-align-left::before { width: 180px; height: 230px; }
}
@media (max-width: 575.98px) {
  .vs-hero .sp-slider-content-align-left { padding-left: 24px; padding-right: 30px; }
  .vs-hero .vs-slide-title, .vs-hero .vs-slide-big { font-size: 32px; }
  .vs-hero .vs-slide-sub { font-size: 19px; }
  .vs-hero .vs-slide-kicker { font-size: 13px; letter-spacing: 1px; }
  .vs-hero .vs-slide-text { font-size: 15px; }
  .vs-hero .sp-item:first-child .sp-slider-content-align-left::before { width: 120px; height: 170px; left: 8px; }
  .vs-hero .sp-dots { right: 10px !important; }
  .vs-hero .sp-dots ul li { width: 14px !important; height: 14px !important; }
  .vs-hero .sp-dots ul li::after { left: 5px; top: 5px; }
}

/* ---------- News (home addon + blog) ---------- */
.vs-news .sppb-addon-article {
  background: #fff;
  height: 100%;
  margin-bottom: 30px;
  transition: box-shadow .3s;
}
.vs-news .sppb-addon-article:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.vs-news .sppb-article-img-wrap img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.vs-news .sppb-article-info-wrap { padding: 24px 24px 28px; }
.vs-news .sppb-article-info-wrap h3 { font-size: 20px; line-height: 1.35; margin: 0 0 8px; }
.vs-news .sppb-article-info-wrap h3 a { color: var(--vs-dark); }
.vs-news .sppb-article-info-wrap h3 a:hover { color: var(--vs-blue); }
.vs-news .sppb-article-meta { font-size: 13px; text-transform: uppercase; margin-bottom: 12px; }
.vs-news .sppb-readmore { font-weight: 500; }
.vs-news .sppb-addon-article-layout-content ~ *, .vs-news .sppb-addon-articles + * { text-align: center; }
.vs-news .sppb-btn { border-radius: 0; }
.vs-news .sppb-addon-content > .sppb-text-center, .vs-news .sppb-addon-articles ~ div:last-child { text-align: center; margin-top: 10px; }

/* Joomla category blog (Fréttir) */
.com-content-category-blog .blog-items.vs-news .article-list,
.com-content-category-blog .blog-items .article-list { margin-top: 0; }
.com-content-category-blog .blog-item .article,
.com-content-category-blog .article-list .article {
  background: var(--vs-gray);
  padding: 20px 20px 24px;
  margin-bottom: 30px;
  height: calc(100% - 30px);
  border: 0;
}
.com-content-category-blog .article-intro-image img,
.com-content-category-blog .article .article-intro-image img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.com-content-category-blog .article-header h2 { font-size: 20px; line-height: 1.35; margin: 18px 0 6px; }
.com-content-category-blog .article-header h2 a { color: var(--vs-dark); }
.com-content-category-blog .article-header h2 a:hover { color: var(--vs-blue); }
.com-content-category-blog .article-info { font-size: 13px; text-transform: uppercase; margin-bottom: 10px; }
#sp-main-body { padding: 80px 0; }
.view-article .article-details .article-header h1 { font-size: 30px; }

/* Pagination */
.pagination .page-link { border-radius: 0 !important; color: var(--vs-dark); border: 0; background: #e9ecef; margin: 0 1px; padding: 9px 16px; }
.pagination .page-item.active .page-link, .pagination .page-link:hover { background: var(--vs-blue); color: #fff; }
.pagination-wrapper, .com-content-category-blog__navigation { justify-content: center; text-align: center; }
.pagination { justify-content: center; }

/* ---------- Myndir: gallery grid ---------- */
.vs-gallery .sppb-gallery {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.vs-gallery .sppb-gallery::before, .vs-gallery .sppb-gallery::after { display: none !important; content: none; }
.vs-gallery .sppb-gallery li { margin: 0 !important; width: auto !important; overflow: hidden; }
.vs-gallery .sppb-gallery li a { display: block; }
.vs-gallery .sppb-gallery img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .5s;
}
.vs-gallery .sppb-gallery li:hover img { transform: scale(1.05); }
@media (max-width: 767.98px) { .vs-gallery .sppb-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px) { .vs-gallery .sppb-gallery { grid-template-columns: 1fr; } }

/* ---------- Hafa samband ---------- */
.vs-contact-info { list-style: none; margin: 0; padding: 0; }
.vs-contact-info li { margin-bottom: 26px; }
.vs-contact-info h3 {
  position: relative;
  font-size: 20px;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.vs-contact-info h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0; width: 80px; height: 1px;
  background: var(--vs-blue);
}
.vs-contact-info p { margin: 0; }
.vs-contact-info a { color: var(--vs-text); }
.vs-contact-info a:hover { color: var(--vs-blue); }

.vs-contact-form .sppb-form-control,
.vs-contact-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.vs-contact-form textarea {
  border: 1px solid #e1e1e1;
  border-radius: 0;
  background: #f9f9f9;
  padding: 12px 16px;
  min-height: 50px;
  font-size: 15px;
  color: var(--vs-dark);
}
.vs-contact-form textarea { min-height: 170px; }
.vs-contact-form .sppb-form-control:focus,
.vs-contact-form input:focus, .vs-contact-form textarea:focus {
  border-color: var(--vs-blue);
  box-shadow: none;
  background: #fff;
  outline: 0;
}
.vs-contact-form .sppb-btn { padding: 13px 34px; }
.vs-contact-form .sppb-addon-form-builder-form { margin: 0 -10px; }
.vs-contact-form .sppb-form-group { padding: 0 10px; margin-bottom: 20px; box-sizing: border-box; }
.vs-contact-form .sppb-form-group:last-child { margin-bottom: 0; }
@media (max-width: 991.98px) {
  .vs-contact-col { margin-bottom: 30px; }
}

/* ---------- Footer ---------- */
#sp-bottom {
  background: var(--vs-footer);
  color: #aeb7c1;
  padding: 80px 0 40px;
  text-align: center;
  font-size: 14px;
}
#sp-bottom .sp-module { margin-bottom: 40px; }
#sp-bottom .vs-footer-title,
#sp-bottom .sp-module-title {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
#sp-bottom .vs-footer-title::before,
#sp-bottom .vs-footer-title::after {
  content: "";
  width: 22px; height: 7px;
  background: radial-gradient(circle, var(--vs-blue) 3.5px, transparent 4px) 0 0 / 11px 7px repeat-x;
}
#sp-bottom p { margin: 0; line-height: 1.6; }
#sp-bottom a { color: #aeb7c1; }
#sp-bottom a:hover { color: #fff; }
.vs-footer-list { list-style: none; margin: 0; padding: 0; }
.vs-footer-list li { margin-bottom: 14px; }

#sp-footer {
  background: var(--vs-footer-bottom);
  color: #aeb7c1;
  font-size: 14px;
  padding: 30px 0;
}
#sp-footer .container-inner { border-top: 0; padding: 0; }
#sp-footer .sp-copyright a { color: #fff; font-weight: 500; }
#sp-footer .sp-copyright a:hover { color: var(--vs-blue); }
@media (max-width: 991.98px) { #sp-footer { text-align: center; } }

/* Go-to-top */
.sp-scroll-up { background: var(--vs-blue); color: #fff; }

/* Home news: centre the "Allar fréttir" button */
.vs-news > .sppb-addon-content { display: flex; flex-direction: column; }
.vs-news > .sppb-addon-content > a.sppb-btn { align-self: center; margin-top: 10px; }

/* Article view */
.article-details .article-header h1 { color: var(--vs-dark); }
.pager .btn, .article-details .pagenavigation .btn,
.com-content-article .pagenavigation a {
  background: var(--vs-blue); border-color: var(--vs-blue); color: #fff; border-radius: 0;
}
.com-content-category-blog .article-header h2 a { color: var(--vs-dark); }
.vs-contact-form .sppb-addon-form-builder-form > * { padding-left: 10px; padding-right: 10px; box-sizing: border-box; }
/* slide buttons: neutralise SPPB's default inner button styling */
.vs-hero a.vs-slide-btn { margin: 24px 12px 0 0; padding: 12px 30px; line-height: 1.4; font-size: 15px; letter-spacing: .5px; }
.vs-hero a.vs-slide-btn .sp-slider-btn-text { background: none !important; padding: 0 !important; color: inherit !important; border: 0 !important; font: inherit; }
@media (max-width: 575.98px) { .vs-hero a.vs-slide-btn { padding: 10px 20px; font-size: 14px; } }

/* Spam protection widget (POW Captcha / ALTCHA) – match form fields */
.vs-contact-form altcha-widget {
  --altcha-border-width: 1px;
  --altcha-border-radius: 0;
  --altcha-color-base: #f9f9f9;
  --altcha-color-border: #e1e1e1;
  --altcha-color-text: #727272;
  --altcha-color-border-focus: #2d9cfa;
  --altcha-color-error-text: #d9534f;
  --altcha-max-width: 320px;
  display: block;
}

/* ==========================================================================
   Vélsmiðja Suðurlands specifics
   ========================================================================== */

/* Hero: slide 1 title in capitals, slides 2-3 centred like the old Revolution slider */
.vs-hero .vs-slide-title { text-transform: uppercase; }
.vs-hero .vs-slide-kicker { text-transform: uppercase; }
.vs-hero .vs-slide-text { max-width: 560px; }
.vs-hero .vs-slide-big { text-transform: none; font-weight: 700; }
.vs-hero .sp-slider-content-align-center .vs-slide-sub { margin-bottom: 6px; }
/* slide 3: white frame around subtitle + title */
.vs-hero .sp-item:nth-child(3) .sp-slider-content-align-center { position: relative; }
.vs-hero .sp-item:nth-child(3) .sp-slider-content-align-center::before {
  content: "";
  position: absolute;
  left: 50%; top: -40px;
  width: min(650px, 92%); height: calc(100% - 50px);
  min-height: 200px;
  transform: translateX(-50%);
  border: 3px solid #fff;
  pointer-events: none;
}
.vs-hero .sp-item:nth-child(3) .sp-slider-content-align-center > *:last-child,
.vs-hero .sp-item:nth-child(3) .vs-slide-btn { position: relative; }
.vs-hero a.vs-slide-btn-dark { background: #222 !important; border-color: #222 !important; }
.vs-hero a.vs-slide-btn-dark:hover { background: #fff !important; border-color: #fff !important; color: #222 !important; }
.vs-hero a.vs-slide-btn { margin: 40px 6px 0 !important; }

/* Intro + about image */
.vs-intro .vs-image-offset { text-align: center; }
.vs-about-image img, .vs-service-image img { width: 100%; height: auto; }

/* Um okkur: staff list (old "person" addons) */
.vs-staff { list-style: none; margin: 30px 0 0; padding: 0; }
.vs-staff li { margin-bottom: 26px; display: flex; flex-direction: column; font-size: 14px; line-height: 2.2; }
.vs-staff-name { color: #555; font-size: 16px; font-weight: 500; }
.vs-staff-role { color: #999; }
.vs-staff a { color: #999; }
.vs-staff a:hover { color: var(--vs-blue); }

/* Um okkur: customer logo grid with inner borders */
.vs-clients .sppb-row { margin: 0; }
.vs-clients .sppb-row > [class*="sppb-col-"] {
  display: flex; align-items: center; justify-content: center;
  padding: 30px;
  border-right: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
}
.vs-clients .sppb-row > [class*="sppb-col-"]:nth-child(3n) { border-right: 0; }
.vs-clients .sppb-row > [class*="sppb-col-"]:nth-last-child(-n+3) { border-bottom: 0; }
.vs-clients .sppb-addon-clients-image, .vs-clients .sppb-addon-content img { max-height: 150px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 767.98px) {
  .vs-clients .sppb-row > [class*="sppb-col-"] { flex: 0 0 50%; max-width: 50%; padding: 20px; border-right: 1px solid #e6e6e6 !important; border-bottom: 1px solid #e6e6e6 !important; }
  .vs-clients .sppb-row > [class*="sppb-col-"]:nth-child(2n) { border-right: 0 !important; }
  .vs-clients .sppb-row > [class*="sppb-col-"]:last-child { border-bottom: 0 !important; }
  .vs-clients .sppb-addon-content img { max-height: 90px; }
}

/* Þjónusta: image + text, vertically centred */
.vs-service .sppb-row { align-items: center; }
.vs-service .vs-service-title .sppb-addon-title { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.vs-service h3 { font-size: 22px; margin: 18px 0 12px; }
.vs-check-list { list-style: none; margin: 0 0 30px; padding: 0; }
.vs-check-list li { position: relative; padding-left: 24px; margin-bottom: 10px; color: #444; }
.vs-check-list li::before {
  content: "\f35a"; /* circle-right */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
  font-weight: 400;
  position: absolute; left: 0; top: 0;
  color: var(--vs-blue);
  font-size: 14px;
}
.vs-btn .sppb-btn { padding: 12px 24px !important; font-size: 14px !important; text-transform: uppercase; }
@media (min-width: 992px) { .vs-service .sppb-col-md-6:last-child > .sppb-column { padding-left: 35px; } }

/* Myndir: album tiles */
.vs-albums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.vs-album { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #1d2026; }
.vs-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; opacity: .85; }
.vs-album:hover img { transform: scale(1.06); opacity: .65; }
.vs-album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,0) 55%); }
.vs-album-caption { position: absolute; left: 24px; bottom: 20px; right: 24px; z-index: 1; display: flex; flex-direction: column; color: #fff; }
.vs-album-title { font-size: 26px; font-weight: 700; line-height: 1.2; }
.vs-album-caption .vs-album-count { font-size: 16px; font-weight: 500; margin-top: 6px; }
@media (max-width: 767.98px) { .vs-albums { grid-template-columns: 1fr; } .vs-album-title { font-size: 22px; } }

/* Album pages */
.vs-album-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-bottom: 30px; }
.vs-album-head h2 { margin: 0; font-size: 30px; font-weight: 400; }
.vs-album-head .vs-album-count { color: #999; }
.vs-album-back { flex-basis: 100%; font-size: 14px; font-weight: 500; text-transform: uppercase; }

/* Hafa samband */
.vs-contact-col .vs-contact-info li { margin-bottom: 30px; }

/* Map: no scroll trap, consistent height */
.vs-map-row .sppb-addon-openstreetmap { margin: 0; }

/* Fréttir: blog card like the old ublog "modern" style; article images */
.com-content-category-blog .article-list .article .article-intro-image { display: none; }
.view-article .article-details .article-header h1 { font-size: 32px; font-weight: 500; }
.vs-figure { margin: 0 0 36px; }
.vs-figure img { display: block; max-width: 100%; height: auto; max-height: 720px; }
.vs-figure figcaption { margin-top: 10px; font-size: 14px; color: #888; }
.article-details .article-body > p:first-child { margin-top: 10px; }

/* Footer contact + copyright facebook icon */
#sp-footer .social-icons { justify-content: flex-end; margin: 0; }
#sp-footer .social-icons a { color: #fff; }
#sp-footer .social-icons a:hover { color: var(--vs-blue); }
@media (max-width: 991.98px) { #sp-footer .social-icons { justify-content: center; margin-top: 10px; } }

/* SPPB writes per-addon defaults (margin/padding 0, white slide text) with id selectors: win over them */
.vs-title-bar .sppb-addon-title { padding-bottom: 18px !important; margin-bottom: 30px !important; }
.vs-kicker .sppb-addon-title { margin-bottom: 14px !important; }
.vs-hero .vs-slide-kicker, .vs-hero .vs-slide-big, .vs-hero .vs-slide-big * { color: var(--vs-blue) !important; }
.vs-hero .vs-slide-title, .vs-hero .vs-slide-sub, .vs-hero .vs-slide-text { color: #fff !important; }
.vs-hero .sp-dots { transform: translateY(-50%) !important; }
#sp-footer .social-icons .fa-facebook::before { content: "\f39e"; }

/* Contact form: one consistent 10px gutter, fields/captcha/button aligned with the heading */
.vs-contact-form form.sppb-addon-form-builder-form { margin: 0 -10px !important; }
.vs-contact-form form.sppb-addon-form-builder-form > .sppb-form-group,
.vs-contact-form form.sppb-addon-form-builder-form > altcha-widget,
.vs-contact-form form.sppb-addon-form-builder-form > .sppb-form-builder-btn { padding-left: 10px !important; padding-right: 10px !important; margin-left: 0 !important; margin-right: 0 !important; }
.vs-contact-form form.sppb-addon-form-builder-form > .sppb-form-group { margin-bottom: 20px; }
/* space between the spam protection widget and the send button */
.vs-contact-form form.sppb-addon-form-builder-form > .sppb-form-builder-btn { flex: 0 0 100%; margin-top: 25px !important; }
.vs-contact-form .sppb-form-builder-btn .sppb-btn { margin: 0 !important; padding: 13px 34px; text-transform: uppercase; font-size: 14px; }
.vs-contact-form .sppb-form-builder-btn .sppb-btn i { margin-right: 6px; }
.com-content-category-blog .article-header h2 a { color: var(--vs-dark) !important; font-weight: 500; }
.vs-figure img { max-width: min(100%, 800px); max-height: 640px; width: auto; }
@media (max-width: 991.98px) { #sp-footer .sp-column { text-align: center !important; } #sp-footer .social-icons { margin-top: 12px; } }
a.sppb-btn.vs-btn { padding: 12px 24px !important; font-size: 14px !important; text-transform: uppercase; }
@media (max-width: 991.98px) { .vs-service-image, .vs-about-image { margin-bottom: 30px; } }
@media (max-width: 991.98px) { #sp-bottom .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; } }
@media (max-width: 991.98px) { #sp-footer .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; } }

/* ---------- Hero slide 1: positions from the old Revolution slider (1140px grid):
   frame x=60 (250x320), title x=144, kicker + description x=330 (right of the frame), description 420px wide */
.vs-hero .sp-item > .sppb-container { max-width: 1140px !important; padding-left: 0 !important; padding-right: 0 !important; }
.vs-hero .sp-item > .sppb-container > .sppb-row { margin-left: 0; margin-right: 0; }
.vs-hero .sp-item > .sppb-container > .sppb-row > [class*="sppb-col"] { padding-left: 0; padding-right: 0; }
.vs-hero .sp-item .sp-slider-content-align-left { padding-left: 0 !important; padding-right: 0 !important; }
.vs-hero .sp-item:first-child .sp-slider-content-align-left::before {
  left: 60px; width: 250px; height: 320px; top: 50%; transform: translateY(-50%);
}
.vs-hero .sp-item:first-child .vs-slide-title { margin-left: 144px; margin-bottom: 4px; }
.vs-hero .sp-item:first-child .vs-slide-kicker,
.vs-hero .sp-item:first-child .vs-slide-text { margin-left: 330px; max-width: 420px; }
.vs-hero .sp-item:first-child .vs-slide-kicker { margin-bottom: 22px; }
@media (max-width: 1199.98px) {
  .vs-hero .sp-item:first-child .sp-slider-content-align-left::before { left: 30px; width: 200px; height: 270px; }
  .vs-hero .sp-item:first-child .vs-slide-title { margin-left: 90px; }
  .vs-hero .sp-item:first-child .vs-slide-kicker,
  .vs-hero .sp-item:first-child .vs-slide-text { margin-left: 260px; max-width: 400px; }
}
@media (max-width: 767.98px) {
  .vs-hero .sp-item:first-child .sp-slider-content-align-left::before { left: 15px; width: 110px; height: 170px; top: 0; transform: none; border-width: 2px; }
  .vs-hero .sp-item:first-child .vs-slide-title { margin-left: 45px; margin-top: 30px; }
  .vs-hero .sp-item:first-child .vs-slide-kicker,
  .vs-hero .sp-item:first-child .vs-slide-text { margin-left: 140px; margin-right: 52px; max-width: none; }
  .vs-hero .sp-item:first-child .vs-slide-kicker { font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
  .vs-hero .sp-item:first-child .vs-slide-text { font-size: 14px; line-height: 1.5; }
}
@media (max-width: 767.98px) {
  .vs-hero .sp-item:first-child .vs-slide-kicker,
  .vs-hero .sp-item:first-child .vs-slide-text { padding-right: 52px !important; box-sizing: border-box; }
}

/* Hafa samband: three info columns like the old site */
.vs-contact-block .sppb-addon-title { position: relative; font-size: 20px !important; font-weight: 500; padding-bottom: 12px !important; margin-bottom: 20px !important; }
.vs-contact-block .sppb-addon-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 80px; height: 1px; background: var(--vs-blue); }
.vs-contact-block p { margin: 0; }
.vs-contact-block a { color: var(--vs-text); }
.vs-contact-block a:hover { color: var(--vs-blue); }
@media (max-width: 767.98px) { .vs-contact-row .vs-contact-block { margin-bottom: 30px; } }
