/*
 * Design refresh 2026
 * Reglerna gäller när <html> har klassen .d26 (sätts i header.php).
 * Samma färger som temat: orange #ff7a03/#ff6203, grön #14c867/#11ad5a,
 * grå #636363/#535353, bakgrund #fafafa. Ny: ljus orange tint #fff1e5.
 */

html.d26 {
	--d26-font: 'Lato', system-ui, sans-serif;
	--o: #ff7a03;
	--o2: #ff6203;
	--g: #14c867;
	--g2: #11ad5a;
	--grey: #636363;
	--grey2: #535353;
	--ink: #222;
	--tint: #fff1e5;
	--tint2: #fff7f0;
	--line: #ececec;
	--line2: #d9d9d9;
	--cta-text: #0b2a17; /* mörk text på grön ger kontrast ~8:1 (vit ger 2,2:1) */
	--r: 12px;
	--r-lg: 20px;
	--shadow: 0 20px 50px rgba(34, 34, 34, .08);
	--shadow-sm: 0 12px 28px rgba(34, 34, 34, .08);
}

/* ---------- Grund ---------- */
html.d26,
html.d26 body {
	font-family: var(--d26-font);
}
html.d26 body {
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html.d26 button,
html.d26 input,
html.d26 select,
html.d26 textarea {
	font-family: inherit;
}

/* ---------- Rubriker ---------- */
html.d26 h1:not(.text_white),
html.d26 .h1:not(.text_white) {
	color: var(--ink);
}
html.d26 h1,
html.d26 .h1 {
	font-size: clamp(28px, 3.4vw, 40px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: none;
	font-weight: 700;
}
html.d26 h1.with_line,
html.d26 .h1.with_line {
	text-align: left;
	margin: 0 0 40px 0;
	padding-top: 20px;
}
html.d26 h1.with_line:after,
html.d26 .h1.with_line:after {
	width: 40px;
	height: 4px;
	border-radius: 4px;
	left: 0;
	margin: 0;
	top: 0;
	bottom: auto;
}
html.d26 h2,
html.d26 .h2 {
	font-size: 24px;
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--ink);
}
html.d26 .text_bold {
	color: var(--ink);
}

/* ---------- Knappar ---------- */
html.d26 .btn {
	border-radius: var(--r);
	font-weight: 700;
	text-align: center;
	transition: background .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
html.d26 .btn.normal {
	height: auto;
	line-height: 1.25;
	padding: 16px 32px;
	font-size: 17px;
}
html.d26 .btn.small {
	height: auto;
	line-height: 1.25;
	padding: 14px 20px;
	font-size: 16px;
}
html.d26 .btn.orange_btn {
	color: var(--cta-text);
}
html.d26 .btn.orange_btn:hover {
	box-shadow: 0 8px 20px rgba(20, 200, 103, .28);
}
html.d26 .btn.other_local_btn {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line2);
}
html.d26 .btn.other_local_btn:hover {
	background: var(--tint2);
	border-color: var(--o);
}
html.d26 .btn.bordered_orange_btn {
	border-color: var(--line2);
	color: var(--ink);
	background: #fff;
}
html.d26 .btn.bordered_orange_btn:hover {
	border-color: var(--o);
	background: var(--tint2);
	color: var(--ink);
}
html.d26 .d26-btn-ghost {
	background: #fff;
	color: var(--ink);
	border: 1px solid var(--line2);
}
html.d26 .d26-btn-ghost:hover {
	border-color: var(--ink);
}

/* Gröna stadsväljaren (används där den finns kvar) */
html.d26 .select_outer select {
	border-radius: var(--r);
	text-transform: none;
	font-weight: 700;
	color: var(--cta-text);
}
html.d26 .select_outer .icon-arrow_down {
	color: var(--cta-text);
}

/* ---------- Header ---------- */
html.d26 header {
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}
html.d26 .header_top_line.bg_orange {
	background: #fff;
	border-bottom: 1px solid var(--line);
	font-size: 13px;
}
html.d26 .header_top_line .header_top_line_inner .item span,
html.d26 .header_top_line .header_top_line_inner .item a {
	color: var(--grey);
}
html.d26 .header_top_line .header_top_line_inner .item i {
	color: var(--o);
}
html.d26 .header_top_line .linkedin-icon {
	fill: var(--grey);
}
html.d26 .header_main {
	-webkit-box-shadow: none;
	box-shadow: none;
	border-bottom: 1px solid var(--line);
}
html.d26 .header_main .menu-header-menu-container .menu > li > a {
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}
html.d26 .header_main .menu-header-menu-container .menu > li.current-menu-item > a,
html.d26 .header_main .menu-header-menu-container .menu > li:not(.d26-menu-cta):hover > a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--o);
	text-decoration-thickness: 2px;
	text-underline-offset: 8px;
}
html.d26 .header_main .menu-header-menu-container .menu > li.menu-item-has-children > .icon-arrow_down,
html.d26 .header_main .menu-header-menu-container .menu > li.menu-item-has-children:hover .icon-arrow_down {
	color: var(--grey);
}
html.d26 .header_main .menu-header-menu-container .menu .sub-menu {
	border-radius: 14px;
	padding: 8px;
	border: 1px solid var(--line);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	min-width: 240px;
}
html.d26 .header_main .menu-header-menu-container .menu .sub-menu li a {
	border-radius: 8px;
	color: var(--ink);
	padding: 0 14px;
}
html.d26 .header_main .menu-header-menu-container .menu .sub-menu li a:hover {
	background: var(--tint);
	color: var(--ink);
}

