/* ==========================================================================
   Heimilin – Hagsmunasamtök heimilanna
   Custom styles for Helix Ultimate (recreates the design of the old site)
   ========================================================================== */

:root {
	--hh-navy: #062934;
	--hh-green: #a4cf53;
	--hh-green-dark: #7fab2e;
	--hh-grey: #414e4b;
	--hh-text: #062934;
	--hh-muted: #7b8a8f;
	--hh-light: #f3f5f7;
	--hh-heading-font: 'Poppins', sans-serif;
	--hh-body-font: 'Barlow', sans-serif;
	--hh-serif: 'Merriweather', serif;
	--hh-stripes: repeating-linear-gradient(-45deg, #dfe4ea 0, #dfe4ea 2px, transparent 2px, transparent 6px);
	--hh-stripes-dark: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0, rgba(255,255,255,.18) 2px, transparent 2px, transparent 6px);
}

body {
	font-family: var(--hh-body-font);
	font-size: 18px;
	line-height: 1.65;
	color: var(--hh-text);
	background-color: #edf0f3;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--hh-heading-font);
	color: var(--hh-navy);
	line-height: 1.2;
}

a { color: var(--hh-green-dark); transition: color .2s ease; }
a:hover, a:focus { color: var(--hh-navy); }

/* ---------- Page frame ----------
   Like the old site: full width page inside a textured frame
   (50px from 1220px, 30px from 900px, none below). Helix "boxed layout"
   stays on only because it outputs the textured body background. */
:root { --hh-frame: 50px; }
@media (max-width: 1219.98px) { :root { --hh-frame: 30px; } }
@media (max-width: 899.98px) { :root { --hh-frame: 0px; } }
.layout-boxed .body-innerwrapper {
	max-width: none;
	margin: var(--hh-frame) var(--hh-frame) 0;
	background: #fff;
	box-shadow: 0 0 0 1px #e3e9f0;
}
/* text / content areas stay at the old 1300px (1200px + padding) */
.container { max-width: 1240px; }

/* header + menu bar run the full width of the frame */
#sp-top-bar.hh-topbar > .container { max-width: none; padding-left: 25px; padding-right: 25px; }
#sp-header.hh-navbar > .container { max-width: none; padding-left: 0; padding-right: 0; }
#sp-header.hh-navbar > .container > .container-inner > .row { margin-left: 0; margin-right: 0; }
#sp-header.hh-navbar #sp-menu { padding-left: 0; padding-right: 0; }
@media (max-width: 575.98px) {
	#sp-top-bar.hh-topbar > .container { padding-left: 15px; padding-right: 15px; }
}

/* ---------- Top bar (logo + contact) ---------- */
#sp-top-bar.hh-topbar {
	background: #fff;
	color: var(--hh-text);
	padding: 24px 0;
	font-size: 16px;
}
#sp-top-bar .sp-column { text-align: left; }
#sp-logo .logo { display: inline-block; margin: 0; height: auto; }
#sp-logo .logo a { display: inline-flex; align-items: center; }
#sp-logo .logo-image { height: 56px; width: auto; }
#sp-top-bar .sp-module { margin: 0; }

.hh-header-contact { display: flex; gap: 40px; justify-content: flex-end; }
.hh-hc-item { display: flex; align-items: flex-start; gap: 16px; }
.hh-hc-icon { color: #4fc3a1; font-size: 28px; line-height: 1; margin-top: 6px; }
.hh-hc-item h5 { font-size: 16px; font-weight: 600; margin: 0 0 4px; color: var(--hh-navy); }
.hh-hc-item p { margin: 0; font-size: 16px; color: var(--hh-navy); }
.hh-hc-item a { color: var(--hh-navy); }
.hh-hc-item a:hover { color: var(--hh-green-dark); }

.hh-mobile-toggler #offcanvas-toggler { color: var(--hh-navy); }
.hh-mobile-toggler .burger-icon > span { background-color: var(--hh-navy); }

/* ---------- Navigation bar ---------- */
#sp-header.hh-navbar {
	background: var(--hh-navy);
	height: 65px;
	box-shadow: none;
	position: relative;
	z-index: 99;
}
#sp-header.hh-navbar .container,
#sp-header.hh-navbar .container-inner,
#sp-header.hh-navbar .row,
#sp-header.hh-navbar #sp-menu,
#sp-header.hh-navbar .sp-column { height: 65px; }
#sp-header.hh-navbar.header-sticky {
	position: fixed;
	top: 0;
	/* Helix writes inline "left:auto; max-width:..." on sticky; keep it inside the frame */
	left: var(--hh-frame) !important;
	right: var(--hh-frame);
	width: auto;
	max-width: none !important;
	margin: 0;
	box-shadow: 0 10px 25px rgba(6, 41, 52, .15);
	animation: hhSlideDown .3s ease;
}
@keyframes hhSlideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

