﻿/* === 
Meadows Leverage Points — Collapsible Responsive Divs 
Drop this block inside a <div class="container" > within a .wrapper section 

Meadows Leverage Table — scoped styles === */
.meadows-lp {
    margin: 0 0 2em 0;
}

    .meadows-lp details {
        border-left: 4px solid #e0e0e0;
        transition: border-color 0.25s ease;
    }

        .meadows-lp details[open] {
            border-left-color: #6890ca;
        }

        .meadows-lp details.hja-active {
            border-left-color: #6890ca;
        }

            .meadows-lp details.hja-active[open] {
                border-left-color: #50c8fc;
            }

        .meadows-lp details.paradigm-core {
            border-left: 4px solid #d4af37;
        }

            .meadows-lp details.paradigm-core[open] {
                border-left-color: #d4af37;
                background: rgba(212, 175, 55, 0.04);
            }

    .meadows-lp summary {
        cursor: pointer;
        list-style: none;
        padding: 0.9em 1em 0.9em 1.25em;
        line-height: 1.5em;
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0.5em 1em;
    }

        .meadows-lp summary::-webkit-details-marker {
            display: none;
        }

        .meadows-lp summary::marker {
            display: none;
            content: "";
        }

        .meadows-lp summary::before {
            content: "\f054"; /* fa-chevron-right */
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            font-size: 0.7em;
            color: #999;
            transition: transform 0.2s ease, color 0.2s ease;
            flex-shrink: 0;
            position: relative;
            top: -0.05em;
        }

    .meadows-lp details[open] > summary::before {
        transform: rotate(90deg);
        color: #6890ca;
    }

    .meadows-lp details.paradigm-core[open] > summary::before {
        color: #d4af37;
    }

    .meadows-lp summary:hover {
        background: rgba(104, 144, 202, 0.04);
    }

    .meadows-lp summary:focus {
        outline: 2px solid #6890ca;
        outline-offset: -2px;
    }

    .meadows-lp .lp-num {
        font-weight: 600;
        font-size: 1.15em;
        color: #474747;
        min-width: 2em;
        text-align: center;
        flex-shrink: 0;
    }

    .meadows-lp .lp-name {
        font-weight: 600;
        color: #474747;
        flex: 1 1 10em;
    }

    .meadows-lp .lp-desc {
        color: #777;
        font-style: italic;
        font-weight: 300;
        flex: 2 1 14em;
    }

    .meadows-lp .lp-badge {
        display: inline-block;
        font-size: 0.75em;
        font-weight: 600;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        padding: 0.15em 0.6em;
        border-radius: 3px;
        flex-shrink: 0;
        white-space: nowrap;
    }

        .meadows-lp .lp-badge.hja {
            background: #6890ca;
            color: #fff;
        }

        .meadows-lp .lp-badge.core {
            background: #d4af37;
            color: #fff;
        }

        .meadows-lp .lp-badge.passive {
            background: #e0e0e0;
            color: #999;
        }

    .meadows-lp .lp-body {
        padding: 0.75em 1.25em 1.25em 2.5em;
    }

        .meadows-lp .lp-body h4 {
            font-size: 0.85em;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: #999;
            margin-bottom: 0.5em;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 0.35em;
        }

        .meadows-lp .lp-body p {
            font-size: 0.95em;
            margin: 0 0 1.25em 0;
        }

            .meadows-lp .lp-body p:last-child {
                margin-bottom: 0;
            }

    .meadows-lp hr {
        border: 0;
        border-top: solid 1px #e0e0e0;
        margin: 0;
    }

        .meadows-lp hr:last-child {
            display: none;
        }

/* Responsive column stacking within expanded bodies */
@media screen and (max-width: 840px) {
    .meadows-lp .lp-body .row > div {
        margin-bottom: 1em;
    }
}

@media screen and (max-width: 736px) {
    .meadows-lp summary {
        padding: 0.75em 0.75em 0.75em 1em;
        gap: 0.3em 0.6em;
    }

    .meadows-lp .lp-body {
        padding: 0.5em 0.75em 1em 1.5em;
    }

    .meadows-lp .lp-num {
        font-size: 1em;
        min-width: 1.6em;
    }

    .meadows-lp .lp-name {
        font-size: 0.95em;
    }

    .meadows-lp .lp-desc {
        font-size: 0.9em;
    }
}
/* === HJA References — scoped styles === */
.hja-references {
    margin: 2em 0;
}

    .hja-references h3 {
        font-size: 1.4em;
        letter-spacing: -0.025em;
        margin-bottom: 0.75em;
    }

    .hja-references ol {
        list-style: none;
        counter-reset: ref-counter;
        padding-left: 0;
        margin: 0;
    }

        .hja-references ol li {
            counter-increment: ref-counter;
            position: relative;
            padding: 0.6em 0 0.6em 2.75em;
            border-bottom: 1px solid #e0e0e0;
            line-height: 1.55em;
            font-size: 0.95em;
        }

            .hja-references ol li:last-child {
                border-bottom: none;
            }

            .hja-references ol li::before {
                content: counter(ref-counter) ".";
                position: absolute;
                left: 0;
                top: 0.6em;
                font-weight: 600;
                color: #6890ca;
                width: 2.25em;
                text-align: right;
            }

            .hja-references ol li .ref-title {
                font-weight: 600;
                color: #474747;
            }

            .hja-references ol li .ref-desc {
                color: #777;
                font-weight: 300;
                display: block;
                margin-top: 0.2em;
                font-size: 0.92em;
            }

            .hja-references ol li .ref-back {
                font-size: 0.85em;
                text-decoration: none;
                border-bottom: none;
                margin-left: 0.4em;
                color: #999;
            }

                .hja-references ol li .ref-back:hover {
                    color: #6890ca;
                }

            .hja-references ol li a {
                word-break: break-word;
            }

@media screen and (max-width: 736px) {
    .hja-references ol li {
        padding-left: 2.25em;
        font-size: 0.9em;
    }
}
table {
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #ddd;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

tr:hover {
    background-color: #ddd;
}

th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #668DC6 !important;
    color: white;
}
/* Unique class to prevent style leakage */
.modern-blue-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 25px 0;
    font-size: 0.9em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-width: 400px;
    border-radius: 8px 8px 0 0;
    overflow: hidden; /* Ensures the corners stay rounded */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

    .modern-blue-table thead tr {
        background-color: #668DC6; /* Your requested color */
        color: #ffffff;
        text-align: left;
        font-weight: bold;
    }

    .modern-blue-table th,
    .modern-blue-table td {
        padding: 12px 15px;
    }

    .modern-blue-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        /* Zebra stripping for readability */
        .modern-blue-table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

        .modern-blue-table tbody tr:last-of-type {
            border-bottom: 2px solid #668DC6;
        }

        /* Hover effect for better UX */
        .modern-blue-table tbody tr:hover {
            background-color: #f1f7ff;
            transition: background-color 0.2s ease;
        }