/* The guide collection shares the News editorial masthead, palette and card language. */
.gh-page .nt-editorial-head{padding-bottom:24px}
.gh-page .gl-toolbar{display:grid;grid-template-columns:minmax(250px,360px) 1fr;align-items:end;gap:28px;margin:0 0 24px}
.gh-page .gl-search{font-size:12px;gap:7px}
.gh-page .gl-search input{font-size:16px;min-height:50px;background:var(--nt-surface);border-color:var(--nt-line)}
.gh-page .gl-filters{justify-content:flex-end;gap:7px;margin:0;padding-bottom:2px}
.gh-page .gl-filters button{min-height:44px;padding:9px 15px;border-radius:999px;border-color:var(--nt-line);background:var(--nt-surface);font-size:12px;color:var(--nt-ink)}
.gh-page .gl-filters button[aria-pressed=true]{background:#087bea;color:#fff;border-color:#087bea}
.gh-page .gl-results-heading{padding-top:16px;border-top:1px solid var(--nt-line);margin-bottom:18px}
.gh-page .gl-results-heading h2{font-size:20px;letter-spacing:-.035em}
.gh-page .gl-results-heading p{font-size:12px}
.gh-page .gl-reset{border-radius:999px;color:var(--nt-blue)}
.gh-page .gl-guides{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px 20px;align-items:start}
.gh-page .gl-guide{--gh-accent:#087bea;display:block;grid-column:span 4;min-width:0;position:relative;padding:10px;border:1px solid var(--nt-line);border-radius:23px;background:var(--nt-surface);color:var(--nt-ink);text-decoration:none;box-shadow:0 10px 25px #1b5c8b09;overflow:visible;isolation:auto}
.gh-page .gl-guide::before{display:none}
.gh-page .gl-guide[data-category=energia]{--gh-accent:#168a92}
.gh-page .gl-guide[data-category=casa]{--gh-accent:#547ac0}
.gh-page .gl-guide[data-category=viaggio]{--gh-accent:#138caa}
.gh-cover{position:relative;display:grid;place-items:center;aspect-ratio:1.9;overflow:hidden;border-radius:15px;background:radial-gradient(ellipse at 50% 38%,#f6fcff,#dbeafa);color:var(--gh-accent)}
.gh-cover::before{content:'';position:absolute;width:64%;height:120%;border:1px solid #8bb4d329;border-radius:50%;transform:rotate(35deg)}
.gh-page .gl-guide[data-category=energia] .gh-cover{background:radial-gradient(ellipse at center,#f2fcfb,#d9eeed)}
.gh-page .gl-guide[data-category=casa] .gh-cover{background:radial-gradient(ellipse at center,#f7f9ff,#e0e8fa)}
.gh-page .gl-guide[data-category=viaggio] .gh-cover{background:radial-gradient(ellipse at center,#f2fbff,#d8edf3)}
.gh-cover svg{position:relative;display:block;width:100%;height:100%;max-height:200px;filter:drop-shadow(0 7px 7px #14577d12)}
.gh-fill{fill:currentColor;stroke:none;opacity:.6}
.gh-detail{opacity:.48}
.gh-cover-label{position:absolute;top:13px;left:13px;padding:5px 10px;border:1px solid #ffffff55;border-radius:9px;background:#123448d9;color:white;font-size:10px;line-height:1.5;font-weight:650}
.gh-copy{padding:18px 10px 12px}
.gh-page .gl-guide .gl-guide-top{display:block;font-size:10px;line-height:1.6;text-transform:uppercase;letter-spacing:.06em;font-weight:750;color:var(--nt-blue)}
.gh-page .gl-guide h3,.gh-page .gl-guide:not(.gl-featured) h3{font:700 24px/1.16 'Space Grotesk',system-ui,sans-serif;letter-spacing:-.035em;color:var(--nt-ink);margin:9px 0 10px;overflow-wrap:break-word}
.gh-page .gl-guide p,.gh-page .gl-guide:not(.gl-featured) p{display:block;margin:0 0 17px;overflow:visible;font-size:13px;line-height:1.65;color:var(--nt-muted);max-width:none;-webkit-line-clamp:unset}
.gh-page .gl-guide .gl-read,.gh-page .gl-guide:not(.gl-featured) .gl-read{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;line-height:1.5;color:var(--nt-blue);font-weight:700;min-height:32px}
.gh-page .gl-guide.gl-featured{grid-column:span 6;padding:0;border:0;border-radius:0;background:transparent;min-height:0;box-shadow:none;overflow:visible}
.gh-page .gl-featured .gh-cover{aspect-ratio:1.6;border-radius:25px}
.gh-page .gl-featured .gh-cover svg{max-height:none;width:82%}
.gh-page .gl-featured .gh-copy{position:relative;margin:-35px 14px 0;padding:23px 23px 20px 34px;border:1px solid var(--nt-line);border-radius:23px;background:var(--nt-surface);box-shadow:0 16px 30px #1b5c8b15}
.gh-page .gl-featured .gh-copy::before{content:'';position:absolute;left:19px;top:25px;bottom:25px;width:3px;border-radius:3px;background:#087bea}
.gh-page .gl-featured h3{font-size:32px;max-width:22ch}
.gh-page .gl-guide:nth-child(2),.gh-page .gl-guide:nth-child(3){grid-column:span 3}
.gh-page .gl-guide:nth-child(2){margin-top:25px}
.gh-page .gl-guide:nth-child(3){margin-top:45px}
.gh-page .gl-guide:nth-child(2) .gh-cover,.gh-page .gl-guide:nth-child(3) .gh-cover{aspect-ratio:1.15}
.gh-page .gl-guide:nth-child(2) .gh-cover svg,.gh-page .gl-guide:nth-child(3) .gh-cover svg{width:130%;max-height:none}
.gh-page .gl-empty{padding:25px;border:1px solid var(--nt-line);border-radius:20px;color:var(--nt-muted);background:var(--nt-surface);font-size:15px}
.gh-page .nt-footer-h{margin-top:40px}
.gh-page .gl-main{padding-bottom:28px}
html[data-theme=dark] .gh-page .gl-guide{background:var(--nt-surface);border-color:var(--nt-line);--gh-accent:#8bd0ff}
html[data-theme=dark] .gh-page .gl-guide[data-category=energia]{--gh-accent:#86dfd6}
html[data-theme=dark] .gh-page .gl-guide[data-category=casa]{--gh-accent:#b2caff}
html[data-theme=dark] .gh-page .gl-guide[data-category=viaggio]{--gh-accent:#8dddea}
html[data-theme=dark] .gh-page .gl-guide .gh-cover{background:radial-gradient(ellipse at center,#2d536d,#18394f)}
html[data-theme=dark] .gh-page .gl-guide.gl-featured{background:transparent}
html[data-theme=dark] .gh-page .gl-filters button{background:var(--nt-surface);color:var(--nt-ink)}
html[data-theme=dark] .gh-page .gl-filters button[aria-pressed=true]{background:#087bea;color:white}
@media(hover:hover){.gh-page .gl-guide:hover{border-color:#087bea;box-shadow:0 12px 28px #1b5c8b18}.gh-page .gl-guide:hover h3{color:var(--nt-blue)}.gh-page .gl-featured:hover{box-shadow:none}.gh-page .gl-featured:hover .gh-copy{border-color:#087bea}}
@media(max-width:1000px){.gh-page .gl-toolbar{grid-template-columns:1fr;gap:15px}.gh-page .gl-filters{justify-content:flex-start}.gh-page .gl-guides{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gh-page .gl-guide,.gh-page .gl-guide:nth-child(2),.gh-page .gl-guide:nth-child(3){grid-column:span 1;margin-top:0}.gh-page .gl-guide.gl-featured{grid-column:1/-1}.gh-page .gl-featured .gh-cover{aspect-ratio:2.7}.gh-page .gl-featured .gh-cover svg{width:65%;max-height:250px}.gh-page .gl-featured .gh-copy{max-width:80%}.gh-page .gl-guide:nth-child(2) .gh-cover,.gh-page .gl-guide:nth-child(3) .gh-cover{aspect-ratio:1.9}.gh-page .gl-guide:nth-child(2) .gh-cover svg,.gh-page .gl-guide:nth-child(3) .gh-cover svg{width:100%;max-height:200px}}
@media(max-width:640px){
 .gh-page .nt-editorial-head{gap:9px;padding:8px 0 19px}
 .gh-page .nt-editorial-head>p{display:block;font-size:13px;line-height:1.6;margin:0;max-width:36ch}
 .gh-page .nt-editorial-head>p br{display:none}
 .gh-page .nt-editorial-head>p br::after{content:' '}
 .gh-page .gl-toolbar{gap:12px;margin-bottom:18px}
 .gh-page .gl-search>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .gh-page .gl-search input{min-height:48px;padding:12px 14px;border-radius:14px;font-size:16px}
 .gh-page .gl-filters{gap:7px;padding:0;margin:0;flex-wrap:wrap}
 .gh-page .gl-filters button{font-size:11px;min-height:44px;padding:9px 13px}
 .gh-page .gl-results-heading{padding-top:15px;gap:7px 12px;margin-bottom:15px}
 .gh-page .gl-results-heading h2{font-size:19px}
 .gh-page .gl-results-heading p{font-size:11px}
 .gh-page .gl-guides{grid-template-columns:minmax(0,1fr);gap:13px}
 .gh-page .gl-guide,.gh-page .gl-guide:nth-child(2),.gh-page .gl-guide:nth-child(3){grid-column:auto;display:grid;grid-template-columns:88px minmax(0,1fr);gap:13px;align-items:center;padding:10px;border-radius:18px;margin:0}
 .gh-page .gl-guide .gh-cover,.gh-page .gl-guide:nth-child(2) .gh-cover,.gh-page .gl-guide:nth-child(3) .gh-cover{aspect-ratio:1;border-radius:12px}
 .gh-page .gl-guide .gh-cover svg,.gh-page .gl-guide:nth-child(2) .gh-cover svg,.gh-page .gl-guide:nth-child(3) .gh-cover svg{width:150%;height:100%;max-height:none}
 .gh-page .gl-guide .gh-copy{padding:3px 3px 3px 0;min-width:0}
 .gh-page .gl-guide .gl-guide-top{font-size:9px;line-height:1.6;letter-spacing:.02em}
 .gh-page .gl-guide h3,.gh-page .gl-guide:not(.gl-featured) h3{font-size:20px;line-height:1.16;margin:7px 0 8px}
 .gh-page .gl-guide p,.gh-page .gl-guide:not(.gl-featured) p{font-size:12px;line-height:1.55;margin:0 0 8px}
 .gh-page .gl-guide .gl-read,.gh-page .gl-guide:not(.gl-featured) .gl-read{font-size:10px;min-height:28px}
 .gh-page .gl-guide.gl-featured{display:block;grid-column:auto;padding:0;margin:0 0 5px}
 .gh-page .gl-featured .gh-cover{aspect-ratio:2.05;border-radius:22px}
 .gh-page .gl-featured .gh-cover svg{width:73%;height:100%;max-height:none}
 .gh-page .gl-featured .gh-copy{max-width:none;margin:-25px 8px 0;padding:18px 17px 15px 27px;border-radius:20px}
 .gh-page .gl-featured .gh-copy::before{left:15px;top:19px;bottom:20px}
 .gh-page .gl-featured h3{font-size:27px;line-height:1.13;margin:8px 0 9px;max-width:23ch}
 .gh-page .gl-featured .gl-guide-top{font-size:10px}
 .gh-page .gl-featured p{font-size:13px;line-height:1.6;margin-bottom:10px}
 .gh-cover-label{top:10px;left:10px;font-size:9px}
 .gh-page .gl-reset{margin-left:auto;min-height:44px;padding:7px 0;font-size:11px}
 .gh-page .nt-footer-h{margin-top:28px}
}
@media(max-width:360px){.gh-page .gl-guide,.gh-page .gl-guide:nth-child(2),.gh-page .gl-guide:nth-child(3){grid-template-columns:75px minmax(0,1fr);gap:11px}.gh-page .gl-guide h3,.gh-page .gl-guide:not(.gl-featured) h3{font-size:19px}.gh-page .gl-featured h3{font-size:26px}}

/* Match the article collection opening: optional search and a single topic strip. */
.gh-page .nt-editorial-head{padding-bottom:10px}
.gh-page .nt-search-toggle[hidden],.gh-page .gh-search-panel[hidden]{display:none!important}
.gh-page .gl-toolbar{display:block;margin:0 0 7px}
.gh-page .gh-search-panel{margin:14px 0 3px}
.gh-page .gl-filters{display:flex;flex-wrap:nowrap;justify-content:flex-start;gap:9px;overflow-x:auto;overscroll-behavior-x:contain;padding:15px 2px 12px;margin:0;scrollbar-width:none;scroll-padding-inline:3px}
.gh-page .gl-filters::-webkit-scrollbar{display:none}
.gh-page .gl-filters button{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:9px 18px}
.gh-page .gl-results-heading{padding:0;border:0;min-height:24px;margin:0 0 12px;gap:8px 14px}
.gh-page .gh-results-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.gh-page .gl-results-heading p{font-size:11px}
.gh-page .gl-reset{padding:0 3px;min-height:32px}
@media(min-width:641px){.gh-page .nt-breadcrumb-current{display:inline-flex;gap:8px}}
@media(max-width:640px){
 .gh-page .nt-editorial-head{padding:7px 0 4px}
 .gh-page .nt-editorial-head>p{display:none}
 .gh-page .gl-toolbar{margin-bottom:0}
 .gh-page .gh-search-panel{margin-top:13px}
 .gh-page .gl-filters{gap:7px;padding:12px 2px 8px}
 .gh-page .gl-filters button{min-height:44px;font-size:12px;padding:9px 15px}
 .gh-page .gl-results-heading{min-height:24px;margin-bottom:10px;gap:7px 12px}
 .gh-page .gl-results-heading p{font-size:10px}
 .gh-page .gl-reset{font-size:10px;min-height:32px;padding:0 2px}
}

/* Keep the scrollable topics and their control in separate layout columns. */
.gh-category-nav{display:flex;align-items:center;gap:12px;min-width:0}
.gh-category-nav .gl-filters{flex:1 1 auto;min-width:0}
.gh-category-next{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid var(--nt-line);border-radius:50%;background:var(--nt-surface);color:var(--nt-blue);cursor:pointer;box-shadow:none}
.gh-category-next[hidden]{display:none!important}
.gh-category-next[data-direction=start] svg{transform:rotate(180deg)}
.gh-category-nav[data-overflow=true][data-edge=start] .gl-filters{mask-image:linear-gradient(to right,#000 calc(100% - 20px),transparent)}
.gh-category-nav[data-overflow=true][data-edge=middle] .gl-filters{mask-image:linear-gradient(to right,transparent,#000 16px,#000 calc(100% - 20px),transparent)}
.gh-category-nav[data-overflow=true][data-edge=end] .gl-filters{mask-image:linear-gradient(to right,transparent,#000 16px)}

@media(max-width:640px){.gh-category-nav .gl-filters button{padding-inline:12px}}
