/*
Theme Name: DAK Agency Blog
Description: Professional WordPress theme matching DAK Agency brand - Black background with purple accents, modern typography
Author: DAK Agency
Version: 1.0
Text Domain: dak-agency-blog
*/

/* DAK Agency Brand Variables */
:root {
    --primary: #870bd1;
    --primary-light: #a855f7;
    --primary-dark: #6a0ba1;
    --background: #000000;
    --card-background: #111111;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-faint: rgba(255, 255, 255, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --purple-glow: rgba(135, 11, 209, 0.15);
    
    /* Typography - Matching DAK Agency */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Spacing */
    --container-max: 1200px;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

body {
    background: var(--background) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-primary) !important;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.005em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 0 0 var(--space-md) 0;
}

h1 { font-size: 2.5rem; font-weight: 900; }
h2 { font-size: 2rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin: 0 0 var(--space-md) 0;
    color: var(--text-secondary);
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* Header Navigation (Exact copy from main DAK Agency site) */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    padding-top: 0.5rem;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 1.5rem;
    padding: 0 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.logo-container {
    position: relative;
    transition: opacity 0.4s ease;
}

.logo-icon {
    text-decoration: none;
    display: block;
}

.logo-container-svg {
    width: 42px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dak-logo {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.logo-container-svg:hover .dak-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(135, 11, 209, 0.4));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* WordPress menu integration - Removed duplicate styles, using .nav-link class */

/* CTA Button - Clean version */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    height: 3.5rem;
    padding: 0 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    border-radius: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--purple-glow);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: var(--space-xl) 0;
}

/* Breadcrumb Navigation */
.breadcrumb-container {
    margin-bottom: var(--space-xl);
    padding: var(--space-md) 0;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 0.5rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-item:hover {
    color: var(--primary-light);
    background: var(--purple-glow);
}

.breadcrumb-item.active {
    color: var(--primary-light);
    background: var(--purple-glow);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-weight: 300;
}

@media (max-width: 768px) {
    .breadcrumb-content {
        font-size: 0.8rem;
        gap: 0.25rem;
    }
    
    .breadcrumb-item {
        padding: 0.2rem 0.4rem;
    }
}

/* Blog Posts */
.post-card {
    background: var(--card-background);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: all 0.3s ease;
}

.post-card:hover {
    border-color: var(--border-medium);
    box-shadow: 0 10px 40px rgba(135, 11, 209, 0.1);
}

.post-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.post-title a:hover {
    color: var(--primary-light);
}

.post-meta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.post-content h2,
.post-content h3 {
    color: var(--text-primary);
    margin-top: var(--space-xl);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: var(--space-lg) 0;
}

.post-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: var(--space-md);
    margin: var(--space-lg) 0;
    font-style: italic;
    color: var(--text-muted);
}

.post-content code {
    font-family: var(--font-mono);
    background: var(--card-background);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: var(--primary-light);
}

/* Footer */
.site-footer {
    background: var(--card-background);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-xl) 0;
    margin-top: var(--space-2xl);
    text-align: center;
}

.footer-content {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .main-nav ul {
        gap: var(--space-md);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .post-card {
        padding: var(--space-lg);
    }
    
    .container {
        padding: 0 var(--space-sm);
    }
}

/* WordPress Admin Bar Compatibility */
.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* WordPress Default Overrides */
.wp-block-group {
    margin: 0;
}

.wp-block-post-title {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

.wp-block-post-excerpt {
    color: var(--text-secondary);
}

/* ========================================
   HERO BLOG SECTION - ESTILO DAK AGENCY
   ======================================== */

.hero-blog-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent; /* Transparent background */
    padding: 40px 0;
}

.hero-blog-container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 2;
}

.hero-blog-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    min-height: 70vh;
}

.hero-blog-text {
    max-width: 600px;
}

.hero-blog-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.03em;
}

.title-primary {
    color: var(--text-primary);
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    position: relative;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

.hero-blog-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-weight: 400;
}

/* Hero Search Integration */
.hero-search-container {
    margin-top: var(--space-xl);
}

.search-wrapper {
    position: relative;
    max-width: 400px;
}

