/* ==========================================================================
   INVESTI PLUGIN-OWNED PAGE SHELL
   ========================================================================== */

.investi-plugin-template {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--page-bg);
  color: var(--text-color);
}

.investi-template-main {
  --investi-section-gap: 22px;
  flex: 1 0 auto;
  width: 100%;
  min-height: 52vh;
}

.investi-template-main > .investi-async-module,
.investi-template-main > .investi-screener-wrapper,
.investi-template-main > .investi-news-block,
.investi-template-main > .tradingview-widget-container,
.investi-template-main > section:not(.investi-hero) {
  width: min(100% - 8px, 1800px);
  margin-inline: auto;
}

body.investi-plugin-template--home
  .investi-template-main
  > .investi-async-module,
body.investi-plugin-template--home
  .investi-template-main
  > .investi-screener-wrapper,
body.investi-plugin-template--home .investi-template-main > .investi-news-block,
body.investi-plugin-template--home
  .investi-template-main
  > .tradingview-widget-container,
body.investi-plugin-template--home
  .investi-template-main
  > section:not(.investi-hero) {
  width: calc(100% - 80px);
  margin-inline: 40px;
}

body.investi-plugin-template--equity_detail
  .investi-template-main
  > .investi-async-module,
body.investi-plugin-template--equity_detail
  .investi-template-main
  > .investi-screener-wrapper,
body.investi-plugin-template--equity_detail
  .investi-template-main
  > .investi-news-block,
body.investi-plugin-template--equity_detail
  .investi-template-main
  > .tradingview-widget-container,
body.investi-plugin-template--equity_detail
  .investi-template-main
  > section:not(.investi-hero),
body.investi-plugin-template--bond_detail
  .investi-template-main
  > .investi-async-module,
body.investi-plugin-template--bond_detail
  .investi-template-main
  > .investi-screener-wrapper,
body.investi-plugin-template--bond_detail
  .investi-template-main
  > .investi-news-block,
body.investi-plugin-template--bond_detail
  .investi-template-main
  > .tradingview-widget-container,
body.investi-plugin-template--bond_detail
  .investi-template-main
  > section:not(.investi-hero) {
  width: min(calc(100% - 80px), 80%);
  margin-inline: auto;
}

.investi-template-main > .investi-async-module,
.investi-template-main > .investi-screener-wrapper,
.investi-template-main > .investi-news-block,
.investi-template-main > .investi-banner-slot:not([hidden]),
.investi-template-main > .tradingview-widget-container,
.investi-template-main > section:not(.investi-hero) {
  margin-top: var(--investi-section-gap);
}

body.investi-plugin-template--home .investi-template-main,
body.investi-plugin-template--equity_detail .investi-template-main,
body.investi-plugin-template--bond_detail .investi-template-main {
  --investi-section-gap: 24px;
}

body.investi-plugin-template--chart .investi-template-main > .investi-async-module:first-child {
  margin-top: 4px;
}

.investi-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 31vw, 460px);
  overflow: hidden;
  isolation: isolate;
  background-color: #030712;
}

.investi-hero::before {
  content: none;
}

.investi-hero::after {
  content: none;
}

.investi-hero__overlay {
  width: min(100% - 12px, 1480px);
  padding-block: clamp(46px, 8vw, 96px);
  text-align: center;
  color: #ffffff;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.42);
}

.investi-hero__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 24px);
  flex-wrap: wrap;
  margin: 0;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.65rem, 5.1vw, 5.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0;
  color: #ffffff !important;
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

.investi-hero__title.fonts-ready {
  opacity: 1;
}

.investi-hero__title .investi-title {
  background: linear-gradient(to top, #d022fa, #02affc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent !important;
}

.investi-title {
  margin: 0 0.08em;
  background: linear-gradient(to top, #d022fa, #02affc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  opacity: 0.92;
}

.investi-hero__separator {
  color: #6d72ff;
  font-size: 0.28em;
  line-height: 1;
}

.investi-hero__subtitle {
  margin: clamp(22px, 3.2vw, 42px) 0 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2.2rem);
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  opacity: 0;
  transition: opacity 0.4s ease-in;
}

.investi-hero__subtitle.fonts-ready {
  opacity: 1;
}

.investi-hero {
  position: relative;
}

.investi-hero__overlay {
  position: relative;
  z-index: 1;
}

.investi-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.5s ease-in;
  pointer-events: none;
  z-index: 0;
}

