/* =========================================================
   01. Article Feature Showcase
   Heading + image top row, supporting copy below.
========================================================= */

.article-feature-showcase {
  overflow: hidden;
}

.article-feature-showcase__top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 28px;
}

.article-feature-showcase__heading {
  min-width: 0;
}

.article-feature-showcase__heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.article-feature-showcase__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 26, 51, 0.1);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(10, 26, 51, 0.12);
}

.article-feature-showcase__media img {
  width: 100%;
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  display: block;
}

.article-feature-showcase__copy {
  display: grid;
  gap: 16px;
  max-width: 92ch;
}

.article-feature-showcase__copy p {
  margin: 0;
}

@media (max-width: 980px) {
  .article-feature-showcase__top {
    grid-template-columns: 1fr;
  }

  .article-feature-showcase__heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .article-feature-showcase__top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .article-feature-showcase__media {
    border-radius: 20px;
  }
}

/* =========================================================
   02. Article Proof Showcase
   Heading + image top row, proof copy below.
========================================================= */

.article-proof-showcase {
  position: relative;
  overflow: hidden;
}

.article-proof-showcase::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2f7fda, #3fd0c9);
  opacity: 0.95;
}

.article-proof-showcase__top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 28px;
}

.article-proof-showcase__heading,
.article-proof-showcase__media {
  min-width: 0;
}

.article-proof-showcase__heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.article-proof-showcase__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 26, 51, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(47, 127, 218, 0.35), rgba(63, 208, 201, 0.22))
      border-box;
  box-shadow: 0 18px 42px rgba(10, 26, 51, 0.13);
}

.article-proof-showcase__media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  display: block;
}

.article-proof-showcase__copy {
  display: grid;
  gap: 16px;
  max-width: 92ch;
}

.article-proof-showcase__copy p {
  margin: 0;
}

.article-proof-showcase__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.article-proof-showcase__stat {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(47, 127, 218, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fd 100%);
}

.article-proof-showcase__stat strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Sora', 'Poppins', sans-serif;
  font-size: 1.12rem;
  line-height: 1.15;
  color: #0b1d3a;
}

.article-proof-showcase__stat span {
  display: block;
  font-family: 'Manrope', 'Poppins', sans-serif;
  font-size: 0.84rem;
  line-height: 1.35;
  color: #536174;
}

@media (max-width: 980px) {
  .article-proof-showcase__top {
    grid-template-columns: 1fr;
  }

  .article-proof-showcase__heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .article-proof-showcase__top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .article-proof-showcase__media {
    border-radius: 18px;
  }

  .article-proof-showcase__stats {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   03. Article Split Showcase
   Heading + image top row, supporting copy below.
========================================================= */

.article-split-showcase {
  position: relative;
  overflow: hidden;
}

.article-split-showcase::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2f7fda, #3fd0c9);
  opacity: 0.95;
}

.article-split-showcase__top {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 28px;
}

.article-split-showcase__media,
.article-split-showcase__heading {
  min-width: 0;
}

.article-split-showcase__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 26, 51, 0.1);
  border-radius: 22px;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(47, 127, 218, 0.35), rgba(63, 208, 201, 0.22))
      border-box;
  box-shadow: 0 18px 42px rgba(10, 26, 51, 0.13);
}

.article-split-showcase__media img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  display: block;
}

.article-split-showcase__heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
}

.article-split-showcase__copy {
  display: grid;
  gap: 16px;
  max-width: 92ch;
}

.article-split-showcase__copy p {
  margin: 0;
}

.article-split-showcase__list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.article-split-showcase__list li {
  position: relative;
  padding-left: 22px;
}

.article-split-showcase__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7ae5;
}

@media (max-width: 980px) {
  .article-split-showcase__top {
    grid-template-columns: 1fr;
  }

  .article-split-showcase__heading h2 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .article-split-showcase__top {
    gap: 24px;
    margin-bottom: 24px;
  }

  .article-split-showcase__media {
    border-radius: 18px;
  }
}

/* =========================================================
   04. Article Asset Wrapper
   Shared card treatment for article feature assets.
========================================================= */

