/* ============================================================
   WP Theme Tailwind — Custom CSS
   (Complementar ao Tailwind; classes específicas do design)
   ============================================================ */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Remove default list style */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Article image fill trick */
.img-fill {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover overlay on article cards */
.card-article:hover .card-image-overlay {
    opacity: 0.05;
}

/* Transição suave para a shadow do header no scroll */
#site-header {
    transition: box-shadow 0.2s ease;
}

/* Garante que o padding-top do body compense o header fixo */
body {
    padding-top: 4rem;
    /* 64px = h-16 do Tailwind */
}