/* ============================================
   RUE - Privacy Policy Styles
   Dark theme - aligned with main site
   ============================================ */

/* ----------------------------------------
   Page Header
   ---------------------------------------- */
.page-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
}

.page-title {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 14px;
    color: var(--color-text-muted);
    font-style: italic;
}

/* ----------------------------------------
   Privacy Content
   ---------------------------------------- */
.privacy-content {
    padding-top: 40px;
    padding-bottom: 80px;
}

.privacy-content .container {
    max-width: 800px;
}

/* ----------------------------------------
   Policy Sections
   ---------------------------------------- */
.policy-section {
    margin-bottom: 48px;
}

.policy-section:last-of-type {
    margin-bottom: 32px;
}

.policy-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.policy-section h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin-top: 24px;
    margin-bottom: 12px;
}

.policy-section p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

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

/* ----------------------------------------
   Lists
   ---------------------------------------- */
.policy-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.policy-section ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-text-muted);
}

.policy-section ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-text-dark);
}

.policy-section ul li strong {
    color: var(--color-text);
    font-weight: 500;
}

/* ----------------------------------------
   Links
   ---------------------------------------- */
.policy-section a {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity var(--transition-fast);
}

.policy-section a:hover {
    opacity: 0.7;
}

/* ----------------------------------------
   Company Address
   ---------------------------------------- */
.company-address {
    font-style: normal;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-top: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    font-size: 14px;
}

.company-address strong {
    color: var(--color-text);
}

.company-address a {
    color: var(--color-text);
}

/* ----------------------------------------
   Header Navigation (Back Button)
   ---------------------------------------- */
.header-content--with-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-nav {
    padding-top: 8px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 10px 16px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.btn-back:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-muted);
    color: var(--color-text);
    opacity: 1;
}

/* ----------------------------------------
   Responsive Adjustments
   ---------------------------------------- */
@media (max-width: 767px) {
    .page-header {
        margin-bottom: 32px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .policy-section {
        margin-bottom: 32px;
    }
    
    .policy-section h2 {
        font-size: 18px;
    }
    
    .policy-section h3 {
        font-size: 15px;
    }
    
    .company-address {
        padding: 16px;
    }
}

/* ----------------------------------------
   Print Styles
   ---------------------------------------- */
@media print {
    .privacy-content {
        padding: 0;
    }
    
    .policy-section {
        page-break-inside: avoid;
    }
    
    .back-link {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .policy-section h2,
    .policy-section h3,
    .policy-section p,
    .policy-section li {
        color: black;
    }
}