.article-section.article-feature-showcase,
.article-section.article-proof-showcase,
.article-section.article-split-showcase {
  position: relative;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(10, 26, 51, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 251, 255, 0.98)
    ),
    linear-gradient(135deg, rgba(47, 127, 218, 0.08), rgba(63, 208, 201, 0.08));
  box-shadow: 0 18px 45px rgba(10, 26, 51, 0.08);
}

.article-section.article-feature-showcase::before,
.article-section.article-proof-showcase::before,
.article-section.article-split-showcase::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2f7fda, #3fd0c9);
  opacity: 0.95;
}

@media (max-width: 720px) {
  .article-section.article-feature-showcase,
  .article-section.article-proof-showcase,
  .article-section.article-split-showcase {
    padding: 28px 20px;
    border-radius: 22px;
  }
}

/* =========================================================
   05. Article Image Blend Variant
   Lets selected proof images fade into the card surface.
========================================================= */

.article-section.article-asset--image-blend,
.article-section.article-proof-showcase--image-blend {
  isolation: isolate;
  min-height: 620px;
  padding: 42px 48px 34px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(247, 251, 255, 0.98)
    ),
    linear-gradient(135deg, rgba(47, 127, 218, 0.08), rgba(63, 208, 201, 0.08));
}

.article-section.article-asset--image-blend::before,
.article-section.article-proof-showcase--image-blend::before {
  z-index: 4;
}

.article-asset--image-blend .article-proof-showcase__top,
.article-proof-showcase--image-blend .article-proof-showcase__top {
  position: relative;
  display: block;
  min-height: 268px;
  margin-bottom: 0;
}

.article-asset--image-blend .article-proof-showcase__heading,
.article-proof-showcase--image-blend .article-proof-showcase__heading {
  position: relative;
  z-index: 3;
  max-width: 350px;
  padding-top: 8px;
}

.article-asset--image-blend .article-proof-showcase__heading h2,
.article-proof-showcase--image-blend .article-proof-showcase__heading h2 {
  max-width: 10ch;
  font-size: clamp(1.95rem, 3.1vw, 2.85rem);
  line-height: 1.06;
}

.article-asset--long-heading .article-proof-showcase__heading {
  max-width: min(430px, 52%);
}

.article-asset--long-heading .article-proof-showcase__heading h2 {
  max-width: 12ch;
  font-size: clamp(1.75rem, 2.85vw, 2.35rem);
  line-height: 1.06;
}

.article-asset--image-blend .article-proof-showcase__media,
.article-proof-showcase--image-blend .article-proof-showcase__media {
  position: absolute;
  z-index: 1;
  inset: -26px -30px auto;
  width: auto;
  height: calc(100% + 36px);
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px 22px 0 0;
  background: transparent;
  box-shadow: none;
}

.article-asset--image-blend .article-proof-showcase__media::before,
.article-proof-showcase--image-blend .article-proof-showcase__media::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.98) 15%,
      rgba(255, 255, 255, 0.72) 31%,
      rgba(255, 255, 255, 0.22) 48%,
      rgba(255, 255, 255, 0) 64%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 43%,
      rgba(255, 255, 255, 0.38) 73%,
      rgba(255, 255, 255, 0.9) 95%,
      rgba(255, 255, 255, 1) 100%
    );
  pointer-events: none;
}

.article-asset--image-blend .article-proof-showcase__media img,
.article-proof-showcase--image-blend .article-proof-showcase__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: right center;
  box-shadow: none;
}

.article-asset--image-blend .article-proof-showcase__copy,
.article-proof-showcase--image-blend .article-proof-showcase__copy {
  position: relative;
  z-index: 3;
  max-width: 88ch;
  padding-top: 4px;
}

.article-asset--image-blend .article-proof-showcase__stats,
.article-proof-showcase--image-blend .article-proof-showcase__stats {
  margin-top: 24px;
}

