/* Nummer8 2026 | Redaktionella sidlayouter
   Källa: wordpress/theme-nummer8-2026/assets/editorial.css
   Syfte: konsekventa desktopkort, mobila läsytor och WordPress-block.
   Inga datakällor, diagramvärden eller publicerade Gutenberg-block ändras. */

/* Alla menyvyer: försäkra att WordPress tvåkolumnblock inte överstiger
   läsytan när blockens sparade 40/60- eller 60/40-bredder möter ett gap. */
.n8-entry-content .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(16px, 2vw, 22px);
  width: 100%;
  min-width: 0;
}
.n8-entry-content .wp-block-columns > .wp-block-column {
  flex: none !important;
  flex-basis: auto !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}
.n8-entry-content .wp-block-group,
.n8-entry-content .wp-block-image,
.n8-entry-content .wp-block-cover,
.n8-entry-content .wp-block-query,
.n8-entry-content .wp-block-buttons {
  min-width: 0;
}
.n8-entry-content .wp-block-group:has(> .wp-block-columns) {
  max-width: 100%;
}
.n8-entry-content .wp-block-buttons {gap: 10px;}
.n8-entry-content .wp-block-button__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 4px;
  font-size: .91rem;
  line-height: 1.4;
  font-weight: 700;
}
.n8-entry-content :where(p,li,summary) {overflow-wrap: break-word;}
.n8-entry-content :where(.wp-block-group,.wp-block-columns,.wp-block-image) a {text-underline-offset: .18em;}
.n8-entry-content .wp-block-image img {display: block;max-width:100%;height:auto;}
.n8-entry-content .wp-block-spacer {max-width:100%;}
.n8-entry-content > .wp-block-group {margin-inline:0;}

/* Podden: luftig hero med bild, efterföljande tvåkolumnskort med samma höjd. */
.page-id-3010 .n8-entry-content > .wp-block-group:first-child .wp-block-columns {
  grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr);
  align-items: center;
}
.page-id-3010 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group {
  height: 100%;
}
.page-id-3010 .n8-entry-content .wp-block-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.page-id-3010 .n8-entry-content .wp-block-group h2 {text-wrap:balance;}
.page-id-3010 .n8-entry-content .wp-block-buttons {margin-top:14px;}

/* Längre texter: det första Klas-reportaget är större, övriga jämna kort. */
.page-id-3034 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group {
  height: 100%;
}
.page-id-3034 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group .wp-block-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 7px;
}
.page-id-3034 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group h3 {
  line-height: 1.25;
  text-wrap: balance;
}

