.elementor-34006 .elementor-element.elementor-element-9492300{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-34006 .elementor-element.elementor-element-edcbc15{--display:flex;}.elementor-34006 .elementor-element.elementor-element-878a205{--display:flex;}.elementor-34006 .elementor-element.elementor-element-a992811{--display:flex;}/* Start custom CSS for container, class: .elementor-element-edcbc15 *//* ============================================================
   STEP 2 — CSS (Elementor Custom CSS)
   Page: Main Street Capital (MAIN) Stock — investsnips.com
   Brand: White bg · Dark navy #0d1b2a · Teal #009e78 accent
   Context: BDC / Private Credit — main-green #2e7d32
   Tables: snapshot · mgmt · history · dates · mainarcc · peers
   ============================================================ */

:root {
    --color-bg: #ffffff;
    --color-surface: #f4f8fb;
    --color-surface-alt: #eaf3f9;
    --color-border: #d0e2ef;
    --color-accent: #009e78;
    --color-accent-light: rgba(0, 158, 120, .09);
    --color-accent-hover: #007a5e;
    --color-text-primary: #0d1b2a;
    --color-text-muted: #4a6278;
    --color-heading: #0a1628;
    --color-warning: #c47d00;
    --color-warning-bg: #fffbf0;
    --color-warning-border: #f0c060;
    /* MAIN green — growth / equity upside identity */
    --color-main: #2e7d32;
    --color-main-light: rgba(46, 125, 50, .08);
    --color-main-mid: rgba(46, 125, 50, .16);
    /* Supplemental gold */
    --color-gold: #b8860b;
    --color-gold-light: rgba(184, 134, 11, .07);
    /* ARCC blue for comparison */
    --color-arcc: #1565c0;
    --color-arcc-light: rgba(21, 101, 192, .08);
    --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-card: 0 2px 16px rgba(13, 27, 42, .08), 0 1px 3px rgba(13, 27, 42, .05);
    --transition: 0.22s ease;
}

/* ── BASE ARTICLE ── */
.is-pillar-page {
    font-family: var(--font-primary) !important;
    color: var(--color-text-primary) !important;
    line-height: 1.78;
    font-size: 1.04rem;
    max-width: 940px;
    margin: 0 auto;
    padding: 4px 0 60px;
    background: transparent;
}

.is-pillar-page * {
    box-sizing: border-box;
}

.is-pillar-page h1 {
    font-size: clamp(1.55rem, 4vw, 2.35rem) !important;
    font-weight: 800 !important;
    color: var(--color-heading) !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.02em;
}

.is-pillar-page h2 {
    font-size: clamp(1.18rem, 3vw, 1.62rem) !important;
    font-weight: 700 !important;
    color: var(--color-heading) !important;
    margin-top: 2.8rem !important;
    margin-bottom: 0.9rem !important;
    padding-bottom: 0.4rem !important;
    border-bottom: 2px solid var(--color-border) !important;
    letter-spacing: -0.01em;
}

.is-pillar-page h3 {
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--color-main) !important;
    margin-top: 1.8rem !important;
    margin-bottom: 0.45rem !important;
}

.is-pillar-page p {
    color: var(--color-text-primary);
    margin-bottom: 1.1rem;
}

.is-pillar-page ul,
.is-pillar-page ol {
    padding-left: 1.5rem;
    margin-bottom: 1.1rem;
}

.is-pillar-page li {
    margin-bottom: 0.5rem;
}

.is-pillar-page a {
    color: var(--color-main) !important;
    text-decoration: none !important;
    font-weight: 500;
    border-bottom: 1px solid rgba(46, 125, 50, .3);
    transition: color var(--transition), border-color var(--transition);
}

.is-pillar-page a:hover {
    color: #1b5e20 !important;
    border-bottom-color: #1b5e20;
}

/* ── READING PROGRESS BAR ── */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #2e7d32, #009e78, #2e7d32);
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(46, 125, 50, .3);
}

/* ── DISCLAIMER ── */
.disclaimer {
    background: var(--color-warning-bg);
    border: 1px solid var(--color-warning-border);
    border-left: 4px solid var(--color-warning);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.2rem;
    font-size: 0.87rem;
    color: #5a4500;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.disclaimer strong {
    color: var(--color-warning);
}

