.legal-header {
    background: var(--legal-bg);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.legal-section {
    margin: clamp(30px, 4vw, 60px) clamp(10px, 2vw, 60px);
    padding: clamp(10px, 2vw, 15px);
    font-size: clamp(1em, 2.5vw, 1.2em);
}

.legal-section h2 {
    font-size: clamp(1.1rem, 3.5vw, 1.3rem);
    font-weight: bold;
    margin-bottom: clamp(15px, 3vw, 30px);
    color: var(--text-color);
}

.legal-section h3 {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin: clamp(10px, 2.5vw, 20px) 0 clamp(5px, 2.5vw, 10px) 0;
}

.legal-section p {
    line-height: 1.6;
    margin-bottom: clamp(8px, 1.5vw, 10px);
    color: var(--text-color);
}

.legal-section ul {
    margin-left: clamp(15px, 2vw, 20px);
    margin-bottom: clamp(8px, 1.5vw, 10px);
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    color: var(--text-color);
}


.legal-section .contact-info {
    padding: clamp(15px, 2.5vw, 20px);
}

.legal-section .contact-info p,
.contact-info p {
    margin-top: clamp(15px, 2.5vw, 20px);
    margin-bottom: clamp(8px, 1.5vw, 10px);
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    /* color: #666; */
}

.legal-section .contact-info p {
    margin-top: 0;
    font-size: clamp(1rem, 2.5vw, 1.05rem);
}

.legal-section a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: clamp(12px, 2vw, 15px) 0;
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    display: block;
    overflow-x: auto;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid var(--legal-table-border);
    padding: clamp(6px, 1.5vw, 10px) clamp(8px, 1.5vw, 10px);
    text-align: left;
    min-width: 80px;
    white-space: nowrap;
}


.cookie-table th {
    background-color: var(--legal-table-bg);
    font-weight: bold;
    color: white;
}

.cookie-note {
    font-style: italic;
    color: #555;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
}

#updateDate {
    text-align: right;
    color: var(--text-color);
    font-size: clamp(1rem, 2.5vw, 1.02rem);
    margin-bottom: 0;

}