/* aboutbfs.php — Bus Fleet Software about page (site colours) */
.about-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 15px 40px;
    box-sizing: border-box;
}

.aboutbfs-card {
    max-width: 560px;
    width: 100%;
    margin: 0 auto 24px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 18px 20px 22px;
    border-top: 4px solid #002b5c;
    box-sizing: border-box;
}

.aboutbfs-lead {
    margin: 0 0 14px;
    font-size: 0.96em;
    line-height: 1.45;
    color: #333;
}

.aboutbfs-section {
    margin: 0 0 16px;
}

.aboutbfs-section h2 {
    margin: 0 0 8px;
    padding: 0 0 8px;
    background: transparent;
    color: #002b5c;
    font-size: 0.95em;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 0;
    border-bottom: 2px solid #002b5c;
}

.aboutbfs-section ul {
    margin: 0;
    padding: 0 0 0 1.15em;
    font-size: 0.92em;
    line-height: 1.4;
    color: #333;
}

.aboutbfs-section li {
    margin-bottom: 0.35em;
}

.aboutbfs-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 18px auto 0;
    max-width: 560px;
    width: 100%;
}

.aboutbfs-actions .contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    flex: 1 1 140px;
    box-sizing: border-box;
    padding: 12px 22px;
    background: transparent;
    color: #002b5c;
    border: 2px solid #002b5c;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.35px;
    text-align: center;
    min-height: 48px;
    transition: background 0.2s ease, color 0.2s ease;
}

.aboutbfs-actions .contact-button:hover {
    background: rgba(0, 43, 92, 0.06);
    color: #002b5c;
}

.about-container .brn-header {
    max-width: 560px;
    border-bottom: 4px solid #002b5c;
}

.about-container footer {
    max-width: 560px;
    color: #666;
}

@media (max-width: 640px) {
    .about-container {
        padding: 12px 12px 28px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }

    .about-container .brn-header {
        max-width: 100%;
    }

    .aboutbfs-card {
        max-width: 100%;
        padding: 14px 14px 18px;
        margin-bottom: 16px;
    }

    .aboutbfs-lead,
    .aboutbfs-section ul {
        font-size: 0.95rem;
    }

    .aboutbfs-actions {
        flex-direction: column;
        max-width: 100%;
    }

    .aboutbfs-actions .contact-button {
        width: 100%;
        flex: none;
    }

    .about-container footer {
        max-width: 100%;
    }
}
