/* Global polish for davidscottnorton.com */

/* Header: keep it clean (nav only). We'll place the wordmark/banner inside the page banner below. */
#masthead .site-title,
#masthead .site-title-wrap,
#masthead .site-description,
.site-branding .site-title,
.site-branding .site-title-wrap,
.site-branding .site-description{display:none !important;}

/* Hide theme-provided page title text (we use logo banner instead) */
.entry-header{display:none !important;}

/* Page banner (logo in a light-gray title section) */
.dsnmm-pagebanner{background:#eef1f4;padding:18px 12px;}
.dsnmm-pagebanner__inner{max-width:920px;margin:0 auto;display:flex;justify-content:center;}
.dsnmm-pagebanner img{display:block;max-width:920px;width:100%;height:auto;opacity:.98;}
@media (max-width: 700px){
  .dsnmm-pagebanner{padding:14px 12px;}
  .dsnmm-pagebanner img{max-width:100%;}
}

/* Smart Slider sizing (home hero) */
.home .n2-section-smartslider{max-width:920px;margin:12px auto 14px auto;overflow:hidden;border-radius:14px;}
.home .n2-ss-align{max-width:100%;}
@media (max-width: 700px){
  .home .n2-section-smartslider{max-width:100%;}
}

/* Legacy: rotator (no longer used on home, kept for fallback) */
.dsnmm-rotator{margin-top:10px;margin-bottom:14px;margin-left:auto !important;margin-right:auto !important;}

/* Homepage top section centering */
.dsnmm-home-top{text-align:center;}
.dsnmm-center{display:flex;justify-content:center;}
.dsnmm-home-top .dsnmm-cta{justify-content:center;}

/* CTA buttons under hero */
.dsnmm-cta{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 18px;justify-content:flex-start;}
.dsnmm-cta a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;
  text-decoration:none !important;border:1px solid rgba(0,0,0,.18);
  background:#111;color:#fff;font-weight:700;letter-spacing:.02em;
}
.dsnmm-cta a:hover{background:#2a2a2a;}
.dsnmm-cta a.dsnmm-cta--secondary{background:#fff;color:#111;}
.dsnmm-cta a.dsnmm-cta--secondary:hover{background:#f4f4f4;}

/* Slight lift for the player card */
.dsnmm{box-shadow:0 12px 30px rgba(0,0,0,.08);border:1px solid rgba(0,0,0,.08)}
