/*
 * Identiteten "Ribbpanelen" (0.2.0). Laddas bara när atdt_tyst_v2() är sant,
 * och allt är avgränsat till body.tyst-v2. Underlag: ägargodkända ritningar
 * Tyst.dc.html, Start-Tyst-mobil och Artikel-Tyst-mobil plus Annonsregler
 * (2026-10-27). Papper, grafit och filtgrönt; lamellbandet som grafiskt grepp.
 * Bricolage Grotesque för rubriker, Crimson Pro för löptext.
 */
body.tyst-v2 {
	--atdt-bg:        #EEECE8;
	--atdt-surface:   #F8F7F4;
	--atdt-ink:       #24272A;
	--atdt-accent:    #3E5C4E;
	--atdt-accent-2:  #24272A;
	--atdt-muted:     #5B5F63;
	--atdt-text-2:    #3F4347;
	--atdt-neutral:   #D3D0CA;
	--atdt-neutral-2: #E2DFDA;
	--atdt-on-accent: #FFFFFF;
	--atdt-on-dark:   #D9D6D0;
	--atdt-band:      #2E3236;
	--atdt-lamell:    #3A3F44;
	--atdt-accent-dark: #8DB3A0;
	--atdt-font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--atdt-font-body:    "Crimson Pro", Georgia, "Times New Roman", serif;
	--atdt-font-mono:    ui-monospace, "SF Mono", Menlo, monospace;
	--atdt-radius:    0;
	--atdt-maxwidth:  720px;
	--ty-bredd:       1160px;

	background: var(--atdt-bg);
	color: var(--atdt-ink);
	font-family: var(--atdt-font-body);
	font-size: 21px;
	line-height: 1.55;
}

