/**
 * Featured Recipe Block Styles
 * Блок "Рекомендуємо спробувати"
 */

/* ============================================
   SECTION: Featured Recipe
   ============================================ */

.gotuimo-featured-recipe {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Container */
.gotuimo-featured-recipe .gotuimo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */

.gotuimo-featured-header {
    text-align: center;
    margin-bottom: 40px;
}

.gotuimo-featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.gotuimo-featured-badge svg {
    width: 20px;
    height: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.gotuimo-featured-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* ============================================
   CARD LAYOUT
   ============================================ */

.gotuimo-featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gotuimo-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* ============================================
   IMAGE SECTION
   ============================================ */

.gotuimo-featured-image-wrapper {
    position: relative;
    overflow: hidden;
}

.gotuimo-featured-image-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.gotuimo-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gotuimo-featured-card:hover .gotuimo-featured-image {
    transform: scale(1.05);
}

.gotuimo-featured-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #adb5bd;
}

/* New Badge */
.gotuimo-featured-new-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 16px;
    background: #28a745;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

/* ============================================
   CONTENT SECTION
   ============================================ */

.gotuimo-featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Category */
.gotuimo-featured-category {
    display: inline-block;
    padding: 6px 16px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

/* Title */
.gotuimo-featured-recipe-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 16px;
}

.gotuimo-featured-recipe-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gotuimo-featured-recipe-title a:hover {
    color: #ff6b6b;
}

/* Excerpt */
.gotuimo-featured-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0 0 24px;
}

/* ============================================
   META INFO
   ============================================ */

.gotuimo-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e9ecef;
}

.gotuimo-featured-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

.gotuimo-featured-meta-item svg {
    width: 18px;
    height: 18px;
    color: #ff6b6b;
}

/* ============================================
   FOOTER (Author & Stats)
   ============================================ */

.gotuimo-featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* Author */
.gotuimo-featured-author-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.gotuimo-featured-author-link:hover {
    opacity: 0.8;
}

.gotuimo-featured-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9ecef;
}

.gotuimo-featured-author-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
}

/* Stats */
.gotuimo-featured-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.gotuimo-featured-views svg {
    width: 16px;
    height: 16px;
    color: #adb5bd;
}

/* ============================================
   CTA BUTTON
   ============================================ */

.gotuimo-featured-cta {
    margin-top: auto;
}

.gotuimo-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    /* ✅ Єдиний стиль: біла кнопка → червона при hover */
    background: #ffffff;
    color: #ef4444;
    border: 2px solid #ef4444;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.gotuimo-featured-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-2px) translateX(5px);
    box-shadow: 0 6px 25px rgba(239, 68, 68, 0.4);
}

.gotuimo-featured-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.gotuimo-featured-btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.gotuimo-featured-empty {
    padding: 40px 0;
}

.gotuimo-empty-text {
    text-align: center;
    font-size: 16px;
    color: #6c757d;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .gotuimo-featured-card {
        gap: 30px;
    }
    
    .gotuimo-featured-content {
        padding: 30px;
    }
    
    .gotuimo-featured-recipe-title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .gotuimo-featured-recipe {
        padding: 40px 0;
    }
    
    .gotuimo-featured-title {
        font-size: 28px;
    }
    
    .gotuimo-featured-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .gotuimo-featured-image-link {
        min-height: 300px;
    }
    
    .gotuimo-featured-content {
        padding: 24px;
    }
    
    .gotuimo-featured-recipe-title {
        font-size: 24px;
    }
    
    .gotuimo-featured-excerpt {
        font-size: 15px;
    }
    
    .gotuimo-featured-meta {
        gap: 16px;
    }
    
    .gotuimo-featured-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .gotuimo-featured-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .gotuimo-featured-title {
        font-size: 24px;
    }
    
    .gotuimo-featured-recipe-title {
        font-size: 20px;
    }
    
    .gotuimo-featured-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
    
    .gotuimo-featured-meta {
        flex-direction: column;
        gap: 12px;
    }
}

