/* ==========================================================================
   Legal Pages Styles - Marina Sabater Theme
   ========================================================================== */

/* Legal Header */
.legal-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #eee;
}

.legal-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.legal-title {
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.legal-updated,
.legal-published {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
    font-style: italic;
}

/* Legal Content */
.legal-content {
    padding: 4rem 0;
    min-height: 60vh;
}

.legal-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.legal-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #892716;
}

.legal-text h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin: 2.5rem 0 1rem;
}

.legal-text h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #444;
    margin: 2rem 0 1rem;
}

.legal-text p {
    margin-bottom: 1.5rem;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 0.5rem;
}

.legal-text a {
    color: #892716;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-text a:hover {
    color: #a02f1e;
    text-decoration: none;
}

.legal-text blockquote {
    border-left: 4px solid #892716;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: #f8f9fa;
    font-style: italic;
}

.legal-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.legal-text th,
.legal-text td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.legal-text th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Legal Navigation */
.legal-navigation {
    padding: 3rem 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.legal-nav-content {
    text-align: center;
}

.back-home-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #892716;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-home-link:hover {
    background: #a02f1e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(137, 39, 22, 0.3);
}

.back-home-link svg {
    transition: transform 0.3s ease;
}

.back-home-link:hover svg {
    transform: translateX(-3px);
}

/* Page Links (Pagination) */
.page-links {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #892716;
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background 0.3s ease;
}

.page-links a:hover {
    background: #a02f1e;
}

.page-links span {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #ccc;
    color: #666;
    border-radius: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-header {
        padding: 6rem 0 3rem;
    }
    
    .legal-title {
        font-size: 2.25rem;
    }
    
    .legal-content {
        padding: 3rem 0;
    }
    
    .legal-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .legal-text h2 {
        font-size: 1.75rem;
    }
    
    .legal-text h3 {
        font-size: 1.35rem;
    }
    
    .legal-text h4 {
        font-size: 1.15rem;
    }
    
    .legal-text ul,
    .legal-text ol {
        padding-left: 1.5rem;
    }
    
    .legal-navigation {
        padding: 2rem 0;
    }
    
    .back-home-link {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
} 