/*
Theme Name:  Evalúa
Theme URI:   https://example.com/evalua-theme
Description: Tema oscuro y académico diseñado para combinarse con el plugin Evaluación de Maestros. Paleta dorada sobre fondo nocturno, tipografía editorial con Playfair Display y DM Sans.
Version:     1.0.0
Author:      Tu Nombre
Author URI:  https://example.com
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evalua
Tags:        dark, education, one-column, two-columns, custom-colors, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════ */
:root {
  /* Colours — matches plugin exactly */
  --bg:        #0e0e14;
  --surface:   #16161f;
  --card:      #1c1c28;
  --border:    #2a2a3d;
  --border2:   #353550;
  --gold:      #f5c842;
  --gold2:     #f79d3c;
  --text:      #e8e8f0;
  --muted:     #7878a0;
  --muted2:    #50507a;
  --success:   #4caf82;
  --error:     #e05c6e;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --r:   16px;   /* card radius */
  --rs:   8px;   /* small radius */
  --gutter: 28px;
  --container: 1180px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(0,0,0,.35);
  --shadow-md:  0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.6);
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .6;
}

/* ═══════════════════════════════════════════════════════════════
   TYPOGRAPHY
═══════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: .9rem; }

p { margin-bottom: 1.2em; color: var(--text); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--gold);
  text-decoration: none;
  transition: color .2s, opacity .2s;
}
a:hover { color: var(--gold2); }

strong, b { font-weight: 600; }
em, i     { font-style: italic; }

blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 22px;
  margin: 28px 0;
  background: var(--card);
  border-radius: 0 var(--rs) var(--rs) 0;
  font-style: italic;
  color: var(--muted);
}
blockquote cite { display: block; margin-top: 8px; font-size: .85rem; color: var(--gold); font-style: normal; }

code, pre {
  font-family: 'Fira Code', 'Courier New', monospace;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--rs);
}
code { padding: 2px 7px; font-size: .88em; color: var(--gold); }
pre  { padding: 20px; overflow-x: auto; margin: 20px 0; }
pre code { padding: 0; background: none; border: none; color: var(--text); }

ul, ol { padding-left: 1.6em; margin-bottom: 1.2em; }
li { margin-bottom: .4em; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}
th {
  background: var(--card);
  color: var(--gold);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(255,255,255,.02); }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-content {
  flex: 1;
  padding: 60px 0 80px;
}

/* Two-column layout */
.content-area    { width: 68%; }
.widget-area     { width: 28%; }
.content-sidebar { display: flex; gap: 4%; align-items: flex-start; }

/* Full-width page */
.full-width .content-area { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,20,.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 14px; }

.site-logo img {
  height: 38px;
  width: auto;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -.01em;
}
.site-title a { color: inherit; }
.site-title a:hover { color: var(--gold); }

.site-description {
  font-size: .72rem;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0;
}

/* Logo mark (fallback) */
.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: #0e0e14;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.main-navigation { display: flex; align-items: center; gap: 4px; }

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-navigation li { position: relative; }

.main-navigation a {
  display: block;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--rs);
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-page-ancestor > a {
  color: var(--text);
  background: rgba(255,255,255,.06);
}
.main-navigation .current-menu-item > a { color: var(--gold); }

/* Dropdown */
.main-navigation ul ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-md);
  z-index: 200;
}
.main-navigation li:hover > ul { display: flex; }
.main-navigation ul ul a { color: var(--text); font-size: .86rem; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--rs);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════ */
.btn,
button.btn,
input[type="submit"],
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--rs);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0e0e14;
}
.btn-primary:hover { color: #0e0e14; opacity: .88; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,200,66,.06); }

.btn-sm { padding: 7px 14px; font-size: .82rem; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(245,200,66,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(245,200,66,.12);
  border: 1px solid rgba(245,200,66,.3);
  color: var(--gold);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 700px;
  margin: 0 auto 22px;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -.02em;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  max-width: 520px;
  margin: 0 auto 36px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label { font-size: .8rem; color: var(--muted); margin-top: 4px; letter-spacing: .06em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--border2); transform: translateY(-3px); }
.card-gold:hover { border-color: rgba(245,200,66,.4); }

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 48px 0;
}

.feature-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: rgba(245,200,66,.35); transform: translateY(-3px); }

.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(245,200,66,.15), rgba(247,157,60,.15));
  border: 1px solid rgba(245,200,66,.25);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p  { color: var(--muted); font-size: .92rem; margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   POSTS / BLOG
═══════════════════════════════════════════════════════════════ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

article.post-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
  display: flex;
  flex-direction: column;
}
article.post-card:hover { border-color: rgba(245,200,66,.35); transform: translateY(-3px); }

.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface);
  position: relative;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--surface), var(--card));
}

.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.post-cat {
  background: rgba(245,200,66,.12);
  border: 1px solid rgba(245,200,66,.25);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.post-date { font-size: .78rem; color: var(--muted); }

.post-card h2, .post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.post-card h2 a, .post-card h3 a { color: var(--text); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--gold); }

