/*
Theme Name: Winston Barber Pro
Theme URI: https://example.com/winston-barber-pro
Author: OpenAI
Author URI: https://openai.com
Description: Tema minimalista y liviano para Winston Barber. Diseñado como cáscara visual para ecosistema Core + Satélites.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: winston-barber-pro
*/

:root {
  --wbp-bg: #050505;
  --wbp-surface: #0d0d0d;
  --wbp-surface-soft: #121212;
  --wbp-text: #f5f5f5;
  --wbp-text-soft: #c8c8c8;
  --wbp-accent: #d4af37;
  --wbp-border: rgba(212, 175, 55, 0.18);
  --wbp-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  --wbp-radius: 18px;
  --wbp-content: 1100px;
  --wbp-nav-height: 56px;
  --wbp-font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
figure,
dl,
dd {
  margin: 0;
}

body {
  min-height: 100vh;
  background: var(--wbp-bg);
  color: var(--wbp-text);
  font-family: var(--wbp-font);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--wbp-accent);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

.site {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--wbp-nav-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(5, 5, 5, 0.78);
  backdrop-filter: blur(10px);
}

.site-nav {
  max-width: var(--wbp-content);
  min-height: var(--wbp-nav-height);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--wbp-text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}

.site-branding:hover,
.site-branding:focus-visible {
  text-decoration: none;
}

.site-branding__mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--wbp-accent);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.45);
}

.primary-nav {
  opacity: 0.72;
}

.primary-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.primary-nav a {
  color: var(--wbp-text-soft);
  font-size: 0.92rem;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.current-menu-item > a,
.current_page_item > a {
  color: var(--wbp-accent);
  text-decoration: none;
}

.site-main {
  width: 100%;
}

.content-wrap {
  max-width: var(--wbp-content);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.entry-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--wbp-radius);
  box-shadow: var(--wbp-shadow);
  padding: 1.5rem;
}

.entry-title,
.page-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.entry-title a,
.page-title {
  color: var(--wbp-text);
}

.entry-meta {
  margin-top: 0.5rem;
  color: var(--wbp-text-soft);
  font-size: 0.92rem;
}

.entry-content,
.page-content {
  margin-top: 1rem;
}

.entry-content > * + *,
.page-content > * + * {
  margin-top: 1rem;
}

.app-shell {
  width: 100%;
  min-height: calc(100vh - var(--wbp-nav-height));
  margin: 0;
  padding: 0;
}

.app-shell__content,
.app-shell .entry-content,
.app-shell .page-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem;
  color: var(--wbp-text-soft);
  font-size: 0.9rem;
}

.site-footer__inner {
  max-width: var(--wbp-content);
  margin: 0 auto;
  text-align: center;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fff;
  color: #000;
  z-index: 100000;
}

@media (max-width: 767px) {
  .site-nav {
    padding-inline: 0.875rem;
  }

  .primary-nav {
    display: none;
  }

  .content-wrap {
    padding: 1.25rem 0.875rem 2.25rem;
  }

  .entry-card {
    padding: 1.1rem;
    border-radius: 14px;
  }
}
