﻿/*:root {
    --bg: #f5f6f8;
    --panel: #ffffff;
    --ink: #1d2330;
    --muted: #5d6675;
    --line: #e3e6ec;
    --gline: #d7e3f3;
    --brand: #1f4e79;
    --brand-ink: #ffffff;
    --accent: #2b6cb0;
    --chip: #eef3f9;
    --warn-bg: #fff6e6;
    --warn-ink: #8a5a00;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(20, 30, 50, .08), 0 8px 24px rgba(20, 30, 50, .06);
    --chatshadow: 0 2px 8px rgba(0,0,0,.05);
}

.layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 80px;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 920px) {
    .layout {
        grid-template-columns: 1fr;
    }
}

.content {
    min-width: 0;
}

.eyebrow {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--muted);
    margin: 0 0 6px;
}

h1.page-title {
    font-size: 26px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 18px;
}

    .meta .firm {
        color: var(--ink);
        font-weight: 600;
    }

.card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 620px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.insight-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .08s ease, box-shadow .12s ease;
}

    .insight-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(20,30,50,.12);
    }

    .insight-card .firm {
        font-size: 12px;
        color: var(--accent);
        font-weight: 600;
    }

    .insight-card h3 {
        margin: 6px 0 8px;
        font-size: 16.5px;
        line-height: 1.3;
    }

    .insight-card p {
        margin: 0;
        color: var(--muted);
        font-size: 13.5px;
    }

    .insight-card .date {
        margin-top: 10px;
        font-size: 12px;
        color: var(--muted);
    }

article.insight {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

    article.insight h2 {
        margin: 22px 0 8px;
        font-size: 17px;
    }

    article.insight p {
        margin: 0 0 14px;
    }

    article.insight.highlight {
        outline: 3px solid #ffd479;
        outline-offset: 2px;
        transition: outline-color 1.2s ease;
    }

.back {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px;
}*/

/* Chat / search widget */
/*.widget {
    position: sticky;
    top: 24px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

    .widget .w-head {
        background: #102f4d;
        color: #fff;
        padding: 12px 14px;
    }

        .widget .w-head .t {
            font-weight: 600;
            font-size: 14px;
        }

        .widget .w-head .s {
            font-size: 11.5px;
            opacity: .8;
            margin-top: 2px;
        }

    .widget .source-pill {
        font-size: 10.5px;
        opacity: .85;
        margin-top: 6px;
    }

.messages {
    padding: 14px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 250px;
}

.msg {
    max-width: 92%;
    padding: 9px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    white-space: pre-wrap;
}

    .msg.user {
        align-self: flex-end;
        background: var(--brand);
        color: #fff;
        border-bottom-right-radius: 3px;
        max-width: 85%;
        box-shadow: var(--chatshadow);
    }

    .msg.bot {
        align-self: flex-start;
        background: var(--chip);
        color: var(--ink);
        border-bottom-left-radius: 3px;
        max-width: 85%;
        padding: 12px 16px;
        border-radius: 18px;
        box-shadow: var(--chatshadow);
    }

        .msg.bot .cite {
            color: var(--accent);
            font-weight: 600;
            cursor: pointer;
        }

.cites {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

    .cites .c {
        font-size: 11.5px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 3px 9px;
        cursor: pointer;
        color: var(--accent);
    }

        .cites .c:hover {
            background: var(--chip);
            color: var(--brand);
            border-color: var(--brand);
        }

.guided {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

    .guided button {
        font-size: 12px;
        background: #f5f8fc;
        border: 1px solid var(--gline);
        border-radius: 999px;
        padding: 5px 11px;
        cursor: pointer;
        color: var(--accent);
    }

        .guided button:hover {
            background: var(--chip);
            color: var(--brand);
            border-color: var(--brand);
        }

.typing {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
}

.composer {
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 16px;
}

    .composer input {
        flex: 1;
        padding: 10px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        font-size: 13.5px;
        outline: none;
        height: 48px;
    }

        .composer input:focus {
            border-color: var(--accent);
        }

    .composer button {
        background: var(--brand);
        color: #fff;
        border: none;
        border-radius: 8px;
        padding: 0 16px;
        font-size: 13.5px;
        cursor: pointer;
        height: 48px;
    }

        .composer button:hover {
            background: var(--accent);
        }

        .composer button:disabled {
            opacity: .5;
            cursor: default;
        }

footer.foot {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    padding: 20px;
}*/

/* Hero banner */
/*.hero-banner {
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

    .hero-banner .hero-banner-content {
        position: absolute;
        top: 50%;
        z-index: 100;
        transform: translateY(-50%);
        left: 10%;
        max-width: 70%;
        max-height: 400px;
        color: #ffffff;
        overflow: hidden;
    }

        .hero-banner .hero-banner-content h1 {
            font-size: 4rem;
        }

        .hero-banner .hero-banner-content p {
            font-size: 1.5rem;
        }

        .hero-banner .hero-banner-content .btn {
            padding: 0.75rem 1.5rem;
        }

    .hero-banner .hero-banner-image {
        position: absolute;
        inset: 0;
        z-index: 0;
    }

        .hero-banner .hero-banner-image::after {
            content: '';
            position: absolute;
            display: block;
            background: rgba(0,0,0,0.4);
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
            height: 100%;
            width: 100%;
        }

        .hero-banner .hero-banner-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

@media only screen and (max-width: 767px) {
    .hero-banner {
        min-height: 500px;
    }

        .hero-banner .hero-banner-content {
            max-height: 400px;
        }

            .hero-banner .hero-banner-content h1 {
                font-size: 2.5rem;
            }

            .hero-banner .hero-banner-content P {
                font-size: 1rem;
            }
}*/

