/* ═══════════════════════════════════════════════════════════════
   Policy Page Styling
   ═══════════════════════════════════════════════════════════════ */

.policy-content {
    font-size: 15px;
    line-height: 1.9;
    color: #333;
    text-align: justify;
}

.policy-content p {
    margin-bottom: 16px;
}

/* Auto format cho các heading trong nội dung */
.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4,
.policy-content .policy-heading {
    color: #a90603;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
    display: block;
}

.policy-content h1,
.policy-content .policy-heading {
    font-size: 18px;
    border-bottom: 2px solid #a90603;
    padding-bottom: 8px;
    text-transform: uppercase;
}

.policy-content h2 {
    font-size: 18px;
}

.policy-content h3 {
    font-size: 16px;
}

.policy-content h4 {
    font-size: 15px;
}

/* Định dạng list */
.policy-content ul,
.policy-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.policy-content li {
    margin-bottom: 8px;
}

/* Highlight các section quan trọng */
.policy-content strong,
.policy-content b {
    color: #a90603;
    font-weight: 600;
}

/* Link trong policy */
.policy-content a {
    color: #a90603;
    text-decoration: underline;
}

.policy-content a:hover {
    color: #7a0402;
}

/* Table styling */
.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

.policy-content table th,
.policy-content table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
}

.policy-content table th {
    background-color: #f5f5f5;
    font-weight: 600;
}

.policy-content table tr:nth-child(even) {
    background-color: #fafafa;
}

/* Blockquote / Note */
.policy-content blockquote {
    border-left: 4px solid #a90603;
    padding-left: 16px;
    margin: 16px 0;
    background-color: #fff8f8;
    padding: 12px 16px;
    font-style: italic;
}

/* Card styling */
.card {
    border: none;
    border-radius: 8px;
}

.card-body {
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-content {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .card-body {
        padding: 20px !important;
    }
    
    .policy-content .policy-heading {
        font-size: 16px;
    }
}
