/* Created by: Eng Ahmed Elbably
   Mobile No. 01275799570 */
/* =====================================================================
   INSIGHTS PAGE and the ARTICLE PAGES (since 1.99.0; page-insights.php, single-eon25_article.php)
   From the chosen preview (design 8): the title, the carousel of videos, the magazine page, More to read;
   the video pop-up; an article's page. Black or White: Insights → Insights Page → Layout (html.eon-dark = Black).
   Since 1.104.0 the slider: full-screen pictures under the menu, before the title. Since 1.105.0: each photo whole,
   the news line under the slider, the More to read cards with their buttons, the same arrow → on every button.
   ===================================================================== */

/* ---------- Page colour ---------- */
html.is-insights{ --pg-bg:#FFFFFF; --pg-fg:#231F20; background:var(--pg-bg); }
html.is-insights.eon-dark{ --pg-bg:#231F20; --pg-fg:#FFFFFF; }
html.is-insights body{ background:var(--pg-bg); color:var(--pg-fg); }
html.ins-lock, html.ins-lock body{ overflow:hidden; }   /* while the video pop-up is open */

.ins{
  --i-dim:color-mix(in srgb, var(--pg-fg) 58%, transparent);
  --i-soft:color-mix(in srgb, var(--pg-fg) 76%, transparent);
  --i-line:color-mix(in srgb, var(--pg-fg) 16%, transparent);
  --i-card:color-mix(in srgb, var(--pg-fg) 6%, var(--pg-bg));
  --i-head:calc(var(--pad) * 1.55 + var(--logo-sq));   /* the header's height */
  --pa:#D16439;                                         /* the Practice page colour, as on People and Careers */
  --paper:#FBFAF7;                                      /* the white of the Life at EON25 prints */
  display:block; min-height:70vh; background:var(--pg-bg); color:var(--pg-fg);
  font-family:var(--font); -webkit-font-smoothing:antialiased; overflow-x:clip;
}
.ins *, .ins *::before, .ins *::after{ box-sizing:border-box; }
:where(.ins) :where(h1, h2, h3, h4, p, ol, ul, li, figure, blockquote, cite){ margin:0; padding:0; font-size:inherit; font-weight:inherit; font-style:normal; }
:where(.ins) :where(ol, ul){ list-style:none; }
:where(.ins) :where(a){ color:inherit; text-decoration:none; }
:where(.ins) :where(button){ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; text-align:inherit; }
.ins img{ display:block; max-width:100%; height:auto; }
.ins :focus-visible{ outline:2px solid currentColor; outline-offset:3px; }

/* ---------- Spacing: room for the header above the first part, and for the footer under the last ---------- */
.ins-pad{ padding-left:var(--pad); padding-right:var(--pad); }
.ins-sec{ padding-top:clamp(56px, 7vw, 112px); padding-bottom:clamp(56px, 7vw, 112px); }
.ins .is-first{ padding-top:calc(var(--i-head) + clamp(28px, 4.5vw, 88px)); }
.ins .is-last{ padding-bottom:max(var(--end-gap), clamp(64px, 8vw, 128px)); }
.ins.is-empty{ padding:calc(var(--i-head) + 40px) var(--pad) var(--end-gap); }

/* ---------- Texts ---------- */
.ins-kicker{ display:block; font-size:13px; line-height:1.3; letter-spacing:.1em; text-transform:uppercase; font-weight:500; color:var(--i-dim); }
.ins-title{ font-weight:700; font-size:clamp(56px, 10vw, 180px); line-height:.88; letter-spacing:-.05em; }
.ins-lead{ font-weight:300; font-size:clamp(20px, 2.1vw, 34px); line-height:1.22; letter-spacing:-.005em; max-width:820px; }
.ins-h2{ font-weight:400; font-size:clamp(28px, 3.1vw, 50px); line-height:1.04; letter-spacing:-.02em; }
.ins-meta{ font-size:13px; line-height:1.4; color:var(--i-dim); }
.ins-link{ display:inline-flex; align-items:center; gap:8px; font-size:15px; font-weight:500; padding-bottom:3px; border-bottom:1px solid currentColor; transition:color .2s; }
.ins-link svg{ width:11px; height:11px; fill:currentColor; }
.ins-link:hover{ color:var(--pa); }

/* ---------- Slider (since 1.104.0): full-screen pictures under the menu, before the title. One title, the line under
   it and one button stay still over them while the pictures change (assets/js/insights-page.js: the dots, the arrow, a
   swipe, and by itself after the seconds set, the line in the dot filling meanwhile). Phones: the button under the
   words, the arrow at the bottom right. ---------- */
.ins-slider{ --sl-row:48px; --sl-arrow:clamp(48px, 3.9vw, 60px); --sl-gap:clamp(28px, 3.6vw, 60px);
  position:relative; height:calc(100vh - var(--i-head)); height:calc(100svh - var(--i-head)); min-height:440px;
  overflow:hidden; background:#231F20; color:#FFFFFF; isolation:isolate; touch-action:pan-y; }
.ins.has-slider{ padding-top:var(--i-head); }   /* the header above the slider (padding on the page, so the page itself starts at the top: the header's colour over White) */
.ins .ins-slider.is-first{ padding-top:0; }
.ins .ins-slider.is-last{ padding-bottom:0; margin-bottom:max(var(--end-gap), clamp(64px, 8vw, 128px)); }
.ins .is-after:not(.ins-sec){ padding-top:clamp(56px, 7vw, 112px); }   /* the part under the slider */
/* the pictures, one over the other: the one coming fades in over the one going */
.ins-slider__track{ position:absolute; inset:0; }
.ins-slider__track::after{ content:""; position:absolute; inset:0; z-index:3; pointer-events:none;   /* darker where the words sit */
  background:linear-gradient(0deg, rgba(20,18,18,.74) 0%, rgba(20,18,18,.36) 30%, rgba(20,18,18,0) 58%),
             linear-gradient(90deg, rgba(20,18,18,.44) 0%, rgba(20,18,18,.14) 40%, rgba(20,18,18,0) 62%); }
.ins-slide{ position:absolute; inset:0; display:none; overflow:hidden; opacity:0; transition:opacity 1s cubic-bezier(.4, 0, .2, 1); }
.ins-slide.is-on, .ins-slide.is-near, .ins-slide.was-on{ display:block; }   /* drawn (and so loaded) only when on, next or going */
.ins-slide.is-on{ z-index:2; opacity:1; }
.ins-slide.was-on{ z-index:1; opacity:1; transition:none; }
/* the whole photo, never cut (since 1.105.0): as big as the slider allows, in the middle; on a tall screen in the middle
   of the space above the words when it fits there (--sl-low: the height of the words, the button and the dots, set by
   insights-page.js). It stays still; around it the same photo, soft and darker (a small copy), slowly moving. */
.ins-slide img{ user-select:none; -webkit-user-select:none; -webkit-user-drag:none; }
.ins-slide .ins-slide__img{ position:absolute; left:0; top:0; z-index:1; width:100%; height:calc(100% - var(--sl-low, 0px)); object-fit:contain; object-position:50% 50%; }
.ins-slide .ins-slide__bg{ position:absolute; inset:0; z-index:0; width:100%; height:100%; object-fit:cover; object-position:50% 50%;
  transform:scale(1.2); filter:blur(clamp(18px, 2.4vw, 44px)) brightness(.46) saturate(1.15); pointer-events:none; }
.ins-slider.is-ready .ins-slide.is-on .ins-slide__bg, .ins-slider.is-ready .ins-slide.was-on .ins-slide__bg{ animation:ins-sl-soft var(--sl-zoom, 10s) cubic-bezier(.25, .46, .45, .94) both; }
@keyframes ins-sl-soft{ from{ transform:scale(1.2); } to{ transform:scale(1.28); } }
.ins-slider.is-below .ins-slider__track::after{ opacity:0; }   /* the words under the photo: no shade over it */
@media (min-width:768px){   /* with the news line: the slider a little shorter, the line at the bottom of the first screen */
  .ins-slider.has-news{ height:calc(100vh - var(--i-head) - var(--nw-h)); height:calc(100svh - var(--i-head) - var(--nw-h)); }
}
/* the one title, the line under it and the button: still, over the pictures (a swipe on them reaches the pictures) */
.ins-slider__over{ position:absolute; inset:0; z-index:4; display:grid; align-content:end; justify-items:start; pointer-events:none;
  padding:var(--pad) calc(var(--pad) * 2 + var(--sl-arrow)) calc(var(--pad) + var(--sl-row) + var(--sl-gap)) var(--pad);
  text-shadow:0 2px 28px rgba(0,0,0,.18); }
.ins-slider__h{ font-weight:700; font-size:clamp(40px, 5.6vw, 96px); line-height:.94; letter-spacing:-.04em; max-width:15ch; text-wrap:balance; }
.ins-slider__line{ margin-top:clamp(14px, 1.3vw, 22px); font-weight:300; font-size:clamp(18px, 1.55vw, 26px); line-height:1.3; letter-spacing:-.005em; max-width:38ch; color:rgba(255,255,255,.88); text-wrap:pretty; }
.ins-slider__btn{ position:absolute; right:var(--pad); bottom:var(--pad); pointer-events:auto; }
.ins-slider .ins-btn{ color:#FFFFFF; --b-bg:#FFFFFF; --b-fg:#231F20; background:rgba(20,18,18,.22); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); text-shadow:none; }
.ins-slider .ins-btn:hover{ background:rgba(255,255,255,.14); }
/* the dots (bottom left): the one on is longer, its line filling until the next picture */
.ins-slider__dots{ position:absolute; z-index:5; left:calc(var(--pad) - 8px); bottom:var(--pad); height:var(--sl-row); display:flex; align-items:center; }
.ins-slider__dots button{ display:grid; place-items:center; height:32px; padding:0 8px; }
.ins-slider__dots span{ position:relative; display:block; width:8px; height:8px; border-radius:999px; overflow:hidden; background:rgba(255,255,255,.45); transition:width .45s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
.ins-slider__dots button:hover span{ background:rgba(255,255,255,.8); }
.ins-slider__dots button[aria-current="true"] span{ width:36px; background:rgba(255,255,255,.32); }
.ins-slider__dots i{ position:absolute; inset:0; border-radius:inherit; background:#FFFFFF; transform:scaleX(0); transform-origin:0 50%; }
.ins-slider__dots button[aria-current="true"] i{ transform:none; }
.ins-slider.is-auto .ins-slider__dots button[aria-current="true"] i{ animation:ins-sl-fill var(--sl-time, 6s) linear both; }
@keyframes ins-sl-fill{ from{ transform:scaleX(0); } to{ transform:none; } }
/* waiting (the mouse or the keyboard on it, off the screen): the line and the zoom stop where they are */
.ins-slider.is-auto.is-paused .ins-slider__dots button[aria-current="true"] i,
.ins-slider.is-ready.is-paused .ins-slide.is-on .ins-slide__bg, .ins-slider.is-ready.is-paused .ins-slide.was-on .ins-slide__bg{ animation-play-state:paused; }
/* the arrow (right, in the middle): the next picture */
.ins-slider__next{ position:absolute; z-index:5; right:var(--pad); top:50%; width:var(--sl-arrow); height:var(--sl-arrow); margin-top:calc(var(--sl-arrow) / -2);
  display:grid; place-items:center; color:#FFFFFF; border:1px solid rgba(255,255,255,.55) !important; border-radius:50% !important; background:rgba(20,18,18,.2) !important;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); transition:border-color .2s, background-color .2s; }
.ins-slider__next svg{ width:15px; height:15px; fill:currentColor; transition:transform .35s cubic-bezier(.2, .8, .2, 1); }
.ins-slider__next:hover{ border-color:#FFFFFF !important; background:rgba(255,255,255,.14) !important; }
.ins-slider__next:hover svg{ transform:translateX(3px); }
.ins-slider__dots, .ins-slider__next{ transition:opacity .4s, border-color .2s, background-color .2s; }
.ins-slider:not(.is-ready) .ins-slider__dots, .ins-slider:not(.is-ready) .ins-slider__next{ opacity:0; visibility:hidden; }   /* until the script runs */
@media (max-width:767.98px){
  .ins-slider{ --sl-row:44px; --sl-arrow:44px; --sl-gap:24px; min-height:480px; }
  .ins-slider__track::after{ background:linear-gradient(0deg, rgba(20,18,18,.8) 0%, rgba(20,18,18,.42) 40%, rgba(20,18,18,0) 68%); }
  .ins-slider__over{ padding:var(--pad) var(--pad) calc(var(--pad) + var(--sl-row) + var(--sl-gap)); }
  .ins-slider__h{ font-size:clamp(34px, 10.2vw, 48px); max-width:none; }
  .ins-slider__line{ font-size:17px; max-width:none; }
  .ins-slider__btn{ position:static; margin-top:22px; }   /* phones: the button under the words */
  .ins-slider__next{ top:auto; bottom:var(--pad); margin-top:0; }   /* and the arrow at the bottom right, beside the dots */
  /* phones (since 1.105.0): the slider as tall as the photo (filling the width, the shape of the first one), the
     words, the button and the dots under it */
  .ins-slider{ height:auto; min-height:0; }
  .ins-slider__track{ position:relative; inset:auto; aspect-ratio:var(--sl-ar, 3 / 2); }
  .ins-slider__track::after{ display:none; }
  .ins-slide .ins-slide__img{ height:100%; }
  .ins-slider__over{ position:relative; inset:auto; padding:26px var(--pad) calc(var(--pad) + var(--sl-row) + var(--sl-gap)); }
}

/* ---------- News line (since 1.105.0): under the slider, pictures and words moving from right to left without end,
   like the news on TV (assets/js/insights-page.js: the lines, then the same again, moving by half). It waits while the
   mouse or the keyboard is on it. Its button that stops and starts it shows only when reached with the Tab key (since 1.105.1). ---------- */
.ins{ --nw-h:clamp(48px, 4.4vw, 64px); }
.ins.has-news-img{ --nw-h:clamp(100px, 8.4vw, 150px); }   /* with a picture (e.g. a wide banner): taller */
.ins-news{ position:relative; display:flex; align-items:stretch; height:var(--nw-h); background:var(--pg-bg); color:var(--pg-fg);
  border-top:1px solid var(--i-line); border-bottom:1px solid var(--i-line); overflow:hidden; }
.ins .ins-news.is-first, .ins .ins-news.is-last{ padding:0; }   /* right under the header (the page's room for it) */
.ins .ins-news.is-last{ margin-bottom:max(var(--end-gap), clamp(64px, 8vw, 128px)); }
.ins-news__label{ flex:none; display:flex; align-items:center; gap:10px; padding:0 clamp(14px, 1.7vw, 26px); background:var(--pa); color:#FFFFFF;
  font-size:clamp(11px, .8vw, 13px); font-weight:700; letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; }
.ins-news__label::before{ content:""; flex:none; width:7px; height:7px; border-radius:50%; background:currentColor; animation:ins-news-dot 1.8s ease-in-out infinite; }
@keyframes ins-news-dot{ 50%{ opacity:.2; } }
.ins-news__view{ position:relative; flex:1; min-width:0; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image:linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.ins-news__track{ display:flex; width:max-content; height:100%; }
.ins-news.is-ready .ins-news__track{ animation:ins-news-run var(--nw-time, 40s) linear infinite; }
.ins-news.is-paused .ins-news__track{ animation-play-state:paused; }
@keyframes ins-news-run{ to{ transform:translateX(-50%); } }
.ins-news__list{ flex:none; display:flex; align-items:center; height:100%; }
.ins-news__item{ display:flex; align-items:center; height:100%; white-space:nowrap; font-size:clamp(15px, 1.15vw, 19px); font-weight:500; line-height:1.25; letter-spacing:-.005em; }
.ins-news__item::after{ content:""; flex:none; width:6px; height:6px; margin:0 clamp(22px, 2.6vw, 44px); background:var(--pa); transform:rotate(45deg); }   /* a small diamond between them */
.ins-news__item a{ display:flex; align-items:center; gap:8px; height:100%; text-decoration:underline; text-decoration-color:transparent; text-underline-offset:4px; transition:text-decoration-color .2s; }
.ins-news__item a:hover, .ins-news__item a:focus-visible{ text-decoration-color:currentColor; }
.ins-news__item a svg{ flex:none; width:10px; height:10px; fill:currentColor; opacity:.7; }
.ins .ins-news__item.is-img img{ display:block; width:auto; max-width:none; height:100%; }   /* a picture: the line's height */
/* the button that stops and starts the line is not shown (since 1.105.1): it appears only when reached with the keyboard's
   Tab key, for visitors who move through the page without a mouse; the line runs to the edge of the screen */
.ins-news__pause{ position:absolute; right:10px; top:50%; z-index:2; width:44px; height:44px; margin-top:-22px; display:grid; place-items:center;
  border:1px solid var(--i-line) !important; border-radius:50%; background:var(--pg-bg); opacity:0; pointer-events:none; }
.ins-news__pause:focus-visible{ opacity:1; pointer-events:auto; }
.ins-news__pause svg{ width:12px; height:12px; fill:currentColor; }
.ins-news__pause .is-play, .ins-news.is-stopped .ins-news__pause .is-pause{ display:none; }
.ins-news.is-stopped .ins-news__pause .is-play{ display:block; }

/* ---------- 1. Top: the title and the line under it, in the middle ---------- */
.ins-top{ display:grid; justify-items:center; gap:18px; text-align:center; padding-bottom:clamp(28px, 3vw, 48px); }
.ins-top .ins-lead{ max-width:620px; }

/* ---------- A video: the cover (or the first picture), the play mark, the length ---------- */
.ins-vid{ display:block; position:relative; color:inherit; }
.ins-vid__media{ position:relative; display:block; aspect-ratio:9 / 16; overflow:hidden; background:#2E292A; }
.ins-vid__media > img, .ins-vid__media > video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ins-vid__media > img{ transition:transform .9s cubic-bezier(.2,.8,.2,1); }
.ins-vid__media > video:not(:first-child){ opacity:0; transition:opacity .35s; }   /* the clip over the cover, shown once it plays */
.ins-vid.is-playing .ins-vid__media > video{ opacity:1; }
@media (hover:hover){ .ins-vid:hover .ins-vid__media > img{ transform:scale(1.035); } }
.ins-play{ position:absolute; left:12px; top:12px; z-index:2; width:34px; height:34px; border-radius:50%; display:grid; place-items:center; color:#FFFFFF;
  background:rgba(20,18,18,.42); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); transition:opacity .3s; }
.ins-play::before{ content:""; margin-left:3px; border-left:10px solid currentColor; border-top:6px solid transparent; border-bottom:6px solid transparent; }
.ins-vid.is-playing .ins-play{ opacity:0; }
.ins-dur{ position:absolute; left:12px; bottom:11px; z-index:2; font-size:12px; font-weight:500; letter-spacing:.04em; color:#FFFFFF; text-shadow:0 1px 8px rgba(0,0,0,.55); font-variant-numeric:tabular-nums; }
.ins-vid__below{ display:grid; gap:5px; padding-top:12px; }
.ins-vid__title{ font-size:clamp(16px, 1.15vw, 18px); line-height:1.25; font-weight:400; transition:color .2s; }
.ins-vid:hover .ins-vid__title{ color:var(--pa); }

/* ---------- 2. Videos: the carousel (assets/js/insights-page.js places the videos and turns it) ---------- */
.ins-car{ position:relative; }
.ins-car__track{ position:relative; height:min(72vh, 680px); height:min(72svh, 680px); isolation:isolate; touch-action:pan-y; cursor:grab; user-select:none; -webkit-user-select:none; }
.ins-car.is-dragging .ins-car__track{ cursor:grabbing; }
.ins-car.is-one .ins-car__track{ cursor:default; }
.ins-car__track img, .ins-car__track a, .ins-car__track video{ -webkit-user-drag:none; }
.ins-car__slide{ position:absolute; top:0; left:50%; height:100%; aspect-ratio:9 / 16; transform:translateX(-50%) translateX(var(--x, 0px)) scale(var(--s, 1)); opacity:var(--o, 1); z-index:var(--z, 1);
  transition:transform .65s cubic-bezier(.2,.8,.2,1), opacity .5s; }
.ins-car:not(.is-ready) .ins-car__slide:not(.is-center){ opacity:0; }   /* until the script has placed them */
.ins-car.is-dragging .ins-car__slide{ transition:none; }
.ins-car__slide .ins-vid, .ins-car__slide .ins-vid__media{ height:100%; }
.ins-car__slide .ins-vid__media{ aspect-ratio:auto; box-shadow:0 24px 60px rgba(0,0,0,.3); }
.ins-car__slide .ins-vid__media::after{ content:""; position:absolute; inset:0; z-index:3; background:rgba(20,18,18,.5); opacity:var(--dim, 1); transition:opacity .5s; pointer-events:none; }
.ins-car__slide.is-center .ins-vid__media::after{ opacity:var(--dim, 0); }
.ins-car.is-dragging .ins-car__slide .ins-vid__media::after{ transition:none; }
.ins-car__caption{ display:grid; justify-items:center; gap:10px; margin-top:28px; min-height:112px; text-align:center; }
.ins-car__title{ font-size:clamp(24px, 2.2vw, 36px); line-height:1.1; letter-spacing:-.02em; font-weight:400; }
.ins-car__ctrl{ display:flex; justify-content:center; align-items:center; gap:18px; margin-top:6px; }
.ins-car__dots{ display:flex; gap:8px; }
.ins-car__dots button{ width:8px; height:8px; border-radius:999px; background:var(--i-line); transition:width .3s, background-color .2s; }
.ins-car__dots button[aria-current="true"]{ width:22px; background:var(--pg-fg); }
.ins-arrow{ width:44px; height:44px; border:1px solid var(--i-line) !important; border-radius:50% !important; display:grid; place-items:center; transition:border-color .2s; }
.ins-arrow svg{ width:13px; height:13px; fill:currentColor; }
.ins-arrow:hover{ border-color:currentColor !important; }
@media (max-width:767.98px){ .ins-car__track{ height:min(60vh, 540px); height:min(60svh, 540px); } }

/* ---------- 3. Magazine article: a magazine page (the page opens the article; since 1.103.0 a second button opens
   the article's link, and the picture can be on the left: .is-left) ---------- */
.ins-paper{ position:relative; display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.1fr); background:var(--paper); color:#231F20; box-shadow:0 30px 70px rgba(0,0,0,.25); }
html.is-insights:not(.eon-dark) .ins-paper{ box-shadow:0 20px 50px rgba(35,31,32,.14), 0 0 0 1px rgba(35,31,32,.06); }
.ins-paper.is-left{ grid-template-columns:minmax(0, 1.1fr) minmax(0, 1fr); }
.ins-paper.is-left .ins-paper__img{ order:-1; }
.ins-paper.no-img{ grid-template-columns:minmax(0, 1fr); }
.ins-paper__txt{ display:grid; gap:18px; align-content:center; justify-items:start; padding:clamp(28px, 4vw, 64px); }
.ins-paper__mast{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; width:100%; padding-bottom:12px; border-bottom:2px solid #231F20; font-size:13px; }
.ins-paper__mast b{ font-size:clamp(18px, 1.6vw, 24px); font-weight:700; letter-spacing:-.02em; }
.ins-paper .ins-kicker{ color:#D16439; }
.ins-paper__h{ font-weight:700; font-size:clamp(34px, 3.8vw, 64px); line-height:.95; letter-spacing:-.035em; }
.ins-paper__stand{ font-size:clamp(16px, 1.2vw, 19px); line-height:1.5; color:rgba(35,31,32,.75); }
.ins-paper__img{ position:relative; min-height:440px; overflow:hidden; }
.ins-paper__img img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.2,.8,.2,1); }
.ins-paper:hover .ins-paper__img img{ transform:scale(1.03); }
/* The whole page is the title's link (its ::after covers the page); the second button, its own link, sits above it */
.ins-paper__go::after{ content:""; position:absolute; inset:0; z-index:1; }
.ins-paper__go:focus-visible{ outline:none; }
.ins-paper__go:focus-visible::after{ outline:2px solid var(--pg-fg); outline-offset:4px; }
.ins-paper__btns{ display:flex; flex-wrap:wrap; gap:12px; }
.ins-paper .ins-btn{ color:#231F20; --b-bg:#231F20; --b-fg:#FFFFFF; }
.ins-paper a.ins-btn{ position:relative; z-index:2; }
@media (max-width:767.98px){
  .ins-paper, .ins-paper.is-left{ grid-template-columns:1fr; }
  .ins-paper__img{ order:-1; min-height:240px; }   /* phones: the picture above the words, on the right or the left */
}

/* ---------- The pill button (People and Careers), its word in the site lettering ---------- */
.ins-btn{ --b-bg:var(--pg-fg); --b-fg:var(--pg-bg);
  display:inline-flex; align-items:center; column-gap:16px; padding:7px 7px 7px 22px; border:1px solid currentColor; border-radius:999px; color:inherit; background:transparent; transition:background-color .2s; }
.ins-btn__label{ --cap:var(--nav-cap); }
.ins-btn__icon{ position:relative; width:32px; height:32px; overflow:hidden; border-radius:50%; background:var(--b-bg); color:var(--b-fg); flex:none; }
.ins-btn__icon > span{ position:absolute; inset:0; display:flex; justify-content:center; align-items:center; transition:transform .42s cubic-bezier(.215,.61,.355,1); }
.ins-btn__icon > span:last-child{ transform:translateX(-100%); }
.ins-btn__icon svg{ width:12px; height:12px; fill:currentColor; }
.ins-btn:hover, a:hover .ins-btn{ background:color-mix(in srgb, currentColor 9%, transparent); }
.ins-btn:hover .ins-btn__icon > span:first-child, a:hover .ins-btn .ins-btn__icon > span:first-child{ transform:translateX(100%); }
.ins-btn:hover .ins-btn__icon > span:last-child, a:hover .ins-btn .ins-btn__icon > span:last-child{ transform:none; }
.ins-btn.is-ink{ color:#231F20; --b-bg:#231F20; --b-fg:#FFFFFF; }
/* The magazine page's buttons answer the mouse on the page (they do what the page does), but not while it is on the
   second button, which opens its own link (since 1.103.0) */
.ins-paper:hover span.ins-btn{ background:color-mix(in srgb, currentColor 9%, transparent); }
.ins-paper:hover span.ins-btn .ins-btn__icon > span:first-child{ transform:translateX(100%); }
.ins-paper:hover span.ins-btn .ins-btn__icon > span:last-child{ transform:none; }
.ins-paper:has(a.ins-btn:hover) span.ins-btn{ background:transparent; }
.ins-paper:has(a.ins-btn:hover) span.ins-btn .ins-btn__icon > span:first-child{ transform:none; }
.ins-paper:has(a.ins-btn:hover) span.ins-btn .ins-btn__icon > span:last-child{ transform:translateX(-100%); }
.ins-paper:has(a.ins-btn:hover) .ins-paper__img img{ transform:none; }

/* ---------- 4. More to read: article cards ---------- */
.ins-more .ins-h2{ margin-bottom:clamp(24px, 3vw, 40px); }
.ins-cards{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px, 2.6vw, 44px); }
.ins-art{ position:relative; display:grid; gap:14px; align-content:start; color:inherit; }
.ins-art__media{ position:relative; display:block; aspect-ratio:3 / 2; overflow:hidden; background:var(--i-card); }
.ins-art__media > img{ width:100%; height:100%; object-fit:cover; transition:transform .9s cubic-bezier(.2,.8,.2,1); }
.ins-art:hover .ins-art__media > img{ transform:scale(1.03); }
.ins-art__txt{ display:grid; gap:8px; }
.ins-art__title{ font-size:clamp(20px, 1.7vw, 28px); line-height:1.15; letter-spacing:-.012em; font-weight:400; transition:color .2s; }
.ins-art:hover .ins-art__title{ color:var(--pa); }
.ins-art__stand{ font-size:15px; line-height:1.55; color:var(--i-soft); }
/* The whole card is the title's link (its ::after covers the card); the buttons as on the magazine page (since 1.105.0):
   Read the article does what the card does, the second button opens its own link (above the card's) */
.ins-art__go::after{ content:""; position:absolute; inset:0; z-index:1; }
.ins-art__go:focus-visible{ outline:none; }
.ins-art__go:focus-visible::after{ outline:2px solid currentColor; outline-offset:6px; }
.ins-art__btns{ display:flex; flex-wrap:wrap; gap:10px; margin-top:8px; }
.ins-art a.ins-btn{ position:relative; z-index:2; }
.ins-art .ins-btn.is-ink{ color:inherit; --b-bg:var(--pg-fg); --b-fg:var(--pg-bg); }   /* the page's colours (is-ink is the magazine page's) */
.ins-art:hover span.ins-btn{ background:color-mix(in srgb, currentColor 9%, transparent); }
.ins-art:hover span.ins-btn .ins-btn__icon > span:first-child{ transform:translateX(100%); }
.ins-art:hover span.ins-btn .ins-btn__icon > span:last-child{ transform:none; }
.ins-art:has(a.ins-btn:hover) span.ins-btn{ background:transparent; }
.ins-art:has(a.ins-btn:hover) span.ins-btn .ins-btn__icon > span:first-child{ transform:none; }
.ins-art:has(a.ins-btn:hover) span.ins-btn .ins-btn__icon > span:last-child{ transform:translateX(-100%); }
.ins-art:has(a.ins-btn:hover) .ins-art__media > img{ transform:none; }
.ins-art:has(a.ins-btn:hover) .ins-art__title{ color:inherit; }
.ins-badge{ position:absolute; left:12px; top:12px; z-index:2; padding:6px 9px; background:var(--paper); color:#231F20; font-size:11px; line-height:1; font-weight:500; letter-spacing:.1em; text-transform:uppercase; }
@media (max-width:767.98px){ .ins-cards{ grid-template-columns:1fr; } }

/* ---------- An article's page ---------- */
.ins-ap__top{ display:grid; gap:20px; max-width:1240px; padding-bottom:clamp(28px, 3.5vw, 56px); }
.ins-ap__back{ display:inline-flex; align-items:center; gap:10px; justify-self:start; margin-bottom:clamp(6px, 1.6vw, 24px); font-size:13px; letter-spacing:.1em; text-transform:uppercase; font-weight:500; }
.ins-ap__back svg{ width:13px; height:13px; fill:currentColor; transition:transform .3s; }
.ins-ap__back:hover svg{ transform:scaleX(-1) translateX(4px) !important; }
.ins-ap__title{ font-weight:700; font-size:clamp(44px, 7vw, 124px); line-height:.9; letter-spacing:-.045em; max-width:14ch; }
.ins-ap__stand{ font-weight:300; font-size:clamp(20px, 2vw, 32px); line-height:1.25; max-width:880px; }
.ins-ap__meta{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px; margin-top:6px; padding-top:18px; border-top:1px solid var(--i-line); font-size:14px; color:var(--i-dim); }
.ins-ap__hero img{ width:100%; height:auto; aspect-ratio:21 / 9; object-fit:cover; background:var(--i-card); }
.ins-ap__hero figcaption{ padding-top:12px; font-size:13px; color:var(--i-dim); }
.ins-ap__body{ padding-top:clamp(40px, 5vw, 80px); }
.ins-ap__end{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding-top:clamp(24px, 3vw, 40px); }
.ins-ap__more .ins-h2{ margin-bottom:clamp(24px, 3vw, 40px); }
.ins-ap__grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:clamp(16px, 2vw, 28px); }
.ins-ap__grid .ins-vid__media, .ins-ap__grid .ins-art__media{ aspect-ratio:4 / 5; }
@media (max-width:767.98px){
  .ins-ap__hero img{ aspect-ratio:4 / 3; }
  .ins-ap__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}

/* ---------- The article's text (the editor): paragraphs, headings, lists, quotes, pictures ---------- */
.ins-body{ display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 700px) minmax(0, 1fr); }
.ins-body > *{ grid-column:2; }
.ins-body > p, .ins-body > ul, .ins-body > ol{ font-size:clamp(17px, 1.3vw, 20px); line-height:1.7; margin-bottom:1.1em; }
.ins-body > p:first-child::first-letter{ float:left; padding:8px 12px 0 0; font-size:4.6em; line-height:.8; font-weight:700; }
.ins-body > h2{ margin:1.2em 0 .5em; font-size:clamp(26px, 2.4vw, 38px); line-height:1.1; letter-spacing:-.02em; font-weight:500; }
.ins-body > h3{ margin:1.2em 0 .4em; font-size:clamp(20px, 1.7vw, 26px); line-height:1.2; font-weight:500; }
.ins-body ul{ list-style:disc; padding-left:1.2em; }
.ins-body ol{ list-style:decimal; padding-left:1.2em; }
.ins-body li + li{ margin-top:.4em; }
.ins-body a{ text-decoration:underline; text-underline-offset:3px; }
.ins-body a:hover{ color:var(--pa); }
.ins-body strong, .ins-body b{ font-weight:700; }
.ins-body em, .ins-body i{ font-style:italic; }
.ins-body > blockquote{ grid-column:1 / -1; justify-self:center; max-width:1100px; margin:clamp(24px, 4vw, 64px) 0 clamp(36px, 5vw, 80px); text-align:center; }
.ins-body > blockquote p{ font-weight:300; font-size:clamp(28px, 3.4vw, 56px); line-height:1.12; letter-spacing:-.02em; }
.ins-body > blockquote cite{ display:block; margin-top:20px; font-size:13px; letter-spacing:.1em; text-transform:uppercase; font-weight:500; color:var(--pa); }
.ins-body img{ height:auto; margin:clamp(16px, 2vw, 28px) 0; }
.ins-body figure, .ins-body .wp-caption{ max-width:100%; margin:clamp(16px, 2vw, 28px) 0; }
.ins-body figure img, .ins-body .wp-caption img{ margin:0; }
.ins-body figcaption, .ins-body .wp-caption-text{ padding-top:10px; font-size:13px; color:var(--i-dim); }
.ins-body .aligncenter{ margin-left:auto; margin-right:auto; }
.ins-body hr{ height:1px; margin:2em 0; border:0; background:var(--i-line); }
@media (max-width:767.98px){
  .ins-body{ grid-template-columns:minmax(0, 1fr); }
  .ins-body > *, .ins-body > blockquote{ grid-column:1; }
}

/* ---------- The video pop-up ---------- */
.ins-player{ position:fixed; inset:0; width:100%; height:100%; max-width:none; max-height:none; margin:0; padding:0; border:0;
  background:#141213; color:#FFFFFF; font-family:var(--font); -webkit-font-smoothing:antialiased; overflow:hidden; }
.ins-player::backdrop{ background:transparent; }
.ins-player[open]{ display:block; animation:ins-fade .3s ease; }
@keyframes ins-fade{ from{ opacity:0; } to{ opacity:1; } }
.ins-player__in{ height:100%; display:grid; grid-template-columns:minmax(64px, 1fr) auto minmax(0, 340px) minmax(64px, 1fr); align-items:center; column-gap:clamp(20px, 2.6vw, 40px); padding:28px 0; }
.ins-player button{ font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer; }
.ins-player__x{ position:absolute; top:18px; right:18px; z-index:5; width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:rgba(255,255,255,.12) !important; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); transition:background-color .2s; }
.ins-player__x:hover{ background:rgba(255,255,255,.22) !important; }
.ins-player__x svg{ width:16px; height:16px; stroke:currentColor; stroke-width:1.8; fill:none; }
.ins-player__nav{ width:52px; height:52px; border-radius:50%; display:grid; place-items:center; border:1px solid rgba(255,255,255,.3) !important; transition:border-color .2s, background-color .2s; }
.ins-player__nav:hover{ border-color:#FFFFFF !important; background:rgba(255,255,255,.08) !important; }
.ins-player__nav svg{ width:14px; height:14px; fill:currentColor; }
.ins-player__nav.is-prev{ justify-self:end; grid-column:1; grid-row:1; }
.ins-player__nav.is-next{ justify-self:start; grid-column:4; grid-row:1; }
.ins-player__frame{ grid-column:2; grid-row:1; position:relative; height:min(86vh, 880px); height:min(86dvh, 880px); aspect-ratio:9 / 16; overflow:hidden; background:#000; border-radius:6px; }
.ins-player__frame video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.ins-player__tap{ position:absolute !important; inset:0; z-index:1; }
.ins-player__bars{ position:absolute; left:12px; right:12px; top:12px; z-index:3; display:flex; gap:4px; }
.ins-player__bars span{ flex:1; height:2px; background:rgba(255,255,255,.3); overflow:hidden; border-radius:2px; }
.ins-player__bars i{ display:block; height:100%; width:0; background:#FFFFFF; }
.ins-player__state{ position:absolute; left:50%; top:50%; z-index:2; width:68px; height:68px; margin:-34px 0 0 -34px; border-radius:50%; display:grid; place-items:center;
  background:rgba(20,18,18,.5); opacity:0; transform:scale(.8); transition:opacity .25s, transform .25s; pointer-events:none; }
.ins-player__state::before{ content:""; width:16px; height:20px; border-left:5px solid #FFFFFF; border-right:5px solid #FFFFFF; }
.ins-player.is-paused .ins-player__state{ opacity:1; transform:none; }
.ins-player.is-paused .ins-player__state::before{ width:0; height:0; margin-left:6px; border-right:0; border-left:18px solid #FFFFFF; border-top:11px solid transparent; border-bottom:11px solid transparent; }
.ins-player__sound{ position:absolute !important; right:12px; bottom:12px; z-index:3; display:inline-flex; align-items:center; gap:8px; padding:8px 12px !important; border-radius:999px; background:rgba(20,18,18,.5) !important; font-size:12px !important; letter-spacing:.04em; }
.ins-player__sound svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.6; }
.ins-player__sound[aria-pressed="false"] svg path:last-child{ opacity:.25; }
.ins-player__over{ display:none; }
.ins-player__info{ grid-column:3; grid-row:1; align-self:end; display:grid; gap:14px; padding-bottom:12px; }
.ins-player__kick{ margin:0; font-size:12px; letter-spacing:.1em; text-transform:uppercase; font-weight:500; color:rgba(255,255,255,.65); }
.ins-player__title{ margin:0; font-size:clamp(24px, 2vw, 32px); line-height:1.1; font-weight:400; letter-spacing:-.015em; }
.ins-player__text{ margin:0; font-size:15px; line-height:1.55; color:rgba(255,255,255,.78); }
.ins-player__text:empty{ display:none; }
.ins-player__info .ins-link{ justify-self:start; color:#FFFFFF; text-decoration:none; }
.ins-player__count{ margin:6px 0 0; font-size:13px; color:rgba(255,255,255,.55); font-variant-numeric:tabular-nums; }
@media (max-width:767.98px){
  .ins-player{ background:#000; }
  .ins-player__in{ display:block; padding:0; }
  .ins-player__frame{ position:absolute; inset:0; height:auto; aspect-ratio:auto; border-radius:0; }
  .ins-player__info{ display:none; }
  .ins-player__over{ position:absolute; left:0; right:0; bottom:0; z-index:2; display:grid; gap:8px; padding:80px 110px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
    background:linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.75)); pointer-events:none; }
  .ins-player__over b{ font-weight:400; font-size:21px; line-height:1.15; }
  .ins-player__over span{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-weight:500; color:rgba(255,255,255,.75); }
  .ins-player__over a{ pointer-events:auto; justify-self:start; font-size:13px; font-weight:500; border-bottom:1px solid currentColor; color:#FFFFFF; text-decoration:none; }
  .ins-player__nav{ position:absolute !important; z-index:4; bottom:calc(24px + env(safe-area-inset-bottom, 0px)); width:44px; height:44px; background:rgba(20,18,18,.45) !important; }
  .ins-player__nav.is-prev{ right:70px; }
  .ins-player__nav.is-next{ right:18px; }
  .ins-player__sound{ top:58px; bottom:auto; right:16px; }
  .ins-player__x{ top:14px; right:14px; background:rgba(20,18,18,.5) !important; }
  .ins-player__bars{ top:max(10px, env(safe-area-inset-top, 0px)); right:76px; }
}
@media (prefers-reduced-motion: reduce){
  .ins-car__slide, .ins-vid__media > img, .ins-paper__img img, .ins-art__media > img, .ins-btn__icon > span{ transition:none; }
  .ins-slide{ transition-duration:.4s; }   /* the slider: a short fade, no zoom */
  .ins-slider .ins-slide img{ animation:none !important; }
  .ins-news.is-ready .ins-news__track{ animation:none; }   /* the news line still: slid sideways by hand */
  .ins-news__view{ overflow-x:auto; -webkit-mask-image:none; mask-image:none; }
  .ins-news__copy, .ins-news__pause{ display:none; }
  .ins-news__label::before{ animation:none; }
}