.sp-megamenu-parent > li > a,
.sp-megamenu-parent > li > span {
	font-family: var(--hh-body-font);
	font-size: 17.5px;
	font-weight: 400;
	color: #fff;
	line-height: 65px;
	padding: 0 22px;
	display: inline-block;
	transition: background-color .2s ease, color .2s ease;
}
.sp-megamenu-parent > li { padding: 0; }
/* Helix trims the last item's right padding and pulls the list -15px left;
   both make the green active/hover block hug the text. Keep every item equal. */
#sp-header.hh-navbar .sp-megamenu-parent { margin: 0; padding: 0; }
#sp-header.hh-navbar .sp-megamenu-parent > li:first-child > a,
#sp-header.hh-navbar .sp-megamenu-parent > li:first-child > span,
#sp-header.hh-navbar .sp-megamenu-parent > li:last-child > a,
#sp-header.hh-navbar .sp-megamenu-parent > li:last-child > span { padding: 0 22px; }
.sp-megamenu-parent > li:hover > a,
.sp-megamenu-parent > li:hover > span,
.sp-megamenu-parent > li.active > a,
.sp-megamenu-parent > li.active > span,
.sp-megamenu-parent > li.active:hover > a {
	background: var(--hh-green);
	color: var(--hh-navy);
}
.sp-megamenu-parent > li.sp-has-child > a::after,
.sp-megamenu-parent > li.sp-has-child > span::after { display: none; }

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
	background: var(--hh-navy);
	padding: 12px 0;
	box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
	border-top: 3px solid var(--hh-green);
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > span {
	color: #fff;
	font-size: 17px;
	padding: 8px 22px;
	display: block;
}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a {
	color: var(--hh-green);
	background: rgba(255, 255, 255, .04);
}

#offcanvas-toggler-desktop {
	height: 65px;
	width: 75px;
	justify-content: center;
	border-left: 1px solid rgba(255, 255, 255, .12);
	margin-right: 0;
	flex-shrink: 0;
}
#offcanvas-toggler-desktop .burger-icon > span { background-color: #fff; }
#offcanvas-toggler-desktop:hover .burger-icon > span { background-color: var(--hh-green); }