/* "Boka tid" i menyn */
html.d26 .header_main .menu-header-menu-container .menu > li.d26-menu-cta {
	display: inline-block;
}
html.d26 .header_main .menu-header-menu-container .menu > li.d26-menu-cta > a {
	display: inline-block;
	vertical-align: middle;
	height: 42px;
	line-height: 42px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--g);
	color: var(--cta-text);
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease;
}
html.d26 .header_main .menu-header-menu-container .menu > li.d26-menu-cta > a:hover {
	background: var(--g2);
	color: var(--cta-text);
}

/* Mobilmeny */
html.d26 #nav-icon {
	background: transparent;
}
html.d26 #nav-icon span {
	background: var(--ink);
	border-radius: 2px;
}
html.d26 header.open .header_main .menu-header-menu-container .menu > li {
	border-radius: var(--r);
	box-shadow: none;
	border: 1px solid var(--line);
}
html.d26 header.open .header_main .menu-header-menu-container .menu > li.d26-menu-cta {
	display: block;
	border: 0;
	background: transparent;
}
html.d26 header.open .header_main .menu-header-menu-container .menu > li.d26-menu-cta > a {
	display: block;
	text-align: center;
	height: 48px;
	line-height: 48px;
	border-radius: var(--r);
}

/* ---------- Hero (ny) ---------- */
html.d26 .d26-hero {
	display: block;
	background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
	padding: 140px 0 88px;
}
html.d26 .d26-hero__inner {
	display: flex;
	gap: 56px;
	align-items: center;
	flex-wrap: wrap;
}
html.d26 .d26-hero__inner:after {
	display: none;
}
html.d26 .d26-hero__text {
	flex: 1 1 480px;
	min-width: 0;
}
html.d26 .d26-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--tint);
	color: #9a3d00;
	font-size: 13px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
}
html.d26 .d26-pill:before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--o);
}
html.d26 .d26-hero h1 {
	font-size: clamp(32px, 4.4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.025em;
	margin: 20px 0 18px;
}
html.d26 .d26-lead {
	font-size: 19px;
	line-height: 1.6;
	color: var(--grey);
	margin: 0 0 32px;
	max-width: 540px;
}
html.d26 .d26-hero__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
html.d26 .d26-trust {
	display: flex;
	gap: 12px 28px;
	flex-wrap: wrap;
	margin-top: 32px;
	font-size: 15px;
	color: var(--grey);
}
html.d26 .d26-trust li {
	display: flex;
	align-items: center;
	gap: 10px;
}
html.d26 .d26-trust li:before {
	content: '';
	width: 10px;
	height: 5px;
	border-left: 2px solid var(--o);
	border-bottom: 2px solid var(--o);
	transform: rotate(-45deg) translateY(-2px);
}
html.d26 .d26-book {
	flex: 1 1 360px;
	max-width: 440px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 32px;
}
html.d26 .d26-book h2 {
	font-size: 22px;
	margin: 0 0 6px;
}
html.d26 .d26-book > p {
	margin: 0 0 20px;
	font-size: 15px;
	color: var(--grey);
}
html.d26 .d26-book label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 6px;
}
html.d26 .d26-select {
	position: relative;
	margin-bottom: 20px;
}
html.d26 .d26-select select {
	width: 100%;
	height: 52px;
	border: 1px solid var(--line2);
	border-radius: var(--r);
	padding: 0 44px 0 14px;
	font-size: 16px;
	background: #fafafa;
	color: var(--ink);
	cursor: pointer;
	outline: none;
}
html.d26 .d26-select select:focus {
	border-color: var(--o);
	box-shadow: 0 0 0 3px var(--tint);
}
html.d26 .d26-select:after {
	content: '';
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
html.d26 .d26-book .btn {
	display: block;
	width: 100%;
}

/* ---------- Sektioner ---------- */
html.d26 .block_item {
	padding: 88px 0;
}

/* Tjänstekort */
html.d26 .services_list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
html.d26 .services_list li {
	width: auto;
	margin: 0;
	text-align: left;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
html.d26 .services_list li a {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	padding: 24px;
	color: var(--ink);
}
html.d26 .services_list li a:after {
	content: '→';
	margin-top: auto;
	color: var(--ink);
	font-size: 18px;
}
html.d26 .services_list li i {
	font-size: 26px;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--tint);
	display: flex;
	align-items: center;
	justify-content: center;
}
html.d26 .services_list li img.svg-color {
	width: 52px;
	height: 52px;
	padding: 11px;
	border-radius: 14px;
	background: var(--tint);
}
html.d26 .services_list li p {
	font-size: 14px;
	margin: 0;
	color: var(--grey);
}
html.d26 .services_list li p span {
	font-size: 18px;
	line-height: 1.3;
	color: var(--ink);
	margin-top: 2px;
}
html.d26 .services_list li:hover {
	background: #fff;
	border-color: var(--o);
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
}
html.d26 .services_list li:hover i {
	color: var(--o);
}
html.d26 .services_list li:hover p {
	color: var(--grey);
}
html.d26 .services_list li:hover p span {
	color: var(--ink);
}

/* Textblock på startsidan */
html.d26 .front_content_block .content_outer {
	-webkit-column-gap: 56px;
	column-gap: 56px;
	line-height: 1.7;
}
html.d26 .front_content_block p strong {
	font-size: 22px;
	color: var(--ink);
}

/* Kundomdömen */
html.d26 .testimonials_block .swiper-container .swiper-slide {
	border: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	border-radius: 16px;
}
html.d26 .testimonials_block .swiper-container .swiper-pagination .swiper-pagination-bullet {
	background: var(--line2);
	opacity: 1;
}
html.d26 .testimonials_block .swiper-container .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background: var(--o);
	width: 24px;
	border-radius: 5px;
}

