/*
Theme Name: WisdomPrompt Blog
Theme URI: https://www.wisdomprompt.com/blog/
Template: generatepress
Author: WisdomPrompt
Description: WisdomPrompt-branded child theme for the public blog.
Version: 1.0.0
*/

:root {
  --wp-brand-blue: #007aff;
  --wp-brand-dark: #0a0a0b;
  --wp-brand-panel: #101114;
  --wp-brand-gray: #1c1c1e;
  --wp-brand-muted: #8e8e93;
  --wp-brand-text: #ffffff;
  --wp-brand-soft: rgba(255, 255, 255, 0.68);
  --wp-brand-line: rgba(255, 255, 255, 0.1);
  --wp-brand-glass: rgba(255, 255, 255, 0.05);
  --wp-brand-glass-strong: rgba(255, 255, 255, 0.08);
  --wp-brand-display: "Manrope", sans-serif;
  --wp-brand-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --wp-brand-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

html {
  background: var(--wp-brand-dark);
}

body {
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 122, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(250, 200, 0, 0.08), transparent 28rem),
    linear-gradient(180deg, #0a0a0b 0%, #0d1117 48%, #0a0a0b 100%);
  color: var(--wp-brand-text);
  font-family: var(--wp-brand-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

body,
button,
input,
select,
textarea {
  font-family: var(--wp-brand-body);
}

a {
  color: var(--wp-brand-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.entry-title,
.main-title {
  color: #ffffff;
  font-family: var(--wp-brand-display);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.wp-site-wrapper {
  overflow: hidden;
}

.wp-brand-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--wp-brand-line);
  background: rgba(10, 10, 11, 0.78);
  backdrop-filter: blur(18px);
}

.wp-brand-header__inner {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 80rem;
  min-height: 4rem;
  padding: 0 1.25rem;
}

.wp-brand-logo {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  gap: 0.75rem;
  text-decoration: none;
}

.wp-brand-logo:hover,
.wp-brand-logo:focus {
  color: #ffffff;
}

.wp-brand-logo__mark {
  align-items: center;
  background: var(--wp-brand-blue);
  border-radius: 0.75rem;
  box-shadow: 0 0 36px rgba(0, 122, 255, 0.35);
  color: #ffffff;
  display: inline-flex;
  font-family: var(--wp-brand-display);
  font-size: 1rem;
  font-weight: 800;
  height: 2.5rem;
  justify-content: center;
  letter-spacing: 0;
  width: 2.5rem;
}

.wp-brand-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.wp-brand-logo__name {
  font-family: var(--wp-brand-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.wp-brand-logo__section {
  color: var(--wp-brand-muted);
  font-family: var(--wp-brand-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
  text-transform: uppercase;
}

.wp-brand-nav {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.wp-brand-nav__links {
  align-items: center;
  display: flex;
  gap: 0.25rem;
}

.wp-brand-nav__links a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.wp-brand-nav__links a:hover,
.wp-brand-nav__links a:focus,
.wp-brand-nav__links .current-menu-item > a {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.wp-brand-cta,
.button,
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.wp-block-button__link:not(.has-background) {
  background: var(--wp-brand-blue);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.wp-brand-cta:hover,
.wp-brand-cta:focus,
.button:hover,
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
a.wp-block-button__link:not(.has-background):hover {
  background: #005fcc;
  color: #ffffff;
  transform: translateY(-1px);
}

.site-header,
.main-navigation,
.site-info {
  background: transparent;
}

.site {
  background: transparent;
}

.grid-container {
  max-width: 80rem;
}

.site-content {
  padding: 4rem 1.25rem;
}

.site-main {
  margin: 0;
}

.blog .site-main,
.archive .site-main,
.search .site-main {
  display: grid;
  gap: 1.25rem;
}

.page-header {
  background: transparent;
  border: 1px solid var(--wp-brand-line);
  border-radius: 1rem;
  margin-bottom: 1.25rem;
  padding: 2rem;
}

.page-header h1 {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1.04;
  margin: 0;
}

.inside-article,
.comments-area,
.sidebar .widget,
.paging-navigation {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--wp-brand-line);
  border-radius: 1rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  color: rgba(255, 255, 255, 0.78);
}

.blog .inside-article,
.archive .inside-article,
.search .inside-article {
  overflow: hidden;
  padding: 2rem;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.blog .inside-article:hover,
.archive .inside-article:hover,
.search .inside-article:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(0, 122, 255, 0.34);
  transform: translateY(-2px);
}

.single .inside-article,
.page .inside-article {
  padding: clamp(2rem, 5vw, 4rem);
}

.entry-title {
  font-size: clamp(1.8rem, 3vw, 3.35rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.blog .entry-title,
.archive .entry-title,
.search .entry-title {
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.14;
}

.entry-title a {
  color: #ffffff;
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
  color: var(--wp-brand-blue);
}

.entry-meta,
.entry-meta a,
.cat-links,
.tags-links,
.comments-link {
  color: var(--wp-brand-muted);
  font-family: var(--wp-brand-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.entry-summary,
.entry-content {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  line-height: 1.75;
}

.entry-content p,
.entry-summary p {
  margin-bottom: 1.2rem;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 2.2rem;
}

.entry-content code,
.entry-content pre {
  font-family: var(--wp-brand-mono);
}

.entry-content pre {
  background: #0d1117;
  border: 1px solid var(--wp-brand-line);
  border-radius: 0.75rem;
  color: #ffffff;
  padding: 1rem;
}

.read-more {
  align-items: center;
  border: 1px solid rgba(0, 122, 255, 0.35);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 700;
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

.read-more:hover,
.read-more:focus {
  background: rgba(0, 122, 255, 0.16);
  color: #ffffff;
}

.wp-brand-footer {
  border-top: 1px solid var(--wp-brand-line);
  margin-top: 3rem;
  padding: 3rem 1.25rem;
}

.wp-brand-footer__inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 80rem;
}

.wp-brand-footer p {
  color: var(--wp-brand-muted);
  margin: 0.7rem 0 0;
  max-width: 34rem;
}

.wp-brand-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: flex-end;
}

.wp-brand-footer__links a {
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
}

.wp-brand-footer__links a:hover,
.wp-brand-footer__links a:focus {
  color: #ffffff;
}

.wp-brand-footer__meta {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
  margin-top: 1.25rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wp-brand-line);
  border-radius: 0.65rem;
  color: #ffffff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--wp-brand-blue);
}

@media (max-width: 768px) {
  .wp-brand-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
  }

  .wp-brand-nav {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .wp-brand-nav__links {
    flex-wrap: wrap;
  }

  .wp-brand-cta {
    width: 100%;
  }

  .site-content {
    padding: 2rem 1rem;
  }

  .blog .inside-article,
  .archive .inside-article,
  .search .inside-article,
  .single .inside-article,
  .page .inside-article,
  .page-header {
    padding: 1.35rem;
  }

  .wp-brand-footer__inner {
    grid-template-columns: 1fr;
  }

  .wp-brand-footer__links {
    justify-content: flex-start;
  }
}

/* Production polish: keep GeneratePress list/container defaults from leaking into the blog shell. */
.wp-brand-nav__links,
.wp-brand-nav__links ul,
.wp-brand-nav__links li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wp-brand-nav__links {
  background: transparent;
}

.wp-brand-nav__links li::before,
.wp-brand-nav__links li::marker {
  content: none;
}

body.blog,
body.archive,
body.search,
body.single,
body.page,
.site,
.site-content,
.container,
.grid-container,
.separate-containers .site-main,
.separate-containers .inside-article,
.inside-article,
.site-main .post,
.site-main .page,
.entry-content,
.entry-summary {
  background-color: transparent;
}

.inside-article,
.site-main .post,
.site-main .page,
.comments-area,
.sidebar .widget,
.paging-navigation {
  background: rgba(16, 17, 20, 0.88);
  border-color: var(--wp-brand-line);
  color: rgba(255, 255, 255, 0.8);
}

.blog .inside-article,
.archive .inside-article,
.search .inside-article {
  background: rgba(16, 17, 20, 0.84);
}

.single .inside-article,
.page .inside-article {
  background: rgba(16, 17, 20, 0.9);
}

.blog .inside-article:hover,
.archive .inside-article:hover,
.search .inside-article:hover {
  background: rgba(22, 24, 29, 0.94);
}

.entry-content,
.entry-summary,
.entry-content p,
.entry-summary p,
.entry-content li,
.entry-content td,
.entry-content th {
  color: rgba(255, 255, 255, 0.78);
}

.entry-meta,
.entry-meta a,
.cat-links,
.cat-links a,
.tags-links,
.tags-links a,
.comments-link,
.comments-link a {
  color: var(--wp-brand-muted);
}

.entry-content a,
.entry-summary a {
  color: #7db7ff;
}

.entry-content a:hover,
.entry-content a:focus,
.entry-summary a:hover,
.entry-summary a:focus {
  color: #ffffff;
}
