/* VecML Technical Advisors */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: #111827;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* Same brand treatment as the current VecML homepage: logo icon + VecML text. */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eef0f3;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
}

.brand-logo {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-name {
    font-size: 27px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #111827;
}

main {
    flex: 1;
    padding: 58px 0 80px;
}

.page-title {
    margin: 0 0 38px;
    text-align: center;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #111827;
}

.advisor-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.advisor {
    min-width: 0;
    padding: 24px 16px 22px;
    background: #ffffff;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.advisor:hover {
    transform: translateY(-2px);
    border-color: #d9dde5;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.advisor-img {
    display: block;
    width: 140px;
    height: 140px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.advisor-name {
    margin: 15px 0 0;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;
    color: #111827;
}

.site-footer {
    padding: 30px 0 26px;
    text-align: center;
    color: #667085;
    font-size: 14px;
    border-top: 1px solid #eef0f3;
}

.footer-inner p {
    margin: 8px 0;
}

.footer-inner hr {
    width: 20%;
    min-width: 180px;
    border: 0;
    border-top: 1px solid #e3e6eb;
}

.site-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .advisor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .page-shell {
        width: min(100% - 30px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 24px;
    }

    main {
        padding: 42px 0 60px;
    }

    .page-title {
        margin-bottom: 28px;
    }

    .advisor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .advisor {
        padding: 18px 12px;
    }

    .advisor-img {
        width: 110px;
        height: 110px;
    }

    .advisor-name {
        font-size: 16px;
    }
}

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