/* ---------- Mobile menu (Helix off-canvas, left, green like the old site) ---------- */
.offcanvas-menu {
	background: linear-gradient(135deg, #adcd65 0%, #41511c 100%);
	color: #fff;
	width: 300px;
}
.offcanvas-menu .burger-icon > span { background-color: #fff; }
.offcanvas-menu .offcanvas-inner { padding: 0 0 30px; }
.offcanvas-menu .offcanvas-inner .sp-module { padding: 0; margin: 0; }
.offcanvas-menu .offcanvas-inner ul.menu { margin: 0; padding: 0; }
.offcanvas-menu .offcanvas-inner ul.menu > li { border: 0; margin: 0; padding: 0; position: relative; }
.offcanvas-menu .offcanvas-inner ul.menu li > a,
.offcanvas-menu .offcanvas-inner ul.menu li > span {
	display: block;
	color: #fff !important;
	font-family: var(--hh-body-font);
	font-size: 18.5px;
	font-weight: 400;
	line-height: 30px;
	padding: 5px 60px 5px 30px;
	opacity: 1;
}
.offcanvas-menu .offcanvas-inner ul.menu li > a:hover,
.offcanvas-menu .offcanvas-inner ul.menu li > span:hover { color: var(--hh-navy) !important; }
.offcanvas-menu .offcanvas-inner ul.menu li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu li.current > a { color: var(--hh-navy) !important; font-weight: 600; }
/* sub items */
body .offcanvas-menu .offcanvas-inner ul.menu > li > ul { margin: 0 0 8px !important; padding: 0 0 0 16px !important; }
body .offcanvas-menu .offcanvas-inner ul.menu > li ul li > a,
body .offcanvas-menu .offcanvas-inner ul.menu > li ul li > span {
	display: block;
	font-size: 16.5px !important;
	line-height: 26px;
	padding: 4px 30px 4px 30px !important;
	color: rgba(255, 255, 255, .92) !important;
	opacity: 1;
}
body .offcanvas-menu .offcanvas-inner ul.menu > li ul li > a:hover,
body .offcanvas-menu .offcanvas-inner ul.menu > li ul li.active > a { color: var(--hh-navy) !important; }
/* the + / - toggles: white rounded boxes like the old theme */
body.ltr .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler,
body.ltr .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-separator > .menu-toggler,
body.ltr .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .nav-header > .menu-toggler {
	left: auto !important;
	right: 25px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	width: 20px;
	height: 20px;
	padding: 0 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 4px;
	color: #41511c !important;
	font-size: 12px;
	line-height: 1;
}
body .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent .menu-toggler::after {
	content: "\2b" !important;
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900;
	color: #41511c;
}
body .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent.menu-parent-open .menu-toggler::after,
body .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent[aria-expanded=true] .menu-toggler::after { content: "\f068" !important; }

/* ---------- Desktop side panel (right, white, like the old site) ---------- */
.hh-panel-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	background: linear-gradient(135deg, rgba(0, 110, 219, .55) 0%, rgba(6, 41, 52, .75) 100%);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s ease;
}
.hh-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10001;
	width: 400px;
	max-width: 90vw;
	background: #fff;
	color: var(--hh-navy);
	overflow-y: auto;
	overscroll-behavior: contain;
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .35s ease, visibility .35s ease;
	box-shadow: -10px 0 30px rgba(6, 41, 52, .2);
	outline: none;
}
body.hh-panel-open { overflow: hidden; }
body.hh-panel-open .hh-panel { transform: none; visibility: visible; }
body.hh-panel-open .hh-panel-overlay { opacity: 1; visibility: visible; }
.hh-panel-close {
	position: absolute;
	top: 22px;
	right: 24px;
	width: 36px;
	height: 36px;
	border: 0;
	background: none;
	color: var(--hh-navy);
	font-size: 38px;
	line-height: 1;
	font-weight: 300;
	cursor: pointer;
	padding: 0;
}
.hh-panel-close:hover { color: var(--hh-green-dark); }
.hh-panel-inner { padding: 30px 30px 40px; }
.hh-panel .sp-module { margin: 0 0 40px; padding: 0; }
.hh-panel .sp-module:first-child { padding-right: 40px; }
.hh-panel .sp-module .sp-module-title {
	font-family: var(--hh-heading-font);
	font-size: 28px;
	font-weight: 600;
	color: var(--hh-navy);
	position: relative;
	padding-bottom: 18px;
	margin: 0 0 24px;
}
.hh-panel .sp-module .sp-module-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 8px;
	background: var(--hh-stripes);
}
.hh-panel .mod-custom { font-size: 18px; line-height: 1.65; color: var(--hh-navy); }
.hh-panel .mod-custom img { max-width: 100%; height: auto; }
.hh-panel .hh-formadur .mod-custom p:first-child img { width: 100%; border-radius: 4px; }
.hh-panel-social { margin: 0; }
.hh-panel-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--hh-green);
	color: #fff;
	font-size: 18px;
}
.hh-panel-social a:hover { background: var(--hh-navy); color: #fff; }
@media (max-width: 991.98px) {
	.hh-panel, .hh-panel-overlay { display: none; }
}

/* ---------- Page title banner ---------- */
#sp-title .sp-page-title {
	background-color: var(--hh-navy);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 60px 0;
	text-align: center;
	position: relative;
}
#sp-title .sp-page-title .sp-page-title-heading {
	font-family: var(--hh-heading-font);
	font-size: 40px;
	font-weight: 400;
	color: #f8f8f8;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
#sp-title .sp-page-title .sp-page-title-sub-heading {
	font-family: var(--hh-serif);
	font-style: italic;
	font-size: 19px;
	font-weight: 400;
	color: #f8f8f8;
	margin: 12px 0 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}
#sp-title .sp-page-title .breadcrumb { display: none; }
@media (max-width: 767.98px) {
	#sp-title .sp-page-title { padding: 45px 0; }
	#sp-title .sp-page-title .sp-page-title-heading { font-size: 30px; }
}

/* ---------- Main body ---------- */
#sp-main-body { padding: 70px 0; }
.com-sppagebuilder #sp-main-body { padding: 0; }
.com-sppagebuilder #sp-main-body > .row > #sp-component > .sp-column > .sp-page-builder { margin: 0; }

/* Stripe underline (old theme style) */
.hh-stripe-title,
.article-details .article-header h1,
.blog .article-list .article .article-header h2 {
	position: relative;
	padding-bottom: 18px;
	margin-bottom: 14px;
}
.hh-stripe-title::after,
.article-details .article-header h1::after,
.blog .article-list .article .article-header h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 90%;
	height: 8px;
	background: var(--hh-stripes);
}

