/* Start custom CSS */@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============================================
   CoverSure editorial blog styling — post 1375
   ============================================ */

/* ---- Body typography (editorial reading style) ---- */
body .elementor-widget-theme-post-content,
body .elementor-widget-theme-post-content p {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.75;
    color: #1a1a1a;
}
body .elementor-widget-theme-post-content p {
    margin-bottom: 26px;
}
body .elementor-widget-theme-post-content h2 {
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 14px;
}
body .elementor-widget-theme-post-content h3 {
    font-family: Georgia, serif;
    font-size: 21px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* ---- Tables: base ---- */
body .elementor-widget-theme-post-content table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #e4e9f2;
    border-radius: 12px;
    overflow: hidden;
    margin: 28px 0;
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 15px;
    box-shadow: 0 1px 3px rgba(0,25,101,0.06);
}

/* All cells: dark, readable text by default (prevents any invisible text) */
body .elementor-widget-theme-post-content table td,
body .elementor-widget-theme-post-content table th {
    padding: 13px 16px;
    border: none;
    border-bottom: 1px solid #eef1f7;
    text-align: left;
    vertical-align: middle;
    color: #1a1a1a !important;
}
body .elementor-widget-theme-post-content table td span,
body .elementor-widget-theme-post-content table th span {
    color: inherit !important;
}

/* Zebra striping */
body .elementor-widget-theme-post-content table tr:nth-child(even) td {
    background-color: #f4f7fd;
}

/* Navy header (first row of multi-column tables ONLY) — white text bound to navy bg */
body .elementor-widget-theme-post-content table tr:first-child td:not(:only-child),
body .elementor-widget-theme-post-content table tr:first-child th:not(:only-child) {
    background-color: #001965 !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 14px;
    border-bottom: none;
}
body .elementor-widget-theme-post-content table tr:first-child td:not(:only-child) span,
body .elementor-widget-theme-post-content table tr:first-child th:not(:only-child) span {
    color: #ffffff !important;
}

/* Remove last-row border */
body .elementor-widget-theme-post-content table tr:last-child td {
    border-bottom: none;
}

/* Row hover (skip header) */
body .elementor-widget-theme-post-content table tr:hover:not(:first-child) td {
    background-color: #eaf1fc;
}

/* ---- Single-cell callout boxes (Quick Gist) ---- */
body .elementor-widget-theme-post-content table tr:only-child td:only-child {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
    border: none;
    border-left: 4px solid #1E56FF;
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.7;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    body .elementor-widget-theme-post-content table td,
    body .elementor-widget-theme-post-content table th {
        padding: 11px 12px;
        font-size: 13px;
    }
    body .elementor-widget-theme-post-content table tr:only-child td:only-child {
        padding: 16px 16px;
        font-size: 14px;
    }
}/* End custom CSS */