/* InvesteHub shared page components. Shared by extracted static pages. */
.site-footer {
      margin: 34px auto 18px;
      padding: 10px 12px 0;
      color: var(--muted);
      text-align: center;
    }

.footer-top {
      display: block;
      padding-bottom: 14px;
      margin-bottom: 14px;
      border-bottom: 1px solid var(--line);
    }

.footer-brand {
      max-width: 760px;
      margin: 0 auto 14px;
    }

.footer-brand strong {
      display: block;
      margin-bottom: 7px;
      color: var(--text);
      font-size: 1.08rem;
      letter-spacing: -.35px;
    }

.footer-brand p {
      color: var(--muted);
      font-size: .9rem;
      line-height: 1.65;
    }

.footer-actions {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

.footer-btn {
      border: none;
      background: transparent;
      color: var(--muted);
      font-size: .9rem;
      font-weight: 750;
      transition: .18s ease;
    }

.footer-btn:hover {
      color: var(--green);
    }

.disclaimer {
      max-width: 980px;
      margin: 0 auto;
      padding-bottom: 6px;
    }

.disclaimer p {
      color: var(--muted);
      font-size: .84rem;
      line-height: 1.7;
    }

.disclaimer strong {
      color: var(--text);
    }

.read-more-section {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto 16px;
      padding: 18px 24px;
      border: 1px solid rgba(15, 159, 118, .18);
      border-radius: 26px;
      background: linear-gradient(180deg, var(--green-soft), var(--card));
      box-shadow: var(--shadow);
    }

.read-more-section h2 {
      margin-bottom: 8px;
      color: var(--text);
      font-size: clamp(1.22rem, 2.2vw, 1.65rem);
      letter-spacing: -.6px;
    }

.read-more-section p {
      max-width: 760px;
      margin-bottom: 14px;
      color: var(--muted);
      font-size: .98rem;
      line-height: 1.75;
    }

.read-more-card {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 14px;
      align-items: center;
      padding: 14px 16px;
      border: 1px solid var(--line);
      border-radius: 20px;
      background: var(--card-2);
      transition: .18s ease;
    }

.read-more-card:hover {
      border-color: rgba(15, 159, 118, .32);
      transform: translateY(-1px);
    }

.read-more-card .mini-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 42px;
      height: 42px;
      min-width: 42px;
      margin: 0;
      border-radius: 16px;
      line-height: 1;
      text-align: center;
    }

.read-more-card strong {
      display: block;
      margin-bottom: 4px;
      color: var(--text);
      font-size: 1rem;
      letter-spacing: -.25px;
    }

.read-more-card span {
      display: block;
      color: var(--muted);
      font-size: .9rem;
      line-height: 1.55;
    }

.read-more-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 42px;
      padding: 9px 16px;
      border-radius: 999px;
      background: var(--green);
      color: #ffffff !important;
      font-size: .9rem;
      font-weight: 850;
      white-space: nowrap;
    }

.close-btn {
      flex-shrink: 0;
      width: 42px;
      height: 42px;
      border: 1px solid var(--line);
      border-radius: 14px;
      background: var(--card-2);
      color: var(--text);
      font-size: 1.2rem;
      font-weight: 750;
    }

.mobile-list {
      display: grid;
      gap: 10px;
    }

.mobile-section {
      padding-top: 14px;
      margin-top: 14px;
      border-top: 1px solid var(--line);
    }

.mobile-section:first-of-type {
      padding-top: 0;
      margin-top: 0;
      border-top: none;
    }

.mobile-section h3 {
      margin-bottom: 10px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: .12em;
      font-size: .78rem;
    }

@media (max-width: 1360px) {
    }

/* InvesteHub editorial expansion */
    .editorial-deep-section {
      width: 100%;
      max-width: 1240px;
      margin: 18px auto;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: var(--card);
      box-shadow: var(--shadow-soft);
    }

.editorial-deep-section.soft {
      background: linear-gradient(135deg, rgba(15, 159, 118, .10), rgba(23, 98, 130, .08)), var(--card);
    }

.editorial-deep-head {
      max-width: 840px;
      margin-bottom: 18px;
    }

