/* =============================================
   POLICY PAGES — Đặc Sản Ba Miền
   ============================================= */

.policy-hero {
    background: linear-gradient(135deg, var(--bg-green) 0%, var(--bg-green-dark, #2E5339) 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><circle cx="40" cy="40" r="1.5" fill="rgba(255,255,255,0.06)"/></svg>') repeat;
    background-size: 40px 40px;
}

.policy-hero-content {
    position: relative;
    z-index: 2;
}

.policy-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 16px;
    backdrop-filter: blur(6px);
}

.policy-hero h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 12px;
    font-family: var(--bg-font-heading, 'Playfair Display', serif);
}

.policy-hero-sub {
    color: rgba(255,255,255,0.85);
    font-size: 17px;
    margin: 0;
}

.policy-breadcrumb {
    margin-top: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.policy-breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.policy-breadcrumb a:hover {
    color: #fff;
}

/* Content Section */
.policy-content-section {
    padding: 60px 0 80px;
    background: #FAFBF7;
}

.policy-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 50px 60px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
}

.policy-last-updated {
    display: inline-block;
    background: #E6F5B0;
    color: #2E5339;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 30px;
}

.policy-block {
    margin-bottom: 40px;
}

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

.policy-block h2 {
    font-size: 22px;
    font-weight: 700;
    color: #2E5339;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E6F5B0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-block h2 .policy-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.policy-block h3 {
    font-size: 17px;
    font-weight: 600;
    color: #3a6b4a;
    margin: 20px 0 10px;
}

.policy-block p {
    color: #555;
    line-height: 1.8;
    margin: 0 0 12px;
    font-size: 15px;
}

.policy-block ul,
.policy-block ol {
    padding-left: 24px;
    margin: 10px 0 16px;
}

.policy-block li {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 6px;
}

.policy-block li::marker {
    color: #7bb83e;
}

/* Highlight Box */
.policy-highlight {
    background: linear-gradient(135deg, #f0f9e8, #E6F5B0);
    border-left: 4px solid #7bb83e;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

.policy-highlight p {
    color: #2E5339;
    font-weight: 500;
    margin: 0;
}

/* Warning Box */
.policy-warning {
    background: #FFF8E1;
    border-left: 4px solid #FFB300;
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 16px 0;
}

.policy-warning p {
    color: #5D4E00;
    margin: 0;
    font-size: 14px;
}

/* Info Table */
.policy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
}

.policy-table th,
.policy-table td {
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.policy-table th {
    background: #2E5339;
    color: #fff;
    font-weight: 600;
}

.policy-table tr:nth-child(even) td {
    background: #f8faf5;
}

.policy-table tr:hover td {
    background: #E6F5B0;
}

/* CTA Bottom */
.policy-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.policy-cta p {
    color: #666;
    font-size: 15px;
    margin-bottom: 16px;
}

.policy-cta-btn {
    display: inline-block;
    background: var(--bg-green, #2E5339);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.policy-cta-btn:hover {
    background: #3a6b4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46,83,57,0.3);
    color: #fff;
}

/* Sidebar Nav */
.policy-sidebar {
    position: sticky;
    top: 100px;
}

.policy-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-nav li {
    margin-bottom: 4px;
}

.policy-nav a {
    display: block;
    padding: 10px 16px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.policy-nav a:hover,
.policy-nav a.active {
    color: #2E5339;
    background: #f0f9e8;
    border-left-color: #7bb83e;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .policy-hero h1 {
        font-size: 28px;
    }
    
    .policy-content-wrapper {
        padding: 30px 20px;
        border-radius: 12px;
    }
    
    .policy-block h2 {
        font-size: 18px;
    }
    
    .policy-table th,
    .policy-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}
