/*
Theme Name: Empreendedor Livre
Theme URI: https://empreendedorlivre.com
Author: Victor — Empreendedor Livre
Author URI: https://empreendedorlivre.com
Description: Tema escuro moderno com identidade visual Empreendedor Livre — roxo/violeta, tipografia bold, estilo IA e negócios digitais.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: empreendedor-livre
Tags: dark, modern, business, ai, digital
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --bg:        #0a0710;
  --bg2:       #0f0c1a;
  --bg3:       #130e22;
  --violet:    #7c3aed;
  --violet2:   #9d5cf6;
  --violet3:   #c084fc;
  --accent:    #e879f9;
  --gold:      #f59e0b;
  --white:     #f5f0ff;
  --muted:     #9885b8;
  --border:    rgba(124,58,237,0.25);
  --card:      rgba(15,12,26,0.95);
  --radius:    14px;
  --nav-h:     68px;
  --max-w:     1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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: 0.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet3); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--white); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--white);
}

p { color: var(--muted); line-height: 1.7; }

ul, ol { padding-left: 1.5em; }
li { color: var(--muted); line-height: 1.7; }

/* ============================================================
   LAYOUT
   ============================================================ */
.el-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
  position: relative;
  z-index: 1;
}

.site-content {
  padding-top: var(--nav-h);
  position: relative;
  z-index: 1;
}

/* Page with sidebar */
.content-area { flex: 1 1 0; min-width: 0; }
.widget-area   { width: 320px; flex-shrink: 0; }

.has-sidebar .page-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  background: rgba(10,7,16,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.site-branding { display: flex; align-items: center; gap: 10px; }
.site-branding a { display: flex; align-items: center; gap: 10px; color: var(--white); }
.site-branding a:hover { color: var(--white); }

.logo-badge {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--violet), var(--accent));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.site-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
}
.site-title a { color: inherit; }

/* Primary Nav */
.main-navigation { display: flex; align-items: center; gap: 8px; }

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

.main-navigation ul li a {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  display: block;
  white-space: nowrap;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--white);
  background: rgba(124,58,237,0.12);
}

/* Dropdown */
.main-navigation ul li { position: relative; }

/* Bridge invisível: cobre o gap entre o item pai e o dropdown */
.main-navigation ul li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  display: none;
}
.main-navigation ul li:hover::after { display: block; }

.main-navigation ul ul {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  z-index: 300;
  display: flex;
  pointer-events: none;
}
.main-navigation ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.main-navigation ul ul li a {
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 10px 14px;
  white-space: normal;
  line-height: 1.4;
  color: var(--muted);
}
.main-navigation ul ul li a:hover {
  color: var(--white);
  background: rgba(124,58,237,0.15);
}
/* Seta indicando dropdown no item pai */
.main-navigation ul li:has(> ul) > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.6;
}

/* Nav CTA button */
.nav-cta-btn {
  background: linear-gradient(135deg, var(--violet), var(--violet2)) !important;
  color: #fff !important;
  padding: 9px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 0 20px rgba(124,58,237,0.3);
  white-space: nowrap;
}
.nav-cta-btn:hover {
  opacity: 0.88 !important;
  background: linear-gradient(135deg, var(--violet), var(--violet2)) !important;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header-banner {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 56px 5% 48px;
  position: relative;
  overflow: hidden;
}
.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 50%, rgba(124,58,237,0.12), transparent 70%);
}
.page-header-banner .el-container { position: relative; z-index: 1; }

.page-header-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet3);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-header-tag::before { content: '✦'; }

.page-header-banner h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}
.page-header-banner h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header-banner p {
  font-size: 1rem;
  max-width: 600px;
  color: var(--muted);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.8rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--violet3); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.page-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* ============================================================
   TYPOGRAPHY — WordPress classes
   ============================================================ */
