:root {
  --rb-bg: #070707;
  --rb-border: #1f2a1f;
  --rb-green: #00ff41;
  --rb-muted: #5a6a5a;
  --rb-amber: #ffb000;
  --rb-text: #c8d6c8;
  --rb-header: #e7f0e7;
  --rb-font: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

/* Base */
html, body, .wp-site-blocks, main, .wp-block-group, .wp-block-post-content, article, .wp-block-template-part {
  background: var(--rb-bg) !important;
}
body {
  color: var(--rb-text);
  font-family: var(--rb-font);
}

/* Header */
.rb-site-header {
  background: var(--rb-bg);
  border-bottom: 1px solid var(--rb-border);
}
.rb-header-row {
  min-height: 82px;
  padding: 10px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--rb-font);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rb-muted);
  flex-wrap: wrap;
}
.rb-header-row .rb-brand {
  color: var(--rb-header);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .12em;
}
.rb-header-row .rb-brand span {
  color: var(--rb-green);
}
.rb-header-row .rb-tagline {
  flex: 1 1 auto;
  text-align: center;
  min-width: 140px;
  color: var(--rb-muted);
}
.rb-header-row .rb-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: var(--rb-muted);
}
.rb-computer {
  height: 68px;
  width: auto;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  filter: none;
  object-fit: contain;
}
.rb-header-nav {
  min-height: 34px;
  padding: 6px 0;
  border-top: 1px solid var(--rb-border);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 26px;
  font-family: var(--rb-font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: var(--rb-bg);
}
.rb-header-nav ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rb-header-nav li {
  white-space: nowrap;
}
.rb-header-nav a {
  color: var(--rb-text);
  text-decoration: none;
  padding: 4px 0;
}
.rb-header-nav a:hover,
.rb-header-nav a:focus {
  color: var(--rb-green);
  text-decoration: none;
  outline: none;
}
.rb-header-nav .current-menu-item a,
.rb-header-nav .current_page_item a {
  color: var(--rb-green);
}

@media (max-width: 980px) {
  .rb-header-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 16px;
    padding: 10px 20px;
    align-items: center;
  }
  .rb-header-row .rb-brand {
    grid-column: 1;
    grid-row: 1;
  }
  .rb-header-row .rb-tagline {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }
  .rb-header-row .rb-meta {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 6px;
  }
  .rb-computer {
    height: 52px;
    width: auto;
    max-width: 60px;
    flex: 0 0 auto;
    object-fit: contain;
  }
  .rb-header-nav {
    flex-wrap: wrap;
    gap: 22px;
    padding: 8px 20px;
  }
}
@media (max-width: 480px) {
  .rb-header-row {
    padding: 10px;
    gap: 8px;
  }
  .rb-computer {
    height: 44px;
    max-width: 52px;
  }
  .rb-header-nav {
    gap: 12px;
    padding: 6px 10px;
  }
}



/* Article listing: title colors */
.rb-post-title,
a.rb-post-title,
.entry-title a {
  color: #00ff41 !important;
  text-decoration: none !important;
}
.rb-post-title:visited,
a.rb-post-title:visited,
.entry-title a:visited {
  color: #00ff41 !important;
}
.rb-post-title:hover,
a.rb-post-title:hover,
.entry-title a:hover {
  color: #00ff41 !important;
}

/* Hide any legacy read-more link that may still be rendered */
.rb-read {
  display: none !important;
}


/* Single post title: terminal green */
article h1,
article .entry-title,
.single-post h1 {
  color: #00ff41 !important;
}

