/* LASERTRIBE — shared visual identity. Keep semantic error/success colors distinct. */
:root{--ink:#0b0b0b;--night:#0b0b0b;--muted:#595959;--line:#d6d6d6;--paper:#fff;--soft:#f5f5f5;--accent:#ff7a00;--red:#a84900;--page-background:#fff;--home-section-background:#e9e9e9;--shadow:0 12px 28px #00000012}
body[class*="page-"]{background:#fff;color:var(--ink)}
.site-header,.site-footer{background:#0b0b0b;color:#fff;border-color:#ff7a00}
.site-header .brand>span,.site-header .brand strong,.site-footer .brand strong{color:#fff}
.brand img{border-radius:0;width:56px;height:56px}
.brand .brand-wordmark{display:flex;flex-direction:column;gap:5px;max-width:none}
.brand .brand-wordmark strong{font-family:Montserrat,'Arial Black',Arial,sans-serif;font-size:1.5rem;line-height:1;letter-spacing:-.06em;white-space:nowrap}
.brand .brand-wordmark strong span{color:#ff7a00}
.brand .brand-wordmark small{font-size:.52rem;letter-spacing:.23em;line-height:1.4;white-space:nowrap;color:#e9e9e9}
.site-header #main-nav a{color:#e9e9e9}.site-header #main-nav a.active,.site-header #main-nav a:hover{color:#ff7a00}.site-header #main-nav a.active:after{background:#ff7a00}
.site-header .notification-bell{background:#2e2e2e;color:#ff7a00;border-color:#555}.site-header .notification-bell:hover{background:#414141}.site-header .notification-count{border-color:#0b0b0b}
.btn.primary,.hero-community .community-primary,.projects-band .project-empty .btn{background:#ff7a00;border-color:#ff7a00;color:#0b0b0b}
.btn.primary:hover,.hero-community .community-primary:hover,.projects-band .project-empty .btn:hover{background:#ff922e;border-color:#ff922e;color:#0b0b0b}
.btn.dark,.chip.selected{background:#0b0b0b;border-color:#0b0b0b;color:#fff}.btn.dark:hover{background:#2e2e2e}.btn.secondary:hover{background:#e9e9e9}
a:focus-visible,button:focus-visible,summary:focus-visible,.site-header a:focus-visible,.site-header button:focus-visible{outline-color:#ff7a00}input:focus,textarea:focus,select:focus{outline-color:#a84900}::selection{background:#ff7a00;color:#0b0b0b}
.page-home .home-intro,.page-home .home-blog-band{background:#fff;border-color:#d6d6d6}
.page-home .projects-band{background:#e9e9e9;border-color:#d6d6d6}
.page-home .home-newsletter-band{background:#fff}
.page-home .hero-community{background:#0b0b0b;color:#fff;border-color:#2e2e2e;box-shadow:var(--shadow)}
.page-home .hero-community .eyebrow{color:#ff7a00}.page-home .hero-community p,.page-home .hero-community .community-facebook{color:#e9e9e9}.page-home .hero-community .outline-symbol{border-color:#555;color:#ff7a00}
.page-home .hero-community .hero-logo,.hero-community .hero-logo{box-shadow:none;border-radius:16px}
.hero-main,.auth-story,.profile-cover,.newsletter-banner,.community-welcome{background:linear-gradient(120deg,#0b0b0b,#2e2e2e);border-color:#555}
.profile-cover{border-bottom-color:#ff7a00;color:#ff7a00}.newsletter-banner,.community-welcome{border-left-color:#ff7a00}
.newsletter-banner p,.community-welcome p,.footer-top p,.footer-bottom{color:#d0d0d0}.footer-bottom{border-color:#444}
.post-card,.project-card,.panel,.download-filters,.auth-card,.chip{border-color:#d6d6d6}.post-card:hover,.project-card:hover{border-color:#888}
.post-card-body,.project-body{border-top-color:#ff7a00}
.post-card-body .eyebrow,.page-heading .eyebrow,.section-heading .eyebrow,.page-home .projects-band .section-heading .eyebrow,.page-home .projects-band .section-heading>.text-link{color:#a84900}
.comments,.panel.social-comments,.leaderboard,.social-composer,.compact-composer,.contribution-form{background:#f5f5f5;border-color:#d6d6d6}
.comment,.comment-replies,.leader-row,.social-interactions{border-color:#d6d6d6}.comment-content p,.social-body{color:#2e2e2e}.leaderboard>p,.leader-row small{color:#595959}.leader-row>b{color:#a84900}
.social-composer{border-top-color:#ff7a00}.compact-composer textarea{background:#fff;border-color:#d6d6d6}
.reaction,.social-follow{background:#fff;border-color:#d6d6d6;color:#2e2e2e}.reaction.selected,.social-follow[aria-pressed=true]{background:#ff7a00;border-color:#a84900;color:#0b0b0b}
.social-body a,.composer-photo{color:#a84900}.social-body .social-mention{background:#fff0e2;color:#8a3f00}
.social-photo,.related-project-image,.activity-project-preview,.admin-project-preview{background:#e9e9e9}
.social-options>summary,.social-report>summary{color:#595959}.mention-suggestions button:hover,.mention-suggestions button:focus{background:#e9e9e9}
.admin-icon{background:#f5f5f5;border-color:#d6d6d6;color:#2e2e2e}.admin-icon:hover{background:#e9e9e9}.admin-icon.danger{color:#b93232}
.admin-alert{background:#fff0e2;color:#783600}.topic-strip>a:hover{background:#fff0e2;border-color:#ff7a00}
.flames .lit,.flame-button.lit,.project-voters.has-votes{color:#ff7a00}
.project-contributions .contribution-form{background:transparent}.project-contributions .contribution-form .make-call-to-action{border-color:#a84900}.project-contributions .make-card{background:#fff}
.project-contributions .contribution-form .make-call-to-action:hover,.project-contributions .project-community-tabs button:hover{background:#fff0e2}
.activity-project{background:#f5f5f5}.consent-banner{background:#0b0b0b;border-color:#555}
.social-comments summary,.social-shared-project{background:#f5f5f5;border-color:#d6d6d6;color:#2e2e2e}.social-comments summary:hover{background:#e9e9e9}
.comments-pill{background:#0b0b0b}.comments-pill span,.comments-pill:hover{color:#ff7a00}.comments-pill:hover{background:#2e2e2e}
.social-follow-icon{background:#f5f5f5;border-color:#d6d6d6;color:#595959}.social-follow-icon.following,.social-follow-icon.following:hover{background:#ff7a00;border-color:#a84900;color:#0b0b0b}
.social-follow-icon:hover{background:#e9e9e9;color:#0b0b0b}.composer-project-button,.shared-project-stats{color:#2e2e2e}
.social-shared-project>img,.project-gallery,.makes-grid .make-photo{background:#f5f5f5}.social-shared-project:hover{border-color:#ff7a00}
.btn.favorite-button{background:#f5f5f5;border-color:#d6d6d6;color:#2e2e2e}.btn.favorite-button:hover{background:#e9e9e9;color:#0b0b0b}.btn.favorite-button[aria-pressed=true]{background:#ff7a00;border-color:#a84900;color:#0b0b0b}
.notification-item.unread{border-left-color:#ff7a00;background:#fff0e2}.topic-strip a{background:#fff;border-color:#d6d6d6}.project-card .project-voters.has-votes svg{color:#ff7a00}
.hero-main:after{border-color:#ff7a0030;box-shadow:0 0 0 42px #ff7a0009,0 0 0 85px #ff7a0005}
@media(max-width:600px){.brand img{width:42px;height:42px}.header-inner .brand .brand-wordmark{max-width:none}.brand .brand-wordmark strong{font-size:1.15rem}.brand .brand-wordmark small{font-size:.4rem;letter-spacing:.15em}.brand{gap:7px}}

/* Compact home: content never determines the desktop hero height. */
.page-home .hero-grid{grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:stretch}
.page-home .hero-community,.page-home .hero-main{height:300px;min-height:0;max-height:300px;padding:23px 27px;overflow:hidden}
.page-home .hero-community{display:grid;grid-template-columns:minmax(0,1fr) 220px;grid-template-rows:auto 1fr;gap:12px 18px;align-items:center}
.page-home .hero-community .community-top{grid-column:1/-1;align-self:start}
.page-home .hero-community .hero-logo{grid-column:2;grid-row:2;width:220px;height:auto;max-height:150px;object-fit:contain;margin:0;box-shadow:none;border-radius:0}
.page-home .hero-community>div:last-child{grid-column:1;grid-row:2;min-width:0}
.page-home .hero-community h2{font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.13}
.page-home .hero-community p{font-size:.8rem;line-height:1.45;margin-top:10px}
.page-home .hero-community .community-links{gap:9px 14px;margin-top:15px}
.page-home .hero-community .community-primary{min-height:36px;font-size:.76rem;padding:9px 12px}
.page-home .hero-community .community-facebook{font-size:.71rem}
.page-home .hero-main h1{font-size:clamp(1.3rem,2vw,1.75rem);line-height:1.15;margin:12px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.page-home .hero-main p{font-size:.82rem;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-bottom:15px}
.page-home .hero-main>.btn{margin-top:auto;min-height:36px;font-size:.8rem;padding:9px 14px}
.page-home .hero-main .eyebrow{font-size:.65rem;flex-shrink:0}
.page-home .projects-band .cards-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.page-home .home-blog-band .cards-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.site-header #main-nav{gap:20px}
@media(max-width:1100px){.page-home .hero-community{grid-template-columns:minmax(0,1fr) 140px;padding:22px}.page-home .hero-community .hero-logo{width:140px}.site-header #main-nav{gap:12px}}
@media(max-width:850px){.page-home .hero-grid{grid-template-columns:1fr}.page-home .hero-community{grid-template-columns:minmax(0,1fr) 210px}.page-home .hero-community .hero-logo{width:210px}.page-home .hero-main{height:270px;max-height:270px}.page-home .projects-band .cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header #main-nav{gap:0}.page-home .hero-main h1{max-width:100%;font-size:1.6rem}}
@media(max-width:600px){.page-home .hero-community{height:290px;max-height:290px;grid-template-columns:minmax(0,1fr) 125px;padding:20px;gap:10px}.page-home .hero-community .hero-logo{width:125px;max-height:120px}.page-home .hero-community h2{font-size:1.45rem}.page-home .hero-community p{font-size:.76rem}.page-home .hero-community .community-links{display:flex;gap:8px;margin-top:12px}.page-home .hero-community .community-primary{font-size:.72rem;padding:8px}.page-home .hero-community .community-facebook{font-size:.66rem}.page-home .home-blog-band .cards-grid{grid-template-columns:1fr}.page-home .projects-band .cards-grid{gap:12px}.page-home .project-body{padding:12px}.page-home .project-body h3{font-size:1rem}.page-home .project-meta{gap:8px;flex-wrap:wrap}.page-home .hero-main{padding:20px}}
@media(max-width:600px){.page-home .hero-community{grid-template-columns:1fr;grid-template-rows:auto 95px 1fr;gap:8px;text-align:center;padding:18px;height:290px;max-height:290px}.page-home .hero-community .community-top{grid-column:1;grid-row:1;text-align:left}.page-home .hero-community .hero-logo{grid-column:1;grid-row:2;width:245px;height:95px;max-height:95px;justify-self:center}.page-home .hero-community>div:last-child{grid-column:1;grid-row:3}.page-home .hero-community h2{font-size:1.05rem}.page-home .hero-community h2 br{display:none}.page-home .hero-community p{display:none}.page-home .hero-community .community-links{justify-content:center;flex-direction:column;margin-top:12px;gap:8px}.page-home .hero-community .community-primary{font-size:.8rem}.page-home .hero-community .community-facebook{font-size:.73rem}}

/* Homepage: logo LaserTribe esteso; riquadro community con altezza invariata. */
.page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(220px,42%);column-gap:18px}
.page-home .hero-community .hero-logo{grid-column:2;grid-row:2;width:100%;height:auto;max-width:340px;max-height:160px;object-fit:contain;object-position:center;margin:0;justify-self:center;border-radius:0;box-shadow:none}
.page-home .hero-community .community-links{margin-top:15px}
@media(max-width:1100px){.page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(155px,39%);column-gap:10px}.page-home .hero-community .hero-logo{max-height:140px}}
@media(max-width:600px){.page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(130px,42%);gap:10px}.page-home .hero-community .hero-logo{max-height:105px}}
@media(max-width:430px){.page-home .hero-community{grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:8px;height:auto;min-height:290px;max-height:none}.page-home .hero-community .community-top{grid-column:1;grid-row:1}.page-home .hero-community .hero-logo{grid-column:1;grid-row:2;max-width:275px;max-height:80px;justify-self:center}.page-home .hero-community>div:last-child{grid-column:1;grid-row:3}.page-home .hero-community h2{font-size:1.4rem}.page-home .hero-community .community-primary{margin-top:9px}}

/* Homepage community: marchio protagonista, senza sovrapposizioni al testo. */
@media (min-width: 1101px) {
  .page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(0,49%);column-gap:16px}
  .page-home .hero-community .hero-logo{width:100%;max-width:none;height:205px;max-height:205px;align-self:center}
  .page-home .hero-community>div:last-child{position:relative;z-index:1}
  .page-home .hero-community p{overflow-wrap:break-word}
}
@media (min-width: 851px) and (max-width: 1100px) {
  .page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(0,45%);column-gap:10px}
  .page-home .hero-community .hero-logo{width:100%;max-width:none;height:175px;max-height:175px;align-self:center}
  .page-home .hero-community h2{font-size:clamp(1.25rem,2vw,1.65rem)}
}
@media (min-width: 601px) and (max-width: 850px) {
  .page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(0,47%);column-gap:14px}
  .page-home .hero-community .hero-logo{width:100%;max-width:none;height:195px;max-height:195px;align-self:center}
}
@media (min-width: 431px) and (max-width: 600px) {
  .page-home .hero-community{grid-template-columns:minmax(0,1fr) minmax(0,43%);column-gap:8px;grid-template-rows:auto 1fr;text-align:left}
  .page-home .hero-community .hero-logo{grid-column:2;grid-row:2;width:100%;max-width:none;height:165px;max-height:165px;align-self:center}
  .page-home .hero-community>div:last-child{grid-column:1;grid-row:2;min-width:0}
  .page-home .hero-community .community-links{align-items:flex-start}
  .page-home .hero-community h2{font-size:clamp(1.02rem,4vw,1.35rem)}
}
@media (max-width: 430px) {
  .page-home .hero-community{height:auto;min-height:290px;max-height:none;grid-template-columns:1fr;grid-template-rows:auto auto auto;gap:9px;text-align:center}
  .page-home .hero-community .hero-logo{grid-column:1;grid-row:2;width:min(100%,320px);max-width:320px;height:150px;max-height:150px;justify-self:center}
  .page-home .hero-community>div:last-child{grid-column:1;grid-row:3}
}