.entry-content h1 { font-size: clamp(1.8rem,3.5vw,2.6rem); margin-bottom: 20px; margin-top: 40px; }
.entry-content h2 { font-size: clamp(1.4rem,2.5vw,2rem);   margin-bottom: 16px; margin-top: 36px; }
.entry-content h3 { font-size: clamp(1.1rem,2vw,1.4rem);   margin-bottom: 12px; margin-top: 28px; }
.entry-content h4 { font-size: 1.1rem; margin-bottom: 10px; margin-top: 24px; }

.entry-content h2 em, .entry-content h3 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.entry-content p  { color: var(--muted); margin-bottom: 20px; font-size: 1rem; }
.entry-content ul,
.entry-content ol { margin-bottom: 20px; }
.entry-content li { color: var(--muted); margin-bottom: 6px; }
.entry-content a  { color: var(--violet3); }
.entry-content a:hover { color: var(--white); text-decoration: underline; }

.entry-content blockquote {
  border-left: 3px solid var(--violet);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(124,58,237,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.entry-content blockquote p { color: var(--white); font-style: italic; margin: 0; }

.entry-content pre,
.entry-content code {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: var(--violet3);
}
.entry-content pre { padding: 20px; overflow-x: auto; margin-bottom: 20px; }
.entry-content code { padding: 2px 8px; }

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

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.9rem;
}
.entry-content th {
  background: rgba(124,58,237,0.15);
  color: var(--white);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}
.entry-content td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.entry-content tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

/* ============================================================
   BUTTONS — global
   ============================================================ */
.btn, .wp-block-button__link, button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}

.btn-primary, .wp-block-button .wp-block-button__link {
  background: linear-gradient(135deg, var(--violet), var(--violet2));
  color: #fff !important;
  box-shadow: 0 0 28px rgba(124,58,237,0.35);
}
.btn-primary:hover, .wp-block-button .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(124,58,237,0.55);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(124,58,237,0.1);
  border-color: var(--violet);
  color: var(--white);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--violet2));
  color: #fff;
  box-shadow: 0 0 28px rgba(232,121,249,0.3);
}
.btn-accent:hover { transform: translateY(-2px); opacity: 0.9; color: #fff; }

/* ============================================================
   CARDS — generic
   ============================================================ */
.el-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.el-card:hover {
  border-color: rgba(124,58,237,0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.el-card-body { padding: 28px; }

/* ============================================================
   SECTION LABELS
   ============================================================ */
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet3);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ============================================================
   BLOG — POST CARDS
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.post-card:hover { border-color: rgba(124,58,237,0.5); transform: translateY(-4px); }

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

.post-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(232,121,249,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
}

.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(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: 50px;
  padding: 3px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet3);
  text-decoration: none;
}
.post-cat:hover { background: rgba(124,58,237,0.25); color: var(--white); }
.post-date { font-size: 0.78rem; color: var(--muted); }

.post-card-body h2, .post-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.post-card-body h2 a, .post-card-body h3 a { color: var(--white); text-decoration: none; }
.post-card-body h2 a:hover, .post-card-body h3 a:hover { color: var(--violet3); }

.post-card-body p { font-size: 0.875rem; color: var(--muted); flex: 1; margin-bottom: 20px; }

.post-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet3);
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.post-read-more:hover { gap: 10px; color: var(--accent); }

/* Single post */
.single-post-content { max-width: 760px; }
.single-post-header { margin-bottom: 48px; }
.single-post-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.post-meta-bar span { font-size: 0.85rem; color: var(--muted); }
.post-meta-bar .author { color: var(--violet3); font-weight: 600; }

