/* =========================================================================
   Retura IR – footer.
   Typografi som returatrv.no (venstrejustert, Open Sans, hvit på #424C53),
   logo nederst til høyre som retura-midt.no. Scopet til IR via body-klassen
   ir-custom-header (settes av ir-header).
   ========================================================================= */

/* Skjul Flatsome sin standard-footer på IR */
body.ir-custom-header .footer-wrapper,
body.ir-custom-header #footer,
body.ir-custom-header .absolute-footer {
	display: none !important;
}

.ir-footer {
	background: var(--ir-text, #424c53);   /* samme mørke skifer som returatrv */
	color: #fff;
	font-family: var(--ir-font, "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
	text-align: left;
}

.ir-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 28px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
}

/* Tekstkolonner (venstrejustert) */
.ir-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	flex: 1 1 auto;
}
.ir-footer__col { min-width: 160px; }

.ir-footer__head {
	margin: 0 0 14px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: #fff;
	text-transform: none;
}

.ir-footer p,
.ir-footer li,
.ir-footer a {
	font-size: 16px;
	line-height: 24px;
	color: #fff;
}
.ir-footer p { margin: 0 0 14px; }
.ir-footer a { text-decoration: none; }
/* Hover: lys grå + underline (slår Flatsome sin røde a:hover) */
.ir-footer a:hover,
.ir-footer a:focus { color: #c9ced2 !important; text-decoration: underline; }

.ir-footer__label { font-weight: 700; }

.ir-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ir-footer__links li { margin: 0 0 8px; }

/* Widget-områder (kunden redigerer fra Utseende → Widgets) */
.ir-footer__widget + .ir-footer__widget { margin-top: 24px; }
.ir-footer__widget .ir-footer__head,
.ir-footer__widget .widget-title { margin-top: 0; }
/* Lister i widgets (f.eks. menu-widget) matcher Snarveier-stilen */
.ir-footer__widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ir-footer__widget ul li { margin: 0 0 8px; }

/* Logo nederst til høyre (som retura-midt.no) */
.ir-footer__brand {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}
.ir-footer__logo-link {
	display: inline-flex;
	line-height: 0;
}
.ir-footer__logo-link:hover { text-decoration: none; }
.ir-footer__logo {
	display: block;
	width: 300px;
	max-width: 100%;
	height: auto;
}

/* Bunnlinje */
.ir-footer__bottom {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 28px 28px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, .15);
	font-size: 14px;
	color: rgba(255, 255, 255, .75);
}
.ir-footer__bottom-left {
	display: flex;
	align-items: center;
	gap: 18px;
}
.ir-footer__bottom a {
	font-size: 14px;
	line-height: inherit;
	color: inherit;
}
.ir-footer__bottom a:hover { color: #fff; text-decoration: underline; }

/* Sosiale ikoner ([follow] – Flatsome) */
.ir-footer .social-icons {
	margin: 0;
	display: inline-flex;
	gap: 4px;
}
.ir-footer .social-icons .icon.plain {
	color: #fff;
	opacity: .9;
	background: none;
	border: 0;
}
.ir-footer .social-icons .icon.plain:hover { opacity: 1; color: #fff; }

/* Responsiv */
@media (max-width: 820px) {
	.ir-footer__inner { align-items: flex-start; gap: 32px; }
	.ir-footer__cols { gap: 36px; }
	.ir-footer__brand { width: 100%; justify-content: flex-start; }
	.ir-footer__logo { width: 240px; }
}
@media (max-width: 480px) {
	.ir-footer__inner { padding: 40px 16px 16px; }
	.ir-footer__bottom { padding: 16px 16px 24px; }
	.ir-footer__logo { width: 200px; }
}
