/* ========================================
   REFLECTUM AI - CUSTOM STYLES FOR KADENCE
   ======================================== */

/* ROOT VARIABLES */
:root {
    --cosmic-black: #0a0a0f;
    --deep-space: #0f1019;
    --midnight: #141520;
    --charcoal: #1a1b26;
    --slate: #2a2b3d;
    --gold-primary: #c9a227;
    --gold-bright: #e6b800;
    --gold-soft: #d4af37;
    --gold-dim: #8b7355;
    --text-primary: #e8e6e3;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
}

/* GLOBAL STYLES */
body {
    background-color: var(--cosmic-black) !important;
    color: var(--text-primary) !important;
    font-family: 'Lexend', sans-serif !important;
}

/* Load Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* HEADER / NAVIGATION */
.site-header,
#masthead {
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), rgba(10, 10, 15, 0.8)) !important;
    backdrop-filter: blur(10px);
}

.site-title,
.site-title a,
.custom-logo-link {
    color: var(--gold-primary) !important;
}

.main-navigation a,
.primary-menu a,
.menu-item a {
    color: var(--gold-soft) !important;
    font-family: 'Lexend', sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    transition: color 0.3s ease !important;
}

.main-navigation a:hover,
.primary-menu a:hover,
.menu-item a:hover {
    color: var(--gold-bright) !important;
}

/* COSMIC BACKGROUND EFFECT */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(201, 162, 39, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
}

/* SECTION STYLING */
.entry-content,
.site-main {
    position: relative;
    z-index: 1;
}

/* HEADINGS */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif !important;
    color: var(--text-primary) !important;
}

h1 {
    font-weight: 300 !important;
    letter-spacing: -0.02em !important;
}

/* GOLD HIGHLIGHTS */
.gold-text,
.highlight {
    color: var(--gold-primary) !important;
}

/* BUTTONS */
.wp-block-button__link,
.button,
button,
input[type="submit"] {
    background: var(--gold-primary) !important;
    color: var(--cosmic-black) !important;
    font-family: 'Lexend', sans-serif !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 1rem 2rem !important;
    transition: all 0.3s ease !important;
}

.wp-block-button__link:hover,
.button:hover {
    background: var(--gold-bright) !important;
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.3) !important;
    transform: translateY(-2px) !important;
}

/* SECONDARY BUTTON STYLE */
.is-style-outline .wp-block-button__link {
    background: transparent !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--slate) !important;
}

.is-style-outline .wp-block-button__link:hover {
    border-color: var(--gold-soft) !important;
    color: var(--gold-soft) !important;
    box-shadow: none !important;
}

/* SECTION LABELS (mono text) */
.section-label,
.kb-advanced-heading .kt-adv-heading-wrap {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 0.7rem !important;
    color: var(--gold-dim) !important;
    letter-spacing: 0.3em !important;
    text-transform: uppercase !important;
}

/* CARDS / BOXES */
.kb-row-layout-wrap,
.wp-block-kadence-column {
    background: linear-gradient(135deg, rgba(26, 27, 38, 0.6) 0%, rgba(15, 16, 25, 0.8) 100%) !important;
    border: 1px solid var(--slate) !important;
    border-radius: 4px !important;
    transition: all 0.4s ease !important;
}

.kb-row-layout-wrap:hover,
.wp-block-kadence-column:hover {
    border-color: var(--gold-dim) !important;
    transform: translateY(-4px) !important;
}

/* PARAGRAPHS */
p {
    color: var(--text-secondary) !important;
    line-height: 1.7 !important;
}

/* LINKS */
a {
    color: var(--gold-soft) !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: var(--gold-bright) !important;
}

/* FOOTER */
.site-footer,
#colophon {
    background: var(--cosmic-black) !important;
    border-top: 1px solid var(--slate) !important;
    color: var(--text-muted) !important;
}

/* KADENCE-SPECIFIC OVERRIDES */
.kadence-pro-mega-menu,
.wp-block-kadence-rowlayout {
    background: transparent !important;
}

/* Remove any white backgrounds */
.content-area,
.site-content,
.entry-content > *,
.alignfull,
.alignwide {
    background-color: transparent !important;
}

/* HERO SECTION SPECIFIC */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ANIMATED ELEMENTS */
@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(201, 162, 39, 0.3);
    }
    50% { 
        box-shadow: 0 0 25px rgba(201, 162, 39, 0.5);
    }
}

.glow-element {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* SERVICE NUMBERS */
.service-number {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 2rem !important;
    color: var(--gold-dim) !important;
    font-weight: 500 !important;
}

/* COMING SOON BADGE */
.coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 2px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--gold-soft);
    letter-spacing: 0.1em;
}

