/* Registered corrections, 30 September 2026. Existing design retained. */
@media(max-width:360px){footer.wp-block-template-part .lw-footer-grid>.wp-block-column:nth-child(even){padding-left:8px!important;}}
.lw-hero .lw-review-full-labels { margin:0 0 .65rem!important; line-height:1.45; }
.lw-review-full-labels > span { display:block; }

/* The exposed cream strip is the first content block's default top margin. */
body.page-id-20 .wp-site-blocks > main,
body.page-id-31 .wp-site-blocks > main,
body.page-id-20 .entry-content,
body.page-id-31 .entry-content,
body.page-id-20 .entry-content > .lw-hero,
body.page-id-31 .entry-content > .lw-hero { margin-block-start:0!important; }

body.page-id-26 .lw-nupo-note { padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
body.page-id-26 .lw-nupo-note h2 { margin:1rem 0 .5rem!important; }

/* Preserve editable source prices, with one card per existing offer. */
.entry-content .lw-reviewed-offers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.35rem 0; }
.entry-content .lw-reviewed-offers-four { grid-template-columns:repeat(2,minmax(0,1fr)); }
.entry-content .lw-reviewed-offer,
.entry-content .lw-reviewed-addon { box-sizing:border-box; min-width:0; margin:0; padding:1.15rem; border:1px solid var(--lw-border); border-radius:16px; background:#fff; box-shadow:0 8px 24px rgba(25,66,48,.04); }
.entry-content .lw-reviewed-offer > :first-child { margin-top:0!important; }
.entry-content .lw-reviewed-offer > :last-child,
.entry-content .lw-reviewed-addon > :last-child { margin-bottom:0!important; }
.entry-content .lw-reviewed-offer h3 { font-family:Georgia,"Times New Roman",serif; font-size:1.3rem; font-weight:600; line-height:1.3; color:#234b34; }
.entry-content .lw-reviewed-offer p,
.entry-content .lw-reviewed-addon p { font-size:1rem; line-height:1.5; margin:.7rem 0; }
.entry-content .lw-reviewed-addon { margin:.85rem 0; }
body.page-id-25 .lw-reviewed-offers { grid-template-columns:1fr; }

/* Stronger circle/check icons, scoped to the two reviewed components. */
body.page-id-26 .lw-check-item,
body.page-id-27 .lw-check-item { grid-template-columns:1.6rem minmax(0,1fr); gap:.65rem; }
body.page-id-26 .lw-check-item::before,
body.page-id-27 .lw-check-item::before { box-sizing:border-box; width:1.45rem; height:1.45rem; border:2px solid #4f7a56; background-size:16px 16px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='%234f7a56' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* The card border intersects the middle of each number circle. */
body.page-id-26 .lw-nupo-steps,
body.page-id-27 .lw-hold-steps { margin-top:2.2rem!important; row-gap:2rem!important; }
body.page-id-26 .lw-nupo-steps > .lw-nupo-mini,
body.page-id-27 .lw-hold-steps > .lw-hold-mini { position:relative; overflow:visible; box-sizing:border-box; padding-top:2.1rem; }
body.page-id-26 .lw-nupo-steps .lw-nupo-stepno,
body.page-id-27 .lw-hold-steps .lw-hold-stepno { position:absolute; top:0; left:50%; transform:translate(-50%,-50%); display:flex; align-items:center; justify-content:center; width:2.5rem; height:2.5rem; margin:0!important; border-radius:50%; background:#5f9f68; color:#fff; font-size:1.1rem; line-height:1; font-weight:700; }
body.page-id-26 .lw-nupo-steps h3,
body.page-id-27 .lw-hold-steps h3 { margin-top:0!important; }

/* The closing band meets the dark footer with a calm light section. */
body.page-id-27 .entry-content > .lw-contact-band { background:#f2f7ee!important; }
body.page-id-27 .entry-content > .lw-contact-band :is(h2,h3,p) { color:#234b34!important; }
body.page-id-27 .entry-content > .lw-contact-band p a { color:inherit!important; }

/* Price pages use one type scale within all price cards. */
body.page-id-30 .entry-content :is(.lw-price-card,.lw-package-card) { font-family:inherit; font-size:1rem; line-height:1.5; font-weight:400; }
body.page-id-30 .entry-content :is(.lw-price-card,.lw-package-card) h3 { font-family:Georgia,"Times New Roman",serif!important; font-size:1.35rem!important; line-height:1.3!important; font-weight:600!important; color:#234b34; }
body.page-id-30 .entry-content :is(.lw-price-card,.lw-package-card) :is(p,li,.lw-price-row,.lw-package-card__intro,.lw-package-card__note) { font-family:inherit!important; font-size:1rem!important; font-weight:400; line-height:1.5!important; }
body.page-id-30 .entry-content :is(.lw-price-card,.lw-package-card) strong { font-family:inherit!important; font-size:1em!important; font-weight:700!important; }
body.page-id-30 .entry-content .lw-price-row > p:first-child { min-width:0; flex:1; }
body.page-id-30 .entry-content .lw-price-row > p:last-child { flex:none; }


/* Allow full price sentences to wrap on the smallest mobile screens. */
body.page-id-30 .entry-content .lw-price-card { min-width:0; }
body.page-id-30 .entry-content .lw-price-value { white-space:normal; }

/* The existing insurance logo assets remain unchanged. */
body.page-id-31 .lw-insurance-logo img[alt="LB Erhverv"] { filter:brightness(.6); }
body.page-id-31 .lw-insurance-logo img[alt="IDA Forsikring"] { width:140px!important; height:96px!important; max-width:100%; }
body.page-id-31 .lw-insurance-logo:has(img[alt="PensionDanmark"]) { background:#234b34!important; border-radius:12px; }
body.page-id-31 .lw-insurance-logo img[alt="PensionDanmark"] { padding:5px; box-sizing:border-box; }
body.page-id-31 .entry-content details { border:1px solid var(--lw-border); border-radius:12px; padding:0 1rem; margin:.65rem 0; background:#fff; }
body.page-id-31 .entry-content details summary { position:relative; list-style:none; padding:.85rem 1.7rem .85rem 0; color:#234b34; cursor:pointer; font-weight:600; }
body.page-id-31 .entry-content details summary::-webkit-details-marker { display:none; }
body.page-id-31 .entry-content details summary::marker { content:""; }
body.page-id-31 .entry-content details summary::after { content:"+"; position:absolute; right:0; top:.85rem; color:#5f9f68; font-weight:700; }
body.page-id-31 .entry-content details[open] summary::after { content:"−"; }
body.page-id-31 .entry-content details summary:focus-visible { outline:2px solid #5f9f68; outline-offset:3px; }

/* Proportional before/after comparison, with a little more width for the left photo. */
body.page-id-29 .lw-reviewed-lars-pair { display:grid; grid-template-columns:1fr 1fr; align-items:end; gap:1rem; width:min(100%,900px); margin:1rem auto; background:#fff; }
body.page-id-29 .lw-reviewed-lars-pair figure { margin:0; min-width:0; background:#fff; text-align:center; }
body.page-id-29 .lw-reviewed-lars-pair img { display:block; width:auto; max-width:100%; height:440px; margin:0 auto; object-fit:contain; object-position:center bottom; }
body.page-id-29 .lw-reviewed-lars-pair figure:first-child img { height:475px; }
body.page-id-29 .lw-reviewed-lars-pair figcaption { color:#234b34; font-size:1.05rem; line-height:1.4; margin:.6rem 0 0; padding:.2rem; }

/* Keep the same complete original footer logo inside its available box. */
footer.wp-block-template-part .lw-footer-brand-image,
footer.wp-block-template-part .lw-footer-brand-image a { overflow:visible!important; }
footer.wp-block-template-part .lw-footer-brand-image img { clip:auto!important; clip-path:none!important; object-fit:contain!important; }
footer.wp-block-template-part .lw-footer-contact a:is([href^="tel:"],[href^="mailto:"]) { text-decoration:underline!important; text-underline-offset:.16em; }

@media (max-width:781px) {
  footer.wp-block-template-part .lw-sticky-mobile { display:flex!important; }
  footer.wp-block-template-part .lw-footer-hours li span { white-space:nowrap; }
  .lw-hero .lw-review-full-labels { font-size:clamp(.70rem,2.8vw,.82rem)!important; letter-spacing:.025em!important; }
  .entry-content .lw-reviewed-offers { grid-template-columns:1fr; gap:1rem; }
  body.page-id-28 .entry-content > .lw-section:nth-of-type(2),
  body.page-id-28 .entry-content > .lw-section:nth-of-type(3) { background:#f2f7ee!important; }
  body.page-id-31 .entry-content > .lw-contact-band { padding-bottom:1.25rem!important; }
  body.page-id-29 .lw-reviewed-lars-pair { gap:.65rem; }
  body.page-id-29 .lw-reviewed-lars-pair img { height:clamp(200px,65vw,380px); }
  body.page-id-29 .lw-reviewed-lars-pair figure:first-child img { height:clamp(216px,70vw,410px); }
  footer.wp-block-template-part .lw-footer-brand-image img { box-sizing:border-box!important; padding-right:4px!important; padding-bottom:3px!important; }
}

/* Matching typography for the two homepage contact and location lines. */
body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero .lw-hero-actions + p,
body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero p.lw-muted {
 font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
 font-size:16px!important;
 font-weight:400!important;
 font-style:normal!important;
 line-height:1.7!important;
 letter-spacing:normal!important;
 color:#202a24!important;
}

/* Fine-stroke authorization checkmark with a longer short arm. */
body.page-id-20 .entry-content .lw-trust-section > .wp-block-columns > .wp-block-column:first-child .lw-card::before { content:""!important; background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2024%2024'%3E%3Cpath%20d%3D'M4%2011.5%2010%2018%2020%206'%20fill%3D'none'%20stroke%3D'%234f7a56'%20stroke-width%3D'1.4'%20stroke-linecap%3D'round'%20stroke-linejoin%3D'round'%2F%3E%3C%2Fsvg%3E")!important; background-size:24px 24px!important; background-position:center!important; background-repeat:no-repeat!important; }

/* 1 October: larger desktop logo, right-aligned navigation and balanced hero. */
@media(min-width:1200px) {
 body header.wp-block-template-part .lw-header .lw-header-inner { max-width:none!important; }
 body header.wp-block-template-part .lw-header .lw-brand-image { width:234px!important; flex-basis:234px!important; }
 body header.wp-block-template-part .lw-header .lw-brand-image img { width:234px!important; height:75.4px!important; object-fit:contain!important; }
 body header.wp-block-template-part .lw-header nav.lw-header-nav { justify-content:flex-end!important; }
 body header.wp-block-template-part .lw-header nav.lw-header-nav .wp-block-navigation__container { justify-content:flex-end!important; column-gap:clamp(16px,1.65vw,26px)!important; }
}
@media(min-width:782px) {
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero > .wp-block-columns { align-items:stretch!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero > .wp-block-columns > .wp-block-column:first-of-type { align-self:stretch!important; display:flex!important; flex-direction:column; justify-content:space-between; gap:18px; padding:24px 0!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero > .wp-block-columns > .wp-block-column:first-of-type > * { margin-top:0!important; margin-bottom:0!important; }
}

/* Compact navigation below the one-line desktop breakpoint. */
@media(max-width:1199px) {
 header.wp-block-template-part .lw-header nav.lw-header-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display:none!important; }
 header.wp-block-template-part .lw-header nav.lw-header-nav > .wp-block-navigation__responsive-container-open { display:flex!important; align-items:center; justify-content:center; min-width:44px; min-height:44px; }
 header.wp-block-template-part .lw-header nav.lw-header-nav .wp-block-navigation__responsive-container.is-menu-open { display:flex!important; position:fixed!important; inset:0!important; width:100%!important; height:100dvh!important; max-height:none!important; overflow-y:auto!important; padding:24px!important; background:#fff!important; z-index:100000!important; }
 header.wp-block-template-part .lw-header nav.lw-header-nav .is-menu-open .wp-block-navigation__container { flex-direction:column!important; align-items:flex-start!important; gap:8px!important; }
 header.wp-block-template-part .lw-header .lw-header-inner { min-height:74px; }
}

/* One-line desktop navigation using the full header width. */
@media(min-width:1200px) {
 header.wp-block-template-part .lw-header .lw-header-inner { max-width:1480px!important; width:100%!important; padding:14px 16px!important; gap:36px!important; }
 header.wp-block-template-part .lw-header .lw-brand-image { width:180px!important; flex:0 0 180px!important; margin:0!important; }
 header.wp-block-template-part .lw-header .lw-brand-image img { width:180px!important; max-width:100%!important; }
 header.wp-block-template-part .lw-header nav.lw-header-nav { flex:1 1 auto!important; min-width:0; width:auto!important; }
 header.wp-block-template-part .lw-header nav.lw-header-nav .wp-block-navigation__container { flex-wrap:nowrap!important; column-gap:10px!important; justify-content:flex-start!important; }
 header.wp-block-template-part .lw-header nav.lw-header-nav .wp-block-navigation-item { flex:0 0 auto!important; margin:0!important; }
 header.wp-block-template-part .lw-header nav.lw-header-nav .wp-block-navigation-item__content { font-size:clamp(16px,1.32vw,18px)!important; white-space:nowrap; }
 header.wp-block-template-part .lw-header nav.lw-header-nav .lw-header-contact a { margin:0!important; padding:10px!important; }
}

/* Clearer primary navigation. */
header.wp-block-template-part nav.lw-header-nav .wp-block-navigation-item__content { font-size:18px!important; font-weight:600!important; line-height:1.4!important; }
header.wp-block-template-part nav.lw-header-nav .wp-block-navigation-item:not(.lw-header-contact) > .wp-block-navigation-item__content { color:#234b34!important; min-height:44px; display:flex; align-items:center; }
header.wp-block-template-part nav.lw-header-nav .wp-block-navigation__container { column-gap:18px!important; row-gap:8px!important; }
header.wp-block-template-part nav.lw-header-nav .is-menu-open .wp-block-navigation-item__content { font-size:20px!important; }

/* Homepage text spacing beside the portrait, approved 30 September. */
@media(min-width:782px) {
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero > .wp-block-columns > .wp-block-column:first-of-type > .lw-review-full-labels { margin-bottom:18px!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero h1 { margin-top:0!important; margin-bottom:24px!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero h1 + p { margin-top:0!important; line-height:1.75!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero .lw-hero-actions { margin-top:24px!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero .lw-hero-actions + p { margin-top:22px!important; line-height:1.7!important; }
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero .lw-muted { margin-top:16px!important; line-height:1.7!important; }
}

/* Approved homepage portrait: square corners and no green strip below. */
body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero { padding-bottom:0!important; }
body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero .lw-home-photo,
body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero .lw-home-photo img { border-radius:0!important; }
@media(max-width:781px) {
 body.page-id-20 .entry-content .lw-hero.lw-reviewed-hero > .wp-block-columns { row-gap:0!important; }
}

/* Approved homepage portrait placement: flush against the header. */
body.page-id-20 .lw-hero { padding-top:0!important; }
body.page-id-20 .lw-hero > .wp-block-columns { margin-top:0!important; align-items:flex-start!important; }
body.page-id-20 .lw-hero.lw-reviewed-hero > .wp-block-columns > .wp-block-column:first-of-type { padding-top:44px!important; }
body.page-id-20 .lw-home-photo { margin-top:0!important; border-top-left-radius:0!important; border-top-right-radius:0!important; }
body.page-id-20 .lw-home-photo img { border-top-left-radius:0!important; border-top-right-radius:0!important; }
@media(max-width:781px) {
 body.page-id-20 .lw-hero > .wp-block-columns { flex-direction:column; gap:24px!important; }
 body.page-id-20 .lw-hero > .wp-block-columns > .wp-block-column:last-child { order:-1; width:100%; }
 body.page-id-20 .lw-hero.lw-reviewed-hero > .wp-block-columns > .wp-block-column:first-of-type { padding-top:0!important; }
}