.investi-hero.bg-ready::after {
  opacity: 1;
}

@media (max-width: 767px) {
  .investi-hero__title {
    flex-direction: column;
    gap: 0.08em;
    line-height: 1;
  }

  .investi-hero__separator {
    display: none;
  }
}

.investi-banner-slot {
  width: min(calc(100% - 32px), calc(var(--investi-ad-width, 728) * 1px));
  margin: clamp(24px, 4vw, 44px) auto;
}

.investi-banner-slot[hidden] {
  display: none;
}

.investi-banner-slot__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: calc(var(--investi-ad-width, 728) * 1px);
  aspect-ratio: var(--investi-ad-width, 728) / var(--investi-ad-height, 90);
  margin: 0 auto;
  overflow: hidden;
}

.investi-banner-slot__link,
.investi-banner-slot__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.investi-banner-slot__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.investi-banner-slot__placeholder {
  color: rgba(255, 255, 255, 0.62);
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.investi-template-section,
.investi-template-empty,
.investi-error-page {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid
    color-mix(in srgb, var(--border-color) 84%, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--panel-highlight) 32%, transparent),
      transparent 26%
    ),
    color-mix(in srgb, var(--card-bg) 96%, rgba(255, 255, 255, 0.04));
}

.investi-template-section__title,
.investi-error-page h1 {
  margin: 0 0 16px;
  color: var(--text-color);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.investi-template-empty {
  text-align: center;
}

.investi-template-empty--coming-soon {
  width: min(100% - 32px, 860px);
  margin: clamp(56px, 10vw, 140px) auto;
  padding: clamp(36px, 6vw, 64px);
}

.investi-template-empty__eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--accent-color);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.investi-template-empty--coming-soon h1 {
  margin: 0 0 14px;
}

.investi-template-empty--coming-soon p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.investi-error-page {
  width: min(100% - 32px, 820px);
  margin: clamp(48px, 9vw, 110px) auto;
  text-align: center;
}

.investi-error-page__eyebrow {
  margin: 0 0 10px;
  color: var(--accent-color);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.investi-error-page__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.investi-footer {
  margin-top: clamp(44px, 7vw, 90px);
  border-top: 1px solid
    color-mix(in srgb, var(--accent-color) 42%, var(--border-color) 58%);
  background: #070c18;
  color: #ffffff;
  font-family: "Roboto", sans-serif;
}

.investi-footer,
.investi-footer * {
  font-family: "Roboto", sans-serif;
}

.investi-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  width: min(100% - 40px, 1720px);
  min-height: 150px;
  margin: 0 auto;
  padding: 30px 0 26px;
}

.investi-footer__brand,
.investi-footer__partner {
  display: flex;
  align-items: center;
}

.investi-footer__brand img {
  width: auto;
  height: 60px;
  max-width: min(100%, 230px);
}

.investi-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: #ffffff;
  font-weight: 700;
}

.investi-footer__links a {
  color: #ffffff;
  text-decoration: none;
}

.investi-footer__credit a {
  color: #ffffff;
  text-decoration: underline;
}

.investi-footer__links a:hover,
.investi-footer__links a:focus-visible,
.investi-footer__credit a:hover,
.investi-footer__credit a:focus-visible {
  color: #8bc5ff;
  text-decoration: underline;
}

.investi-footer__partner {
  justify-content: flex-end;
  min-height: 60px;
}

.investi-footer__partner-logo {
  display: block;
  width: min(100%, 240px);
  height: auto;
  max-width: 240px;
  max-height: 70px;
  object-fit: contain;
}

.investi-footer__partner-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-weight: 800;
}

.investi-footer__credit {
  position: absolute;
  left: 0;
  bottom: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
}

