/*
Theme Name: Kadence Child - NuxPik
Template: kadence
Version: 1.0
*/

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

:root {
  --nux-dark: #0D1117;
  --nux-dark-2: #161B22;
  --nux-dark-3: #21262D;
  --nux-orange: #F97316;
  --nux-orange-light: #FB923C;
  --nux-blue: #58A6FF;
  --nux-green: #3FB950;
  --nux-text: #E6EDF3;
  --nux-muted: #8B949E;
  --nux-border: #30363D;
  --nux-bg: #F6F8FA;
  --nux-white: #FFFFFF;
}

body { font-family: 'Inter', sans-serif; }
h1,h2,h3,h4 { font-family: 'Inter', sans-serif; font-weight: 700; }

/* ——— REMOVER HERO "HOME" ——— */
.page-title-wrap, .kadence-hero-page-title,
body.home .entry-hero, .entry-hero { display: none !important; }

/* ——— HEADER ——— */
.site-header, #masthead {
  background: var(--nux-dark) !important;
  border-bottom: 1px solid var(--nux-border) !important;
  box-shadow: 0 1px 0 var(--nux-border) !important;
}
.site-branding .site-title a, .site-branding a {
  color: var(--nux-text) !important; font-family: 'Space Mono', monospace !important;
  font-size: 18px !important; letter-spacing: -.02em !important;
}
.main-navigation a, .nav-menu a {
  color: var(--nux-muted) !important; font-family: 'Inter', sans-serif !important;
  font-weight: 500 !important; font-size: 13px !important;
  letter-spacing: .04em !important;
}
.main-navigation a:hover { color: var(--nux-orange) !important; }

/* ——— SINGLE POST ——— */
.single .entry-title { font-family: 'Inter', sans-serif; font-weight: 800; font-size: clamp(24px,3.5vw,44px); color: var(--nux-dark); line-height: 1.2; }
.single .entry-content { font-size: 16px; line-height: 1.75; max-width: 760px; }
.single .entry-content h2 { font-weight: 700; color: var(--nux-dark); background: #FFF7ED; border-left: 4px solid var(--nux-orange); padding: 12px 16px; border-radius: 0 6px 6px 0; margin-top: 2.5em; }
.single .entry-content h3 { font-weight: 600; color: var(--nux-dark); }
.single .entry-content a { color: var(--nux-orange); text-decoration: none; border-bottom: 1px solid rgba(249,115,22,.3); }
.single .entry-content code, .single .entry-content pre { font-family: 'Space Mono', monospace; background: var(--nux-dark-2); color: var(--nux-text); border-radius: 6px; padding: 2px 8px; font-size: 13px; }
.single .entry-content table { border-collapse: collapse; width: 100%; margin: 2em 0; border: 1px solid var(--nux-border); border-radius: 8px; overflow: hidden; }
.single .entry-content table th { background: var(--nux-dark); color: white; padding: 12px 16px; font-size: 12px; font-family: 'Space Mono', monospace; letter-spacing: .05em; }
.single .entry-content table td { padding: 10px 16px; border-bottom: 1px solid #E5E7EB; }
.single .entry-content table tr:nth-child(even) td { background: #FFF7ED; }

/* ——— CARDS ——— */
.posts-container article {
  background: var(--nux-white); border: 1px solid #E5E7EB;
  border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.posts-container article:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(249,115,22,.12); }

/* ——— BOTÕES ——— */
.wp-block-button__link, .button, a.button {
  background: var(--nux-orange) !important; color: white !important;
  border-radius: 6px !important; font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important; letter-spacing: .02em !important; padding: 12px 24px !important;
}
.wp-block-button__link:hover { background: var(--nux-orange-light) !important; }

/* ——— FOOTER ——— */
.site-footer { background: var(--nux-dark) !important; color: var(--nux-muted) !important; border-top: 1px solid var(--nux-border) !important; }
.site-footer a { color: var(--nux-orange) !important; }

/* ═══ HEADER-FIX-V1 ═══ */
.site-branding, .site-branding .custom-logo-link { background: transparent !important; }
.site-branding .site-title { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.site-branding .custom-logo { max-height: 55px; width: auto; background: transparent !important; }
.site-header-wrap, .site-header-inner-wrap { background: transparent !important; }
header.site-header .site-header-upper-wrap { background: #1a1a2e !important; border-bottom: 2px solid #e67e22; }
.header-navigation .menu > li > a { color: #f0f0f0 !important; font-weight: 600; letter-spacing: 0.02em; }
.header-navigation .menu > li > a:hover { color: #e67e22 !important; }

/* ═══ HIDE-TITLE-V2 ═══ */
.site-title,
.site-branding .site-title,
.site-header .site-title,
h1.site-title,
p.site-title,
a.site-title,
.site-title a,
.custom-logo-link + .site-title,
.site-header-row .site-title,
#masthead .site-title,
.site-header-item .site-title {
    display: none !important;
    visibility: hidden !important;
    font-size: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* ═══ HIDE-TITLE-V3 ═══ */
.site-title-wrap {
    display: none !important;
}

/* ═══ LOGO-BG-FIX-V4 ═══ */
.site-branding,
.site-branding .brand,
.site-branding a.brand,
.site-branding .custom-logo-link,
.site-header-item[data-section="title_tagline"],
.site-header-focus-item[data-section="title_tagline"],
.branding-layout-standard,
.site-header-row-container-inner,
.site-header-main-section-left {
    background: transparent !important;
    background-color: transparent !important;
}
