.terms-and-conditions,
.privacy-policy {
    background-color: #f7f7f7;
}

.terms-page,
.policy-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Quicksand', sans-serif;
}

.content-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.terms-header,
.policy-header {
    text-align: center;
    padding: 2rem;
    background-color: rgba(199, 167, 86, 0.1);
    border-radius: 8px;
}

.terms-header h1,
.policy-header h1 {
    color: #c7a756;
    letter-spacing: -0.7px;
    font: 500 70px / 1.1 "Libre Bodoni", -apple-system, Roboto, Helvetica, sans-serif;
    margin: 0;
}

.terms-header h2 {
    color: #494949;
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 1rem;
}

.terms-content,
.policy-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.content-block {
    margin-bottom: 2rem;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2,
.content-block h3 {
    color: #141414;
    font-family: 'Libre Bodoni', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.content-block p {
    color: #494949;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-block ul {
    list-style-type: none;
    padding-left: 0;
}

.content-block li {
    color: #494949;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.8rem;
}

.content-block li::before {
    content: "\25C6";
    color: #c7a756;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-link {
    color: #c7a756;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover,
.contact-link:focus {
    color: #a98a3d;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .terms-page,
    .policy-page {
        padding: 1rem;
    }

    .terms-header,
    .policy-header {
        padding: 1.5rem;
    }

    .terms-header h1,
    .policy-header h1 {
        font-size: 2rem;
    }

    .terms-header h2 {
        font-size: 1.1rem;
    }

    .terms-content,
    .policy-content {
        padding: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-link {
        transition: none;
    }
}
