/* Enhanced Blog & Pillar Content Styles */

/* Article Introduction */
.article-intro {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.article-intro .lead {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
}

/* Table of Contents */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.table-of-contents h3 {
    margin-top: 0;
    color: #495057;
    font-size: 1.1rem;
}

.table-of-contents ol {
    margin: 1rem 0 0;
    padding-right: 1.5rem;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s;
}

.table-of-contents a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.faq-section h3 {
    color: #495057;
    margin-bottom: 1.5rem;
}

.faq-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: #007bff;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    margin: 0;
    color: #6c757d;
    line-height: 1.5;
}

/* Tips and Alerts */
.tip, .security-tip, .coupon-note, .israel-tip, .calendar-tip, .expert-tip, .parent-tip, .category-tip {
    background: #e8f4fd;
    border-right: 4px solid #007bff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.warning-signs {
    background: #fff3cd;
    border-right: 4px solid #ffc107;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.deals-alert {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 6px;
    text-align: center;
    color: #155724;
}

.alert-icon {
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

/* Product Grids */
.top-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-recommendation {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-recommendation:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-recommendation.featured {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.product-badge {
    display: inline-block;
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.product-recommendation img {
    max-width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.product-recommendation h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    color: #495057;
}

.rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.price-info {
    margin: 0.5rem 0;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #6c757d;
    margin-left: 0.5rem;
}

.current-price {
    color: #28a745;
    font-size: 1.2rem;
}

.discount {
    background: #dc3545;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.highlight {
    background: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.btn, .btn-review, .btn-buy {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.2s;
}

.btn-review {
    background: #6c757d;
    color: white;
}

.btn-review:hover {
    background: #545b62;
    color: white;
}

.btn-buy {
    background: #ff6b35;
    color: white;
}

.btn-buy:hover {
    background: #e55a2b;
    color: white;
}

/* Coupon Display */
.live-coupons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.coupon-item {
    background: white;
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s;
}

.coupon-item:hover {
    transform: scale(1.02);
}

.coupon-item.hot {
    border-color: #dc3545;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
}

.coupon-code {
    font-size: 1.3rem;
    font-weight: bold;
    color: #007bff;
    margin: 0.5rem 0;
    font-family: monospace;
}

.coupon-desc {
    color: #495057;
    margin: 0.5rem 0;
}

.coupon-expire {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.coupon-btn {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.coupon-btn:hover {
    background: #0056b3;
    color: white;
}

/* Category Sections */
.category-products, .coupon-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.product-category, .coupon-type {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.product-category h3, .coupon-type h3 {
    color: #495057;
    margin-top: 0;
}

/* Tables */
.seller-metrics, table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.seller-metrics th, table th,
.seller-metrics td, table td {
    padding: 0.75rem;
    text-align: right;
    border-bottom: 1px solid #e9ecef;
}

.seller-metrics th, table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #495057;
}

.seller-metrics tr:hover, table tr:hover {
    background: #f8f9fa;
}

/* Final Tips and Checklists */
.final-tips, .final-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.tip-item, .checklist-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tip-icon {
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .article-intro {
        padding: 1.5rem 1rem;
    }
    
    .table-of-contents {
        padding: 1rem;
    }
    
    .top-products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .live-coupons {
        grid-template-columns: 1fr;
    }
    
    .category-products, .coupon-types-grid {
        grid-template-columns: 1fr;
    }
    
    .final-tips, .final-checklist {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
}

/* Special Content Boxes */
.filter-tips, .payment-methods, .stacking-strategies, .israel-deals, .mistakes-grid, .advanced-strategies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.filter-item, .payment-option, .strategy, .deal-type, .mistake, .strategy-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
}

.filter-item h4, .payment-option h4, .strategy h4, .deal-type h3, .mistake h3, .strategy-card h3 {
    margin-top: 0;
    color: #495057;
}

.payment-option.recommended {
    border-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}
