/* --- APB Properties of Florida: Legal Pages Stylesheet (legal-page.css) --- */

.policy-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.policy-container h1 {
    font-size: 2.5em;
    color: #001f3f; /* Deep Navy Blue */
    border-bottom: 3px solid #0077b6; /* Aqua line for header */
    padding-bottom: 10px;
    margin-bottom: 5px;
}

.last-updated {
    font-style: italic;
    color: #777;
    margin-bottom: 40px;
}

.policy-section {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.policy-section h2 {
    font-size: 1.6em;
    color: #ff6f61; /* Coral for section headers */
    margin-top: 0;
    margin-bottom: 15px;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333;
}

.policy-section ul {
    list-style-type: disc;
    margin-left: 40px;
    padding-left: 0;
    margin-bottom: 15px;
}

.policy-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}

.policy-section a {
    font-weight: bold;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .policy-container {
        padding: 15px;
        margin: 20px auto;
    }
    
    .policy-container h1 {
        font-size: 2em;
    }

    .policy-section h2 {
        font-size: 1.4em;
    }

    .policy-section ul {
        margin-left: 20px;
    }
}

/* --- Add these rules to your existing legal-page.css --- */

.protected-classes-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.protected-classes-list li {
    background-color: #eaf6ff; /* Light Blue background */
    padding: 10px 15px;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 0;
    flex-basis: calc(50% - 7.5px); /* Two items per row on desktop */
}

.protected-classes-list i {
    color: #ff6f61; /* Coral gavel/icon */
    margin-right: 8px;
}

.logo-display-section {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

.fair-housing-logo {
    width: 100px; /* Adjust size as needed */
    height: auto;
    margin: 0 15px;
    opacity: 0.8;
}

/* Mobile Adjustment for Protected Classes List */
@media (max-width: 600px) {
    .protected-classes-list li {
        flex-basis: 100%; /* Stack items vertically on smaller phones */
    }
}