/* Dark interface shared by every destination exposed in the site footer. */
body.sc-footer-dark-page:not(.sc-article-page):not(.sc-articles-index){
  background:radial-gradient(circle at 82% 5%,rgba(255,104,21,.09),transparent 28rem),#090a0c;
  color:#e9e9e7;
}
body.sc-footer-dark-page:not(.sc-article-page):not(.sc-articles-index) main,
body.sc-footer-dark-page:not(.sc-article-page):not(.sc-articles-index) .container{color:#e9e9e7}
body.sc-footer-dark-page:not(.sc-article-page):not(.sc-articles-index) h1,
body.sc-footer-dark-page:not(.sc-article-page):not(.sc-articles-index) h2,
body.sc-footer-dark-page:not(.sc-article-page):not(.sc-articles-index) h3{color:#fff}

/* Editorial hubs that still defined their own light cards. */
body.sc-footer-dark-page .rules-answer,body.sc-footer-dark-page .rules-cta,
body.sc-footer-dark-page .topic-hub__answer,body.sc-footer-dark-page .cluster-intro{
  background:#17181c!important;color:#ededeb!important;border:1px solid rgba(255,255,255,.12)!important;border-left:4px solid #ff6815!important;
}
body.sc-footer-dark-page .rules-card,body.sc-footer-dark-page .topic-hub__card,body.sc-footer-dark-page .cluster-card{
  background:#17181c!important;color:#d0d1d3!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 14px 30px rgba(0,0,0,.2)!important;
}
body.sc-footer-dark-page .rules-card:hover,body.sc-footer-dark-page .topic-hub__card:hover,body.sc-footer-dark-page .cluster-card:hover{color:#fff!important;border-color:#ff6815!important}
body.sc-footer-dark-page .rules-card strong,body.sc-footer-dark-page .topic-hub__card strong,body.sc-footer-dark-page .cluster-card strong{color:#ff8a3d!important}
body.sc-footer-dark-page .rules-card span,body.sc-footer-dark-page .topic-hub__card span,body.sc-footer-dark-page .cluster-card span{color:#c7c8ca!important}
body.sc-footer-dark-page .rules-hub-nav a,body.sc-footer-dark-page .topic-hub__nav a{color:#ff8a3d!important}
body.sc-footer-dark-page .btn-outline-secondary{border-color:rgba(255,255,255,.35);color:#e9e9e7}
body.sc-footer-dark-page .btn-outline-secondary:hover{background:#e9e9e7;color:#17181c}

/* Community destinations retained the legacy white surfaces. */
body.sc-footer-dark-page .annunci-hero,body.sc-footer-dark-page .sc-search-hero,
body.sc-footer-dark-page .notifica-item.is-unread{background:linear-gradient(135deg,rgba(255,104,21,.14),#17181c)!important}
body.sc-footer-dark-page .annunci-filter-card,body.sc-footer-dark-page .annuncio-item-card,
body.sc-footer-dark-page .sc-user-card,body.sc-footer-dark-page .notifica-item,
body.sc-footer-dark-page .notifiche-empty,body.sc-footer-dark-page .sc-search-field,
body.sc-footer-dark-page .sc-login-prompt{background:#17181c!important;border-color:rgba(255,255,255,.12)!important;color:#ededeb!important;box-shadow:0 14px 30px rgba(0,0,0,.2)!important}
body.sc-footer-dark-page .annunci-hero h1,body.sc-footer-dark-page .annunci-hero p,
body.sc-footer-dark-page .annunci-filter-card .form-label,body.sc-footer-dark-page .annunci-results-heading h2,
body.sc-footer-dark-page .annuncio-item-card .card-title a,body.sc-footer-dark-page .annuncio-author-name,
body.sc-footer-dark-page .annuncio-description,body.sc-footer-dark-page .annuncio-author-sub,body.sc-footer-dark-page .annuncio-date,
body.sc-footer-dark-page .sc-search-page,body.sc-footer-dark-page .sc-search-hero,body.sc-footer-dark-page .sc-search-hero p,
body.sc-footer-dark-page .sc-search-field input,body.sc-footer-dark-page .sc-user-copy a,body.sc-footer-dark-page .sc-user-copy span,
body.sc-footer-dark-page .notifiche-header h1,body.sc-footer-dark-page .notifiche-subtitle,body.sc-footer-dark-page .notifica-item,
body.sc-footer-dark-page .notifica-copy small,body.sc-footer-dark-page .notifiche-empty p{color:#e9e9e7!important}
body.sc-footer-dark-page .annuncio-meta,body.sc-footer-dark-page .sc-member-count{background:#25272d!important;color:#c7c8ca!important}
body.sc-footer-dark-page .annuncio-footer{border-color:rgba(255,255,255,.12)!important}
body.sc-footer-dark-page .form-control,body.sc-footer-dark-page .form-select,
body.sc-footer-dark-page .sc-search-field input{background:#101115!important;border-color:rgba(255,255,255,.18)!important;color:#fff!important}
body.sc-footer-dark-page .notifiche-filters button{background:#17181c;color:#d0d1d3;border-color:rgba(255,255,255,.18)}
body.sc-footer-dark-page .sc-pagination a{color:#ffb17a;border-color:rgba(255,255,255,.2)}

/* Authentication and profile panels use the same surfaces. */
body.sc-footer-dark-page .card,body.sc-footer-dark-page .profile-card,
body.sc-footer-dark-page .login-card,body.sc-footer-dark-page .auth-card{background:#17181c!important;color:#ededeb!important;border-color:rgba(255,255,255,.12)!important}
body.sc-footer-dark-page .card-title,body.sc-footer-dark-page .card-text{color:#ededeb!important}
body.sc-footer-dark-page .text-muted{color:#b6b7ba!important}
body.sc-footer-dark-page .social-login-btn{background:#202126!important;color:#f2f2ef!important;border-color:rgba(255,255,255,.2)!important}
body.sc-footer-dark-page .social-login-btn:hover{background:#2a2c32!important}

/* Feed: preserve its hierarchy while replacing the legacy white cards. */
body.sc-footer-dark-page .feed-toolbar,body.sc-footer-dark-page .feed-highlight-card,
body.sc-footer-dark-page .feed-post-card,body.sc-footer-dark-page .feed-article-card,
body.sc-footer-dark-page .feed-empty,body.sc-footer-dark-page .feed-loading{
  background:#15161a!important;color:#e9e9e7!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 14px 30px rgba(0,0,0,.24)!important;
}
body.sc-footer-dark-page .feed-toolbar .input-group-text{background:#222328!important;color:#ff8a3d!important;border-color:rgba(255,255,255,.18)!important}
body.sc-footer-dark-page .feed-toolbar .form-control{border-left:0!important}
body.sc-footer-dark-page .feed-highlight-card h3,body.sc-footer-dark-page .feed-section-head h2,
body.sc-footer-dark-page .feed-post-author strong,body.sc-footer-dark-page .feed-article-card strong,
body.sc-footer-dark-page .fip-news-title{color:#fff!important}
body.sc-footer-dark-page .feed-section-head p,body.sc-footer-dark-page .feed-post-date,
body.sc-footer-dark-page .feed-post-content,body.sc-footer-dark-page .feed-article-card p,
body.sc-footer-dark-page .feed-empty,body.sc-footer-dark-page .feed-loading,
body.sc-footer-dark-page .fip-news-excerpt{color:#bfc0c3!important}
body.sc-footer-dark-page .feed-post-footer{background:#1d1e22!important;border-color:rgba(255,255,255,.1)!important}
body.sc-footer-dark-page .fip-news-card{background:linear-gradient(135deg,rgba(255,104,21,.14),#17181c)!important;border-color:rgba(255,104,21,.42)!important}
body.sc-footer-dark-page .feed-action-light{background:#f2f2ef!important;color:#17181c!important}
body.sc-footer-dark-page .feed-toolbar .btn-outline-dark{border-color:rgba(255,255,255,.35)!important;color:#f2f2ef!important}
body.sc-footer-dark-page .feed-toolbar .btn-outline-dark:hover{background:#f2f2ef!important;color:#17181c!important}
body.sc-footer-dark-page .feed-auto-ranking{background:linear-gradient(135deg,rgba(255,104,21,.14),#17181c)!important;border-color:rgba(255,104,21,.42)!important}
body.sc-footer-dark-page .feed-auto-ranking__title{color:#fff!important}
body.sc-footer-dark-page .feed-auto-ranking__list span{color:#bfc0c3!important}
body.sc-footer-dark-page .feed-auto-feature{background:linear-gradient(135deg,rgba(255,104,21,.14),#17181c)!important;border-color:rgba(255,104,21,.42)!important}
body.sc-footer-dark-page .feed-auto-feature__title{color:#fff!important}
body.sc-footer-dark-page .feed-auto-feature p{color:#c7c8ca!important}
body.sc-footer-dark-page .feed-highlight-card .linknodecoration,
body.sc-footer-dark-page .feed-post-author .linknodecoration{color:#f2f2ef!important}
body.sc-footer-dark-page .feed-highlight-card .linknodecoration:hover,
body.sc-footer-dark-page .feed-post-author .linknodecoration:hover{color:#ff8a3d!important}
body.sc-footer-dark-page .feed-highlight-card p,
body.sc-footer-dark-page .feed-highlight-card li{color:#c7c8ca!important}
body.sc-footer-dark-page .feed-page .btn-outline-dark{border-color:rgba(255,255,255,.32)!important;color:#e9e9e7!important}
body.sc-footer-dark-page .feed-page .btn-outline-dark:hover{background:#f2f2ef!important;color:#17181c!important}
body.sc-footer-dark-page .feed-page .form-control::placeholder{color:#777b83!important}
@media(max-width:767.98px){body.sc-footer-dark-page .feed-page{padding-top:18px}}