.disclaimer a {
    color: var(--color-warning) !important;
    border-color: rgba(196, 125, 0, .4) !important;
}

/* ── TABLE OF CONTENTS ── */
#toc {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.6rem 1.6rem;
    margin: 2rem 0 2.5rem;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

#toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2e7d32, #009e78 50%, #2e7d32);
}

.toc-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--color-main) !important;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin: 0 0 0.85rem !important;
    padding: 0 !important;
    border: none !important;
}

#toc ol {
    counter-reset: toc-counter;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.1rem 1rem;
}

#toc li {
    counter-increment: toc-counter;
    margin: 0 !important;
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
}

#toc li::before {
    content: counter(toc-counter) ".";
    color: var(--color-main);
    font-weight: 700;
    font-size: 0.75rem;
    min-width: 1.4rem;
    flex-shrink: 0;
}

#toc a {
    color: var(--color-text-muted) !important;
    font-size: 0.87rem;
    border: none !important;
    font-weight: 400;
    line-height: 1.65;
    transition: color var(--transition);
}

#toc a:hover {
    color: var(--color-main) !important;
}

/* ── DATA TABLES base ── */
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin: 1.5rem 0 0.5rem;
    cursor: grab;
    border: 1px solid var(--color-border);
    scrollbar-width: thin;
    scrollbar-color: var(--color-main) var(--color-surface);
}

.table-wrapper::-webkit-scrollbar {
    height: 5px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: var(--color-surface);
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-main);
    border-radius: 3px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    background: var(--color-bg);
}

.data-table thead {
    background: var(--color-surface-alt);
}

.data-table thead th {
    color: var(--color-main);
    font-weight: 700;
    padding: 0.75rem 0.9rem;
    text-align: left;
    border-bottom: 2px solid var(--color-border);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background var(--transition);
}

.data-table thead th:hover {
    background: var(--color-main-mid);
}

.data-table thead th.sort-asc::after {
    content: ' ▲';
    font-size: 0.67em;
    opacity: .65;
}

.data-table thead th.sort-desc::after {
    content: ' ▼';
    font-size: 0.67em;
    opacity: .65;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:nth-child(even) {
    background: var(--color-surface);
}

.data-table tbody tr:hover {
    background: var(--color-main-light);
}

.data-table td {
    padding: 0.62rem 0.9rem;
    color: var(--color-text-primary);
    vertical-align: middle;
    line-height: 1.45;
}

/* ── 1. Snapshot (#snapshot-table) ── */
#snapshot-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    font-size: 0.86rem;
    width: 30%;
}

#snapshot-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-main);
    font-size: 1rem;
    white-space: nowrap;
}

#snapshot-table td:nth-child(3) {
    color: var(--color-text-muted);
    font-size: 0.82rem;
}

/* Regular monthly row — MAIN green */
#snapshot-table tbody tr:first-child {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

/* Supplemental row — gold */
#snapshot-table tbody tr:nth-child(2) {
    background: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
}

#snapshot-table tbody tr:nth-child(2) td:nth-child(2) {
    color: var(--color-gold);
}

/* Total 2025 row — gold */
#snapshot-table tbody tr:nth-child(4) {
    background: var(--color-gold-light);
}

#snapshot-table tbody tr:nth-child(4) td:nth-child(2) {
    color: var(--color-gold);
    font-weight: 800;
}

/* Internally managed — MAIN green */
#snapshot-table tbody tr:nth-child(10) {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

#snapshot-table tbody tr:nth-child(10) td:nth-child(2) {
    color: var(--color-main);
    font-weight: 700;
}

/* Non-accrual — accent teal (low = good) */
#snapshot-table tbody tr:nth-child(13) td:nth-child(2) {
    color: var(--color-accent);
    font-weight: 700;
}

/* ── 2. Management comparison (#mgmt-table) ── */
#mgmt-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    min-width: 140px;
}

#mgmt-table td:nth-child(2) {
    color: var(--color-warning);
    font-weight: 600;
}

#mgmt-table td:nth-child(3) {
    color: var(--color-main);
    font-weight: 700;
}

#mgmt-table td:nth-child(4) {
    color: var(--color-text-muted);
    font-size: 0.84rem;
}

