/* css/confidentialitate.css — Politica de confidențialitate */

/* „CONFIDENȚIALITATE" e un singur cuvânt de 16 litere. La cele 2.75rem fixe din
   temă depășește ecranele înguste, iar overflow-x: hidden îl taie — titlul pare
   că lipsește. Îl legăm de lățimea ferestrei; ruperea cuvântului e doar plasă
   de siguranță, la dimensiunile de mai jos nu se ajunge la ea. */
#page-top .masthead .masthead-heading {
    font-size: clamp(1.35rem, 7vw, 2.75rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}
#page-top .masthead .masthead-subheading {
    font-size: clamp(1rem, 4vw, 1.25rem);
}

#conf-section .container { max-width: 780px; }

.conf-updated {
    font-size: 0.82rem;
    color: var(--secondary-text-color);
    margin-bottom: 1.2rem;
}

/* Rezumatul de sus: ce trebuie să știi dacă nu citești mai departe. */
.conf-summary {
    padding: 1rem 1.15rem;
    border: 1px solid var(--card-border);
    border-left: 4px solid #16a34a;
    border-radius: 0.6rem;
    background: var(--section-alt-bg);
    margin-bottom: 1.6rem;
}
.conf-summary h2 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.conf-summary h2 i { color: #16a34a; }
.conf-summary ul { margin: 0; padding-left: 1.2rem; }
.conf-summary li { font-size: 0.92rem; line-height: 1.7; }

.conf-section { margin-bottom: 1.8rem; }
.conf-section h2 {
    font-size: 1.15rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 0.6rem;
    scroll-margin-top: 5rem;
}
.conf-section h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 1rem 0 0.4rem;
}
.conf-section p, .conf-section li { font-size: 0.94rem; line-height: 1.7; }
.conf-section ul { padding-left: 1.2rem; }

/* Tabelele cu date: pe telefon se derulează lateral, nu strâng pagina. */
.conf-table-wrap {
    overflow-x: auto;
    margin: 0.8rem 0 1rem;
    border: 1px solid var(--card-border);
    border-radius: 0.6rem;
}
.conf-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
    min-width: 34rem;
}
.conf-table th, .conf-table td {
    padding: 0.55rem 0.7rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--card-border);
}
.conf-table th {
    background: var(--section-alt-bg);
    font-weight: 700;
    white-space: nowrap;
}
.conf-table tr:last-child td { border-bottom: 0; }
.conf-table code {
    font-size: 0.82rem;
    padding: 0.1rem 0.3rem;
    border-radius: 0.25rem;
    background: var(--table-highlight-bg);
    overflow-wrap: anywhere;
}

/* Semne pentru unde ajung datele: în browser sau afară. */
.conf-tag {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}
.conf-tag.is-local { background: rgba(22, 163, 74, 0.16); color: #15803d; }
.conf-tag.is-out { background: rgba(217, 119, 6, 0.16); color: #b45309; }
body.dark-theme .conf-tag.is-local { color: #4ade80; }
body.dark-theme .conf-tag.is-out { color: #fbbf24; }

.conf-note {
    padding: 0.8rem 1rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(217, 119, 6, 0.4);
    background: rgba(217, 119, 6, 0.10);
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0.9rem 0;
}
.conf-note i { color: #d97706; }

/* Comanda de accept/refuz pentru reclame, chiar în politică. */
.conf-consent {
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--card-border);
    border-radius: 0.6rem;
    background: var(--section-alt-bg);
    margin: 0.9rem 0 1.1rem;
}
.conf-consent-state {
    margin: 0 0 0.7rem;
    font-size: 0.9rem;
    font-weight: 700;
}
.conf-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.conf-consent-actions .btn { min-width: 9.5rem; }

.conf-contact {
    padding: 1rem 1.15rem;
    border: 1px solid var(--card-border);
    border-radius: 0.7rem;
    background: var(--section-alt-bg);
}
.conf-contact a { overflow-wrap: anywhere; }

/* Cuprinsul */
.conf-toc {
    padding: 0.9rem 1.1rem;
    border: 1px solid var(--card-border);
    border-radius: 0.6rem;
    margin-bottom: 1.6rem;
}
.conf-toc ol { margin: 0; padding-left: 1.3rem; }
.conf-toc li { font-size: 0.9rem; line-height: 1.75; }

@media (max-width: 575.98px) {
    .conf-table { min-width: 30rem; }
}
