/*
Theme Name: Maxim Liberty
Version: 2.8 (Full-Width Blog Break-Out Fix)
*/

/* --- 0. BRAND VARIABLES --- */
:root {
    --mx-navy: #002b49;
    --mx-green: #1e7e34;
    --mx-bright-green: #4ade80;
    --mx-white: #ffffff;
    --mx-crumb-dim: rgba(255, 255, 255, 0.6);
}

/* --- 1. THE "UNLOCK WIDTH" COMMAND --- */
/* This kills theme-enforced narrow widths for blogs and pages */
.site-content .ast-container, 
.site-content .container, 
.site-main, 
#primary,
article.post, 
article.page,
.entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 auto !important;
}

/* --- 2. THE "ZERO-GAP" COMMAND --- */
html, body, #page, #content, .site-content, .entry-content, .post-content, 
article, .type-page, .type-post, .mx-blog-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* --- 3. HERO PANEL: THE BREAK-OUT FIX --- */
/* The margin/width logic here ensures it hits the edges even if a parent has 90% width */
.mx-custom-hero-panel {
    background: var(--mx-navy) !important;
    padding: 15px 30px 45px !important;
    text-align: center !important;
    border-radius: 0 0 12px 12px !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    transform: translateX(-50%) !important;
    box-sizing: border-box !important;
    display: block !important;
    z-index: 99 !important;
}

/* --- 4. BREADCRUMBS: THE SINGLE RAIL --- */
.mx-hero-crumbs {
    display: block !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 1400px !important; /* Keeps crumbs aligned with content below */
    margin: 0 auto 25px auto !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
}

