.elementor-34015 .elementor-element.elementor-element-f5959ab{--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-34015 .elementor-element.elementor-element-1894d92{--display:flex;}.elementor-34015 .elementor-element.elementor-element-023009b{--display:flex;}.elementor-34015 .elementor-element.elementor-element-d128248{--display:flex;}/* Start custom CSS for container, class: .elementor-element-1894d92 *//* ============================================================
   STEP 2 — CSS (Elementor Custom CSS)
   Page: Warren Buffett Stock Portfolio — investsnips.com
   Brand: White bg · Dark navy #0d1b2a · Teal #009e78 accent
   Context: Berkshire/Buffett — navy + Berkshire gold #c9a227
   Tables: holdings · activity · principles · brk · (peers future)
   ============================================================ */

: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-text-primary: #0d1b2a;
    --color-text-muted: #4a6278;
    --color-heading: #0a1628;
    --color-warning: #c47d00;
    --color-warning-bg: #fffbf0;
    --color-warning-border: #f0c060;
    /* Berkshire Hathaway navy */
    --color-brk: #1a2e5a;
    --color-brk-light: rgba(26, 46, 90, .07);
    --color-brk-mid: rgba(26, 46, 90, .14);
    /* Buffett gold */
    --color-gold: #c9a227;
    --color-gold-light: rgba(201, 162, 39, .08);
    --color-gold-mid: rgba(201, 162, 39, .16);
    /* Buy green | Sell red */
    --color-buy: #1b5e20;
    --color-buy-bg: rgba(27, 94, 32, .07);
    --color-sell: #b71c1c;
    --color-sell-bg: rgba(183, 28, 28, .07);
    --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: 960px;
    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-brk) !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-brk) !important;
    text-decoration: none !important;
    font-weight: 500;
    border-bottom: 1px solid rgba(26, 46, 90, .3);
    transition: color var(--transition), border-color var(--transition);
}

.is-pillar-page a:hover {
    color: var(--color-gold) !important;
    border-color: var(--color-gold);
}

/* ── READING PROGRESS BAR ── */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #1a2e5a, #c9a227 50%, #1a2e5a);
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(201, 162, 39, .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, #1a2e5a, #c9a227 50%, #1a2e5a);
}

.toc-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--color-brk) !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-gold);
    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-brk) !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-brk) 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-brk);
    border-radius: 3px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
    background: var(--color-bg);
}

.data-table thead {
    background: var(--color-brk);
}

.data-table thead th {
    color: #ffffff;
    font-weight: 700;
    padding: 0.75rem 0.9rem;
    text-align: left;
    border-bottom: 2px solid rgba(201, 162, 39, .5);
    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: rgba(201, 162, 39, .25);
}

.data-table thead th.sort-asc::after {
    content: ' ▲';
    font-size: 0.67em;
    opacity: .7;
}

.data-table thead th.sort-desc::after {
    content: ' ▼';
    font-size: 0.67em;
    opacity: .7;
}

.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-brk-light);
}

.data-table td {
    padding: 0.62rem 0.9rem;
    color: var(--color-text-primary);
    vertical-align: middle;
    line-height: 1.45;
}

/* ── 1. Holdings (#holdings-table) ── */
#holdings-table td:first-child {
    font-weight: 700;
    color: var(--color-heading);
    min-width: 140px;
}

#holdings-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-brk);
    white-space: nowrap;
    font-family: monospace;
    font-size: 0.9rem;
}

#holdings-table td:nth-child(4) {
    font-weight: 700;
    color: var(--color-gold);
    white-space: nowrap;
    text-align: right;
}

#holdings-table td:nth-child(5) {
    white-space: nowrap;
    font-weight: 600;
}

/* Top 5 rows — gold accent */
#holdings-table .row-top5 {
    background: var(--color-gold-light) !important;
    border-left: 3px solid var(--color-gold);
}

#holdings-table .row-top5:hover {
    background: var(--color-gold-mid) !important;
}

#holdings-table .row-top5 td:first-child {
    color: var(--color-brk);
    font-weight: 800;
}

/* ── 2. Activity (#activity-table) ── */
#activity-table td:first-child {
    font-weight: 700;
    color: var(--color-heading);
    min-width: 140px;
    white-space: nowrap;
}

#activity-table td:nth-child(2) {
    font-weight: 700;
    white-space: nowrap;
}

#activity-table td:nth-child(3) {
    font-size: 0.84rem;
    color: var(--color-text-muted);
}

/* Sell rows — red */
#activity-table .row-sell {
    background: var(--color-sell-bg) !important;
    border-left: 3px solid var(--color-sell);
}

#activity-table .row-sell td:nth-child(2) {
    color: var(--color-sell);
}

/* Buy rows — green */
#activity-table .row-buy {
    background: var(--color-buy-bg) !important;
    border-left: 3px solid var(--color-buy);
}

#activity-table .row-buy td:nth-child(2) {
    color: var(--color-buy);
}

/* ── 3. Principles (#principles-table) ── */
#principles-table td:first-child {
    font-weight: 800;
    color: var(--color-gold);
    white-space: nowrap;
    width: 2%;
    text-align: center;
}

#principles-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-brk);
    min-width: 160px;
}

#principles-table td:nth-child(3) {
    font-size: 0.86rem;
    color: var(--color-text-primary);
}

#principles-table td:nth-child(4) {
    font-size: 0.83rem;
    color: var(--color-text-muted);
    font-style: italic;
    min-width: 180px;
}

/* Capital Preservation row — highlight */
#principles-table tbody tr:last-child {
    background: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
}

#principles-table tbody tr:last-child td:nth-child(2) {
    color: var(--color-gold);
}

/* ── 4. BRK Share Classes (#brk-table) ── */
#brk-table td:first-child {
    font-weight: 600;
    color: var(--color-text-muted);
    min-width: 160px;
}

#brk-table td:nth-child(2) {
    font-weight: 700;
    color: var(--color-gold);
    white-space: nowrap;
}

#brk-table td:nth-child(3) {
    font-weight: 700;
    color: var(--color-brk);
    white-space: nowrap;
}

/* BRK/A price row */
#brk-table tbody tr:first-child {
    background: var(--color-gold-light);
    border-left: 3px solid var(--color-gold);
}

/* Dividends row — warning (both none) */
#brk-table tbody tr:nth-child(7) {
    background: var(--color-warning-bg);
}

#brk-table tbody tr:nth-child(7) td:nth-child(2),
#brk-table tbody tr:nth-child(7) td:nth-child(3) {
    color: var(--color-warning);
    font-weight: 700;
}

/* Best For row — BRK/B highlighted */
#brk-table tbody tr:last-child {
    background: var(--color-brk-light);
    border-left: 3px solid var(--color-brk);
}

#brk-table tbody tr:last-child td:nth-child(3) {
    color: var(--color-brk);
    font-weight: 800;
}

.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-gold);
    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-brk);
}

/* ── 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-brk-light);
    color: var(--color-brk);
}

.faq-icon {
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--color-gold);
    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-brk) !important;
    font-weight: 500;
}

/* ── SUMMARY BOX ── */
.summary-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-gold);
    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-brk) !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 */