.investi-news-archive {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(7, 12, 24, 0.94),
    rgba(8, 14, 27, 0.92)
  );
}

.investi-news-archive__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
}

.investi-news-archive__tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

.investi-news-archive__tabs .investi-highlights-tab {
  min-height: 48px;
  padding: 12px 24px;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: 14px;
}

.investi-news-archive__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 378px));
  justify-content: center;
  gap: 28px 30px;
}

.investi-news-archive__card {
  min-width: 0;
  width: 100%;
}

.investi-news-archive__card-link {
  display: grid;
  grid-template-rows: auto minmax(286px, 1fr);
  min-height: 536px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  background: var(--card-bg);
  color: var(--text-color);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.investi-news-archive__card-link:hover,
.investi-news-archive__card-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  outline: none;
}

[data-mode="dark"] .investi-news-archive__card-link:hover,
[data-mode="dark"] .investi-news-archive__card-link:focus-visible {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.investi-news-archive__card-media {
  min-height: 250px;
  height: 250px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(
    145deg,
    var(--card-bg-secondary),
    rgba(46, 126, 206, 0.12)
  );
}

.investi-news-archive__card-media.is-empty {
  background: linear-gradient(
    145deg,
    var(--card-bg-secondary),
    rgba(46, 126, 206, 0.12)
  );
}

.investi-news-archive__card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.investi-news-archive__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  min-height: 0;
}

.investi-news-archive__card-title {
  margin: 0;
  color: var(--text-color);
  font-family: var(--investi-font-family) !important;
  font-size: 1.08rem;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.investi-news-archive__card-date {
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--investi-font-family) !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.investi-news-archive__card-excerpt {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-family: var(--investi-font-family) !important;
  font-size: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.investi-news-archive__card-cta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  color: var(--accent-text-color);
  font-family: var(--investi-font-family) !important;
  font-size: 0.9rem;
  font-weight: 700;
}

.investi-news-archive__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.investi-news-archive__load-more {
  min-width: 160px;
}

.investi-news-archive__sentinel {
  width: 100%;
  height: 1px;
}

@media (max-width: 760px) {
  .investi-template-main > .investi-async-module,
  .investi-template-main > .investi-screener-wrapper,
  .investi-template-main > .investi-news-block,
  .investi-template-main > .tradingview-widget-container,
  .investi-template-main > section:not(.investi-hero) {
    width: min(100% - 4px, 100%);
  }

  .investi-hero {
    min-height: 360px;
  }

  body.investi-plugin-template--home
    .investi-template-main
    > .investi-async-module,
  body.investi-plugin-template--home
    .investi-template-main
    > .investi-screener-wrapper,
  body.investi-plugin-template--home
    .investi-template-main
    > .investi-news-block,
  body.investi-plugin-template--home
    .investi-template-main
    > .tradingview-widget-container,
  body.investi-plugin-template--home
    .investi-template-main
    > section:not(.investi-hero) {
    width: calc(100% - 32px);
    margin-inline: 16px;
  }

  body.investi-plugin-template--equity_detail
    .investi-template-main
    > .investi-async-module,
  body.investi-plugin-template--equity_detail
    .investi-template-main
    > .investi-screener-wrapper,
  body.investi-plugin-template--equity_detail
    .investi-template-main
    > .investi-news-block,
  body.investi-plugin-template--equity_detail
    .investi-template-main
    > .tradingview-widget-container,
  body.investi-plugin-template--equity_detail
    .investi-template-main
    > section:not(.investi-hero),
  body.investi-plugin-template--bond_detail
    .investi-template-main
    > .investi-async-module,
  body.investi-plugin-template--bond_detail
    .investi-template-main
    > .investi-screener-wrapper,
  body.investi-plugin-template--bond_detail
    .investi-template-main
    > .investi-news-block,
  body.investi-plugin-template--bond_detail
    .investi-template-main
    > .tradingview-widget-container,
  body.investi-plugin-template--bond_detail
    .investi-template-main
    > section:not(.investi-hero) {
    width: min(100% - 4px, 100%);
  }

  .investi-hero__title {
    gap: 8px 12px;
  }

  .investi-hero__separator {
    font-size: 0.22em;
  }

  .investi-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 0;
    padding: 28px 0 56px;
    text-align: center;
  }

  .investi-footer__partner {
    justify-content: center;
  }

  .investi-footer__credit {
    right: 0;
    text-align: center;
  }

  .investi-news-archive__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .investi-news-archive__head {
    align-items: center;
  }

  .investi-news-archive__tabs {
    width: 100%;
    gap: 10px;
  }

  .investi-news-archive__tabs .investi-highlights-tab {
    flex: 1 1 220px;
    justify-content: center;
  }

  .investi-news-archive__card-link {
    grid-template-rows: 250px minmax(250px, 1fr);
    min-height: 500px;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .investi-news-archive__grid {
    grid-template-columns: repeat(2, minmax(320px, 378px));
    justify-content: center;
  }
}

.investi-help-page .page-content {
  width: min(100%, 1024px);
  margin: clamp(24px, 4vw, 48px) auto 72px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid
    color-mix(in srgb, var(--border-color) 84%, rgba(255, 255, 255, 0.08));
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--panel-highlight) 42%, transparent),
      transparent 22%
    ),
    color-mix(in srgb, var(--card-bg) 94%, rgba(255, 255, 255, 0.04));
  box-shadow:
    0 28px 70px color-mix(in srgb, var(--shadow-strong) 28%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel-highlight) 82%, transparent);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
}

