/* ============================================
   Policy Pages – Text Readability Fix
   Forces high-contrast dark text on light bg
   ============================================ */

/* --- General text: dark readable color --- */
.policy-content,
.policy-content p,
.policy-content li,
.policy-content span,
.policy-content small,
.policy-content strong {
    color: #222222 !important;
}

.policy-content h3,
.policy-content h4,
.policy-content h5,
.policy-content h6 {
    color: #111111 !important;
}

.policy-content .text-muted {
    color: #666666 !important;
}

/* --- Tables --- */
.policy-content .table {
    color: #222222 !important;
    --bs-table-color: #222222 !important;
}

.policy-content .table th,
.policy-content .table td {
    color: #222222 !important;
    border-color: #dee2e6 !important;
}

.policy-content .table thead,
.policy-content .table thead th,
.policy-content .table-light,
.policy-content .table-light th {
    color: #ffffff !important;
    background-color: #1e293b !important;
    --bs-table-bg: #1e293b !important;
    border-color: #1e293b !important;
}

.policy-content .table tbody tr {
    background-color: #ffffff !important;
}

.policy-content .table tbody tr:nth-child(even) {
    background-color: #f8f9fa !important;
}

/* --- Cards --- */
.policy-content .card {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
}

.policy-content .card-body,
.policy-content .card-body li,
.policy-content .card-body p,
.policy-content .card-body span,
.policy-content .card-body strong {
    color: #333333 !important;
}

.policy-content .card-header.bg-success {
    background-color: #198754 !important;
    color: #ffffff !important;
}

.policy-content .card-header.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

.policy-content .card-header.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.policy-content .card-header h6 {
    color: #ffffff !important;
}

/* bg-light cards (contact info) */
.policy-content .card.bg-light,
.policy-content .bg-light {
    background-color: #f1f5f9 !important;
    color: #222222 !important;
}

.policy-content .bg-light p,
.policy-content .bg-light strong,
.policy-content .bg-light h6 {
    color: #222222 !important;
}

/* --- Accordion --- */
.policy-content .accordion-item {
    background-color: #ffffff !important;
    border-color: #dee2e6 !important;
    color: #222222 !important;
}

.policy-content .accordion-button {
    background-color: #f8f9fa !important;
    color: #222222 !important;
    border-color: #dee2e6 !important;
    box-shadow: none !important;
    font-weight: 600 !important;
}

.policy-content .accordion-button:not(.collapsed) {
    background-color: #e9ecef !important;
    color: #111111 !important;
}

.policy-content .accordion-body {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* --- Alerts --- */
.policy-content .alert-warning {
    background-color: #fff3cd !important;
    color: #664d03 !important;
    border-color: #ffecb5 !important;
}

.policy-content .alert-warning h6,
.policy-content .alert-warning strong {
    color: #664d03 !important;
}

.policy-content .alert-warning li,
.policy-content .alert-warning p {
    color: #664d03 !important;
}

.policy-content .alert-info {
    background-color: #cff4fc !important;
    color: #055160 !important;
    border-color: #b6effb !important;
}

.policy-content .alert-info h6,
.policy-content .alert-info strong {
    color: #055160 !important;
}

.policy-content .alert-info li,
.policy-content .alert-info p {
    color: #055160 !important;
}

/* --- Lists --- */
.policy-content ul,
.policy-content ol {
    color: #222222 !important;
}

.policy-content .list-unstyled li {
    color: #333333 !important;
}

/* --- Page title --- */
.page-title {
    color: #111111 !important;
}

/* --- Horizontal rule --- */
.policy-content hr {
    border-color: #dee2e6 !important;
}