/* Match the ordinary hero's fallback wrapping while its local Work Sans loads.
   Explicit line heights retain the final geometry; no category-count-dependent heights. */
@font-face {
  font-family: 'D030 Article Fallback';
  src: local('Arial');
  size-adjust: 110%;
}

.d030-article-hero--ordinary .d030-article-meta,
.d030-article-hero--ordinary .d030-article-hero__excerpt {
  font-family: 'Work Sans', 'D030 Article Fallback', sans-serif;
}

.d030-article {
  --d030-article-dark: #111112;
  --d030-article-light: #f6f6f8;
  --d030-article-accent: #5965e3;
  --d030-article-lime: #cdf7ad;
  --d030-article-border: #d1d1d1;
  background: var(--d030-article-light);
  color: var(--d030-article-dark);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow: clip;
}

.site-main:has(> .d030-article) {
  padding-block: 0;
}

.d030-article a {
  color: inherit;
}

.d030-article-hero {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 64px;
  padding: 80px;
  border-radius: 64px;
  background: var(--d030-article-dark);
}

.d030-article-hero__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.d030-article-hero__title {
  order: 2;
  margin: 0;
  color: var(--d030-article-accent);
  background: linear-gradient(90deg, #5965e3, #cdf7ad, #5965e3);
  background-size: 1600px 200px;
  background-clip: text;
  -webkit-background-clip: text;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  -webkit-text-fill-color: transparent;
  animation: d030-article-gradient-title 4s linear infinite forwards;
}

.d030-article-hero__excerpt {
  order: 3;
  margin: 16px 0 0;
  color: var(--d030-article-light);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.d030-article-meta {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  margin: 0 0 16px;
  color: var(--d030-article-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.d030-article-hero--ordinary .d030-article-meta {
  gap: 14px;
}

.d030-article-meta__categories {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 6px;
  width: max-content;
  max-width: 100%;
}

.d030-article-meta__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 24px;
  border: 1px solid var(--d030-article-light);
  border-radius: 999px;
  background: transparent;
  white-space: nowrap;
}

.d030-article-meta__date {
  color: var(--d030-article-light);
  line-height: 1.65;
}

.d030-article-hero__media {
  margin: 0;
}

.d030-article-hero__image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: cover;
}

@keyframes d030-article-gradient-title {
  0% {
    background-position: 0 1600px;
  }
  100% {
    background-position: 1600px 0;
  }
}

.d030-article-layout {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding-top: 64px;
  display: grid;
  grid-template-columns: 340px minmax(0, 794px);
  gap: 110px;
  align-items: start;
}

.d030-article-sidebar {
  position: sticky;
  top: 81px;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 340px;
}

.d030-article-sidebar__author {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
}

.d030-article-sidebar__author .d030-article-author,
.d030-article-author {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.d030-article-author__image {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.d030-article-author__name {
  display: block;
  color: var(--d030-article-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.d030-article-sidebar .d030-article-author__name {
  display: inline;
  color: #1b1c1f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  text-decoration: none;
}

.d030-article-sidebar__author a {
  text-decoration: none;
}

.d030-article-author__role {
  margin-top: 4px;
  color: rgba(17, 17, 18, .55);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.d030-article-sidebar .d030-article-author__role {
  display: block;
  margin-top: 0;
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
}

.d030-article-sidebar__author .d030-article-author > div {
  font-size: 17px;
  line-height: 1.65;
}

.d030-article-progress {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 17, 18, .11);
}

.d030-article-progress span {
  display: block;
  width: var(--d030-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--d030-article-accent);
}

.d030-article-reading-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 6px 0 0;
  color: #2e2e31;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.65;
}

.d030-article-reading-time::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(#f6f6f8, #f6f6f8) center 3px / 1px 4px no-repeat,
    linear-gradient(35deg, transparent 40%, #f6f6f8 40% 60%, transparent 60%) 7px 6px / 4px 4px no-repeat,
    currentColor;
}

.d030-article-toc {
  margin-top: 30px;
  padding: 24px 24px 32px;
  border-radius: 24px;
  background: #fff;
  color: var(--d030-article-dark);
}

.d030-article-toc__title {
  margin: 0 0 24px;
  color: #6f6f6f;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}

.d030-article-toc__list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: d030ArticleToc;
}

.d030-article-toc__item {
  min-width: 0;
  counter-increment: d030ArticleToc;
}

.d030-article .d030-article-toc__link {
  position: relative;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #aeaeae;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  min-width: 0;
}


.d030-article .d030-article-toc__link span:last-child {
  min-width: 0;
  white-space: inherit;
}
.d030-article .d030-article-toc__link::before {
  content: '';
  position: absolute;
  inset: 3px auto 3px -24px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

.d030-article .d030-article-toc__link.is-active {
  color: #1b1c1f;
}

.d030-article .d030-article-toc__link.is-active::before {
  background: var(--d030-article-accent);
}

.d030-article .d030-article-toc__number {
  color: inherit;
  font-weight: 700;
  font-variant-numeric: normal;
}

.d030-article-sidebar-cta {
  display: block;
  margin-top: 30px;
  padding: 30px;
  border-radius: 32px;
  background: var(--d030-article-dark);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.65;
}

.d030-article-sidebar-cta span {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.d030-article-sidebar-cta strong {
  display: inline-block;
  overflow: hidden;
  width: 280px;
  max-width: 100%;
  min-height: 60px;
  margin-top: 16px;
  padding: 22px 30px;
  border-radius: 999px;
  background: #fff;
  color: var(--d030-article-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

/* The reference's 600 declarations resolve through its available 700 font face. */
.d030-article-sidebar .d030-article-author__name,
.d030-article-reading-time,
.d030-article-sidebar-cta span {
  font-variation-settings: 'wght' 700;
}

.d030-article-main {
  position: relative;
  min-width: 0;
}

.d030-article-content,
.editor-styles-wrapper .d030-article-content,
.d030-article-prose,
.editor-styles-wrapper .d030-article-prose {
  color: var(--d030-article-dark);
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.d030-article-prose > * {
  margin-block: 0 24px;
}

.d030-article-prose > :last-child {
  margin-bottom: 0;
}

.d030-article--ordinary .d030-article-prose {
  display: flow-root;
}

.d030-article--ordinary .d030-article-prose > p {
  margin-block: 24px;
}

.d030-article-prose p,
.d030-article-prose li {
  color: #1c1c1e;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.d030-article--ordinary .d030-article-prose p,
.d030-article--ordinary .d030-article-prose li {
  color: #3b3b3f;
}

.d030-article-prose ul,
.d030-article-prose ol {
  padding-left: 48px;
}

.d030-article-prose a {
  color: var(--d030-article-accent);
}

.d030-article--ordinary .d030-article-prose a {
  font-weight: 500;
}

.d030-article-prose img,
.d030-article-prose iframe {
  border-radius: 24px;
}

.d030-article-prose blockquote {
  margin: 32px 0;
  padding: 32px;
  border: 0;
  border-radius: 32px;
  background: var(--d030-article-lime);
  color: var(--d030-article-dark);
}

.d030-article-prose .wp-block-separator {
  margin: 25px 0 40px;
  border: 0;
  border-top: 2px solid rgba(17, 17, 18, .82);
}

.d030-article-numbered-heading {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 45px 0 24px;
  color: #1c1c1e;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  counter-increment: d030ArticleHeading;
}

.d030-article-prose {
  counter-reset: d030ArticleHeading;
}

.d030-article-heading-text {
  display: block;
  min-width: 0;
}

.d030-article-numbered-heading::before {
  content: counter(d030ArticleHeading);
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--d030-article-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.d030-article--ordinary .d030-article-numbered-heading::before {
  background: #1c1c1e;
  font-size: 24px;
  line-height: normal;
  font-variant-numeric: normal;
}

.d030-article-share-rail {
  position: absolute;
  top: 0;
  right: -76px;
}

.d030-article-share-rail::before {
  content: 'Share';
  display: block;
  margin-bottom: 10px;
  color: var(--d030-article-dark);
  font-size: 14px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
}

.d030-article-share {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.d030-article-share__link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--d030-article-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(17, 17, 18, .045);
}

.d030-article-share__link svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.d030-article--ordinary .d030-article-share__link {
  box-shadow: none;
}

.d030-article-share-bottom {
  display: none;
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
}

.d030-article-share-bottom__label {
  margin-bottom: 4px;
}

.d030-article-share-bottom__title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.d030-article-mobile-cta-slot {
  display: none;
  position: relative;
  font-size: 16px;
  line-height: 1.65;
}

/* Retain the inline button's exact flow height while its wrapper follows the viewport. */
.d030-article-mobile-cta-slot.is-tracking::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 60px;
  overflow: hidden;
}

.d030-article-mobile-cta-slot.is-tracking > .d030-article-mobile-cta-wrap {
  position: absolute;
  top: 0;
  left: 0;
}


.d030-article-mobile-cta {
  display: none;
  margin: 48px auto 0;
  width: max-content;
  max-width: 100%;
  padding: 18px 24px;
  border-radius: 999px;
  background: var(--d030-article-lime);
  color: var(--d030-article-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}
.d030-article .d030-article-mobile-cta {
  color: #fff;
}

@media (max-width: 1180px) and (min-width: 1025px) {
  .d030-article-layout {
    grid-template-columns: 340px minmax(0, calc(100vw - 566px));
  }

}

@media (max-width: 1024px) {
  .d030-article-hero {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 18px;
    margin-top: -1px;
    padding: 24px 16px 48px;
    border-radius: 0 0 48px 48px;
    text-align: center;
  }

  .d030-article-hero__content {
    display: contents;
  }

  .d030-article-hero__title {
    order: 1;
    font-size: 32px;
  }

  .d030-article-hero__media {
    order: 2;
  }

  .d030-article-hero__excerpt {
    order: 3;
    margin-top: 10px;
  }

  .d030-article-meta {
    order: 4;
    justify-content: center;
    margin: 10px 0 0;
  }

  .d030-article-meta__pill {
    min-height: 36px;
    padding: 10px 16px;
  }

  .d030-article-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    margin-top: 0;
    padding-top: 0;
  }

  .d030-article-sidebar {
    position: static;
    max-width: 340px;
  }

  .d030-article-main {
    width: 100%;
    margin-top: 0;
  }

  .d030-article-share-rail {
    display: none;
  }

  .d030-article-share-bottom {
    display: block;
  }

  .d030-article-share-bottom .d030-article-share {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .d030-article-share-bottom .d030-article-share__link {
    width: 45px;
  }

  .d030-article-share-bottom .d030-article-share__link svg {
    width: 17px;
    height: 17px;
  }

  .d030-article-mobile-cta-slot {
    display: block;
  }

  .d030-article-mobile-cta-wrap {
    width: 100%;
    z-index: 90;
  }

  .d030-article-mobile-cta {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 22px 30px;
    overflow: hidden;
    background: var(--d030-article-dark);
    color: #fff;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 3px 8px rgba(5, 10, 57, .45);
  }
}

@media (max-width: 990px) {
  .d030-article-numbered-heading {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    font-size: 25px;
    line-height: 1.3;
    text-align: center;
  }

  .d030-article-heading-text > strong:first-child {
    display: block;
  }
}

@media (max-width: 900px) {
  .d030-article-layout {
    gap: 48px;
  }
}

@media (max-width: 921px) {
  .d030-article-sidebar-cta,
  .d030-article-mobile-cta-slot,
  .d030-article-share-bottom {
    font-size: 14.592px;
  }
}

@media (max-width: 767px) {
  .d030-article-layout {
    padding-top: 48px;
    padding-bottom: 32px;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .d030-article-heading-text:has(strong:first-child + *) strong:first-child {
    display: block;
  }

  .d030-article-hero {
    padding-bottom: 48px;
  }

  .d030-article-main {
    margin-top: 0;
  }

  .d030-article-hero__title {
    font-size: 32px;
  }

  .d030-article-hero__excerpt {
    font-size: 14px;
  }

  .d030-article-layout {
    width: calc(100% - 40px);
    margin-bottom: 72px;
  }

  .d030-article-numbered-heading {
    margin-top: 48px;
  }

  .d030-article-share {
    gap: 10px;
  }
}

/* Source prose uses font-relative heading spacing and collapsed paragraph margins. */
.d030-article--ordinary .d030-article-numbered-heading {
  margin-top: 1.5em;
}

/* Authored IDs avoid Elementor's inserted anchor sibling in the reference. */
.d030-article--ordinary .d030-article-prose > .d030-article-authored-anchor:first-child {
  margin-top: 0;
}

.d030-article--ordinary .d030-article-prose .wp-block-separator {
  margin: 20px 0;
  border-color: #3b3b3f;
}

.d030-article--ordinary .d030-article-prose .wp-block-separator + .d030-article-numbered-heading {
  margin-top: 1.5em;
}


@media (max-width: 900px) {
  .d030-article-prose .wp-block-separator {
    margin-bottom: 31px;
  }
}

@media (max-width: 640px) {
  .d030-article-prose .wp-block-separator {
    margin-bottom: 28px;
  }
}

@media (max-width: 900px) {
  .d030-article-prose .wp-block-separator + .d030-article-numbered-heading {
    margin-top: 39px;
  }
}

@media (max-width: 640px) {
  .d030-article-prose .wp-block-separator + .d030-article-numbered-heading {
    margin-top: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .d030-article * {
    scroll-behavior: auto;
  }
}









@media (max-width: 640px) {
  .d030-article-heading-text:has(strong:first-child + *) strong:first-child {
    display: block;
  }

  .d030-article .d030-article-toc__link.is-active {
    color: #aeaeae;
  }

  .d030-article .d030-article-toc__link.is-active::before {
    background: transparent;
  }
}