.investi-help-page .page-content > *:first-child {
  margin-top: 0;
}

.investi-help-page .page-content > *:last-child {
  margin-bottom: 0;
}

.investi-help-page .page-content h1,
.investi-help-page .page-content h2,
.investi-help-page .page-content h3 {
  scroll-margin-top: 132px;
}

.investi-help-page .page-content h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.investi-help-page .page-content h2 {
  margin: 40px 0 14px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.investi-help-page .page-content h3 {
  margin: 26px 0 10px;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.25;
}

.investi-help-page .page-content p,
.investi-help-page .page-content li {
  max-width: 74ch;
  color: color-mix(in srgb, var(--text-color) 90%, var(--text-secondary) 10%);
  font-size: 1rem;
  line-height: 1.72;
}

.investi-help-page .page-content p {
  margin: 0 0 1rem;
}

.investi-help-page .page-content ul,
.investi-help-page .page-content ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.investi-help-page .page-content a {
  text-decoration-line: underline;
  text-decoration-color: color-mix(
    in srgb,
    var(--accent-color) 42%,
    currentColor 58%
  );
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease,
    text-decoration-thickness 160ms ease;
}

.investi-help-page .page-content a:hover,
.investi-help-page .page-content a:focus-visible {
  text-decoration-color: currentColor;
  text-decoration-thickness: 0.12em;
}

.investi-help-page .page-content hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--accent-color) 42%, var(--border-color) 58%) 18%,
    color-mix(in srgb, var(--accent-color) 42%, var(--border-color) 58%) 82%,
    transparent
  );
}

.investi-help-page .page-content img,
.investi-help-page .help-banner img,
.investi-help-page .help-callout img,
.investi-help-page .help-pagination img,
body.investi-help-article-page .mkt-help-article__content img,
.mkt-help-drawer__content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid
    color-mix(in srgb, var(--border-color) 82%, rgba(255, 255, 255, 0.08));
  box-shadow: 0 16px 36px
    color-mix(in srgb, var(--shadow-color) 24%, transparent);
}

.investi-help-page .help-banner,
.investi-help-page .help-callout,
.investi-help-page .help-pagination {
  position: relative;
  overflow: hidden;
  border: 1px solid
    color-mix(in srgb, var(--border-color) 78%, rgba(255, 255, 255, 0.08));
  box-shadow:
    0 18px 42px color-mix(in srgb, var(--shadow-color) 20%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel-highlight) 74%, transparent);
}