/* Länkar: grafit med filtgrön understrykning. */
.tyst-v2 a { color: var(--atdt-ink); text-decoration: underline; text-decoration-color: var(--atdt-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.tyst-v2 a:hover,
.tyst-v2 a:focus { color: var(--atdt-accent); }

.tyst-v2 h1, .tyst-v2 h2, .tyst-v2 h3, .tyst-v2 h4,
.tyst-v2 .entry-title {
	font-family: var(--atdt-font-display);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	color: var(--atdt-ink);
}
/* Rubriker bryts mellan ord, aldrig med avstavning mitt i. */
.tyst-v2 h1, .tyst-v2 h2, .tyst-v2 h3, .tyst-v2 h4, .tyst-v2 .entry-title,
.tyst-v2 .wp-block-heading,
.tyst-v2 .entry-content h2, .tyst-v2 .entry-content h3, .tyst-v2 .entry-content h4 {
	-webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word;
}

/* ---------- Sidhuvud ---------- */
.tyst-v2 .site-header { background: var(--atdt-bg); border-bottom: 0; }
.tyst-v2 .inside-header { max-width: var(--ty-bredd); padding: 22px 24px; align-items: center; }
.tyst-v2 .site-branding .main-title { margin: 0; line-height: 1; }
.tyst-v2 .tyst-ordmarke {
	display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
	font-family: var(--atdt-font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.01em;
	color: var(--atdt-ink); text-decoration: none;
}
.tyst-v2 .tyst-ordmarke:hover { color: var(--atdt-ink); }
.tyst-v2 .tyst-lameller { display: inline-flex; gap: 3px; align-items: flex-end; height: 26px; }
.tyst-v2 .tyst-lamell { display: block; width: 4px; background: var(--atdt-ink); }
.tyst-v2 .tyst-lamell:nth-child(1) { height: 26px; }
.tyst-v2 .tyst-lamell:nth-child(2) { height: 18px; }
.tyst-v2 .tyst-lamell:nth-child(3) { height: 12px; }
.tyst-v2 .tyst-lamell:nth-child(4) { height: 7px; background: var(--atdt-accent); }

.tyst-v2 .main-navigation,
.tyst-v2 .main-navigation .inside-navigation,
.tyst-v2 .main-navigation ul ul { background: var(--atdt-bg) !important; }
.tyst-v2 .main-navigation .main-nav ul li a,
.tyst-v2 .main-navigation a {
	font-family: var(--atdt-font-display); font-weight: 600; font-size: 16px;
	color: var(--atdt-ink) !important; text-decoration: none;
}
.tyst-v2 .main-navigation .main-nav ul li:hover > a,
.tyst-v2 .main-navigation .main-nav ul li a:focus { color: var(--atdt-accent) !important; }
.tyst-v2 .main-navigation .main-nav ul li.current-menu-item > a { box-shadow: inset 0 -2px 0 var(--atdt-accent); }
.tyst-v2 .main-navigation ul ul { border: 1px solid var(--atdt-neutral); box-shadow: none; }

@media (min-width: 769px) {
	.tyst-v2 .inside-header { justify-content: space-between; }
	.tyst-v2 #site-navigation { margin-left: auto !important; width: auto; flex: 0 0 auto; }
	.tyst-v2 .main-navigation .main-nav > ul > li > a { padding-left: 13px; padding-right: 13px; }
	.tyst-v2 .main-navigation .main-nav > ul > li:last-child > a { padding-right: 0; }
}

/* ---------- Innehållsytan ---------- */
.tyst-v2 .site.grid-container { max-width: none; }
.tyst-v2 .site-content { max-width: var(--ty-bredd); margin: 0 auto; padding: 0 24px; display: block; }
.tyst-v2.separate-containers .inside-article,
.tyst-v2 .inside-article { background: transparent; padding: 40px 0 56px; }
.tyst-v2.separate-containers .site-main { margin: 0; }
.tyst-v2 .widget-area.sidebar { display: none; }
.tyst-v2 .atdt-damp { display: none; }
body.tyst-v2.no-sidebar .site-content .content-area { max-width: none; float: none; margin: 0; width: 100%; }

/* Lamellbandet: ribbor på filt. */
.tyst-v2 .tyst-lamellband { display: flex; gap: 8px; height: 22px; overflow: hidden; padding: 0 24px; background: var(--atdt-band); }
.tyst-v2 .tyst-lamellband span { flex: 0 0 18px; background: var(--atdt-lamell); }

/* ---------- Startsidan ---------- */
.tyst-v2.home .site-content { max-width: none; padding: 0; }
.tyst-v2 .tyst-start .site-main { margin: 0; }
.tyst-v2 .tyst-hjalte { background: var(--atdt-ink); color: #F4F2EE; }
.tyst-v2 .tyst-hjalte-inre { max-width: var(--ty-bredd); margin: 0 auto; padding: 60px 24px 64px; box-sizing: border-box; }
.tyst-v2 .tyst-hjalte h1 {
	margin: 0; color: #F4F2EE; font-weight: 700; font-size: clamp(42px, 5.6vw, 72px);
	line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch;
}
.tyst-v2 .tyst-hjalte-ingress { margin: 22px 0 0; max-width: 32em; color: var(--atdt-on-dark); font-size: 21px; }
.tyst-v2 .tyst-hjalte-ingress a { color: #FFFFFF; text-decoration-color: var(--atdt-accent-dark); }

.tyst-v2 .tyst-start-inre { max-width: var(--ty-bredd); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.tyst-v2 .tyst-vad { padding: 60px 0 24px; }
.tyst-v2 .tyst-vad h2 { margin: 0 0 8px; font-size: 36px; }
.tyst-v2 .tyst-vad-led { margin: 0 0 28px; color: var(--atdt-muted); max-width: 34em; }
.tyst-v2 .tyst-vad h2 + .tyst-kortrad { margin-top: 20px; }
.tyst-v2 .tyst-kortrad { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.tyst-v2 .tyst-kort {
	display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--atdt-ink);
	background: var(--atdt-surface); border: 1px solid var(--atdt-neutral); padding: 26px 28px 28px;
}
.tyst-v2 a.tyst-kort:hover { border-color: var(--atdt-accent); color: var(--atdt-ink); }
.tyst-v2 a.tyst-kort:hover .tyst-kort-rubrik { text-decoration: underline; text-decoration-color: var(--atdt-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tyst-v2 .tyst-kort-etikett {
	font-family: var(--atdt-font-display); font-weight: 600; font-size: 15px;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--atdt-accent);
}
.tyst-v2 .tyst-kort-rubrik { font-family: var(--atdt-font-display); font-weight: 700; font-size: 28px; line-height: 1.15; }
.tyst-v2 .tyst-kort-text { font-size: 19px; color: var(--atdt-text-2); }
.tyst-v2 .tyst-ikon { display: flex; gap: 4px; align-items: flex-end; height: 34px; margin-top: 6px; }
.tyst-v2 .tyst-ikon-absorption span { display: block; width: 10px; background: var(--atdt-ink); }
.tyst-v2 .tyst-ikon-absorption span:nth-child(1) { height: 34px; }
.tyst-v2 .tyst-ikon-absorption span:nth-child(2) { height: 28px; }
.tyst-v2 .tyst-ikon-absorption span:nth-child(3) { height: 22px; }
.tyst-v2 .tyst-ikon-absorption span:nth-child(4) { height: 14px; background: var(--atdt-accent); }
.tyst-v2 .tyst-ikon-absorption span:nth-child(5) { height: 8px; background: var(--atdt-accent); }
.tyst-v2 .tyst-ikon-isolering span:nth-child(1) { display: block; width: 34px; height: 34px; border: 3px solid var(--atdt-ink); box-sizing: border-box; }
.tyst-v2 .tyst-ikon-isolering span:nth-child(2) { display: block; width: 10px; height: 34px; background: var(--atdt-accent); }
.tyst-v2 .tyst-vad-efter { margin: 24px 0 0; max-width: 40em; font-size: 19px; color: var(--atdt-text-2); }

.tyst-v2 .tyst-kolumner,
.tyst-v2 .tyst-grupper {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: 40px 56px; padding: 48px 0 24px;
}
.tyst-v2 .tyst-grupper { padding: 24px 0 72px; }
.tyst-v2 .tyst-kolumn h2,
.tyst-v2 .tyst-grupp h2 {
	margin: 0 0 14px; padding-top: 14px; border-top: 4px solid var(--atdt-ink); font-size: 26px;
}
.tyst-v2 .tyst-kolumn h2 a { text-decoration: none; display: inline-block; padding: 6px 0; }
.tyst-v2 .tyst-kolumn h2 a:hover { text-decoration: underline; text-decoration-color: var(--atdt-accent); }
.tyst-v2 .tyst-kolumn ul,
.tyst-v2 .tyst-grupp ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.tyst-v2 .tyst-kolumn li,
.tyst-v2 .tyst-grupp li { margin: 0; font-size: 19px; line-height: 1.4; }
.tyst-v2 .tyst-kolumn li a { display: inline-block; padding: 7px 0; }
.tyst-v2 .tyst-grupp li { padding: 7px 0; color: var(--atdt-text-2); }
.tyst-v2 .tyst-grupp li a { color: var(--atdt-ink); }
.tyst-v2 .tyst-grupp p { font-size: 19px; color: var(--atdt-text-2); }
.tyst-v2 .tyst-grupp .atdt-granskad { font-family: var(--atdt-font-display); font-size: 14px !important; color: var(--atdt-muted) !important; }

/* ---------- Annonsplatser ---------- */
.tyst-v2 .annons { clear: both; margin: 0; padding: 8px 0 40px; }
.tyst-v2 .inside-article .annons { padding: 4px 0 30px; margin: 34px 0 0; }
.tyst-v2 .annons-ram { border-top: 1px solid var(--atdt-neutral); border-bottom: 1px solid var(--atdt-neutral); padding: 8px 0 16px; }
.tyst-v2 .annons-etikett {
	margin: 0 0 8px !important; font-family: var(--atdt-font-display); font-size: 12px !important; font-weight: 600;
	letter-spacing: 0.1em; text-transform: uppercase; color: var(--atdt-muted);
}
.tyst-v2 .annons-yta,
.tyst-v2 .annons .adsbygoogle { min-height: 250px; }
/* Multiplex (autorelaxed) är högre än display. */
.tyst-v2 .annons.annons-multiplex .annons-yta,
.tyst-v2 .annons.annons-multiplex .adsbygoogle { min-height: 300px; }
.tyst-v2 .annons-prov .annons-yta { background: var(--atdt-neutral-2); }

/* ---------- Artikeln ---------- */
.tyst-v2.single .site-main,
.tyst-v2.page:not(.home) .site-main { max-width: 760px; margin: 0 auto; }
.tyst-v2 .tyst-kicker {
	margin: -10px 0 0; font-family: var(--atdt-font-display); font-weight: 600; font-size: 14px;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--atdt-accent);
}
.tyst-v2 .tyst-kicker a { display: inline-block; padding: 12px 0; color: inherit; text-decoration: none; }
.tyst-v2 .tyst-kicker a:hover { text-decoration: underline; }
.tyst-v2 h1.entry-title { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; }
.tyst-v2 .entry-meta,
.tyst-v2 .tyst-byline { font-family: var(--atdt-font-display); font-size: 14px; color: var(--atdt-muted); }
.tyst-v2 .entry-meta a { color: var(--atdt-muted); }
.tyst-v2 .tyst-byline { margin: 0 0 20px; }
.tyst-v2 .entry-header { margin-bottom: 20px; }
.tyst-v2 .featured-image img,
.tyst-v2 .post-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; display: block; }
/* Första bilden i texten fungerar som utvald bild: 16:9, kredit under. */
.tyst-v2 .entry-content > figure.wp-block-image:first-child,
.tyst-v2 .entry-content > .tyst-byline + figure.wp-block-image { margin: 0 0 22px; }
.tyst-v2 .entry-content > figure.wp-block-image:first-child img,
.tyst-v2 .entry-content > .tyst-byline + figure.wp-block-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; height: auto; }
.tyst-v2 figcaption,
.tyst-v2 .wp-element-caption { font-family: var(--atdt-font-display); font-size: 13px; color: var(--atdt-muted); margin-top: 6px; }
.tyst-v2 .entry-content .atdt-bildkredit,
.tyst-v2 .entry-content .atdt-fotokredit { font-family: var(--atdt-font-display); font-size: 13px !important; color: var(--atdt-muted) !important; }
.tyst-v2 .entry-content > * { max-width: var(--atdt-maxwidth); }
.tyst-v2 .entry-content h2 { font-size: 26px; line-height: 1.2; margin: 34px 0 14px; }
.tyst-v2 .entry-content h3 { font-size: 21px; margin: 28px 0 10px; }
.tyst-v2 .entry-content p,
.tyst-v2 .entry-content li { font-size: 20px; line-height: 1.55; }

/* Tabeller, citat och rutor: linjer i stället för färgfält. */
.tyst-v2 .entry-content table { border-top: 2px solid var(--atdt-ink); border-collapse: collapse; width: 100%; }
.tyst-v2 .entry-content table th { background: transparent; color: var(--atdt-ink); font-family: var(--atdt-font-display); font-weight: 700; border: 0; border-bottom: 1px solid var(--atdt-ink); vertical-align: bottom; }
.tyst-v2 .entry-content table td { border: 0; border-bottom: 1px solid var(--atdt-neutral); vertical-align: top; }
.tyst-v2 .entry-content table th,
.tyst-v2 .entry-content table td { padding: 0.55rem 0.75rem 0.55rem 0; font-size: 17px; line-height: 1.45; }
.tyst-v2 .entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tyst-v2 .entry-content > table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tyst-v2 .entry-content blockquote { border: 0; border-left: 3px solid var(--atdt-accent); border-radius: 0; background: transparent; padding: 4px 0 4px 20px; margin-left: 0; }
.tyst-v2 .entry-content code { background: var(--atdt-neutral-2); border-radius: 0; font-family: var(--atdt-font-mono); }
.tyst-v2 .entry-content .wp-block-button__link,
.tyst-v2 button:not(.cky-btn),
.tyst-v2 input[type="submit"],
.tyst-v2 .tyst-cta-button { background: var(--atdt-ink); color: #FFFFFF !important; border-radius: 0; font-family: var(--atdt-font-display); font-weight: 600; text-decoration: none; }
.tyst-v2 button:not(.cky-btn):hover,
.tyst-v2 input[type="submit"]:hover,
.tyst-v2 .tyst-cta-button:hover { background: var(--atdt-accent); color: #FFFFFF; }
.tyst-v2 .tyst-product-card { border-radius: 0; border-color: var(--atdt-neutral); background: var(--atdt-surface); }
.tyst-v2 .tyst-card-price { color: var(--atdt-accent); font-family: var(--atdt-font-display); }
.tyst-v2 .tyst-review-image { border-radius: 0; }

/* Rutor som andra lager lägger i texten: samma linjespråk. */
.tyst-v2 .atdt-granskad { font-family: var(--atdt-font-display); font-size: 14px !important; color: var(--atdt-muted) !important; border-top-color: var(--atdt-neutral) !important; }
.tyst-v2 .atdt-finjur-granskning,
.tyst-v2 .atdt-medicinsk-granskning { background: var(--atdt-surface) !important; border: 1px solid var(--atdt-neutral) !important; border-left: 3px solid var(--atdt-accent) !important; border-radius: 0 !important; font-family: var(--atdt-font-body); color: var(--atdt-ink) !important; }
.tyst-v2 .atdt-finjur-granskning strong { font-family: var(--atdt-font-display); color: var(--atdt-ink) !important; }
.tyst-v2 .matcher-related { background: transparent !important; border: 0 !important; border-top: 3px solid var(--atdt-ink) !important; border-radius: 0 !important; box-shadow: none !important; padding: 14px 0 0 !important; margin-top: 34px; }
.tyst-v2 .matcher-related__heading { font-size: 22px !important; margin: 0 0 6px !important; }
.tyst-v2 .matcher-related__list { list-style: none; margin: 0; padding: 0; }
.tyst-v2 .matcher-related__item { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--atdt-neutral); font-size: 18px; line-height: 1.45; }
.tyst-v2 .matcher-related__domain,
.tyst-v2 .matcher-related__attribution { font-family: var(--atdt-font-display); font-size: 13px; color: var(--atdt-muted); }

/* Läs också */
.tyst-v2 .las-ocksa { margin: 34px 0 0; border-top: 3px solid var(--atdt-ink); padding-top: 14px; max-width: var(--atdt-maxwidth); }
.tyst-v2 .las-ocksa h2 { margin: 0 0 6px; font-size: 22px; }
.tyst-v2 .las-ocksa ul { list-style: none; margin: 0; padding: 0; }
.tyst-v2 .las-ocksa li { margin: 0; border-bottom: 1px solid var(--atdt-neutral); }
.tyst-v2 .las-ocksa a { display: block; padding: 14px 0; text-decoration: none; font-family: var(--atdt-font-display); font-weight: 600; font-size: 18px; line-height: 1.35; }
.tyst-v2 .las-ocksa a:hover { text-decoration: underline; text-decoration-color: var(--atdt-accent); }
.tyst-v2.single footer.entry-meta { margin-top: 28px; }
.tyst-v2 .post-navigation .nav-previous,
.tyst-v2 .post-navigation .nav-next { font-family: var(--atdt-font-display); font-size: 15px; }
.tyst-v2 .post-navigation a,
.tyst-v2 .cat-links a { display: inline-block; padding: 10px 0; }

/* ---------- Kategorier och sök: linjerade rader ---------- */
.tyst-v2.archive .site-main,
.tyst-v2.search .site-main,
.tyst-v2.blog .site-main { max-width: 820px; margin: 48px auto 72px; }
.tyst-v2.archive .inside-article,
.tyst-v2.search .inside-article,
.tyst-v2.blog .inside-article { padding: 20px 0 22px; border-bottom: 1px solid var(--atdt-neutral); }
.tyst-v2.archive .site-main > article:first-of-type .inside-article,
.tyst-v2.search .site-main > article:first-of-type .inside-article { border-top: 4px solid var(--atdt-ink); }
.tyst-v2.archive .post-image,
.tyst-v2.search .post-image,
.tyst-v2.blog .post-image { display: none; }
.tyst-v2.archive h2.entry-title,
.tyst-v2.search h2.entry-title,
.tyst-v2.blog h2.entry-title { font-size: 24px; line-height: 1.25; margin: 0; }
.tyst-v2.archive h2.entry-title a,
.tyst-v2.search h2.entry-title a,
.tyst-v2.blog h2.entry-title a { text-decoration: none; }
.tyst-v2.archive h2.entry-title a:hover,
.tyst-v2.search h2.entry-title a:hover,
.tyst-v2.blog h2.entry-title a:hover { text-decoration: underline; text-decoration-color: var(--atdt-accent); }
.tyst-v2.archive .entry-summary,
.tyst-v2.search .entry-summary,
.tyst-v2.blog .entry-summary { font-size: 18px; line-height: 1.5; color: var(--atdt-text-2); margin-top: 8px; }
.tyst-v2.archive .entry-summary p,
.tyst-v2.search .entry-summary p,
.tyst-v2.blog .entry-summary p { margin: 0; }
.tyst-v2.archive footer.entry-meta,
.tyst-v2.search footer.entry-meta,
.tyst-v2.blog footer.entry-meta { margin-top: 8px; font-size: 14px; }
.tyst-v2 .site-main > .page-header { background: transparent; padding: 0 0 20px; margin: 0; }
.tyst-v2 .page-header .page-title { font-size: clamp(34px, 4vw, 48px); margin: 0; }
.tyst-v2 .taxonomy-description { font-size: 20px; color: var(--atdt-text-2); margin-top: 6px; }
.tyst-v2 .paging-navigation,
.tyst-v2 .nav-links { font-family: var(--atdt-font-display); font-weight: 600; }
.tyst-v2 .nav-links .page-numbers { display: inline-block; min-width: 44px; min-height: 44px; line-height: 44px; text-align: center; }
.tyst-v2 .paging-navigation { background: transparent; padding: 24px 0 0; }
.tyst-v2 .read-more-container a,
.tyst-v2 a.read-more { display: inline-block; padding: 10px 0; font-family: var(--atdt-font-display); font-size: 15px; }

/* 404 och sök: hel sida, sökfältet i full bredd. */
.tyst-v2.error404 .site-main { max-width: 760px; margin: 0 auto; min-height: 50vh; }
.tyst-v2.error404 .inside-article { padding-top: 64px; }
.tyst-v2 .search-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 560px; }
.tyst-v2 .search-form label { flex: 1 1 260px; display: flex; }
.tyst-v2 .search-form .search-field {
	flex: 1 1 auto; width: 100%; min-height: 48px; font-size: 16px; font-family: var(--atdt-font-display);
	border: 1px solid var(--atdt-ink); background: #FFFFFF; color: var(--atdt-ink); border-radius: 0; padding: 0 14px;
}
.tyst-v2 .search-form .search-submit { min-height: 48px; padding: 0 22px; font-size: 16px; }

/* ---------- Sidfoten ---------- */
.tyst-v2 .site-footer,
.tyst-v2 .site-footer .site-info,
.tyst-v2 .site-footer .inside-site-info,
.tyst-v2 .site-footer .footer-widgets { background: var(--atdt-ink) !important; color: var(--atdt-on-dark); font-family: var(--atdt-font-display); }
.tyst-v2 .site-footer .inside-site-info { max-width: var(--ty-bredd); padding: 36px 24px 44px; }
.tyst-v2 .site-footer a,
.tyst-v2 .site-footer .footer-bar .widget_nav_menu li a { color: #FFFFFF !important; text-decoration: underline; text-decoration-color: var(--atdt-accent-dark); }
.tyst-v2 .site-footer .footer-bar .widget_nav_menu li a { display: inline-block; padding: 10px 0; }
.tyst-v2 .site-footer .copyright-bar { font-size: 15px; color: var(--atdt-on-dark); }

/* ---------- Mobil ---------- */
@media (max-width: 768px) {
	/* Menyn: en rad som sveps i sidled, med tonad kant. GP:s menyknapp göms. */
	.tyst-v2 .inside-header { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; padding: 16px 16px 0; gap: 4px; }
	.tyst-v2 .mobile-menu-control-wrapper,
	.tyst-v2 #site-navigation .menu-toggle { display: none !important; }
	.tyst-v2 #site-navigation { display: block !important; align-self: stretch; width: auto; max-width: none; min-width: 0; margin: 0 -16px; flex: 0 0 auto; }
	.tyst-v2 #site-navigation .inside-navigation { display: block; padding: 0; max-width: 100%; }
	.tyst-v2 #site-navigation .main-nav { display: block !important; width: 100%; max-width: 100%; min-width: 0; }
	.tyst-v2 #site-navigation .main-nav > ul {
		display: flex !important; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
		scrollbar-width: none; gap: 0 22px; padding: 0 16px; margin: 0;
		-webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent);
	}
	.tyst-v2 #site-navigation .main-nav > ul::-webkit-scrollbar { display: none; }
	.tyst-v2 #site-navigation .main-nav > ul > li { flex: 0 0 auto; float: none; width: auto; position: static; }
	.tyst-v2 #site-navigation .main-nav > ul > li:last-child { margin-right: 48px; }
	.tyst-v2 #site-navigation .main-nav > ul > li > a { padding: 12px 0 !important; line-height: 20px; white-space: nowrap; }
	.tyst-v2 #site-navigation .sub-menu,
	.tyst-v2 #site-navigation .dropdown-menu-toggle { display: none !important; }

	.tyst-v2 .site-content { padding: 0 16px; }
	.tyst-v2.home .site-content { padding: 0; }
	.tyst-v2 .site-footer .inside-site-info { padding: 32px 16px 40px; }
	.tyst-v2.single .inside-article,
	.tyst-v2.page .inside-article { padding-top: 24px; }
	.tyst-v2 h1.entry-title { font-size: 34px; }
	.tyst-v2 .entry-content > figure.wp-block-image:first-child,
	.tyst-v2 .entry-content > .tyst-byline + figure.wp-block-image { margin-left: -16px; margin-right: -16px; max-width: none; }
	.tyst-v2 .entry-content > figure.wp-block-image:first-child figcaption,
	.tyst-v2 .entry-content > .tyst-byline + figure.wp-block-image figcaption { padding: 0 16px; }
	.tyst-v2 .entry-content p,
	.tyst-v2 .entry-content li { font-size: 19px; }
	.tyst-v2 .entry-content table th,
	.tyst-v2 .entry-content table td { font-size: 16px; padding: 0.45rem 0.6rem 0.45rem 0; }
	.tyst-v2.archive .site-main,
	.tyst-v2.search .site-main { margin-top: 24px; }
	.tyst-v2 .tyst-product-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
	.tyst-v2 .tyst-lamellband { padding: 0 16px; }
	.tyst-v2 .tyst-hjalte-inre { padding: 40px 16px 44px; }
	.tyst-v2 .tyst-hjalte-ingress { font-size: 19px; }
	.tyst-v2 .tyst-start-inre { padding: 0 16px; }
	.tyst-v2 .tyst-vad { padding-top: 44px; }
	.tyst-v2 .tyst-vad h2 { font-size: 30px; }
	.tyst-v2 .tyst-kort { padding: 22px 20px 24px; }
	.tyst-v2 .tyst-kort-rubrik { font-size: 25px; }
	.tyst-v2 .annons { padding: 4px 0 32px; }
	.tyst-v2 .annons-yta,
	.tyst-v2 .annons .adsbygoogle { min-height: 280px; }
	.tyst-v2 .annons.annons-multiplex .annons-yta,
	.tyst-v2 .annons.annons-multiplex .adsbygoogle { min-height: 400px; }
	.tyst-v2 .search-form .search-submit { flex: 1 1 100%; }
	.tyst-v2 .search-form label { flex-basis: 100%; }
	.tyst-v2 .entry-content table th,
	.tyst-v2 .entry-content table td { min-width: 8.5em; }
}

/* Tryckytor minst 44 px på rubriklänkar, metadata och sidfot. */
.tyst-v2 .tyst-kolumn h2 a { padding: 8px 0; }
.tyst-v2.archive h2.entry-title a,
.tyst-v2.search h2.entry-title a { display: inline-block; padding: 8px 0; }
.tyst-v2 .entry-meta .byline a,
.tyst-v2 .entry-meta .posted-on a { display: inline-block; padding: 13px 0; margin: -13px 0; }
.tyst-v2 .cat-links a,
.tyst-v2 .tags-links a { padding: 12px 0; }
.tyst-v2 .site-footer .copyright-bar a { display: inline-block; padding: 13px 0; margin: -13px 0; }
.tyst-v2 .site-footer .footer-bar .widget_nav_menu li a { padding: 12px 0; }
.tyst-v2 .matcher-related__item a { display: inline-block; padding: 12px 0; }

/* CookieYes egna knappar styrs av CookieYes (inline-färger). Den breda button-regeln får aldrig nå dem:
   med !important blev Anpassa och Avvisa alla vit text på vitt (uppmätt 2026-10-27). */