/* Single post title: terminal green */
article h1, article .entry-title, .single-post h1 {
  color: #00ff41 !important;
}
/* Back/Return control */
.rb-back-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 36px;
  color: #00ff41;
  text-decoration: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
}
.rb-back-control svg {
  display: block;
  width: 48px;
  height: 34px;
}
.rb-back-control:hover,
.rb-back-control:focus {
  color: #e7f0e7;
  outline: none;
}
.rb-back-control:hover svg,
.rb-back-control:focus svg {
  fill: #e7f0e7;
}
/* About typography overrides */
body, .wp-site-blocks, .wp-block-group, article, .wp-block-post-content {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* Heading scale for About page */
.wp-site-blocks h1, article h1, .entry-content h1 {
  font-size: 18px !important;
  line-height: 1.3 !important;
  letter-spacing: .06em !important;
  color: #00ff41 !important;
}

.wp-site-blocks h2, article h2, .entry-content h2 {
  font-size: 15px !important;
  line-height: 1.35 !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  color: #00ff41 !important;
  margin-top: 1.2em !important;
  margin-bottom: .5em !important;
}

.wp-site-blocks p, article p, .entry-content p {
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-bottom: .9em !important;
  max-width: 900px !important;
}

/* Footer matching static homepage */
footer.rb-site-footer {
  background: var(--rb-bg) !important;
  border-top: 1px solid var(--rb-border);
  padding: 22px 24px;
  text-align: center;
  color: #6f806f;
  font-family: var(--rb-font);
  font-size: 12px;
}
footer.rb-site-footer strong {
  color: #cfdacf;
  font-weight: 600;
}
.rb-footer-tagline {
  margin-top: 8px;
}
.rb-footer-ssh {
  margin-top: 8px;
  color: #7a8a7a;
}

/* === STEP10-V2: MY-ACCOUNT CONTENT CONTAINER === */
@media (min-width: 980px) {
  .page-my-account .rb-content,
  .page-my-account article {
    margin-left: 28px;
    margin-right: 28px;
  }
  .page-my-account .wp-block-post-content {
    max-width: 900px;
  }
}

/* === STEP10: MY-ACCOUNT FORM CONTROLS === */
.rtcl-form-control {
  background: #0a0a0a !important;
  color: #c8d6c8 !important;
  border: 1px solid #2e8b57 !important;
  border-radius: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  padding: 10px 12px !important;
  width: 100% !important;
  outline: none !important;
  box-shadow: none !important;
}
.rtcl-form-control:focus {
  border-color: #00ff41 !important;
  box-shadow: 0 0 0 1px #00ff41 !important;
}
.rtcl-form-group label {
  color: #8a9a8a !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 12px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}
.rtcl-btn,
button[type="submit"],
input[type="submit"] {
  background: #0a0a0a !important;
  color: #00ff41 !important;
  border: 1px solid #00ff41 !important;
  border-radius: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: 10px 18px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.rtcl-btn:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #00ff41 !important;
  color: #070707 !important;
}
.rtcl-checkbox-list,
.rtcl-forgot-password,
.register-link,
.rtcl-forgot-password a {
  color: #8a9a8a !important;
}
.rtcl-forgot-password a:hover {
  color: #00ff41 !important;
}
.rtcl-account-wrap .rtcl-account-content {
  max-width: 900px;
  margin: 0 28px;
}

/* === STEP10-V2: LISTINGS GATE BUTTONS === */
.rtcl-marketplace-gate__btn {
  background: #0a0a0a !important;
  color: #00ff41 !important;
  border: 1px solid #00ff41 !important;
  border-radius: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 12px !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  padding: 10px 18px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.rtcl-marketplace-gate__btn:hover,
.rtcl-marketplace-gate__btn:focus {
  background: #00ff41 !important;
  color: #070707 !important;
}

/* === STEP10-V3: MY-ACCOUNT FORM WIDTH === */
.page-template-page-my-account .rtcl-login-form-wrap,
.page-template-page-my-account .rtcl-registration-form-wrap {
  max-width: 900px;
}
.page-template-page-my-account .rtcl-form-control {
  max-width: 100%;
}
.page-template-page-my-account .rtcl-btn:focus,
.page-template-page-my-account button[type="submit"]:focus,
.page-template-page-my-account input[type="submit"]:focus {
  outline: 1px solid #00ff41;
  outline-offset: 2px;
}

/* Single-post title override for block-based posts */
.single-post .wp-block-post-title {
  color: #00ff41 !important;
}