.post-featured-image { border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.post-featured-image img { width: 100%; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}
.page-numbers {
  display: flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s;
}
.page-numbers:hover, .page-numbers.current {
  background: rgba(124,58,237,0.2);
  border-color: var(--violet);
  color: var(--white);
}

/* ============================================================
   SIDEBAR / WIDGETS
   ============================================================ */
.widget-area { position: sticky; top: calc(var(--nav-h) + 24px); }

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

.widget-title {
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.widget ul { list-style: none; padding: 0; }
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
}
.widget ul li:last-child { border: none; }
.widget ul li a { color: var(--muted); font-size: 0.875rem; }
.widget ul li a:hover { color: var(--violet3); }

/* Search widget */
.widget .search-form {
  display: flex;
  gap: 8px;
}
.widget .search-field {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.widget .search-field:focus { border-color: var(--violet); }
.widget .search-field::placeholder { color: var(--muted); }
.widget .search-submit {
  background: var(--violet);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
  transition: opacity 0.2s;
}
.widget .search-submit:hover { opacity: 0.85; }

/* CTA widget */
.widget-cta {
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(232,121,249,0.08));
  border-color: rgba(124,58,237,0.4);
}
.widget-cta h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.widget-cta p { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.widget-cta .btn { width: 100%; justify-content: center; font-size: 0.875rem; padding: 12px; }

/* ============================================================
   FORMS — Contact, Comments
   ============================================================ */
.el-form { display: flex; flex-direction: column; gap: 20px; }

.el-form-group { display: flex; flex-direction: column; gap: 8px; }
.el-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
}

.el-input, .el-textarea, .el-select,
input[type="text"], input[type="email"], input[type="url"],
input[type="search"], textarea, select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
input::placeholder, textarea::placeholder { color: var(--muted); }
textarea { min-height: 140px; resize: vertical; }
select option { background: var(--bg3); }

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area { margin-top: 64px; }
.comments-title { font-size: 1.4rem; margin-bottom: 32px; }

.comment-list { list-style: none; padding: 0; }
.comment {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
}
.comment-author { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { border-radius: 50%; border: 2px solid var(--border); }
.comment-meta { font-size: 0.8rem; color: var(--muted); }
.comment-content p { font-size: 0.9rem; }
.reply a {
  font-size: 0.8rem;
  color: var(--violet3);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.comment-respond { margin-top: 40px; }
.comment-reply-title { font-size: 1.2rem; margin-bottom: 24px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.footer-top {
  padding: 64px 5% 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .site-branding { margin-bottom: 16px; }
.footer-brand p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }

.footer-socials { display: flex; gap: 10px; }
.footer-social-link {
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s;
}
.footer-social-link:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--violet);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-menu { list-style: none; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
}
.footer-menu a:hover { color: var(--violet3); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 5%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: var(--muted); }
.footer-bottom a { color: var(--violet3); }
.footer-bottom a:hover { color: var(--white); }

/* ============================================================
   GUTENBERG / BLOCK EDITOR OVERRIDES
   ============================================================ */
.wp-block-image img { border-radius: var(--radius); }
.wp-block-separator { border-color: var(--border); }
.wp-block-pullquote {
  border: none;
  border-left: 3px solid var(--violet);
  padding: 20px 28px;
  background: rgba(124,58,237,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.wp-block-pullquote blockquote { border: none; }
.wp-block-pullquote p { font-style: italic; color: var(--white); font-size: 1.1rem; }

.wp-block-cover {
  border-radius: var(--radius);
  overflow: hidden;
}

/* Columns */
.wp-block-columns { gap: 32px; }
.wp-block-column {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(120deg, var(--violet2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.35);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet3);
}
.badge-gold { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: var(--gold); }
.badge-green { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #86efac; }

.glow-box {
  box-shadow: 0 0 40px rgba(124,58,237,0.2);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(0.85); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.animate-fadeup { animation: fadeUp 0.8s ease both; }
.anim-delay-1   { animation-delay: 0.1s; }
.anim-delay-2   { animation-delay: 0.2s; }
.anim-delay-3   { animation-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .has-sidebar .page-inner { flex-direction: column; }
  .widget-area { width: 100%; position: static; }
}

@media (max-width: 768px) {
  .main-navigation ul { display: none; flex-direction: column; }
  .main-navigation ul.toggled {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--bg3);
    border-bottom: 1px solid var(--border);
    padding: 16px 5%;
  }
  .main-navigation ul.toggled li a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
  .main-navigation ul ul { position: static; box-shadow: none; background: transparent; border: none; padding-left: 16px; }
  .menu-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
}