.post-excerpt { color: var(--muted); font-size: .9rem; flex: 1; }

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.read-more { font-size: .85rem; font-weight: 600; color: var(--gold); }
.read-more:hover { color: var(--gold2); }
.post-read-time { font-size: .78rem; color: var(--muted2); }

/* Single post */
.entry-header { margin-bottom: 40px; }
.entry-title  { margin-bottom: 16px; }

.entry-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .88rem;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}
.entry-meta a { color: var(--muted); }
.entry-meta a:hover { color: var(--gold); }

.entry-content h2, .entry-content h3, .entry-content h4 { margin: 36px 0 16px; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content img { border-radius: var(--rs); margin: 24px 0; }
.entry-content .wp-block-image figcaption { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 8px; }

.entry-thumbnail {
  aspect-ratio: 16/7;
  overflow: hidden;
  border-radius: var(--r);
  margin-bottom: 40px;
}
.entry-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Tags */
.entry-tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.entry-tags .tag {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .78rem;
  padding: 4px 12px;
  border-radius: 100px;
  margin: 4px 4px 4px 0;
  transition: border-color .2s, color .2s;
}
.entry-tags .tag:hover { border-color: var(--gold); color: var(--gold); }

/* Post navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.nav-previous, .nav-next {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  transition: border-color .2s;
}
.nav-previous:hover, .nav-next:hover { border-color: rgba(245,200,66,.4); }
.nav-next { text-align: right; }
.nav-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 6px; }
.nav-title { font-family: var(--font-display); font-size: 1rem; color: var(--text); }
.nav-previous a:hover .nav-title, .nav-next a:hover .nav-title { color: var(--gold); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--rs);
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .88rem;
  transition: all .2s;
}
.page-numbers.current,
.page-numbers:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #0e0e14;
  font-weight: 700;
}
.page-numbers.dots { border: none; background: none; color: var(--muted2); }

/* ═══════════════════════════════════════════════════════════════
   SIDEBAR & WIDGETS
═══════════════════════════════════════════════════════════════ */
.widget-area { position: sticky; top: 90px; }

.widget {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  letter-spacing: .02em;
}

.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget ul li:last-child { border-bottom: none; padding-bottom: 0; }
.widget ul li a { color: var(--muted); font-size: .9rem; }
.widget ul li a:hover { color: var(--gold); }

/* Search widget */
.widget_search form { display: flex; gap: 8px; }
.widget_search input[type="search"] {
  flex: 1;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.widget_search input[type="search"]:focus { border-color: var(--gold); }
.widget_search input[type="submit"] {
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0e0e14;
  border: none;
  border-radius: var(--rs);
  font-weight: 700;
  cursor: pointer;
  font-size: .88rem;
}

/* Recent posts in sidebar */
.widget .recent-post-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.widget .recent-post-item:last-child { border-bottom: none; }
.widget .recent-post-thumb {
  width: 52px; height: 52px;
  border-radius: var(--rs);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface);
}
.widget .recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget .recent-post-title { font-size: .88rem; font-weight: 500; line-height: 1.3; margin-bottom: 4px; }
.widget .recent-post-title a { color: var(--text); }
.widget .recent-post-title a:hover { color: var(--gold); }
.widget .recent-post-date { font-size: .75rem; color: var(--muted); }

/* Tag cloud */
.tagcloud a { display: inline-block; background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: .8rem !important; padding: 4px 10px; border-radius: 100px;
  margin: 3px; transition: all .2s; }
.tagcloud a:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   COMMENTS
═══════════════════════════════════════════════════════════════ */
.comments-area {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-size: 1.4rem;
  margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.comments-title::before {
  content: '';
  display: block; width: 4px; height: 24px;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  border-radius: 2px;
}

.comment-list { list-style: none; padding: 0; margin: 0; }
.comment { margin-bottom: 24px; }
.comment-body {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 24px;
}
.comment-author {
  display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.comment-author .avatar { border-radius: 50%; }
.comment-author .fn { font-weight: 600; font-size: .95rem; }
.comment-author .fn a { color: var(--text); }
.comment-metadata { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.comment-metadata a { color: var(--muted); }
.comment-content p { font-size: .92rem; color: var(--muted); margin-bottom: 8px; }
.reply a { font-size: .82rem; color: var(--gold); font-weight: 600; }

.children { list-style: none; padding-left: 36px; margin-top: 16px; }

/* Comment form */
.comment-respond {
  margin-top: 40px;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
}
.comment-reply-title { font-size: 1.2rem; margin-bottom: 24px; }
.comment-form label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
  margin-bottom: 16px;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--gold); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form .form-submit input {
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #0e0e14;
  font-weight: 700;
  border: none;
  border-radius: var(--rs);
  cursor: pointer;
  font-size: .95rem;
  font-family: var(--font-body);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
═══════════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 52px 0;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,200,66,.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; color: var(--muted2); }
.page-title { margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   SECTION STYLES
═══════════════════════════════════════════════════════════════ */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-header { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--muted); margin: 0; }

/* Gold divider */
.gold-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ═══════════════════════════════════════════════════════════════
   FORMS (general)
═══════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--gold); }
.form-textarea { min-height: 120px; resize: vertical; }

/* ═══════════════════════════════════════════════════════════════
   CALL TO ACTION BANNER
═══════════════════════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, rgba(245,200,66,.1), rgba(247,157,60,.08));
  border: 1.5px solid rgba(245,200,66,.25);
  border-radius: var(--r);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 60px 0;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245,200,66,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p  { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .site-title { font-size: 1.3rem; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: .88rem; line-height: 1.6; }

.footer-col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--muted); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: .82rem; color: var(--muted2); }
.footer-copy a { color: var(--muted); }
.footer-copy a:hover { color: var(--gold); }

.footer-nav { display: flex; gap: 20px; }
.footer-nav a { font-size: .82rem; color: var(--muted2); }
.footer-nav a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   NOTICES / ALERTS
═══════════════════════════════════════════════════════════════ */
.notice {
  padding: 14px 18px;
  border-radius: var(--rs);
  font-size: .92rem;
  margin-bottom: 16px;
}
.notice-success { background: rgba(76,175,130,.12); border: 1px solid rgba(76,175,130,.3); color: var(--success); }
.notice-error   { background: rgba(224,92,110,.12); border: 1px solid rgba(224,92,110,.3); color: var(--error); }
.notice-info    { background: rgba(245,200,66,.08); border: 1px solid rgba(245,200,66,.25); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px);} to { opacity:1; transform:none;} }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes slideIn  { from { opacity:0; transform:translateX(-16px);} to { opacity:1; transform:none;} }
@keyframes pulseGold{ 0%,100%{ box-shadow:0 0 0 0 rgba(245,200,66,.4);} 50%{ box-shadow:0 0 0 8px rgba(245,200,66,0);} }