.editorial-deep-head h2,
    .editorial-deep-section h2 {
      margin: 8px 0 10px;
      color: var(--text);
      font-size: clamp(1.45rem, 3vw, 2.25rem);
      line-height: 1.12;
    }

.editorial-deep-head p,
    .editorial-deep-card p,
    .editorial-note p,
    .example-step p {
      color: var(--muted);
      line-height: 1.75;
    }

.editorial-deep-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }

.editorial-deep-grid.two {
      grid-template-columns: repeat(2, 1fr);
    }

.editorial-deep-card,
    .example-step,
    .editorial-note {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: color-mix(in srgb, var(--card) 86%, var(--card-2));
    }

.editorial-deep-card h3,
    .example-step h3 {
      margin: 10px 0 8px;
      color: var(--text);
      font-size: 1.02rem;
    }

.editorial-flow {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-top: 16px;
    }

.editorial-mini-stat {
      display: grid;
      gap: 6px;
      padding: 16px;
      border: 1px solid rgba(15, 159, 118, .22);
      border-radius: 18px;
      background: rgba(15, 159, 118, .08);
    }

.editorial-mini-stat strong {
      color: var(--green);
      font-size: 1.25rem;
    }

.example-table {
      width: 100%;
      margin: 16px 0;
      border-collapse: collapse;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 18px;
    }

.example-table th,
    .example-table td {
      padding: 13px 14px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      color: var(--text);
    }

.example-table th {
      color: var(--muted);
      font-size: .86rem;
      text-transform: uppercase;
      letter-spacing: .04em;
      background: var(--card-2);
    }

.example-table tr:last-child td {
      border-bottom: 0;
    }

.editorial-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 18px;
    }

@media (max-width: 860px) {
      .editorial-deep-section {
        padding: 18px;
        border-radius: 20px;
      }

      .editorial-deep-grid,
      .editorial-deep-grid.two,
      .editorial-flow {
        grid-template-columns: 1fr;
      }

      .example-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
      }
    }

/* InvesteHub editorial and product upgrades */
    .editorial-value-section {
      width: 100%;
      max-width: 1240px;
      margin: 24px auto;
      padding: 24px;
      border: 1px solid rgba(15, 159, 118, .16);
      border-radius: 24px;
      background: linear-gradient(135deg, rgba(15, 159, 118, .08), rgba(36, 107, 254, .055)), var(--card);
      box-shadow: var(--shadow-soft);
    }

.editorial-value-section h2 {
      margin: 8px 0 10px;
      color: var(--text);
      font-size: clamp(1.45rem, 2.5vw, 2.2rem);
      letter-spacing: 0;
    }

.editorial-value-section p {
      color: var(--muted);
      line-height: 1.75;
    }

.editorial-value-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 18px;
    }

.editorial-value-card {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: rgba(255, 255, 255, .58);
    }

body.dark .editorial-value-card {
      background: rgba(255, 255, 255, .045);
    }

.editorial-value-card strong {
      display: block;
      margin-bottom: 8px;
      color: var(--text);
      font-size: 1.02rem;
    }

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

.scenario-card {
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--card);
    }

.scenario-card small {
      display: block;
      color: var(--muted);
      font-weight: 800;
      margin-bottom: 6px;
    }

.scenario-card strong {
      display: block;
      color: var(--green);
      font-size: clamp(1.35rem, 2.4vw, 2rem);
      line-height: 1.15;
    }

.scenario-card span {
      display: block;
      margin-top: 7px;
      color: var(--muted);
      font-size: .9rem;
      line-height: 1.5;
    }

@media (max-width: 860px) {
      .editorial-value-grid,
      .scenario-grid {
        grid-template-columns: 1fr;
      }

      .editorial-value-section {
        padding: 18px;
        border-radius: 20px;
      }
    }

/* InvesteHub polish: mobile tap targets, SEO support blocks and social links */
    .footer-btn.footer-social {
      border-color: rgba(225, 48, 108, .24);
      background: color-mix(in srgb, var(--card) 84%, rgba(225, 48, 108, .12));
    }

.social-contact-box {
      border-color: rgba(225, 48, 108, .22);
      background:
        linear-gradient(180deg, color-mix(in srgb, var(--green-soft) 42%, transparent), var(--card-2));
    }