.search-wrapper .search-form,
.search-wrapper form {
    display: flex;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid var(--border-medium);
    border-radius: 50px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-wrapper .search-form:hover,
.search-wrapper .search-form:focus-within,
.search-wrapper form:hover,
.search-wrapper form:focus-within {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(135, 11, 209, 0.3);
}

.search-wrapper input[type="search"] {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    border-radius: 50px 0 0 50px;
}

.search-wrapper input[type="search"]::placeholder {
    color: var(--text-muted);
}

.search-wrapper button,
.search-wrapper input[type="submit"] {
    padding: 1rem;
    background: var(--primary);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    font-size: 1rem;
    border-radius: 0 50px 50px 0;
}

.search-wrapper button i {
    width: 18px;
    height: 18px;
}

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

.search-wrapper button:hover,
.search-wrapper input[type="submit"]:hover {
    background: var(--primary-light);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(135, 11, 209, 0.4);
}

/* ========================================
   HERO CONSTELLATION VISUAL
   ======================================== */

.hero-blog-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero-constellation-advanced {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
}

.constellation-space-modern {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(135, 11, 209, 0.1) 0%, 
        rgba(135, 11, 209, 0.05) 30%, 
        transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hub Central */
.constellation-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hub-core {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(135, 11, 209, 0.5),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
    animation: hub-float 3s ease-in-out infinite alternate;
}

.hub-icon {
    font-size: 2rem;
    color: white;
}

.hub-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    opacity: 0.6;
    animation: hub-pulse 2s ease-in-out infinite;
}

.hub-label-icon {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

/* Blog Icon SVG Styles */
.blog-icon {
    width: 28px;
    height: 28px;
    color: var(--primary-light);
    filter: drop-shadow(0 0 8px rgba(135, 11, 209, 0.5));
    transition: all 0.3s ease;
}

.hub-label-icon:hover .blog-icon {
    color: var(--primary);
    filter: drop-shadow(0 0 12px rgba(135, 11, 209, 0.8));
    transform: scale(1.1);
}

/* Nodos Orbitales */
.orbital-categories {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orbital-node {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    animation: orbital-rotation 20s linear infinite;
    text-decoration: none;
}

.orbital-node.orbit-inner {
    transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-150px) rotate(calc(-1 * var(--orbit-angle)));
}

.orbital-node.orbit-outer {
    transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-200px) rotate(calc(-1 * var(--orbit-angle)));
    animation-duration: 30s;
}

.node-icon {
    width: 100%;
    height: 100%;
    background: rgba(17, 17, 17, 0.9);
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.node-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.orbital-node:hover .node-icon {
    border-color: var(--primary-light);
    box-shadow: 0 0 20px rgba(135, 11, 209, 0.4);
    transform: scale(1.1);
}

.orbital-node:hover .node-icon::before {
    opacity: 0.1;
}

.orbital-node:hover .node-icon i {
    color: var(--primary-light);
    z-index: 1;
    position: relative;
}

.node-label {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.node-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--background);
}

.orbital-node:hover .node-label {
    opacity: 1;
}

/* Conexiones Dinámicas */
.dynamic-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Partículas de Fondo */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 4s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 80%; left: 30%; animation-delay: 1s; }
.particle-3 { top: 60%; right: 20%; animation-delay: 2s; }
.particle-4 { top: 30%; right: 30%; animation-delay: 3s; }
.particle-5 { top: 70%; left: 70%; animation-delay: 1.5s; }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    animation: scroll-bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 50px;
}

.scroll-indicator:hover {
    color: var(--primary);
    background: rgba(135, 11, 209, 0.1);
    transform: translateX(-50%) translateY(-5px);
}

.scroll-arrow {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: all 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    color: var(--primary);
    transform: scale(1.2);
}

.scroll-text {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ========================================
   ANIMACIONES HERO
   ======================================== */

@keyframes glow-pulse {
    0% { box-shadow: 0 0 5px var(--primary); }
    100% { box-shadow: 0 0 20px var(--primary), 0 0 30px var(--primary-light); }
}

@keyframes hub-float {
    0% { transform: translate(-50%, -50%) translateY(0px); }
    100% { transform: translate(-50%, -50%) translateY(-10px); }
}

@keyframes hub-pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1.4); opacity: 0; }
}

