/* Logofactory – Produkt-FAQ & Snabbfakta
   Ärver sajtens typsnitt (Albert Sans / Bebas Neue) från temat. */

/* =========================================================
   SNABBFAKTA
   ========================================================= */

.lf-snabbfakta__heading {
	font-size: 30px;
	margin: 0 0 18px;
	line-height: 1.2;
}

.lf-snabbfakta__table {
	width: 100%;
	max-width: none;
	border-collapse: collapse;
	border: 1px solid #e0e0e0;
	background: #fff;
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
}

.lf-snabbfakta__table thead th {
	background: #fff;
	text-align: center;
	font-weight: 700;
	color: #131313;
	padding: 16px 18px;
	border: 1px solid #e0e0e0;
}

.lf-snabbfakta__table tbody th {
	width: 30%;
	text-align: left;
	font-weight: 400;
	color: #131313;
}

.lf-snabbfakta__table tbody th,
.lf-snabbfakta__table tbody td {
	padding: 16px 18px;
	border: 1px solid #e0e0e0;
	vertical-align: top;
}

.lf-snabbfakta__table tbody tr:nth-child(odd) th,
.lf-snabbfakta__table tbody tr:nth-child(odd) td {
	background: #ececec;
}

.lf-snabbfakta__table tbody tr:nth-child(even) th,
.lf-snabbfakta__table tbody tr:nth-child(even) td {
	background: #f7f7f7;
}

.lf-snabbfakta__table a {
	text-decoration: underline;
}

/* Staplad vy på små skärmar */
@media (max-width: 600px) {
	.lf-snabbfakta__heading { font-size: 24px; }

	.lf-snabbfakta__table,
	.lf-snabbfakta__table tbody,
	.lf-snabbfakta__table tr,
	.lf-snabbfakta__table tbody th,
	.lf-snabbfakta__table tbody td {
		display: block;
		width: auto;
	}

	.lf-snabbfakta__table { border: 0; }
	.lf-snabbfakta__table thead { display: none; }

	.lf-snabbfakta__table tbody tr {
		border: 1px solid #e0e0e0;
		margin-bottom: -1px;
	}

	.lf-snabbfakta__table tbody th,
	.lf-snabbfakta__table tbody td {
		border: 0;
		padding: 10px 14px;
	}

	.lf-snabbfakta__table tbody th {
		font-weight: 600;
		padding-bottom: 0;
		font-size: 13px;
		letter-spacing: .02em;
		text-transform: uppercase;
		color: #6b6b6b;
	}

	.lf-snabbfakta__table tbody tr:nth-child(odd) th,
	.lf-snabbfakta__table tbody tr:nth-child(odd) td { background: #f2f2f2; }
	.lf-snabbfakta__table tbody tr:nth-child(even) th,
	.lf-snabbfakta__table tbody tr:nth-child(even) td { background: #fafafa; }
}

/* =========================================================
   KONTAKTFLIK
   ========================================================= */

/* Full bredd – samma yta som övriga flikar. Formuläret (Elementor/Quform)
   sköter sin egen kolumnindelning. */
.lf-kontakt {
	width: 100%;
	max-width: none;
}

/* Rubrik och brödtext hålls läsbara även när ytan är bred. */
.lf-kontakt__heading,
.lf-kontakt__text {
	max-width: 820px;
}

.lf-kontakt__heading {
	font-size: 30px;
	margin: 0 0 12px;
	line-height: 1.2;
}

.lf-kontakt__text {
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.8;
	color: #3d3d3d;
}

.lf-kontakt__text > *:first-child { margin-top: 0; }
.lf-kontakt__text > *:last-child  { margin-bottom: 0; }

.lf-kontakt__form > *:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
	.lf-kontakt__heading { font-size: 24px; }
}

/* =========================================================
   FAQ
   ========================================================= */

.lf-faq {
	width: 100%;
	max-width: none;
	margin: 0;
}

.lf-faq__heading {
	font-size: 28px;
	margin: 0 0 18px;
	line-height: 1.15;
}

.lf-faq__item {
	border-bottom: 1px solid #e0e0e0;
	background: transparent;
	margin: 0;
}

.lf-faq__item:first-of-type {
	border-top: 1px solid #e0e0e0;
}

.lf-faq__q {
	list-style: none;
	cursor: pointer;
	position: relative;
	display: block;
	padding: 16px 44px 16px 0;
	margin: 0;
	font-weight: 600;
	font-size: 16px;
	line-height: 1.5;
	color: #131313;
	transition: color .15s ease;
}

.lf-faq__q::-webkit-details-marker,
.lf-faq__q::marker {
	display: none;
	content: "";
}

.lf-faq__q:hover {
	color: #000;
}

.lf-faq__q:focus-visible {
	outline: 2px solid #131313;
	outline-offset: 2px;
}

/* Pil */
.lf-faq__q::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid #131313;
	border-bottom: 2px solid #131313;
	transform: translateY(-70%) rotate(45deg);
	transition: transform .18s ease;
}

.lf-faq__item[open] > .lf-faq__q::after {
	transform: translateY(-30%) rotate(225deg);
}

.lf-faq__a {
	padding: 0 44px 20px 0;
	max-width: 900px; /* håller radlängden läsbar även på bred yta */
	font-size: 15px;
	line-height: 1.9;
	color: #3d3d3d;
	animation: lf-faq-in .18s ease;
}

.lf-faq__a > *:first-child { margin-top: 0; }
.lf-faq__a > *:last-child  { margin-bottom: 0; }

.lf-faq__a a {
	text-decoration: underline;
}

.lf-faq__a ul,
.lf-faq__a ol {
	padding-left: 20px;
	margin: 0 0 12px;
}

@keyframes lf-faq-in {
	from { opacity: 0; transform: translateY(-3px); }
	to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.lf-faq__a { animation: none; }
	.lf-faq__q::after { transition: none; }
}

@media (max-width: 767px) {
	.lf-faq__q { font-size: 15px; padding-right: 36px; }
	.lf-faq__a { font-size: 14.5px; padding-right: 0; }
}

/* Skriv ut allt öppet vid utskrift */
@media print {
	.lf-faq__item > .lf-faq__a { display: block !important; }
	.lf-faq__q::after { display: none; }
}
