/* /app/static/significantstories_com/css/legal.css */
/* Styles for the legal page (Terms of Use, Privacy Policy) */

/* Tab Navigation */
.legal-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color, #e8e4df);
    padding-bottom: 0;
}

.legal-tab {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: #7f8c8d;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-tab:hover {
    color: #2c3e50;
    text-decoration: none;
}

.legal-tab.active {
    color: #2c3e50;
    border-bottom-color: #3498db;
}

/* Legal Content */
.legal-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-effective-date {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 1.5rem;
    text-align: center;
}

.legal-content h2 {
    font-family: var(--serif-font);
    font-size: 1.35rem;
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1.25rem;
    padding-left: 0;
    list-style: none;
}

.legal-content ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #34495e;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.legal-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 5px;
    height: 5px;
    background-color: #3498db;
    border-radius: 50%;
}

.legal-content ul li strong {
    color: #2c3e50;
}

.legal-content a {
    color: #3498db;
    text-decoration: none;
}

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

.legal-contact {
    background-color: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 3px solid #3498db;
}

.legal-contact a {
    font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
    .legal-tabs {
        gap: 0.25rem;
    }

    .legal-tab {
        padding: 0.625rem 1rem;
        font-size: 0.95rem;
    }

    .legal-content h2 {
        font-size: 1.25rem;
        margin-top: 2rem;
    }

    .legal-content h3 {
        font-size: 1.05rem;
    }
}