.anim-fade-up  { animation: fadeUp  .6s ease both; }
.anim-fade-in  { animation: fadeIn  .5s ease both; }
.anim-slide-in { animation: slideIn .5s ease both; }

/* Stagger delays */
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

/* ═══════════════════════════════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0e0e14;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  z-index: 90;
}
.scroll-top.visible { opacity: 1; transform: none; }
.scroll-top:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar { flex-direction: column; }
  .content-area, .widget-area { width: 100%; }
  .widget-area { position: static; }
}

@media (max-width: 768px) {
  :root { --gutter: 18px; }
  .hero { padding: 64px 0 48px; }
  .hero-stats { gap: 24px; }
  .main-navigation { display: none; }
  .main-navigation.active { display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; top: 70px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--border); padding: 16px var(--gutter); gap: 4px; z-index: 99; }
  .main-navigation.active ul { flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; }
  .menu-toggle { display: flex; }
  .post-navigation { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 32px 20px; }
  .section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .posts-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .header-cta { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   WORDPRESS SPECIFIC
═══════════════════════════════════════════════════════════════ */
.wp-caption { text-align: center; }
.wp-caption-text { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.alignwide  { margin-left: -40px; margin-right: -40px; }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; }

/* Gutenberg blocks */
.wp-block-separator { border-color: var(--border); }
.wp-block-quote { border-left-color: var(--gold); background: var(--card); padding: 16px 22px; border-radius: 0 var(--rs) var(--rs) 0; }
.wp-block-pullquote { border-top-color: var(--gold); border-bottom-color: var(--gold); }
.wp-block-code { background: var(--card); border: 1px solid var(--border); border-radius: var(--rs); }
.wp-block-button .wp-block-button__link { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #0e0e14; border-radius: var(--rs); }

/* Screen reader text */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--gold);
  color: #0e0e14;
  padding: 8px 16px;
  border-radius: 0 0 var(--rs) var(--rs);
  font-weight: 700;
  z-index: 9999;
}
.skip-link:focus { left: 16px; }

/* Selection */
::selection { background: rgba(245,200,66,.25); color: var(--text); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted2); }

/* ═══════════════════════════════════════════════════════════════
   ADSENSE SLOTS
═══════════════════════════════════════════════════════════════ */
.evalua-ad-wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px var(--gutter);
  text-align: center;
  overflow: hidden;
}

.evalua-ad-wrap ins,
.evalua-ad-wrap > * {
  display: block;
  margin: 0 auto;
}

/* Thin separator lines so the ad zone feels intentional */
.evalua-ad-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Customizer preview placeholder */
.evalua-ad-placeholder {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  border-top: 1px dashed var(--border2);
  border-bottom: 1px dashed var(--border2);
  text-align: center;
}
.evalua-ad-placeholder span {
  display: inline-block;
  background: rgba(245,200,66,.08);
  border: 1px dashed rgba(245,200,66,.35);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 12px 24px;
  border-radius: var(--rs);
}
