/* Free content pages (generated by the Aepp repo's functions/scripts/build-free-pages.js) */
:root { --green: #1e8e4f; --green-soft: #e3f4ea; --red: #c62d3a; --slate: #cfd7ed; --code-bg: #1f2433; --code-text: #e8ecf6; --mono: "JetBrains Mono", ui-monospace, Consolas, monospace; }
.free-intro { padding: 36px 0 0; }
.free-intro .note { margin-top: 0; }
.theme, .theory { padding: 24px 0 0; }
.doc { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 40px; font-size: 1.04rem; min-width: 0; }
.doc > * + *, .sec > * + *, .subq > * + *, .solution-body > * + * { margin-top: 14px; }
.doc h2 { font-size: 1.5rem; }
.doc h2 small { color: var(--muted); font-size: .95rem; font-weight: 700; margin-left: 12px; }
.doc h4 { font-size: 1.05rem; font-weight: 800; margin-top: 22px; }
.doc ul, .doc ol { padding-left: 24px; }
.doc li + li { margin-top: 6px; }
.doc p, .doc li, .doc .note, .doc .def { white-space: pre-line; }
.doc .muted { color: var(--muted); }
.doc .chip { display: inline-block; background: var(--blue-soft); color: var(--blue-deep); border-radius: 999px; padding: 2px 12px; font-size: .85rem; font-weight: 700; }
.doc .def { background: var(--bg); border-radius: 14px; padding: 14px 18px; }
.doc .def b { display: block; color: var(--blue-deep); }
.doc .note { background: #fff4e5; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; padding: 12px 18px; margin-top: 14px; }
.doc pre { background: var(--code-bg); color: var(--code-text); border-radius: 14px; padding: 16px 20px; overflow-x: auto; font-family: var(--mono); font-size: .9rem; line-height: 1.55; font-variant-ligatures: none; font-feature-settings: "liga" 0, "calt" 0; tab-size: 4; }
.doc figure { text-align: center; }
.doc figure img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.doc figure.small img { max-width: min(100%, 420px); }
.doc .img-alt { display: inline-block; color: var(--muted); font-style: italic; padding: 12px; }
.doc .table-wrap { overflow-x: auto; }
.doc table { border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { border: 1px solid var(--border); padding: 6px 12px; text-align: left; }
.doc th { background: var(--bg); font-weight: 800; }
.theme-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.theme-nav a { background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 16px; text-decoration: none; font-weight: 700; color: var(--blue-deep); }
.theme-nav a:hover { border-color: var(--blue); }
.theme { scroll-margin-top: 72px; }
.theme-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.subq { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 24px; }
.subq-head { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.subq-head h3 { font-size: 1.15rem; font-weight: 800; scroll-margin-top: 80px; }
.subq-head .pts { color: var(--muted); font-weight: 700; font-size: .9rem; }
.statements { list-style: none; padding: 0 !important; display: grid; gap: 8px; }
.statements li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; margin: 0 !important; }
.statements .num { font-weight: 800; color: var(--muted); }
.solution-toggle { background: var(--slate); color: var(--text); border: 0; border-radius: 999px; font: inherit; font-weight: 700; padding: 8px 18px; cursor: pointer; }
.solution-toggle:hover { background: #bfc9e3; }
details.solution > summary { display: inline-block; list-style: none; background: var(--slate); border-radius: 999px; font-weight: 700; padding: 8px 18px; cursor: pointer; }
details.solution > summary::-webkit-details-marker { display: none; }
details.solution > summary::before { content: "Δείξε "; }
details.solution[open] > summary::before { content: "Κρύψε "; }
details.solution > summary:hover { background: #bfc9e3; }
.solution-body { border-left: 4px solid var(--green); background: var(--green-soft); border-radius: 0 14px 14px 0; padding: 16px 20px; margin-top: 12px; }
.tf { display: inline-block; font-weight: 800; border-radius: 8px; padding: 0 8px; margin-right: 6px; color: #fff; }
.tf.yes { background: var(--green); }
.tf.no { background: var(--red); }
.sec-toc { list-style: none; padding: 0 !important; display: grid; gap: 2px; }
.sec-toc a { display: block; padding: 6px 10px; border-radius: 10px; text-decoration: none; color: var(--text); }
.sec-toc a:hover { background: var(--bg); }
.sid { color: var(--muted); font-weight: 800; margin-right: 10px; }
.sec { scroll-margin-top: 72px; }
.sec + .sec { border-top: 1px solid var(--border); padding-top: 26px; margin-top: 30px; }
.sec h2 { font-size: 1.2rem; line-height: 1.35; }
.locked { padding: 48px 0 8px; }
.locked-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 18px; }
.locked-list a { display: flex; gap: 12px; align-items: center; height: 100%; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 12px 16px; text-decoration: none; color: var(--text); font-weight: 700; line-height: 1.35; }
.locked-list a:hover { border-color: var(--blue); }
.locked-list small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; }
.lock { font-size: 1.1rem; opacity: .7; }
@media (max-width: 760px) {
  .hero .btn { white-space: normal; text-align: center; }
  .doc { padding: 22px 16px; font-size: 1rem; }
}
