/* WineInsight Sidebygger — frontend
   Mål og farver fra udkastene (vinreol + tanniner). Alt er scopet under .wisb,
   så Astra og andre plugins ikke påvirkes. */

/* ── Astra: fuld bredde og hvid baggrund på sider fra Sidebyggeren ── */
body.wisb-page,
.wisb-page #content,
.wisb-page .site-content { background: #fff; }
.wisb-page .site-content > .ast-container {
    display: block; max-width: none; width: 100%; padding: 0; margin: 0;
}

/* ── Tokens og nulstilling ── */
.wisb {
    --wisb-wine: #790D17;
    --wisb-wine-dark: #5C0F15;
    --wisb-ink: #1A1A1A;
    --wisb-body: #3B3330;
    --wisb-prose: #2E2724;
    --wisb-muted: #5E5550;
    --wisb-soft: #6B625C;
    --wisb-line: #EAE6E0;
    --wisb-line-soft: #F0ECE6;
    --wisb-beige: #F5F2ED;
    --wisb-beige-line: #E3D6C8;
    --wisb-pink: #F6E8E9;
    --wisb-pink-2: #F9EFF0;
    --wisb-pink-line: #E8CDD0;
    --wisb-green: #1E7A34;
    --wisb-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --wisb-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wisb-offset: 0px;
    font-family: var(--wisb-sans);
    font-size: 16px;
    line-height: 1.5;
    color: var(--wisb-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 72px;
}
.wisb *, .wisb *::before, .wisb *::after { box-sizing: border-box; }
.wisb h1, .wisb h2, .wisb h3, .wisb h4 {
    font-family: var(--wisb-serif); font-weight: 700; color: var(--wisb-ink);
    margin: 0; padding: 0; letter-spacing: normal; text-transform: none; clear: none;
}
.wisb ul, .wisb ol { list-style: none; margin: 0; padding: 0; }
.wisb li { margin: 0; }
.wisb p { margin: 0; }
.wisb img { max-width: 100%; height: auto; }
.wisb a { color: var(--wisb-wine); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.wisb a:hover { color: var(--wisb-wine-dark); }
.wisb a:focus-visible, .wisb summary:focus-visible { outline: 2px solid var(--wisb-wine); outline-offset: 2px; border-radius: 6px; }
.wisb table, .wisb th, .wisb td { border: 0; margin: 0; background: none; }
.wisb .wisb-ico { flex: none; display: block; }
.wisb b, .wisb strong { font-weight: 600; }
.wisb .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wisb-wrap { max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 40px; padding-right: 40px; }

/* ── Læse-fremskridt ── */
.wisb-progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100000; pointer-events: none; }
.admin-bar .wisb-progress { top: 32px; }
.wisb-progress span { display: block; width: 0; height: 100%; background: var(--wisb-wine); }

/* ── Fælles små elementer ── */
.wisb-pill {
    display: inline-flex; align-items: center; align-self: flex-start; padding: 3px 12px; border-radius: 999px;
    background: var(--wisb-pink); color: var(--wisb-wine); font-size: 13px; font-weight: 700; line-height: 1.4;
}
.wisb-pill--solid { background: var(--wisb-wine); color: #fff; font-size: 12px; padding: 3px 10px; }
.wisb-pill--xs { padding: 2px 8px; font-size: 12px; }
.wisb-pill--dark { background: var(--wisb-wine-dark); color: #fff; font-size: 12px; padding: 3px 10px; }
.wisb-pill--light { background: #F0D7DA; color: var(--wisb-wine-dark); font-size: 12px; padding: 3px 10px; }
.wisb-pill--mid { background: #A8323F; color: #fff; font-size: 12px; padding: 3px 10px; }
.wisb-kick { font-size: 13px; font-weight: 700; color: var(--wisb-wine); }

.wisb-num {
    width: 32px; height: 32px; flex: none; border-radius: 50%; background: #fff; color: var(--wisb-wine);
    display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; line-height: 1;
}
.wisb-num--solid { width: 30px; height: 30px; background: var(--wisb-wine); color: #fff; }

.wisb-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.wisb-price__now { font-family: var(--wisb-serif); font-weight: 700; color: var(--wisb-wine); font-size: 22px; line-height: 1.1; white-space: nowrap; }
.wisb-price--lg .wisb-price__now { font-size: 28px; }
.wisb-price--sm .wisb-price__now { font-size: 18px; }
.wisb-price__was { font-size: 13px; color: var(--wisb-soft); text-decoration: line-through; white-space: nowrap; }
.wisb-price--lg .wisb-price__was { font-size: 14px; }
.wisb-price .wisb-pill { align-self: center; }
.wisb-shop { font-size: 13px; color: var(--wisb-soft); }

.wisb .wisb-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px;
    border-radius: 10px; background: var(--wisb-wine); color: #fff; font-size: 14px; font-weight: 600; line-height: 1;
    text-decoration: none; white-space: nowrap; transition: background-color .15s ease; border: 0; cursor: pointer;
}
.wisb .wisb-btn:hover { background: var(--wisb-wine-dark); color: #fff; }
.wisb .wisb-btn--block { display: flex; width: 100%; }
.wisb .wisb-btn--md { height: 48px; padding: 0 20px; border-radius: 12px; font-size: 15px; }
.wisb .wisb-btn--lg { height: 52px; padding: 0 22px; border-radius: 12px; font-size: 15px; }
.wisb .wisb-btn--sm { height: 40px; padding: 0 14px; font-size: 13px; }

.wisb-soldout {
    display: inline-flex; align-items: center; align-self: flex-start; padding: 5px 12px; border-radius: 999px;
    background: #EFEAE4; color: var(--wisb-muted); font-size: 13px; font-weight: 600;
}
.wisb-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #C9BDB0; }
.wisb-stars { display: inline-flex; gap: 2px; color: var(--wisb-wine); }
.wisb-stars .star-empty { color: #D9CCBE; }

.wisb-avatar {
    width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--wisb-wine); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--wisb-serif); font-weight: 700; font-size: 17px; line-height: 1;
}
.wisb-avatar--lg { width: 60px; height: 60px; font-size: 24px; }

/* ── Toppen ── */
.wisb-hero { padding-top: 28px; }
.wisb-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--wisb-soft); }
.wisb-crumbs a { display: flex; align-items: center; min-height: 32px; color: var(--wisb-soft); }
.wisb-crumbs a:hover { color: var(--wisb-wine); }
.wisb-crumbs [aria-current] { color: var(--wisb-ink); font-weight: 600; }
.wisb-hero__grid { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.wisb-hero__text { flex: 1 1 520px; min-width: 0; max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.wisb .wisb-kicker {
    align-self: flex-start; display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
    background: var(--wisb-pink); color: var(--wisb-wine); font-size: 13px; font-weight: 700; text-decoration: none;
}
.wisb .wisb-h1 { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
.wisb-hero__lead { max-width: 40em; font-size: 20px; line-height: 1.55; color: var(--wisb-muted); text-wrap: pretty; }
.wisb-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 6px; font-size: 14px; color: var(--wisb-muted); }
.wisb-byline > span { display: flex; align-items: center; gap: 6px; }
.wisb-byline > .wisb-byline__who { gap: 10px; }
.wisb-byline a, .wisb-byline b { font-weight: 600; color: var(--wisb-ink); }
.wisb-hero__img { margin-top: 32px; border-radius: 24px; overflow: hidden; background: var(--wisb-beige); }
.wisb-hero__img img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; }
.wisb-hero--side .wisb-hero__text { max-width: none; }
.wisb-hero--side .wisb-hero__img { flex: 1 1 460px; min-width: 0; margin-top: 0; }
.wisb-hero--side .wisb-hero__img img { aspect-ratio: 4 / 3; }

/* ── Layout: artikel + sidebar ── */
.wisb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 64px; align-items: start; padding-top: 48px; }
.wisb-layout--single { grid-template-columns: minmax(0, 760px); }
.wisb-article { max-width: 760px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.wisb-aside { position: sticky; top: calc(var(--wisb-offset) + 24px); display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.wisb-mtoc { display: none; }

.wisb-sec { display: flex; flex-direction: column; gap: 18px; min-width: 0; scroll-margin-top: calc(var(--wisb-offset) + 24px); }
.wisb-sec--attach { margin-top: -36px; }
.wisb .wisb-h2 { font-size: 32px; line-height: 1.18; }
.wisb .wisb-h2--sm { font-size: 24px; }
.wisb .wisb-h2--md { font-size: 30px; line-height: 1.15; }
.wisb .wisb-h2--lg { font-size: 36px; }
.wisb .wisb-h3 { font-size: 24px; line-height: 1.25; }
.wisb .wisb-h3--sm { font-size: 19px; }
.wisb-intro { font-size: 17px; line-height: 1.7; color: var(--wisb-body); }
.wisb-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.wisb .wisb-more { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; }

/* ── Brødtekst ── */
.wisb-prose { font-size: 18px; line-height: 1.75; color: var(--wisb-prose); overflow-wrap: break-word; }
.wisb-prose > * + * { margin-top: 1em; }
.wisb-prose p { margin: 0; }
.wisb-prose h2 { font-size: 30px; line-height: 1.2; margin-top: 1.5em; }
.wisb-prose h3 { font-size: 23px; line-height: 1.3; margin-top: 1.4em; }
.wisb-prose h4 { font-family: var(--wisb-sans); font-size: 17px; font-weight: 600; margin-top: 1.3em; }
.wisb-prose h2 + *, .wisb-prose h3 + *, .wisb-prose h4 + * { margin-top: .5em; }
.wisb-prose ul { list-style: disc; padding-left: 1.3em; }
.wisb-prose ol { list-style: decimal; padding-left: 1.4em; }
.wisb-prose li + li { margin-top: .35em; }
.wisb-prose li::marker { color: var(--wisb-wine); }
.wisb-prose img { border-radius: 16px; }
.wisb-prose figure { margin: 0; }
.wisb-prose figcaption { font-size: 14px; color: var(--wisb-soft); margin-top: 8px; }
.wisb-prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--wisb-wine); font-family: var(--wisb-serif); font-style: italic; font-size: 20px; color: var(--wisb-ink); }
/* Tabeller i brødteksten — også gamle tabeller med indlejret styling (style="…") får det nye udseende. */
.wisb-prose .wisb-tablewrap { margin-top: 1.2em; margin-bottom: 1.2em; }
.wisb-prose table { width: 100% !important; min-width: 480px; border-collapse: collapse !important; font-size: 15px !important; line-height: 1.5 !important; margin: 0 !important; }
.wisb-prose th, .wisb-prose td { padding: 13px 16px !important; text-align: left; vertical-align: top; border: 0 !important; border-top: 1px solid var(--wisb-line-soft) !important; background: none !important; }
.wisb-prose tr:first-child > th, .wisb-prose tr:first-child > td { border-top: 0 !important; }
.wisb-prose thead th { background: var(--wisb-beige) !important; font-weight: 600; color: var(--wisb-ink); }
.wisb-prose tbody td:first-child { font-weight: 600; }
.wisb-prose hr { border: 0; border-top: 1px solid var(--wisb-line); margin: 2em 0; }
.wisb-prose iframe { max-width: 100%; }

/* ── Kort fortalt ── */
.wisb-sec--summary { padding: 28px 30px; border-radius: 22px; background: var(--wisb-beige); gap: 16px; }
.wisb-summary__list { display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.wisb-summary__list li { display: flex; gap: 14px; align-items: flex-start; }
.wisb-summary__list .wisb-num { margin-top: -4px; }
.wisb-tick { color: var(--wisb-wine); padding-top: 2px; }
.wisb-summary__note { padding-top: 14px; border-top: 1px solid var(--wisb-beige-line); font-size: 15px; color: var(--wisb-muted); }

/* ── Vores favoritter ── */
.wisb-favs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 16px; }
.wisb-fav { display: flex; flex-direction: column; border: 1px solid var(--wisb-line); border-radius: 20px; overflow: hidden; background: #fff; }
.wisb-fav__media { position: relative; height: 150px; background: var(--wisb-beige); display: flex; align-items: center; justify-content: center; padding: 14px; }
.wisb-fav__label { position: absolute; top: 12px; left: 12px; z-index: 1; }
.wisb-fav__img { max-height: 122px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.wisb-fav__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.wisb-fav__title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.wisb .wisb-fav__btn { margin-top: auto; }
.wisb-fav__body .wisb-shop { margin-bottom: 6px; }

/* ── Kort i gitter ── */
.wisb-tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.wisb-tiles--tile, .wisb-tiles--outline { grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); }
.wisb-tiles--label { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.wisb-tile { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--wisb-line); border-radius: 18px; min-width: 0; }
.wisb-tile__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wisb-tile__ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--wisb-pink); color: var(--wisb-wine); display: flex; align-items: center; justify-content: center; }
.wisb-tile__kicker { font-size: 13px; font-weight: 700; color: var(--wisb-wine); }
.wisb-tile__title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.wisb-tile__text { font-size: 14px; line-height: 1.5; color: var(--wisb-muted); }
.wisb-tile__tag { font-size: 13px; font-weight: 600; color: var(--wisb-wine); }
.wisb .wisb-tile__link { display: flex; align-items: center; min-height: 40px; margin-top: auto; font-size: 14px; font-weight: 600; }
.wisb-tiles--tile .wisb-tile { flex-direction: column; gap: 8px; border: 0; background: var(--wisb-beige); }
.wisb-tiles--tile .wisb-tile__ico { width: auto; height: auto; background: none; justify-content: flex-start; }
.wisb-tiles--outline .wisb-tile { flex-direction: column; gap: 8px; }
.wisb-tiles--label .wisb-tile { flex-direction: column; gap: 8px; padding: 20px; border: 0; background: var(--wisb-beige); }
.wisb-tiles--label .wisb-tile__body { flex: 1; gap: 8px; }
.wisb-tiles--label .wisb-tile__title { line-height: 1.4; }
.wisb-tiles--tile .wisb-tile__body, .wisb-tiles--outline .wisb-tile__body { flex: 1; }

/* ── Tabeller ── */
.wisb-tablewrap { border: 1px solid var(--wisb-line); border-radius: 18px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wisb .wisb-cmp { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.wisb .wisb-cmp thead tr { background: var(--wisb-beige); }
.wisb .wisb-cmp thead th { padding: 14px 12px; font-weight: 600; text-align: left; font-family: var(--wisb-sans); }
.wisb .wisb-cmp thead th:first-child { padding-left: 16px; }
.wisb .wisb-cmp tbody tr { border-top: 1px solid var(--wisb-line-soft); }
.wisb .wisb-cmp tbody tr.is-hl { background: #FBF7F7; }
.wisb .wisb-cmp tbody th { padding: 6px 16px; font-weight: 600; text-align: left; }
.wisb .wisb-cmp td { padding: 6px 12px; }
.wisb .wisb-cmp .wisb-c-num { text-align: right; }
.wisb .wisb-cmp .wisb-c-price { font-weight: 600; color: var(--wisb-wine); white-space: nowrap; }
.wisb .wisb-cmp .wisb-c-buy { padding: 0 16px; text-align: right; }
.wisb .wisb-c-muted { color: var(--wisb-muted); }
.wisb .wisb-tlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

.wisb .wisb-tbl { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.wisb .wisb-tbl th, .wisb .wisb-tbl td { padding: 14px 18px; text-align: left; vertical-align: top; }
.wisb .wisb-tbl thead th { background: var(--wisb-beige); font-family: var(--wisb-serif); font-size: 18px; font-weight: 700; }
.wisb .wisb-tbl tbody tr { border-top: 1px solid var(--wisb-line-soft); }
.wisb .wisb-tbl:not(.has-head) tbody tr:first-child { border-top: 0; }
.wisb .wisb-tbl tbody th { font-weight: 600; }
.wisb .wisb-tbl.has-rowhead.has-head tbody th { width: 22%; }
.wisb .wisb-tbl:not(.has-head) tbody th { background: var(--wisb-beige); width: 44%; }

/* ── Produktkort ── */
.wisb-cards { display: flex; flex-direction: column; gap: 20px; }
.wisb-card { display: flex; flex-direction: column; border: 1px solid var(--wisb-line); border-radius: 24px; overflow: hidden; background: #fff; }
.wisb-card__top { display: flex; flex-wrap: wrap; gap: 24px; padding: 24px; }
.wisb-card__media { flex: 0 0 220px; height: 200px; border-radius: 16px; background: var(--wisb-beige); display: flex; align-items: center; justify-content: center; padding: 14px; overflow: hidden; }
.wisb-card__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.wisb-card__main { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.wisb-card__tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.wisb .wisb-card__title { font-size: 26px; line-height: 1.2; }
.wisb-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.wisb-facts li { padding: 4px 12px; border-radius: 999px; background: var(--wisb-beige); font-size: 13px; font-weight: 600; }
.wisb-card__desc { font-size: 15px; line-height: 1.6; color: var(--wisb-body); }
.wisb-pc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; padding: 0 24px 22px; }
.wisb-pc__h { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.wisb-pc ul { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.45; }
.wisb-pc li { display: flex; gap: 8px; align-items: flex-start; }
.wisb-pc li .wisb-ico { margin-top: 1px; }
.wisb-pc .is-pro .wisb-ico { color: var(--wisb-green); }
.wisb-pc .is-con .wisb-ico { color: var(--wisb-wine); }
.wisb-card__verdict { margin: 0 24px 22px; padding: 16px 18px; border-radius: 16px; background: var(--wisb-pink); display: flex; flex-direction: column; gap: 4px; }
.wisb-card__verdict-label { font-size: 13px; font-weight: 700; color: var(--wisb-wine); }
.wisb-card__verdict p { font-size: 15px; line-height: 1.6; color: var(--wisb-body); }
.wisb-card__comment { margin: 0 24px 22px; font-size: 14px; line-height: 1.55; color: var(--wisb-muted); font-style: italic; }
.wisb-classic .wisb-card__comment { margin: 10px 0 0; }
.wisb-card__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px; background: var(--wisb-beige); margin-top: auto; }
.wisb-card__pricebox { display: flex; flex-direction: column; gap: 2px; }
.wisb-card__total { font-size: 13px; color: var(--wisb-muted); }
.wisb-card__shop { flex: 1 1 180px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--wisb-muted); min-width: 0; }
.wisb-card__shopname { font-size: 14px; font-weight: 600; color: var(--wisb-ink); }
.wisb-card__best { color: var(--wisb-green); font-weight: 600; }
.wisb-offers { background: var(--wisb-beige); border-top: 1px solid var(--wisb-beige-line); }
.wisb-offers summary {
    display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 24px; font-size: 14px; font-weight: 600;
    color: var(--wisb-wine); cursor: pointer; list-style: none;
}
.wisb-offers summary::-webkit-details-marker { display: none; }
.wisb-offers__chev { transform: rotate(90deg); transition: transform .15s ease; }
.wisb-offers[open] .wisb-offers__chev { transform: rotate(-90deg); }
.wisb-offers ul { padding: 0 24px 16px; display: flex; flex-direction: column; gap: 8px; }
.wisb-offers li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; border-radius: 12px; background: #fff; }
.wisb-offers__shop { flex: 1 1 160px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--wisb-muted); min-width: 0; }
.wisb-offers__shop b { font-size: 14px; color: var(--wisb-ink); }
.wisb-classic > * { margin-bottom: 0; }

/* Prissammenligning (2+ forhandlere) — altid synlig */
.wisb-cmpbox { margin-top: auto; padding: 18px 24px 22px; background: var(--wisb-beige); display: flex; flex-direction: column; gap: 12px; }
.wisb-cmpbox__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.wisb-cmpbox__title { font-size: 14px; font-weight: 700; }
.wisb-cmpbox__save { font-size: 13px; font-weight: 600; color: var(--wisb-green); }
.wisb-offerlist { display: flex; flex-direction: column; gap: 8px; }
.wisb-offer {
    display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px 20px;
    padding: 14px 16px; border-radius: 14px; background: #fff; border: 1.5px solid transparent;
}
.wisb-offer.is-best { border-color: var(--wisb-wine); box-shadow: 0 4px 14px rgba(121, 13, 23, .08); }
.wisb-offer__shop { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wisb-offer__name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.wisb-offer__name b { font-size: 15px; font-weight: 600; color: var(--wisb-ink); }
.wisb-offer__tag { padding: 2px 9px; border-radius: 999px; background: #E6F2E9; color: var(--wisb-green); font-size: 12px; font-weight: 700; }
.wisb-offer__meta { font-size: 13px; color: var(--wisb-muted); }
.wisb-offer__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.wisb-offer__total { font-size: 12px; color: var(--wisb-muted); white-space: nowrap; }
.wisb-offer.is-best .wisb-offer__total { color: var(--wisb-ink); font-weight: 600; }
.wisb .wisb-btn--ghost { background: #fff; color: var(--wisb-wine); box-shadow: inset 0 0 0 1.5px var(--wisb-wine); }
.wisb .wisb-btn--ghost:hover { background: var(--wisb-wine); color: #fff; }

/* ── Godt at vide-boks ── */
.wisb-callout { display: flex; gap: 16px; padding: 20px 22px; border-radius: 18px; background: var(--wisb-pink); }
.wisb-callout__ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fff; color: var(--wisb-wine); display: flex; align-items: center; justify-content: center; }
.wisb-callout__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wisb-callout__title { font-size: 16px; font-weight: 700; }
.wisb-callout__text { font-size: 15px; line-height: 1.6; color: var(--wisb-body); }

/* ── Skala ── */
.wisb-scale { display: grid; grid-template-columns: repeat(var(--wisb-cols, 4), minmax(0, 1fr)); gap: 6px; padding: 22px; border: 1px solid var(--wisb-line); border-radius: 20px; }
.wisb-scale__col { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wisb-scale__bar { display: block; height: 12px; border-radius: 6px; margin-bottom: 4px; }
.wisb-scale__label { font-size: 13px; font-weight: 700; color: var(--wisb-soft); }
.wisb-scale__chip { align-self: flex-start; max-width: 100%; padding: 4px 10px; border-radius: 999px; background: var(--wisb-beige); font-size: 13px; font-weight: 600; line-height: 1.35; }

/* ── Link-chips ── */
.wisb-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.wisb .wisb-chip {
    display: flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--wisb-pink-line); border-radius: 999px;
    background: var(--wisb-pink-2); font-size: 14px; font-weight: 600; color: var(--wisb-ink); text-decoration: none; transition: border-color .15s ease;
}
.wisb .wisb-chip:hover { border-color: var(--wisb-wine); color: var(--wisb-ink); }

/* ── Smag forskellen (duo) ── */
.wisb-sec--duo { padding: 28px; border: 1.5px solid var(--wisb-wine); border-radius: 24px; }
.wisb-duo__head { display: flex; flex-direction: column; gap: 6px; }
.wisb-duo__intro { font-size: 16px; line-height: 1.6; color: var(--wisb-muted); }
.wisb-duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 14px; }
.wisb-duo__item { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 18px; background: var(--wisb-beige); }
.wisb-duo__title { font-family: var(--wisb-serif); font-weight: 700; font-size: 20px; line-height: 1.25; }
.wisb-duo__sub { font-size: 14px; color: var(--wisb-muted); }
.wisb-duo__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.wisb-duo__price { display: flex; flex-direction: column; }
.wisb-duo__price .wisb-shop { font-size: 12px; }
.wisb-duo__note { font-size: 12px; color: var(--wisb-soft); }

/* ── Henvisning til guide ── */
.wisb .wisb-cta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 16px; border: 1px solid var(--wisb-line); border-radius: 20px;
    color: var(--wisb-ink); text-decoration: none; transition: border-color .15s ease;
}
.wisb .wisb-cta:hover { border-color: var(--wisb-wine); color: var(--wisb-ink); }
.wisb .wisb-cta__img { width: 200px; height: 120px; max-width: none; flex: none; border-radius: 14px; object-fit: cover; }
.wisb-cta__body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wisb-cta__title { font-family: var(--wisb-serif); font-weight: 700; font-size: 22px; line-height: 1.25; }
.wisb-cta__text { font-size: 14px; color: var(--wisb-muted); }

/* ── Billede og tekst ── */
.wisb-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.wisb-split__media img { display: block; width: 100%; border-radius: 18px; }

/* ── FAQ ── */
.wisb-sec--faq { gap: 16px; }
.wisb-faqs { display: flex; flex-direction: column; gap: 10px; }
.wisb-faq { border: 1px solid var(--wisb-line); border-radius: 16px; padding: 0 20px; background: #fff; }
.wisb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 10px 0; font-size: 17px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.wisb-faq summary::-webkit-details-marker { display: none; }
.wisb-faq__chev { color: var(--wisb-wine); transform: rotate(90deg); transition: transform .15s ease; }
.wisb-faq[open] .wisb-faq__chev { transform: rotate(-90deg); }
.wisb .wisb-faq__a { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: var(--wisb-body); }

/* ── Forfatter og forrige/næste ── */
.wisb-author { display: flex; gap: 18px; padding: 24px; border-radius: 20px; background: var(--wisb-beige); scroll-margin-top: calc(var(--wisb-offset) + 24px); }
.wisb-author__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wisb-author__kicker { font-size: 13px; color: var(--wisb-soft); }
.wisb-author__name { font-family: var(--wisb-serif); font-weight: 700; font-size: 20px; }
.wisb-author__bio { font-size: 15px; line-height: 1.6; color: var(--wisb-body); }
.wisb .wisb-author__link { align-self: flex-start; display: flex; align-items: center; min-height: 40px; font-size: 14px; font-weight: 600; }
.wisb-pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-top: -32px; }
.wisb .wisb-pn a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--wisb-line); border-radius: 16px; text-decoration: none; color: var(--wisb-ink); transition: border-color .15s ease; }
.wisb .wisb-pn a:hover { border-color: var(--wisb-wine); }
.wisb-pn span { font-size: 13px; color: var(--wisb-soft); }
.wisb-pn b { font-size: 16px; font-weight: 600; }
.wisb .wisb-pn__next { align-items: flex-end; text-align: right; }

/* ── Sidebar ── */
.wisb-toc { padding: 22px; border: 1px solid var(--wisb-line); border-radius: 20px; background: #fff; }
.wisb .wisb-toc__h { margin: 0 0 12px; font-size: 19px; }
.wisb-toc ol { display: flex; flex-direction: column; font-size: 14px; max-height: max(180px, calc(100vh - var(--wisb-offset) - 320px)); overflow-y: auto; }
.wisb .wisb-toc a, .wisb .wisb-mtoc ol a {
    display: flex; align-items: center; min-height: 36px; padding: 4px 10px; border-radius: 8px; color: var(--wisb-muted);
    text-decoration: none; line-height: 1.35;
}
.wisb .wisb-toc a:hover, .wisb .wisb-mtoc ol a:hover { color: var(--wisb-wine); background: var(--wisb-beige); }
.wisb .wisb-toc a.is-active, .wisb .wisb-mtoc ol a.is-active { background: var(--wisb-pink); color: var(--wisb-wine); font-weight: 600; }
.wisb-sidep { padding: 20px; border-radius: 20px; background: var(--wisb-beige); display: flex; flex-direction: column; gap: 10px; }
.wisb-sidep__media { display: flex; align-items: center; justify-content: center; height: 120px; }
.wisb-sidep__img { max-height: 120px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.wisb-sidep__title { font-family: var(--wisb-serif); font-weight: 700; font-size: 18px; line-height: 1.25; }
.wisb-sidep__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wisb .wisb-scan { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: 20px; background: var(--wisb-wine); color: #fff; text-decoration: none; transition: background-color .15s ease; }
.wisb .wisb-scan:hover { background: var(--wisb-wine-dark); color: #fff; }
.wisb-scan__title { font-family: var(--wisb-serif); font-weight: 700; font-size: 19px; line-height: 1.25; }
.wisb-scan__text { font-size: 14px; line-height: 1.5; color: #F0DADC; }
.wisb-scan__btn { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; border-radius: 10px; background: #fff; color: var(--wisb-wine); font-size: 14px; font-weight: 600; }

/* ── Læs også ── */
.wisb-related { padding-top: 80px; display: flex; flex-direction: column; gap: 22px; }
.wisb-rels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.wisb .wisb-rel {
    height: 100%; display: flex; flex-direction: column; border: 1px solid var(--wisb-line); border-radius: 20px; overflow: hidden;
    text-decoration: none; color: var(--wisb-ink); background: #fff; transition: border-color .15s ease, box-shadow .2s ease, transform .2s ease;
}
.wisb .wisb-rel:hover { border-color: var(--wisb-wine); color: var(--wisb-ink); box-shadow: 0 10px 30px rgba(26, 26, 26, .08); transform: translateY(-2px); }
/* Samme billedhøjde på alle kort, uanset billedets format. */
.wisb-rel__media { display: block; height: 190px; overflow: hidden; background: var(--wisb-beige); flex: none; }
.wisb .wisb-rel__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .4s ease; }
.wisb .wisb-rel:hover .wisb-rel__img { transform: scale(1.04); }
.wisb-rel__prod { height: 100%; display: flex; align-items: center; justify-content: center; padding: 16px; }
.wisb .wisb-rel__prod img { max-height: 158px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.wisb-rel__ph { height: 100%; background: var(--wisb-pink); color: var(--wisb-wine); display: flex; align-items: center; justify-content: center; }
.wisb-rel__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.wisb-rel__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--wisb-soft); }
.wisb-rel__cat { padding: 2px 10px; border-radius: 999px; background: var(--wisb-pink); color: var(--wisb-wine); font-size: 12px; font-weight: 700; }
.wisb-rel__title { font-family: var(--wisb-serif); font-weight: 700; font-size: 20px; line-height: 1.25; }
.wisb-rel__excerpt { font-size: 14px; line-height: 1.55; color: var(--wisb-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wisb-rel__more {
    margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px;
    border-radius: 10px; background: var(--wisb-wine); color: #fff; font-size: 14px; font-weight: 600; transition: background-color .15s ease;
}
.wisb-rel__more .wisb-ico { transition: transform .2s ease; }
.wisb .wisb-rel:hover .wisb-rel__more { background: var(--wisb-wine-dark); }
.wisb .wisb-rel:hover .wisb-rel__more .wisb-ico { transform: translateX(3px); }
/* ── Tablet: sidebar under artiklen, Indhold som sticky bjælke ── */
@media (max-width: 1023px) {
    .wisb-layout { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
    .wisb-article { max-width: none; }
    .wisb-aside { position: static; margin-top: 48px; max-width: 760px; }
    .wisb-aside .wisb-toc { display: none; }
    .wisb-sec, .wisb-author { scroll-margin-top: calc(var(--wisb-offset) + 80px); }
    .wisb-mtoc {
        display: block; position: sticky; top: calc(var(--wisb-offset) + 8px); z-index: 30; margin: 0 0 28px;
        background: #fff; border: 1px solid var(--wisb-line); border-radius: 14px; box-shadow: 0 6px 20px rgba(26, 26, 26, .06);
    }
    .wisb-mtoc summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
    .wisb-mtoc summary::-webkit-details-marker { display: none; }
    .wisb-mtoc__current { flex: 1; min-width: 0; color: var(--wisb-muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .wisb-mtoc__chev { color: var(--wisb-wine); transform: rotate(90deg); transition: transform .15s ease; margin-left: auto; }
    .wisb-mtoc[open] .wisb-mtoc__chev { transform: rotate(-90deg); }
    .wisb-mtoc ol { max-height: 60vh; overflow-y: auto; padding: 8px; border-top: 1px solid var(--wisb-line-soft); font-size: 15px; }
}

/* ── Mobil ── */
@media (max-width: 782px) {
    .admin-bar .wisb-progress { top: 46px; }
}
@media (max-width: 700px) {
    .wisb { padding-bottom: 56px; }
    .wisb-wrap { padding-left: 20px; padding-right: 20px; }
    .wisb-hero { padding-top: 16px; }
    .wisb-hero__grid { margin-top: 14px; gap: 24px; }
    .wisb-hero__text { gap: 14px; }
    .wisb-hero__lead { font-size: 18px; }
    .wisb-byline { gap: 10px 18px; font-size: 13px; }
    .wisb-hero__img { margin-top: 24px; border-radius: 18px; }
    .wisb-hero__img img, .wisb-hero--side .wisb-hero__img img { aspect-ratio: 4 / 3; }
    .wisb-article { gap: 44px; }
    .wisb-sec--attach { margin-top: -26px; }
    .wisb-pn { margin-top: -24px; }
    .wisb .wisb-h2 { font-size: 27px; }
    .wisb .wisb-h2--sm { font-size: 22px; }
    .wisb .wisb-h2--md { font-size: 25px; }
    .wisb .wisb-h2--lg { font-size: 30px; }
    .wisb .wisb-h3 { font-size: 21px; }
    .wisb-prose { font-size: 17px; line-height: 1.7; }
    .wisb-prose h2 { font-size: 25px; }
    .wisb-prose h3 { font-size: 20px; }
    .wisb-sec--summary { padding: 22px 20px; }
    .wisb-card { border-radius: 20px; }
    .wisb-card__top { padding: 18px; gap: 16px; }
    .wisb-card__media { flex: 1 1 100%; height: 190px; }
    .wisb .wisb-card__title { font-size: 23px; }
    .wisb-pc { padding: 0 18px 18px; }
    .wisb-card__verdict, .wisb-card__comment { margin-left: 18px; margin-right: 18px; }
    .wisb-card__bar { padding: 18px; gap: 12px 18px; }
    .wisb-card__bar .wisb-btn { width: 100%; }
    .wisb-cmpbox { padding: 16px 14px 18px; }
    .wisb-offer { grid-template-columns: minmax(0, 1fr) auto; padding: 12px 14px; gap: 10px 12px; }
    .wisb-offer__shop { grid-column: 1 / -1; }
    .wisb-offer__price { align-items: flex-start; text-align: left; }
    .wisb-offer .wisb-btn { justify-self: end; }
    .wisb-sec--duo { padding: 20px; }
    .wisb-scale { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; padding: 18px; }
    .wisb-split { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .wisb .wisb-cta__img { width: 100%; height: 170px; }
    .wisb-rel__media { height: 180px; }
    .wisb .wisb-cta .wisb-btn { width: 100%; }
    .wisb-author { padding: 20px; gap: 14px; }
    .wisb-avatar--lg { width: 48px; height: 48px; font-size: 20px; }
    .wisb-related { padding-top: 56px; }
    .wisb-faq { padding: 0 16px; }
    .wisb-faq summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .wisb *, .wisb *::before, .wisb *::after { transition: none !important; }
}