.mx-hero-crumbs a, 
.mx-hero-crumbs span {
    display: inline !important; 
    color: var(--mx-white) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.mx-hero-crumbs a::after {
    content: " › " !important;
    color: rgba(255,255,255,0.4) !important;
    margin: 0 5px !important;
}

.mx-hero-crumbs span { color: var(--mx-crumb-dim) !important; }

/* --- 5. CONTENT AREA: 1400PX MAX (Centers text below Hero) --- */
.mx-blog-container, 
.entry-content > *:not(.mx-custom-hero-panel) {
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    box-sizing: border-box !important;
}

/* --- 6. H1 & SUBTITLE --- */
.mx-custom-hero-panel h1 {
    color: var(--mx-white) !important;
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    margin: 0 auto 10px auto !important;
    line-height: 1.15 !important;
    max-width: 1000px !important;
}

.mx-hero-subtitle {
    display: block !important;
    color: var(--mx-bright-green) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 10px !important;
}

body.single .mx-hero-subtitle { display: none !important; }

.mx-hero-date {
    display: block !important;
    color: var(--mx-crumb-dim) !important;
    font-size: 13px !important;
    font-style: italic !important;
    margin-top: 10px !important;
}

/* --- 7. BUTTONS & CTAS --- */
.mx-btn-get-started, 
.mx-cta-btn {
    background: var(--mx-green) !important;
    color: var(--mx-white) !important;
    padding: 16px 45px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    text-decoration: none !important;
    transition: 0.3s ease !important;
    border: none !important;
}

.mx-btn-get-started:hover { background: #155d27 !important; transform: translateY(-2px) !important; }

.mx-blog-cta {
    background: linear-gradient(135deg, var(--mx-navy), #003d6b) !important;
    padding: 50px 30px !important;
    border-radius: 12px !important;
    text-align: center !important;
    color: var(--mx-white) !important;
    margin: 40px auto !important;
    max-width: 1100px !important;
}

/* --- 8. THE KILL-LIST (AIOSEO & Theme Titles) --- */
[class*="aioseo-breadcrumbs"], 
[id*="aioseo-breadcrumbs"], 
.ast-breadcrumbs, 
.breadcrumb-trail, 
.entry-header, 
.entry-title, 
.entry-meta, 
nav.mx-breadcrumb {
    display: none !important;
    height: 0 !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* --- 9. MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .mx-custom-hero-panel { 
        padding: 25px 20px !important; 
        width: 100vw !important; 
        margin-left: calc(50% - 50vw) !important;
    }
    .mx-custom-hero-panel h1 { font-size: 1.8rem !important; }
    .mx-hero-crumbs { font-size: 11px !important; }
    .mx-btn-get-started { width: 100% !important; box-sizing: border-box !important; }
}

img.emoji { width: 1em !important; height: 1em !important; display: inline !important; border: none !important; vertical-align: -0.1em !important; }

/* --- 10. SINGLE POST LAYOUT --- */
.mx-single-post .entry-content > * {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.mx-single-post .entry-content > .mx-custom-hero-panel,
.mx-single-post > .mx-custom-hero-panel {
    max-width: none;
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}
/* --- 11. HERO DATE (bottom-right of hero on posts) --- */
.mx-hero-date {
    position: absolute;
    bottom: 12px;
    right: 30px;
    font-size: 11px;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}
/* --- 12. BREADCRUMBS (one line, kill <br> from legacy content) --- */
.mx-hero-crumbs {
    font-size: 11px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.4;
}
.mx-hero-crumbs a,
.mx-hero-crumbs .mx-crumb-current { font-size: 11px; }
.mx-crumb-sep { margin: 0 4px; opacity: 0.6; }
.mx-crumb-current { opacity: 0.7; }
.mx-hero-crumbs br { display: none; }
/* --- 13. PAGE HERO SUBTITLE --- */
.mx-hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.6;
    max-width: 700px;
    margin: 10px auto 0;
    text-align: center;
}
/* --- 14. BOTTOM CTA PANEL --- */
.mx-bottom-cta {
    text-align: center;
    padding: 45px 30px;
    margin: 50px 0;
    background: var(--mx-navy);
    border-radius: 8px;
}
.mx-bottom-cta-hook {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px 0;
}
.mx-bottom-cta .mx-btn-get-started {
    font-size: 16px;
    padding: 14px 40px;
}
/* --- 15. RESPONSIVE: SINGLE POST --- */
@media (max-width: 768px) {
    .mx-single-post .entry-content > * {
        padding-left: 15px;
        padding-right: 15px;
    }
    .mx-hero-date {
        position: static;
        display: block;
        text-align: right;
        margin-top: 8px;
    }
    .mx-bottom-cta { margin: 30px 0; padding: 30px 20px; }
    .mx-bottom-cta-hook { font-size: 18px; }
}


/* --- 16. DARK BG TEXT --- */
.mx-custom-hero-panel,.mx-page-hero,.mx-blog-cta,.mx-bottom-cta{color:#fff;}
.mx-custom-hero-panel p,.mx-page-hero p,.mx-custom-hero-panel a,.mx-page-hero a{color:#fff;}
.mx-custom-hero-panel h1,.mx-custom-hero-panel h2,.mx-custom-hero-panel h3,.mx-page-hero h1,.mx-page-hero h2{color:#fff;}
/* --- 17. TYPO --- */
.mx-intro{font-size:18px;color:#4a5568;line-height:1.6;margin-bottom:25px;}
.mx-section-center{text-align:center;margin:0 0 40px 0;}
/* --- 18. BOXES --- */
.mx-info-box{background:#f8fafc;padding:40px;border-radius:12px;border:1px solid #e2e8f0;margin:30px 0;}
.mx-callout{background:#f8fafc;border-left:4px solid var(--mx-navy,#002b49);padding:25px;margin:40px 0;border-radius:0 8px 8px 0;}
.mx-callout h3{margin-top:0;color:var(--mx-navy,#002b49);font-size:22px;}
/* --- 19. FAQ PLAIN --- */
.mx-faq-plain{margin:30px 0;}
.mx-faq-plain h3{color:var(--mx-navy,#002b49);font-size:18px;font-weight:600;margin:25px 0 8px 0;}
.mx-faq-plain p{color:#4a5568;line-height:1.7;margin:0 0 15px 0;}
/* --- 20. PRICING TABLE --- */
.mx-pricing-table{width:100%;border-collapse:collapse;margin:20px 0;}
.mx-pricing-table th{padding:8px 15px;font-size:13px;text-align:left;}
.mx-pricing-table td{padding:20px;}
.mx-pricing-table .mx-enterprise{background:#1e7e34;color:#fff;}
/* --- 21. UTIL --- */
.mx-col-2{column-count:2;margin-bottom:25px;}
@media (max-width:768px){.mx-col-2{column-count:1;}.mx-info-box{padding:20px;}.mx-callout{padding:15px;}}


/* --- 16. DARK BG TEXT --- */
.mx-custom-hero-panel,.mx-page-hero,.mx-blog-cta,.mx-bottom-cta{color:#fff;}
.mx-custom-hero-panel p,.mx-page-hero p,.mx-custom-hero-panel a,.mx-page-hero a{color:#fff;}
.mx-custom-hero-panel h1,.mx-custom-hero-panel h2,.mx-custom-hero-panel h3,.mx-page-hero h1,.mx-page-hero h2{color:#fff;}
/* --- 17. TYPO --- */
.mx-intro{font-size:18px;color:#4a5568;line-height:1.6;margin-bottom:25px;}
.mx-section-center{text-align:center;margin:0 0 40px 0;}
/* --- 18. BOXES --- */
.mx-info-box{background:#f8fafc;padding:40px;border-radius:12px;border:1px solid #e2e8f0;margin:30px 0;}
.mx-callout{background:#f8fafc;border-left:4px solid var(--mx-navy,#002b49);padding:25px;margin:40px 0;border-radius:0 8px 8px 0;}
.mx-callout h3{margin-top:0;color:var(--mx-navy,#002b49);font-size:22px;}
/* --- 19. FAQ PLAIN --- */
.mx-faq-plain{margin:30px 0;}
.mx-faq-plain h3{color:var(--mx-navy,#002b49);font-size:18px;font-weight:600;margin:25px 0 8px 0;}
.mx-faq-plain p{color:#4a5568;line-height:1.7;margin:0 0 15px 0;}
/* --- 20. PRICING TABLE --- */
.mx-pricing-table{width:100%;border-collapse:collapse;margin:20px 0;}
.mx-pricing-table th{padding:8px 15px;font-size:13px;text-align:left;}
.mx-pricing-table td{padding:20px;}
.mx-pricing-table .mx-enterprise{background:#1e7e34;color:#fff;}
/* --- 21. UTIL --- */
.mx-col-2{column-count:2;margin-bottom:25px;}
@media (max-width:768px){.mx-col-2{column-count:1;}.mx-info-box{padding:20px;}.mx-callout{padding:15px;}}


/* --- 22. CTA TEXT WHITE-ON-GREEN FIX --- */
.mx-bottom-cta{color:#fff !important;}
.mx-bottom-cta h2,.mx-bottom-cta h3,.mx-bottom-cta h4,.mx-bottom-cta p,.mx-bottom-cta span,.mx-bottom-cta li{color:#fff !important;}
.mx-bottom-cta a:not(.mx-btn-get-started){color:#fff !important;text-decoration:underline;}

/* --- 23. MOBILE HORIZONTAL SCROLL FOR TABLES/WIDE CONTENT --- */
@media (max-width:768px){
  .entry-content{overflow-x:visible;}
  .entry-content table,.mx-pricing-table,.mx-table-wrap{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .entry-content pre,.entry-content code{overflow-x:auto;max-width:100%;}
  .entry-content img{max-width:100%;height:auto;}
}
html,body{overflow-x:auto;}


/* --- 24. MOBILE HORIZONTAL SWIPE FOR WIDE SECTIONS --- */
@media (max-width:768px){
  .mx-howitworks,.mx-process,.mx-steps,.mx-cards-row,.mx-services-grid,.mx-industries-grid{overflow-x:auto;-webkit-overflow-scrolling:touch;scroll-snap-type:x mandatory;}
  .mx-howitworks > div,.mx-process > div,.mx-steps > div,.mx-cards-row > div,.mx-services-grid > div,.mx-industries-grid > div{min-width:min-content;}
  .mx-howitworks > div > *,.mx-process > div > *{scroll-snap-align:start;}
}
/* Allow scroll through .site wrapper */
.site{overflow-x:visible !important;}


/* --- 25. REVIEW PAGE COMPONENTS --- */

/* 25a. Transparency note */
.mx-transparency-note { font-size:12px; color:#6b7280; font-style:italic; line-height:1.5; margin:0 0 25px 0; padding:10px 14px; border-left:2px solid #d1d5db; background:#f9fafb; }

/* 25b. Alert / warning panel (yellow) */
.mx-alert-box { background:#fffbeb; border-left:4px solid #f59e0b; border-radius:0 8px 8px 0; padding:20px 24px 20px 56px; margin:30px 0; position:relative; color:#78350f; }
.mx-alert-box::before { content:"\26A0"; position:absolute; left:20px; top:18px; font-size:24px; color:#f59e0b; line-height:1; }
.mx-alert-box p { margin:0 0 10px 0; color:#78350f; }
.mx-alert-box p:last-child { margin-bottom:0; }
.mx-alert-box strong { color:#78350f; }

/* 25c. Footnote small gray */
.mx-footnote { font-size:12px; color:#6b7280; line-height:1.55; margin:25px 0; padding:12px 16px; border-top:1px solid #e5e7eb; }
.mx-footnote p, .mx-footnote li { font-size:12px; color:#6b7280; margin:4px 0; }
.mx-footnote strong { color:#4b5563; }
.mx-footnote ul{list-style:none;padding-left:0;margin-left:0;}
.mx-footnote ul li{padding-left:0;}

/* 25d. Scorecard / comparison table */
.mx-table-wrapper { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:25px 0; }
.mx-table { width:100%; border-collapse:collapse; background:#fff; border:1px solid #e5e7eb; border-radius:10px; overflow:hidden; }
.mx-table th, .mx-table td { padding:14px 16px; text-align:left; border-bottom:1px solid #e5e7eb; vertical-align:middle; }
.mx-table thead th { background:#002b49; color:#fff; font-weight:600; font-size:14px; }
.mx-table tbody tr:hover { background:#f8fafc; }
.mx-table tbody tr:last-child td { border-bottom:none; }
.mx-table .cell-wrapper p { margin:0; }

/* 25e. Status pills */
.status-pill { display:inline-block; padding:4px 12px; border-radius:9px; font-size:12px; font-weight:600; color:#fff !important; text-transform:uppercase; letter-spacing:.3px; }
.status-pill.pill-red, .mx-pill-red, .cell-alert-red .status-pill { background:#dc2626; }
.status-pill.pill-green, .mx-pill-green, .cell-alert-green .status-pill { background:#16a34a; }
.status-pill a, .status-pill a:link, .status-pill a:visited, .status-pill a:hover, .status-pill a:active { color:#fff !important; text-decoration:none !important; }

/* 25f. Cell alert backgrounds */
.cell-alert-red { background:#fef2f2; }
.cell-alert-green { background:#f0fdf4; }
.mx-pill-red { background:#fef2f2; color:#991b1b; font-weight:600; }
.mx-pill-green { background:#f0fdf4; color:#166534; font-weight:600; }
.mx-text-red { color:#b91c1c; }
.mx-text-green { color:#15803d; }

/* 25g. Advantage row highlight */
tr.mx-advantage-cell td { background:#f0fdf4; font-weight:600; color:#14532d; }

/* 25h. Side-by-side verdict cards */
.mx-reviews-comparison { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:30px 0; }
.mx-review-card { padding:24px; border-radius:10px; border:1px solid #e5e7eb; }
.mx-review-card-warning { background:#fef2f2; border-color:#fecaca; }
.mx-review-card-winner { background:#f0fdf4; border-color:#bbf7d0; }
.mx-review-card h3, .mx-review-card .mx-review-header { margin-top:0; color:#111827; font-size:18px; font-weight:700; }
.mx-review-card-warning h3, .mx-review-card-warning .mx-review-header { color:#991b1b; }
.mx-review-card-winner h3, .mx-review-card-winner .mx-review-header { color:#15803d; }
.mx-review-stars { color:#f59e0b; font-size:16px; letter-spacing:2px; margin:6px 0 12px 0; }
.mx-review-card p { color:#374151; font-size:14px; line-height:1.6; margin:0 0 10px 0; }
@media (max-width:768px) { .mx-reviews-comparison { grid-template-columns:1fr; gap:15px; } .mx-review-card { padding:18px; } }


/* --- 26. SCORECARD CELL INLINE ICON+TEXT --- */
.mx-table td { white-space:normal; }
.mx-table td .emoji { display:inline-block; margin-right:8px; vertical-align:middle; font-size:18px; line-height:1; }
.mx-table td .cell-wrapper { display:inline; }
.mx-table td .cell-wrapper p { display:inline; margin:0; }
.mx-table td .cell-text { display:inline; }


/* --- 27. PILL STRONG WHITE + VERDICT COLUMN HEADERS --- */
.status-pill, .status-pill strong, .status-pill em, .status-pill b, .status-pill span { color:#fff !important; }
.advantage-pill { display:inline-block; padding:4px 12px; border-radius:999px; font-size:12px; font-weight:600; color:#fff !important; background:#16a34a; text-transform:uppercase; letter-spacing:.3px; }

/* Verdict column headers above the row pairs */
.mx-reviews-comparison-headers { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:30px 0 0 0; }
.mx-review-col-header { padding:12px 16px; border-radius:8px 8px 0 0; font-weight:700; font-size:16px; text-align:center; }
.mx-review-col-header-warning { background:#fecaca; color:#991b1b; }
.mx-review-col-header-winner  { background:#bbf7d0; color:#166534; }
.mx-reviews-comparison-headers + .mx-reviews-comparison { margin-top:0; }
@media (max-width:768px){ .mx-reviews-comparison-headers { grid-template-columns:1fr; gap:15px; } .mx-review-col-header { border-radius:8px; } }

/* SECTION 28: BOTTOM CTA STRONG WHITE */
.mx-bottom-cta strong, .mx-bottom-cta b, .mx-bottom-cta em { color:#fff !important; }

/* SECTION 30: STEPS GRID (4-step process cards) */
.mx-steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:30px 0;}
.mx-step-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px 20px;position:relative;text-align:center;}
.mx-step-card h3{margin:12px 0 8px;font-size:18px;color:#0f172a;}
.mx-step-card p{color:#475569;font-size:14px;line-height:1.5;margin:0;}
.mx-step-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#16a34a;color:#fff !important;font-weight:700;font-size:20px;margin:0 auto;}
@media (max-width:1024px){.mx-steps-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.mx-steps-grid{grid-template-columns:1fr;}}
/* SECTION 29: PRICING VALUE GRID */
.mx-value-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin:25px 0;}
.mx-value-card{background:#f8fafc;border:1px solid #e2e8f0;border-left:4px solid #16a34a;border-radius:10px;padding:22px 24px;}
.mx-value-card h3{margin:0 0 10px;color:#0f172a;font-size:18px;}
.mx-value-card p{margin:0;color:#475569;font-size:15px;line-height:1.6;}
@media (max-width:768px){.mx-value-grid{grid-template-columns:1fr;}}

/* SECTION 31: PRICING TABLE HEADERS */
.mx-table thead th{color:#fff !important;text-align:center !important;vertical-align:middle;}
.mx-table thead th small,.mx-table thead th strong{display:block !important;text-align:center !important;color:#fff !important;}
.mx-table thead th small{font-weight:400;font-size:13px;opacity:.95;margin-top:2px;}
.mx-table thead th strong{font-size:18px;margin-top:6px;}

/* SECTION 32: HERO PANEL UNIVERSAL (pages + posts) */
body .mx-custom-hero-panel,body .entry-content .mx-custom-hero-panel{position:relative !important;display:block !important;margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;width:100vw !important;max-width:100vw !important;box-sizing:border-box !important;padding:48px max(40px,calc(50vw - 600px)) 56px !important;text-align:center !important;min-height:0 !important;overflow:visible !important;}
body .mx-custom-hero-panel .mx-hero-crumbs{position:absolute !important;top:14px !important;left:max(20px,calc(50vw - 600px)) !important;text-align:left !important;margin:0 !important;}
body .mx-custom-hero-panel .mx-hero-subtitle{display:block !important;text-align:center !important;width:100% !important;max-width:none !important;margin:0 0 8px 0 !important;}
body .mx-custom-hero-panel h1{display:block !important;text-align:center !important;width:100% !important;max-width:none !important;margin:0 auto !important;line-height:1.18 !important;}
body .mx-custom-hero-panel .mx-hero-date{position:absolute !important;bottom:14px !important;right:max(20px,calc(50vw - 600px)) !important;margin:0 !important;text-align:right !important;}
@media (max-width:768px){body .mx-custom-hero-panel,body .entry-content .mx-custom-hero-panel{padding:48px 15px 48px !important;}body .mx-custom-hero-panel .mx-hero-crumbs{position:static !important;margin-bottom:10px !important;}body .mx-custom-hero-panel .mx-hero-date{position:static !important;text-align:center !important;margin-top:10px !important;}}

/* SECTION 33: TRUST BAR + INTRO BANNER */
.mx-trust-bar{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:18px 20px;margin:25px 0;}
.mx-trust-item{text-align:center;}
.mx-trust-item strong{display:block;color:#15803d;font-size:15px;font-weight:700;line-height:1.2;}
.mx-trust-item span{display:block;color:#475569;font-size:12px;margin-top:3px;}
@media (max-width:768px){.mx-trust-bar{grid-template-columns:repeat(2,1fr);}}
.mx-intro-banner{background:linear-gradient(135deg,#f0fdf4,#ecfdf5);border-left:4px solid #16a34a;border-radius:8px;padding:18px 24px;margin:0 0 25px;}
.mx-intro-banner .mx-crumbs{font-size:13px;color:#475569;margin:0 0 6px;}
.mx-intro-banner .mx-crumbs a{color:#16a34a;text-decoration:none;}
.mx-intro-banner .mx-tagline{display:block;font-size:15px;color:#15803d;font-weight:600;}
.mx-intro-banner .mx-date{display:block;font-size:12px;color:#64748b;margin-top:4px;}
/* contrast: ensure links inside cta panels stay readable */
.mx-bottom-cta a:not(.mx-btn-get-started):not(.mx-btn){color:#fff !important;text-decoration:underline;}


/* ========================================================================
   SECTION 34 — UNIVERSAL CONTENT TYPOGRAPHY (class-driven, no inline styles)
   ======================================================================== */
.mx-blog-container p{font-size:17px;line-height:1.7;color:#374151;margin:0 0 18px;}
.mx-blog-container .mx-intro-lede{font-size:19px;line-height:1.65;color:#4a5568;margin-bottom:28px;}
.mx-blog-container h2{font-size:28px;line-height:1.3;color:#1a3c5e;margin:42px 0 18px;font-weight:700;}
.mx-blog-container h3{font-size:22px;line-height:1.35;color:#1a3c5e;margin:32px 0 14px;font-weight:600;}
.mx-blog-container h4{font-size:18px;line-height:1.4;color:#1a3c5e;margin:24px 0 10px;font-weight:600;}
.mx-blog-container ul,.mx-blog-container ol{margin:0 0 22px 0;padding-left:26px;}
.mx-blog-container ul li,.mx-blog-container ol li{font-size:17px;line-height:1.7;color:#374151;margin-bottom:10px;}
.mx-blog-container ul li::marker{color:#16a34a;}
.mx-blog-container a{color:#16a34a;text-decoration:underline;}
.mx-blog-container a:hover{color:#15803d;}
.mx-blog-container strong{color:#1a3c5e;}

/* ========================================================================
   SECTION 35 — TABLE FRAMEWORK (base + variants, fully class-driven)
   ======================================================================== */
.mx-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:24px 0;border-radius:10px;}
.mx-table{width:100%;border-collapse:collapse;font-size:15px;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.06);}
.mx-table thead th{background:#1a3c5e;color:#fff;padding:14px 16px;text-align:left;font-weight:600;border-bottom:2px solid #15304a;}
.mx-table tbody td{padding:13px 16px;border-bottom:1px solid #e5e7eb;color:#374151;vertical-align:top;}
.mx-table tbody tr:last-child td{border-bottom:none;}
.mx-table tbody tr:nth-child(even){background:#f9fafb;}
.mx-table tbody tr:hover{background:#f0fdf4;}

/* Variant: Pricing (3-tier with highlighted recommended col) */
.mx-table--pricing thead th{text-align:center;background:#1a3c5e;}
.mx-table--pricing thead th small{display:block;font-size:13px;font-weight:400;color:#cbd5e1;margin-top:4px;}
.mx-table--pricing thead th strong{display:block;font-size:20px;color:#fff;margin-top:6px;}
.mx-table--pricing tbody td{text-align:center;}
.mx-table--pricing tbody td:first-child{text-align:left;font-weight:600;color:#1a3c5e;}
.mx-table--pricing .mx-col-recommended{background:#f0fdf4 !important;border-left:3px solid #16a34a;border-right:3px solid #16a34a;}

/* Variant: Review (head-to-head Maxim vs competitor) */
.mx-table--review thead th{background:#1a3c5e;text-align:center;}
.mx-table--review thead th.mx-col-maxim{background:#16a34a;}
.mx-table--review tbody td{text-align:center;}
.mx-table--review tbody td:first-child{text-align:left;font-weight:600;color:#1a3c5e;}
.mx-table--review .mx-yes{color:#16a34a;font-weight:700;}
.mx-table--review .mx-no{color:#dc2626;font-weight:700;}

/* Variant: Ranking (best-of style with rank/score columns) */
.mx-table--ranking tbody td:first-child{font-weight:700;font-size:18px;color:#16a34a;text-align:center;width:60px;}
.mx-table--ranking .mx-score{display:inline-block;background:#16a34a;color:#fff;padding:4px 10px;border-radius:12px;font-weight:600;font-size:13px;}

/* Variant: Feature/spec matrix (sage-vs-quickbooks style) */
.mx-table--feature thead th{background:#1a3c5e;}
.mx-table--feature tbody td:first-child{font-weight:600;color:#1a3c5e;background:#f9fafb;}

/* Variant: Simple (default fallback) — uses base only */

/* Composable modifiers */
.mx-table--striped tbody tr:nth-child(odd){background:#fff;}
.mx-table--striped tbody tr:nth-child(even){background:#f3f4f6;}
.mx-table--bordered td,.mx-table--bordered th{border:1px solid #e5e7eb;}
.mx-table--compact td,.mx-table--compact th{padding:8px 10px;font-size:14px;}

/* ========================================================================
   SECTION 36 — CALLOUTS, PROS/CONS, STAT GRIDS (replace legacy inline boxes)
   ======================================================================== */
.mx-callout{background:#eff6ff;border-left:4px solid #2563eb;border-radius:8px;padding:18px 22px;margin:24px 0;color:#1e3a8a;}
.mx-callout--warn{background:#fffbeb;border-left-color:#d97706;color:#78350f;}
.mx-callout--success{background:#f0fdf4;border-left-color:#16a34a;color:#14532d;}
.mx-callout--danger{background:#fef2f2;border-left-color:#dc2626;color:#7f1d1d;}
.mx-callout p:last-child{margin-bottom:0;}

.mx-proscons{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:28px 0;}
.mx-proscons .mx-pros,.mx-proscons .mx-cons{padding:22px;border-radius:10px;}
.mx-proscons .mx-pros{background:#f0fdf4;border:1px solid #bbf7d0;}
.mx-proscons .mx-cons{background:#fef2f2;border:1px solid #fecaca;}
.mx-proscons h4{margin-top:0;}
.mx-proscons .mx-pros h4{color:#14532d;}
.mx-proscons .mx-cons h4{color:#7f1d1d;}
.mx-proscons ul{padding-left:20px;}
@media(max-width:768px){.mx-proscons{grid-template-columns:1fr;}}

.mx-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin:28px 0;}
.mx-stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:22px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,0.05);}
.mx-stat-card .mx-stat-num{display:block;font-size:32px;font-weight:700;color:#16a34a;line-height:1;margin-bottom:6px;}
.mx-stat-card .mx-stat-label{display:block;font-size:14px;color:#6b7280;}


/* ========================================================================
   SECTION 37 — BLOG GRID (/blog/ page, [mx_blog_grid] shortcode)
   ======================================================================== */
.mx-native-blog-wrapper{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:30px 0;}
.mx-native-blog-wrapper .mx-hero-cta{grid-column:1/-1;}
.mx-native-blog-wrapper .listing-item{display:flex;flex-direction:column;background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;text-decoration:none;color:#1a3c5e;box-shadow:0 1px 3px rgba(0,0,0,0.06);transition:transform .18s ease,box-shadow .18s ease;}
.mx-native-blog-wrapper .listing-item:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(22,163,74,0.12);border-color:#16a34a;}
.mx-native-blog-wrapper .listing-item .image{width:100%;aspect-ratio:16/10;overflow:hidden;background:#f3f4f6;}
.mx-native-blog-wrapper .listing-item .image img{width:100%;height:100%;object-fit:cover;display:block;}
.mx-native-blog-wrapper .listing-item .title{display:block;font-size:17px;font-weight:600;line-height:1.4;padding:16px 18px 6px;color:#1a3c5e;}
.mx-native-blog-wrapper .listing-item .excerpt{display:block;font-size:14px;line-height:1.55;padding:0 18px 10px;color:#6b7280;flex:1;}
.mx-native-blog-wrapper .listing-item .date{display:block;font-size:13px;color:#9ca3af;padding:0 18px 16px;margin-top:auto;}
@media(max-width:1024px){.mx-native-blog-wrapper{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.mx-native-blog-wrapper{grid-template-columns:1fr;}}


/* ========================================================================
   SECTION 38 — FOOTNOTES & DISCLAIMERS (small text under tables/sections)
   ======================================================================== */
.mx-blog-container .mx-footnote{margin:18px 0 30px;padding:14px 18px;background:#f9fafb;border-left:3px solid #cbd5e1;border-radius:6px;}
.mx-blog-container .mx-footnote ul,.mx-blog-container .mx-footnote ol{margin:0;padding-left:18px;}
.mx-blog-container .mx-footnote li{font-size:12.5px;line-height:1.55;color:#6b7280;margin-bottom:6px;}
.mx-blog-container .mx-footnote li:last-child{margin-bottom:0;}
.mx-blog-container .mx-footnote li::marker{color:#9ca3af;}
.mx-blog-container .mx-footnote p{font-size:12.5px;line-height:1.55;color:#6b7280;margin:0 0 6px;}
.mx-blog-container .mx-footnote a{color:#6b7280;text-decoration:underline;}


/* ============================================================
   SECTION 41 — SERVICE PAGE SECTION STYLING
   Applied to industry/software/service pages using
   .mx-detail-grid, .mx-detail-card, .mx-software-grid,
   .mx-software-badge, .mx-faq-wrap
   ============================================================ */

.mx-blog-container h2{font-size:26px;line-height:1.3;color:var(--mx-navy);margin:42px 0 14px;font-weight:700;}
.mx-blog-container h2:first-of-type{margin-top:24px;}
.mx-blog-container h3{font-size:19px;line-height:1.35;color:var(--mx-navy);margin:28px 0 10px;font-weight:700;}
.mx-blog-container p{font-size:16px;line-height:1.7;color:#374151;margin:0 0 16px;}
.mx-blog-container ul{margin:0 0 20px 0;padding-left:22px;}
.mx-blog-container ul li{font-size:16px;line-height:1.7;color:#374151;margin-bottom:8px;}

/* Detail card grid (4 service cards) */
.mx-blog-container .mx-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin:18px 0 32px;}
.mx-blog-container .mx-detail-card{background:#f9fafb;border:1px solid #e5e7eb;border-left:4px solid var(--mx-green);border-radius:8px;padding:20px 22px;transition:box-shadow .2s ease;}
.mx-blog-container .mx-detail-card:hover{box-shadow:0 6px 18px rgba(0,43,73,.08);}
.mx-blog-container .mx-detail-card h3{margin:0 0 8px;font-size:17px;color:var(--mx-navy);}
.mx-blog-container .mx-detail-card p{font-size:14.5px;line-height:1.6;margin:0;color:#4b5563;}
@media (max-width:720px){.mx-blog-container .mx-detail-grid{grid-template-columns:1fr;}}

/* Software badge grid */
.mx-blog-container .mx-software-grid{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 32px;}
.mx-blog-container .mx-software-badge{display:inline-flex;align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:8px 16px;font-size:14px;font-weight:600;color:var(--mx-navy);box-shadow:0 1px 2px rgba(0,0,0,.04);}
.mx-blog-container .mx-software-badge:hover{border-color:var(--mx-green);color:var(--mx-green);}

/* FAQ - supports both .mx-faq-wrap (single card) and .mx-faq-wrap > .mx-faq-item (container) */
.mx-blog-container .mx-faq-item{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px 22px;margin:0 0 14px;}
.mx-blog-container .mx-faq-item h3{margin:0 0 8px;font-size:16.5px;color:var(--mx-navy);}
.mx-blog-container .mx-faq-item p{margin:0;font-size:15px;line-height:1.65;color:#4b5563;}
.mx-blog-container .mx-faq-wrap:not(:has(.mx-faq-item)){background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:18px 22px;margin:0 0 14px;}
.mx-blog-container .mx-faq-wrap:not(:has(.mx-faq-item)) h3{margin:0 0 8px;font-size:16.5px;color:var(--mx-navy);}
.mx-blog-container .mx-faq-wrap:not(:has(.mx-faq-item)) p{margin:0;font-size:15px;line-height:1.65;color:#4b5563;}