/* ---------- Blog list (Á döfinni etc.) ---------- */
.blog .article-list .article {
	padding: 0;
	margin-bottom: 70px;
	border: 0;
	background: none;
}
.blog .article-list .article .article-intro-image,
.blog .article-list .article .article-featured-image { margin-bottom: 36px; }
.blog .article-list .article .article-intro-image img,
.article-details .article-full-image img {
	border-radius: 6px;
	width: 100%;
	height: auto;
}
.blog .article-list .article .article-header h2 {
	font-size: 34px;
	font-weight: 500;
	line-height: 1.25;
}
.blog .article-list .article .article-header h2 a { color: var(--hh-navy); }
.blog .article-list .article .article-header h2 a:hover { color: var(--hh-green-dark); }
.article-info {
	font-family: var(--hh-serif);
	font-style: italic;
	font-size: 14px;
	color: #b4bec4;
	margin: 0 0 24px;
}
.article-info > span { color: #b4bec4; font-size: 14px; }
.article-info .published::after,
.article-info .create::after { content: ' ~'; }
.article-info span[class*="fa-"],
.article-info .fa-calendar, .article-info .far, .article-info .fas { display: none; }
.blog .article-list .article .readmore { margin-top: 10px; }
.blog .article-list .article .readmore a.btn,
.readmore .btn {
	background: #efefef;
	color: var(--hh-navy);
	border: 0;
	border-radius: 3px;
	padding: 8px 20px;
	font-size: 16px;
}
.blog .article-list .article .readmore a.btn:hover,
.readmore .btn:hover { background: var(--hh-green); color: #fff; }

/* Article details */
.article-details .article-header h1 { font-size: 36px; font-weight: 500; line-height: 1.25; }
.article-details .article-full-image { margin-bottom: 36px; }
.article-details .article-full-image figcaption { font-size: 14px; color: var(--hh-muted); margin-top: 6px; }
.article-details .article-body img { max-width: 100%; height: auto; }
.article-details .article-body table { max-width: 100%; }
.article-details .tags { margin-top: 30px; }
.article-ratings-social-share, .article-author-information, .article-details .pagenav { margin-top: 30px; }
.tags .tag-name, .tags a { font-size: 14px; }

.pagination { margin-top: 20px; flex-wrap: wrap; }
.pagination .page-link { color: var(--hh-navy); border-color: #e3e7ea; }
.pagination .page-item.active .page-link { background: var(--hh-green); border-color: var(--hh-green); color: #fff; }

/* ---------- Sidebar ---------- */
#sp-right .sp-module {
	margin-bottom: 60px;
	padding: 0 0 0 30px;
	border: 0;
}
@media (max-width: 991.98px) {
	#sp-right { margin-top: 40px; }
	#sp-right .sp-module { padding-left: 0; }
}
#sp-right .sp-module .sp-module-title {
	font-family: var(--hh-heading-font);
	font-size: 30px;
	font-weight: 500;
	margin: 0 0 25px;
	padding: 0;
	border: 0;
}
#sp-right .sp-module .sp-module-title::after { display: none; }

/* latest news list */
.latestnews { list-style: none; margin: 0; padding: 0; }
.latestnews li { padding: 6px 20px 6px 0; margin: 0; border: 0; line-height: 1.65; }
.latestnews li a { color: gray; font-size: 17px; display: block; }
.latestnews li a:hover { color: var(--hh-green); }
.latestnews li a > span:not([itemprop]) { display: none; }

/* home page box version */
.hh-box .hh-box { border: 0 !important; padding: 0 !important; }
.hh-box:not(.sppb-addon) {
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	padding: 36px 36px 26px;
}
.hh-box .sp-module-title { font-size: 30px; font-weight: 500; margin-bottom: 20px; }


/* ---------- SP Page Builder content ---------- */

.hh-band .sppb-addon-title { color: var(--hh-navy) !important; font-weight: 700; font-size: 30px; }
.hh-italic .sppb-addon-title,
.sppb-addon-header .hh-italic { font-family: var(--hh-serif) !important; font-style: italic; font-weight: 400 !important; }
.hh-section .sppb-addon-title { font-size: 22px; margin-bottom: 18px; }
.sppb-addon-text-block .sppb-addon-content { font-size: 18px; line-height: 1.65; }
.sppb-addon-text-block .sppb-addon-content h3 { font-size: 22px; margin: 30px 0 14px; }
.sppb-addon-text-block .sppb-addon-content ol,
.sppb-addon-text-block .sppb-addon-content ul { padding-left: 1.4em; }
.sppb-addon-text-block img { max-width: 100%; height: auto; }

/* home – latest articles */
.hh-home-articles .sppb-addon-article { margin-bottom: 30px; }
.hh-home-articles .sppb-article-img-wrap,
.hh-home-articles .sppb-article-img-wrap img { border-radius: 2px; }
.hh-home-articles .sppb-article-info-wrap { padding-top: 26px; }
.hh-home-articles .sppb-article-info-wrap h3 {
	font-size: 28px;
	font-weight: 500;
	line-height: 1.15;
	margin: 0 0 24px;
}
.hh-home-articles .sppb-article-info-wrap h3 a { color: var(--hh-navy); }
.hh-home-articles .sppb-article-info-wrap h3 a:hover { color: var(--hh-green-dark); }
.hh-home-articles .sppb-article-introtext { font-size: 18px; line-height: 1.65; }

/* slideshow */
.hh-slideshow .sppb-carousel-inner > .sppb-item > img { width: 100%; height: auto; aspect-ratio: 1307 / 627; object-fit: cover; display: block; }
.hh-slideshow .sppb-addon-carousel, .hh-slideshow .sppb-carousel { margin: 0; }
.hh-slideshow .sppb-carousel-indicators li { background: #fff; opacity: .7; }
.hh-slideshow .sppb-carousel-indicators li.active { background: var(--hh-green); opacity: 1; }

/* buttons */
.sppb-btn-rounded { border-radius: 3px; }
.sppb-btn-lg { font-size: 21px; padding: 10px 28px; }

/* contact form */
.hh-contact-form .sppb-addon-title { color: var(--hh-green) !important; font-size: 34px; font-weight: 700; margin-bottom: 40px; }
.hh-contact-form .sppb-form-control,
.hh-contact-form input,
.hh-contact-form textarea {
	border: 0;
	border-left: 1px solid #dfe4ea;
	border-bottom: 1px solid #dfe4ea;
	border-radius: 0;
	font-size: 16px;
	padding: 12px;
	box-shadow: none;
}
.hh-contact-form textarea { min-height: 140px; border: 1px solid #dfe4ea; }
.hh-contact-form .sppb-form-control:focus { border-color: var(--hh-green); box-shadow: none; }
/* space between captcha and the submit button */
.sppb-addon-form-builder altcha-widget,
.sppb-addon-form-builder .sppb-form-builder-powcaptcha,
.sppb-addon-form-builder .sppb-form-builder-recaptcha,
.sppb-addon-form-builder [class*="captcha"] { display: block; margin-bottom: 28px; }
.sppb-addon-form-builder .sppb-form-builder-btn,
.sppb-addon-form-builder button[type="submit"] { margin-top: 8px; }

/* BaForms membership form */
.hh-baform { margin-top: -20px; }

/* page "under construction" */
.hh-under-construction .sppb-addon-text-block { max-width: 760px; margin: 0 auto; }

/* ---------- Bottom (footer columns) ---------- */
#sp-bottom {
	background: var(--hh-navy);
	color: #fff;
	padding: 70px 0 50px;
	font-size: 18px;
}
#sp-bottom .sp-module { margin-bottom: 30px; }
#sp-bottom .sp-module .sp-module-title {
	font-family: var(--hh-heading-font);
	font-size: 30px;
	font-weight: 600;
	color: #fff;
	position: relative;
	padding-bottom: 22px;
	margin-bottom: 26px;
}
#sp-bottom .sp-module .sp-module-title::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 8px;
	background: var(--hh-stripes-dark);
}
#sp-bottom p { margin-bottom: 20px; }
#sp-bottom a { color: var(--hh-green); }
#sp-bottom a:hover { color: #fff; }
#sp-bottom #sp-bottom1 a { color: #fff; }
#sp-bottom #sp-bottom1 a:hover { color: var(--hh-green); }
.hh-footer-logo { width: 211px; height: auto; margin-bottom: 6px; }
.hh-social { display: inline-block; font-size: 18px; }
ul.hh-list-icons { list-style: none; padding: 0; margin: 0; }
ul.hh-list-icons li { position: relative; padding: 0 0 6px 30px; }
ul.hh-list-icons li::before {
	content: '\f105';
	font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', FontAwesome;
	font-weight: 900;
	position: absolute;
	left: 4px;
	top: 1px;
	color: #fff;
}

/* ---------- Footer bar (copyright + icons) ---------- */
#sp-footer {
	background: var(--hh-light) url('../../../images/background/concrete-wall.png');
	color: var(--hh-navy);
	padding: 0;
	font-size: 17px;
}
#sp-footer .container-inner { border-top: 0; padding: 12px 0; }
#sp-footer #sp-footer2 .sp-column { text-align: right; }
#sp-footer .sp-copyright { font-size: 17px; }
#sp-footer a { color: #3e6ab3; }
#sp-footer a:hover { color: var(--hh-green-dark); }
.hh-footer-social { margin: 0; display: inline-flex; gap: 4px; align-items: center; }
.hh-footer-social img { height: 22px; width: auto; }
#sp-footer .sp-module { margin: 0; }
@media (max-width: 991.98px) {
	#sp-footer #sp-footer1 .sp-column, #sp-footer #sp-footer2 .sp-column { text-align: center; }
	#sp-footer #sp-footer2 { margin-top: 6px; }
}

