/**
 * Policy Pages Styles
 *
 * @package Etches
 */

/* Policy Page Container */
.policy-page {
    background: #ffffff;
}

/* Policy Header */
.policy-header {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 3rem 0 2.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.policy-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    color: #666;
}

.policy-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.policy-breadcrumb .separator {
    color: #ccc;
}

.policy-breadcrumb .current {
    color: #333;
    font-weight: 500;
}

.policy-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.policy-updated {
    font-size: 0.875rem;
    color: #666;
    margin: 0;
    font-style: italic;
}

.policy-updated time {
    font-weight: 500;
    color: #333;
}

/* Policy Body */
.policy-body {
    padding: 3.5rem 0 5rem;
}

.policy-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Typography */
.policy-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2.5rem 0 1.25rem 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.policy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 2rem 0 1rem 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.policy-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 1.75rem 0 0.875rem 0;
    line-height: 1.4;
}

.policy-content p {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a5568;
    margin: 0 0 1.25rem 0;
}

.policy-content strong {
    font-weight: 600;
    color: #1a1a1a;
}

.policy-content em {
    font-style: italic;
    color: #2d3748;
}

/* Lists */
.policy-content ul,
.policy-content ol {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
}

.policy-content li {
    font-size: 1rem;
    line-height: 1.75;
    color: #4a5568;
    margin-bottom: 0.75rem;
}

.policy-content ul {
    list-style-type: disc;
}

.policy-content ol {
    list-style-type: decimal;
}

.policy-content ul ul,
.policy-content ol ol {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.policy-content li > ul,
.policy-content li > ol {
    margin-left: 1rem;
}

/* Links */
.policy-content a {
    color: #d4af37;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

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

/* Blockquotes */
.policy-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-left: 4px solid #d4af37;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
}

.policy-content blockquote p {
    margin-bottom: 0;
    font-size: 1.0625rem;
    color: #2d3748;
}

/* Tables */
.policy-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.policy-content thead {
    background: #fafafa;
}

.policy-content th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.9375rem;
    border-bottom: 2px solid #e5e7eb;
}

.policy-content td {
    padding: 1rem;
    font-size: 0.9375rem;
    color: #4a5568;
    border-bottom: 1px solid #e5e7eb;
}

.policy-content tr:last-child td {
    border-bottom: none;
}

/* Highlighted boxes */
.policy-content .notice {
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    border-left: 4px solid #d4af37;
    background: #fffbf5;
}

.policy-content .notice p {
    margin-bottom: 0;
}

.policy-content .notice-info {
    border-left-color: #3b82f6;
    background: #eff6ff;
}

.policy-content .notice-warning {
    border-left-color: #f59e0b;
    background: #fffbeb;
}

.policy-content .notice-error {
    border-left-color: #ef4444;
    background: #fef2f2;
}

/* Dividers */
.policy-content hr {
    margin: 3rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

/* Contact Info Box */
.policy-contact-box {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.policy-contact-box h3 {
    margin-top: 0;
}

.policy-contact-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .policy-header {
        padding: 2rem 0 1.5rem;
    }

    .policy-title {
        font-size: 2rem;
    }

    .policy-body {
        padding: 2.5rem 0 3.5rem;
    }

    .policy-content h2 {
        font-size: 1.5rem;
        margin: 2rem 0 1rem 0;
    }

    .policy-content h3 {
        font-size: 1.25rem;
        margin: 1.5rem 0 0.75rem 0;
    }

    .policy-content h4 {
        font-size: 1.125rem;
    }

    .policy-content p,
    .policy-content li {
        font-size: 0.9375rem;
    }

    .policy-content table {
        font-size: 0.875rem;
    }

    .policy-content th,
    .policy-content td {
        padding: 0.75rem 0.5rem;
    }

    .policy-contact-box {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .policy-title {
        font-size: 1.75rem;
    }

    .policy-content h2 {
        font-size: 1.375rem;
    }

    .policy-content blockquote {
        padding: 1rem 1rem 1rem 1.5rem;
    }
}

/* Print Styles */
@media print {
    .policy-header {
        background: none;
        border-bottom: 2px solid #000;
        padding: 1rem 0;
    }

    .policy-breadcrumb,
    .policy-updated {
        display: none;
    }

    .policy-content a {
        color: #000;
        text-decoration: underline;
    }

    .policy-contact-box {
        background: none;
        border: 2px solid #000;
    }
}