/* IMAGE STYLING */
.about-image {
    border-radius: 4px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.about-image:hover {
    filter: grayscale(0%);
}

/* HIDE DEFAULT KADENCE STUFF WE DON'T WANT */
.kadence-starter-templates-notice,
.components-notice {
    display: none !important;
}
/* Lighter body text */
body, p, .entry-content {
    color: #e8e6e3 !important;
}

/* Center button text */
.wp-block-button__link,
.kb-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Lighter body text */
body, p, .entry-content {
    color: #e8e6e3 !important;
}

/* Center button text */
.wp-block-button__link,
.kb-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Fix Reflectum button text visibility */
.rfl-btn-primary {
    color: #0a0a0f !important;
    background: #c9a227 !important;
}

.rfl-btn-secondary {
    color: #e8e6e3 !important;
    background: transparent !important;
    border: 1px solid #2a2b3d !important;
}

/* Fix Navigator button text visibility */
.nav-btn-primary {
    color: #0a0a0f !important;
    background: #c9a227 !important;
}

.nav-btn-secondary {
    color: #e8e6e3 !important;
    background: transparent !important;
    border: 1px solid #2a2b3d !important;
}
/* ═══════════════════════════════════════════════════════════
   REFLECTUM — POST & ARCHIVE STYLING
   Paste into: Appearance → Customize → Additional CSS
   Fully reversible: clear this box to restore theme defaults.
   Scoped to posts/archives only — custom pages are untouched.
   ═══════════════════════════════════════════════════════════ */

:root {
  --rfx-ink: #0a0a0f;
  --rfx-ink-raise: #101018;
  --rfx-text: #d9d6d1;
  --rfx-text-dim: #a29fa8;
  --rfx-text-faint: #6f6c78;
  --rfx-gold: #e3b93f;
  --rfx-gold-lift: #f2cf6b;
  --rfx-hairline: rgba(232,230,225,0.09);
}

/* ---- Remove the bright card, sit on the site ground ---- */
body.single-post .content-bg,
body.single-post .content-area,
body.single-post .site-container,
body.archive .content-bg,
body.blog .content-bg,
body.search .content-bg {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

body.single-post,
body.archive,
body.blog,
body.search {
  background: var(--rfx-ink) !important;
}

/* ---- Reading column: comfortable measure ---- */
body.single-post .entry-content,
body.single-post .entry-header {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Body text: warm, calm, generous ---- */
body.single-post .entry-content,
body.single-post .entry-content p,
body.single-post .entry-content li {
  font-family: 'Lexend', -apple-system, sans-serif !important;
  font-weight: 300 !important;
  font-size: 17px !important;
  line-height: 1.78 !important;
  color: var(--rfx-text) !important;
  letter-spacing: 0.002em;
}

body.single-post .entry-content p { margin-bottom: 26px !important; }

body.single-post .entry-content strong,
body.single-post .entry-content b {
  color: #eeece8 !important;
  font-weight: 500 !important;
}

/* ---- Title: quiet authority, not a shout ---- */
body.single-post .entry-title {
  font-family: 'Lexend', sans-serif !important;
  font-weight: 200 !important;
  font-size: clamp(30px, 4.4vw, 46px) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.015em !important;
  color: #ebe9e4 !important;
  margin-bottom: 20px !important;
}

/* ---- Headings inside the article ---- */
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 {
  font-family: 'Lexend', sans-serif !important;
  font-weight: 300 !important;
  color: #e8e6e1 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.25 !important;
  margin-top: 52px !important;
  margin-bottom: 18px !important;
}
body.single-post .entry-content h2 { font-size: 27px !important; }
body.single-post .entry-content h3 { font-size: 21px !important; }
body.single-post .entry-content h4 { font-size: 18px !important; }

/* ---- Meta line: recede ---- */
body.single-post .entry-meta,
body.single-post .entry-meta a,
body.single-post .posted-by,
body.single-post .posted-on {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  color: var(--rfx-text-faint) !important;
  text-transform: none !important;
}

/* ---- Category tags: quiet, not a banner ---- */
body.single-post .entry-taxonomies,
body.single-post .entry-taxonomies a,
body.archive .entry-taxonomies a {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  color: var(--rfx-text-faint) !important;
  text-transform: uppercase !important;
}
body.single-post .entry-taxonomies a:hover { color: var(--rfx-gold) !important; }

/* ---- Links in body: gold, underlined on hover only ---- */
body.single-post .entry-content a,
body.single-post .entry-content a:link,
body.single-post .entry-content a:visited {
  color: var(--rfx-gold-lift) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(227,185,63,0.35);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
body.single-post .entry-content a:hover { border-bottom-color: var(--rfx-gold-lift); }

/* ---- Blockquotes: the site's signature ---- */
body.single-post .entry-content blockquote {
  border-left: 1px solid rgba(227,185,63,0.45) !important;
  background: transparent !important;
  padding: 4px 0 4px 28px !important;
  margin: 34px 0 !important;
  font-weight: 200 !important;
  font-size: 20px !important;
  line-height: 1.55 !important;
  color: #e2e0db !important;
  font-style: normal !important;
}
body.single-post .entry-content blockquote p { font-size: inherit !important; color: inherit !important; }

/* ---- Images and figures: soften edges ---- */
body.single-post .entry-content img { border-radius: 3px; }
body.single-post .entry-content figcaption {
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 11px !important;
  color: var(--rfx-text-faint) !important;
  letter-spacing: 0.06em;
}

/* ---- Rules ---- */
body.single-post .entry-content hr {
  border: none !important;
  border-top: 1px solid var(--rfx-hairline) !important;
  margin: 48px 0 !important;
}

/* ---- Lists ---- */
body.single-post .entry-content ul,
body.single-post .entry-content ol { margin-bottom: 26px !important; }
body.single-post .entry-content li { margin-bottom: 9px !important; }

/* ---- Archive / blog listing ---- */
body.archive .entry-title,
body.blog .entry-title,
body.search .entry-title {
  font-family: 'Lexend', sans-serif !important;
  font-weight: 300 !important;
  color: #e8e6e1 !important;
  letter-spacing: -0.01em !important;
}
body.archive .entry-title a,
body.blog .entry-title a,
body.search .entry-title a { color: #e8e6e1 !important; }
body.archive .entry-title a:hover,
body.blog .entry-title a:hover,
body.search .entry-title a:hover { color: var(--rfx-gold-lift) !important; }

body.archive .entry-summary,
body.blog .entry-summary,
body.archive .entry-content,
body.blog .entry-content {
  font-family: 'Lexend', sans-serif !important;
  font-weight: 300 !important;
  color: var(--rfx-text-dim) !important;
  line-height: 1.7 !important;
}

body.archive .entry,
body.blog .entry,
body.search .entry {
  background: transparent !important;
  border-bottom: 1px solid var(--rfx-hairline) !important;
  box-shadow: none !important;
}

/* ---- Post navigation ---- */
body.single-post .post-navigation a,
body.single-post .nav-links a {
  font-family: 'Lexend', sans-serif !important;
  color: var(--rfx-text-dim) !important;
  font-weight: 300 !important;
}
body.single-post .post-navigation a:hover { color: var(--rfx-gold-lift) !important; }

/* ---- Author box / related: recede ---- */
body.single-post .entry-author-style-normal,
body.single-post .entry-related {
  background: var(--rfx-ink-raise) !important;
  border: 1px solid var(--rfx-hairline) !important;
  border-radius: 4px;
}

/* ---- Mobile ---- */
@media (max-width: 720px) {
  body.single-post .entry-content,
  body.single-post .entry-content p,
  body.single-post .entry-content li { font-size: 16px !important; line-height: 1.75 !important; }
  body.single-post .entry-content h2 { font-size: 23px !important; margin-top: 42px !important; }
} 
/* ── Related posts: quiet the footer ── */
body.single-post .entry-related-title,
body.single-post .entry-related h2 {
  font-family: 'Lexend', sans-serif !important;
  font-weight: 300 !important;
  font-size: 18px !important;
  letter-spacing: 0.02em !important;
  color: var(--rfx-text-dim) !important;
  margin-bottom: 28px !important;
}

body.single-post .entry-related .entry-title,
body.single-post .entry-related .entry-title a {
  font-family: 'Lexend', sans-serif !important;
  font-weight: 300 !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  color: var(--rfx-text-dim) !important;
}
body.single-post .entry-related .entry-title a:hover {
  color: var(--rfx-gold-lift) !important;
}

body.single-post .entry-related .entry-meta,
body.single-post .entry-related .entry-meta a {
  font-size: 10px !important;
  color: var(--rfx-text-faint) !important;
}

/* Hide empty featured-image placeholders */
body.single-post .entry-related .post-thumbnail:empty,
body.single-post .entry-related .kadence-thumbnail-ratio:empty {
  display: none !important;
}
.wp-block-jetpack-related-posts .jetpack-related-posts-i2__post-link,
.jetpack-related-posts-i2 a.jetpack-related-posts-i2__post-link {
    color: #0a0a0f !important;
}