/* Document listing pages */
:root {
    --ronchi: #f0d046;
    --outer-space: #212a26;
    --alizarin-crimson: #d91d27;
    --conch: #c8d4ce;
    --ronchi-glow: rgba(240, 208, 70, 0.3);
}

body {
    font-family: "Poppins", "Inter", sans-serif;
    background: #f8faf7;
    color: var(--outer-space);
}

.documents-hero {
    background: linear-gradient(135deg, var(--outer-space) 0%, #1a211e 100%);
    color: #fff;
    padding: 4.5rem 1rem;
    position: relative;
    overflow: hidden;
}

.documents-hero::after {
    content: "";
    position: absolute;
    right: -8rem;
    bottom: -8rem;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgba(240, 208, 70, 0.12);
}

.documents-hero .container {
    position: relative;
    z-index: 1;
}

.documents-eyebrow {
    color: var(--ronchi);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.65rem;
}

.documents-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.documents-hero p {
    color: var(--conch);
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0;
}

.documents-section {
    padding: 4rem 1rem;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.document-group {
    background: #fff;
    border: 1px solid rgba(33, 42, 38, 0.1);
    border-top: 4px solid var(--ronchi);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(33, 42, 38, 0.08);
    padding: 1.25rem;
}

.document-group h2 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--outer-space);
}

.document-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.document-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(33, 42, 38, 0.1);
    border-radius: 6px;
    color: var(--outer-space);
    text-decoration: none;
    font-weight: 600;
    background: #fffdf4;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.document-list a::after {
    content: "PDF";
    flex: 0 0 auto;
    color: #fff;
    background: var(--alizarin-crimson);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 800;
}

.document-list a:hover {
    color: var(--alizarin-crimson);
    border-color: rgba(217, 29, 39, 0.28);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .documents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .documents-hero h1 {
        font-size: 2rem;
    }
}

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

    .documents-hero {
        padding: 3rem 1rem;
    }

    .documents-hero h1 {
        font-size: 1.65rem;
    }
}
