/* ClickWrite WP Bridge — Responsive Tables, Callouts, Pros/Cons & Product Boxes */
.cw-table-wrap {
    overflow-x: auto;
    margin: 22px 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.cw-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 !important;
    font-size: 0.95em;
}
.cw-table thead th {
    background: var(--cw-table-hd, #0f172a);
    color: #ffffff;
    text-align: left;
    padding: 12px 14px;
    font-weight: 700;
}
.cw-table tbody td {
    padding: 11px 14px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: top;
}
.cw-table tbody tr:nth-child(even) td {
    background: #f8fafc;
}

blockquote.cw-callout {
    margin: 22px 0;
    padding: 16px 20px;
    background: var(--cw-accent, #eef2ff);
    border-left: 4px solid var(--cw-primary, #4f46e5);
    border-radius: 0 10px 10px 0;
    color: #1e293b;
    font-style: normal;
}
blockquote.cw-callout p:last-child {
    margin-bottom: 0;
}

.cw-figure {
    margin: 22px 0;
}
.cw-figure img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* Future-ready Pros & Cons Box (v2 Money & Versus Articles) */
.cw-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 24px 0;
}
.cw-pros, .cw-cons {
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid #e2e8f0;
}
.cw-pros { background: #ecfdf5; border-color: #a7f3d0; }
.cw-cons { background: #fef2f2; border-color: #fecaca; }
.cw-pros h4 { color: #065f46; margin-top: 0; }
.cw-cons h4 { color: #991b1b; margin-top: 0; }

/* Future-ready Amazon Product Box */
.cw-product-box {
    display: flex;
    gap: 20px;
    padding: 20px;
    margin: 24px 0;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--cw-primary, #4f46e5);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    align-items: center;
}
.cw-product-cta {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--cw-cta, #ea580c);
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
}

@media (max-width: 720px) {
    .cw-pros-cons { grid-template-columns: 1fr; }
    .cw-product-box { flex-direction: column; text-align: center; }
}
