/* ForWater — paginile de conținut (/termeni/, /confidentialitate/, blogul).
   Se încarcă DUPĂ style.css și folosește aceleași jetoane de culoare.
   Curățenia vine din spațiu și din rigle de 1px, nu din carduri cu umbră. */

.pg main { padding-top: 0; }

/* ---------- capul paginii ---------- */
.pg-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--n200); }
.crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--n500); margin-bottom: 18px; }
.crumb a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.crumb span { color: var(--n300); }
.pg-hero h1 { max-width: 24ch; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.pg-hero .lead { max-width: 62ch; margin-top: 18px; font-size: 19px; line-height: 30px; color: var(--n600); }
.art-meta { margin-top: 16px; font-size: 14px; line-height: 20px; color: var(--n500); }
.art-meta b { font-weight: 600; color: var(--n700); }

/* ---------- corpul ---------- */
.sec { padding: 56px 0; border-bottom: 1px solid var(--n200); }
.sec:last-of-type { border-bottom: 0; }
.sec > .wrap > h2 { font-size: clamp(27px, 2.6vw, 38px); line-height: 1.18; max-width: 26ch; }
.sec > .wrap > h2 + p { margin-top: 12px; max-width: 62ch; color: var(--n600); line-height: 26px; }
.sec h3 { font-size: 20px; line-height: 28px; font-weight: 500; }

.prose { max-width: 68ch; min-width: 0; }
.prose > * + * { margin-top: 16px; }
.prose p { line-height: 27px; color: var(--n700); }
.prose h2 { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.2; margin-top: 44px; }
.prose h3 { margin-top: 34px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li { line-height: 26px; color: var(--n700); }
.prose strong { font-weight: 600; color: var(--n900); }
.prose a:not(.btn) { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--primary-200); padding: 6px 20px; color: var(--n600); }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--n100); padding: 1px 6px; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--n200); margin: 36px 0; }

/* articolul de blog: conținut + „din articol" în dreapta */
.art-grid { display: grid; grid-template-columns: minmax(0, 68ch) 240px; gap: 64px; align-items: start; }
.art-toc { position: sticky; top: 96px; border-left: 1px solid var(--n200); padding-left: 20px; font-size: 14px; }
.art-toc b { display: block; font-weight: 600; color: var(--n900); margin-bottom: 10px; }
.art-toc ol { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.art-toc a { color: var(--n600); line-height: 20px; display: block; }
.art-toc a:hover { color: var(--primary); }
.art-cover { aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 28px; min-height: 200px; }

/* ---------- tabele ---------- */
.tbl-wrap { overflow-x: auto; margin-top: 8px; }
table.pret { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 15px; }
table.pret th, table.pret td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--n200); vertical-align: top; }
table.pret thead th { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--n500); font-weight: 600; padding-bottom: 11px; }
table.pret tbody th { font-weight: 600; color: var(--n900); }
table.pret tbody tr:last-child th, table.pret tbody tr:last-child td { border-bottom: 0; }

/* ---------- întrebări pe fundal deschis ---------- */
.qa { margin-top: 26px; max-width: 860px; }
.qa .acc-group { border-bottom: 1px solid var(--n200); }
.qa .acc-q { font-size: 19px; line-height: 27px; padding: 19px 0; color: var(--n900); border-top: 1px solid var(--n200); }
.qa .acc-q i::before, .qa .acc-q i::after { background: var(--primary); }
.qa .acc-a p { color: var(--n600); line-height: 26px; padding-bottom: 8px; max-width: 68ch; }
.qa .acc-a .meta { color: var(--primary); padding-bottom: 20px; }

/* ---------- banda de final ---------- */
.cta-band { background: var(--dark); color: #fff; padding: 64px 0; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); line-height: 1.15; max-width: 22ch; }
.cta-band p { color: #b9c6cd; margin-top: 14px; max-width: 58ch; line-height: 26px; }
.cta-band .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px #fff; }

/* ---------- legături între pagini ---------- */
.next { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 30px; }
.next a { display: block; border: 1px solid var(--n200); border-radius: var(--r-lg); padding: 20px 22px; transition: border-color .15s, background .15s; }
.next a:hover { border-color: var(--primary-200); background: var(--primary-50); }
.next b { display: block; font-size: 17px; font-weight: 600; margin-bottom: 5px; }
.next span { color: var(--n500); font-size: 14.5px; line-height: 21px; }

.note { margin-top: 20px; color: var(--n500); font-size: 14px; line-height: 21px; max-width: 68ch; }

/* indexul blogului pe fundal alb: cardurile primesc contur */
.bposts-idx .bpost { border: 1px solid var(--n200); }

@media (max-width: 1000px) {
  .art-grid { grid-template-columns: 1fr; gap: 0; }
  .art-toc { display: none; }
}
@media (max-width: 720px) {
  .pg-hero { padding: 36px 0 30px; }
  .sec { padding: 40px 0; }
  .pg-hero h1 { max-width: none; }
}
