/* Main CSS - Raiz Mexico */
/* Additional styles beyond style.css */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: var(--color-dorado-viejo);
    color: var(--color-negro);
}

/* Focus styles */
a:focus, button:focus {
    outline: 2px solid var(--color-dorado);
    outline-offset: 2px;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-card {
    animation: fadeInUp 0.6s ease forwards;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }

/* Hover effects for links */
.card-title a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--color-dorado);
    transition: width 0.3s;
}

.card-title a:hover::after {
    width: 100%;
}

/* Sticky header shadow */
.site-header {
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Custom scrollbar for webkit */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-negro);
}
::-webkit-scrollbar-thumb {
    background: var(--color-dorado-viejo);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-dorado);
}

/* Print styles */
@media print {
    .site-header, .site-footer, .site-sidebar, .ad-space {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
    .entry-content {
        max-width: 100%;
    }
}
