/* Reset và Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
    font-weight: 600;
}

.subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
}

/* Main Content */
main {
    background: #fff;
    border-radius: 6px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e0e0e0;
}

/* Policies Grid */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Policy Card */
.policy-card {
    background: #fff;
    border-radius: 6px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
    transition: border-color 0.2s ease;
}

.policy-card:hover {
    border-color: #999;
}

.policy-card .policy-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
    text-align: center;
}

.policy-card h3 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.policy-card .policy-description {
    color: #666;
    margin-bottom: 0.75rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.policy-card .last-updated {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.read-more:hover {
    background: #333;
    color: #fff;
}

/* Policy Detail Page */
.policy-detail {
    max-width: 800px;
    margin: 0 auto;
}

.back-link {
    display: inline-block;
    color: #333;
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.back-link:hover {
    color: #666;
}

.policy-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.policy-header .policy-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
}

.policy-header h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.policy-header .policy-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.policy-header .last-updated {
    color: #999;
    font-size: 0.9rem;
}

.policy-content {
    line-height: 1.8;
    color: #444;
}

.policy-content h3 {
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.policy-content h3:first-child {
    margin-top: 0;
}

.policy-content p {
    margin-bottom: 1rem;
    text-align: justify;
    color: #555;
}

.policy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Footer */
footer {
    background: #fff;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

footer p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-note {
    font-size: 0.85rem;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .policies-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .policy-card {
        padding: 1.25rem;
    }

    .policy-header h2 {
        font-size: 1.75rem;
    }

    .policy-content h3 {
        font-size: 1.15rem;
    }

    main {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    .policy-card .policy-icon {
        font-size: 1.75rem;
    }

    .policy-header .policy-icon {
        font-size: 2.5rem;
    }

    .policy-header h2 {
        font-size: 1.5rem;
    }
}