.sp-scroll-up {
	background: var(--hh-navy);
	color: #fff;
	border-radius: 3px;
}
.sp-scroll-up:hover { background: var(--hh-green); color: var(--hh-navy); }

/* ---------- Responsive helpers ---------- */
@media (max-width: 1199.98px) {
	.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span,
	#sp-header.hh-navbar .sp-megamenu-parent > li:first-child > a,
	#sp-header.hh-navbar .sp-megamenu-parent > li:first-child > span,
	#sp-header.hh-navbar .sp-megamenu-parent > li:last-child > a,
	#sp-header.hh-navbar .sp-megamenu-parent > li:last-child > span { padding: 0 20px; }
	.hh-header-contact { gap: 24px; }
}
@media (max-width: 991.98px) {
	#sp-top-bar.hh-topbar { padding: 16px 0; }
	#sp-logo .logo-image, #sp-logo .logo-image-phone { height: 46px; }
	#sp-main-body { padding: 45px 0; }
	.blog .article-list .article .article-header h2 { font-size: 28px; }
	.article-details .article-header h1 { font-size: 28px; }
	#sp-bottom { padding: 50px 0 20px; }
}
@media (max-width: 575.98px) {
	#sp-logo .logo-image, #sp-logo .logo-image-phone { height: 40px; }
	.hh-band .sppb-addon-title { font-size: 24px; }
	.hh-home-articles .sppb-article-info-wrap h3 { font-size: 24px; }
	.hh-box:not(.sppb-addon) { padding: 26px 22px 16px; }
}

