/* IA24 Editoriale 1.0 — palette e proporzioni ispirate a darioamodei.com */
:root{color-scheme:light;--bg:#f0eee6;--panel:#f0eee6;--green:#343430;--text:#1f1e1d;--muted:#5e5d59;--line:#d1cfc5}
body{font-family:Georgia,"Times New Roman",serif;font-size:20px!important;line-height:1.65;background:var(--bg);color:var(--text)}
.shell,.content{width:100%;max-width:720px;padding-left:28px;padding-right:28px}
.top{border:0;background:var(--bg)}.top .shell{padding-top:36px;padding-bottom:20px}
.brand{font:600 30px/1.2 Georgia,serif;letter-spacing:-.03em;color:var(--text)}.brand:before{content:none}
nav a{font-family:inherit;font-size:17px}
.workspace-label,.eyebrow,.meta,.response-label,.section-title,footer,.extra-toggle{font-family:inherit}
.workspace-label,.eyebrow,.meta,.response-label,footer{font-size:15px}
.workspace-bar{padding-top:8px;padding-bottom:8px}
.session-heading{padding:24px 0 10px}
h1,.entry h1{font-family:inherit;font-size:clamp(34px,5.5vw,54px);font-weight:600;line-height:1.12;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:break-word}
.intro{font-size:22px;line-height:1.5;max-width:34em;margin:20px 0}
.content{padding-top:18px;padding-bottom:64px}
.search-form{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:8px 0;margin:24px 0 36px}
.prompt-mark{display:none}.search-form input{font-size:18px;padding-left:0}
.search-form button{background:transparent;color:var(--text);border:1px solid var(--line);border-radius:4px;font-size:17px}
.section-title{font-size:16px;text-transform:none;letter-spacing:.02em;margin:30px 0 6px}
.grid{display:block}
.card{display:block;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:28px 0;overflow-wrap:break-word}
.card-body{padding:0}.card h2{font-size:27px;line-height:1.25;letter-spacing:-.02em;font-weight:600;margin:10px 0 12px;text-wrap:pretty}
.card h2 a{color:var(--text);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.card p{font-size:20px;line-height:1.6;margin:12px 0;color:var(--muted)}
.card-body>a:last-child{display:inline-block;font-size:17px;min-height:44px;padding:8px 0;color:var(--text)}
.meta{font-size:15px;line-height:1.6;color:var(--muted)}.meta a{margin-left:8px;color:var(--muted)}
.response-panel{background:transparent;border:0;border-radius:0;padding:0}
.entry{max-width:100%;overflow-wrap:break-word}
.entry-content{font-size:20px;line-height:1.75}
.entry-content p{margin:0 0 1.25em}
.entry-content h2{font-size:30px;line-height:1.25;font-weight:600;letter-spacing:-.02em;margin:1.7em 0 .65em;text-wrap:balance}
.entry-content h3{font-size:25px;line-height:1.3;margin:1.5em 0 .6em}
.entry blockquote{border-left:2px solid var(--line);padding:4px 0 4px 22px;margin:30px 0;font-style:italic}
.entry pre{background:color-mix(in srgb,var(--text) 5%,var(--bg));font-size:16px}
.entry table{font-size:17px;width:100%;border-collapse:collapse}
.entry th,.entry td{border-bottom:1px solid var(--line);padding:12px;vertical-align:top;text-align:left}
.entry th{font-weight:700}.entry figure{overflow-x:auto}
.entry-taxonomies{font-size:16px;line-height:1.6;margin-top:36px;padding-top:20px}
.em-thumbnail-slot{padding:0 0 18px;max-width:100%}.thumb{width:100%;height:auto;max-height:280px;object-fit:cover;border-radius:2px}
a{color:var(--text);text-underline-offset:3px;text-decoration-thickness:1px}a:hover,.card h2 a:hover{color:var(--muted)}
:focus-visible{outline:2px solid var(--text);outline-offset:5px}
footer{font-size:15px;line-height:1.6;background:var(--bg)}
.extra-toggle{font-size:15px;border-radius:4px}
.em-glow .brand,.em-glow h1{text-shadow:none}.em-glow .response-panel,.em-glow .search-form{box-shadow:none}
@media(prefers-color-scheme:dark){:root{color-scheme:dark;--bg:#1f1e1d;--panel:#1f1e1d;--text:#f0eee6;--green:#f0eee6;--muted:#b0aea5;--line:#5e5d59}}
@media(max-width:600px){.shell,.content{padding-left:22px;padding-right:22px}.top .shell{padding-top:24px;padding-bottom:12px}.content{padding-top:8px}.card-body,.response-panel{padding:0}.card{padding:24px 0}.card h2{font-size:25px}.card p{font-size:20px}.intro{font-size:21px}.search-form input{font-size:16px}.entry-content h2{font-size:28px}.entry table{font-size:16px}.entry th,.entry td{padding:10px}.em-thumbnail-slot{padding:0 0 16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}}

:root[data-ia24-mode="light"]{color-scheme:light;--bg:#f0eee6;--panel:#f0eee6;--text:#1f1e1d;--green:#343430;--muted:#5e5d59;--line:#d1cfc5}
:root[data-ia24-mode="dark"]{color-scheme:dark;--bg:#1f1e1d;--panel:#1f1e1d;--text:#f0eee6;--green:#f0eee6;--muted:#b0aea5;--line:#5e5d59}
.ia24-mode{font:16px/1.3 Georgia,serif;min-height:44px;border-radius:4px;background:transparent;color:var(--text);padding:8px 12px}