.instagram-card {
      max-width: 1240px;
      margin: 0 auto 22px;
      padding: 22px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: var(--card-2);
    }

.instagram-card a,
    .social-contact-box a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      margin-top: 12px;
      padding: 10px 16px;
      border-radius: 999px;
      background: var(--green);
      color: #fff;
      font-weight: 900;
    }

.seo-support-section {
      max-width: 1240px;
      margin: 18px auto;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: var(--card-2);
    }

.seo-support-head {
      max-width: 860px;
      margin-bottom: 18px;
    }

.seo-support-head h2 {
      margin: 8px 0 10px;
      color: var(--text);
      font-size: clamp(1.5rem, 3vw, 2.35rem);
      line-height: 1.08;
      letter-spacing: -.8px;
    }

.seo-support-head p,
    .seo-support-card p {
      color: var(--muted);
      line-height: 1.7;
    }

.seo-support-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

.seo-support-card {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--card);
    }

.seo-support-card h3 {
      margin: 10px 0 8px;
      color: var(--text);
      font-size: 1.02rem;
      letter-spacing: -.2px;
    }

.seo-support-card .mini-icon {
      width: 42px;
      height: 42px;
    }

.faq-section {
      max-width: 1240px;
      margin: 18px auto;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: var(--card-2);
    }

.faq-section h2 {
      margin-bottom: 8px;
      color: var(--text);
      font-size: clamp(1.45rem, 3vw, 2.25rem);
      line-height: 1.08;
      letter-spacing: -.7px;
    }

.faq-section > p {
      max-width: 780px;
      margin-bottom: 16px;
      color: var(--muted);
      line-height: 1.7;
    }

.faq-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

.faq-item {
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--card);
    }

.faq-item summary {
      min-height: 44px;
      padding: 14px 44px 14px 16px;
      cursor: pointer;
      color: var(--text);
      font-weight: 900;
      list-style: none;
      position: relative;
    }

.faq-item summary::after {
      content: "+";
      position: absolute;
      right: 16px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--green);
      font-size: 1.25rem;
      font-weight: 900;
    }

.faq-item p {
      padding: 0 16px 16px;
      color: var(--muted);
      line-height: 1.7;
    }

@media (max-width: 760px) {
      .theme-btn,
      .mobile-menu-btn,
      .feature-carousel-btn {
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
      }

      .primary-btn,
      .secondary-btn,
      .footer-btn,
      .directory-actions a,
      .category-links a,
      .resource-card a,
      .tool-card a,
      .solution-btn,
      .read-more-action,
      .mobile-item,
      .inline-links a,
      .faq-item summary,
      .remove-row-btn,
      .rebalance-actions button {
        min-height: 44px;
      }

      .footer-btn {
        min-width: 44px;
        justify-content: center;
      }

      .read-more-section {
        padding: 16px;
        border-radius: 22px;
      }

      .read-more-card {
        grid-template-columns: 1fr;
      }

      .read-more-action {
        grid-column: 1 / -1;
        width: 100%;
      }

      .inline-links a {
        align-items: center;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
      }

      .home-note-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 8px 6px;
      }

      .feature-carousel-dot {
        width: 44px !important;
        height: 44px !important;
        border: 0;
        border-radius: 999px;
        background: transparent !important;
        position: relative;
      }

      .feature-carousel-dot::after {
        content: "";
        position: absolute;
        inset: 16px;
        border-radius: 999px;
        background: rgba(15, 159, 118, .35);
      }

      .feature-carousel-dot.is-active::after {
        inset: 14px;
        background: var(--green);
      }

      .seo-support-section,
      .faq-section,
      .instagram-card {
        margin: 14px auto;
        padding: 18px;
        border-radius: 20px;
      }

      .seo-support-grid,
      .faq-grid {
        grid-template-columns: 1fr;
      }
    }

/* End InvesteHub polish */
    /* InvesteHub SEO enhance: trust, hub content and helpful FAQs */
    .seo-trust-section {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto 16px;
      padding: 26px;
      border: 1px solid var(--line);
      border-radius: 24px;
      background: var(--card-2);
    }

