/**
 * OLIVE Legal / Policy Page Styles
 */

.legal-content {
    text-align: justify;
    text-justify: inter-word;
}

.legal-content h3 {
    color: #2d3748;
    border-bottom: 2px solid #6C7D3C;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.legal-content h5 {
    color: #4a5568;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.legal-content p {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content ul,
.legal-content ol {
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-content .table,
.legal-content table {
    text-align: left;
}

.legal-content a {
    color: #6C7D3C;
    text-decoration: none;
}

.legal-content a:hover {
    color: #455727;
    text-decoration: underline;
}

.legal-content .table {
    font-size: 0.9rem;
}

.legal-content .table thead th,
.legal-content .table-light th {
    background-color: #eef3df;
    color: #2d3748;
    font-weight: 600;
    border-bottom: 2px solid #6C7D3C;
}

.container.py-5 .card-body {
    text-align: justify;
}

.container.py-5 .card-body h4 {
    text-align: left;
}

.container.py-5 .card-body a {
    color: #6C7D3C;
    text-decoration: none;
}

.container.py-5 .card-body a:hover {
    color: #455727;
    text-decoration: underline;
}

.legal-content .card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.legal-content .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

@media print {
    .legal-content {
        font-size: 12pt;
    }
}
