/* Curcio cinema layout: framed artwork, readable metadata, profile navigation. */
:root{--bg:#161617;--surface:#202022;--raised:#2a292b;--wine:#742f26;--muted:#bcb7ba;--line:#ffffff1b;--gutter:clamp(20px,4vw,72px)}
body{background:var(--bg)}[hidden]{display:none!important}
.site-header,.site-header.solid{position:relative;inset:auto;display:grid;grid-template-columns:minmax(140px,1fr) auto minmax(180px,1fr);gap:24px;height:94px;padding:0 var(--gutter);background:transparent;max-width:1744px;margin:auto;z-index:30}
.header-center{display:flex;align-items:center;gap:18px}.main-nav{gap:8px}.main-nav a{padding:12px 17px;border-radius:30px;font-size:13px}.main-nav a.active{background:#ffffff0b}.main-nav a.active:after{display:none}.main-nav a:hover{background:#ffffff10}
.site-header>.curcio-brand{justify-self:end;gap:10px}.site-header .curcio-brand img{width:155px;height:auto}.site-header .curcio-brand span{font-size:9px;letter-spacing:1.2px}
.profile-switcher{position:relative;justify-self:start;min-width:0}.viewer-menu{display:flex;align-items:center;gap:10px;padding:5px 8px 5px 0;border-radius:12px;font-size:12px}.viewer-menu:hover{background:#ffffff0a}.viewer-menu>.viewer-avatar{width:42px;height:42px;border-radius:12px;box-shadow:inset 0 0 0 1px #ffffff1f}.viewer-menu-name{max-width:115px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-chevron{width:15px!important;height:15px!important;color:#aaa4a7;transition:transform .15s}.viewer-menu[aria-expanded=true] .profile-chevron{transform:rotate(180deg)}
.viewer-avatar{padding:6px;overflow:hidden;line-height:0}.viewer-avatar-symbol{width:100%;height:100%;display:block}.viewer-avatar.large{padding:15px}.choice-radio .viewer-avatar{padding:5px}.profile-grid-select .viewer-avatar.large{border-radius:20px}
#profile-popover{position:absolute;left:0;top:calc(100% + 14px);width:310px;max-width:calc(100vw - 40px);z-index:60}.profile-dropdown{background:#242325f5;border:1px solid #ffffff25;border-radius:18px;box-shadow:0 18px 60px #0008;backdrop-filter:blur(20px);padding:9px;text-align:left}.dropdown-current{display:flex;align-items:center;gap:12px;padding:15px 12px 18px;border-bottom:1px solid var(--line)}.dropdown-current .viewer-avatar{width:45px;height:45px;border-radius:12px}.dropdown-current strong{display:block;font-size:14px}.dropdown-current p,.dropdown-current small{font-size:11px;color:var(--muted);margin:6px 0 0}.dropdown-viewers{padding:8px 0}.dropdown-viewer{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:10px;text-align:left}.dropdown-viewer:hover,.dropdown-actions button:hover{background:#ffffff0d}.dropdown-avatar>.viewer-avatar{width:33px;height:33px;border-radius:9px}.dropdown-viewer-copy{display:grid;gap:3px;flex:1;font-size:13px}.dropdown-viewer-copy small{font-size:10px;color:var(--muted)}.dropdown-actions{padding-top:6px;border-top:1px solid var(--line);display:grid}.dropdown-actions button{padding:12px;text-align:left;border-radius:9px;font-size:12px}.dropdown-actions button[data-action=logout]{color:#eeaaa0}
.hero{isolation:isolate;margin:0 auto 35px;width:calc(100% - var(--gutter)*2);max-width:1600px;height:clamp(490px,37vw,610px);min-height:0;align-items:center;padding:38px clamp(28px,4vw,64px) 78px;border:1px solid #ffffff29;border-radius:22px;box-shadow:0 16px 45px #0003;background:#242324;overflow:hidden}
.hero-image{object-fit:cover;object-position:center 45%;animation:hero-reveal .3s ease}.hero:before{background:linear-gradient(90deg,#08090aec 0%,#08090ac2 30%,#08090a32 67%,#08090a08 100%)}.hero:after{background:linear-gradient(0deg,#08090a9c 0%,transparent 40%,transparent 80%,#08090a12 100%)}
.hero-copy{max-width:590px;padding:0;margin-top:20px}.hero-kicker{font-size:11px;font-weight:600;color:#efe8e8;letter-spacing:.6px;margin:0 0 17px}.hero-kicker:before{content:'';display:block;width:4px;height:15px;border-radius:2px;background:#b34a3a}.hero h1{font-size:clamp(42px,4.7vw,70px);line-height:1.01;letter-spacing:-1.9px;margin:0 0 20px;max-width:600px;text-wrap:balance}.hero-information{max-width:460px}.hero .meta{color:#f0e9e9;font-weight:500;font-size:12px;margin:0 0 11px;gap:18px;flex-wrap:wrap}.hero-author{font-size:12px;color:#cfc6c9;margin:0 0 10px}.hero-description{color:#f0e8e9;font-size:14px;line-height:1.65;max-width:450px;margin:0}.hero-buttons{margin-top:24px;gap:10px}.hero-buttons .btn{border-radius:26px;min-height:46px;padding:12px 22px;font-weight:600}.hero-buttons .hero-save{width:46px;padding:10px}.hero-buttons .secondary{background:#ffffff20;border-color:#ffffff23}
.hero-carousel-controls{left:auto;right:32px;bottom:24px;display:flex;gap:11px;background:#11121475;padding:7px 10px;border:1px solid #ffffff1c;border-radius:30px;backdrop-filter:blur(8px)}.hero-count{color:#eee8e8}.hero-pagination button{width:20px;height:28px}.hero-pagination button span{height:3px;border-radius:3px}.hero-carousel-controls .icon-button{width:30px;height:30px}.hero-pagination button[aria-current=true] span{background:#e7c6bf}.home-content{margin-top:0}.personal-band{margin-top:10px;padding-top:20px}
.page{padding-top:45px}.category-home{margin:0 var(--gutter) 36px}.category-home .section-head{margin:0 0 18px}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-tile{position:relative;display:grid;grid-template-columns:36px 1fr 16px;grid-template-rows:auto auto;column-gap:13px;row-gap:7px;align-items:center;text-align:left;padding:19px 18px;border:1px solid #ffffff16;border-radius:12px;background:linear-gradient(115deg,#302523,#242224);min-height:94px;transition:background .18s,border-color .18s}.category-tile:hover{border-color:#c1857770;background:linear-gradient(115deg,#49302b,#2d2627)}.category-symbol{display:grid;place-items:center;grid-row:1/3;color:#ddb7aa;background:#ffffff06;width:36px;height:42px;border-radius:9px}.category-symbol .icon{width:21px;height:21px}.category-tile strong{font-size:14px;font-weight:500;line-height:1.35;min-width:0}.category-count{font-size:10px;color:#bbb2b3;grid-column:2}.category-tile>.icon{grid-column:3;grid-row:1/3;width:14px;height:14px;color:#c6b6b3}.category-istruzione{background:linear-gradient(115deg,#282d31,#232426)}.category-pubblici{background:linear-gradient(115deg,#2d2b36,#252429)}
.category-guide{display:flex;gap:24px;color:#bcb6b9;font-size:12px;line-height:1.6;padding:18px 0 25px;border-top:1px solid var(--line)}.category-group{margin:15px 0 42px}.category-group>h2{font-size:23px;font-weight:500;margin:0 0 18px;letter-spacing:-.5px}.category-group .theme-grid{margin:0}.selected-category{display:flex;align-items:center;gap:22px;margin-bottom:16px}.selected-category strong{font-size:15px}.selected-category .link-button{font-size:12px}.category-empty .category-symbol{margin:auto;background:none}.category-empty .btn{margin:6px}.category-empty p{max-width:600px}.filters{align-items:stretch}.filters select{max-width:260px;min-width:150px}.search-box{flex-basis:100%}.categories-page .page-header h1{font-size:48px}.card-art img{image-rendering:auto}.card-art{border-radius:11px}.card-art-title{font-size:clamp(26px,2vw,34px)}
@media(min-width:1800px){.section-head,.personal-band,.collection-feature,.format-switcher,.category-home{margin-left:max(var(--gutter),calc((100vw - 1600px)/2));margin-right:max(var(--gutter),calc((100vw - 1600px)/2))}.rail{padding-left:max(var(--gutter),calc((100vw - 1600px)/2));padding-right:max(var(--gutter),calc((100vw - 1600px)/2))}}
@media(max-width:1050px){.site-header{grid-template-columns:minmax(70px,1fr) auto minmax(120px,1fr);gap:10px;height:88px}.site-header .curcio-brand img{width:126px}.site-header .curcio-brand span{display:none}.viewer-menu-name{display:none}.header-center{gap:8px}.main-nav{gap:0}.main-nav a{padding:11px 12px;font-size:12px}.hero{height:510px}.hero h1{font-size:54px}.hero-copy{max-width:510px}.hero-description{max-width:370px}.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.category-home .category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.category-home .category-tile{grid-template-columns:1fr 15px;padding:17px 13px}.category-home .category-symbol{display:none}.category-home .category-tile strong,.category-home .category-count{grid-column:1}.category-home .category-tile>.icon{grid-column:2}}
@media(max-width:720px){:root{--gutter:20px}.site-header{height:124px;grid-template-columns:1fr 1fr;grid-template-rows:66px 48px;gap:0 16px;align-items:center;padding:0 var(--gutter)}.profile-switcher{grid-column:1;grid-row:1}.site-header>.curcio-brand{grid-column:2;grid-row:1}.site-header .curcio-brand img{width:142px}.header-center{grid-column:1/3;grid-row:2;min-width:0;justify-content:center;border-top:1px solid #ffffff0c;padding-top:6px}.main-nav{position:static;overflow:visible;gap:0;display:flex;padding:0;justify-content:center;flex:1}.main-nav a{padding:10px 10px;font-size:11px}.header-center>.icon-button{width:32px;height:34px}.viewer-menu>.viewer-avatar{width:36px;height:36px;border-radius:10px}.viewer-menu-name{display:block;font-size:11px;max-width:90px}.hero{height:570px;padding:26px 25px 85px;border-radius:18px;align-items:flex-end;margin-bottom:28px}.hero-copy{padding:0;margin:0;max-width:100%}.hero h1{font-size:44px;letter-spacing:-1px;margin-bottom:16px}.hero-image{object-position:65% center}.hero:before{background:linear-gradient(0deg,#090a0cf0 0%,#090a0cc2 35%,#090a0c40 72%,#090a0c08 100%)}.hero:after{background:none}.hero-kicker{font-size:10px;margin-bottom:13px}.hero .meta{font-size:10px;gap:13px;margin-bottom:10px}.hero-author{font-size:11px}.hero-description{font-size:12px;line-height:1.6;max-width:100%}.hero-buttons{gap:7px;margin-top:18px}.hero-buttons .btn{font-size:11px;padding:11px 16px;min-height:42px;white-space:nowrap}.hero-buttons .hero-save{width:42px;padding:8px}.hero-carousel-controls{right:18px;bottom:16px;left:18px;justify-content:center;padding:5px 8px;gap:7px}.hero-count{font-size:10px;margin:0 4px}.hero-pagination{gap:4px}.hero-pagination button{width:17px}.category-home .category-grid,.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-tile,.category-home .category-tile{padding:15px 12px;min-height:91px;grid-template-columns:1fr 12px;column-gap:6px}.category-tile strong{font-size:13px}.category-symbol{display:none}.category-tile strong,.category-count{grid-column:1}.category-tile>.icon{grid-column:2}.category-count{font-size:9px;line-height:1.4}.category-home .section-head h2{font-size:20px}.category-home .section-head p{display:none}.category-home .text-button{font-size:11px;max-width:95px;line-height:1.4;text-align:right}.category-home .text-button .icon{display:none}.category-guide{display:block;font-size:11px}.category-guide span{display:block}.category-group{margin-bottom:30px}.category-group>h2{font-size:20px}.page{padding-top:30px}.page-header h1,.categories-page .page-header h1{font-size:39px}.filters{gap:9px}.filters select{width:calc(50% - 5px);max-width:none;min-width:0;padding-right:25px;font-size:11px}.search-box{min-width:0}.personal-band{align-items:center;gap:15px;margin-bottom:30px}.personal-copy h2{font-size:15px}.personal-copy p{font-size:11px;line-height:1.5}.personal-band .btn{font-size:11px;padding:10px 12px}.home-content .format-switcher{margin-top:0}.curcio-feature-brand{padding:30px}.curcio-feature-brand img{max-width:290px}.curcio-feature{margin-top:35px}.category-empty .btn{width:100%;margin:6px 0}.category-empty{padding:35px 18px}.category-empty h2{font-size:29px}.category-empty p{font-size:13px}}
@media(max-width:370px){:root{--gutter:14px}.main-nav a{padding:10px 8px}.hero{padding-left:19px;padding-right:19px}.hero h1{font-size:39px}.hero-buttons .btn{padding:10px 12px}.viewer-menu-name{max-width:64px}}
@media(prefers-reduced-motion:reduce){.hero-image,.profile-chevron,.category-tile{animation:none;transition:none}}

.dropdown-section-label{font-size:10px;color:var(--muted);margin:10px 12px 5px}.dropdown-viewer-kind{font-size:10px;color:var(--muted)}.dropdown-current .dropdown-avatar>.viewer-avatar{width:42px;height:42px}