.seo-trust-section h2 {
      max-width: 820px;
      margin: 8px 0 10px;
      color: var(--text);
      font-size: clamp(1.45rem, 3vw, 2.25rem);
      line-height: 1.08;
      letter-spacing: -.7px;
    }

.seo-trust-section > p,
    .seo-trust-card p,
    .seo-method-card p {
      color: var(--muted);
      line-height: 1.75;
    }

.seo-trust-grid,
    .seo-method-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-top: 18px;
    }

.seo-trust-card,
    .seo-method-card {
      padding: 18px;
      border: 1px solid var(--line);
      border-radius: 18px;
      background: var(--card);
    }

.seo-trust-card h3,
    .seo-method-card h3 {
      margin: 10px 0 8px;
      color: var(--text);
      font-size: 1.02rem;
      letter-spacing: -.25px;
    }

.seo-trust-card .mini-icon,
    .seo-method-card .mini-icon {
      width: 42px;
      height: 42px;
    }

.seo-method-section {
      background:
        radial-gradient(circle at top left, rgba(15, 159, 118, .10), transparent 38%),
        var(--card-2);
    }

@media (max-width: 760px) {
      .seo-trust-section {
        padding: 18px;
        border-radius: 20px;
      }

      .seo-trust-grid,
      .seo-method-grid {
        grid-template-columns: 1fr;
      }
    }

/* End InvesteHub SEO enhance */

/* InvesteHub premium shared layer */
.editorial-deep-section,
.editorial-value-section,
.seo-trust-section,
.seo-method-section,
.faq-section,
.note-section,
.tools-section,
.instagram-card,
.article-hero,
.review-strip,
.formula-box,
.example-section,
.scenario-section,
.resources-section,
.resource-strip,
.affiliate-strip {
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.editorial-deep-card,
.editorial-value-card,
.seo-trust-card,
.seo-method-card,
.example-step,
.editorial-note,
.scenario-card,
.formula-box,
.faq-section details,
.instagram-card,
.resource-strip a,
.affiliate-card {
  transition:
    transform .3s cubic-bezier(.4, 0, .2, 1),
    border-color .3s cubic-bezier(.4, 0, .2, 1),
    background .3s cubic-bezier(.4, 0, .2, 1),
    box-shadow .3s cubic-bezier(.4, 0, .2, 1);
}

.editorial-deep-card:hover,
.editorial-value-card:hover,
.seo-trust-card:hover,
.seo-method-card:hover,
.example-step:hover,
.editorial-note:hover,
.scenario-card:hover,
.formula-box:hover,
.faq-section details:hover,
.instagram-card:hover,
.resource-strip a:hover,
.affiliate-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--green) 28%, var(--line));
  box-shadow: var(--shadow-lift);
}

.example-table,
.example-table th,
.example-table td {
  border-color: var(--line);
}

body.dark .editorial-deep-section,
body.dark .editorial-value-section,
body.dark .seo-trust-section,
body.dark .seo-method-section,
body.dark .faq-section,
body.dark .note-section,
body.dark .tools-section,
body.dark .instagram-card,
body.dark .article-hero,
body.dark .review-strip,
body.dark .formula-box,
body.dark .example-section,
body.dark .scenario-section,
body.dark .resources-section,
body.dark .resource-strip,
body.dark .affiliate-strip,
body.dark .editorial-deep-card,
body.dark .editorial-value-card,
body.dark .seo-trust-card,
body.dark .seo-method-card,
body.dark .example-step,
body.dark .editorial-note,
body.dark .faq-section details,
body.dark .affiliate-card {
  border-color: rgba(255, 255, 255, .055);
  background: var(--glass);
}

@media (prefers-reduced-motion: reduce) {
  .editorial-deep-card:hover,
  .editorial-value-card:hover,
  .seo-trust-card:hover,
  .seo-method-card:hover,
  .example-step:hover,
  .editorial-note:hover,
  .scenario-card:hover,
  .formula-box:hover,
  .faq-section details:hover,
  .instagram-card:hover,
  .resource-strip a:hover,
  .affiliate-card:hover {
    transform: none;
  }
}

/* End InvesteHub premium shared layer */