/* MAIN internal advantage rows */
#mgmt-table tbody tr:nth-child(1) td:nth-child(3),
#mgmt-table tbody tr:nth-child(2) td:nth-child(3),
#mgmt-table tbody tr:nth-child(3) td:nth-child(3) {
    color: var(--color-main);
    font-weight: 700;
}

/* G&A row — comparable cost */
#mgmt-table tbody tr:nth-child(4) td:nth-child(3) {
    color: var(--color-text-muted);
    font-style: italic;
    font-weight: 400;
}

/* Alignment row — MAIN green strong */
#mgmt-table tbody tr:last-child {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

#mgmt-table tbody tr:last-child td:nth-child(3) {
    color: var(--color-main);
    font-weight: 800;
}

/* ── 3. History (#history-table) ── */
#history-table td:first-child {
    font-weight: 700;
    color: var(--color-heading);
    white-space: nowrap;
}

#history-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-main);
    white-space: nowrap;
}

#history-table td:nth-child(3) {
    font-weight: 600;
    color: var(--color-gold);
    white-space: nowrap;
}

#history-table td:nth-child(4) {
    font-weight: 700;
    color: var(--color-text-primary);
    white-space: nowrap;
}

/* 2020 COVID — warning (held but modest) */
#history-table tbody tr:first-child {
    background: var(--color-warning-bg);
    border-left: 3px solid var(--color-warning);
}

#history-table tbody tr:first-child td:first-child {
    color: var(--color-warning);
    font-weight: 800;
}

/* 2022 rising rates — record NII — MAIN green */
#history-table tbody tr:nth-child(3) {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

/* 2025 latest — gold */
#history-table tbody tr:last-child {
    background: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
}

#history-table tbody tr:last-child td:first-child {
    color: var(--color-gold);
    font-weight: 800;
}

/* ── 4. Dates (#dates-table) ── */
#dates-table td:first-child {
    font-weight: 600;
    color: var(--color-heading);
    white-space: nowrap;
}

#dates-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-main);
    white-space: nowrap;
}

/* Supplemental row — gold */
#dates-table tbody tr:nth-child(4) {
    background: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
}

#dates-table tbody tr:nth-child(4) td:nth-child(2) {
    color: var(--color-gold);
}

/* 2026 monthly rows — MAIN green */
#dates-table tbody tr:nth-child(5),
#dates-table tbody tr:nth-child(6),
#dates-table tbody tr:last-child {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

/* ── 5. MAIN vs ARCC (#mainarcc-table) ── */
#mainarcc-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    min-width: 160px;
}

#mainarcc-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-main);
    white-space: nowrap;
}

#mainarcc-table td:nth-child(3) {
    font-weight: 600;
    color: var(--color-arcc);
    white-space: nowrap;
}

#mainarcc-table td:nth-child(4) {
    font-weight: 700;
    white-space: nowrap;
}

/* MAIN advantages (internal mgmt, total dist, NAV growth, non-accrual) */
#mainarcc-table tbody tr:nth-child(1) td:nth-child(4) {
    color: var(--color-main);
}

#mainarcc-table tbody tr:nth-child(2) td:nth-child(4) {
    color: var(--color-main);
}

#mainarcc-table tbody tr:nth-child(6) td:nth-child(4) {
    color: var(--color-main);
}

#mainarcc-table tbody tr:nth-child(9) td:nth-child(4) {
    color: var(--color-main);
}

/* ARCC advantages (base yield, NAV entry, scale) */
#mainarcc-table tbody tr:nth-child(3) td:nth-child(4) {
    color: var(--color-arcc);
}

#mainarcc-table tbody tr:nth-child(5) td:nth-child(4) {
    color: var(--color-arcc);
}

#mainarcc-table tbody tr:nth-child(8) td:nth-child(4) {
    color: var(--color-arcc);
}

/* Ties — accent teal */
#mainarcc-table tbody tr:nth-child(4) td:nth-child(4) {
    color: var(--color-accent);
}

#mainarcc-table tbody tr:nth-child(10) td:nth-child(4) {
    color: var(--color-accent);
}

/* Internal mgmt row highlight */
#mainarcc-table tbody tr:first-child {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

