/* Binary Creativity — shared skin for the static WordPress archive. */
:root {
  color-scheme: light dark;
  --bg: #fbfbfa;
  --fg: #1a1a18;
  --muted: #8a8a82;
  --rule: #e2e2dd;
  --reading-width: 44rem;
  --gutter: clamp(1.25rem, 5vw, 2rem);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131315;
    --fg: #ededea;
    --muted: #82827b;
    --rule: #2a2a2d;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); }
body.wp-theme-astra {
  --ast-global-color-0: var(--fg);
  --ast-global-color-1: var(--fg);
  --ast-global-color-2: var(--fg);
  --ast-global-color-3: var(--fg);
  --ast-global-color-4: var(--bg);
  --ast-global-color-5: var(--bg);
  --ast-global-color-6: var(--rule);
  --ast-global-color-7: var(--muted);
  --ast-global-color-8: var(--rule);
  --ast-border-color: var(--rule);
  margin: 0;
  min-height: 100vh;
  background: var(--bg) !important;
  color: var(--fg) !important;
  font: 400 16px/1.6 ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body.wp-theme-astra :is(#page, #content, #masthead, .main-header-bar, .site-primary-header-wrap, #primary, .ast-article-post, .ast-article-inner, .ast-article-single, .post-content, .ast-archive-description, .comments-area, .ast-comment, .comment-respond, .ast-pagination, #colophon, .site-below-footer-wrap) {
  background: transparent !important;
  color: var(--fg);
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.wp-theme-astra #masthead {
  padding: clamp(2.5rem, 8vw, 5rem) var(--gutter) 0;
  text-align: center;
}
/* Both exported header variants contain identical branding and empty menus. */
body.wp-theme-astra #ast-desktop-header { display: block !important; }
body.wp-theme-astra #ast-mobile-header { display: none !important; }
body.wp-theme-astra #masthead :is(.ast-container, .ast-builder-grid-row, .site-header-section, .ast-builder-layout-element, .site-branding, .ast-site-title-wrap) {
  display: block !important;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
  padding: 0 !important;
  min-height: 0;
  text-align: center;
}
body.wp-theme-astra #masthead .site-header-primary-section-right { display: none !important; }
body.wp-theme-astra #masthead .site-title,
body.wp-theme-astra #masthead .site-title a {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--fg) !important;
  font: 500 clamp(1.6rem, 5vw, 2.2rem)/1.2 ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif !important;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin: 0;
}
body.wp-theme-astra #masthead .site-description {
  display: block !important;
  color: var(--muted) !important;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  margin: 0.75rem 0 0;
}
body.wp-theme-astra #masthead::after {
  content: "";
  display: block;
  width: 3rem;
  border-top: 1px solid var(--rule);
  margin: 1.75rem auto 0;
}

body.wp-theme-astra #content > .ast-container {
  display: block;
  max-width: calc(var(--reading-width) + 2 * var(--gutter));
  width: 100%;
  padding: 0 var(--gutter);
  margin: 0 auto;
}
body.wp-theme-astra #primary {
  float: none;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  margin: 2.5rem 0 3rem !important;
}
body.wp-theme-astra #main { text-align: left; }
body.wp-theme-astra #main > .ast-row { display: block; margin: 0; }
body.wp-theme-astra :is(.ast-article-post, .ast-article-inner, .ast-article-single, .post-content) {
  display: block;
  float: none;
  width: 100%;
  max-width: none;
  padding: 0 !important;
  margin: 0 !important;
}
body.wp-theme-astra #main .ast-article-post {
  border-bottom: 1px solid var(--rule) !important;
  padding: 1.75rem 0 !important;
}
body.wp-theme-astra #main .ast-article-post:first-child { padding-top: 0 !important; }
body.wp-theme-astra :is(h1, h2, h3, h4, h5, h6, .entry-title, .entry-title a, .page-title) {
  color: var(--fg) !important;
  font-family: inherit !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
body.wp-theme-astra :is(h1, .ast-archive-title) { font-size: clamp(1.6rem, 5vw, 2.2rem); }
body.wp-theme-astra h2 { font-size: 1.4rem; }
body.wp-theme-astra h3 { font-size: 1.15rem; }
body.wp-theme-astra .entry-title { margin: 0 0 0.5rem; }
body.wp-theme-astra .entry-title a { text-decoration: none; }
body.wp-theme-astra .entry-header { margin-bottom: 1.5rem; }
body.wp-theme-astra .ast-article-post .entry-header { margin-bottom: 0.75rem; }
body.wp-theme-astra :is(.entry-meta, .entry-meta a, .cat-links, .cat-links a, .ast-comment-time, .ast-comment-time a, .ast-footer-copyright, .ast-footer-copyright a) {
  color: var(--muted) !important;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}
body.wp-theme-astra .cat-links { display: block; margin-bottom: 0.3rem; }
body.wp-theme-astra a { color: var(--fg); text-underline-offset: 0.18em; }
body.wp-theme-astra a:hover { color: var(--fg); text-decoration: underline; }
body.wp-theme-astra a:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
body.wp-theme-astra .entry-content { color: var(--fg); overflow-wrap: anywhere; }
body.wp-theme-astra .entry-content p { margin: 0 0 1.2em; }
body.wp-theme-astra .ast-excerpt-container p { margin: 0; color: var(--fg); }
body.wp-theme-astra .entry-content img { max-width: 100%; height: auto; }
body.wp-theme-astra .entry-content :is(iframe, video) { max-width: 100%; }
body.wp-theme-astra .entry-content pre { overflow: auto; }
body.wp-theme-astra .entry-content table { display: block; max-width: 100%; overflow-x: auto; }
body.wp-theme-astra .entry-content blockquote { border-color: var(--rule); color: var(--fg); }
body.wp-theme-astra hr { border: 0; border-top: 1px solid var(--rule); width: 3rem; margin: 1.75rem auto; }

body.wp-theme-astra :is(.ast-archive-description, .comments-area, .comment-respond) { padding: 0 !important; }
body.wp-theme-astra .ast-archive-description { margin-bottom: 2rem; }
body.wp-theme-astra :is(.post-navigation, .comments-area) { border-top: 1px solid var(--rule) !important; margin-top: 2rem; padding-top: 1.5rem !important; }
body.wp-theme-astra .ast-comment { border-bottom: 1px solid var(--rule) !important; }
body.wp-theme-astra .ast-comment-content { color: var(--fg); }
body.wp-theme-astra .ast-pagination { padding: 2rem 0 0; }
body.wp-theme-astra .nav-links .page-numbers { color: var(--fg); background: transparent; border: 0; }
body.wp-theme-astra .nav-links .page-numbers.current { border-bottom: 1px solid var(--fg); font-weight: 500; }
body.wp-theme-astra :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select) {
  background: var(--bg) !important;
  color: var(--fg) !important;
  border: 1px solid var(--rule) !important;
  border-radius: 0;
  font: inherit;
}
body.wp-theme-astra :is(button, input[type=submit], #ast-scroll-top) { background: var(--fg); color: var(--bg); border-radius: 0; }
body.wp-theme-astra #colophon { padding: 0 var(--gutter) 2rem; text-align: center; }
body.wp-theme-astra .site-below-footer-wrap { padding: 1.5rem 0 0 !important; min-height: 0; }
body.wp-theme-astra #colophon::before { content: ""; display: block; width: 3rem; border-top: 1px solid var(--rule); margin: 0 auto; }
body.wp-theme-astra #colophon .ast-footer-copyright p { margin: 0; }
