/*
Theme Name: Nummer8 2026
Theme URI: https://nummer8.se/
Author: Nummer8.se
Description: Eget mobilförst redaktionellt tema för nummer8.se. Gemensamma marginaler, tydliga läsytor och sju redigerbara menyval från WordPress.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: nummer8-2026
*/
:root {--n8-ink:#161616;--n8-yellow:#f3c73d;--n8-dim:#595953;--n8-border:#e7e4db;--n8-bg:#fff;--n8-shell:1280px;--n8-reading:860px;}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--n8-bg);color:var(--n8-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:17px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-wrap:break-word}
body.admin-bar{--n8-admin:32px}img,svg,video,iframe{max-width:100%;height:auto}
a{color:inherit;text-underline-offset:3px}
a:hover{color:#8a6800}
button,input,textarea,select{font:inherit}
:focus-visible{outline:3px solid #9c7500;outline-offset:3px}
.n8-skip{position:absolute;top:-100px;left:14px;z-index:9999;padding:8px 12px;background:var(--n8-yellow);color:#111}.n8-skip:focus{top:10px}
.n8-site-shell{width:min(100% - 48px,var(--n8-shell));margin:0 auto;display:grid;grid-template-columns:minmax(178px,238px) minmax(0,1fr);column-gap:clamp(28px,4.4vw,62px);align-items:start}
.n8-sidebar{position:sticky;top:38px;padding:42px 0 28px;min-width:0}
.n8-site-logo{display:block;text-decoration:none;color:var(--n8-ink);margin:0 0 18px}.n8-site-wordmark-image{display:block;width:210px;max-width:100%;height:auto}.n8-site-wordmark{display:block;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:30px;font-weight:900;letter-spacing:-.06em;line-height:1.1;white-space:nowrap}.n8-site-wordmark-eight{color:var(--n8-yellow)}.n8-site-tagline{display:block;margin-top:7px;max-width:208px;color:var(--n8-dim);font-size:13px;line-height:1.35;font-weight:650;letter-spacing:-.01em}
.n8-sidebar-nav ul,.n8-mobile-nav ul{padding:0;margin:0;list-style:none}
.n8-sidebar-nav li{margin:0 0 4px}
.n8-sidebar-nav a{display:block;padding:6px 0;text-decoration:none;font-size:16px;font-weight:570;line-height:1.38;transition:color .15s ease}
.n8-sidebar-nav a:hover,.n8-sidebar-nav a[aria-current="page"]{color:#8a6900}
.n8-main-column{min-width:0;max-width:100%;padding-top:38px}
.n8-main{width:100%;min-width:0}
.n8-mobile-header{display:none}
.n8-footer{border-top:1px solid var(--n8-border);margin-top:48px;padding:24px 0 36px;display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;font-size:14px;color:#555}
.n8-footer strong{color:#161616}.n8-footer a{text-decoration:underline}
.n8-entry-header{margin:0 0 24px;max-width:var(--n8-reading)}
.n8-entry-title{font-size:clamp(2rem,3vw,2.8rem);line-height:1.16;font-weight:760;letter-spacing:-.035em;margin:0;text-wrap:balance;hyphens:auto}
.n8-entry-meta{font-size:14px;color:#65635f;margin:10px 0 0}
.n8-featured{margin:28px 0 38px;max-width:var(--n8-reading)}.n8-featured img{display:block;width:100%;height:auto;border-radius:6px}
.n8-article{max-width:var(--n8-reading);margin:0}
.n8-entry-content{width:100%;max-width:100%;min-width:0}
.n8-entry-content > :where(p,h2,h3,h4,h5,h6,ul,ol,blockquote,figure,.wp-block-image){max-width:100%;margin-left:0;margin-right:0}
.n8-entry-content p{margin-top:0;margin-bottom:1.4em;line-height:1.75}
.n8-entry-content :where(h2,h3,h4){font-weight:740;line-height:1.26;letter-spacing:-.019em;margin:1.65em 0 .65em}
.n8-entry-content h2{font-size:clamp(1.4rem,2vw,1.95rem)}
.n8-entry-content h3{font-size:clamp(1.17rem,1.8vw,1.46rem)}
.n8-entry-content blockquote{border-left:3px solid var(--n8-yellow);padding-left:1.2rem}
.n8-entry-content .wp-block-group{min-width:0;max-width:100%}
.n8-entry-content .wp-block-columns{max-width:100%;gap:18px}
.n8-entry-content .wp-block-column{min-width:0}
.n8-entry-content .wp-block-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.n8-entry-content img{max-width:100%;height:auto}
.n8-entry-content .alignwide{max-width:100%;width:100%;margin-left:0;margin-right:0}
.n8-entry-content .alignfull{width:100%;margin-left:0;margin-right:0}
.n8-entry-content :where(.is-layout-constrained,.is-layout-flow)>:where(p,h2,h3,h4,h5,h6,figure){max-width:100%}
.n8-archive-head{margin-bottom:24px}.n8-archive-head h1{font-size:clamp(1.9rem,3vw,2.4rem);line-height:1.2;margin:0}.n8-archive-description{color:#555}
.n8-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.n8-archive-item{min-width:0;border:1px solid var(--n8-border);background:#fcfbf8}
.n8-archive-thumb img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.n8-archive-copy{padding:17px}.n8-archive-copy h2{font-size:1.18rem;line-height:1.35;margin:0 0 8px}.n8-archive-copy h2 a{text-decoration:none}.n8-archive-copy h2 a:hover{text-decoration:underline}
.n8-archive-copy p{margin:7px 0 0;font-size:15px;color:#4d4a45;line-height:1.5}
.n8-archive-pagination{margin-top:30px}
.n8-home-content{width:100%;max-width:100%}
.n8-home-content .n8v3-home{width:100%;max-width:100%;margin:0}
.n8-content-restrict{max-width:var(--n8-reading)}
/* Ensure a single consistent content coordinate system on every screen.
   WP block inner constrained groups must not add hidden horizontal offsets. */
.n8-entry-content > .wp-block-group,.n8-home-content > .wp-block-group{margin-inline:0}
.n8-main :where(.wp-block-post-title,.wp-block-post-featured-image){max-width:100%}
@media(max-width:980px){.n8-site-shell{grid-template-columns:200px minmax(0,1fr);column-gap:24px;width:min(100% - 40px,var(--n8-shell))}.n8-sidebar{padding-top:30px}.n8-main-column{padding-top:30px}}
@media(max-width:781px){
 body{font-size:16px;line-height:1.62}
 .n8-site-shell{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 18px!important}
 .n8-sidebar{display:none!important}
 .n8-main-column{display:block;width:100%;max-width:100%;padding-top:20px;margin:0}
 .n8-main{width:100%;max-width:100%;min-width:0}
 .n8-mobile-header{display:block;border-bottom:1px solid var(--n8-border);background:#fff}
 .n8-mobile-header-inner{min-height:79px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px}
 .n8-mobile-header .n8-site-logo{margin:0;max-width:185px;min-width:0}.n8-mobile-header .n8-site-wordmark-image{width:165px;height:auto}.n8-mobile-header .n8-site-wordmark{font-size:27px}.n8-mobile-header .n8-site-tagline{font-size:11px;line-height:1.2;margin-top:5px;max-width:180px}
 .n8-menu-button{padding:9px 11px;border:1px solid #d9d9d5;border-radius:3px;background:#fff;min-height:44px;display:flex;gap:9px;align-items:center;font-weight:700;cursor:pointer}
 .n8-menu-icon{display:block;width:22px;height:2px;background:#171717;box-shadow:0 -7px #171717,0 7px #171717}
 .n8-mobile-nav{padding:3px 18px 18px;border-top:1px solid #eee}
 .n8-mobile-nav[hidden]{display:none!important}
 .n8-mobile-nav a{display:block;padding:12px 6px;font-size:17px;font-weight:650;line-height:1.3;text-decoration:none;border-bottom:1px solid #eeece5}
 .n8-entry-header{margin-bottom:20px}
 .n8-entry-title{font-size:clamp(1.75rem,6vw,2.2rem);line-height:1.2;letter-spacing:-.027em;hyphens:auto;overflow-wrap:break-word}
 .n8-featured{margin:21px 0 25px}
 .n8-entry-content p{line-height:1.7;margin-bottom:1.25em}
 .n8-entry-content > :where(p,ul,ol,h2,h3,h4,figure){margin-left:0!important;margin-right:0!important;width:auto;max-width:100%}
 .n8-entry-content .wp-block-columns{display:block}
 .n8-entry-content .wp-block-columns >.wp-block-column{width:100%;max-width:100%;margin:0 0 16px}
 .n8-archive-grid{grid-template-columns:1fr}
 .n8-footer{margin-top:30px;padding:22px 0 30px;gap:7px}
 .n8-home-content .n8v3-home{max-width:100%;width:100%}
}
@media(max-width:390px){.n8-site-shell{padding-inline:15px!important}.n8-mobile-header-inner{padding-inline:15px}}
@media(min-width:782px){.n8-mobile-nav[hidden]{display:none}}

/* Nummer8.se / startsidans utvalda features – 20 nov 2026
   Endast .n8v3-home: påverkar inte Björks desktopmeny, mobilmeny eller andra sidor. */
.n8v3-home{
  --n8-ink:#181817;
  --n8-muted:#615f59;
  --n8-yellow:#f0c735;
  --n8-paper:#f8f6ef;
  min-width:0;
  padding-bottom:30px;
}
.n8v3-home * { box-sizing:border-box; }
.n8v3-home > .wp-block-group { margin-block-start:0 !important; }
.n8v3-home .wp-block-group,.n8v3-home .wp-block-column { min-width:0; }
.n8v3-home .n8v3-intro {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  column-gap:22px;
  row-gap:2px;
  border-bottom:1px solid #e5e3da;
  padding-bottom:14px;
  margin-bottom:19px;
}
.n8v3-home .n8v3-intro h1{
  font-size:clamp(1.5rem,2.4vw,1.9rem) !important;
  line-height:1.15;
  letter-spacing:-.025em;
  font-weight:800;
  margin:0;
}
.n8v3-home .n8v3-intro .n8v3-intro-desc {
  font-size:.86rem;
  line-height:1.4;
  color:var(--n8-muted);
  margin:0 !important;
}
.n8v3-home .n8v3-kicker {
  font-size:.73rem;
  line-height:1.4;
  letter-spacing:.08em;
  font-weight:800;
  text-transform:uppercase;
  margin:0 0 8px !important;
}
.n8v3-home .n8v3-hero {
  margin-top:0 !important;
  margin-bottom:32px;
  overflow:hidden;
}
.n8v3-home .n8v3-hero-image,.n8v3-home .n8v3-story-image,.n8v3-home .n8v3-dem-image {
  margin:0 !important;
  overflow:hidden;
  line-height:0;
}
.n8v3-home figure.n8v3-hero-image {
  display:block;
  width:100% !important;
  max-width:none !important;
}
.n8v3-home .n8v3-hero-image > a {
  display:block;
  width:100%;
}
.n8v3-home .n8v3-hero-image img {
  display:block;
  width:100% !important;
  max-width:none !important;
  height:auto !important;
  aspect-ratio:1196 / 642;
  object-fit:contain;
  transition:transform .25s ease;
}
.n8v3-home .n8v3-hero-image a:hover img { transform:scale(1.015); }
.n8v3-home .n8v3-hero-copy {
  padding:clamp(22px,3.1vw,34px);
  background:var(--n8-ink);
  color:#fff;
  margin:0 !important;
}
.n8v3-home .n8v3-hero-copy .n8v3-kicker { color:var(--n8-yellow); }
.n8v3-home .n8v3-hero-copy h1 {
  color:#fff !important;
  font-size:clamp(1.7rem,3.6vw,2.55rem) !important;
  line-height:1.13;
  letter-spacing:-.025em;
  font-weight:800;
  margin:0 0 10px !important;
  max-width:25ch;
}
.n8v3-home .n8v3-hero-copy > p:not(.n8v3-kicker):not(.n8v3-text-link) {
  color:#f0efe9;
  max-width:52ch;
  font-size:1rem;
  line-height:1.55;
  margin:0;
}
.n8v3-home .n8v3-photo-credit {
  font-size:.7rem;
  text-align:right;
  color:var(--n8-muted);
  margin:6px 2px 0 !important;
}
.n8v3-home .n8v3-text-link { font-weight:800; margin:15px 0 0 !important; }
.n8v3-home .n8v3-text-link a { text-underline-offset:.2em; }
.n8v3-home .n8v3-hero-copy .n8v3-text-link a,
.n8v3-home .n8v3-data-copy .n8v3-text-link a { color:var(--n8-yellow); }
.n8v3-home .n8v3-podcast {
  border-top:5px solid var(--n8-yellow);
  border-left:1px solid #e4e1d5;
  border-right:1px solid #e4e1d5;
  border-bottom:1px solid #e4e1d5;
  background:var(--n8-paper);
  padding:clamp(20px,3vw,30px);
  margin-bottom:0;
}
.n8v3-home .n8v3-podcast-columns {
  display:grid !important;
  grid-template-columns:minmax(0,1.25fr) minmax(165px,.75fr);
  align-items:center;
  gap:26px;
  margin:0 !important;
}
.n8v3-home .n8v3-podcast-columns > .wp-block-column { min-width:0; flex-basis:auto !important; }
.n8v3-home .n8v3-podcast h2 {
  font-size:clamp(1.7rem,3vw,2.25rem) !important;
  font-weight:800;
  line-height:1.15;
  letter-spacing:-.02em;
  margin:0 0 10px;
}
.n8v3-home .n8v3-podcast-intro > p:not(.n8v3-kicker) {
  font-size:1rem;
  color:#35342f;
  line-height:1.55;
  margin:0;
}
.n8v3-home .n8v3-podcast-actions p { margin:0 !important; }
.n8v3-home .n8v3-podcast-actions p+p { margin-top:9px !important; }
.n8v3-home a.n8v3-button {
  display:block;
  width:100%;
  border-radius:4px;
  padding:12px 15px;
  line-height:1.35;
  font-weight:800;
  text-decoration:none;
  text-align:center;
  transition:background-color .15s ease;
}
.n8v3-home a.n8v3-button-yellow { background:var(--n8-yellow); color:#181817; }
.n8v3-home a.n8v3-button-yellow:hover { background:#e4b622; }
.n8v3-home a.n8v3-button-outline { background:transparent; border:1px solid #211f1b; color:#211f1b; }
.n8v3-home a.n8v3-button-outline:hover { background:#ede9df; }
.n8v3-home a.n8v3-inline-light { color:#343127; font-size:.9rem; text-underline-offset:.2em; }
.n8v3-home .n8v3-inspel {
  background:#f1ecd9;
  padding:19px clamp(20px,3vw,30px);
  border-left:1px solid #e4e1d5;
  border-right:1px solid #e4e1d5;
  border-bottom:1px solid #e4e1d5;
  margin-top:0 !important;
  margin-bottom:32px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.n8v3-home .n8v3-inspel-heading h3 {
  margin:0;
  font-size:1.22rem !important;
  line-height:1.3;
}
.n8v3-home .n8v3-inspel-heading p {
  margin:3px 0 0 !important;
  color:#454238;
  font-size:.88rem;
  line-height:1.4;
}
.n8v3-home .n8v3-channels {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  column-gap:7px;
  row-gap:7px;
}
.n8v3-home .n8v3-channels p { margin:0 !important; }
.n8v3-home a.n8v3-channel {
  display:inline-block;
  background:#fffefa;
  color:#26231d;
  border:1px solid #d2c9ae;
  border-radius:3px;
  padding:7px 10px;
  font-weight:700;
  text-decoration:none;
  font-size:.85rem;
  white-space:nowrap;
}
.n8v3-home a.n8v3-channel:hover { border-color:#1d1b16; text-decoration:underline; }
.n8v3-home .n8v3-data { margin-bottom:34px; }
.n8v3-home .n8v3-data-copy {
  background:#f7f6f1;
  color:#191817;
  padding:clamp(21px,3.2vw,31px);
  border-left:5px solid #e7bf2a;
  border-radius:4px;
}
.n8v3-home .n8v3-data-copy .n8v3-kicker {
  color:#79641e;
  margin:0 0 7px !important;
}
.n8v3-home .n8v3-data-copy h2 {
  color:#191817 !important;
  font-size:clamp(1.65rem,2.8vw,2.1rem) !important;
  line-height:1.18;
  font-weight:800;
  margin:0 0 8px;
}
.n8v3-home .n8v3-data-copy > p:not(.n8v3-kicker):not(.n8v3-text-link) {
  color:#44413b;
  line-height:1.55;
  max-width:63ch;
  margin:0;
}
.n8v3-home .n8v3-data-copy .n8v3-text-link a {
  color:#28241e !important;
}
.n8v3-home .n8v3-reading { margin-bottom:43px; }
.n8v3-home .n8v3-section-heading { margin-bottom:20px; }
.n8v3-home .n8v3-section-heading h2 {
  font-size:clamp(1.6rem,2.8vw,2.1rem) !important;
  line-height:1.2;
  font-weight:800;
  margin:0 0 8px;
}
.n8v3-home .n8v3-section-heading > p:not(.n8v3-kicker) { margin:0; color:#4c4b48; line-height:1.5; }
.n8v3-home .n8v3-story-columns {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
  margin:0 !important;
}
.n8v3-home .n8v3-story-columns > .wp-block-column { flex-basis:auto !important; min-width:0; }
.n8v3-home .n8v3-story {
  overflow:hidden;
  border:1px solid #e5e2d9;
  background:#fff;
  height:100%;
}
.n8v3-home .n8v3-story-image img {
  width:100%;
  height:clamp(128px,15vw,190px);
  object-fit:cover;
  object-position:center center;
  display:block;
}
.n8v3-home .n8v3-story-copy { padding:16px 17px 19px; }
.n8v3-home .n8v3-story-copy .n8v3-kicker { color:#7b6514; font-size:.67rem; }
.n8v3-home .n8v3-story-copy h3 {
  font-size:1.18rem !important;
  line-height:1.25;
  font-weight:800;
  margin:0 0 10px !important;
  overflow-wrap:break-word;
}
.n8v3-home .n8v3-story-copy h3 a {
  text-decoration:none;
  color:#171717;
}
.n8v3-home .n8v3-story-copy h3 a:hover { text-decoration:underline; text-underline-offset:.18em; }
.n8v3-home .n8v3-story-copy > p:not(.n8v3-kicker) {
  color:#4c4945;
  font-size:.88rem;
  line-height:1.5;
  margin:0;
}
.n8v3-home .n8v3-all-links {
  margin:17px 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  font-size:.89rem;
  font-weight:700;
}
.n8v3-home .n8v3-all-links a { text-underline-offset:.18em; }
.n8v3-home .n8v3-democracy {
  background:#f7f5ef;
  border:1px solid #e5e2d9;
  margin-bottom:33px;
}
.n8v3-home .n8v3-dem-columns {
  display:grid !important;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:0;
  align-items:stretch;
  margin:0 !important;
}
.n8v3-home .n8v3-dem-columns > .wp-block-column { flex-basis:auto !important; min-width:0; }
.n8v3-home .n8v3-dem-image { height:100%; }
.n8v3-home .n8v3-dem-image a { display:block; height:100%; }
.n8v3-home .n8v3-dem-image img { width:100%; height:100%; min-height:220px; object-fit:cover; display:block; }
.n8v3-home .n8v3-dem-copy { padding:clamp(20px,3vw,29px); }
.n8v3-home .n8v3-dem-copy h2 {
  font-size:clamp(1.45rem,2.3vw,1.9rem) !important;
  font-weight:800;
  line-height:1.22;
  margin:0 0 10px;
}
.n8v3-home .n8v3-dem-copy > p:not(.n8v3-kicker):not(.n8v3-text-link){
  color:#454440;
  line-height:1.5;
  margin:0;
}
.n8v3-home .n8v3-about {
  border-top:1px solid #e1dfd7;
  padding-top:18px;
}
.n8v3-home .n8v3-about .n8v3-kicker { color:#6c5e2c; }
.n8v3-home .n8v3-about p:last-child { font-size:.89rem; color:#4f4d48; margin:0; }
.n8v3-home a:focus-visible { outline:3px solid #a98716; outline-offset:3px; }
@media(max-width:880px){
  .n8v3-home .n8v3-story-columns{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:781px){
  .n8v3-home .n8v3-intro{align-items:start;gap:5px;}
  .n8v3-home .n8v3-intro .n8v3-intro-desc{font-size:.83rem;}
  .n8v3-home .n8v3-hero-image img{height:clamp(215px,61vw,320px);}
  .n8v3-home .n8v3-hero-copy{padding:21px 19px;}
  .n8v3-home .n8v3-hero-copy h1{font-size:clamp(1.55rem,6.5vw,2.15rem) !important;}
  .n8v3-home .n8v3-podcast-columns,
  .n8v3-home .n8v3-data-columns,
  .n8v3-home .n8v3-dem-columns {display:grid !important;grid-template-columns:minmax(0,1fr);}
  .n8v3-home .n8v3-podcast-columns{gap:19px;}
  .n8v3-home .n8v3-podcast-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
  .n8v3-home .n8v3-podcast-actions p{margin:0 !important;flex:1 1 145px;}
  .n8v3-home .n8v3-podcast-actions p:last-child{flex-basis:100%;}
  .n8v3-home .n8v3-podcast-actions p+p{margin-top:0 !important;}
  .n8v3-home .n8v3-inspel{padding:18px 20px;}
  .n8v3-home .n8v3-data-art{min-height:160px;}
  .n8v3-home .n8v3-data-big{font-size:clamp(3.3rem,11vw,5rem);}
  .n8v3-home .n8v3-story-columns{grid-template-columns:minmax(0,1fr);gap:15px;}
  .n8v3-home .n8v3-story-image img{height:clamp(200px,60vw,295px);}
  .n8v3-home .n8v3-story-copy{padding:18px 19px;}
  .n8v3-home .n8v3-dem-image img{min-height:180px;max-height:240px;}
}
@media(prefers-reduced-motion:reduce){
  .n8v3-home .n8v3-hero-image img,.n8v3-home a.n8v3-button{transition:none;}
}


/* Nummer8 RSS-avsnitt och medlemsmöte – 2026-11-20, enbart startsidan */
.n8v3-home .n8v3-podcast-picks {
 margin: 23px 0 31px !important;
 padding-bottom: 24px;
 border-bottom: 1px solid #e1ddd0;
}
.n8v3-home .n8v3-podcast-picks h2 {
 font-size: clamp(1.5rem,2.5vw,1.9rem) !important;
 font-weight: 800;
 line-height: 1.2;
 margin: 0 0 8px;
}
.n8v3-home .n8v3-podcast-picks > p:not(.n8v3-kicker) {
 color: #514e48;
 font-size: .91rem;
 margin: 0 0 16px;
 line-height: 1.5;
}
.n8v3-home .n8-rss-feature-episodes {
 display: grid;
 grid-template-columns: repeat(3,minmax(0,1fr));
 gap: 14px;
 margin: 16px 0 0;
}
.n8v3-home .n8-rss-episode {
 display: flex;
 flex-direction: column;
 min-width: 0;
 border: 1px solid #e1ddd2;
 background: #fff;
 overflow: hidden;
}
.n8v3-home .n8-rss-episode-image {
 display: block;
 line-height: 0;
}
.n8v3-home .n8-rss-episode-image img {
 display: block;
 width: 100%;
 height: clamp(130px,14vw,185px);
 object-fit: cover;
}
.n8v3-home .n8-rss-episode-body {
 padding: 15px;
 min-width: 0;
 flex: 1;
 display: flex;
 flex-direction: column;
 gap: 8px;
}
.n8v3-home .n8-rss-episode-body > * { margin: 0 !important; }
.n8v3-home .n8-rss-episode-date {
 color: #69665b;
 font-size: .72rem;
 font-weight: 700;
}
.n8v3-home .n8-rss-episode-body h3 {
 font-size: 1.11rem !important;
 font-weight: 800;
 line-height: 1.27;
 overflow-wrap: anywhere;
}
.n8v3-home .n8-rss-episode-body h3 a {
 color: #1a1917;
 text-decoration: none;
}
.n8v3-home .n8-rss-episode-body h3 a:hover { text-decoration: underline; }
.n8v3-home .n8-rss-episode-desc {
 font-size: .84rem;
 line-height: 1.5;
 color: #4a4741;
 flex: 1;
}
.n8v3-home .n8-rss-episode-link { padding-top: 5px; }
.n8v3-home .n8-rss-episode-link a {
 color: #29251b;
 text-decoration: underline;
 text-underline-offset: .17em;
 font-size: .84rem;
 font-weight: 800;
}
.n8v3-home .n8v3-member-meeting {
 background: #fbf4dc;
 border-left: 5px solid #e2bb31;
 padding: clamp(18px,3vw,26px);
 margin: 0 0 25px !important;
}
.n8v3-home .n8v3-member-meeting .n8v3-kicker { color: #766017; }
.n8v3-home .n8v3-member-meeting h2 {
 font-size: clamp(1.4rem,2.5vw,1.75rem) !important;
 line-height: 1.2;
 font-weight: 800;
 margin: 0 0 9px;
}
.n8v3-home .n8v3-member-meeting > p:not(.n8v3-kicker):not(.n8v3-member-links) {
 color: #403b2f;
 line-height: 1.5;
 margin: 0;
}
.n8v3-home .n8v3-member-links {
 font-size: .92rem;
 font-weight: 800;
 margin: 12px 0 0 !important;
}
.n8v3-home .n8v3-member-links a { text-underline-offset: .2em; }
@media(max-width:880px) {
 .n8v3-home .n8-rss-feature-episodes { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:781px) {
 .n8v3-home .n8-rss-feature-episodes { grid-template-columns: minmax(0,1fr); }
 .n8v3-home .n8-rss-episode { display: grid; grid-template-columns: minmax(110px,.42fr) minmax(0,.58fr); }
 .n8v3-home .n8-rss-episode-image img { height: 100%; min-height: 165px; }
 .n8v3-home .n8-rss-episode-body { padding: 12px; gap: 6px; }
 .n8v3-home .n8-rss-episode-body h3 { font-size: 1rem !important; }
 .n8v3-home .n8-rss-episode-desc { font-size: .78rem; }
}




/* Compatibility with existing WordPress core block markup and published features */
.n8-main .wp-block-image{margin:0 0 20px}
.n8-main .wp-block-image img{max-width:100%;height:auto}
.n8-home-content .n8v3-hero-image{margin:0!important}
.n8-home-content .n8v3-hero-image img{width:100%!important;height:auto!important;max-width:none!important}
.n8-home-content .n8v3-hero-copy h1{font-size:clamp(1.8rem,3.5vw,2.5rem)!important}
.n8-main .n8v3-data-copy .n8v3-text-link a{color:#28241e!important}
.n8-main .wp-block-cover{max-width:100%}
.n8-main .has-text-color h1,.n8-main .has-text-color h2{color:inherit}
.n8-main .wp-block-post-content{width:100%;max-width:100%}
@media(max-width:781px){
 .n8-home-content .n8v3-hero-copy{padding:18px!important}
 .n8-home-content .n8v3-hero-copy h1{font-size:clamp(1.7rem,6.9vw,2.15rem)!important}
 .n8-home-content .n8v3-story-image img{height:auto!important;aspect-ratio:16/10;object-fit:cover}
 .n8-home-content .n8v3-story-copy{padding:16px!important}
 .n8-home-content .n8-rss-feature-episodes{grid-template-columns:1fr!important}
 .n8-home-content .n8-rss-episode{display:grid!important;grid-template-columns:105px minmax(0,1fr)!important}
 .n8-home-content .n8-rss-episode-image img{width:105px!important;height:130px!important;min-height:0!important;object-fit:cover}
 .n8-home-content .n8-rss-episode-body{min-width:0;padding:12px!important}
 .n8-home-content .n8-rss-episode-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}

/* Damlagets årsarkiv 2020–2026: enbart mobil. Datorns originaltabeller bevaras. */
.n8-entry-content .n8-dam-year-jump-links { display:none; }
@media (max-width:781px) {
  .n8-entry-content .n8-dam-year-jump-links {
    display:flex; flex-wrap:wrap; gap:7px; margin:14px 0 22px;
  }
  .n8-entry-content .n8-dam-year-jump-links a {
    display:inline-flex; align-items:center; min-height:36px;
    padding:6px 12px; border:1px solid #e0d6b7; border-radius:999px;
    background:#f9f5e8; color:#332b13; font-size:.82rem;
    font-weight:750; line-height:1.2; text-decoration:none;
  }
  .n8-entry-content .n8-dam-year-jump-links a:focus-visible {outline:3px solid #a98716;outline-offset:2px;}
  .n8-entry-content .n8-dam-year-jump-links a:hover {background:#f2e5b8;}
  .n8-entry-content :is(.n8-dam-summary,.n8-dam-standings,.n8-dam-scorers,.n8-dam-matches,.n8-dam-additional) {
    width:100%; max-width:100%; margin:12px 0 24px;
    overflow:visible; min-width:0;
  }
  .n8-entry-content :is(.n8-dam-summary,.n8-dam-standings,.n8-dam-matches,.n8-dam-additional) table {
    display:block; width:100%!important; min-width:0!important;
    border:0; border-collapse:separate;
  }
  .n8-entry-content :is(.n8-dam-summary,.n8-dam-standings,.n8-dam-matches,.n8-dam-additional) thead {display:none;}
  .n8-entry-content :is(.n8-dam-summary,.n8-dam-standings,.n8-dam-matches,.n8-dam-additional) tbody {
    display:grid; grid-template-columns:minmax(0,1fr); gap:8px; width:100%;
  }
  .n8-entry-content :is(.n8-dam-summary,.n8-dam-standings,.n8-dam-matches,.n8-dam-additional) tbody tr {
    box-sizing:border-box; width:100%; border:1px solid #e8e3d8;
    border-radius:10px; background:#faf9f6; padding:11px 12px; min-width:0;
  }
  .n8-entry-content :is(.n8-dam-summary,.n8-dam-standings,.n8-dam-matches,.n8-dam-additional) tbody td {
    box-sizing:border-box; display:block; width:auto; min-width:0; padding:0!important;
    border:0!important; background:transparent!important; line-height:1.35;
    overflow-wrap:break-word;
  }
  /* Hemma / borta / totalt: en liten rad per spelplats med fyra tydligt märkta mått. */
  .n8-entry-content .n8-dam-summary tbody tr {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:start; gap:6px 5px;
  }
  .n8-entry-content .n8-dam-summary tbody td:first-child {
    grid-column:1 / -1; font-weight:800; font-size:.94rem; padding-bottom:3px!important;
  }
  .n8-entry-content .n8-dam-summary tbody td:nth-child(n+2) {font-size:.79rem;white-space:normal;}
  .n8-entry-content .n8-dam-summary tbody td:nth-child(n+2)::before {
    display:block; color:#756e5d; font-size:.68rem; font-weight:650; line-height:1.25; margin-bottom:2px;
  }
  .n8-entry-content .n8-dam-summary tbody td:nth-child(2)::before {content:"Matcher";}
  .n8-entry-content .n8-dam-summary tbody td:nth-child(3)::before {content:"V–O–F";}
  .n8-entry-content .n8-dam-summary tbody td:nth-child(4)::before {content:"Mål";}
  .n8-entry-content .n8-dam-summary tbody td:nth-child(5)::before {content:"Poäng";}
  .n8-entry-content .n8-dam-summary tbody tr:last-child {background:#fff1c4;border-color:#d8ba62;}
  /* Sluttabellen: alla lag och alla fem resultaten ryms på två rader utan sidscroll. */
  .n8-entry-content .n8-dam-standings tbody tr {
    display:grid; grid-template-columns:38px minmax(39px,1fr) minmax(26px,.65fr) minmax(26px,.65fr) minmax(77px,1.5fr);
    grid-template-rows:auto auto; align-items:center; column-gap:3px; row-gap:7px;
  }
  .n8-entry-content .n8-dam-standings tbody tr[style*="background-color"] {
    background:#fff1c4!important; border-color:#d7b95d;
  }
  .n8-entry-content .n8-dam-standings tbody td:nth-child(1) {grid-column:1;grid-row:1;color:#716b60;font-size:.83rem;font-weight:700;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(2) {grid-column:2 / 5;grid-row:1;font-size:.91rem;font-weight:720;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(3) {grid-column:1;grid-row:2;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(4) {grid-column:2;grid-row:2;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(5) {grid-column:3;grid-row:2;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(6) {grid-column:4;grid-row:2;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(7) {grid-column:5;grid-row:2;text-align:right;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(8) {
    grid-column:5;grid-row:1;text-align:right; font-size:1.1rem;font-weight:850;white-space:nowrap;
  }
  .n8-entry-content .n8-dam-standings tbody td:nth-child(n+3):nth-child(-n+7) {
    font-size:.75rem;white-space:nowrap;color:#565247;
  }
  .n8-entry-content .n8-dam-standings tbody td:nth-child(3)::before {content:"M ";}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(4)::before {content:"V ";}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(5)::before {content:"O ";}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(6)::before {content:"F ";}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(7)::before {content:"Mål ";}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(8)::after {content:" p";font-size:.67rem;font-weight:600;color:#6d675a;}
  /* Målskyttar: två enkla kolumner; inga höga kort. */
  .n8-entry-content .n8-dam-scorers {overflow-x:auto;}
  .n8-entry-content .n8-dam-scorers table {width:100%;min-width:0;font-size:.88rem;}
  .n8-entry-content .n8-dam-scorers :is(th,td) {padding:8px 10px;}
  .n8-entry-content .n8-dam-scorers :is(th,td):last-child {text-align:right;white-space:nowrap;font-weight:760;}
  .n8-entry-content .n8-dam-scorers tbody tr:nth-child(even) {background:#f8f7f3;}
  /* Seriematcher: datum, motståndare, resultat och samtliga målskyttar. */
  .n8-entry-content .n8-dam-matches tbody tr {
    display:grid; grid-template-columns:minmax(0,1fr) minmax(64px,auto);
    grid-template-rows:auto auto auto; align-items:start; column-gap:9px; row-gap:3px;
  }
  .n8-entry-content .n8-dam-matches tbody td:nth-child(1) {grid-column:1;grid-row:1;font-size:.73rem;color:#706c63;font-weight:650;}
  .n8-entry-content .n8-dam-matches tbody td:nth-child(2) {grid-column:1;grid-row:2;font-size:.95rem;font-weight:800;}
  .n8-entry-content .n8-dam-matches tbody td:nth-child(3) {grid-column:2;grid-row:1 / 3;align-self:center;text-align:right;white-space:nowrap;font-size:1.19rem;font-weight:850;letter-spacing:-.02em;}
  .n8-entry-content .n8-dam-matches tbody td:nth-child(4) {grid-column:1 / -1;grid-row:3;padding-top:5px!important;border-top:1px solid #eae6dc!important;font-size:.82rem;color:#524f47;}
  .n8-entry-content .n8-dam-matches tbody td:nth-child(4)::before {content:"Mål: ";font-weight:800;color:#37332c;}
  /* Cup/kval: långa resultattillägg får hela radbredden. */
  .n8-entry-content .n8-dam-additional tbody tr {
    display:grid; grid-template-columns:minmax(0,1fr); gap:4px;
  }
  .n8-entry-content .n8-dam-additional tbody td:nth-child(1) {font-size:.73rem;color:#706c63;font-weight:650;}
  .n8-entry-content .n8-dam-additional tbody td:nth-child(2) {font-size:.94rem;font-weight:800;}
  .n8-entry-content .n8-dam-additional tbody td:nth-child(3) {font-size:.96rem;font-weight:800;padding-top:2px!important;}
  .n8-entry-content .n8-dam-additional tbody td:nth-child(4) {font-size:.81rem;color:#565147;border-top:1px solid #eae6dc!important;padding-top:6px!important;}
  .n8-entry-content .n8-dam-additional tbody td:nth-child(4)::before {content:"Mål: ";font-weight:800;}
}
@media (max-width:350px) {
  .n8-entry-content .n8-dam-standings tbody tr {padding:10px 8px;grid-template-columns:32px minmax(31px,1fr) 26px 26px minmax(69px,1.4fr);column-gap:2px;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(2) {font-size:.85rem;}
  .n8-entry-content .n8-dam-standings tbody td:nth-child(n+3):nth-child(-n+7) {font-size:.7rem;}
  .n8-entry-content .n8-dam-year-jump-links a {padding:6px 9px;font-size:.78rem;}
}
