/* Insights: list + article. Scoped under .ins so nothing else on the site moves. */

.ins {
  background: #fff;
  color: #272727;
  letter-spacing: 0;
}

.ins .ins-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------- hero */
.ins .ins-hero {
  background: #0c1219;
  background-image:
    radial-gradient(1100px 420px at 18% -10%, rgba(0, 189, 255, .16), transparent 62%),
    radial-gradient(760px 380px at 88% 0%, rgba(31, 78, 121, .38), transparent 66%);
  color: #fff;
  padding: 142px 0 62px;
}

.ins .ins-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #7fd8f5;
}

.ins .ins-hero h1 {
  margin: 0 0 18px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 52px;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0;
}

.ins .ins-hero p {
  margin: 0;
  max-width: 660px;
  font-size: 17px;
  line-height: 1.72;
  color: #c2ccd8;
}

/* ---------------------------------------------------------------- list */
.ins .ins-list {
  padding: 56px 0 72px;
}

.ins .ins-feature {
  padding-bottom: 52px;
  margin-bottom: 46px;
  border-bottom: 1px solid #e8ebef;
}

.ins article.ins-feature > a {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 46px;
  align-items: center;
}

.ins .ins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px 32px;
}

.ins .ins-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ins .ins-thumb {
  overflow: hidden;
  background: #eef1f4;
  aspect-ratio: 16 / 10;
}

.ins .ins-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.ins .ins-card a:hover .ins-thumb img { transform: scale(1.035); }

.ins .ins-meta {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8a94a3;
}