/* ---------- Refinements ---------- */
.blog .article-list .article .article-intro-image,
.blog .article-list .article .article-intro-image.float-left { margin: 0 0 36px !important; float: none !important; }
#sp-right .latestnews > li { padding: 6px 20px 6px 0; border: 0; margin: 0; line-height: 1.65; }
#sp-right .latestnews > li a,
.sppb-addon-module .latestnews > li a { color: #808080; font-size: 17.5px; line-height: 30px; font-weight: 400; }
#sp-right .latestnews > li a:hover,
.sppb-addon-module .latestnews > li a:hover { color: var(--hh-green); }
.sppb-addon-module .latestnews > li { padding: 6px 20px 6px 0; border: 0; }
#sp-right .sp-module ul.latestnews > li,
.sppb-addon-module ul.latestnews > li { border: 0 !important; padding: 6px 20px 6px 0 !important; margin: 0 !important; }
#sp-right .sp-module ul.latestnews > li a,
.sppb-addon-module ul.latestnews > li a { display: block; line-height: 30px !important; padding: 0 !important; }
#sp-title .sp-page-title { background-position: center 35%; }
/* contact page */
.hh-contact-row .sppb-row > .sppb-col-md-6:first-child > .sppb-column,
.hh-contact-row .sppb-row > div:first-child > .sppb-column { padding: 70px 40px 60px 40px; }
.hh-contact-title .sppb-addon-title { color: var(--hh-green) !important; font-size: 34px; font-weight: 700; margin-bottom: 30px; }
.hh-contact-row .sppb-addon-gmap, .hh-contact-row .sppb-addon-gmap-canvas { min-height: 520px; }
@media (max-width: 767.98px) {
	.hh-contact-row .sppb-row > div:first-child > .sppb-column { padding: 45px 20px; }
	.hh-contact-row .sppb-addon-gmap, .hh-contact-row .sppb-addon-gmap-canvas { min-height: 340px; }
}

.hh-italic .sppb-addon-title { font-size: 19px !important; line-height: 1.5 !important; margin-top: 6px; }
.hh-contact-form form.sppb-addon-form-builder-form { margin-left: -20px !important; margin-right: -20px !important; }
.hh-contact-form altcha-widget { margin-left: 20px; margin-right: 20px; }

/* ---------- Side spacing: always at least 30px from the white area (old site: 30px).
   Container is 1270 - 2*30 = 1210px of text, the same as before on large screens. ---------- */
#sp-main-body > .container,
#sp-bottom > .container,
#sp-footer > .container,
#sp-page-builder .sppb-section .sppb-row-container {
	max-width: 1270px;
	padding-left: 30px;
	padding-right: 30px;
}
/* (full-width SPPB sections such as the slideshow use .sppb-container-inner
   without .sppb-row-container and are deliberately not affected) */
