/* ============================================================
   Advantis — the look chosen by the client (design proposal 1):
   the polygon grounds of the old site, cut on the slant with the
   theme's edge styles (ADV-T006), and headings in capitals.
   Site-only; anything generic lives in the theme's extend.css.
   ============================================================ */

/* The four grounds. Each is the old site's picture with its baked-in edge
   cropped away, laid over the colour it is closest to while it loads. */
.wp-block-boza-section.adv-poly-blue,.wp-block-boza-section.adv-poly-pink,
.wp-block-boza-section.adv-poly-grey,.wp-block-boza-section.adv-poly-foot{background-size:cover;background-repeat:no-repeat}
.wp-block-boza-section.adv-poly-blue{background-color:#1a2680;background-image:url(../img/poly-blue.webp);background-position:50% 0}
.wp-block-boza-section.adv-poly-pink{background-color:#8a0054;background-image:url(../img/poly-pink.webp);background-position:50% 30%}
.wp-block-boza-section.adv-poly-grey{background-color:#f1f1f3;background-image:url(../img/poly-grey.webp);background-position:50% 100%}
.wp-block-boza-section.adv-poly-foot{background-color:#161f6e;background-image:url(../img/poly-foot.webp);background-position:50% 100%}
.adv-poly-blue,.adv-poly-pink,.adv-poly-foot{--on-ink-dim:#dfe3fb;--on-ink-mute:#e8ebff}
.adv-poly-pink{--amber-soft:#ffd0ec}
.adv-poly-pink .kicker,.adv-poly-pink .is-style-boza-kicker{color:#ffd0ec}

/* Section titles and openings in capitals, as on the old site. A heading inside
   a section keeps its own case: those are long and read better as written. */
.sec-head h2,.hero-ed :is(h1,h2),.hero-page h1,.hero-cover h1,.adv-caps{text-transform:uppercase;letter-spacing:.01em}
.hero-ed :is(h1,h2){max-width:22ch}
.adv-center .sec-head{display:block;text-align:center}
.adv-center .sec-head h2{max-width:none;margin-inline:auto}
.adv-center .sec-head .sub{margin:14px auto 0;max-width:62ch;text-align:center}
.adv-center .sec-head .act{margin-top:22px}

/* Cards with no card: icons and words centred straight on the ground. */
.wp-block-boza-tiles.adv-bare>.card{background:transparent;border-color:transparent;box-shadow:none;text-align:center;align-items:center}
.wp-block-boza-tiles.adv-bare>.card:hover{transform:none;box-shadow:none}

/* A small mark from the old site (the constellations, the sector pictograms). */
.wp-block-boza-gallery.adv-mark{display:flex;justify-content:center}
.wp-block-boza-gallery.adv-mark :is(figure,.g-tile,.img-figure){background:none;border:0;box-shadow:none;border-radius:0;aspect-ratio:auto;width:auto;margin-inline:auto}
.wp-block-boza-gallery.adv-mark img{height:64px;width:auto;object-fit:contain;margin-inline:auto}
.wp-block-boza-gallery.adv-mark-l img{height:120px}
.on-ink .wp-block-boza-gallery.adv-mark img{filter:none}

/* Links that lead on (2026-10-22): every "se mere / gå videre" link on the site is one thing,
   the old site's arrow in a ring, with the words in the indigo (AA on white and the tints; the
   logo's cyan is 2.5:1 there). Buttons are kept for a page's main actions only. A row of them
   that closes a section (adv-more) stands centred under it. */
.wp-block-boza-buttons .link-more{display:inline-flex;align-items:center;gap:14px;color:var(--accent,#2b2e83);font-family:var(--serif);font-weight:600;font-size:1.1rem;text-decoration:none}
.wp-block-boza-buttons .link-more .txt:before,.wp-block-boza-buttons .link-more .txt:after{display:none}
.wp-block-boza-buttons .link-more svg{box-sizing:content-box;width:16px;height:16px;padding:10px;border:1.5px solid currentColor;border-radius:50%;transition:background var(--t-fast),color var(--t-fast),transform var(--t-fast)}
.wp-block-boza-buttons .link-more:hover svg,.wp-block-boza-buttons .link-more:focus-visible svg{background:var(--accent,#2b2e83);border-color:var(--accent,#2b2e83);color:#fff}
.on-ink .wp-block-boza-buttons .link-more,.sec-ink .wp-block-boza-buttons .link-more{color:#fff}
.on-ink .wp-block-boza-buttons .link-more:hover svg,.sec-ink .wp-block-boza-buttons .link-more:hover svg{background:#fff;border-color:#fff;color:var(--ink)}
.wp-block-boza-buttons.adv-more{justify-content:center;margin-top:clamp(32px,4vw,56px)}

/* A case's opening: its title is a sentence, so it keeps its case and a size that fits two or three lines. */
.hero-page.adv-case h1{text-transform:none;letter-spacing:0;font-size:calc(clamp(2rem,3.4vw,2.9rem)*var(--scale-head));max-width:24ch}
/* Client logos are drawn whole on white, never cropped. */
.wp-block-boza-gallery.adv-logos img{object-fit:contain;background:#fff;padding:8%}

/* The page header, proposal 1 (2026-10-22): the blue ground mirrored so its constellation sits
   on the right, clear of the words; lower than the home page's opening. */
.wp-block-boza-section.adv-poly-blue-r{background-color:#1a2680;background-image:url(../img/poly-blue-r.webp);background-size:cover;background-repeat:no-repeat;background-position:50% 0}
.hero-page.adv-poly-blue-r :is(h1,h2){margin-top:10px}
/* A case's header carries a facts rail on the right, where the constellation sits: show the
   lower left of the ground instead, which has none. */
@media (min-width:1001px){.hero-page.adv-case.adv-poly-blue-r{background-size:160% auto;background-position:0 100%}}

/* Header animation, demo 2 (chosen 2026-10-22). The ground is shown from its lower left, where
   the old picture has no constellation of its own; the constellation is drawn instead, line by
   line as the page opens, and its nodes then pulse cyan. Still for anybody who asked for less
   motion, and left out on a phone. */
.wp-block-boza-section.adv-poly-blue-r{position:relative;background-size:max(160%,1700px) auto;background-position:0 100%}
.adv-star{position:absolute;z-index:2;right:max(4vw,calc((100vw - var(--container,1180px))/2 - 40px));top:46%;width:clamp(150px,15vw,210px);transform:translateY(-38%);overflow:visible;pointer-events:none}
.adv-star line{stroke:#fff;stroke-width:1.3;stroke-dasharray:120;stroke-dashoffset:120;animation:adv-draw .9s cubic-bezier(.22,1,.36,1) forwards}
.adv-star .l1{animation-delay:.5s}.adv-star .l2{animation-delay:1.1s}.adv-star .l3{animation-delay:1.5s}
.adv-star rect{fill:#fff;opacity:0;transform-box:fill-box;transform-origin:center;animation:adv-pop .45s cubic-bezier(.34,1.56,.64,1) forwards,adv-pulse 3.2s ease-in-out infinite}
.adv-star .n1{animation-delay:.3s,2.4s}.adv-star .n2{animation-delay:1s,2.8s}.adv-star .n3{animation-delay:1.8s,3.2s}.adv-star .n4{animation-delay:2s,3.6s}
@keyframes adv-draw{to{stroke-dashoffset:0}}
@keyframes adv-pop{from{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}
@keyframes adv-pulse{0%,100%{fill:#fff;filter:none}50%{fill:#8fdcff;filter:drop-shadow(0 0 6px #02b3ff)}}
@media (prefers-reduced-motion:reduce){.adv-star line{animation:none;stroke-dashoffset:0}.adv-star rect{animation:none;opacity:1}}
:root.m-off .adv-star line{animation:none;stroke-dashoffset:0}:root.m-off .adv-star rect{animation:none;opacity:1}
@media (max-width:860px){.adv-star{display:none}}

/* Case grid, proposal 1 (2026-10-22): photo cards. The picture is the card; the sector sits as a
   chip at the top, the client and the title at the foot over a toning from the ink, and the
   case's first line with "Læs casen" rises on hover (always shown on a touch screen). */
.adv-photo-cards a.post{position:relative;aspect-ratio:4/5;border-radius:10px;overflow:hidden;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;isolation:isolate;border:0;background:#1a2680;box-shadow:none;padding:0}
.adv-photo-cards a.post .ph{position:absolute;inset:0;z-index:-1;margin:0;aspect-ratio:auto;height:100%;border-radius:0;background:#1a2680}
.adv-photo-cards a.post .ph img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease-out)}
.adv-photo-cards a.post .ph:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(12,15,58,0) 30%,rgba(12,15,58,.55) 55%,rgba(12,15,58,.94));transition:background .5s}
.adv-photo-cards a.post:hover .ph img{transform:scale(1.06)}
.adv-photo-cards a.post:hover .ph:after{background:linear-gradient(180deg,rgba(43,46,131,.25) 0%,rgba(12,15,58,.7) 45%,rgba(12,15,58,.97))}
.adv-photo-cards a.post .bd{position:static;flex:none;height:auto;padding:26px;background:none;display:flex;flex-direction:column;justify-content:flex-end;gap:0}
.adv-photo-cards a.post .meta{position:absolute;top:22px;left:22px;margin:0}
.adv-photo-cards a.post .meta .cat{font:600 .72rem var(--serif);letter-spacing:.14em;text-transform:uppercase;color:#fff;background:rgba(12,15,58,.55);backdrop-filter:blur(6px);border:1px solid rgba(255,255,255,.25);padding:5px 10px;border-radius:4px}
.adv-photo-cards a.post .client{font:600 .8rem var(--serif);letter-spacing:.16em;text-transform:uppercase;color:#8fdcff}
.adv-photo-cards a.post h3{font-family:var(--serif);font-size:1.45rem;line-height:1.15;color:#fff;margin:6px 0 0}
.adv-photo-cards a.post .peek{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .5s var(--ease-out),opacity .4s}
.adv-photo-cards a.post .peek>span{overflow:hidden;display:block}
.adv-photo-cards a.post .lede{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:#d9ddf6;font-size:.93rem;line-height:1.5;margin-top:12px}
.adv-photo-cards a.post .go{display:inline-flex;gap:8px;align-items:center;margin-top:12px;font-weight:600;color:#fff}
.adv-photo-cards a.post .go svg{width:18px;height:18px}
.adv-photo-cards a.post:is(:hover,:focus-visible) .peek{grid-template-rows:1fr;opacity:1}
@media (hover:none),(max-width:640px){.adv-photo-cards a.post .peek{grid-template-rows:1fr;opacity:1}}
/* the filter hides a card with .hide; the photo card's display must not overrule it */
.adv-photo-cards a.post.hide{display:none}

/* A case's client logo in the story's rail, under "Opgaven": small, whole, on white. */
.wp-block-boza-gallery.adv-logos-rail{max-width:170px;margin:0 0 22px}
.wp-block-boza-gallery.adv-logos-rail img{padding:10%;border:1px solid var(--line);border-radius:var(--r-inner,8px)}
/* A case's close: the people to call stand in a white card beside the question. */
.adv-case-close .wp-block-boza-people{background:#fff;border-radius:var(--r-card,12px);padding:clamp(18px,2vw,28px);box-shadow:var(--shadow)}

/* A case, one layout (2026-10-22): one reading column, and beside it one card that stays in view. */
.adv-case-main>h2{margin-top:clamp(28px,3vw,44px)}
.adv-case-main>.wp-block-boza-gallery:first-child+h2{margin-top:clamp(24px,2.4vw,34px)}
.adv-case-main>.is-style-boza-kicker{margin-top:clamp(28px,3vw,44px)}
.adv-case-main .wp-block-boza-quote{margin-block:clamp(24px,3vw,40px)}
/* The card beside the story: sidekort proposal 1 (2026-10-22), on the light grey polygon (changed
   the same day from the navy): the client's logo on a white plate across the top, the facts as
   chips, the way on, and Kim with a ring and a mail button. */
.adv-side-card.adv-side-card{--pad:clamp(22px,2vw,28px);padding:0 var(--pad) var(--pad);gap:0;border:1px solid #e3e5ee;border-radius:12px;overflow:hidden;background:#f1f1f3 url(../img/poly-grey.webp) 50% 100%/cover no-repeat;box-shadow:0 30px 60px -40px rgba(12,15,58,.45);color:var(--ink)}
.adv-side-card .adv-logos-side{margin:0 calc(var(--pad)*-1) 22px;padding:18px var(--pad);background:#fff;border-bottom:1px solid #e3e5ee;max-width:none;display:flex;justify-content:flex-start}
.adv-side-card .adv-logos-side :is(figure,.g-tile,.img-figure){margin:0;width:auto;aspect-ratio:auto;background:none;border:0;box-shadow:none}
.adv-side-card .adv-logos-side :is(.g-grid,.grid-2,.gal-grid){display:flex;gap:18px;align-items:center}
.adv-side-card .adv-logos-side img{height:38px;width:auto;max-width:150px;padding:0;background:none;border:0;object-fit:contain;object-position:left center}
.adv-side-card:not(:has(.adv-logos-side)){padding-top:var(--pad)}
.adv-side-card p.adv-dt{font:600 .7rem var(--serif);letter-spacing:.16em;text-transform:uppercase;color:var(--accent,#2b2e83);margin:14px 0 6px}
.adv-side-card p.adv-dt:first-of-type{margin-top:0}
.adv-side-card p.adv-dd{color:var(--ink);font-weight:500;margin:0}
.adv-side-card p.adv-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.adv-side-card p.adv-chips span{font-size:.8rem;font-weight:500;color:var(--ink);padding:3px 10px;border-radius:99px;background:rgba(255,255,255,.8);border:1px solid #d9dcea;white-space:nowrap}
.adv-side-card h3.adv-side-q{color:var(--ink);font-size:1.25rem;line-height:1.2;margin:22px 0 14px;padding-top:20px;border-top:1px solid #dcdfea}
.adv-side-card .adv-side-btns{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.adv-side-card .adv-side-btns .btn{width:100%;justify-content:center;padding-inline:10px;height:40px;min-height:0;font-size:.86rem;gap:6px}
.adv-side-card .adv-side-btns .btn svg{width:14px;height:14px}
.adv-side-card .adv-side-btns .btn-line{background:rgba(255,255,255,.75)}
.adv-side-card p.adv-who{display:flex;align-items:center;gap:12px;margin:22px 0 0;padding-top:20px;border-top:1px solid #dcdfea;color:var(--ink)}
.adv-side-card p.adv-who img{width:52px;height:52px;border-radius:50%;object-fit:cover;filter:grayscale(1);flex:none}
.adv-side-card p.adv-who>span{display:flex;flex-direction:column;line-height:1.25;margin-right:auto}
.adv-side-card p.adv-who b{font:600 1.05rem var(--serif)}.adv-side-card p.adv-who small{color:var(--ink-faint);font-size:.85rem}
.adv-side-card p.adv-who a{width:40px;height:40px;border-radius:50%;border:1px solid #c9cde0;background:#fff;display:grid;place-items:center;color:var(--ink);transition:background var(--t-fast),border-color var(--t-fast),color var(--t-fast)}
.adv-side-card p.adv-who a:hover,.adv-side-card p.adv-who a:focus-visible{background:var(--accent,#2b2e83);border-color:transparent;color:#fff}
.adv-side-card p.adv-who a::after{display:none}
.adv-side-card p.adv-who svg{width:17px;height:17px}
.adv-side-card p.adv-who b{white-space:nowrap}
/* both ways on white on the grey card (2026-10-22), framed in the card's hairline; the first keeps its arrow */
.adv-side-card .adv-side-btns .btn{background:#fff;border:1px solid #c9cde0;color:var(--ink)}
.adv-side-card .adv-side-btns .btn:hover{background:var(--accent,#2b2e83);border-color:var(--accent,#2b2e83);color:#fff}

/* Service poster cards: their titles at the size of the case cards' titles (2026-10-22). */
.wp-block-boza-tiles.is-style-boza-poster>.card.c-pic :is(h2,h3){font-size:1.45rem;line-height:1.15}
.wp-block-boza-tiles.is-style-boza-poster>a.card.c-pic :is(h2,h3):after{width:18px;height:18px}

/* Ledelse (2026-10-22): each person a card on the magenta, the portrait cropped upright on the
   left, name and title beside it, and the phone and the address as two pills with their icons. */
.adv-leaders.t-open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,2vw,28px);max-width:1040px;margin-inline:auto}
.adv-leaders .to{display:grid;grid-template-columns:minmax(150px,42%) 1fr;grid-template-rows:1fr auto auto 1fr;column-gap:clamp(18px,2vw,28px);padding:0;margin:0;text-align:left;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.2);border-radius:12px;overflow:hidden;backdrop-filter:blur(4px)}
.adv-leaders .to .ph{grid-row:1/-1;grid-column:1;margin:0;height:100%;min-height:260px;aspect-ratio:auto;border-radius:0}
.adv-leaders .to .ph img{width:100%;height:100%;object-fit:cover;object-position:45% 30%;border-radius:0}
.adv-leaders .to h4{grid-column:2;grid-row:2;align-self:end;margin:0;padding-right:20px;font-size:1.45rem;line-height:1.15;color:#fff}
.adv-leaders .to .role{grid-column:2;grid-row:3;font:600 .74rem var(--serif);letter-spacing:.16em;text-transform:uppercase;color:#ffd0ec;margin:6px 0 0}
.adv-leaders .to .reach{grid-column:2;grid-row:4;align-self:start;display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:18px 0 24px;padding-right:20px}
.adv-leaders .to .reach a{display:inline-flex;align-items:center;gap:10px;padding:7px 14px;border-radius:99px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff;font-weight:500;font-size:.9rem;line-height:1.2;text-decoration:none;transition:background var(--t-fast),color var(--t-fast)}
.adv-leaders .to .reach a:hover,.adv-leaders .to .reach a:focus-visible{background:#fff;color:#8a0054}
.adv-leaders .to .reach a>svg{display:none}
.adv-leaders .to .reach a .txt:before,.adv-leaders .to .reach a .txt:after{display:none}
.adv-leaders .to .reach a:before{content:"";flex:none;width:15px;height:15px;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.adv-leaders .to .reach a.mail{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E")}
.adv-leaders .to .reach a.tel{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E")}
@media (max-width:860px){.adv-leaders.t-open{grid-template-columns:1fr}}
@media (max-width:480px){.adv-leaders .to{grid-template-columns:1fr;grid-template-rows:auto}.adv-leaders .to .ph{grid-row:auto;grid-column:1;aspect-ratio:3/2;min-height:0}.adv-leaders .to :is(h4,.role,.reach){grid-column:1;grid-row:auto;padding:0 20px}.adv-leaders .to h4{margin-top:18px}}
.wp-block-boza-buttons:has(.link-more){column-gap:clamp(24px,3vw,40px);row-gap:14px}

/* The Ydelser panel, menu proposal B (2026-10-22): three columns — the services, CAD automation
   with Link-It's products, a picture card — and "Se alle ydelser" at the foot as the ringed link. */
.mm.w-full:has(.mr) .mm-two{display:grid;grid-template-columns:2.05fr .95fr;gap:0}
.mm.w-full:has(.mr) .mm-pad{display:grid;grid-template-columns:1.05fr 1fr;gap:0;padding:0}
.mm.w-full:has(.mr) .mm-pad>*{padding:28px 28px 24px;margin:0}
.mm.w-full:has(.mr) .mm-pad>*+*{border-left:1px solid var(--line)}
.mm.w-full:has(.mr) .mr:before,.mm.w-full:has(.mr) .ttl{display:block;font:600 .72rem var(--serif);letter-spacing:.16em;text-transform:uppercase;color:var(--accent,#2b2e83);margin:0 0 14px 10px}
.mm.w-full:has(.mr) .mr:before{content:"Ydelser"}
.mm.w-full:has(.mr) .mr{display:flex;flex-direction:column;gap:2px}
.mm.w-full:has(.mr) .mr a{padding:9px 10px;align-items:center}
.mm.w-full:has(.mr) .mr a b{font:600 1.1rem var(--serif)}
.mm.w-full:has(.mr) .ml{gap:2px}
.mm.w-full:has(.mr) .ml>li>a{font-weight:600;padding:9px 12px;border-radius:8px}
.mm.w-full:has(.mr) .ml ul{margin:2px 0 6px 12px;padding-left:12px;border-left:2px solid var(--line)}
.mm.w-full:has(.mr) .ml ul a{font-size:.92rem;color:var(--ink-soft);padding:5px 10px}
.mm.w-full:has(.mr) .ml ul .dot{display:none}
.mm.w-full:has(.mr) .side{border-left:1px solid var(--line);margin:0;padding:20px}
.mm.w-full:has(.mr) .mm-foot{justify-content:flex-end;background:var(--tint);border-top:1px solid var(--line);padding:14px 28px}
.mm.w-full:has(.mr) .mm-foot .say{display:none}
.mm.w-full:has(.mr) .mm-foot .btn{background:none;border:0;height:auto;padding:0;color:var(--accent,#2b2e83);font:600 1rem var(--serif);gap:12px;box-shadow:none}
.mm.w-full:has(.mr) .mm-foot .btn:after{content:"";width:34px;height:34px;border:1.5px solid currentColor;border-radius:50%;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2e83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/15px no-repeat;transition:background-color var(--t-fast)}
.mm.w-full:has(.mr) .mm-foot .btn:hover:after{background:var(--accent,#2b2e83) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/15px no-repeat}
.mm.w-full:has(.mr) .side .link-more{display:inline-flex;align-items:center;gap:12px;color:var(--accent,#2b2e83);font-family:var(--serif);font-weight:600}
.mm.w-full:has(.mr) .side .link-more .txt:before,.mm.w-full:has(.mr) .side .link-more .txt:after{display:none}
.mm.w-full:has(.mr) .side .link-more svg{box-sizing:content-box;width:14px;height:14px;padding:8px;border:1.5px solid currentColor;border-radius:50%}
.mm.w-full:has(.mr) .side .link-more:hover svg{background:var(--accent,#2b2e83);color:#fff;border-color:var(--accent,#2b2e83)}

/* Closing section (2026-10-22): question and button left, a named contact card right, on the grey polygon */
.adv-close .is-style-boza-lead{max-width:46ch}
.adv-close p.adv-person{display:grid;grid-template-columns:96px 1fr;grid-template-areas:'img who' 'tel tel' 'mail mail';column-gap:20px;row-gap:10px;align-items:center;margin:0;max-width:440px;margin-inline-start:auto;padding:28px;background:#fff;border:1px solid #dcdfea;border-radius:var(--r-m,14px);box-shadow:0 18px 40px -24px rgba(12,15,58,.35)}
.adv-close p.adv-person img{grid-area:img;width:96px;height:96px;border-radius:50%;object-fit:cover;filter:grayscale(1)}
.adv-close p.adv-person .who{grid-area:who;display:flex;flex-direction:column;line-height:1.2;margin-bottom:8px}
.adv-close p.adv-person .who b{font:600 1.35rem var(--serif);color:var(--ink)}
.adv-close p.adv-person .who small{color:var(--ink-faint);font-size:.9rem;margin-top:2px}
.adv-close p.adv-person a{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #dcdfea;border-radius:999px;color:var(--ink);text-decoration:none;font-weight:600;transition:background var(--t-fast),border-color var(--t-fast),color var(--t-fast)}
.adv-close p.adv-person a.tel{grid-area:tel;margin-top:8px}.adv-close p.adv-person a.mail{grid-area:mail}
.adv-close p.adv-person a::after{display:none}
.adv-close p.adv-person a svg{width:18px;height:18px;flex:none;color:var(--accent,#2b2e83);transition:color var(--t-fast)}
.adv-close p.adv-person a:hover,.adv-close p.adv-person a:focus-visible{background:var(--accent,#2b2e83);border-color:transparent;color:#fff}
.adv-close p.adv-person a:hover svg,.adv-close p.adv-person a:focus-visible svg{color:#fff}
@media (max-width:781px){.adv-close p.adv-person{margin-inline-start:0;max-width:none}}

/* Automatisering and Link-It™ pages (2026-10-22) */
.adv-center .is-style-boza-lead{text-align:center;max-width:62ch;margin-inline:auto}
/* The proof card: two of Advantis' own figures, large */
.adv-proof{padding:clamp(24px,3vw,36px)!important}
.adv-proof p{margin:0}
.adv-proof .adv-proof-n{font:600 clamp(2.2rem,3.6vw,3rem)/1.05 var(--serif);color:var(--accent,#2b2e83);letter-spacing:-.01em}
.adv-proof .adv-proof-l{margin-top:6px;color:var(--ink-soft,#3c3f63)}
.adv-proof .adv-proof-l+.adv-proof-n{margin-top:26px;padding-top:24px;border-top:1px solid #d6daea}
/* Supported CAD systems: a row of logos on white plates */
.wp-block-boza-gallery.adv-cad{max-width:520px;margin:6px 0 0}
.wp-block-boza-gallery.adv-cad img{padding:14%;border:1px solid var(--line,#e3e5ee);border-radius:var(--r-inner,8px)}
p.adv-dt{font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-faint);font-weight:600;margin:22px 0 0}
/* Product shots are cut-outs: no plate behind them */
.adv-side-plain .side :is(figure,img,.side-media){background:none!important;box-shadow:none!important}
.adv-narrow .wrap>.body,.adv-narrow .sec-body{max-width:72ch}

/* Link-It™ products as an index (2026-10-22): one linked row each, no boxes */
.adv-products{display:block!important;max-width:1060px;margin-inline:auto;border-top:1px solid var(--line-strong,#c9cde0)}
.adv-products .wp-block-boza-tile{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr) 44px;grid-template-rows:auto auto;column-gap:clamp(16px,2.4vw,36px);align-items:center;padding:clamp(20px,2.4vw,30px) clamp(8px,1.4vw,20px)!important;margin:0!important;border:0!important;border-bottom:1px solid var(--line-strong,#c9cde0)!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:var(--ink);text-decoration:none;text-align:left;position:relative;transition:background-color var(--t-fast)}
.adv-products .wp-block-boza-tile>*{margin:0!important}
.adv-products .adv-prod-k{grid-column:1;align-self:end;font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint);font-weight:600}
.adv-products h3{grid-column:1;align-self:start;font-size:clamp(1.3rem,1.8vw,1.55rem)}
.adv-products .adv-prod-t{grid-column:2;grid-row:1/span 2;color:var(--ink-soft,#4a4d70);line-height:1.6}
.adv-products .wp-block-boza-tile::after{content:'';grid-column:3;grid-row:1/span 2;width:42px;height:42px;border:1.5px solid var(--accent,#2b2e83);border-radius:50%;background:no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2e83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");transition:background-color var(--t-fast),transform var(--t-fast)}
.adv-products .wp-block-boza-tile:hover,.adv-products .wp-block-boza-tile:focus-visible{background:var(--tint,#eef1f9)!important}
.adv-products .wp-block-boza-tile:hover::after,.adv-products .wp-block-boza-tile:focus-visible::after{transform:translateX(4px);background-color:var(--accent,#2b2e83);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")}
.sec-tint .adv-products .wp-block-boza-tile:hover{background:#fff!important}
@media (max-width:781px){
	.adv-products .wp-block-boza-tile{grid-template-columns:1fr 40px;row-gap:4px}
	.adv-products .adv-prod-t{grid-column:1;grid-row:3;font-size:.95rem}
	.adv-products .wp-block-boza-tile::after{grid-column:2;grid-row:1/span 3;width:36px;height:36px}
}

/* Closing button: ink rather than indigo, so the person card stays the accent (2026-10-22) */
.adv-close .wp-block-boza-button.btn-green{background:var(--ink,#0c0f3a);border-color:var(--ink,#0c0f3a);color:#fff}
.adv-close .wp-block-boza-button.btn-green:hover,.adv-close .wp-block-boza-button.btn-green:focus-visible{background:var(--accent,#2b2e83);border-color:var(--accent,#2b2e83)}

/* Customer quotes on the home page: heading and arrows left, one quote at a time right (2026-10-22) */
.adv-quotes .wp-block-boza-columns{align-items:start}
.adv-quotes h2{position:relative;padding-top:clamp(70px,8vw,110px)}
.adv-quotes h2::before{content:'\201C';position:absolute;top:-.12em;left:-.04em;font:700 clamp(150px,16vw,230px)/1 var(--serif);color:var(--flourish,#02b3ff);opacity:.9}
.adv-quote-slides .wp-block-boza-tile{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.adv-quote-slides blockquote{font:500 clamp(1.3rem,2vw,1.75rem)/1.45 var(--serif);color:var(--ink);margin:0;quotes:none}
.adv-quote-slides .wp-block-boza-quote{margin:0;padding:0;border:0}
.adv-quote-slides .wp-block-boza-quote::before,.adv-quote-slides .wp-block-boza-quote>div::before{display:none}
.adv-quote-slides .attr{display:flex;flex-direction:column;gap:2px;margin-top:26px;padding-left:22px;border-left:3px solid var(--flourish,#02b3ff)}
.adv-quote-slides .attr b{font:600 1.05rem var(--serif);color:var(--ink)}
.adv-quote-slides .attr span{color:var(--ink-faint);font-size:.92rem}
.adv-quote-slides .sl-nav{justify-content:flex-start;margin-top:30px;gap:12px}
.adv-quote-slides .sl-nav .icon-chip{width:48px;height:48px;border-radius:50%;border:1.5px solid var(--accent,#2b2e83);color:var(--accent,#2b2e83);background:#fff}
.adv-quote-slides .sl-nav .icon-chip:not([disabled]):hover{background:var(--accent,#2b2e83);color:#fff}
.adv-quote-slides .sl-nav .icon-chip[disabled]{opacity:.35}

/* Om os values: open, two by two, a rule above each (2026-10-22) */
.adv-values{gap:clamp(36px,4vw,64px) clamp(32px,5vw,80px)!important}
.adv-values .wp-block-boza-tile{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:28px 0 0!important;border-top:2px solid var(--ink,#0c0f3a)!important;position:relative}
.adv-values .wp-block-boza-tile::before{content:'';display:block;width:48px;height:4px;background:var(--flourish,#02b3ff);margin:-30px 0 26px}
.adv-values h3{font-size:clamp(1.35rem,2vw,1.65rem);margin-bottom:12px}

/* Competence honeycomb (2026-10-22): tabs as hexagons, the chosen competence in a panel */
.hx-wrap{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center;text-align:left;margin-top:clamp(12px,2vw,24px)}
.hx-comb{position:relative;width:100%;aspect-ratio:3.25/3.03}
.hx{--w:calc(100% / 3.25);position:absolute;left:calc(var(--c) * 75% / 3.25);top:calc((var(--r) + var(--o) * .5) * 100% / 3.5);width:var(--w);height:calc(100% / 3.5);padding:0;border:0;background:none;cursor:pointer;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.hx::before{content:'';position:absolute;inset:3%;clip-path:inherit;background:var(--accent,#2b2e83);transition:background-color .2s}
.hx.hx-alt::before{background:var(--flourish-ink,#0070ad)}
.hx span{position:relative;display:grid;place-items:center;height:100%;padding:0 18%;color:#fff;font:600 clamp(.7rem,1.05vw,.98rem)/1.15 var(--serif);text-align:center;hyphens:auto;-webkit-hyphens:auto}
.hx:hover{transform:scale(1.05);z-index:2}
.hx:hover::before{background:#3a3ea6}
.hx.hx-alt:hover::before{background:#0089d1}
.hx[aria-selected="true"]{z-index:3;transform:scale(1.08)}
.hx[aria-selected="true"]::before{background:var(--flourish,#02b3ff)}
.hx[aria-selected="true"] span{color:var(--ink,#0c0f3a)}
.hx:focus-visible{outline:none}
.hx:focus-visible::before{box-shadow:inset 0 0 0 4px #fff}
.hx-stage{position:relative;background:#fff;border-radius:var(--r-m,14px);padding:clamp(28px,3.4vw,44px);box-shadow:0 30px 60px -36px rgba(12,15,58,.45);min-height:330px;display:flex;flex-direction:column}
.hx-stage>.wp-block-boza-tile{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;flex:1}
.hx-stage>.wp-block-boza-tile:not([hidden]){animation:hx-in .35s ease both}
.hx-stage h3{font-size:clamp(1.6rem,2.4vw,2.1rem);margin:20px 0 12px}
.hx-stage p{font-size:1.06rem;line-height:1.65;color:var(--ink-soft,#4a4d70)}
.hx-foot{display:flex;align-items:center;gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid var(--line,#e3e5ee)}
.hx-count{margin-right:auto;font:600 .95rem var(--serif);letter-spacing:.1em;color:var(--ink-faint)}
.hx-step{width:42px;height:42px;border-radius:50%;border:1.5px solid var(--accent,#2b2e83);background:#fff;color:var(--accent,#2b2e83);display:grid;place-items:center;cursor:pointer;transition:background-color var(--t-fast),color var(--t-fast)}
.hx-step svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.hx-step:hover,.hx-step:focus-visible{background:var(--accent,#2b2e83);color:#fff}
@keyframes hx-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-width:900px){.hx-wrap{grid-template-columns:1fr}.hx-comb{max-width:560px;margin-inline:auto}.hx span{font-size:clamp(.66rem,2.8vw,.85rem);padding:0 12%}}
@media (prefers-reduced-motion:reduce){.hx,.hx-stage>.wp-block-boza-tile{transition:none;animation:none}}

/* Search (2026-10-22): a panel that drops over the page on the blue polygon, the page dimmed behind it */
#boza-search{background:rgba(12,15,58,.55);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
#boza-search .curtain{bottom:auto;height:auto;max-height:88vh;background:var(--ink,#0c0f3a) url(../img/poly-blue-r.webp) center/cover no-repeat;clip-path:polygon(0 0,100% 0,100% calc(100% - var(--edge-s,48px)),0 100%)}
#boza-search .cur-in{max-width:880px;margin-inline:auto;padding:clamp(70px,9vh,110px) 24px calc(var(--edge-s,48px) + 56px)}
#boza-search .cur-x{position:fixed;top:24px;right:24px}
#boza-search .bigfield{align-items:center;padding:6px 10px 6px 22px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(255,255,255,.08)}
#boza-search .bigfield:focus-within{border-color:#fff;background:rgba(255,255,255,.14)}
#boza-search .bigfield input{font-size:clamp(1.3rem,2.4vw,1.8rem);padding:14px 0}
#boza-search .bigfield input::placeholder{color:rgba(255,255,255,.55)}
#boza-search .cur-meta{margin-top:18px;padding-left:24px}
#boza-search .state-idle .idle-cols{display:block}
#boza-search .idle-cols>div{margin-top:30px;padding-left:24px}
#boza-search .cur-ttl{display:block;margin-bottom:14px;font-size:.78rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--amber-soft,#7fd6ff)}
#boza-search .chiprow{gap:10px}
#boza-search .chip{border-radius:999px;padding:10px 20px;background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.3);font-family:var(--serif);font-weight:600;font-size:1rem}
#boza-search .chip:hover,#boza-search .chip[aria-pressed="true"]{background:#fff;color:var(--ink,#0c0f3a);border-color:#fff}
.hx-stage>.wp-block-boza-tile[hidden]{display:none!important}
.adv-quotes .wp-block-boza-columns{grid-template-columns:minmax(0,1fr) minmax(0,2.3fr)}
@media (max-width:781px){.adv-quotes .wp-block-boza-columns{grid-template-columns:1fr}.adv-quotes h2{padding-top:60px}}
html:has(#boza-search.open) .adv-star{visibility:hidden}
.adv-leaders .to .reach a.vcf{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M5 21h14'/%3E%3C/svg%3E")}

/* Every customer quote speaks the same way as the home page's (2026-10-23): display text, a cyan rule at the name */
.wp-block-boza-quote.q-left blockquote{font:500 clamp(1.2rem,1.7vw,1.5rem)/1.5 var(--serif);color:var(--ink);quotes:none}
.wp-block-boza-quote.q-left .attr{display:flex;flex-direction:column;gap:2px;margin-top:22px;padding-left:20px;border-left:3px solid var(--flourish,#02b3ff)}
.wp-block-boza-quote.q-left .attr b{font:600 1.05rem var(--serif);color:var(--ink)}
.wp-block-boza-quote.q-left .attr span{color:var(--ink-faint);font-size:.92rem}
/* A close without a person (Om os, where Ledelse sits just above) */
.adv-close-solo .wp-block-boza-columns{grid-template-columns:1fr}

/* Close as glass, like the Ledelse cards on the home page (2026-10-23): see-through card, outlined button */
.adv-close p.adv-person{background:rgba(255,255,255,.12);border:1px solid rgba(12,15,58,.14);box-shadow:0 18px 40px -30px rgba(12,15,58,.3);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px)}
.adv-close p.adv-person a{background:rgba(255,255,255,.18);border-color:rgba(12,15,58,.18)}
.adv-close .wp-block-boza-button.btn-green{background:transparent;border:1.5px solid var(--ink,#0c0f3a);color:var(--ink,#0c0f3a)}
.adv-close .wp-block-boza-button.btn-green:hover,.adv-close .wp-block-boza-button.btn-green:focus-visible{background:var(--ink,#0c0f3a);border-color:var(--ink,#0c0f3a);color:#fff}

/* Search results as frosted glass on the blue panel (proposal 1, 2026-10-23) */
#boza-search .cur-filters{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 18px;padding-left:4px}
#boza-search .cur-filters .chip{padding:8px 16px;font-size:.92rem}
#boza-search .cur-filters .chip .n{opacity:.6;margin-left:4px;font-weight:500}
#boza-search .cur-filters .chip.on{background:#fff;color:var(--ink,#0c0f3a);border-color:#fff}
#boza-search [data-search-results]>.cur-grp{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.22);border-radius:18px;padding:8px;margin:0 0 14px;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 30px 60px -40px rgba(0,0,0,.6)}
#boza-search .cur-grp>.cur-ttl{display:flex;align-items:baseline;gap:8px;margin:0;padding:12px 14px 8px;border:0}
#boza-search .cur-grp>.cur-ttl h3{font:600 .74rem var(--serif);letter-spacing:.16em;text-transform:uppercase;color:var(--amber-soft,#8fdcff);margin:0}
#boza-search .cur-grp>.cur-ttl .cnt{font:600 .74rem var(--serif);color:var(--amber-soft,#8fdcff);opacity:.7}
#boza-search .cur-grp>.cur-ttl .cnt::before{content:'· '}
#boza-search .p-list{display:flex;flex-direction:column;gap:2px;border:0}
#boza-search .post-line{display:grid!important;grid-template-columns:60px minmax(0,1fr) auto 36px;align-items:center;gap:16px;padding:10px 12px!important;margin:0!important;border:0!important;border-radius:12px;color:#fff;background:none;transition:background-color var(--t-fast)}
#boza-search .post-line:hover,#boza-search .post-line:focus-visible{background:rgba(255,255,255,.12)}
#boza-search .post-line .dt{display:none!important}
#boza-search .post-line .thumb{width:60px;height:42px;border-radius:9px;overflow:hidden;background:rgba(255,255,255,.12);display:grid;place-items:center;margin:0}
#boza-search .post-line .thumb img{width:100%;height:100%;object-fit:cover;border-radius:0;box-shadow:none}
#boza-search .post-line .thumb:empty::before{content:'';width:20px;height:20px;background:var(--amber-soft,#8fdcff);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h4'/%3E%3C/svg%3E") center/contain no-repeat}
#boza-search .post-line .mid{min-width:0}
#boza-search .post-line .mid h3{font:600 1.08rem/1.25 var(--serif);color:#fff;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#boza-search .post-line .mid p{font-size:.86rem;line-height:1.45;color:rgba(255,255,255,.65);margin:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#boza-search .post-line mark{background:rgba(2,179,255,.28);color:inherit;border-radius:3px;padding:0 2px}
#boza-search .post-line .end{display:contents}
#boza-search .post-line .cat{font:600 .68rem var(--serif);letter-spacing:.14em;text-transform:uppercase;color:var(--amber-soft,#8fdcff);background:none;border:1px solid rgba(143,220,255,.35);padding:4px 10px;border-radius:99px}
#boza-search .post-line .go{width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);color:#fff;display:grid;place-items:center;background:none;transition:background-color var(--t-fast),color var(--t-fast),border-color var(--t-fast)}
#boza-search .post-line .go svg{width:15px;height:15px}
#boza-search .post-line:hover .go{background:#fff;color:var(--ink,#0c0f3a);border-color:#fff}
#boza-search [data-search-results] .more,#boza-search [data-search-results] button:not(.chip){margin:4px auto 0}
/* No results: a friendly answer with the most searched words and a direct line */
#boza-search [data-search-results]>.cur-grp.adv-empty{text-align:center;padding:40px 30px;margin-top:26px}
#boza-search .adv-empty>.cur-ttl{display:block;padding:0}
#boza-search .adv-empty>.cur-ttl::before{content:'';display:block;width:64px;height:64px;margin:0 auto 16px;border-radius:50%;background:rgba(2,179,255,.18) no-repeat center/28px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fdcff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E")}
#boza-search .adv-empty>.cur-ttl h3{font:700 1.6rem/1.2 var(--serif);letter-spacing:0;text-transform:none;color:#fff}
#boza-search .adv-empty>p{color:rgba(255,255,255,.72);margin:6px auto 22px;max-width:44ch}
#boza-search .adv-empty .chiprow{justify-content:center}
#boza-search .adv-empty .adv-tel{display:inline-flex;align-items:center;gap:8px;margin-top:22px;color:var(--amber-soft,#8fdcff);font-weight:500;text-decoration:none}
#boza-search .adv-empty .adv-tel:hover{color:#fff}
#boza-search .adv-empty .adv-tel svg{width:17px;height:17px}
@media (max-width:640px){#boza-search .post-line{grid-template-columns:48px minmax(0,1fr) 32px}#boza-search .post-line .thumb{width:48px;height:36px}#boza-search .post-line .cat{display:none}}