/* ── 6. Peers (#peers-table) ── */
#peers-table td:first-child {
    font-weight: 600;
    min-width: 140px;
}

#peers-table td:nth-child(4) {
    font-weight: 700;
    color: var(--color-main);
    white-space: nowrap;
}

#peers-table td:nth-child(5) {
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}

/* MAIN row — primary */
#peers-table tbody tr:first-child {
    background: var(--color-main-light);
    border-left: 3px solid var(--color-main);
}

#peers-table tbody tr:first-child td:first-child {
    color: var(--color-main);
    font-weight: 800;
}

/* ARCC row — blue */
#peers-table tbody tr:nth-child(2) {
    background: var(--color-arcc-light);
}

#peers-table tbody tr:nth-child(2) td:first-child {
    color: var(--color-arcc);
    font-weight: 700;
}

/* FSK row — warning (discount / higher risk) */
#peers-table tbody tr:last-child {
    background: var(--color-warning-bg);
}

#peers-table tbody tr:last-child td:nth-child(5) {
    color: var(--color-warning);
    font-weight: 700;
}

.table-note {
    font-size: 0.81rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
    line-height: 1.55;
}

.table-note a {
    color: var(--color-text-muted) !important;
    border-color: rgba(74, 98, 120, .3) !important;
}

/* ── INFO CALLOUT ── */
.info-callout {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-main);
    border-radius: var(--radius-md);
    padding: 0.95rem 1.2rem;
    margin: 1.5rem 0;
    font-size: 0.92rem;
    line-height: 1.72;
}

.info-callout strong {
    color: var(--color-main);
}

/* ── FAQ ACCORDION ── */
.faq {
    display: flex;
    flex-direction: column;
    margin: 1.5rem 0 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    background: var(--color-bg);
    border: none;
    padding: 1.05rem 1.3rem;
    text-align: left;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
    line-height: 1.45;
}

.faq-q:hover {
    background: var(--color-surface);
}

.faq-q[aria-expanded="true"] {
    background: var(--color-main-light);
    color: var(--color-main);
}

.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-main);
    flex-shrink: 0;
    line-height: 1;
    transition: transform var(--transition);
    display: inline-block;
}

.faq-q[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    background: var(--color-surface);
    padding: 0 1.3rem;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.faq-a.is-open {
    max-height: 900px;
    padding: 1rem 1.3rem 1.2rem;
    opacity: 1;
}

.faq-a[hidden] {
    display: block !important;
    visibility: hidden;
    pointer-events: none;
}

.faq-a p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.72;
}

.faq-a p strong {
    color: var(--color-text-primary);
}

.faq-a a {
    color: var(--color-main) !important;
    font-weight: 500;
}

/* ── SUMMARY BOX ── */
.summary-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-main);
    border-radius: var(--radius-md);
    padding: 1.7rem 2rem;
    margin-top: 3rem;
    box-shadow: var(--shadow-card);
}

.summary-box h2 {
    border: none !important;
    margin-top: 0 !important;
    padding-bottom: 0.35rem !important;
    color: var(--color-main) !important;
    font-size: 1.28rem !important;
}

.summary-box ul {
    padding-left: 0 !important;
    list-style: none !important;
}

.summary-box li {
    padding: 0.3rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.93rem;
    line-height: 1.6;
}

.summary-box li:last-child {
    border-bottom: none;
}

/* ── SCROLL OFFSET ── */
.is-pillar-page section {
    scroll-margin-top: 80px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .is-pillar-page {
        font-size: 0.96rem;
    }

    #toc ol {
        grid-template-columns: 1fr;
    }

    .is-pillar-page h1 {
        font-size: 1.42rem !important;
    }

    .is-pillar-page h2 {
        font-size: 1.15rem !important;
    }

    .faq-q {
        font-size: 0.88rem;
        padding: 0.9rem 1rem;
    }

    .summary-box {
        padding: 1.3rem 1.1rem;
    }
}

@media (max-width: 480px) {

    .data-table td,
    .data-table thead th {
        padding: 0.5rem 0.58rem;
    }

    #toc {
        padding: 1.1rem;
    }

    .faq-q {
        font-size: 0.84rem;
    }
}/* End custom CSS */