/* ---------- Tjänstesida ---------- */
html.d26 .service_header.bg_grey {
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 48px 0 40px;
}
html.d26 .service_header h1,
html.d26 .service_header h1.text_white {
	color: var(--ink);
	float: none;
	line-height: 1.15;
}
html.d26 .service_header h1:before {
	content: '';
	display: block;
	width: 40px;
	height: 4px;
	border-radius: 4px;
	background: var(--o);
	margin-bottom: 18px;
}
html.d26 .service_content .content_outer,
html.d26 .drog_block .content_outer {
	line-height: 1.7;
}
html.d26 .content_outer p a,
html.d26 .content_outer li a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--o);
	text-underline-offset: 3px;
}

/* Pris- och bokningsbox */
html.d26 .service_city_table {
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	-webkit-box-shadow: var(--shadow);
	box-shadow: var(--shadow);
	padding: 32px;
}
html.d26 .service_city_table .price_block .price_item {
	border: 1px solid var(--line2);
	border-radius: var(--r);
	background: #fafafa;
	padding: 16px 0;
	transition: background .2s ease, border-color .2s ease;
}
html.d26 .service_city_table .price_block .price_item_title {
	font-size: 15px;
	color: var(--grey);
}
html.d26 .service_city_table .price_block .price_item_value {
	font-size: 24px;
	font-weight: 700;
	color: var(--ink);
}
html.d26 .service_city_table .price_block .price_item-link:hover .price_item {
	background: var(--tint2);
	border-color: var(--o);
}
html.d26 .service_city_table .price_descriptions table {
	border: 0;
	border-collapse: collapse;
	width: 100%;
}
html.d26 .service_city_table .price_descriptions table tr {
	border: 0;
}
html.d26 .service_city_table .price_descriptions table td {
	border: 0;
	border-bottom: 1px solid var(--line);
	padding: 10px 12px;
}
html.d26 .service_city_table .intyg_block {
	border: 0;
	background: var(--tint2);
	border-radius: 14px;
}
html.d26 .service_city_table .btns_group .btn {
	padding: 14px 12px;
}
html.d26 .service_city_table .box-invaliditetsintyg .green_border_btn {
	border: 1px solid var(--line2);
	border-radius: 10px;
	transition: border-color .2s ease;
}
html.d26 .service_city_table .box-invaliditetsintyg .green_border_btn:hover {
	border-color: var(--g);
}
html.d26 .service_city_table .box-invaliditetsintyg .green_border_btn a {
	color: var(--ink);
	font-weight: 700;
}

