/* Policy Page Styling */

/* Main content structure */
.static-page-container article {
    margin-bottom: 3rem; /* Increased spacing between articles */
    border-bottom: none; /* Removed border for a cleaner look like the reference */
}

/* Typography for policies */
.static-page-container h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color); /* Underline for the header */
    padding-bottom: 0.5rem;
    display: inline-block; /* Allow border to wrap text width or full width based on preference, here sticking to block behavior but maybe limited width looks better? keeping simple first */
    width: 100%;
}

/* Indent content under headers */
.static-page-container h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    padding-left: 1rem; /* Indentation */
}

.static-page-container p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    padding-left: 1rem; /* Indentation */
}

.static-page-container ul,
.static-page-container ol {
    margin-bottom: 1rem;
    padding-left: 2.5rem; /* Indentation + List marker space */
    color: var(--text-secondary);
}

.static-page-container li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Alert boxes for translations */
.alert {
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-info {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.alert-info small {
    display: block;
    color: var(--text-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .static-page-container {
        padding: 0 1rem;
    }

    .static-page-container p,
    .static-page-container h4,
    .static-page-container ul,
    .static-page-container ol {
        padding-left: 0.5rem; /* Reduce indentation on mobile */
    }

    .static-page-container ul,
    .static-page-container ol {
        padding-left: 1.5rem;
    }
}
