/* Market Insights: hub (/insights/), posts (/insights/<slug>/) and the Buying FAQ */
.in-wrap { max-width: 880px; }

/* cards */
.in-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.in-card { border: 1px solid #ededf2; border-radius: 14px; padding: 20px; background: #fff; display: flex; flex-direction: column; gap: 10px; min-width: 0; transition: box-shadow .2s, border-color .2s; }
.in-card:hover { border-color: #d9cfe3; box-shadow: 0 6px 20px rgba(80, 38, 107, .08); }
.in-card__meta { margin: 0; font-size: 13px; color: #8a8594; }
.in-card__cat { display: inline-block; background: #f1edf5; color: var(--rs-theme-orange, #50266b); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 12px; letter-spacing: .02em; margin-right: 4px; }
.in-card__title { font-size: 19px; line-height: 1.35; margin: 0; text-wrap: balance; }
.in-card__title a { color: var(--rs-title-primary, #1f1f1f); text-decoration: none; }
.in-card__title a:hover { color: var(--rs-theme-orange, #50266b); }
.in-card__text { margin: 0; color: var(--rs-text-primary, #555); font-size: 14.5px; line-height: 1.6; flex: 1; }
.in-card__link { font-weight: 700; font-size: 14px; color: var(--rs-theme-orange, #50266b); text-decoration: none; }
.in-card__link:hover { text-decoration: underline; }

/* hub */
.in-section { margin: 0 0 48px; }
.in-section__title { font-size: clamp(22px, 2.4vw, 28px); margin: 0 0 8px; }
.in-section__intro { color: var(--rs-text-primary, #555); margin: 0 0 18px; max-width: 720px; }
.in-empty { text-align: center; color: var(--rs-text-primary, #555); margin: 10px 0 40px; }
.in-faq-card { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; justify-content: space-between; background: #f7f4fa; border-radius: 16px; padding: 26px 28px; }
.in-faq-card > div { flex: 1 1 360px; min-width: 0; }
.in-faq-card p { margin: 0; color: var(--rs-text-primary, #555); line-height: 1.65; }

/* post header */
.in-head { margin: 0 0 22px; }
.in-head .pd-eyebrow a { color: inherit; text-decoration: none; }
.in-title { text-wrap: balance; margin-bottom: 12px; }
.in-meta { margin: 0; color: #6f6a78; font-size: 14.5px; }
.in-meta strong { color: var(--rs-title-primary, #1f1f1f); }
.in-answer a { color: var(--rs-theme-orange, #50266b); font-weight: 600; }

/* contents */
.in-toc { border: 1px solid #ededf2; border-radius: 12px; padding: 16px 20px; margin: 0 0 32px; background: #fff; }
.in-toc__title { font-weight: 700; margin: 0 0 8px; color: var(--rs-title-primary, #1f1f1f); }
.in-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.in-toc a { color: var(--rs-theme-orange, #50266b); text-decoration: none; }
.in-toc a:hover { text-decoration: underline; }

/* article body */
.in-body { color: var(--rs-text-primary, #444); font-size: 16.5px; line-height: 1.8; }
.in-body > * + * { margin-top: 0; }
.in-body p { margin: 0 0 18px; }
.in-body h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; margin: 44px 0 14px; color: var(--rs-title-primary, #1f1f1f); text-wrap: balance; scroll-margin-top: 110px; }
.in-body h3 { font-size: clamp(18px, 2vw, 21px); line-height: 1.35; margin: 30px 0 10px; color: var(--rs-title-primary, #1f1f1f); }
.in-body ul, .in-body ol { margin: 0 0 20px; padding-left: 22px; }
.in-body li { margin: 0 0 8px; }
.in-body li::marker { color: var(--rs-theme-orange, #50266b); }
.in-body strong { color: var(--rs-title-primary, #1f1f1f); }
.in-body a { color: var(--rs-theme-orange, #50266b); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.in-table { overflow-x: auto; margin: 0 0 24px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.in-table table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14.5px; line-height: 1.55; }
.in-table th, .in-table td { padding: 11px 14px; text-align: left; vertical-align: top; border: 1px solid #e3e0e8; }
.in-table thead th, .in-table tr:first-child th { background: #50266b; color: #fff; font-weight: 600; }
.in-table tbody tr:nth-of-type(even) { background: #faf8fc; }
.in-table td { color: #555; font-variant-numeric: tabular-nums; }

/* author + links */
.in-author { margin: 48px 0 32px; padding: 20px 22px; border-left: 4px solid var(--rs-theme-orange, #50266b); background: #f7f4fa; border-radius: 0 12px 12px 0; }
.in-author p { margin: 0; color: var(--rs-text-primary, #555); line-height: 1.65; font-size: 15px; }
.in-author__name { font-weight: 700; color: var(--rs-title-primary, #1f1f1f) !important; margin-bottom: 6px !important; }
.in-back { margin: 16px 0 0; font-size: 14.5px; }
.in-back a { color: var(--rs-theme-orange, #50266b); font-weight: 600; text-decoration: none; }
.in-back a:hover { text-decoration: underline; }
.in-related .in-grid { margin-top: 4px; }

/* Buying FAQ groups */
.in-faq-group { margin: 0 0 40px; }

@media (max-width: 575px) {
  .in-body { font-size: 16px; }
  .in-faq-card { padding: 22px 20px; }
  .in-toc { padding: 14px 16px; }
}