.investi-help-page .help-banner,
.investi-help-page .help-callout {
  margin: 26px 0;
  padding: 22px 24px;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-color) 12%, transparent),
      transparent 62%
    ),
    color-mix(in srgb, var(--card-bg-secondary) 72%, var(--card-bg) 28%);
}

.investi-help-page .help-banner::before,
.investi-help-page .help-callout::before,
.investi-help-page .help-pagination::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand-gradient);
}

.investi-help-page .help-banner h2,
.investi-help-page .help-callout h2,
.investi-help-page .help-callout h3 {
  margin-top: 0;
}

.investi-help-page .help-banner p:last-child,
.investi-help-page .help-callout p:last-child {
  margin-bottom: 0;
}

.investi-help-page .help-pagination {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  padding: 22px 24px 22px 28px;
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--panel-highlight) 26%, transparent),
      transparent 30%
    ),
    color-mix(in srgb, var(--header-bg) 88%, rgba(255, 255, 255, 0.04));
}

.investi-help-page .help-pagination p {
  display: flex;
  max-width: none;
  margin: 0;
}

.investi-help-page .help-pagination .help-pagination__link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 8px;
  min-height: 100%;
  padding: 18px 22px;
  border: 1px solid
    color-mix(in srgb, var(--border-color) 82%, rgba(255, 255, 255, 0.08));
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--panel-highlight) 18%, transparent),
      transparent 34%
    ),
    color-mix(in srgb, var(--card-bg-secondary) 76%, var(--card-bg) 24%);
  box-shadow:
    0 14px 30px color-mix(in srgb, var(--shadow-color) 16%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel-highlight) 68%, transparent);
  color: var(--heading-color);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.35;
}

.investi-help-page .help-pagination .help-pagination__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

.investi-help-page .help-pagination .help-pagination__title {
  font-size: clamp(1.12rem, 1.02rem + 0.45vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.investi-help-page
  .help-pagination
  .help-pagination__item--previous
  .help-pagination__meta::before,
.investi-help-page
  .help-pagination
  .help-pagination__item--next
  .help-pagination__meta::after {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--heading-color);
}

.investi-help-page
  .help-pagination
  .help-pagination__item--previous
  .help-pagination__meta::before {
  content: "←";
}

.investi-help-page
  .help-pagination
  .help-pagination__item--next
  .help-pagination__meta::after {
  content: "→";
}

.investi-help-page
  .help-pagination
  .help-pagination__item--previous
  .help-pagination__link {
  text-align: left;
  align-items: flex-start;
}

.investi-help-page
  .help-pagination
  .help-pagination__item--next
  .help-pagination__link {
  text-align: right;
  align-items: flex-end;
}

.investi-help-page .help-pagination p:only-child {
  grid-column: 1 / -1;
}

.investi-help-page .help-pagination .help-pagination__link:hover,
.investi-help-page .help-pagination .help-pagination__link:focus-visible {
  color: var(--heading-color);
  border-color: color-mix(
    in srgb,
    var(--accent-color) 34%,
    var(--border-color) 66%
  );
  box-shadow:
    0 18px 36px color-mix(in srgb, var(--shadow-color) 20%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel-highlight) 74%, transparent);
  transform: translateY(-1px);
}

.investi-help-page .page-content p strong:first-child {
  color: var(--heading-color);
}

.investi-help-page .page-content h2 + ul,
.investi-help-page .page-content h2 + ol,
.investi-help-page .page-content h3 + ul,
.investi-help-page .page-content h3 + ol {
  margin-top: 0.5rem;
}

.investi-help-home .page-content > h1 + p,
.investi-help-home .page-content > h1 + p + p {
  font-size: 1.06rem;
}

.investi-help-home ol:first-of-type {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  counter-reset: help-chapters;
}

.investi-help-home ol:first-of-type > li {
  position: relative;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid
    color-mix(in srgb, var(--border-color) 78%, rgba(255, 255, 255, 0.08));
  border-radius: 22px;
  background:
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--accent-color) 8%, transparent),
      transparent 58%
    ),
    color-mix(in srgb, var(--card-bg-secondary) 62%, var(--card-bg) 38%);
  box-shadow:
    0 12px 30px color-mix(in srgb, var(--shadow-color) 16%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel-highlight) 72%, transparent);
  counter-increment: help-chapters;
}

