/* ============================================
   Legal Pages - Cookie Policy & Privacy
   ============================================ */

/* Page Spacing */
.legal-page
{
    padding: 3rem 0 4rem;
    min-height: 60vh;
}

/* Headings */
.legal-page h2
{
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0ece3;
    position: relative;
}

.legal-page h2:first-child
{
    margin-top: 0;
}

.legal-page h2::after
{
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: #8E2C3B;
    border-radius: 1px;
}

.legal-page h3
{
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-page h4
{
    font-size: 1.1rem;
    font-weight: 600;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Text */
.legal-page p
{
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-page strong
{
    color: #1a1a2e;
    font-weight: 600;
}

/* Lists */
.legal-page ul,
.legal-page ol
{
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-page li
{
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
}

.legal-page li::marker
{
    color: #8E2C3B;
}

/* Links */
.legal-page a
{
    color: #8E2C3B;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.legal-page a:hover
{
    color: #8a7340;
    border-bottom-color: #8a7340;
}

/* Separators */
.legal-page hr
{
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0 50%, transparent);
    margin: 2rem 0;
}

/* Tables */
.legal-page table
{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.legal-page table thead th
{
    background: #1a1a2e;
    color: #ffffff;
    padding: 0.85rem 1rem;
    font-weight: 600;
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.legal-page table tbody td
{
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f4f8;
    color: #4a5568;
    vertical-align: top;
}

.legal-page table tbody tr:last-child td
{
    border-bottom: none;
}

.legal-page table tbody tr:nth-child(even)
{
    background-color: #f8fafc;
}

.legal-page table tbody tr:hover
{
    background-color: #f0ece3;
    transition: background-color 0.15s ease;
}

/* Responsive */
@media (max-width: 768px)
{
    .legal-page
    {
        padding: 2rem 0 3rem;
    }

    .legal-page h2
    {
        font-size: 1.35rem;
    }

    .legal-page h3
    {
        font-size: 1.1rem;
    }

    .legal-page table
    {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
