/*
Theme Name: Recetas de Cocina
Theme URI: https://example.com
Author: Cocina Pro
Author URI: https://example.com
Description: Tema profesional para recetas de cocina y recomendación de productos culinarios
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: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cocina-pro-theme
Tags: food, recipes, cooking, blog
*/
/* =========================================================
   Utilidades propias (NO Tailwind)
   ========================================================= */
/* Scroll suave */
html {
    scroll-behavior: smooth;
}
/* Ocultar scrollbar en menú móvil */
.no-scroll {
    overflow: hidden;
}
/* Transición base para enlaces */
a {
    transition: color 0.2s ease, opacity 0.2s ease;
}
/* Imagen de entrada en posts */
.entry-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Widget área */
.widget + .widget {
    margin-top: 2rem;
}
/* Prose content (single.php) */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
}
.entry-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}
.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}
/* Paginación */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}
/* Menú activo */
.nav-link.active,
.nav-link[aria-current="page"] {
    color: #dc2626;
}
/* Línea decorativa bajo sección título */
.section-title-line {
    display: block;
    width: 3.5rem;
    height: 3px;
    background: #dc2626;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* =========================================================
   HEADER GLASSMORPHISM
   Se activa con la clase .syr-glass que añade el JS
   ========================================================= */

/* =========================================================
   HEADER GLASSMORPHISM
   ========================================================= */

#site-header {
    background: #ffffff !important;
    transition: background 0.4s ease,
                backdrop-filter 0.4s ease,
                -webkit-backdrop-filter 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease !important;
}

#site-header.syr-glass {
    background: rgba(255, 255, 255, 0.78) !important;
    backdrop-filter: blur(16px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
    box-shadow: 0 2px 24px rgba(30, 10, 0, 0.06) !important;
    border-bottom-color: rgba(251, 146, 60, 0.15) !important;
}