.investi-help-home ol:first-of-type > li::before {
  content: counter(help-chapters);
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 10px 22px
    color-mix(in srgb, var(--accent-color) 24%, transparent);
}

.investi-help-home ol:first-of-type > li > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100%;
  padding: 18px 18px 18px 72px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  color: inherit;
  border-radius: inherit;
  box-sizing: border-box;
}

.investi-help-home ol:first-of-type > li:hover {
  transform: translateY(-2px);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  border-color: color-mix(
    in srgb,
    var(--accent-color) 42%,
    var(--border-color) 58%
  );
  box-shadow:
    0 18px 34px color-mix(in srgb, var(--shadow-strong) 20%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--panel-highlight) 78%, transparent);
}

.investi-help-home h2 + ul,
.investi-help-home h3 + ol {
  padding: 18px 20px;
  border: 1px solid
    color-mix(in srgb, var(--border-color) 74%, rgba(255, 255, 255, 0.06));
  border-radius: 20px;
  background: color-mix(
    in srgb,
    var(--card-bg-secondary) 58%,
    var(--card-bg) 42%
  );
}

.investi-help-home h3 + ol {
  margin-left: 0;
}

.investi-help-home h3 + ol li,
.investi-help-home h2 + ul li {
  max-width: none;
}

.investi-help-home .help-banner {
  padding: 28px 28px 24px;
}

.investi-help-home .page-content > p:last-of-type a {
  font-weight: 800;
}

.investi-help-chapter .page-content > h1 + p {
  font-size: 1.06rem;
  color: color-mix(in srgb, var(--text-color) 94%, var(--text-secondary) 6%);
}

.investi-help-chapter .page-content > p strong:first-child {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color) 14%, transparent);
  color: var(--heading-color);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.investi-help-chapter .page-content > h2:first-of-type + ul {
  padding: 18px 22px;
  border: 1px solid
    color-mix(in srgb, var(--border-color) 74%, rgba(255, 255, 255, 0.08));
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--accent-color) 10%, transparent),
      transparent 65%
    ),
    color-mix(in srgb, var(--card-bg-secondary) 64%, var(--card-bg) 36%);
}

.investi-help-chapter h2:last-of-type + ul {
  padding: 20px 22px;
  border-radius: 22px;
  background: color-mix(
    in srgb,
    var(--card-bg-secondary) 58%,
    var(--card-bg) 42%
  );
}

[data-mode="dark"] .elementor-post__text,
[data-mode="dark"] .elementor-post__excerpt,
[data-mode="dark"] .elementor-post__excerpt p {
  color: #d1d1d1 !important;
}

@media (max-width: 900px) {
  .investi-help-home ol:first-of-type {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .investi-help-page .page-content {
    margin: 18px auto 56px;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .investi-help-page .page-content h1 {
    font-size: clamp(1.8rem, 8vw, 2.55rem);
  }

  .investi-help-page .page-content h2 {
    margin-top: 32px;
  }

  .investi-help-page .help-banner,
  .investi-help-page .help-callout,
  .investi-help-page .help-pagination,
  .investi-help-home h2 + ul,
  .investi-help-home h3 + ol,
  .investi-help-chapter .page-content > h2:first-of-type + ul,
  .investi-help-chapter h2:last-of-type + ul {
    padding: 18px;
    border-radius: 18px;
  }

  .investi-help-page .help-pagination {
    grid-template-columns: 1fr;
  }

  .investi-help-home ol:first-of-type > li {
    border-radius: 18px;
  }

  .investi-help-home ol:first-of-type > li > a {
    padding: 16px 16px 16px 64px;
  }
}

.investi-financials-disclaimer {
  margin: 24px 0;
  font-family: var(--investi-font-family);
}

.investi-financials-disclaimer .investi-mtf-copy {
  font-family: inherit;
}
