/* =========================================================
   WFT — PRIVACY & COOKIE POLICY PAGES
   ========================================================= */

.wft-legal {
    background: #fffaf2;
    color: #123b54;
    padding: 90px 24px 100px;
}

.wft-legal-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Page introduction */

.wft-legal-header {
    padding-bottom: 40px;
    margin-bottom: 45px;
    border-bottom: 1px solid rgba(18, 59, 84, 0.18);
}

.wft-legal-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.wft-legal-header h1 {
    font-size: clamp(48px, 7vw, 88px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 400;
    margin: 0 0 28px;
    color: #123b54;
}

.wft-legal-header h1 em {
    font-weight: inherit;
}

.wft-legal-intro {
    max-width: 720px;
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.65;
    margin: 0;
}

/* Policy content */

.wft-legal-content {
    font-size: 16px;
    line-height: 1.85;
}

.wft-legal-content h2 {
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.025em;
    color: #123b54;
    margin: 42px 0 18px;
}

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

.wft-legal-content h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    margin: 28px 0 12px;
}

.wft-legal-content p {
    margin: 0 0 18px;
}

.wft-legal-content ul {
    list-style: disc;
    padding-left: 24px;
    margin: 0 0 24px;
}

.wft-legal-content li {
    padding-left: 4px;
    margin-bottom: 8px;
}

.wft-legal-content strong {
    font-weight: 600;
}

/* Links */

.wft-legal-content a {
    color: #123b54;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
    transition: opacity 0.2s ease;
}

.wft-legal-content a:hover {
    opacity: 0.7;
}

/* Cookie tables */

.wft-legal-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border: 1px solid rgba(18, 59, 84, 0.18);
    border-radius: 8px;
}

.wft-legal-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
    line-height: 1.6;
}

.wft-legal-table th {
    background: #123b54;
    color: #fffaf2;
    font-weight: 600;
    padding: 16px;
}

.wft-legal-table td {
    padding: 16px;
    vertical-align: top;
    border-bottom: 1px solid rgba(18, 59, 84, 0.12);
}

.wft-legal-table tr:last-child td {
    border-bottom: 0;
}

.wft-legal-table code {
    font-size: 13px;
    overflow-wrap: anywhere;
}

/* Tablet */

@media (max-width: 991px) {
    .wft-legal {
        padding: 70px 32px 80px;
    }
}

/* Mobile */

@media (max-width: 575px) {
    .wft-legal {
        padding: 50px 22px 70px;
    }

    .wft-legal-header {
        padding-bottom: 28px;
        margin-bottom: 32px;
    }

    .wft-legal-header h1 {
        margin-bottom: 20px;
    }

    .wft-legal-content {
        font-size: 15px;
        line-height: 1.8;
    }

    .wft-legal-content h2 {
        margin-top: 32px;
    }

    .wft-legal-content h3 {
        font-size: 18px;
    }

    .wft-legal-table th,
    .wft-legal-table td {
        padding: 12px;
    }
}