/* ======================= Terms of Service Page Styles ======================= */
/* This file uses the same class names as privacy-policy-style.css for consistency */

/* This section creates the overlapping effect for the content over the hero image */
.policy-main-section {
    background-color: #fff;
    margin-top: -80px;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    position: relative;
    z-index: 2;
    padding: 4rem 1rem;
}

.policy-container {
    max-width: 800px; /* A narrower container is better for reading long text */
}

.policy-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.policy-main-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-main-section ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-main-section li {
    margin-bottom: 0.75rem;
}

.policy-main-section a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.policy-main-section a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .policy-main-section {
        padding: 5rem 2rem;
    }
}