@media (max-width: 399.98px) {
	#sp-main-body > .container,
	#sp-bottom > .container,
	#sp-footer > .container,
	#sp-page-builder .sppb-section .sppb-row-container {
		padding-left: 22px;
		padding-right: 22px;
	}
}

/* ---------- Footer lists: compact like the old site ---------- */
#sp-bottom .sp-module ul.hh-list-icons { margin: 0 0 20px; }
#sp-bottom .sp-module ul.hh-list-icons > li {
	margin: 0;
	padding: 0 0 0 30px;
	border: 0;
	line-height: 30px;
}
#sp-bottom .sp-module ul.hh-list-icons > li::before { top: 0; line-height: 30px; }
@media (max-width: 991.98px) {
	#sp-bottom .sp-module .sp-module-title { font-size: 26px; padding-bottom: 18px; margin-bottom: 22px; }
	#sp-bottom .sp-module { margin-bottom: 40px; }
}

/* ==========================================================================
   News lists (Á döfinni / Fréttir af samtökunum) – matched to the old K2 list
   ========================================================================== */
.blog .article-list .article .article-header h2 {
	font-size: 34px;
	font-weight: 600;
	line-height: 43px;
	letter-spacing: -0.5px;
	padding-right: 90px;
}
.blog .article-list .article .article-info,
.blog .article-list .article .article-info > span { color: #c5ced6; }
.blog .article-list .article .article-introtext,
.blog .article-list .article .article-introtext p { font-size: 18.5px; line-height: 30px; }
.blog .article-list .article .article-introtext p { margin-bottom: 20px; }

/* "Lesa áfram..." grey button, green on hover */
.blog .article-list .article .readmore { margin: 5px 0 0; }
.blog .article-list .article .readmore a {
	display: inline-block;
	background: #efefef;
	color: #000;
	font-size: 18.5px;
	line-height: 45px;
	padding: 0 20px;
	border-radius: 3px;
	transition: background-color .2s ease, color .2s ease;
}
.blog .article-list .article .readmore a:hover,
.blog .article-list .article .readmore a:focus { background: var(--hh-green); color: var(--hh-navy); }

@media (max-width: 991.98px) {
	.blog .article-list .article .article-header h2 { font-size: 28px; line-height: 36px; padding-right: 0; }
}

/* ---------- Sidebar (right) ---------- */
#sp-right .sp-module .sp-module-title {
	font-size: 28px;
	font-weight: 600;
	line-height: 37px;
	letter-spacing: -0.5px;
	margin: 0 0 20px;
}
#sp-right .sp-module ul.latestnews > li a { font-size: 18px; }

/* search: one clean field with a green search button */
#sp-right .sp-module.hh-search { margin-bottom: 60px; }
.hh-search .mod-finder__search.input-group {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	width: 100%;
	max-width: 340px;
	border: 1px solid #dfe4ea;
	border-radius: 4px;
	background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.hh-search .mod-finder__search.input-group:focus-within {
	border-color: var(--hh-green);
	box-shadow: 0 0 0 3px rgba(164, 207, 83, .25);
}
.hh-search .awesomplete { flex: 1 1 auto; min-width: 0; display: block; }
.hh-search .js-finder-search-query.form-control {
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 4px 0 0 4px !important;
	padding: 0 16px;
	font-size: 17px;
	color: var(--hh-navy);
	background: transparent;
	box-shadow: none;
}
.hh-search .js-finder-search-query::placeholder { color: #8a979c; }
.hh-search .mod-finder__search .btn {
	flex: 0 0 52px;
	width: 52px;
	margin: 0 !important;
	padding: 0;
	border: 0;
	border-radius: 0 4px 4px 0 !important;
	background: var(--hh-green);
	color: #fff;
	font-size: 0;           /* hide the "Áfram" text visually; aria via the label */
	position: relative;
	transition: background-color .2s ease;
}
.hh-search .mod-finder__search .btn > span { display: none; }
.hh-search .mod-finder__search .btn::before {
	content: "\f002";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 18px;
	line-height: 50px;
	color: #fff;
}
.hh-search .mod-finder__search .btn:hover,
.hh-search .mod-finder__search .btn:focus-visible { background: var(--hh-navy); }
.hh-search .awesomplete > ul { z-index: 50; font-size: 16px; }

/* Fréttasafn / Greinasafn: compact green buttons */
#sp-right .sp-module.hh-archive ul.mod-articlescategories { list-style: none; margin: 0; padding: 0; display: block; }
#sp-right .sp-module.hh-archive ul.mod-articlescategories > li { display: inline-block; margin: 0; padding: 0; border: 0; }
#sp-right .sp-module.hh-archive ul.mod-articlescategories > li > a {
	display: inline-block;
	background: var(--hh-green);
	color: var(--hh-navy);
	font-size: 17px;
	line-height: 30px;
	padding: 0 10px;
	margin: 0 8px 8px 0;
	border-radius: 3px;
	transition: background-color .2s ease, color .2s ease;
}
#sp-right .sp-module.hh-archive ul.mod-articlescategories > li > a:hover { background: var(--hh-navy); color: #fff; }

/* Lykilorðaský: light grey tag boxes */
#sp-right .sp-module.hh-tags .tagspopular.tagscloud { display: block; line-height: 1; }
#sp-right .sp-module.hh-tags .tagspopular .tag { display: inline-block; margin: 0; padding: 0; }
#sp-right .sp-module.hh-tags .tagspopular .tag a.tag-name {
	display: inline-block;
	background: #f8f8f8;
	color: var(--hh-navy);
	font-size: 15px !important;   /* cloud layout sets inline sizes */
	line-height: 30px;
	padding: 0 10px;
	margin: 5px 10px 10px 0;
	border-radius: 3px;
	transition: background-color .2s ease, color .2s ease;
}
#sp-right .sp-module.hh-tags .tagspopular .tag a.tag-name:hover { background: var(--hh-green); color: #fff; }