@media (max-width: 980px) {
  .article-section.article-asset--image-blend,
  .article-section.article-proof-showcase--image-blend {
    min-height: 0;
  }

  .article-asset--image-blend .article-proof-showcase__top,
  .article-proof-showcase--image-blend .article-proof-showcase__top {
    display: grid;
    min-height: 0;
    margin-bottom: 28px;
  }

  .article-asset--image-blend .article-proof-showcase__heading,
  .article-proof-showcase--image-blend .article-proof-showcase__heading {
    max-width: none;
    padding-top: 0;
  }

  .article-asset--image-blend .article-proof-showcase__heading h2,
  .article-proof-showcase--image-blend .article-proof-showcase__heading h2 {
    max-width: none;
  }

  .article-asset--image-blend .article-proof-showcase__media,
  .article-proof-showcase--image-blend .article-proof-showcase__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(10, 26, 51, 0.1);
    border-radius: 18px;
    box-shadow: 0 18px 42px rgba(10, 26, 51, 0.13);
  }

  .article-asset--image-blend .article-proof-showcase__media::before,
  .article-proof-showcase--image-blend .article-proof-showcase__media::before {
    display: none;
  }

  .article-asset--image-blend .article-proof-showcase__media img,
  .article-proof-showcase--image-blend .article-proof-showcase__media img {
    height: auto;
    aspect-ratio: 1.35 / 1;
    border-radius: inherit;
  }
}

/* =========================================================
   06. Article Sidebar
   Shared right rail for article pages.
========================================================= */

body.page-services .article-aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
  align-self: start;
  max-height: calc(100vh - 132px);
  overflow-y: auto;
  padding-right: 6px;
  background: #ffffff;
  scrollbar-width: thin;
}

body.page-services .article-aside__box {
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(10, 26, 51, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 38px rgba(10, 26, 51, 0.075);
}

body.page-services .article-aside__box--cta {
  border-color: rgba(47, 127, 218, 0.2);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(245, 250, 255, 0.98)
    ),
    linear-gradient(135deg, rgba(47, 127, 218, 0.1), rgba(63, 208, 201, 0.08));
}

body.page-services .article-aside__box--cta p {
  margin-bottom: 14px;
}

body.page-services .article-aside__box h3 {
  margin: 0 0 10px;
  color: #0a1a33;
  font-family: 'Sora', 'Poppins', sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.page-services .article-aside__box p,
body.page-services .article-aside__box li {
  margin: 0;
  color: #5f6c7b;
  font-family: 'Manrope', 'Poppins', sans-serif;
  font-size: 0.92rem;
  line-height: 1.55;
}

body.page-services .article-aside__meta {
  display: grid;
  gap: 10px;
}

body.page-services .article-aside__meta div {
  display: grid;
  gap: 3px;
}

body.page-services .article-aside__meta span {
  color: #7b8796;
  font-family: 'Manrope', 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

body.page-services .article-aside__meta strong {
  color: #0a1a33;
  font-family: 'Sora', 'Poppins', sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.3;
}

body.page-services .article-aside__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.page-services .article-aside__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(47, 127, 218, 0.16);
  border-radius: 999px;
  background: #f2f7fd;
  color: #29425f;
  font-family: 'Manrope', 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
}

body.page-services .article-aside__box ul {
  margin: 0;
  padding-left: 18px;
}

body.page-services .article-aside__box li + li {
  margin-top: 2px;
}

body.page-services .article-aside__box a {
  color: #1f6feb;
  font-weight: 800;
  text-decoration: none;
}

body.page-services .article-aside__box a:hover {
  text-decoration: underline;
}

body.page-services .article-aside__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid rgba(47, 127, 218, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, #2f8cff 0%, #1f6feb 100%);
  color: #ffffff !important;
  font-family: 'Manrope', 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 12px 24px rgba(31, 111, 235, 0.18);
  transition:
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

body.page-services .article-aside__button:hover {
  box-shadow: 0 14px 28px rgba(31, 111, 235, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  body.page-services .article-aside {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-height: none;
    overflow: visible;
    padding-right: 0;
    background: transparent;
  }
}

@media (max-width: 760px) {
  body.page-services .article-aside {
    grid-template-columns: 1fr;
  }
}
