/* =========================================================
   Pagine legali (Privacy Policy, Cookie Policy)
   ========================================================= */

.tm-legal-header {
    padding: 20px 0 10px;
    border-bottom: 1px solid #e3e3e3;
    background: #ffffff;
}
.tm-legal-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #222222;
    text-decoration: none;
}
.tm-legal-brand img {
    height: 58px;
    width: auto;
}
.tm-legal-brand span {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.tm-legal-brand:hover { color: #0077cc; }

.tm-legal-main {
    max-width: 900px;
    padding-top: 46px;
    padding-bottom: 30px;
}
.tm-legal-main h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #555555;
    margin: 0 0 8px;
}
.tm-legal-main h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #444444;
    margin: 2rem 0 0.7rem;
}
.tm-legal-main h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #444444;
    margin: 1.5rem 0 0.5rem;
}
.tm-legal-main p,
.tm-legal-main li {
    font-size: 16px;
    line-height: 1.7;
    color: #444444;
}
.tm-legal-main ul,
.tm-legal-main ol {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.tm-legal-main li { margin-bottom: 0.4rem; }
.tm-legal-main a { color: #0066b3; text-decoration: underline; }
code { color: #b02a6a; }
.tm-legal-main a:hover { color: #004b99; }
.tm-legal-meta {
    font-size: 14px;
    color: #666666;
    margin-bottom: 26px;
}
.tm-legal-main table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 22px;
    font-size: 14px;
}
.tm-legal-main th,
.tm-legal-main td {
    border: 1px solid #dddddd;
    padding: 9px 10px;
    text-align: left;
    vertical-align: top;
}
.tm-legal-main th {
    background: #f4f4f4;
    font-weight: 600;
    color: #333333;
}
.tm-legal-note {
    background: #f7f7f7;
    border-left: 4px solid #0099FF;
    padding: 14px 16px;
    margin: 18px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}

@media (max-width: 767px) {
    .tm-legal-brand { padding-right: 60px; }
    .tm-legal-brand img { height: 44px; }
    .tm-legal-brand span { font-size: 14px; }
    .tm-legal-main { padding-top: 30px; }
    .tm-legal-main h1 { font-size: 1.6rem; }
    .tm-legal-main table { font-size: 13px; }
}