@keyframes orbital-rotation {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateY(var(--orbit-radius, -150px)) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateY(var(--orbit-radius, -150px)) rotate(-360deg); }
}

@keyframes particle-float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ========================================
   HERO RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .hero-blog-section {
        min-height: 100vh;
        padding: 80px 0 30px 0;
    }
    
    .hero-blog-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        text-align: center;
    }
    
    .hero-blog-text {
        order: 1;
        max-width: 100%;
    }
    
    .hero-blog-visual {
        order: 2;
        min-height: 400px;
    }
    
    .hero-constellation-advanced {
        max-width: 400px;
        height: 400px;
    }
    
    .orbital-node.orbit-inner {
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-120px) rotate(calc(-1 * var(--orbit-angle)));
    }
    
    .orbital-node.orbit-outer {
        transform: translate(-50%, -50%) rotate(var(--orbit-angle)) translateY(-160px) rotate(calc(-1 * var(--orbit-angle)));
    }
    
    .orbital-node {
        width: 50px;
        height: 50px;
    }
    
    .node-icon {
        font-size: 1.2rem;
    }
    
    .hub-core {
        width: 60px;
        height: 60px;
    }
    
    .hub-icon {
        font-size: 1.5rem;
    }
    
    .search-wrapper {
        max-width: 100%;
    }
    
    .hero-blog-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-blog-subtitle {
        font-size: 1.1rem;
    }
}

/* ========================================
   CATEGORIES MODERN SECTION
   ======================================== */

.categories-modern-section {
    padding: var(--space-xl) 0; /* Reduced padding for minimalism */
    background: transparent; /* Transparent background */
    position: relative;
}

.categories-modern-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.categories-modern-header {
    text-align: center;
    margin-bottom: var(--space-lg); /* Reduced margin */
}

.categories-modern-title {
    font-family: var(--font-display);
    font-size: 1.8rem; /* Smaller, more minimal */
    font-weight: 600; /* Less bold */
    color: var(--text-primary);
    margin-bottom: var(--space-sm); /* Reduced margin */
}

.title-line {
    display: none; /* Remove decorative lines for minimalism */
}

.categories-modern-subtitle {
    font-size: 1rem; /* Smaller subtitle */
    color: var(--text-muted); /* More subtle */
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}

.categories-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Smaller cards */
    gap: var(--space-md); /* Reduced gap */
    margin-top: var(--space-lg); /* Reduced margin */
}

.category-modern-card {
    position: relative;
    background: transparent; /* Transparent background */
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem; /* Slightly smaller radius */
    padding: var(--space-md); /* Reduced padding */
    text-decoration: none;
    transition: all 0.3s ease; /* Simpler transition */
    display: flex;
    align-items: center;
    gap: var(--space-sm); /* Reduced gap */
    min-height: 70px; /* Smaller height */
}

.category-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(135, 11, 209, 0.05) 0%, 
        rgba(168, 85, 247, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.category-modern-card:hover::before {
    opacity: 1;
}

.category-modern-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(135, 11, 209, 0.2);
}

.category-modern-card.active {
    border-color: var(--primary);
    background: rgba(135, 11, 209, 0.1);
}

.category-modern-card.active::before {
    opacity: 1;
}

