/* CSS ESPECÍFICO PARA RECETAS */

/* Estructura principal */
#contenedor .recipes-content {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

/* Hero Section */
#contenedor .recipes-hero-section {
    background: url('../img/index/bg-title-2.png') center center no-repeat;
    background-size: cover;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 0;
    position: relative;
}

#contenedor .recipes-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

#contenedor .recipes-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

#contenedor .recipes-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

#contenedor .recipes-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

#contenedor .recipes-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333 !important;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

#contenedor .recipes-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #c60969;
}

#contenedor .recipes-detail-title,
#contenedor .recipes-card-title,
#contenedor .recipes-block-title,
#contenedor .recipes-content-block h4,
#contenedor .recipes-ingredient-item,
#contenedor .recipes-preparation-step,
#contenedor .recipes-ingredients-preview,
#contenedor .recipes-meta-badge,
#contenedor .recipes-meta-item {
    color: #333 !important;
}


#contenedor .recipes-card-content * {
    color: #333 !important;
}


#contenedor .recipes-meta-badge {
    background: #f8f9fa;
    color: #333 !important;
}


#contenedor .recipes-main-section {
    color: #333;
}


#contenedor .recipes-ingredients-list,
#contenedor .recipes-preparation-steps {
    color: #333;
}

/* Main Container */
#contenedor .recipes-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Section */
#contenedor .recipes-main-section {
    padding: 40px 0 60px;
}

/* Section Title */
#contenedor .recipes-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

#contenedor .recipes-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #c60969;
}

/* Recipes Grid */
#contenedor .recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* Recipe Card */
#contenedor .recipes-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eee;
}

#contenedor .recipes-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(198, 9, 105, 0.15);
    border-color: #c60969;
}

#contenedor .recipes-card.active {
    border-color: #c60969;
    background-color: rgba(198, 9, 105, 0.02);
}

#contenedor .recipes-card-image {
    height: 180px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

#contenedor .recipes-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

#contenedor .recipes-card:hover .recipes-video-thumbnail {
    transform: scale(1.05);
}

#contenedor .recipes-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(198, 9, 105, 0.85);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#contenedor .recipes-card:hover .recipes-video-play-icon {
    opacity: 1;
}

#contenedor .recipes-card-content {
    padding: 20px;
}

#contenedor .recipes-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 45px;
}

#contenedor .recipes-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

#contenedor .recipes-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

#contenedor .recipes-ingredients-preview {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    font-style: italic;
}

/* Recipe Detail */
#contenedor .recipes-detail {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
    display: none;
}

#contenedor .recipes-detail.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#contenedor .recipes-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
}

#contenedor .recipes-detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

#contenedor .recipes-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

#contenedor .recipes-meta-badge {
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

/* Iconos */
#contenedor .recipes-icon {
    font-size: 18px;
}

#contenedor .recipes-icon-small {
    font-size: 16px;
}

/* Video Section */
#contenedor .recipes-video-section {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 30px 30px;
}

#contenedor .recipes-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

#contenedor .recipes-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Content Layout */
#contenedor .recipes-detail-content {
    padding: 0 30px 30px;
}

#contenedor .recipes-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    #contenedor .recipes-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

#contenedor .recipes-content-block {
    margin-bottom: 25px;
}

#contenedor .recipes-block-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#contenedor .recipes-ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#contenedor .recipes-ingredient-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#contenedor .recipes-ingredient-item:last-child {
    border-bottom: none;
}

#contenedor .recipes-ingredient-marker {
    width: 6px;
    height: 6px;
    background-color: #c60969;
    border-radius: 50%;
    flex-shrink: 0;
}

#contenedor .recipes-preparation-steps {
    list-style: none;
    counter-reset: step-counter;
    padding: 0;
    margin: 0;
}

#contenedor .recipes-preparation-step {
    counter-increment: step-counter;
    padding: 15px 0 15px 40px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

#contenedor .recipes-preparation-step:last-child {
    border-bottom: none;
}

#contenedor .recipes-step-number {
    position: absolute;
    left: 0;
    top: 15px;
    width: 26px;
    height: 26px;
    background-color: #c60969;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    #contenedor .recipes-hero-title {
        font-size: 2.2rem;
    }
    
    #contenedor .recipes-hero-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    #contenedor .recipes-detail-title {
        font-size: 1.5rem;
    }
    
    #contenedor .recipes-header,
    #contenedor .recipes-detail-content {
        padding: 20px;
    }
    
    #contenedor .recipes-video-section {
        margin: 15px;
    }
    
    #contenedor .recipes-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    #contenedor .recipes-card-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    #contenedor .recipes-grid {
        grid-template-columns: 1fr;
    }
    
    #contenedor .recipes-hero-title {
        font-size: 1.8rem;
    }
    
    #contenedor .recipes-section-title {
        font-size: 1.5rem;
    }
    
    #contenedor .recipes-detail-title {
        font-size: 1.3rem;
    }
    
    #contenedor .recipes-meta {
        flex-direction: column;
        gap: 10px;
    }
}