/* Pagination: plain numbers, current page in a circle (old site) */
.pagination__wrapper .pagination { gap: 6px; align-items: center; margin-top: 30px; }
.pagination__wrapper .pagination .page-item .page-link {
	border: 1px solid transparent;
	background: none;
	color: var(--hh-navy);
	font-size: 18.5px;
	line-height: 30px;
	min-width: 34px;
	height: 34px;
	padding: 1px 5px;
	border-radius: 50% !important;
	text-align: center;
	box-shadow: none;
	transition: border-color .2s ease, color .2s ease;
}
.pagination__wrapper .pagination .page-item .page-link .fas { font-size: 15px; }
.pagination__wrapper .pagination .page-item a.page-link:hover { border-color: var(--hh-green); color: var(--hh-green-dark); background: none; }
.pagination__wrapper .pagination .page-item.active .page-link {
	background: none;
	border-color: var(--hh-green-dark);
	color: var(--hh-green-dark);
}
.pagination__wrapper .pagination .page-item.disabled .page-link { color: #c5ced6; }
.blog .pagination-counter, .com-content-category-blog__counter { display: none; }

/* Tag pages (Lykilorðaský links): "01 July 2025 | Birt í Fréttir frá 2025" like the old site */
.hh-tag-items .article-info .published::after { content: ' |'; }
.hh-tag-items .article-info > span + span::before { content: none !important; display: none !important; }
.blog.hh-tag-items .article-list .article .article-info > span.hh-tag-category {
	font-size: 18px;
	color: var(--hh-navy);
	margin-left: 8px;
}
.hh-tag-items .article-info .hh-tag-category a { color: #a3b4c4; }
.hh-tag-items .article-info .hh-tag-category a:hover { color: var(--hh-green-dark); }
.hh-tag-items .article { margin-bottom: 70px; }

/* Contact form: same full border on every field (the message box lost top/right),
   captcha lined up with the fields */
.hh-contact-form .sppb-form-control,
.hh-contact-form textarea.sppb-form-control {
	border: 1px solid rgba(0, 0, 0, .15) !important;
	border-radius: 4px;
}
.hh-contact-form .sppb-form-control:focus { border-color: var(--hh-green) !important; }
.hh-contact-form altcha-widget { margin-left: 0; margin-right: 0; }

/* Sidebar "Á döfinni": titles full size (Helix shrinks spans inside .latestnews to 85%) */
#sp-right .latestnews li a span,
.sppb-addon-module .latestnews li a span { font-size: inherit; }

/* Tag pages: date and "Birt í ..." on one text line */
.hh-tag-items .article-info { align-items: baseline; }

/* Pagination + RSS link row under news lists (old K2: "Subscribe to this RSS feed") */
.hh-blog-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 30px;
	margin-top: 30px;
}
.hh-blog-footer .pagination__wrapper .pagination { margin: 0 !important; }
.hh-blog-footer .hh-feed-link { margin-left: auto; color: #a0aab0; font-size: 18px; white-space: nowrap; }
.hh-blog-footer .hh-feed-link .fa-rss { color: #f39c12; margin-right: 4px; }
.hh-blog-footer .hh-feed-link:hover { color: var(--hh-green-dark); }
@media (max-width: 575.98px) {
	.hh-blog-footer { justify-content: flex-start; }
	.hh-blog-footer .hh-feed-link { margin-left: 0; }
}
