/* TiLavoro additions to the mockup CSS: pager, photo credit, wide facts row, job text. */
.tl-pager{display:flex;gap:18px;align-items:center;justify-content:center;margin:26px 0 8px;font-weight:600}
.tl-pager a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tl-pager span{color:#5d7180;font-size:.9rem}
.tl-credit{display:block;color:#667789;font-size:.78rem;margin:-10px 0 6px}
.tl-facts .tl-wide{grid-column:1/-1}
.tl-jobtext{overflow-wrap:anywhere}
.tl-jobtext p,.tl-jobtext li{line-height:1.75;color:#344b5c}
.tl-jobtext h3,.tl-jobtext h4{margin:24px 0 10px}
.tl-apply .tl-source{overflow-wrap:anywhere;word-break:break-all}
.tl-apply .tl-candidati{margin-top:14px;display:inline-block}
.tl-apply .tl-candidati{background:var(--red);font-size:1.05rem;padding:14px 30px}
#welcome .form-error{color:#b42318;font-weight:600;margin:4px 0 0}
/* Guide visuals: photos, tables, step diagrams, timelines, bar charts, callouts */
.tl-reading .tl-figure{margin:26px 0}
.tl-reading .tl-figure img{display:block;width:100%;aspect-ratio:1.7;object-fit:cover;border-radius:12px}
.tl-reading .tl-figure figcaption{color:#607081;font-size:.85rem;margin-top:8px;line-height:1.45}
.tl-tablewrap{overflow-x:auto;margin:22px 0;border:1px solid #dae2e8;border-radius:12px}
.tl-tablewrap table{border-collapse:collapse;width:100%;min-width:480px;font-size:.93rem}
.tl-tablewrap th{background:#f3f7fa;text-align:left;font-weight:700;color:#152b40}
.tl-tablewrap th,.tl-tablewrap td{padding:11px 14px;border-bottom:1px solid #e6edf2;vertical-align:top;line-height:1.5}
.tl-tablewrap tr:last-child td{border-bottom:0}
.tl-steps{list-style:none;counter-reset:step;padding:0!important;margin:24px 0;display:grid;gap:12px}
.tl-steps li{counter-increment:step;position:relative;padding:14px 16px 14px 62px;background:#f3f7fa;border-radius:12px;margin:0!important}
.tl-steps li::before{content:counter(step);position:absolute;left:16px;top:13px;width:32px;height:32px;border-radius:50%;background:#cf302d;color:#fff;font-weight:700;display:grid;place-items:center}
.tl-steps li:not(:last-child)::after{content:"";position:absolute;left:31px;top:46px;bottom:-14px;width:2px;background:#e3a7a5}
.tl-steps b{display:block;color:#152b40}.tl-steps span{display:block;color:#344b5c;line-height:1.6;margin-top:3px}
.tl-timeline{list-style:none;padding:0 0 0 22px!important;margin:24px 0;border-left:3px solid #dae2e8}
.tl-timeline li{position:relative;margin:0 0 18px!important;padding-left:6px}
.tl-timeline li::before{content:"";position:absolute;left:-31px;top:5px;width:13px;height:13px;border-radius:50%;background:#fff;border:3px solid #cf302d}
.tl-timeline time{font-weight:800;color:#cf302d;letter-spacing:.02em}.tl-timeline p{margin:3px 0 0;color:#344b5c;line-height:1.6}
.tl-chart{margin:26px 0;padding:18px 20px;border:1px solid #dae2e8;border-radius:12px}
.tl-chart figcaption{font-weight:700;margin-bottom:14px;color:#152b40}
.tl-bars{display:grid;gap:10px}
.tl-bar{display:grid;grid-template-columns:minmax(90px,30%) 1fr auto;gap:12px;align-items:center;font-size:.9rem}
.tl-bar__label{color:#344b5c}.tl-bar__value{font-weight:700;color:#152b40;white-space:nowrap}
.tl-bar__track{height:14px;background:#eef3f7;border-radius:7px;overflow:hidden}
.tl-bar__fill{display:block;height:100%;width:var(--v);background:#173d66;border-radius:0 7px 7px 0}
.tl-chart__source{display:block;margin-top:12px;color:#607081;font-size:.8rem}
.tl-callout{margin:22px 0;padding:14px 18px;border-radius:12px;background:#eaf4fb;border-left:4px solid #173d66}
.tl-callout p{margin:0;line-height:1.65;color:#243c52}
.tl-callout--consiglio{background:#edf7ef;border-left-color:#2f6b3a}
.tl-callout--attenzione{background:#fdecea;border-left-color:#cf302d}
@media(max-width:600px){.tl-bar{grid-template-columns:1fr auto}.tl-bar__track{grid-column:1/-1;order:3}}
.tl-columns>*{min-width:0}
.tl-jobs.tl-jobs3{grid-template-columns:repeat(3,minmax(0,1fr))}
.tl-jobs3 .tl-ingrid{display:flex;flex-direction:column;justify-content:center;margin:0}
@media(max-width:1000px){.tl-jobs.tl-jobs3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.tl-jobs.tl-jobs3{grid-template-columns:1fr}}
.tl-cookie{position:fixed;left:16px;right:16px;bottom:16px;z-index:40;max-width:720px;margin:0 auto;display:flex;gap:16px;align-items:center;justify-content:space-between;padding:14px 18px;background:#fff;border:1px solid #dae2e8;border-radius:12px;box-shadow:0 12px 32px rgba(17,40,65,.18);font-size:.92rem;color:#243c52}
.tl-cookie[hidden]{display:none}.tl-cookie p{margin:0;line-height:1.5}.tl-cookie a{color:inherit;text-decoration:underline}.tl-cookie .btn{flex:none;padding:10px 18px}
@media(max-width:560px){.tl-cookie{flex-direction:column;align-items:stretch;text-align:left}}
