/* BuildMyStore global appearance. Edit colors here; header/footer are separate files. */
/* =========================================================
   GLOBAL BLOG DESIGN — change these 7 colors later
   Based on the main site source (Next.js / Tailwind)
   ========================================================= */
body {
  --bms-page: #ffffff;
  --bms-ink: #18181b;
  --bms-muted: #71717a;
  --bms-brand: #ED2939;
  --bms-brand-hover: #D92635;
  --bms-border: #e4e4e7;
  --bms-footer: #121214;
  font-family: "Geist", "DM Sans", system-ui, -apple-system, sans-serif;

  /* Blocksy theme tokens. Set palette too for elements controlled by Blocksy. */
  --theme-palette-color-1: var(--bms-brand);
  --theme-palette-color-2: var(--bms-brand-hover);
  --theme-palette-color-3: var(--bms-ink);
  --theme-palette-color-4: var(--bms-muted);
  --theme-palette-color-5: #f4f4f5;
  --theme-palette-color-6: #fafafa;
  --theme-palette-color-7: #ffffff;
  --theme-palette-color-8: #ffffff;
  --theme-text-color: var(--bms-ink);
  --theme-heading-color: var(--bms-ink);
  --theme-link-initial-color: var(--bms-brand);
  --theme-link-hover-color: var(--bms-brand-hover);
  --theme-background-color: var(--bms-page);
  --theme-content-background-color: var(--bms-page);
  --theme-border-color: var(--bms-border);
  --theme-button-background-initial-color: var(--bms-brand);
  --theme-button-background-hover-color: var(--bms-brand-hover);
  --theme-button-text-initial-color: #ffffff;
  --theme-button-text-hover-color: #ffffff;
  background: var(--bms-page) !important;
  color: var(--bms-ink);
  color-scheme: light;
}
body #main-container,
body #main,
body .site-main,
body .site-content,
body .content-area,
body .ct-content,
body .ct-archive-container {
  background-color: #ffffff !important;
}
body #main-container :is(h1,h2,h3,h4,h5,h6),
body .site-main :is(h1,h2,h3,h4,h5,h6),
body :is(.entry-title,.page-title,.hero-section .page-title) {
  color: var(--bms-ink);
}
body :is(.entry-title a,.page-title a) { color: var(--bms-ink); }
body :is(.entry-title a,.page-title a):hover { color: var(--bms-brand); }
body .entry-content a:not(.wp-block-button__link) { color: var(--bms-brand); }
body .entry-content a:not(.wp-block-button__link):hover { color: var(--bms-brand-hover); }
body :is(.ct-button,.wp-block-button__link,button[type=submit],input[type=submit]) {
  background-color: var(--bms-brand);
  color: #fff;
  border-color: var(--bms-brand);
}
body :is(.ct-button,.wp-block-button__link,button[type=submit],input[type=submit]):hover {
  background-color: var(--bms-brand-hover);
  border-color: var(--bms-brand-hover);
  color:#fff;
}
body :is(.entry-card,.ct-post-card,.ct-related-posts article) { background-color: #ffffff; }
body ::selection { background: #fde1e4; color: #18181b; }
/* Brand header/footer selectors are separately styled in their own files. */


/* Shared brand navigation/footer components (do not remove). */
.bms-wp-header *, .bms-wp-footer * { box-sizing: border-box; }
.bms-wp-header a, .bms-wp-footer a { text-decoration:none !important; }

body .bms-wp-header, body .bms-wp-footer { font-family: "Geist", "DM Sans", system-ui, -apple-system, sans-serif; box-sizing:border-box; }
.bms-wp-header *, .bms-wp-footer *, .bms-wp-header *::before, .bms-wp-footer *::after { box-sizing:border-box; }
.bms-wp-header a, .bms-wp-footer a { text-decoration:none!important; }
.bms-wp-header button, .bms-wp-footer button { font:inherit; cursor:pointer; }
.bms-wp-logo { display:inline-flex; align-items:center; z-index:2; position:relative; min-width:155px; }
.bms-wp-logo img { width:auto!important; height:44px!important; max-width:160px!important; object-fit:contain; }
.bms-wp-cta { display:inline-flex!important; justify-content:center; align-items:center; border:0; border-radius:12px; padding:12px 18px; background:var(--bms-brand, #ed2939)!important; color:#fff!important; box-shadow:0 4px 14px rgba(237,41,57,.39); font-size:13px; font-weight:750; line-height:1.15; white-space:nowrap; text-decoration:none!important; }
.bms-wp-cta:hover { background:var(--bms-brand-hover, #d92635)!important; color:#fff!important; }
@media (max-width:991px) {
  .bms-wp-logo img { height:40px!important; }
}

@media (max-width:991px) {
  .bms-wp-mobile-actions .bms-wp-cta { flex:1; }
}

.bms-wp-footer a:focus-visible, .bms-wp-header a:focus-visible, .bms-wp-header summary:focus-visible { outline:2px solid #ED2939; outline-offset:3px; }
