/* Marketing Insights: the article list, a topic's list and the article, on top of site.css (same tokens).
   The marker shows up the way it does on the rest of the site: behind a title on hover, behind the line you are
   reading in the contents, and behind the one sentence an article marks with <mark>. */

/* list: the section's name on the left, what it is and its topics on the right */
.ins-hero{padding:170px 0 90px}
.ins-hero .grid{display:grid;grid-template-columns:7fr 5fr;gap:70px;align-items:end}
.ins-hero h1{font-weight:800;font-size:clamp(52px,6.2vw,92px);line-height:.96;letter-spacing:-.045em}
.ins-hero .lead{font-size:18px;color:var(--ink)}
.ins-topics{margin-top:26px;display:flex;flex-wrap:wrap;gap:10px}
.ins-topics a{display:inline-flex;align-items:center;height:40px;padding:0 16px;border-radius:999px;background:#fff;font-size:15px;font-weight:500;transition:background .2s,color .2s}
.ins-topics a:hover{background:var(--hl)}
.ins-topics a[aria-current]{background:var(--ink);color:#fff}

.ins-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:14.5px;color:var(--slate)}
.ins-meta a,.ins-meta b{color:var(--ink);font-weight:600}
.ins-meta a:hover{text-decoration:underline;text-decoration-color:var(--hl);text-decoration-thickness:3px;text-underline-offset:4px}

/* titles: the marker draws under them on hover, as in the menu */
.ins-lead h2 span,.ins-row h3 a{text-decoration:underline;text-decoration-color:transparent;text-decoration-thickness:.32em;text-underline-offset:-.14em;text-decoration-skip-ink:none;transition:text-decoration-color .3s}
.ins-lead:hover h2 span,.ins-lead:focus-visible h2 span,.ins-row h3 a:hover,.ins-row h3 a:focus-visible{text-decoration-color:var(--hl)}

.ins-list{padding:0 0 150px}
/* the newest article, large */
.ins-lead{display:grid;grid-template-columns:7fr 5fr;gap:64px;align-items:center;margin-bottom:120px}
.ins-lead figure{aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:var(--green)}
.ins-lead figure img{width:100%;height:100%;object-fit:cover;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.ins-lead:hover figure img{transform:scale(1.03)}
.ins-lead h2{font-size:clamp(34px,3.6vw,54px);line-height:1.04;letter-spacing:-.035em}
.ins-lead .ex{margin-top:20px;font-size:17px;line-height:1.6}
.ins-lead .ins-meta{margin-top:18px}
.ins-lead .more-link{margin-top:30px}
.ins-lead:hover .more-link svg{transform:translateX(4px)}
.ins-lead.no-img{grid-template-columns:1fr;max-width:900px}
.ins-lead.no-img h2{font-size:clamp(40px,4.6vw,68px)}

/* the others: a quiet index, words first, a small picture beside them */
.ins-rows{list-style:none;display:grid;gap:72px}
.ins-row{display:grid;grid-template-columns:8fr 4fr;gap:64px;align-items:start}
.ins-row.no-img{grid-template-columns:1fr}
.ins-row h3{font-weight:700;font-size:clamp(26px,2.4vw,34px);line-height:1.14;letter-spacing:-.03em}
.ins-row .ex{margin-top:12px;max-width:640px;font-size:16.5px;line-height:1.6}
.ins-row .ins-meta{margin-top:14px}
.ins-row figure{aspect-ratio:4/3;border-radius:6px;overflow:hidden;background:var(--green)}
.ins-row figure img{width:100%;height:100%;object-fit:cover}

.ins-pages{margin-top:90px;display:flex;flex-wrap:wrap;gap:10px}
.ins-pages a,.ins-pages span{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 16px;border-radius:999px;background:#fff;font-weight:600;font-size:15px}
.ins-pages .current{background:var(--ink);color:#fff}
.ins-pages a:hover{background:var(--hl)}

/* no articles yet */
.ins-empty{padding:0 0 150px}
.ins-empty .wrap{display:grid;grid-template-columns:7fr 5fr;gap:70px;align-items:start}
.ins-empty h2{font-size:clamp(40px,4.4vw,64px);line-height:1;letter-spacing:-.04em}
.ins-empty p{font-size:17px;line-height:1.65}
.ins-empty .btn{margin-top:30px}

/* ---------------------------------------------------------------- the article */
.post-head{padding:160px 0 64px}
.post-head .wrap>*{max-width:980px}
.post-back{display:inline-flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--slate);transition:color .2s}
.post-back:hover{color:var(--ink)}
.post-back svg,.post-swap svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.post-head h1{margin-top:20px;font-weight:800;font-size:clamp(40px,5vw,74px);line-height:1;letter-spacing:-.04em;outline:none}
.post-head .lead{margin-top:26px;max-width:760px;font-size:20px;line-height:1.55;color:var(--ink)}
.post-by{margin-top:34px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:18px 26px;max-width:760px;font-size:15px;color:var(--slate)}
.post-by>div{display:flex;flex-direction:column;gap:6px}
/* the other language, where the reader is: a marker-yellow pill */
.post-swap{display:inline-flex;align-items:center;gap:10px;height:46px;padding:0 20px;border-radius:999px;background:var(--hl);color:var(--ink);font-weight:600;font-size:15px;transition:transform .25s}
.post-swap:hover{transform:translateY(-2px)}
.post-swap[lang=ar]{font-family:"IBM Plex Sans Arabic",sans-serif}
.post-swap[lang=en]{font-family:"Schibsted Grotesk",sans-serif}
.post[aria-busy=true]{opacity:.45;transition:opacity .2s}
/* the same switch, following the reader on phones and tablets (the floating buttons sit in the other corner) */
.post-swap-float{display:none}
@media (max-width:1024px){
  .post-swap-float{display:inline-flex;position:fixed;z-index:55;bottom:14px;left:14px;right:auto;box-shadow:0 10px 26px rgba(10,34,28,.22);transform:translateY(160%);visibility:hidden;transition:transform .3s cubic-bezier(.2,.7,.2,1),visibility .3s}
  html[dir=rtl] .post-swap-float{left:auto;right:14px}
  .post-swap-float.show{transform:none;visibility:visible}
  .post-swap-float.show:hover{transform:translateY(-2px)}
}

.post-cover{margin:0 0 90px;border-radius:6px;overflow:hidden;aspect-ratio:21/9;background:var(--green)}
.post-cover img{width:100%;height:100%;object-fit:cover}

.post-grid{display:grid;grid-template-columns:3fr 8fr;gap:80px;align-items:start;padding-bottom:140px}
.post-grid.no-toc{grid-template-columns:1fr}
.post-grid.no-toc .post-body{margin:0 auto}
.post-toc{position:sticky;top:122px}
.post-toc .toc-h{font-weight:700;font-size:16px}
.post-toc ol{list-style:none;margin-top:14px;display:grid;gap:2px}
.post-toc ol a{position:relative;isolation:isolate;display:block;padding:7px 0;font-size:15px;line-height:1.4;color:var(--slate);transition:color .2s}
.post-toc ol a::before{content:"";position:absolute;z-index:-1;inset:2px -10px;border-radius:3px;background:var(--hl);transform:scaleX(0);transform-origin:left center;transition:transform .35s cubic-bezier(.65,0,.35,1)}
.post-toc ol a:hover{color:var(--ink)}
.post-toc ol a[aria-current]{color:var(--ink);font-weight:600}
.post-toc ol a[aria-current]::before{transform:scaleX(1)}
.post-toc .post-swap{margin-top:30px}

.post-body{width:100%;max-width:720px;font-size:19px;line-height:1.72;color:var(--ink);overflow-wrap:break-word}
/* the text column never grows wider than the screen: without these a wide table stretched it on phones (3.3.3) */
.post-grid>*,.post-body{min-width:0}
.post-body .table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:6px}
.post-body .table-scroll table{min-width:100%}
.post-body>*+*{margin-top:1.15em}
.post-body h2{margin-top:2.1em;font-size:34px;line-height:1.12;letter-spacing:-.03em;scroll-margin-top:120px}
.post-body h3{margin-top:1.8em;font-size:24px;line-height:1.25;letter-spacing:-.02em}
.post-body h2+*,.post-body h3+*{margin-top:.7em}
.post-body a{text-decoration:underline;text-decoration-color:var(--hl);text-decoration-thickness:3px;text-underline-offset:4px}
.post-body a:hover{background:var(--hl)}
.post-body strong{font-weight:700}
.post-body ul,.post-body ol{padding-inline-start:1.3em}
.post-body li+li{margin-top:.45em}
.post-body li::marker{color:var(--slate)}
.post-body mark{background:var(--hl);color:var(--ink);padding:.05em .15em;border-radius:2px}
.post-body blockquote{padding:4px 0 4px 26px;border-left:4px solid var(--hl);font-size:23px;line-height:1.45;font-weight:600;letter-spacing:-.01em}
.post-body figure img,.post-body>img,.post-body p>img{border-radius:6px;height:auto}
.post-body figcaption{margin-top:10px;font-size:14.5px;color:var(--slate)}
.post-body table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.5}
.post-body th,.post-body td{padding:12px 14px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line)}
.post-body th{font-weight:700;background:#fff}
.post-body code{font-family:"IBM Plex Mono",monospace;font-size:.88em;background:#fff;padding:.1em .3em;border-radius:3px}

/* more articles at the end */
.post-more{padding:110px 0 140px;background:#fff}
.post-more h2{margin-bottom:60px;font-size:clamp(40px,4.4vw,64px);letter-spacing:-.04em}

/* ---------------------------------------------------------------- Arabic */
[dir=rtl] .ins-hero h1{font-weight:700;line-height:1.22;letter-spacing:0;font-size:clamp(46px,5.4vw,80px)}
[dir=rtl] .ins-lead h2,[dir=rtl] .ins-row h3,[dir=rtl] .ins-empty h2,[dir=rtl] .post-more h2{letter-spacing:0;font-weight:700;line-height:1.3}
[dir=rtl] .ins-lead:hover .more-link svg{transform:scaleX(-1) translateX(4px)}
[dir=rtl] .post-back svg{transform:scaleX(-1)}
.post[dir=rtl]{font-family:"IBM Plex Sans Arabic","Schibsted Grotesk",sans-serif}
.post[dir=ltr]{font-family:"Schibsted Grotesk",sans-serif}
.post[dir=rtl] h1{font-weight:700;line-height:1.25;letter-spacing:0}
.post[dir=rtl] h2,.post[dir=rtl] h3{font-weight:700;letter-spacing:0;line-height:1.35}
.post[dir=rtl] .lead,.post[dir=rtl] p{line-height:1.85}
.post[dir=rtl] .post-body{line-height:1.95}
.post[dir=rtl] .post-body blockquote{padding:4px 26px 4px 0;border-left:0;border-right:4px solid var(--hl);letter-spacing:0}
.post[dir=rtl] .post-toc ol a::before{transform-origin:right center}
/* an English article inside an Arabic page (and the reverse) keeps its own type */
.post[dir=ltr] h1,.post[dir=ltr] h2{letter-spacing:-.035em}

@media (max-width:1024px){
  .post-grid{grid-template-columns:1fr;gap:0}
  .post-toc{display:none}
  .post-body{margin:0 auto}
}
@media (max-width:980px){
  .ins-hero .grid,.ins-empty .wrap{grid-template-columns:1fr;gap:30px;align-items:start}
  .ins-hero .lead{max-width:560px}
  .ins-lead{grid-template-columns:1fr;gap:32px;margin-bottom:90px}
  .ins-lead .t{max-width:640px}
}
@media (max-width:760px){
  .ins-hero{padding:130px 0 60px}
  .ins-lead{gap:26px;margin-bottom:80px}
  .ins-rows{gap:56px}
  .ins-row{grid-template-columns:1fr;gap:20px}
  .ins-row figure{order:-1;aspect-ratio:16/9}
  .ins-list,.ins-empty{padding-bottom:100px}
  .post-head{padding:124px 0 44px}
  .post-head h1{font-size:34px;line-height:1.04}
  .post[dir=rtl] .post-head h1{line-height:1.3}
  .post-head .lead{font-size:18px}
  .post-cover{margin-bottom:54px;aspect-ratio:16/10}
  .post-body{font-size:18px}
  /* tables keep readable columns and scroll sideways inside their own box */
  .post-body table{font-size:14px}
  .post-body th,.post-body td{padding:10px}
  .post-body .table-scroll table{min-width:520px}
  .post-body h2{font-size:28px}
  .post-body h3{font-size:22px}
  .post-body blockquote{font-size:20px}
  .post-grid{padding-bottom:90px}
  .post-more{padding:80px 0 100px}
  .post-more h2{margin-bottom:40px}
}
@media (prefers-reduced-motion:reduce){
  .ins-lead figure img,.post-toc ol a::before,.post-swap,.ins-topics a{transition:none}
}

/* ---------------------------------------------------------------- 3.3.6: calmer reading
   Less yellow while reading (it stays on <mark>, the quote line and hovers), links that can be seen,
   contents on phones, tables whose numbers never break. */

/* the contents: a thin green line beside the section being read, instead of a yellow block */
.post-toc ol a{padding-inline-start:14px}
.post-toc ol a::before{inset:7px auto 7px 0;width:3px;border-radius:2px;background:var(--green);transform:scaleY(0);transform-origin:center}
.post[dir=rtl] .post-toc ol a::before{inset:7px 0 7px auto;transform-origin:center}

/* the other language: a quiet outlined pill; the marker only on hover */
.post-swap{background:#fff;box-shadow:inset 0 0 0 1.5px var(--ink);transition:transform .25s,background .2s}
.post-swap:hover{background:var(--hl)}
@media (max-width:1024px){
  .post-swap-float{height:42px;padding:0 16px;font-size:14px;box-shadow:inset 0 0 0 1.5px var(--ink),0 8px 22px rgba(10,34,28,.16)}
}

/* links in the text: a green underline anyone can see; the marker on hover */
.post-body a{text-decoration-color:var(--green);text-decoration-thickness:1.5px;text-underline-offset:3px}
.post-body a:hover{text-decoration-color:transparent}

/* a heading right under a heading (the questions at the end) gets its own air */
.post-body h2+h3{margin-top:1.1em}

/* tables: numbers stay on one line; on phones a line says the table scrolls */
.post-body td.n,.post-body th.n{white-space:nowrap}
.post-body table{overflow-wrap:normal;word-break:normal}
.post-body .table-hint{display:none;margin-bottom:-.6em;font-size:13.5px;color:var(--slate)}
.post-body .table-hint.show{display:block}

/* ---------------------------------------------------------------- 3.3.7: the article page's extras */
/* a shorter line: about 65-70 characters, easier on the eye (the type size is unchanged) */
.post-body{max-width:680px}

/* how far you are, a thin line at the very top */
.post-progress{position:fixed;z-index:56;left:0;right:0;top:0;height:3px;pointer-events:none}
.post-progress span{display:block;height:100%;background:var(--green);transform:scaleX(0);transform-origin:left center}
.post[dir=rtl] .post-progress span{transform-origin:right center}

.post-upd::before{content:"·";margin:0 8px}

/* the free consultation, once, in the middle of the article */
.post-cta{margin-block:2.2em;padding:28px 30px;border-radius:10px;background:#fff;border:1px solid var(--line);border-inline-start:4px solid var(--green)}
.post-body .post-cta p{margin:0}
.post-body .post-cta .post-cta-h{font-weight:700;font-size:22px;line-height:1.3;letter-spacing:-.01em}
.post-body .post-cta p+p{margin-top:8px;font-size:17px;line-height:1.6;color:var(--slate)}
.post-body .post-cta .btn{margin-top:20px;height:50px;padding:0 24px;font-size:16px;color:#fff;text-decoration:none}
.post-body .post-cta .btn:hover{background:var(--green)}
.post[dir=rtl] .post-cta .btn svg{transform:scaleX(-1)}

/* share, and two lines about us, under the article */
.post-end{margin-top:3em;padding-top:2em;border-top:1px solid var(--line)}
.post-body .post-share-h{margin:0;font-weight:700;font-size:16px;line-height:1.4}
.post-share-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.post-share-row a,.post-share-row button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 16px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink);font:inherit;font-size:15px;font-weight:600;line-height:1;text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.post-body .post-share-row a{text-decoration:none}
.post-share-row a:hover,.post-share-row button:hover,.post-body .post-share-row a:hover{background:var(--hl);border-color:var(--hl)}
.post-share-row svg{width:18px;height:18px;fill:currentColor;flex:none}
.post-share-row .ps-x{width:42px;padding:0}
.post-share-row .ps-copy svg{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.post-share-row .done,.post-share-row .done:hover{background:var(--green);border-color:var(--green);color:#fff}
.post-share.compact{margin-top:30px}
.post-share.compact .post-share-h{font-size:14px;font-weight:600;color:var(--slate)}
.post-share.compact .post-share-row{gap:8px}
.post-share.compact span{display:none}
.post-share.compact a,.post-share.compact button{width:40px;height:40px;padding:0}
.post-about{margin-top:30px;padding:24px 26px;border-radius:10px;background:#fff;border:1px solid var(--line)}
.post-body .post-about p{margin:0}
.post-body .post-about .post-about-h{font-weight:700;font-size:18px;line-height:1.4}
.post-body .post-about p+p{margin-top:8px;font-size:16.5px;line-height:1.65;color:var(--slate)}
.post-body .post-about a{display:inline-block;margin-top:12px;font-weight:600;font-size:16px}
@media (max-width:760px){
  .post-cta{padding:22px 20px}
  .post-body .post-cta .post-cta-h{font-size:20px}
  .post-body .post-cta p+p{font-size:16px}
  .post-body .post-cta .btn{width:100%}
  .post-about{padding:20px}
}
@media (max-width:480px){
  .post-end .post-share-row span{display:none}
  .post-end .post-share-row a,.post-end .post-share-row button{width:46px;height:46px;padding:0}
}
@media (prefers-reduced-motion:reduce){.post-share-row a,.post-share-row button{transition:none}}

/* ---------------------------------------------------------------- 3.3.8: the article gets its own frame
   A green band behind the title (the home page's green) with the cover sitting on its edge, and one soft green tint
   for the things that help the reader: the contents, the consultation box. */
:root{--tint:#E9F0EC;--tint-line:#D3E0D9}
.post-head{background:var(--green);color:#fff;margin-bottom:64px}
.post-head.has-cover{padding-bottom:150px;margin-bottom:0}
.post-head h1{color:#fff}
.post-head .lead{color:#D5E0DB}
.post-back,.post-by,.post-head .ins-meta{color:var(--mint)}
.post-back:hover{color:#fff}
.post-head .ins-meta a,.post-head .ins-meta b{color:#fff}
.post-head .post-swap{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.55)}
.post-head .post-swap:hover{background:var(--hl);color:var(--ink);box-shadow:none}
.post-head.has-cover+.wrap .post-cover{position:relative;margin-top:-110px}

.post-toc{padding:24px 22px;border-radius:10px;background:var(--tint)}
.post-toc ol a{color:#4F5C56}
.post-cta{background:var(--tint);border-color:var(--tint-line)}
@media (max-width:760px){
  .post-head{margin-bottom:44px}
  .post-head.has-cover{padding-bottom:96px;margin-bottom:0}
  .post-head.has-cover+.wrap .post-cover{margin-top:-64px}
}

/* contents on phones and tablets: one closed box before the text */
.post-toc-m{display:none}
@media (max-width:1024px){
  .post-toc-m{display:block;width:100%;margin:0 auto 44px;max-width:680px;border:1px solid var(--tint-line);border-radius:8px;background:var(--tint)}
  .post-toc-m summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;font-weight:700;font-size:16px;cursor:pointer;list-style:none}
  .post-toc-m summary::-webkit-details-marker{display:none}
  .post-toc-m summary::after{content:"";width:9px;height:9px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-3px);transition:transform .25s}
  .post-toc-m[open] summary::after{transform:rotate(225deg) translateY(-1px)}
  .post-toc-m ol{list-style:none;margin:0;padding:0 18px 14px;display:grid;gap:2px}
  .post-toc-m ol a{display:block;padding:8px 0;font-size:15px;line-height:1.4;color:var(--slate);border-top:1px solid var(--line)}
  .post-toc-m ol li:first-child a{border-top:0}
}
