/* =====================================================
   Rudnexx AI Auto-Blogger — Frontend Post Styles
   These CSS classes are injected into the content by
   the AI via the system prompt formatting rules.
   ===================================================== */

/* Key Takeaways Box */
.rudnexx-takeaways {
    background: linear-gradient(135deg, #fffbeb, #fff8e1);
    border: 2px solid #f59e0b;
    border-left: 6px solid #f59e0b;
    border-radius: 10px;
    padding: 20px 24px;
    margin: 28px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.rudnexx-takeaways strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rudnexx-takeaways ul {
    margin: 0;
    padding-left: 20px;
}

.rudnexx-takeaways ul li {
    color: #451a03;
    font-size: 14.5px;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* Pros & Cons Box */
.rudnexx-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 28px 0;
}

@media (max-width: 640px) {
    .rudnexx-pros-cons {
        grid-template-columns: 1fr;
    }
}

.rudnexx-pros-cons .pros,
.rudnexx-pros-cons .cons {
    padding: 18px 20px;
    border-radius: 10px;
}

.rudnexx-pros-cons .pros {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 5px solid #22c55e;
}

.rudnexx-pros-cons .cons {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-left: 5px solid #f43f5e;
}

.rudnexx-pros-cons strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.rudnexx-pros-cons .pros strong {
    color: #15803d;
}

.rudnexx-pros-cons .cons strong {
    color: #be123c;
}

.rudnexx-pros-cons ul {
    margin: 0;
    padding-left: 18px;
}

.rudnexx-pros-cons ul li {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 5px;
}

.rudnexx-pros-cons .pros ul li {
    color: #14532d;
}

.rudnexx-pros-cons .cons ul li {
    color: #881337;
}

/* Comparison Tables */
.entry-content table,
.post-content table,
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
}

.entry-content table thead th,
.post-content table thead th,
article table thead th {
    background: #6c63ff;
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.entry-content table tbody td,
.post-content table tbody td,
article table tbody td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #374151;
}

.entry-content table tbody tr:nth-child(even),
.post-content table tbody tr:nth-child(even),
article table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.entry-content table tbody tr:hover,
.post-content table tbody tr:hover,
article table tbody tr:hover {
    background: #f3f0ff;
}

/* =====================================================
   Phase 2: Auto-CTA & Product Boxes
   ===================================================== */
.rudnexx-cta {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.rudnexx-cta-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
}

.rudnexx-cta-title {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.rudnexx-cta-price {
    font-size: 24px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 20px;
}

.rudnexx-cta-button {
    background: #2563eb;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s;
}

.rudnexx-cta-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Contact Box for Business sites */
.rnx-contact-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.rnx-contact-box h3 {
    margin-top: 0;
    color: #0f172a;
}

.rnx-contact-btn {
    display: inline-block;
    margin-top: 15px;
    background: #0f172a;
    color: #fff !important;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none !important;
}