/* ============================================================
   The Sharp Table — site-wide editorial theme
   ============================================================ */

/* Unified dark background (kill the boxed card feel) */
html, body,
.content-area, .site-main,
.site-container, .content-container,
.content-wrap, .entry-content-wrap,
.content-bg, article.entry,
.site-header, #masthead,
.site-header-wrap, .site-header-inner-wrap,
.site-main-header-wrap, .site-main-header-inner-wrap,
.site-header-upper-wrap, .site-header-upper-inner-wrap,
.site-footer, #colophon {
  background-color: #0b0b0b !important;
}

body { color: #F2F2F2 !important; }

/* ---------------- HEADER ---------------- */
.site-header { border-bottom: 1px solid rgba(255,255,255,0.08); }
.site-title,
.site-title a,
.site-branding a,
.site-branding .brand {
  color: #FFFFFF !important;
}
.site-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  letter-spacing: 0.5px !important;
}
.site-header .header-menu-container a,
.site-header nav a,
#masthead a {
  color: #EAEAEA !important;
}
.site-header .header-menu-container a:hover,
.site-header nav a:hover {
  color: #C9A86A !important;
}

/* ---------------- FOOTER ---------------- */
.site-footer, .site-footer * {
  color: #A0A0A0 !important;
}
.site-footer a { color: #C9A86A !important; }

/* ---------------- ARTICLE READING EXPERIENCE ---------------- */
.single-post article,
.single-post .content-bg,
.single-post .entry-content,
.single-post .entry-content-wrap,
.single-post .post-wrap {
  background: #0b0b0b !important;
  box-shadow: none !important;
  border: none !important;
}

/* Body text */
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content li {
  color: #F2F2F2 !important;
  line-height: 1.75 !important;
  font-size: 18px !important;
}

/* Headings */
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6,
.single-post .entry-title {
  color: #FFFFFF !important;
}

/* Meta / secondary */
.single-post .entry-meta,
.single-post .entry-meta *,
.single-post .entry-content em,
.single-post .entry-content figcaption {
  color: #BFBFBF !important;
}

/* Blockquote */
.single-post .entry-content blockquote {
  color: #D4D4D4 !important;
  border-left: 3px solid #C9A86A !important;
  padding-left: 1.25em;
  font-style: italic;
}

/* Links inside article */
.single-post .entry-content a:not(.wp-block-button__link) {
  color: #C9A86A !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.single-post .entry-content a:hover { color: #E2C17A !important; }

/* Paragraph rhythm — more editorial air */
.single-post .entry-content p,
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-bottom: 1.8em !important;
}

/* Heading rhythm */
.single-post .entry-content h2 {
  margin-top: 3em !important;
  margin-bottom: 0.7em !important;
}
.single-post .entry-content h3 {
  margin-top: 2em !important;
  margin-bottom: 0.5em !important;
}

/* Reading width — comfortable line length */
.single-post .entry-content,
.single-post .post-content-wrap,
.single-post .entry-hero-container-inner {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* --------- IMAGES: standardized editorial spacing ---------- */
.single-post .entry-content figure,
.single-post .entry-content .wp-block-image {
  margin: 2.5em auto !important;
  max-width: 780px;
}
.single-post .entry-content img {
  display: block;
  margin: 0 auto;
  height: auto;
  width: 100%;
  max-width: 780px;
  border-radius: 2px;
}
.single-post .entry-content figcaption {
  text-align: center;
  font-size: 0.9em;
  margin-top: 0.75em !important;
}

/* Horizontal rules */
.single-post .entry-content hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 3em auto;
  max-width: 120px;
}

/* --------- HIDE WP TAIL (subscribe / related / comments) ---------- */
.single-post .sharedaddy,
.single-post #jp-post-flair,
.single-post #jp-relatedposts,
.single-post .jp-relatedposts,
.single-post .jetpack-subscription-modal,
.single-post .wp-block-jetpack-subscriptions,
.single-post #comments,
.single-post .comments-area,
.single-post .comment-respond,
.single-post .entry-footer,
.single-post .post-tags,
.single-post .entry-taxonomies {
  display: none !important;
}

/* Tail spacing */
.single-post .entry-content > *:last-child {
  margin-bottom: 3em !important;
}