/* Krönikor: riktig magasinvy även för dynamiska WordPress Query Loop-kort. */
.page-id-3041 .wp-block-post-template {
  list-style:none;
  padding-left:0;
  margin: 0;
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}
.page-id-3041 .wp-block-post-template > li {margin:0;min-width:0;}
.page-id-3041 .wp-block-query .wp-block-post-template:has(> li:nth-child(2)) {
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.page-id-3041 .wp-block-post-featured-image {margin:0;}
.page-id-3041 .wp-block-post-featured-image img {
  width:100%;
  height:auto;
  border-radius:5px;
  object-fit:cover;
}
.page-id-3041 .wp-block-post-title {line-height:1.2;overflow-wrap:break-word;}
.page-id-3041 .wp-block-post-title a {text-decoration:none;}
.page-id-3041 .wp-block-post-title a:hover {text-decoration:underline;}
.page-id-3041 .wp-block-post-excerpt__excerpt {line-height:1.5;}

/* Damlaget och övriga artiklar: allt förankras i samma läskolumn. */
.page-id-2994 .n8-article,
.page-id-2994 .n8-entry-content,
.single .n8-article,
.single .n8-entry-content {
  min-width:0;
}
.page-id-2994 .n8-entry-content :where(p,h2,h3,ul,ol,figure),
.single .n8-entry-content :where(p,h2,h3,ul,ol,figure) {
  max-width:100%;
  margin-left:0;
  margin-right:0;
}
.n8-featured img {width:100%;height:auto;object-fit:contain;}

/* Gulsvart Data: håll React-ytan bred och utan oavsiktlig klippning av axlar. */
.page-id-2873 .n8-data-root {
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:visible;
}
.page-id-2873 .n8-data-root > * {min-width:0;max-width:100%;}
.page-id-2873 .n8-entry-content > .wp-block-group {width:100%;}

/* Föreningsdemokrati: tydliga grupp- och FAQ-ytor. */
.page-id-3051 .n8-entry-content .wp-block-details {
  border:1px solid #e5e0d4;
  border-radius:8px;
  padding:14px 17px;
  background:#faf9f5;
  margin:12px 0;
}
.page-id-3051 .n8-entry-content .wp-block-details > summary {
  cursor:pointer;
  font-weight:700;
}
.page-id-3051 .n8-entry-content .wp-block-details[open] > summary {margin-bottom:12px;}
.page-id-3051 .n8-entry-content h1 {text-wrap:balance;}

/* Om oss: neutral, läsbar kontaktpresentation utan marknadsföringskort. */
.page-id-3065 .n8-entry-content .wp-block-columns {align-items:stretch;}
.page-id-3065 .n8-entry-content .wp-block-columns > .wp-block-column {
  padding:16px 19px;
  border:1px solid #ebe8df;
  background:#faf9f5;
  border-radius:6px;
}
.page-id-3065 .n8-entry-content .wp-block-columns h3 {margin-top:0;}
.page-id-3065 .n8-entry-content .wp-block-columns p:last-child {margin-bottom:0;}

/* Landningssidorna har redan en stor redaktionell introduktion i Gutenberg.
   Visa WordPress H1 som en diskret avdelningsetikett, inte som en konkurrerande hero. */
.page-id-3010 .n8-entry-header,
.page-id-3034 .n8-entry-header,
.page-id-3041 .n8-entry-header {margin:0 0 17px;max-width:100%;}
.page-id-3010 .n8-entry-title,
.page-id-3034 .n8-entry-title,
.page-id-3041 .n8-entry-title {
  font-size:.82rem;
  line-height:1.5;
  letter-spacing:.075em;
  text-transform:uppercase;
  color:#766733;
  font-weight:800;
  text-wrap:initial;
}
.page-id-3010 .n8-entry-content > .wp-block-group:first-child,
.page-id-3034 .n8-entry-content > .wp-block-group:first-child,
.page-id-3041 .n8-entry-content > .wp-block-group:first-child {
  margin-top:0;
}

/* Startsidan – redaktionellt urval: tydlig skillnad mellan stora och små
   berättelser i stället för tre likadana långa kolumnkort. */
.n8-home-content .n8v3-hero {
  overflow:hidden;
  border-radius:8px;
  margin-bottom:28px;
}
.n8-home-content .n8v3-hero-copy {
  padding:clamp(23px,3vw,34px);
}
.n8-home-content .n8v3-podcast,
.n8-home-content .n8v3-inspel {border-color:#e6e1d5;}
.n8-home-content .n8v3-podcast {padding:clamp(22px,3vw,30px);}
.n8-home-content .n8v3-podcast-picks {margin-top:27px !important;}
.n8-home-content .n8-rss-feature-episodes {gap:14px;}
.n8-home-content .n8-rss-episode {
  border-color:#e8e5dc;
  border-radius:7px;
  overflow:hidden;
}
.n8-home-content .n8-rss-episode-image {
  display:grid;
  place-items:center;
  background:#25231f;
  min-width:0;
}
.n8-home-content .n8-rss-episode-image img {
  width:100%;
  height:clamp(175px,17vw,210px);
  object-fit:contain;
  object-position:center;
}
.n8-home-content .n8-rss-episode-body {
  padding:16px 17px 20px;
  gap:7px;
}
.n8-home-content .n8-rss-episode-body h3 {
  font-size:1.09rem !important;
  line-height:1.3;
}
.n8-home-content .n8-rss-episode-desc {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
}
/* Feature articles: one editorial lead and two equally sized reading tips.
   The photo and text are ordinary siblings, never overlapping layers. */
.n8-home-content .n8v3-story-columns {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:16px !important;
  align-items:stretch;
  width:100%;
  max-width:100%;
  margin:0 !important;
}
.n8-home-content .n8v3-story-columns > .wp-block-column {
  flex:none !important;
  flex-basis:auto !important;
  min-width:0;
  width:auto !important;
  margin:0 !important;
}
.n8-home-content .n8v3-story-columns > .wp-block-column:first-child {
  grid-column:1 / -1;
}
.n8-home-content .n8v3-story {
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  position:static !important;
  height:100%;
  min-height:0;
  overflow:hidden;
  background:#fff;
  border:1px solid #e8e5dd;
  border-radius:7px;
}
.n8-home-content .n8v3-story-image {
  flex:none;
  min-height:0;
  height:auto;
  width:100%;
  margin:0 !important;
}
.n8-home-content .n8v3-story-image a {
  display:block;
  width:100%;
  height:auto;
}
.n8-home-content .n8v3-story-image img {
  display:block;
  width:100%;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:16 / 9;
  object-fit:cover;
}
.n8-home-content .n8v3-story-copy {
  display:block !important;
  position:static !important;
  visibility:visible !important;
  opacity:1 !important;
  height:auto !important;
  min-height:0 !important;
  width:100%;
  max-width:100%;
  padding:19px 21px;
  margin:0 !important;
  transform:none !important;
  overflow:visible;
  flex:1 0 auto;
}
.n8-home-content .n8v3-story-copy > * {
  margin-left:0 !important;
  margin-right:0 !important;
}
.n8-home-content .n8v3-story-copy h3 {
  font-size:clamp(1.06rem,1.5vw,1.27rem) !important;
  line-height:1.26;
  margin-top:9px !important;
  margin-bottom:9px !important;
}
.n8-home-content .n8v3-story-copy > p:not(.n8v3-kicker) {
  font-size:.91rem;
  line-height:1.53;
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.n8-home-content .n8v3-story-columns > .wp-block-column:first-child .n8v3-story {
  display:grid !important;
  grid-template-columns:minmax(0,.43fr) minmax(0,.57fr);
  align-items:stretch;
}
.n8-home-content .n8v3-story-columns > .wp-block-column:first-child .n8v3-story-image,
.n8-home-content .n8v3-story-columns > .wp-block-column:first-child .n8v3-story-image a {
  height:100%;
}
.n8-home-content .n8v3-story-columns > .wp-block-column:first-child .n8v3-story-image img {
  height:100% !important;
  min-height:215px !important;
  aspect-ratio:auto;
  object-fit:cover;
}
.n8-home-content .n8v3-story-columns > .wp-block-column:first-child .n8v3-story-copy {
  align-self:center;
  flex:initial;
}
.n8-home-content .n8v3-democracy {border-radius:7px;overflow:hidden;}
.n8-home-content .n8v3-dem-image img {object-fit:cover;}

/* Homepage – one editorial grid. Core Gutenberg constrained groups apply
   automatic side margins and a different max-width to EACH child.
   That caused alternating left/right edges (hero, podcast, meeting, Data,
   democracy and reading). Override the GROUP structure, not individual cards.
   Keep this scoped to the front page. */
.n8-home-content,
.n8-home-content > .n8v3-home {
  box-sizing:border-box;
  width:100% !important;
  max-width:100% !important;
  min-width:0;
  margin-inline:0 !important;
}
.n8-home-content > .n8v3-home {
  display:flow-root;
  padding-inline:0 !important;
}
/* All feature sections follow precisely the same left and right edges. */
.n8-home-content .n8v3-home > .wp-block-group,
.n8-home-content .n8v3-home > .wp-block-columns,
.n8-home-content .n8v3-reading > .wp-block-group,
.n8-home-content .n8v3-reading > .wp-block-columns,
.n8-home-content .n8v3-podcast-picks > .n8-rss-feature-episodes,
.n8-home-content .n8v3-democracy > .wp-block-columns,
.n8-home-content .n8v3-data > .n8v3-data-copy {
  box-sizing:border-box;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
/* Gutenberg is-layout-constrained auto-centres titles and paragraphs INSIDE
   otherwise full-width sections. They should start at the section's padding,
   not a separate invisible content boundary. Preserve vertical margins. */
.n8-home-content .n8v3-home .wp-block-group.is-layout-constrained > :where(
  .wp-block-heading,p,.wp-block-image,.wp-block-columns,.wp-block-group,
  .wp-block-shortcode,.n8-rss-feature-episodes
) {
  margin-left:0 !important;
  margin-right:0 !important;
}
/* Inner groups that carry full card widths, distinct from shorter reading text. */
.n8-home-content .n8v3-hero-image,
.n8-home-content .n8v3-hero-copy,
.n8-home-content .n8v3-section-heading,
.n8-home-content .n8v3-story-columns,
.n8-home-content .n8v3-dem-columns,
.n8-home-content .n8v3-data,
.n8-home-content .n8v3-data-copy {
  box-sizing:border-box;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
/* Align Data title, description and link without altering its actual charts. */
.n8-home-content .n8v3-data-copy > :is(p,h2) {
  margin-left:0 !important;
  margin-right:0 !important;
  max-width:66ch;
}
/* Mellanbred skärm: undvik hoptryckta kolumninlägg i desktop-sidomenyn. */
@media(min-width:782px) and (max-width:1080px) {
 .n8-site-shell {grid-template-columns:172px minmax(0,1fr);column-gap:21px;}
 .n8-entry-content .wp-block-columns {gap:15px;}
 .page-id-3010 .n8-entry-content > .wp-block-group:first-child .wp-block-columns {
   grid-template-columns:1fr;
 }
 .n8-home-content .n8v3-story-columns {grid-template-columns:1fr !important;}
 .n8-home-content .n8v3-story-columns > .wp-block-column:first-child {grid-column:auto;}
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story {
   display:grid !important;
   grid-template-columns:minmax(150px,.38fr) minmax(0,.62fr);
   align-items:stretch;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-image,
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-image a {
   height:100%;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-image img {
   height:100% !important;min-height:155px !important;aspect-ratio:auto;object-fit:cover;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-copy {align-self:center;flex:initial;}
}

/* Mobil: korta block, symmetrisk textkant och full läsbredd. */
@media(max-width:781px) {
 .n8-entry-content .wp-block-columns {display:block !important;width:100%;}
 .n8-entry-content .wp-block-columns > .wp-block-column {
   display:block;width:100% !important;max-width:100%;
   margin:0 0 14px !important;
 }
 .n8-entry-content > .wp-block-group[style*="padding-top"] {
   padding:clamp(16px,4.5vw,23px) !important;
 }
 .n8-entry-content .wp-block-spacer {max-height:24px;}
 .n8-entry-content .wp-block-buttons {gap:9px;}
 .n8-entry-content .wp-block-button {max-width:100%;}
 .n8-entry-content .wp-block-button__link {min-height:46px;}
 .n8-entry-content .wp-block-group h2[style*="font-size:40px"],
 .n8-entry-content .wp-block-group h2[style*="font-size:38px"],
 .n8-entry-content .wp-block-group h2[style*="font-size:34px"] {
   font-size:clamp(1.55rem,6vw,2rem) !important;
   line-height:1.2 !important;
 }
 .n8-entry-content .wp-block-group h1[style*="font-size:34px"] {
   font-size:clamp(1.65rem,6.4vw,2.1rem) !important;
   line-height:1.19 !important;
 }
 .page-id-3041 .wp-block-query .wp-block-post-template:has(> li:nth-child(2)) {
   grid-template-columns:1fr;
 }
 .page-id-3041 .n8-entry-content .wp-block-post-template > li .wp-block-columns {
   display:grid !important;
   grid-template-columns:minmax(96px,.34fr) minmax(0,.66fr);
   align-items:center;
   gap:11px;
 }
 .page-id-3041 .n8-entry-content .wp-block-post-template > li .wp-block-column {margin:0 !important;}
 .page-id-3041 .n8-entry-content .wp-block-post-title[style] {font-size:1.08rem !important;}
 .page-id-3051 .n8-entry-content .wp-block-details {padding:12px 14px;}
 .page-id-3065 .n8-entry-content .wp-block-columns > .wp-block-column {margin-bottom:10px !important;}
 .n8-home-content .n8v3-story-columns {
   display:grid !important;grid-template-columns:minmax(0,1fr) !important;
   gap:14px !important;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column:first-child {grid-column:auto;}
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story {
   display:flex !important;flex-direction:column !important;
   height:auto !important;min-height:0 !important;overflow:visible !important;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-image,
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-image a {
   display:block !important;height:auto !important;min-height:0 !important;
   width:100%;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-image img {
   width:100% !important;height:auto !important;min-height:0 !important;
   aspect-ratio:16 / 9;object-fit:cover;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-copy {
   display:block !important;position:static !important;flex:initial !important;
   visibility:visible !important;opacity:1 !important;
   transform:none !important;overflow:visible !important;
   height:auto !important;min-height:0 !important;
   width:100% !important;max-width:100% !important;
   padding:16px 18px !important;margin:0 !important;
 }
 .n8-home-content .n8v3-story-columns > .wp-block-column .n8v3-story-copy :is(p,h3,a) {
   visibility:visible;opacity:1;
 }
 .n8-home-content .n8-rss-feature-episodes {grid-template-columns:1fr !important;}
 .n8-home-content .n8-rss-episode {
   display:grid !important;
   grid-template-columns:100px minmax(0,1fr) !important;
 }
 .n8-home-content .n8-rss-episode-image {align-self:stretch;}
 .n8-home-content .n8-rss-episode-image img {
   width:100px !important;height:130px !important;
   min-height:0 !important;object-fit:contain !important;
 }
 .n8-home-content .n8-rss-episode-body {padding:11px 13px !important;}
 .n8-home-content .n8-rss-episode-desc {-webkit-line-clamp:2;}
 .n8-home-content .n8v3-dem-columns {display:block !important;}
 .n8-home-content .n8v3-dem-image img {max-height:240px;min-height:0;object-fit:cover;}
}
@media(prefers-reduced-motion:reduce) {
 .n8-home-content * {transition:none !important;}
}
/* Krönikor 2026-11-21: jämn magasinslayout på landningssida och kategoriarkiv.
   Gäller bara sida 3041 och kategorin kronikor. Lämnar redaktionellt innehåll intakt. */
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-template > li > .wp-block-group {
  padding:0 !important;
  border-radius:12px;
  overflow:hidden;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-columns {
  display:grid !important;
  grid-template-columns:minmax(0,44%) minmax(0,56%);
  align-items:stretch;
  gap:0 !important;
  min-height:320px;
  margin:0 !important;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-column:first-child {
  display:flex;
  margin:0 !important;
  min-width:0;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-featured-image {
  width:100%;
  height:100%;
  margin:0;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-featured-image a {
  display:block;
  height:100%;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-featured-image img {
  display:block;
  width:100%;
  height:100% !important;
  aspect-ratio:auto !important;
  border-radius:0;
  object-fit:cover;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-column:last-child {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:0;
  margin:0 !important;
  padding:clamp(23px,3vw,34px);
  min-width:0;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-column:last-child > * {
  margin:0 0 11px !important;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-title {
  font-size:clamp(1.4rem,2.2vw,1.8rem) !important;
  line-height:1.18 !important;
  margin-bottom:13px !important;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-excerpt__excerpt {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
  overflow:hidden;
  line-height:1.5;
  margin:0;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-excerpt__more-text {
  margin:14px 0 0;
}
.page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-author-name {
  font-size:.84rem;
  color:#dad6ca;
  margin:5px 0 0 !important;
}

/* De två kompletterande krönikorna: fullbreddsfoto över samma breda textyta. */
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) > li {
  display:flex;
  min-width:0;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) > li > .wp-block-group {
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  padding:0 !important;
  border:1px solid #e8e4d9;
  border-radius:12px;
  overflow:hidden;
  background:#faf9f5 !important;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-columns {
  display:flex !important;
  flex-direction:column;
  align-items:stretch;
  gap:0 !important;
  height:100%;
  margin:0 !important;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-column {
  width:100% !important;
  max-width:100%;
  flex:0 0 auto !important;
  margin:0 !important;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-featured-image,
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-featured-image a {
  display:block;
  width:100%;
  margin:0;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-featured-image img {
  display:block;
  width:100%;
  height:auto !important;
  aspect-ratio:16 / 9 !important;
  object-fit:cover;
  border-radius:0;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-column:last-child {
  display:flex;
  flex:1 1 auto !important;
  flex-direction:column;
  padding:20px 22px 22px;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-date {
  font-size:.84rem;
  color:#6b6251;
  margin:0 0 11px !important;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-title {
  font-size:1.18rem !important;
  line-height:1.28 !important;
  min-height:2.56em;
  margin:0 0 12px !important;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-excerpt {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  margin:0 !important;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-excerpt__excerpt {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  margin:0 !important;
  font-size:.95rem;
  line-height:1.5;
}
.page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-excerpt__more-text {
  margin:auto 0 0 !important;
  padding-top:17px;
  font-size:.91rem;
}

/* Arkivet: identiska bildformat, jämna kort och rubriker utan rå HTML. */
.category-kronikor .n8-archive-head {margin-bottom:24px;}
.category-kronikor .n8-archive-head h1 {font-size:clamp(1.8rem,3vw,2.2rem);}
.category-kronikor .n8-archive-grid {gap:20px;align-items:stretch;}
.category-kronikor .n8-archive-item {
  display:flex;
  flex-direction:column;
  min-width:0;
  height:100%;
  overflow:hidden;
  border:1px solid #e8e4d9;
  border-radius:10px;
  background:#faf9f5;
}
.category-kronikor .n8-archive-thumb {display:block;margin:0;}
.category-kronikor .n8-archive-thumb img {
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16 / 9;
  object-fit:cover;
}
.category-kronikor .n8-archive-copy {
  display:flex;
  flex:1;
  flex-direction:column;
  padding:19px 21px 21px;
}
.category-kronikor .n8-archive-copy h2 {
  font-size:1.17rem;
  line-height:1.28;
  min-height:2.56em;
  margin:0 0 10px;
}
.category-kronikor .n8-archive-copy .n8-entry-meta {
  font-size:.84rem;
  color:#706858;
  margin:0 0 9px;
}
.category-kronikor .n8-archive-copy p:not(.n8-entry-meta) {
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  margin:0;
  font-size:.92rem;
  line-height:1.48;
}
@media (max-width:1050px) {
  .page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-columns {
    grid-template-columns:minmax(0,1fr);
    min-height:0;
  }
  .page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-column:first-child {
    display:block;
  }
  .page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-featured-image,
  .page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-featured-image a {
    height:auto;
  }
  .page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-post-featured-image img {
    height:auto !important;
    aspect-ratio:16 / 9 !important;
  }
}
@media (max-width:781px) {
  .page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) {
    grid-template-columns:1fr;
    gap:16px;
  }
  .page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-columns {
    display:flex !important;
    flex-direction:column;
    gap:0 !important;
  }
  .page-id-3041 .wp-block-query:has(.wp-block-post-author-name) .wp-block-columns {
    display:grid !important;
    grid-template-columns:1fr;
    gap:0 !important;
  }
  .page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-post-title,
  .category-kronikor .n8-archive-copy h2 {min-height:0;}
  .page-id-3041 .wp-block-post-template:has(> li:nth-child(2)) .wp-block-column:last-child {
    padding:17px 19px 20px;
  }
  .category-kronikor .n8-archive-grid {gap:16px;}
}
/* 21 nov 2026 – konsekvent vertikal rytm på de sju redaktionella menyvalen.
   Gutenberg kan annars lägga sitt blockGap ovanpå temat h2/h3 (1.65em).
   Rör inte globala artikelmallar, startsidan, diagram eller tabeller. */
body:is(.page-id-3010,.page-id-3034,.page-id-3041,.page-id-2994,.page-id-2873,.page-id-3051,.page-id-3065)
.n8-entry-content p[style*="font-size:12px"][style*="font-weight:700"]:has(+ :is(h1,h2,h3,h4)) {
  margin-block-start:0 !important;
  margin-block-end:0 !important;
  line-height:1.35 !important;
}
body:is(.page-id-3010,.page-id-3034,.page-id-3041,.page-id-2994,.page-id-2873,.page-id-3051,.page-id-3065)
.n8-entry-content p[style*="font-size:12px"][style*="font-weight:700"] + :is(h1,h2,h3,h4) {
  margin-block-start:9px !important;
  margin-block-end:11px !important;
}
body:is(.page-id-3010,.page-id-3034,.page-id-3041,.page-id-2994,.page-id-2873,.page-id-3051,.page-id-3065)
.n8-entry-content p[style*="font-size:12px"][style*="font-weight:700"] + :is(h1,h2,h3,h4) + p {
  margin-block-start:7px !important;
}

/* Luft som behövs för att skilja SEKTIONER är inte samma sak som
   ett glapp mellan etikett och rubrik. Manuella spacers får inte
   dessutom tillföra automatiska blockmarginaler. */
body:is(.page-id-3010,.page-id-3034,.page-id-3041,.page-id-2994,.page-id-2873,.page-id-3051)
.n8-entry-content > .wp-block-spacer {
  margin-block:0 !important;
}

/* Krönikor: mindre tomrum runt senaste artikeln och fler-krönikor-raden. */
.page-id-3041 .n8-entry-content > .wp-block-spacer[style*="height:48px"] {height:24px !important;}
.page-id-3041 .n8-entry-content > .wp-block-spacer[style*="height:36px"] {height:24px !important;}
.page-id-3041 .n8-entry-content > .wp-block-spacer[style*="height:40px"] {height:24px !important;}
.page-id-3041 .n8-entry-content > .wp-block-spacer[style*="height:16px"] {height:10px !important;}

/* Podden: långa distansblock får en konsekvent, lugnare skala. */
.page-id-3010 .n8-entry-content > .wp-block-spacer[style*="height:56px"] {height:30px !important;}
.page-id-3010 .n8-entry-content > .wp-block-spacer[style*="height:20px"] {height:15px !important;}

/* Längre texter: undvik dubbla avstånd runt Klas-feature och arkivkorten. */
.page-id-3034 .n8-entry-content > .wp-block-spacer[style*="height:26px"] {height:18px !important;}
.page-id-3034 .n8-entry-content > .wp-block-spacer[style*="height:22px"] {height:18px !important;}
.page-id-3034 .n8-entry-content > .wp-block-spacer[style*="height:14px"] {height:10px !important;}

/* Damlagets gula statistikpuff har en vanlig fet ingress, inte en 12px-etikett. */
.page-id-2994 .n8-entry-content > .wp-block-group:first-child > p:first-child {
  margin-block-start:0 !important;
  margin-block-end:0 !important;
  line-height:1.35 !important;
}
.page-id-2994 .n8-entry-content > .wp-block-group:first-child > p:first-child + h2 {
  margin-block-start:10px !important;
  margin-block-end:10px !important;
}
.page-id-2994 .n8-entry-content > .wp-block-group:first-child > p:first-child + h2 + p {
  margin-block-start:7px !important;
}
.page-id-2994 .n8-entry-content > h2,
.page-id-3065 .n8-entry-content > h2 {
  margin-block-start:1.25em !important;
  margin-block-end:.55em !important;
}
.page-id-3065 .n8-entry-content > h3 {margin-block-start:1.15em !important;}

/* Data och föreningsdemokrati: trimma bara avståndsblock i Gutenberg.
   Själva React-graferna, tabeller och inbäddningar lämnas orörda. */
.page-id-2873 .n8-entry-content > .wp-block-spacer[style*="height:24px"],
.page-id-3051 .n8-entry-content > .wp-block-spacer[style*="height:24px"] {height:18px !important;}
.page-id-2873 .n8-entry-content > .wp-block-spacer[style*="height:20px"] {height:16px !important;}
.page-id-2994 .n8-entry-content > .wp-block-spacer[style*="height:34px"] {height:24px !important;}

@media(max-width:781px) {
  body:is(.page-id-3010,.page-id-3034,.page-id-3041,.page-id-2994,.page-id-2873,.page-id-3051,.page-id-3065)
  .n8-entry-content p[style*="font-size:12px"][style*="font-weight:700"] + :is(h1,h2,h3,h4) {
    margin-block-start:7px !important;
    margin-block-end:9px !important;
  }
}

/* 2026-11-21 – Lyssnarinspel: sidlokal kompakt rytm.
   Behåller standardtypsnitt, tema, bilder och redigerbara Gutenberg-block. */
.page-id-3244 .n8-entry-content > .wp-block-group {
  margin-top:0 !important;
  margin-bottom:12px !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:last-child {
  margin-bottom:0 !important;
}
.page-id-3244 .n8-entry-content .wp-block-group > :is(
  p,.wp-block-heading,.wp-block-image,.wp-block-columns,.wp-block-buttons,
  .wp-block-group,.wp-block-jetpack-contact-form
) {
  margin-top:0 !important;
  margin-bottom:0 !important;
}
.page-id-3244 .n8-entry-content .wp-block-group > :is(
  p,.wp-block-heading,.wp-block-image,.wp-block-columns,.wp-block-buttons,
  .wp-block-group,.wp-block-jetpack-contact-form
) + :is(
  p,.wp-block-heading,.wp-block-image,.wp-block-columns,.wp-block-buttons,
  .wp-block-group,.wp-block-jetpack-contact-form
) {
  margin-top:9px !important;
}
.page-id-3244 .n8-entry-content .wp-block-columns {
  gap:13px !important;
}
.page-id-3244 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group {
  display:flex;
  flex-direction:column;
  height:100%;
  padding:16px !important;
}
.page-id-3244 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group > .wp-block-buttons {
  margin-top:auto !important;
  padding-top:10px;
}
.page-id-3244 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group p {
  line-height:1.48;
}
.page-id-3244 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group .wp-block-button__link {
  padding:9px 13px;
}
.page-id-3244 .n8-entry-content img.wp-image-3254 {
  box-sizing:border-box;
  display:block;
  width:72px !important;
  height:72px !important;
  padding:8px;
  background:#f4c646;
  object-fit:contain;
  border-radius:8px;
}
/* Startsidan: mindre höjd på lyssnarinspel-puffen mellan podden och avsnitten. */
.n8-home-content .n8v3-home .n8v3-inspel {
  padding:11px 16px !important;
  margin-bottom:15px !important;
  column-gap:14px;
  row-gap:7px;
}
.n8-home-content .n8v3-home .n8v3-inspel-heading {
  flex:1 1 300px;
  margin:0 !important;
}
.n8-home-content .n8v3-home .n8v3-inspel-heading h3 {
  margin:0 !important;
  font-size:1.06rem !important;
  line-height:1.25;
}
.n8-home-content .n8v3-home .n8v3-inspel-heading p {
  margin:3px 0 0 !important;
  font-size:.83rem;
  line-height:1.35;
}
.n8-home-content .n8v3-home .n8v3-inspel > p {
  margin:0 !important;
  align-self:center;
}
.n8-home-content .n8v3-home .n8v3-inspel a.n8v3-channel {
  padding:7px 10px;
  font-size:.82rem;
}
@media (max-width:781px) {
  .page-id-3244 .n8-entry-content .wp-block-columns {gap:11px !important;}
  .page-id-3244 .n8-entry-content .wp-block-columns > .wp-block-column > .wp-block-group {padding:14px !important;}
  .n8-home-content .n8v3-home .n8v3-inspel {
    padding:11px 13px !important;
    margin-bottom:14px !important;
    row-gap:8px;
  }
}

/* 2026-11-21: Lyssnarinspel, finjustering utifrån faktisk skärmdump.
   Kolumnernas DIREKTA barn är inte Gutenberg-grupper: deras standardrubrik-
   marginal på 1.65em skapade den stora luckan efter den gula etiketten. */
.page-id-3244 .n8-entry-content > .wp-block-group:first-child {
  padding-top:16px !important;
  padding-bottom:16px !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:first-child .wp-block-column:first-child > p:first-child {
  margin:0 !important;
  line-height:1.3 !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:first-child .wp-block-column:first-child > h2 {
  margin:7px 0 9px !important;
  line-height:1.15 !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:first-child .wp-block-column:first-child > p:last-child {
  margin:0 !important;
  line-height:1.5 !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:first-child .wp-block-column figure.wp-block-image {
  margin:0 !important;
}
/* Rubriker, ingress och nästa rubrik ska bilda en kompakt redaktionell rytm. */
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(2),
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(3) {
  margin-top:0 !important;
  margin-bottom:9px !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(2) > h2,
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(3) > h2 {
  margin:0 0 6px !important;
  line-height:1.2 !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(2) > p,
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(3) > p {
  margin:0 !important;
  line-height:1.52 !important;
}
.page-id-3244 .n8-entry-content > .wp-block-group:nth-child(3) > .wp-block-columns {
  margin-top:8px !important;
}
