/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Inter:wght@300;400;500;600&display=swap');

/* ── HIDE BLOCKSY HEADER & FOOTER ON HOMEPAGE ONLY ── */
body.home #masthead,
body.home .site-header,
body.home header.site-header,
body.home [data-id="header"],
body.home .ct-header { display: none !important; }

body.home #colophon,
body.home footer#colophon,
body.home .site-footer,
body.home footer.site-footer,
body.home [data-id="footer"],
body.home .ct-footer,
body.home #footer { display: none !important; }

/* ── FULL WIDTH: kill all Blocksy containers ── */
body.home .ct-container,
body.home .entry-content,
body.home .site-main,
body.home .ct-main,
body.home .content-area,
body.home #primary,
body.home #content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* ── ALSO STYLE THE THEME HEADER/FOOTER ON OTHER PAGES ── */
#masthead, .site-header, .ct-header, [data-id="header"] {
  background-color: #0d1117 !important;
  border-bottom: 1px solid rgba(255,255,255,.1) !important;
}
#masthead *, .site-header *, .ct-header * {
  color: rgba(255,255,255,.85) !important;
}
#masthead a:hover, .site-header a:hover, .ct-header a:hover {
  color: #c8a96e !important;
}
.ct-site-title, .ct-site-title a, .site-title a {
  font-family: 'EB Garamond', serif !important;
  color: #fff !important;
}
#colophon, .site-footer, footer.site-footer, .ct-footer {
  background: #f5f4f0 !important;
  border-top: 1px solid #dedad1 !important;
}
#colophon *, .site-footer *, .ct-footer * {
  color: #374151 !important;
  font-family: 'Inter', sans-serif !important;
}
#colophon a:hover, .site-footer a:hover, .ct-footer a:hover {
  color: #c8a96e !important;
}

/* Hide old widget footer on homepage */
body.home #footer,
body.home .footer-widgets,
body.home .footer-widget-area,
body.home [id*="footer"],
body.home [class*="footer-widget"],
body.home .wp-block-group.footer,
body.home section#footer,
body.home div#footer {
  display: none !important;
}

/* Hide everything after our custom .dft footer */
body.home .dft ~ * {
  display: none !important;
}