/**
 * [afors.uk/_r/stylesheets/shared/performance_manifesto.css]
 * Author: Alex Paterson
 * Date: 20/07/2026
 * Version: v 1.0.1
 * ----------------------------------------------------------------------------
 * ROLE: Specific styling for the Performance Manifesto and shared text documents.
 * OPTIMISATION: Fluid 100% width, flat selectors, zero external fonts.
 * ----------------------------------------------------------------------------
 */

.manifesto-container {
    width: 100%;
    box-sizing: border-box;
    padding: 2.5rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: #2d3748;
    line-height: 1.7;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.manifesto-container h1 {
    font-size: 2.5rem;
    color: #1a365d;
    border-bottom: 3px solid #2c5aa0;
    padding-bottom: 0.75rem;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.manifesto-container section {
    margin-bottom: 3rem;
}

.manifesto-container h2 {
    font-size: 1.6rem;
    color: #2c5aa0;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
}

/* Subtle architectural accent block beside headers */
.manifesto-container h2::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.6rem;
    background-color: #cbd5e1;
    margin-right: 0.75rem;
    border-radius: 2px;
}

.manifesto-container p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    max-width: 120ch; /* Prevents text lines from becoming unreadably long on ultra-wide monitors */
}

.manifesto-container ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

/* Standard List Items (Feature Callouts) */
.manifesto-container li {
    background: #f8fafc;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
    border-left: 4px solid #94a3b8;
    border-radius: 0 4px 4px 0;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.manifesto-container li:hover {
    transform: translateX(4px);
    border-left-color: #2c5aa0;
}

.manifesto-container li strong {
    color: #1a365d;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.15rem;
}

/* Specific styling for the technical metrics */
.manifesto-container .metrics-list li {
    border-left-color: #2c5aa0;
    background: #f0f4f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 1.1rem;
    color: #0f172a;
}

.manifesto-container .metrics-list li strong {
    font-family: system-ui, sans-serif;
    display: inline;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .manifesto-container {
        padding: 1.5rem;
    }

    .manifesto-container h1 {
        font-size: 2rem;
    }

    .manifesto-container .metrics-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}