.np-books-page {
  --np-books-purple:#2b174e;
  --np-books-purple-2:#41236e;
  --np-books-orange:#ffac3e;
  background-image:linear-gradient(180deg,rgba(7,19,42,.05),rgba(10,15,42,.5)),url("images/books-fox-hero-v2.webp");
  background-position:center top;
  background-size:cover;
}

/* 5.6.0: roterende miniature-sider fra /books/malebøger/thumbnails/. */
.np-book-cover{position:relative}
.np-book-cover img{object-fit:contain;background:#fff;transition:opacity .18s ease,transform .38s ease}
.np-book-card.is-changing-page .np-book-cover img{opacity:.08;transform:scale(.975)}
.np-book-card[hidden]{display:none!important}
.np-book-cover::after{content:"Næste side om 3 sek.";position:absolute;right:8px;bottom:8px;padding:4px 7px;border-radius:999px;color:#fff;background:rgba(35,20,67,.82);font-size:9px;font-weight:800;opacity:0;transform:translateY(4px);transition:opacity .18s ease,transform .18s ease;pointer-events:none}
.np-book-card.has-page-rotation:hover .np-book-cover::after{opacity:1;transform:none}
.np-book-page-count{position:absolute;left:8px;bottom:8px;padding:4px 7px;border-radius:999px;color:#fff;background:rgba(35,20,67,.82);font-size:10px;font-weight:850;pointer-events:none}

/* 5.7.0: lodret filmrulle-overgang mellem siderne. */
.np-book-cover{overflow:hidden}
.np-book-cover>img:not(.np-book-slide-next){position:relative;z-index:1;transform:translateY(0);transition:transform .72s cubic-bezier(.65,0,.35,1)}
.np-book-cover .np-book-slide-next{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:contain;background:#fff;transform:translateY(102%);transition:transform .72s cubic-bezier(.65,0,.35,1)}
.np-book-card.is-rolling-page-active .np-book-cover>img:not(.np-book-slide-next){transform:translateY(-102%)}
.np-book-card.is-rolling-page-active .np-book-cover .np-book-slide-next{transform:translateY(0)}
.np-book-page-count,.np-book-cover::after{z-index:4}
.np-books-shell { width:min(1480px,calc(100% - 32px)) !important; max-width:1480px !important; margin-inline:auto !important; padding-top:28px; }
.np-books-shell > * { max-width:none !important; }
.np-books-universe-hero {
  min-height:clamp(410px,40vw,610px);
  display:flex;
  align-items:center;
  overflow:hidden;
  margin:0 0 18px !important;
  padding:clamp(34px,5vw,78px) !important;
  border:1px solid rgba(111,222,255,.28);
  border-radius:30px;
  background-image:linear-gradient(90deg,rgba(4,15,39,.98) 0%,rgba(5,22,51,.88) 34%,rgba(5,22,51,.22) 60%,rgba(5,22,51,.04) 100%),url("images/books-universe-hero.webp");
  background-position:center;
  background-size:cover;
  box-shadow:0 24px 75px rgba(0,5,20,.45);
}
.np-books-universe-copy { width:min(630px,49%); margin:0 !important; }
.np-books-universe-kicker { margin:0 0 13px !important; color:#5ee8ff; font-size:13px; font-weight:900; letter-spacing:.13em; }
.np-books-universe-copy h1 { margin:0 0 17px !important; color:#fff; font-size:clamp(42px,5vw,76px); line-height:.98; letter-spacing:-.045em; text-shadow:0 5px 24px rgba(0,0,0,.55); }
.np-books-universe-lead { max-width:570px; margin:0 0 27px !important; color:#eef5ff; font-size:clamp(18px,1.7vw,25px); line-height:1.45; text-shadow:0 3px 14px rgba(0,0,0,.6); }
.np-books-universe-actions { gap:10px !important; margin:0 !important; }
.np-books-universe-actions .wp-block-button__link { padding:13px 18px !important; border:1px solid rgba(255,255,255,.26); border-radius:14px !important; color:#fff !important; background:rgba(24,35,78,.88) !important; font-size:15px; font-weight:850; box-shadow:0 8px 24px rgba(0,0,0,.25); backdrop-filter:blur(8px); }
.np-books-universe-actions .np-universe-coloring .wp-block-button__link { border-color:#ffc75e; color:#25133d !important; background:linear-gradient(180deg,#ffd16f,#ff9f3d) !important; }
.np-books-universe-actions .wp-block-button__link:hover { transform:translateY(-2px); filter:brightness(1.08); }
.np-books-sales-banner { overflow:hidden; margin:0 0 18px !important; border:1px solid rgba(255,190,81,.42); border-radius:28px; box-shadow:0 24px 75px rgba(0,5,20,.5); }
.np-books-sales-banner a,.np-books-sales-banner img { display:block; width:100%; }
.np-books-sales-banner a { transition:transform .22s ease,filter .22s ease; }
.np-books-sales-banner a:hover { transform:scale(1.008); filter:brightness(1.05); }
.np-books-sales-banner img { height:auto; aspect-ratio:2004/785; object-fit:cover; }
.np-book-portals { margin:0 0 20px !important; padding:25px !important; border:1px solid rgba(117,200,255,.23); border-radius:24px; background:linear-gradient(145deg,rgba(12,29,65,.96),rgba(22,20,63,.96)); box-shadow:0 20px 55px rgba(0,5,20,.34); scroll-margin-top:24px; }
.np-book-portals > h2 { margin:0 0 5px !important; color:#fff; font-size:clamp(28px,3.2vw,42px); }
.np-book-portals > p { margin:0 0 20px !important; color:#cbd7ef; font-size:17px; }
.np-book-portal-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px !important; margin:0 !important; }
.np-book-portal { min-width:0; min-height:250px; display:flex; flex-direction:column; margin:0 !important; padding:22px !important; overflow:hidden; border:1px solid rgba(255,255,255,.16); border-radius:19px; background:linear-gradient(150deg,#34205e,#20163f); box-shadow:0 12px 28px rgba(0,0,0,.22); }
.np-book-portal.is-coloring { background:linear-gradient(150deg,#5b2a61,#2b184a); }
.np-book-portal.is-audio { background:linear-gradient(150deg,#173e69,#212050); }
.np-book-portal.is-books { background:linear-gradient(150deg,#3b3c70,#25204d); }
.np-book-portal.is-history { background:linear-gradient(150deg,rgba(23,65,79,.96),rgba(26,27,65,.96)),url("images/history-header.webp") center/cover; }
.np-book-portal h3 { margin:2px 0 7px !important; color:#fff; font-size:25px; }
.np-book-portal > p:not(.np-portal-icon) { flex:1; margin:0 0 18px !important; color:#d8def0; }
.np-portal-icon { margin:0 0 7px !important; font-size:38px; line-height:1; }
.np-book-portal .wp-block-button,.np-book-portal .wp-block-button__link { width:100%; }
.np-book-portal .wp-block-button__link { padding:12px 14px !important; border:1px solid rgba(255,255,255,.19); border-radius:12px !important; color:#fff !important; background:rgba(93,54,150,.9) !important; font-weight:850; }
.np-book-portal.is-coloring .wp-block-button__link { color:#2b1640 !important; background:linear-gradient(180deg,#ffd16f,#ff9f3d) !important; }
.np-book-portal.is-history .wp-block-button__link { color:#09223a !important; background:linear-gradient(180deg,#66e9ff,#27bddb) !important; }
.np-books-hero { overflow:hidden; border:1px solid rgba(255,188,86,.34); border-radius:30px 30px 0 0; background:linear-gradient(135deg,rgba(23,18,53,.99),rgba(12,27,59,.98)); box-shadow:0 24px 75px rgba(0,5,20,.45); }
.np-books-hero > .wp-block-columns { display:grid !important; grid-template-columns:minmax(0,1fr) minmax(300px,.42fr); min-height:480px; margin:0 !important; gap:26px !important; align-items:stretch !important; }
.np-books-intro { display:flex; flex-direction:column; justify-content:center; max-width:760px; padding:44px clamp(28px,5vw,72px) !important; }
.np-books-kicker { margin:0 0 14px; color:#ffd173; font-size:14px; font-weight:900; letter-spacing:.13em; }
.np-male-sjov-brand { width:max-content; max-width:100%; gap:10px !important; margin:0 0 12px !important; }
.np-male-sjov-icon { flex:0 0 74px; width:74px; margin:0 !important; filter:drop-shadow(0 5px 8px rgba(0,0,0,.3)); }
.np-male-sjov-icon img { display:block; width:74px; height:74px; object-fit:contain; }
.np-male-sjov-copy { margin:0 !important; }
.np-male-sjov-copy h2 { margin:0 !important; color:#fff; font-size:clamp(34px,3.2vw,51px); line-height:.95; letter-spacing:-.04em; text-shadow:0 3px 13px rgba(0,0,0,.45); }
.np-male-sjov-copy p { margin:5px 0 0 !important; color:#fff; font-size:16px; line-height:1; }
.np-books-intro h1 { max-width:720px; margin:0 0 12px; color:#fff; font-size:clamp(48px,6vw,88px); line-height:.98; letter-spacing:-.045em; }
.np-books-lead { margin:0 0 28px; color:#fff; font-size:clamp(20px,2vw,28px); }
.np-books-facts { max-width:700px; margin:0 !important; gap:14px !important; }
.np-books-facts .wp-block-column { padding:13px 15px; border:1px solid rgba(255,255,255,.12); border-radius:15px; background:rgba(14,31,68,.66); }
.np-books-facts p { margin:0; color:#fff; line-height:1.35; }
.np-books-facts small { color:#cbd5ec; }
.np-books-offer { align-self:center; margin:22px 24px 22px 0; padding:24px !important; border:1px solid rgba(202,151,255,.36); border-radius:24px; color:#fff; background:linear-gradient(155deg,rgba(39,18,72,.96),rgba(25,17,58,.95)); box-shadow:0 18px 50px rgba(13,4,31,.45); }
.np-books-offer h2 { margin:5px 0 3px; color:#fff; font-size:32px; }
.np-books-offer p { margin:0 0 15px; }
.np-offer-kicker { color:#ded0ff; font-size:12px; font-weight:900; letter-spacing:.09em; }
.np-books-offer .wp-block-button,.np-books-offer .wp-block-button__link { width:100%; }
.np-books-offer .wp-block-button__link { min-height:52px; display:flex; align-items:center; justify-content:center; border-radius:12px !important; font-weight:850; }
.np-download-free .wp-block-button__link { border:1px solid #b98cf3; background:#6b3ca3 !important; color:#fff !important; }
.np-download-paid .wp-block-button__link { border:2px solid #ffd071; background:linear-gradient(180deg,#ffc55d,#ff9e32) !important; color:#201037 !important; box-shadow:0 0 22px rgba(255,166,54,.32); }
.np-books-bundle { margin-top:16px !important; padding:14px; border-radius:14px; background:rgba(111,63,156,.42); }
.np-book-filters { display:flex !important; flex-wrap:wrap !important; gap:9px !important; margin:0 !important; padding:14px 20px !important; border-inline:1px solid rgba(255,188,86,.25); background:rgba(23,19,62,.94); }
.np-book-filters .wp-block-button__link { padding:11px 17px !important; border:1px solid rgba(206,174,255,.24); border-radius:13px !important; background:linear-gradient(180deg,#43276d,#2b194d) !important; color:#fff !important; font-weight:800; }
.np-book-filters .is-active .wp-block-button__link,.np-book-filters .wp-block-button__link:hover { border-color:#ffd071; background:linear-gradient(180deg,#ffbd50,#ff9838) !important; color:#25133d !important; }
.np-books-popular { margin:0 !important; padding:26px 22px 24px !important; border:1px solid rgba(255,188,86,.22); border-radius:0 0 30px 30px; background:rgba(11,21,54,.94); box-shadow:0 24px 70px rgba(0,5,20,.34); }
.np-books-popular > h2 { margin:0 0 20px; color:#fff; font-size:clamp(26px,3vw,38px); }
.np-book-grid { display:grid !important; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px !important; }
.np-book-card { min-width:0; margin:0 !important; overflow:hidden; border:1px solid rgba(183,136,241,.3); border-radius:17px; background:#241543; box-shadow:0 11px 28px rgba(0,5,18,.28); transition:transform .18s ease,border-color .18s ease; }
.np-book-card:hover { transform:translateY(-4px); border-color:#ffba4f; }
.np-book-cover { aspect-ratio:1/1; width:100%; margin:0 !important; overflow:hidden; background:#fff; }
.np-book-cover img { display:block; width:100%; height:100%; object-fit:cover; }
.np-book-copy { padding:14px !important; }
.np-book-copy h3 { margin:0 0 4px; color:#fff; font-size:17px; line-height:1.15; }
.np-book-copy p { margin:0 0 12px; color:#ddd1ef; font-size:13px; }
.np-book-button,.np-book-button .wp-block-button__link { width:100%; }
.np-book-button .wp-block-button__link { padding:9px 10px !important; border:1px solid rgba(192,147,245,.34); border-radius:9px !important; background:#43236e !important; color:#fff !important; font-size:13px; font-weight:800; }
.np-books-benefits { gap:14px !important; margin:20px auto 0 !important; }
.np-books-benefits .wp-block-column { padding:18px 20px; border:1px solid rgba(147,135,229,.24); border-radius:16px; background:rgba(25,27,72,.88); }
.np-books-benefits h3 { margin:0 0 5px; color:#fff; font-size:17px; }
.np-books-benefits p { margin:0; color:#d0d6ea; font-size:14px; }
@media (max-width:1100px) {
  .np-book-portal-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .np-books-hero > .wp-block-columns { grid-template-columns:1fr minmax(290px,.52fr); }
  .np-book-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:781px) {
  .np-books-shell { width:min(100% - 24px,1480px) !important; padding-top:12px; }
  .np-books-sales-banner { border-radius:19px; }
  .np-books-sales-banner img { min-height:310px; aspect-ratio:auto; object-position:58% center; }
  .np-book-portals { padding:19px !important; border-radius:20px; }
  .np-book-portal { min-height:220px; }
  .np-books-hero { border-radius:22px 22px 0 0; background-position:62% center; }
  .np-books-hero > .wp-block-columns { grid-template-columns:1fr; padding-top:260px; }
  .np-books-intro { padding:25px 20px 12px !important; background:linear-gradient(180deg,rgba(7,18,46,.05),rgba(7,18,46,.95) 22%); }
  .np-books-intro h1 { font-size:clamp(41px,12vw,64px); }
  .np-books-facts { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .np-books-offer { margin:0 16px 20px; }
  .np-book-filters { flex-wrap:nowrap !important; overflow-x:auto; }
  .np-book-filters .wp-block-button { flex:0 0 auto; }
  .np-book-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px !important; }
  .np-books-benefits { display:grid !important; grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .np-book-portal-grid { grid-template-columns:1fr; }
  .np-books-hero > .wp-block-columns { padding-top:220px; }
  .np-books-facts { grid-template-columns:1fr; }
  .np-books-facts .wp-block-column { padding:10px 12px; }
  .np-books-popular { padding:20px 12px !important; }
  .np-book-copy { padding:11px !important; }
  .np-book-copy h3 { font-size:15px; }
}

/* 3.3: tættere visuel match med det godkendte Male-Sjov-design. */
.np-books-page { min-height:100vh; padding-bottom:54px; background-attachment:fixed; }
.np-books-shell { width:min(1540px,calc(100% - 24px)) !important; max-width:1540px !important; padding-top:16px; }
.np-books-hero { border-radius:24px 24px 0 0; border-color:rgba(255,187,78,.52); background-position:center 46%; box-shadow:0 24px 75px rgba(0,5,20,.58),inset 0 0 0 1px rgba(255,255,255,.04); }
.np-books-hero > .wp-block-columns { min-height:430px; grid-template-columns:minmax(0,1fr) minmax(340px,.42fr); }
.np-books-intro { padding:30px clamp(28px,4vw,62px) !important; }
.np-books-kicker { font-size:17px; text-transform:none; letter-spacing:.02em; }
.np-books-intro h1 { max-width:660px; font-size:clamp(54px,5.3vw,82px); text-shadow:0 4px 22px rgba(0,0,0,.32); }
.np-books-lead { margin-bottom:20px; }
.np-books-facts .wp-block-column { border:0; border-radius:12px; background:linear-gradient(90deg,rgba(38,31,97,.84),rgba(25,30,78,.68)); box-shadow:inset 0 0 0 1px rgba(216,183,255,.12); }
.np-books-offer { position:relative; margin:15px 16px 15px 0; padding:22px !important; border-color:rgba(211,176,255,.45); border-radius:20px; background:linear-gradient(155deg,rgba(48,24,81,.98),rgba(28,18,60,.97)); box-shadow:0 18px 45px rgba(13,4,31,.58),inset 0 0 24px rgba(151,79,221,.08); }
.np-books-offer::after { content:"×"; position:absolute; top:12px; right:14px; width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(213,182,255,.3); border-radius:50%; color:#fff; font-size:25px; line-height:1; }
.np-books-format { min-height:43px; display:flex; align-items:center; justify-content:space-between; margin:12px 0 !important; padding:8px 13px; border:1px solid rgba(213,182,255,.45); border-radius:9px; color:#fff; background:rgba(13,13,48,.42); }
.np-download-free .wp-block-button__link { background:linear-gradient(180deg,#7d4ab4,#563087) !important; box-shadow:0 7px 18px rgba(0,0,0,.24); }
.np-download-paid .wp-block-button__link { min-height:64px; box-shadow:0 0 18px rgba(255,166,54,.48),inset 0 0 0 1px rgba(255,255,255,.35); }
.np-book-filters { padding:11px 14px !important; gap:8px !important; box-shadow:inset 0 -1px 0 rgba(255,188,86,.22); }
.np-book-filters .wp-block-button__link { min-height:54px; display:flex; align-items:center; padding:10px 18px !important; box-shadow:0 7px 14px rgba(0,0,0,.2); }
.np-book-filters .is-active .wp-block-button__link { box-shadow:0 0 0 2px #fff0bd,0 0 18px rgba(255,156,45,.55); }
.np-books-popular { padding:16px 16px 18px !important; border-radius:0 0 24px 24px; }
.np-books-popular > h2 { margin:0 0 12px; font-size:28px; }
.np-book-grid { gap:12px !important; }
.np-book-card { border-radius:14px; background:linear-gradient(180deg,#2d1852,#20133f); }
.np-book-cover { aspect-ratio:1.18/1; }
.np-book-copy { padding:11px !important; }
.np-book-copy h3 { font-size:16px; }
.np-book-button .wp-block-button__link { min-height:42px; }
.np-books-benefits { max-width:1370px; margin-top:14px !important; }
.np-books-benefits .wp-block-column { min-height:88px; display:flex; flex-direction:column; justify-content:center; padding:14px 22px; border-color:rgba(201,167,255,.28); background:linear-gradient(90deg,rgba(35,31,91,.94),rgba(25,27,72,.9)); box-shadow:0 12px 25px rgba(0,5,20,.22); }

@media (max-width:781px) {
  .np-books-page { background-attachment:scroll; }
  .np-books-universe-hero {
    min-height:680px;
    align-items:flex-end;
    padding:310px 20px 28px !important;
    border-radius:22px;
    background-image:linear-gradient(180deg,rgba(4,15,39,.04) 24%,rgba(4,15,39,.62) 49%,rgba(4,15,39,.98) 70%),url("images/books-universe-hero.webp");
    background-position:68% center;
  }
  .np-books-universe-copy { width:100%; }
  .np-books-universe-copy h1 { font-size:clamp(39px,11vw,58px); }
  .np-books-universe-actions { display:grid !important; grid-template-columns:1fr; }
  .np-books-universe-actions .wp-block-button,.np-books-universe-actions .wp-block-button__link { width:100%; }
  .np-books-hero > .wp-block-columns { min-height:0; }
  .np-books-offer { margin-inline:14px; }
  .np-book-cover { aspect-ratio:1/1; }
}

@media (max-width:480px) {
  .np-books-universe-hero { min-height:640px; padding-top:275px !important; background-position:66% center; }
}


/* === 5.2.0 Male-Sjov reference rebuild: only the coloring-book section === */
.np-books-page .np-coloring-section{
  position:relative;
  isolation:isolate;
  width:100%;
  max-width:none!important;
  margin:0!important;
  overflow:visible;
  border:1px solid rgba(255,188,86,.52);
  border-radius:26px;
  background:#11143d;
  box-shadow:0 24px 70px rgba(0,5,20,.52),inset 0 0 0 1px rgba(255,255,255,.04);
}
.np-books-page .np-coloring-section>*{max-width:none!important}
.np-books-page .np-books-hero{
  position:relative;
  min-height:390px;
  margin:0!important;
  overflow:visible;
  border:0!important;
  border-radius:26px 26px 0 0!important;
  background-color:#102041!important;
  background-image:linear-gradient(90deg,rgba(7,20,50,.52) 0%,rgba(7,20,50,.28) 45%,rgba(9,21,50,.06) 68%,rgba(20,17,55,.72) 100%),url("images/books-fox-hero-v2.webp")!important;
  background-repeat:no-repeat!important;
  background-size:90% auto!important;
  background-position:left 49%!important;
  box-shadow:none!important;
}
.np-books-page .np-books-hero-columns{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 365px!important;
  align-items:stretch!important;
  min-height:390px!important;
  margin:0!important;
  gap:18px!important;
}
.np-books-page .np-books-intro{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  max-width:760px!important;
  padding:24px 34px 24px 105px!important;
  z-index:3;
}
.np-books-page .np-male-sjov-brand{gap:8px!important;margin:0 0 10px!important}
.np-books-page .np-male-sjov-icon,.np-books-page .np-male-sjov-icon img{width:64px!important;height:64px!important;flex-basis:64px!important}
.np-books-page .np-male-sjov-copy h2{font-size:46px!important;line-height:.95!important;letter-spacing:-.035em!important}
.np-books-page .np-male-sjov-copy p{font-size:15px!important;margin-top:4px!important}
.np-books-page .np-books-intro>h1{
  max-width:630px!important;
  margin:0 0 5px!important;
  color:#fff!important;
  font-size:clamp(50px,4.7vw,76px)!important;
  font-weight:900!important;
  line-height:.91!important;
  letter-spacing:-.045em!important;
  text-shadow:0 3px 18px rgba(0,0,0,.4)!important;
}
.np-books-page .np-books-lead{margin:4px 0 17px!important;color:#fff!important;font-size:23px!important;font-weight:600!important}
.np-books-page .np-books-facts{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  width:min(660px,100%)!important;
  margin:0!important;
}
.np-books-page .np-books-facts .wp-block-column{
  min-height:64px!important;
  padding:9px 10px!important;
  border:0!important;
  border-radius:12px!important;
  background:linear-gradient(90deg,rgba(32,37,95,.78),rgba(35,33,87,.62))!important;
  box-shadow:inset 0 0 0 1px rgba(210,181,255,.12)!important;
}
.np-books-page .np-books-facts p{position:relative;margin:0!important;padding-left:47px!important;color:#fff!important;font-size:13px!important;line-height:1.2!important}
.np-books-page .np-books-facts strong{font-size:16px!important}
.np-books-page .np-books-facts small{color:#e9e4f7!important;font-size:11px!important}
.np-books-page .np-fact-icon{position:absolute;left:0;top:50%;transform:translateY(-50%);display:grid;width:39px;height:39px;place-items:center;font-size:28px;line-height:1}
.np-books-page .np-fact-icon.is-pages{color:#e291ff;font-size:35px}
.np-books-page .np-fact-icon.is-play{color:#ff6f9d;font-size:43px;font-family:Georgia,serif}
.np-books-page .np-books-offer{
  position:relative!important;
  z-index:5!important;
  align-self:center!important;
  min-height:340px!important;
  margin:14px 15px 14px 0!important;
  padding:17px 18px!important;
  border:1px solid rgba(201,145,255,.48)!important;
  border-radius:20px!important;
  color:#fff!important;
  background:linear-gradient(155deg,rgba(52,24,88,.985),rgba(27,17,63,.985))!important;
  box-shadow:0 16px 38px rgba(15,4,34,.62),inset 0 0 30px rgba(167,78,232,.08)!important;
}
.np-books-page .np-books-offer::after{content:"×"!important;position:absolute!important;top:10px!important;right:11px!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border:1px solid rgba(218,185,255,.34)!important;border-radius:50%!important;color:#fff!important;background:rgba(28,16,63,.65)!important;font-size:25px!important;font-weight:300!important}
.np-books-page .np-offer-kicker{margin:0 0 3px!important;color:#efe7ff!important;font-size:11px!important;font-weight:900!important;letter-spacing:.08em!important}
.np-books-page .np-books-offer h2{margin:0 0 2px!important;color:#fff!important;font-size:29px!important;line-height:1.05!important}
.np-books-page .np-books-offer>p:not(.np-offer-kicker):not(.np-books-format):not(.np-books-bundle):not(.np-offer-divider){margin:0 0 12px!important;color:#fff!important;font-size:14px!important}
.np-books-page .np-books-format{min-height:40px!important;margin:9px 0 10px!important;padding:7px 12px!important;border:1px solid rgba(205,171,255,.48)!important;border-radius:8px!important;background:rgba(14,13,50,.58)!important;font-size:15px!important}
.np-books-page .np-books-offer .wp-block-button,.np-books-page .np-books-offer .wp-block-button__link{width:100%!important}
.np-books-page .np-books-offer .wp-block-button__link{min-height:50px!important;padding:10px 13px!important;border-radius:10px!important;font-size:15px!important;font-weight:900!important}
.np-books-page .np-download-free .wp-block-button__link{border:1px solid #af79ef!important;background:linear-gradient(180deg,#7a42b3,#562b8c)!important;box-shadow:0 6px 15px rgba(0,0,0,.28)!important}
.np-books-page .np-offer-divider{display:flex!important;align-items:center!important;gap:10px!important;margin:8px 0!important;color:#fff!important;font-size:10px!important;font-weight:900!important;text-align:center!important}
.np-books-page .np-offer-divider::before,.np-books-page .np-offer-divider::after{content:"";height:1px;flex:1;background:rgba(255,255,255,.24)}
.np-books-page .np-download-paid .wp-block-button__link{min-height:58px!important;display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important;align-items:center!important;justify-content:center!important;padding:7px 10px!important;border:2px solid #ffd171!important;background:linear-gradient(180deg,#ffc960,#ff9e30)!important;color:#211139!important;box-shadow:0 0 18px rgba(255,166,54,.5),inset 0 0 0 1px rgba(255,255,255,.32)!important;line-height:1.1!important}
.np-books-page .np-download-paid .wp-block-button__link strong{font-size:14px!important}
.np-books-page .np-download-paid .wp-block-button__link small{grid-column:2;font-size:11px!important;font-weight:700!important}
.np-books-page .np-books-bundle{margin:10px 0 0!important;padding:10px 12px!important;border:1px solid rgba(169,115,228,.22)!important;border-radius:11px!important;background:rgba(97,52,147,.34)!important;color:#fff!important;font-size:12px!important;line-height:1.25!important}
.np-books-page .np-books-bundle strong{font-size:13px!important}.np-books-page .np-books-bundle small{color:#f3eaff!important}

/* Decorative wood signs from the approved mockup. */
.np-books-page .np-books-wood-sign{position:absolute!important;z-index:7!important;margin:0!important;padding:10px 12px!important;border:2px solid #70401f!important;border-radius:8px!important;color:#25160d!important;background:linear-gradient(90deg,#b9783d,#e0a45f 45%,#b9783d)!important;box-shadow:0 6px 14px rgba(0,0,0,.38),inset 0 0 0 2px rgba(255,218,159,.25)!important;font:700 18px/1.08 "Comic Sans MS",cursive!important;text-align:center!important;text-shadow:0 1px rgba(255,230,180,.55)!important}
.np-books-page .np-books-wood-sign::before,.np-books-page .np-books-wood-sign::after{content:"";position:absolute;left:7px;right:7px;height:1px;background:rgba(93,47,19,.32);box-shadow:0 21px rgba(93,47,19,.28),0 42px rgba(93,47,19,.28)}
.np-books-page .np-books-wood-sign::before{top:16px}.np-books-page .np-books-wood-sign::after{display:none}
.np-books-page .np-books-wood-sign-left{left:-20px!important;top:68px!important;transform:rotate(-4deg)!important}
.np-books-page .np-books-wood-sign-right{right:-15px!important;bottom:9px!important;transform:rotate(3deg)!important;font-size:17px!important}

/* Category rail exactly under the hero. */
.np-books-page .np-book-filters{
  display:grid!important;
  grid-template-columns:1.28fr repeat(7,1fr)!important;
  gap:7px!important;
  margin:0!important;
  padding:10px 12px!important;
  overflow:hidden!important;
  border:0!important;
  border-top:1px solid rgba(188,132,255,.18)!important;
  border-bottom:1px solid rgba(188,132,255,.18)!important;
  background:linear-gradient(180deg,rgba(28,24,76,.985),rgba(20,20,62,.985))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.03)!important;
}
.np-books-page .np-book-filters .wp-block-button{min-width:0!important;width:100%!important;margin:0!important}
.np-books-page .np-book-filters .wp-block-button__link{box-sizing:border-box!important;width:100%!important;min-height:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:8px 9px!important;border:1px solid rgba(180,135,242,.3)!important;border-radius:11px!important;color:#fff!important;background:linear-gradient(180deg,#41256b,#2b184e)!important;box-shadow:0 6px 12px rgba(0,0,0,.24)!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important}
.np-books-page .np-book-filters .is-active .wp-block-button__link{border:2px solid #ffd66d!important;color:#20123c!important;background:linear-gradient(180deg,#ffd36c,#ff9f38)!important;box-shadow:0 0 0 2px rgba(255,241,191,.6),0 0 17px rgba(255,153,44,.62)!important}

/* Popular cards */
.np-books-page .np-books-popular{margin:0!important;padding:12px 14px 15px!important;border:0!important;border-radius:0!important;background:linear-gradient(180deg,rgba(18,24,71,.985),rgba(14,20,58,.985))!important;box-shadow:none!important}
.np-books-page .np-books-popular-head{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0 0 9px!important}
.np-books-page .np-books-popular-head h2{margin:0!important;color:#fff!important;font-size:26px!important;line-height:1!important}
.np-books-page .np-books-popular-head p{margin:0!important}.np-books-page .np-books-popular-head a{color:#ffc33d!important;font-size:13px!important;font-weight:900!important;text-decoration:none!important}
.np-books-page .np-book-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:11px!important;margin:0!important}
.np-books-page .np-book-card{position:relative!important;min-width:0!important;margin:0!important;overflow:hidden!important;border:1px solid rgba(174,126,234,.34)!important;border-radius:13px!important;background:linear-gradient(180deg,#2d1852,#20133e)!important;box-shadow:0 8px 18px rgba(0,0,0,.28)!important}
.np-books-page .np-book-cover{position:relative!important;width:100%!important;aspect-ratio:1.17/1!important;margin:0!important;overflow:hidden!important;background:#fff!important}
.np-books-page .np-book-cover img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
.np-books-page .np-book-cover::before,.np-books-page .np-book-cover::after{content:"";position:absolute;z-index:3;bottom:-9px;width:12px;height:84px;border-radius:7px 7px 2px 2px;box-shadow:0 2px 4px rgba(0,0,0,.18);transform-origin:bottom center}
.np-books-page .np-book-cover::before{left:10px;transform:rotate(14deg);background:linear-gradient(90deg,#f07e25 0 28%,#ffd257 28% 40%,#f7b33e 40% 100%)}
.np-books-page .np-book-cover::after{right:10px;transform:rotate(-14deg);background:linear-gradient(90deg,#7d3bb8 0 28%,#f34b8f 28% 62%,#efbe40 62% 100%)}
.np-books-page .np-book-copy{padding:9px 9px 8px!important}
.np-books-page .np-book-copy h3{display:flex!important;align-items:center!important;gap:7px!important;margin:0 0 1px!important;color:#fff!important;font-size:14px!important;line-height:1.1!important}.np-books-page .np-book-card-icon{font-size:21px!important;line-height:1!important}
.np-books-page .np-book-copy p{margin:0 0 7px 29px!important;color:#eee8f7!important;font-size:11px!important}
.np-books-page .np-book-button,.np-books-page .np-book-button .wp-block-button__link{width:100%!important}.np-books-page .np-book-button .wp-block-button__link{min-height:37px!important;padding:7px 8px!important;border:1px solid rgba(200,154,250,.34)!important;border-radius:8px!important;color:#fff!important;background:linear-gradient(180deg,#552e89,#402168)!important;font-size:12px!important;font-weight:900!important}

/* Three feature panels and the lake foreground. */
.np-books-page .np-books-benefits{
  position:relative!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin:0!important;
  padding:13px 82px 24px!important;
  border:0!important;
  background-image:linear-gradient(180deg,rgba(15,21,62,.84),rgba(11,22,61,.48)),url("images/books-fox-hero-v2.webp")!important;
  background-size:100% auto!important;
  background-position:center bottom!important;
  background-repeat:no-repeat!important;
}
.np-books-page .np-books-benefits .wp-block-column{min-height:82px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;margin:0!important;padding:12px 16px 12px 62px!important;border:1px solid rgba(157,133,232,.27)!important;border-radius:12px!important;background:linear-gradient(90deg,rgba(32,31,88,.94),rgba(27,27,73,.9))!important;box-shadow:0 8px 18px rgba(0,0,0,.24)!important}
.np-books-page .np-books-benefits h3{position:relative;margin:0 0 3px!important;color:#fff!important;font-size:15px!important}.np-books-page .np-books-benefits h3 span{position:absolute;left:-47px;top:50%;transform:translateY(-50%);font-size:32px!important}.np-books-page .np-books-benefits p{margin:0!important;color:#eeeaf8!important;font-size:11.5px!important;line-height:1.35!important}

/* Keep other Books-page sections untouched; responsive adaptation applies only to coloring section. */
@media(max-width:1180px){
  .np-books-page .np-books-hero-columns{grid-template-columns:minmax(0,1fr) 330px!important}
  .np-books-page .np-books-intro{padding-left:70px!important}
  .np-books-page .np-book-filters{grid-template-columns:repeat(4,1fr)!important}
  .np-books-page .np-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .np-books-page .np-books-wood-sign-left{left:-9px!important}
}
@media(max-width:781px){
  .np-books-page .np-coloring-section{border-radius:20px!important}
  .np-books-page .np-books-hero{min-height:710px!important;background-size:auto 100%!important;background-position:58% center!important}
  .np-books-page .np-books-hero-columns{grid-template-columns:1fr!important;min-height:710px!important;padding-top:300px!important}
  .np-books-page .np-books-intro{padding:20px 18px 8px!important;background:linear-gradient(180deg,rgba(9,18,49,.02),rgba(9,18,49,.92) 16%,rgba(9,18,49,.97))!important}
  .np-books-page .np-books-intro>h1{font-size:48px!important}.np-books-page .np-books-lead{font-size:18px!important}
  .np-books-page .np-books-offer{margin:0 14px 15px!important;min-height:auto!important}
  .np-books-page .np-books-wood-sign-left{display:none!important}
  .np-books-page .np-book-filters{display:flex!important;overflow-x:auto!important;padding:9px!important}.np-books-page .np-book-filters .wp-block-button{flex:0 0 auto!important;width:auto!important}.np-books-page .np-book-filters .wp-block-button__link{width:auto!important;min-width:130px!important}
  .np-books-page .np-book-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .np-books-page .np-books-benefits{grid-template-columns:1fr!important;padding:12px 14px 25px!important}
  .np-books-page .np-books-wood-sign-right{display:none!important}
}
@media(max-width:480px){
  .np-books-page .np-books-hero{min-height:680px!important}.np-books-page .np-books-hero-columns{min-height:680px!important;padding-top:265px!important}
  .np-books-page .np-male-sjov-copy h2{font-size:36px!important}.np-books-page .np-books-intro>h1{font-size:42px!important}
  .np-books-page .np-books-facts{grid-template-columns:1fr!important}.np-books-page .np-book-grid{grid-template-columns:1fr!important}
}

/* 5.9.0: vis hele siden som standard samt individuelle +/- zoomknapper. */
.np-books-page .np-book-cover img{object-fit:contain!important}
.np-books-page .np-book-card.is-cover-zoom .np-book-cover img{object-fit:cover!important}
.np-book-zoom-controls{position:absolute;z-index:8;top:8px;right:8px;display:flex;gap:4px;padding:3px;border:1px solid rgba(73,45,111,.22);border-radius:10px;background:rgba(255,255,255,.88);box-shadow:0 3px 10px rgba(20,8,43,.18);backdrop-filter:blur(4px)}
.np-book-zoom-controls button{width:27px;height:25px;display:grid;place-items:center;padding:0;border:0;border-radius:7px;color:#382052;background:transparent;font:900 18px/1 system-ui,sans-serif;cursor:pointer}
.np-book-zoom-controls button:hover,.np-book-zoom-controls button:focus-visible{background:#eee3fb;outline:2px solid rgba(105,55,157,.28);outline-offset:1px}
.np-book-zoom-controls button.is-active{color:#fff;background:#5b2e8e;box-shadow:0 2px 6px rgba(58,25,94,.3)}

/* 5.10.0: A4/A3-format og 13 kort fordelt som 7 + 6 på desktop. */
.np-books-page .np-book-cover{aspect-ratio:210/297!important}
@media(min-width:1300px){
  .np-books-page .np-book-grid{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:stretch!important;gap:10px!important}
  .np-books-page .np-book-card{flex:0 1 calc((100% - 60px)/7)!important;min-width:0!important}
  .np-books-page .np-book-copy{padding:10px!important}
  .np-books-page .np-book-copy h3{font-size:14px!important}
  .np-books-page .np-book-button .wp-block-button__link{padding-inline:5px!important;font-size:11px!important}
}
@media(min-width:1000px) and (max-width:1299px){
  .np-books-page .np-book-grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
@media(min-width:782px) and (max-width:999px){
  .np-books-page .np-book-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

/* 5.11.0: større, centrerede navne og knaptekster på alle skærmstørrelser. */
.np-books-page .np-book-filters .wp-block-button__link{
  justify-content:center!important;
  text-align:center!important;
  font-size:14px!important;
  line-height:1.15!important;
}
.np-books-page .np-book-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  text-align:center!important;
}
.np-books-page .np-book-copy h3{
  min-height:40px!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:normal!important;
  font-size:16px!important;
  line-height:1.15!important;
}
.np-books-page .np-book-copy p{
  margin:0 0 9px!important;
  text-align:center!important;
  font-size:12px!important;
}
.np-books-page .np-book-button{margin-top:auto!important}
.np-books-page .np-book-button .wp-block-button__link{
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  font-size:13px!important;
  line-height:1.15!important;
}
@media(min-width:1300px){
  .np-books-page .np-book-copy{min-height:132px!important;padding:10px 7px!important}
  .np-books-page .np-book-copy h3{font-size:clamp(14px,1vw,16px)!important}
  .np-books-page .np-book-filters .wp-block-button__link{font-size:clamp(13px,.9vw,15px)!important}
  .np-books-page .np-book-button .wp-block-button__link{padding-inline:4px!important;font-size:clamp(12px,.82vw,14px)!important}
}
@media(min-width:782px) and (max-width:1299px){
  .np-books-page .np-book-copy{min-height:128px!important}
  .np-books-page .np-book-copy h3{font-size:16px!important}
  .np-books-page .np-book-button .wp-block-button__link{font-size:13px!important}
}
@media(max-width:781px){
  .np-books-page .np-book-filters .wp-block-button__link{font-size:14px!important}
  .np-books-page .np-book-copy{min-height:132px!important}
  .np-books-page .np-book-copy h3{font-size:17px!important}
  .np-books-page .np-book-copy p{font-size:13px!important}
  .np-books-page .np-book-button .wp-block-button__link{font-size:14px!important}
}

/* 5.12.0: fjern gentaget sidetal og komprimer tekstfeltet under hvert omslag. */
.np-books-page .np-book-copy{min-height:0!important}
.np-books-page .np-book-copy>p{display:none!important}
.np-books-page .np-book-button{margin-top:6px!important}
.np-books-page .np-books-popular-head h2{line-height:1.15!important}
@media(max-width:781px){
  .np-books-page .np-books-popular-head{align-items:flex-start!important;gap:8px!important}
  .np-books-page .np-books-popular-head h2{font-size:21px!important}
}

/* 5.13.0: fjern den reserverede luft over titlerne og gør navnene tydeligere. */
.np-books-page .np-book-copy{
  min-height:0!important;
  height:auto!important;
  justify-content:flex-start!important;
  gap:7px!important;
  padding:8px 7px 9px!important;
}
.np-books-page .np-book-copy h3{
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
  overflow:visible!important;
  font-size:clamp(15px,1.05vw,18px)!important;
  line-height:1.12!important;
}
.np-books-page .np-book-card-icon{flex:0 0 auto!important}
.np-books-page .np-book-button{margin:0!important}
@media(min-width:1300px) and (max-width:1450px){
  .np-books-page .np-book-copy h3{font-size:14px!important;gap:5px!important}
  .np-books-page .np-book-card-icon{font-size:18px!important}
}
@media(min-width:782px) and (max-width:1299px){
  .np-books-page .np-book-copy h3{font-size:17px!important;white-space:normal!important}
}
@media(max-width:781px){
  .np-books-page .np-book-copy{gap:8px!important;padding:9px!important}
  .np-books-page .np-book-copy h3{font-size:18px!important;white-space:normal!important}
}

/* 5.14.0: titlerne fylder det markerede grønne felt og Gutenberg-luften nulstilles. */
.np-books-page .np-book-card{
  gap:0!important;
  --wp--style--block-gap:0;
}
.np-books-page .np-book-card > .np-book-cover,
.np-books-page .np-book-card > .np-book-copy,
.np-books-page .np-book-card > * + *{
  margin-block-start:0!important;
  margin-block-end:0!important;
}
.np-books-page .np-book-copy{
  gap:7px!important;
  padding:5px 7px 9px!important;
}
.np-books-page .np-book-copy h3{
  width:100%!important;
  min-height:44px!important;
  padding:3px 2px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  font-size:clamp(17px,1.18vw,20px)!important;
  font-weight:900!important;
  line-height:1.08!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.np-books-page .np-book-card-icon{
  font-size:1.08em!important;
}
@media(min-width:1300px) and (max-width:1500px){
  .np-books-page .np-book-copy h3{
    min-height:42px!important;
    font-size:clamp(15px,1.08vw,17px)!important;
    gap:5px!important;
  }
}
@media(min-width:782px) and (max-width:1299px){
  .np-books-page .np-book-copy h3{font-size:19px!important}
}
@media(max-width:781px){
  .np-books-page .np-book-copy h3{min-height:42px!important;font-size:19px!important}
}