/* Lista med bockar */
html.d26 ul.list li {
	padding: 0 0 0 24px;
	margin: 0 0 6px;
}
html.d26 ul.list li:after {
	width: 10px;
	height: 5px;
	border-radius: 0;
	background: none;
	border-left: 2px solid var(--o);
	border-bottom: 2px solid var(--o);
	transform: rotate(-45deg);
	left: 3px;
	top: 9px;
}

/* Infoblock */
html.d26 .info-block {
	border: 0;
	background: var(--tint2);
	border-radius: 14px;
	padding: 18px 20px;
}

/* ---------- FAQ ---------- */
html.d26 .content-entry {
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: none;
	background: #fff;
}
html.d26 .accordion-title:hover,
html.d26 .open:hover .accordion-title {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--o);
	text-underline-offset: 4px;
}

/* ---------- Formulär (Contact Form 7) ---------- */
html.d26 .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]),
html.d26 .wpcf7 textarea {
	border: 1px solid var(--line2);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 16px;
	background: #fff;
}
html.d26 .wpcf7 input:focus,
html.d26 .wpcf7 textarea:focus {
	border-color: var(--o);
	box-shadow: 0 0 0 3px var(--tint);
	outline: none;
}
html.d26 .wpcf7 input[type=submit] {
	border-radius: var(--r);
	background: var(--g);
	color: var(--cta-text);
	font-weight: 700;
	border: 0;
	cursor: pointer;
}
html.d26 .wpcf7 input[type=submit]:hover {
	background: var(--g2);
}

/* ---------- Footer ---------- */
html.d26 .footer {
	background: var(--grey2);
	padding: 64px 0 32px;
	text-align: left;
}
html.d26 .footer .footer-wrap .footer-addresses {
	border-left-color: #6e6e6e;
	padding-left: 32px;
}
html.d26 .footer .footer-wrap .footer-menu .menu li a {
	display: inline-block;
	color: #fff;
	font-size: 15px;
}
html.d26 .footer .footer-wrap .footer-menu .menu li a:hover {
	text-decoration: underline;
	text-decoration-color: var(--o);
	text-underline-offset: 4px;
}
html.d26 .footer .footer-wrap .footer-addresses .footer-addresses-row .footer_item .city_name {
	font-size: 17px;
	margin: 6px 0 4px;
}
html.d26 .footer .footer-wrap .footer-addresses .footer-addresses-row .footer_item .city_name a.text_orange {
	color: #fff;
	font-weight: 700;
}
html.d26 .footer .footer-wrap .footer-addresses .footer-addresses-row .footer_item .city_name a.text_orange:hover {
	text-decoration: underline;
	text-decoration-color: var(--o);
	text-underline-offset: 4px;
}
html.d26 .footer .footer-wrap .footer-addresses .footer-addresses-row .footer_item p,
html.d26 .footer .footer-wrap .footer-addresses .footer-addresses-row .footer_item a.tel {
	color: #e6e6e6;
	font-size: 14px;
	line-height: 1.5;
}

/* ---------- Responsivt ---------- */
@media screen and (max-width: 1023px) {
	html.d26 .d26-hero__inner {
		gap: 40px;
	}
	html.d26 .d26-book {
		max-width: none;
	}
	html.d26 .service_city_table {
		padding: 24px;
	}
}

@media screen and (max-width: 767px) {
	html.d26 body {
		font-size: 16px;
	}
	html.d26 .block_item,
	html.d26 .services_block.block_item {
		padding: 48px 0;
	}
	html.d26 .d26-hero {
		padding: 72px 0 48px;
	}
	html.d26 .d26-lead {
		font-size: 17px;
	}
	html.d26 .d26-book {
		padding: 24px;
	}
	html.d26 .footer .footer-wrap .footer-addresses {
		padding-left: 0;
	}
}

@media screen and (max-width: 639px) {
	html.d26 .services_list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}
	html.d26 .services_list li {
		width: auto;
	}
	html.d26 .services_list li a {
		padding: 16px;
		gap: 10px;
	}
	html.d26 .services_list li i,
	html.d26 .services_list li img.svg-color {
		width: 44px;
		height: 44px;
		font-size: 22px;
	}
	html.d26 .services_list li p span {
		font-size: 16px;
	}
	html.d26 .d26-hero__actions .btn {
		flex: 1 1 100%;
	}
}
