/* Le regole sono circoscritte alle guide e lasciano menu e footer al tema del sito. */
main.scelte {
  --ink:#183f37; --text:#324f47; --muted:#53675d; --line:#cbd4c8; --sea:#20554b;
  width:min(100% - clamp(36px,8vw,128px), 1180px); max-width:none; margin:0 auto;
  padding:clamp(20px,3vw,42px) 0 clamp(44px,7vw,86px);
  color:var(--ink); background:transparent; font-family:inherit; line-height:1.55;
}
.scelte *, .scelte *::after, .scelte *::before {box-sizing:border-box}
.scelte :is(h1,h2,h3,p,dl,dd,figure) {margin:0; background:transparent; text-align:start; box-shadow:none}
.scelte :is(h1,h2,h3,dt) {color:var(--ink);font-family:inherit;letter-spacing:-.04em;text-wrap:balance}
.scelte h1 {font-size:clamp(2.4rem,4.7vw,4.65rem);line-height:1.045;font-weight:650;max-width:18ch}
.scelte h2 {font-size:clamp(1.62rem,2.6vw,2.45rem);line-height:1.13;font-weight:650}
.scelte h3 {font-size:clamp(1.18rem,1.8vw,1.55rem);line-height:1.2;font-weight:650}
.scelte p,.scelte dd {color:var(--text);max-width:68ch;font-size:1.02rem;line-height:1.6}
.scelte a {color:var(--sea);text-underline-offset:.2em}
.scelte :is(a,button,input):focus-visible {outline:3px solid #337e85;outline-offset:3px}
.scelte .sc-path {display:flex;flex-wrap:wrap;gap:.45rem .7rem;align-items:center;font-size:.88rem;color:var(--muted);margin:0 0 clamp(22px,3vw,38px)}
.scelte .sc-lead {display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:clamp(25px,5vw,75px);padding:0}
.scelte .sc-intro {min-width:0}
.scelte .sc-kicker,.scelte .sc-card small {display:block;color:var(--muted);font-size:.77rem;line-height:1.45;font-weight:650;letter-spacing:.1em;text-transform:uppercase}
.scelte .sc-kicker {margin-bottom:14px}
.scelte .sc-deck {margin-top:19px;font-size:clamp(1.02rem,1.45vw,1.2rem);line-height:1.52}
.scelte .sc-actions {display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:24px}
.scelte .sc-actions>a:not(.sc-button),.scelte .sc-related a {font-weight:600;line-height:1.25;display:inline-flex;align-items:center;min-height:44px}
.scelte .sc-button {display:inline-flex;align-items:center;justify-content:center;gap:.65em;padding:12px 20px;min-height:48px;width:auto;text-align:center;border:1px solid var(--sea);border-radius:8px;background:var(--sea);color:white;font:inherit;font-weight:650;line-height:1.25;text-decoration:none;cursor:pointer;box-shadow:none}
.scelte .sc-button:hover {background:#123b32}
.scelte .sc-photo {position:relative;min-width:0}
.scelte .sc-photo img,.scelte .sc-card img {width:100%;display:block;object-fit:cover}
.scelte .sc-photo img {aspect-ratio:1.35;height:auto;border-radius:4px 38px 4px 4px}
.scelte .sc-photo figcaption {position:static;color:var(--muted);background:transparent;font-size:.83rem;margin-top:6px}
.scelte .sc-search,.scelte .sc-section,.scelte .sc-end {margin-top:clamp(35px,5vw,68px);border-top:1px solid var(--line);padding-top:clamp(22px,3.4vw,40px);scroll-margin-top:100px}
.scelte .sc-section>p,.scelte .sc-tool>p {margin-top:12px}
.scelte .sc-search form,.scelte .sc-tool form {margin:20px 0 0;padding:0;display:grid;align-items:end;gap:14px;border:0;background:transparent;box-shadow:none}
.scelte .sc-search form {grid-template-columns:1.25fr 1.25fr .6fr auto}
.scelte .sc-tool form {grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}
.scelte form label {display:grid;gap:7px;min-width:0;color:var(--ink);font-weight:600;font-size:.94rem}
.scelte form input:not([type=hidden]) {display:block;min-width:0;width:100%;max-width:100%;height:48px;padding:8px 11px;border:1px solid #869c90;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:16px;line-height:1.3}
.scelte .sc-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-top:20px}
.scelte .sc-grid article {padding:0;border:0;min-width:0;box-shadow:none;background:transparent}
.scelte .sc-card {display:block;text-decoration:none}
.scelte .sc-card img {height:auto;aspect-ratio:1.65;border-radius:5px}
.scelte .sc-card>div {padding:13px 0;border-bottom:1px solid var(--line)}
.scelte .sc-card small {margin-bottom:4px}
.scelte .sc-card p {margin:5px 0;font-size:.95rem}
.scelte .sc-card>div>span {font-size:.92rem;font-weight:650}
.scelte .sc-card:hover h3 {text-decoration:underline;text-underline-offset:.15em}
.scelte .sc-editorial,.scelte .sc-end {display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,6vw,86px)}
.scelte .sc-editorial dl>div + div {margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.scelte .sc-editorial dt {font-size:1.18rem;font-weight:650;line-height:1.3;letter-spacing:-.015em}
.scelte .sc-editorial dd,.scelte .sc-end p {margin-top:6px}
.scelte .sc-related nav {display:flex;flex-wrap:wrap;gap:0 24px;margin-top:10px}
.scelte .sc-related a {gap:.6em}
.scelte .sc-tool .sc-note {color:var(--muted);font-size:.9rem}
.scelte .sc-output:not(:empty) {border-inline-start:3px solid var(--sea);margin-top:20px;padding-inline-start:16px}
.scelte .sc-end {align-items:center}
.scelte .sc-end .sc-actions {margin:0;justify-content:flex-end}
@media(max-width:850px) {
  .scelte .sc-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .scelte .sc-search form,.scelte .sc-tool form {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px) {
  .scelte .sc-lead,.scelte .sc-editorial,.scelte .sc-end {grid-template-columns:1fr}
  .scelte h1 {font-size:clamp(2.12rem,8vw,3.05rem)}
  .scelte .sc-photo img {aspect-ratio:1.85;border-top-right-radius:25px}
  .scelte .sc-end .sc-actions {justify-content:flex-start}
  .scelte .sc-search,.scelte .sc-section,.scelte .sc-end {scroll-margin-top:80px}
}
@media(max-width:580px) {
  .scelte .sc-grid,.scelte .sc-tool form {grid-template-columns:1fr}
  .scelte .sc-search form {gap:12px 9px}
}
@media(max-width:390px) {
  .scelte .sc-search form {grid-template-columns:minmax(0,1fr)}
}