.card-icon {
    width: 40px; /* Smaller icon */
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem; /* Smaller icon size */
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.category-modern-card:hover .card-icon {
    transform: scale(1.05); /* Subtle scale only */
    box-shadow: 0 4px 12px rgba(135, 11, 209, 0.3); /* Softer shadow */
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1rem; /* Smaller title */
    font-weight: 600; /* Less bold */
    color: var(--text-primary);
    margin: 0 0 0.25rem 0; /* Reduced margin */
    transition: color 0.3s ease;
}

.category-modern-card:hover .card-title {
    color: var(--primary-light);
}

.card-count {
    font-size: 0.8rem; /* Smaller count */
    color: var(--text-muted);
    margin: 0;
    font-weight: 400; /* Lighter weight */
}

.card-arrow {
    position: absolute;
    top: 50%;
    right: var(--space-md);
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    opacity: 0;
}

.category-modern-card:hover .card-arrow {
    opacity: 1;
    transform: translateY(-50%) translateX(5px);
    color: var(--primary-light);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(135, 11, 209, 0.1) 0%, 
        rgba(168, 85, 247, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-modern-card:hover .card-background {
    opacity: 1;
}

/* Categories Responsive - Minimal */
@media (max-width: 768px) {
    .categories-modern-section {
        padding: var(--space-lg) 0; /* Even more compact on mobile */
    }
    
    .categories-modern-title {
        font-size: 1.5rem; /* Smaller on mobile */
    }
    
    .categories-modern-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: var(--space-sm); /* Tighter gap */
    }
    
    .category-modern-card {
        padding: var(--space-sm); /* More compact */
        min-height: 60px; /* Even smaller */
    }
    
    .card-icon {
        width: 35px; /* Smaller icon on mobile */
        height: 35px;
        font-size: 0.9rem;
    }
    
    .card-title {
        font-size: 0.9rem; /* Smaller text */
    }
    
    .card-count {
        font-size: 0.75rem; /* Smaller count */
    }
}

/* Old search section styles removed - using hero integrated search */

/* Old constellation section styles removed - using hero integrated constellation */

/* Old blog constellation styles removed - using hero constellation */

/* Partículas */
.constellation-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 50%;
}

/* Animaciones */
@keyframes pulse-center {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes float-particle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .search-constellation-section {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .blog-constellation {
        width: 300px;
        height: 300px;
    }
    
    .constellation-star {
        transform: translate(-50%, -50%) rotate(var(--star-angle)) translateY(-100px) rotate(calc(-1 * var(--star-angle)));
    }
}

@media (max-width: 768px) {
    .search-constellation-section {
        padding: var(--space-lg);
    }
    
    .blog-constellation {
        width: 250px;
        height: 250px;
    }
    
    .constellation-star {
        width: 60px;
        height: 60px;
        transform: translate(-50%, -50%) rotate(var(--star-angle)) translateY(-80px) rotate(calc(-1 * var(--star-angle)));
    }
    
    .star-icon {
        width: 32px;
        height: 32px;
    }
    
    .star-icon i {
        width: 14px;
        height: 14px;
    }
    
    .star-label {
        font-size: 0.625rem;
        max-width: 60px;
    }
    
    .center-icon {
        width: 50px;
        height: 50px;
    }
    
    .center-icon i {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   CATEGORIES FILTER SECTION
   ======================================== */

.categories-filter-section {
    margin: var(--space-2xl) 0;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.categories-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.categories-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.categories-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.category-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 2rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.category-filter-btn:hover {
    background: rgba(135, 11, 209, 0.1);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 20px rgba(135, 11, 209, 0.3);
}

.category-filter-btn i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.category-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 1.5rem;
    text-align: center;
}

.category-filter-btn.active .category-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Default Featured Image Styles */
.default-featured-image {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.post-card:hover .default-featured-image {
    opacity: 1;
}

/* Loading Skeleton Styles */
.skeleton-loading {
    display: none;
    padding: var(--space-xl);
}

.skeleton-loading.active {
    display: block;
}

.skeleton-post {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 0.5rem;
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.skeleton-thumbnail {
    width: 100%;
    height: 250px;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.5rem;
    margin-bottom: var(--space-md);
}

.skeleton-title {
    width: 80%;
    height: 1.5rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.25rem;
    margin-bottom: var(--space-sm);
}

.skeleton-meta {
    width: 60%;
    height: 1rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.25rem;
    margin-bottom: var(--space-sm);
}

.skeleton-excerpt {
    width: 100%;
    height: 3rem;
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0.25rem;
}

@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .categories-filter {
        justify-content: flex-start;
    }
    
    .category-filter-btn {
        font-size: 0.8rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .categories-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   🟢 WHATSAPP FLOATING BUTTON - WORDPRESS
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999999; /* Alto z-index para WordPress */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.4),
        0 0 0 0 rgba(37, 211, 102, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 25px rgba(37, 211, 102, 0.6),
        0 0 0 10px rgba(37, 211, 102, 0.1);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-svg {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover .whatsapp-svg {
    transform: scale(1.1);
}

/* Pulso animado */
.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.7);
    animation: whatsapp-pulse-ring 1.5s ease-out infinite;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* Animaciones */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes whatsapp-pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móvil */
    }
}

/* Responsive - Mobile pequeño */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-svg {
        width: 24px;
        height: 24px;
    }
}