.ins .ins-meta span { color: #b9c1cb; padding: 0 7px; }

.ins .ins-card h2 {
  margin: 0 0 10px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 23px;
  line-height: 1.32;
  color: #14181d;
  letter-spacing: 0;
  transition: color .2s ease;
}

.ins .ins-card a:hover h2 { color: #1f6f9c; }

.ins .ins-card p.ins-stand {
  margin: 0;
  font-size: 15px;
  line-height: 1.66;
  color: #4d5765;
}

.ins .ins-feature .ins-thumb { aspect-ratio: 16 / 9; }

.ins .ins-feature h2 {
  font-size: 34px;
  line-height: 1.24;
}

.ins .ins-feature p.ins-stand {
  font-size: 16.5px;
  color: #46505e;
}

.ins .ins-read {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #1f6f9c;
  border-bottom: 1px solid rgba(31, 111, 156, .35);
  padding-bottom: 3px;
}

.ins .ins-card a:hover .ins-read { border-bottom-color: #1f6f9c; }

/* ---------------------------------------------------------------- pager */
.ins .ins-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 64px 0 0;
  padding-top: 40px;
  border-top: 1px solid #e8ebef;
}

.ins .ins-pager a,
.ins .ins-pager span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #3b4552;
  text-decoration: none;
  border: 1px solid #dfe4ea;
  transition: all .18s ease;
}

.ins .ins-pager a:hover { border-color: #1f6f9c; color: #1f6f9c; }
.ins .ins-pager span.ins-current { background: #0c1219; border-color: #0c1219; color: #fff; }
.ins .ins-pager span.ins-gap { border: 0; color: #a8b2be; min-width: 18px; padding: 0; }

/* ---------------------------------------------------------------- article */
.ins .art-hero {
  background: #0c1219;
  background-image:
    radial-gradient(900px 340px at 22% -20%, rgba(0, 189, 255, .14), transparent 62%),
    radial-gradient(680px 320px at 92% 0%, rgba(31, 78, 121, .34), transparent 66%);
  padding: 136px 0 54px;
}

.ins .art-head {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.ins .art-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7fd8f5;
}

.ins .art-title {
  margin: 0 0 22px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 44px;
  line-height: 1.16;
  color: #ffffff;
  letter-spacing: 0;
}

.ins .art-stand {
  margin: 0 0 26px;
  font-size: 19px;
  line-height: 1.6;
  color: #c2ccd8;
}

.ins .art-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 11.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9aa7b6;
}

.ins .art-cover {
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.ins .art-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.ins .art-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 24px 0;
  font-size: 17.5px;
  line-height: 1.8;
  color: #262c34;
}

.ins .art-body p { margin: 0 0 22px; }

.ins .art-body h2 {
  margin: 46px 0 16px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 27px;
  line-height: 1.3;
  color: #11161c;
  letter-spacing: 0;
}

.ins .art-body h3 {
  margin: 32px 0 12px;
  font-size: 20px;
  line-height: 1.4;
  color: #11161c;
}

.ins .art-body ul,
.ins .art-body ol { margin: 0 0 24px; padding-left: 26px; }

/* common.css resets every <ul> to list-style:none for the menu bars, which also
   stripped the bullets out of article bodies — put them back, scoped to content */
.ins .art-body ul { list-style: disc outside; }
.ins .art-body ul ul { list-style: circle outside; }
.ins .art-body ul ul ul { list-style: square outside; }
.ins .art-body ol { list-style: decimal outside; }

.ins .art-body li { margin: 0 0 11px; padding-left: 2px; }

.ins .art-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid #1f6f9c;
  font-size: 20px;
  line-height: 1.6;
  color: #33404f;
}

.ins .art-body img { max-width: 100%; height: auto; }

.ins .art-body a { color: #1f6f9c; border-bottom: 1px solid rgba(31, 111, 156, .35); text-decoration: none; }
.ins .art-body a:hover { border-bottom-color: #1f6f9c; }

/* --- inline diagrams ---------------------------------------------------- */

.ins .art-fig {
  /* .art-body carries 24px of side padding, which squeezed the diagram to 712px and scaled
     its 13.5px type down to 12.6. Cancel the padding so the drawing renders at the 760px it
     was designed at. */
  margin: 38px -24px 42px;
}

.ins .art-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.ins .art-fig figcaption {
  /* the left rule separates the caption from the diagram's own small grey labels,
     which are the same size and would otherwise read as part of the drawing */
  margin-top: 16px;
  padding-left: 13px;
  border-left: 2px solid #e6eaef;
  font-size: 12.5px;
  line-height: 1.6;
  color: #7e8794;
}

.ins .art-fig .fig-swipe { display: none; }

@media (max-width: 760px) {
  /* The diagrams are drawn at 760px so their type stays at its intended size on desktop.
     Below that they would shrink to roughly 5px, so keep the canvas and let it scroll
     sideways rather than scale into illegibility. */
  .ins .art-fig {
    margin: 30px -24px 34px;
  }
  .ins .art-fig .fig-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .ins .art-fig img {
    width: 720px;
    max-width: none;
  }
  .ins .art-fig .fig-swipe {
    display: block;
    margin-bottom: 7px;
    font-size: 10.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8a94a3;
  }
}

.ins .art-cta {
  max-width: 760px;
  margin: 56px auto 0;
  padding: 32px 34px;
  background: #f6f8fa;
  border: 1px solid #e6eaef;
}

.ins .art-cta p {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #8a94a3;
}

.ins .art-cta h3 {
  margin: 0 0 14px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.35;
  color: #11161c;
}

.ins .art-cta a.ins-btn {
  display: inline-block;
  padding: 13px 26px;
  border: 1px solid #0c1219;
  color: #0c1219;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: all .2s ease;
}

.ins .art-cta a.ins-btn:hover { background: #0c1219; color: #fff; }

.ins .art-back {
  max-width: 760px;
  margin: 34px auto 0;
  /* bottom padding is what separates the back link from the grey related band:
     the band is the next <section>, so a margin here would collapse through it */
  padding: 0 24px 56px;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.ins .art-back a { color: #8a94a3; text-decoration: none; }
.ins .art-back a:hover { color: #1f6f9c; }

.ins .art-more {
  /* The grey behind this band is the global `section{background:#f7f7f7}` rule in
     theme.css — .ins-wrap *is* a <section>. So every pixel of padding added in here
     grew more grey, never a gap: that is why 140px still read as "flush against
     CONTACT US". Keep the band tight and put the breathing room outside it.
     Then 64/56 still framed the cards in more grey than the cards themselves. Measured
     to the ink, not to the box: the label's line box already adds ~14px above its caps,
     and each card trails a 10px title margin plus a descender. So an equal 40/40 read as
     54px above and 72px below. These values even the two gaps optically at ~50/~54. */
  margin-top: 0;
  padding: 36px 0 22px;
}

/* White space between the grey band and the dark CONTACT US strip. It has to live on
   the <section> itself: .ins-wrap is the last child of .ins, and the dark strip sits
   outside .ins, so a margin here opens a gap on the page background instead of
   stretching the grey. Guarded by :last-child so pages without related posts skip it. */
.ins > section.ins-wrap:last-child {
  margin-bottom: 96px;
}

.ins .art-more h2 {
  margin: 0 0 30px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 22px;
  color: #11161c;
}

.ins .art-more .ins-grid { grid-template-columns: repeat(3, 1fr); }
.ins .art-more .ins-card h2 { font-size: 19px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 991px) {
  .ins .ins-hero { padding: 118px 0 46px; }
  .ins .ins-hero h1 { font-size: 40px; }
  .ins article.ins-feature > a { grid-template-columns: 1fr; gap: 26px; }
  .ins .ins-feature h2 { font-size: 28px; }
  .ins .ins-grid { grid-template-columns: repeat(2, 1fr); gap: 38px 24px; }
  .ins .art-title { font-size: 34px; }
  .ins .art-hero { padding-top: 118px; }
}

@media (max-width: 640px) {
  .ins .ins-hero h1 { font-size: 32px; }
  .ins .ins-hero p { font-size: 15.5px; }
  .ins .ins-grid,
  .ins .art-more .ins-grid { grid-template-columns: 1fr; gap: 34px; }
  .ins .art-back { padding-bottom: 40px; }
  .ins .art-more { padding: 26px 0 10px; }
  .ins > section.ins-wrap:last-child { margin-bottom: 56px; }
  .ins .ins-feature h2 { font-size: 24px; }
  .ins .art-title { font-size: 27px; line-height: 1.24; }
  .ins .art-stand { font-size: 16.5px; }
  .ins .art-body { font-size: 16.5px; padding-top: 36px; }
  .ins .art-body h2 { font-size: 22px; }
  .ins .art-cta { padding: 26px 22px; }
}

/* --- byline in the hero ------------------------------------------------ */

.ins .art-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .34);
  transition: color .2s ease, border-color .2s ease;
}

.ins .art-meta a:hover { color: #fff; border-bottom-color: #fff; }

/* --- author card ------------------------------------------------------- */

.ins .art-author {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 760px;
  margin: 46px auto 0;
  padding: 26px 30px;
  background: #fbfcfd;
  border-top: 1px solid #e6eaef;
  border-bottom: 1px solid #e6eaef;
}

.ins .art-author .art-avatar {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #0c1219;
  box-shadow: 0 0 0 1px rgba(12, 18, 25, .08);
}

.ins .art-author .art-author-txt { flex: 1 1 auto; min-width: 0; }

.ins .art-author .art-author-name {
  margin: 0 0 5px;
  font-family: 'Brandon-Bold', Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.3;
  color: #11161c;
}

.ins .art-author .art-author-name a {
  color: #11161c;
  text-decoration: none;
  border-bottom: 1px solid rgba(31, 111, 156, .4);
}

.ins .art-author .art-author-name a:hover {
  color: #1f6f9c;
  border-bottom-color: #1f6f9c;
}

.ins .art-author .art-author-cred {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #7b8594;
}

.ins .art-author .art-author-bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #4a5462;
}

.ins .art-author .art-linkedin {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #1f6f9c;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.ins .art-author .art-linkedin:hover { color: #0c1219; border-bottom-color: #0c1219; }

@media (max-width: 640px) {
  .ins .art-author { padding: 22px 20px; gap: 15px; }
  .ins .art-author .art-avatar { flex: 0 0 46px; width: 46px; height: 46px; }
  .ins .art-author .art-author-name { font-size: 17px; }
  .ins .art-author .art-author-bio { font-size: 14.5px; }
}
