{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* Variables globales */
:root {
    --emma-primary: #1d3557;
    --emma-light: #f1faee;
    --emma-accent: #e63946;
    --emma-orange: #f7a04f;
    --emma-text: #7f8c8d;
    --emma-text-dark: #2c3e50;
}

/* Mejoras generales para todos los bloques */
.wp-block-group {
    position: relative;
}

.wp-block-button__link {
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
}

/* Query Pagination mejorada */
.wp-block-query-pagination {
    margin-top: 40px;
}

.wp-block-query-pagination a,
.wp-block-query-pagination span {
    padding: 8px 14px;
    margin: 0 4px;
    background: #f1faee;
    color: #1d3557;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.wp-block-query-pagination a:hover {
    background: #f7a04f;
    color: white;
}

.wp-block-query-pagination .current {
    background: #1d3557;
    color: white;
}
        /* Variables personalizadas para tu tema */
.site-content {
    --emma-primary: #1D3557;
    --emma-light: #F1FAEE;
    --emma-accent: #E63946;
    --emma-orange: #F7A04F;
}

/* Animaciones suaves */
.emma-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.emma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Botones personalizados */
.emma-btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}
        
        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: var(--white);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* Header */
        header {
            background: var(--white);
            box-shadow: var(--shadow-sm);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-dark);
            font-family: 'Playfair Display', serif;
        }
        
        .nav-links {
            display: flex;
            gap: 35px;
            list-style: none;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--text-dark);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: var(--accent-orange);
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
            padding: 80px 0;
            overflow: hidden;
        }
        
        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }
        
        .hero-text h1 {
            font-size: 3.5rem;
            font-family: 'Playfair Display', serif;
            color: var(--primary-dark);
            margin-bottom: 20px;
            line-height: 1.2;
        }
        
        .hero-text p {
            font-size: 1.2rem;
            color: var(--text-light);
            margin-bottom: 30px;
        }
        
        .btn-group {
            display: flex;
            gap: 20px;
        }
        
        .btn {
            padding: 14px 32px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            display: inline-block;
        }
        
        .btn-primary {
            background: var(--accent-orange);
            color: white;
        }
        
        .btn-primary:hover {
            background: #e5934a;
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        
        .btn-secondary {
            background: white;
            color: var(--primary-dark);
            border: 2px solid var(--primary-dark);
        }
        
        .btn-secondary:hover {
            background: var(--primary-dark);
            color: white;
        }
        
        .hero-image {
            position: relative;
        }
        
        .hero-image img {
            width: 100%;
            border-radius: 20px;
            box-shadow: var(--shadow-lg);
        }
        
        .floating-badge {
            position: absolute;
            top: 30px;
            right: 30px;
            background: var(--accent-red);
            color: white;
            padding: 10px 20px;
            border-radius: 25px;
            font-weight: 600;
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        /* Responsive Hero */
@media (max-width: 768px) {
    .wp-block-heading {
        font-size: 2.5rem !important;
    }
    
    .wp-block-columns {
        flex-direction: column-reverse;
    }
    
    .wp-block-buttons {
        justify-content: center !important;
    }
}
        
        /* Section Titles */
        .section-title {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .section-title h2 {
            font-size: 2.5rem;
            font-family: 'Playfair Display', serif;
            color: var(--primary-dark);
            margin-bottom: 10px;
        }
        
        .section-title p {
            color: var(--text-light);
            font-size: 1.1rem;
        }
        
        /* Latest Recipes Section */
        .latest-recipes {
            padding: 80px 0;
            background: var(--primary-light);
        }
        
        .recipes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
        }
        
        .recipe-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: all 0.3s;
            cursor: pointer;
        }
        
        .recipe-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        
        .recipe-image {
            position: relative;
            height: 240px;
            overflow: hidden;
        }
        
        .recipe-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }
        
        .recipe-card:hover .recipe-image img {
            transform: scale(1.05);
        }
        
        .recipe-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--accent-orange);
            color: white;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        .recipe-time {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(255,255,255,0.95);
            padding: 6px 12px;
            border-radius: 15px;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .recipe-content {
            padding: 25px;
        }
        
        .recipe-content h3 {
            font-size: 1.4rem;
            font-family: 'Playfair Display', serif;
            color: var(--primary-dark);
            margin-bottom: 10px;
        }
        
        .recipe-content p {
            color: var(--text-light);
            margin-bottom: 15px;
            line-height: 1.5;
        }
        
        .recipe-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }
        
        .recipe-author {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .author-avatar {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: var(--primary-light);
        }
        
        .recipe-stats {
            display: flex;
            gap: 15px;
            color: var(--text-light);
            font-size: 0.9rem;
        }
        /* Recipe Cards */
.recipe-card {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.recipe-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.recipe-card .wp-block-post-featured-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recipe-card:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

.recipe-card .wp-block-post-title a {
    text-decoration: none;
    color: #1d3557;
    transition: color 0.3s ease;
}

.recipe-card .wp-block-post-title a:hover {
    color: #f7a04f;
}

/* Grid Responsive */
@media (max-width: 768px) {
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
        
        /* Blog Section */
        .latest-blogs {
            padding: 80px 0;
            background: white;
        }
        
        .blog-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
        }
        
        .featured-post {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }
        
        .featured-post-image {
            height: 400px;
            overflow: hidden;
        }
        
        .featured-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .featured-post-content {
            padding: 35px;
        }
        
        .post-tag {
            display: inline-block;
            background: var(--accent-red);
            color: white;
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.85rem;
            margin-bottom: 15px;
        }
        
        .featured-post h3 {
            font-size: 2rem;
            font-family: 'Playfair Display', serif;
            color: var(--primary-dark);
            margin-bottom: 15px;
        }
        
        .sidebar-posts {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        .sidebar-post {
            display: flex;
            gap: 20px;
            padding: 20px;
            background: var(--primary-light);
            border-radius: 12px;
            transition: all 0.3s;
        }
        
        .sidebar-post:hover {
            background: white;
            box-shadow: var(--shadow-sm);
        }
        
        .sidebar-post-image {
            width: 100px;
            height: 100px;
            border-radius: 10px;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .sidebar-post-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Blog Cards */
.blog-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.blog-card .wp-block-post-featured-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .wp-block-post-featured-image img {
    transform: scale(1.05);
}

.blog-card .wp-block-post-title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card .wp-block-post-title a:hover {
    color: #f7a04f !important;
}

.blog-card .wp-block-post-terms a {
    text-decoration: none;
    font-weight: 600;
}
        /* Newsletter CTA */
        .newsletter-section {
            padding: 60px 0;
            background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-red) 100%);
        }
        
        .newsletter-content {
            text-align: center;
            color: white;
        }
        
        .newsletter-content h2 {
            font-size: 2.5rem;
            font-family: 'Playfair Display', serif;
            margin-bottom: 15px;
        }
        
        .newsletter-content p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }
        
        .newsletter-form {
            display: flex;
            gap: 15px;
            max-width: 500px;
            margin: 0 auto;
        }
        
        .newsletter-form input {
            flex: 1;
            padding: 15px 25px;
            border: none;
            border-radius: 30px;
            font-size: 1rem;
        }
        
        .newsletter-form button {
            padding: 15px 35px;
            background: var(--primary-dark);
            color: white;
            border: none;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .newsletter-form button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }
        /* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.newsletter-form button {
    padding: 15px 35px;
    background: #1d3557;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Newsletter */
@media (max-width: 640px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}
        
        /* Categories Section */
        .categories-section {
            padding: 80px 0;
            background: white;
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 25px;
        }
        
        .category-card {
            background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
            padding: 30px;
            border-radius: 16px;
            text-align: center;
            transition: all 0.3s;
            cursor: pointer;
            border: 2px solid transparent;
        }
        
        .category-card:hover {
            border-color: var(--accent-orange);
            transform: translateY(-5px);
            box-shadow: var(--shadow-md);
        }
        
        .category-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        .category-card h3 {
            font-size: 1.2rem;
            color: var(--primary-dark);
            margin-bottom: 5px;
        }
        
        .category-count {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        /* Affiliate Cards */
.affiliate-card {
    background: #fff;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.affiliate-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    border-color: #f7a04f;
}

.affiliate-card img {
    transition: transform 0.3s ease;
}

.affiliate-card:hover img {
    transform: scale(1.1);
}
        
        /* Footer */
        footer {
            background: var(--primary-dark);
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-about h3 {
            font-size: 1.8rem;
            font-family: 'Playfair Display', serif;
            margin-bottom: 15px;
        }
        
        .footer-about p {
            opacity: 0.85;
            line-height: 1.8;
        }
        
        .footer-column h4 {
            margin-bottom: 20px;
            color: var(--accent-orange);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 12px;
        }
        
        .footer-column a {
            color: white;
            text-decoration: none;
            opacity: 0.85;
            transition: opacity 0.3s;
        }
        
        .footer-column a:hover {
            opacity: 1;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }
        
        .social-links a {
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }
        
        .social-links a:hover {
            background: var(--accent-orange);
            transform: translateY(-3px);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            opacity: 0.7;
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .hero-text h1 {
                font-size: 2.5rem;
            }
            
            .btn-group {
                justify-content: center;
            }
            
            .recipes-grid,
            .categories-grid {
                grid-template-columns: 1fr;
            }
            
            .blog-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .social-links {
                justify-content: center;
            }
        }

.emma-single-post {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 50px;
}

.emma-featured-image img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.entry-content p {
  margin-bottom: 1.2em;
}

.entry-title {
  margin-bottom: 15px;
}

.emma-single-receta {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 50px;
}

.emma-single-receta .featured-img {
  border-radius: 20px;
  max-width: 100%;
  height: auto;
}

.afiliados-receta img {
  transition: transform 0.3s ease;
}
.afiliados-receta img:hover {
  transform: scale(1.05);
}

.entry-title {
  margin-bottom: 10px;
}
