/* OnlineCalcAI - Lightweight CSS */
/* Variables */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.1);
    --max-width: 1200px;
    --header-h: 60px;
    --success: #16a34a;
    --error: #dc2626;
    --warning: #f59e0b;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f172a;
        --bg-alt: #1e293b;
        --bg-card: #1e293b;
        --text: #f1f5f9;
        --text-muted: #94a3b8;
        --border: #334155;
        --shadow: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-lg: 0 4px 12px rgba(0,0,0,0.3);
    }
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; height: var(--header-h); }
.site-header .container { display: flex; align-items: center; height: 100%; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.logo-icon { font-size: 1.4rem; }
.main-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.main-nav a { color: var(--text-muted); font-size: .9rem; padding: .4rem .6rem; border-radius: var(--radius); transition: background .2s; }
.main-nav a:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; background: none; border: none; color: inherit; font: inherit; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 200px; z-index: 200; padding: .25rem 0; }
.dropdown-menu-right { left: auto; right: 0; }
.dropdown-menu a { display: block; padding: .5rem 1rem; color: var(--text); font-size: .875rem; }
.dropdown-menu a:hover { background: var(--bg-alt); text-decoration: none; }
.dropdown-menu a.active { font-weight: 600; color: var(--primary); }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { display: block; }

/* Language Switcher */
.lang-switcher { margin-left: .5rem; min-height: 48px; min-width: 48px; padding: .5rem; }
.lang-switcher .dropdown-toggle { padding: .3rem .6rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: .8rem; font-weight: 600; color: var(--text-muted); }

/* Main */
.site-main { padding: 2rem 0; min-height: 60vh; }

/* Hero */
.hero { text-align: center; padding: 2rem 0 2.5rem; }
.hero h1 { font-size: 2rem; margin-bottom: .75rem; }
.hero-sub { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 1.5rem; }

/* Search */
.search-box { position: relative; max-width: 500px; margin: 0 auto; }
.search-box input { width: 100%; padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius-lg); font-size: 1rem; background: var(--bg-card); color: var(--text); transition: border-color .2s; }
.search-box input:focus { outline: none; border-color: var(--primary); }
.search-results { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 50; max-height: 300px; overflow-y: auto; }
.search-results a, .search-no-results { display: block; padding: .6rem 1rem; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text); }
.search-results a:hover { background: var(--bg-alt); text-decoration: none; }

/* Categories Grid */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.category-card { display: flex; flex-direction: column; padding: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: box-shadow .3s, transform .3s; text-decoration: none; color: var(--text); overflow: hidden; }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); text-decoration: none; }
.category-image { width: 100%; height: 160px; overflow: hidden; }
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.category-card:hover .category-image img { transform: scale(1.06); }
.category-body { padding: 1.25rem; }
.category-icon { font-size: 1.6rem; display: block; margin-bottom: .3rem; }
.category-card h2 { font-size: 1.1rem; margin-bottom: .25rem; }
.category-card p { font-size: .85rem; color: var(--text-muted); margin-bottom: .5rem; }
.category-count { font-size: .75rem; color: var(--primary); font-weight: 600; }

/* Category Page Hero Banner */
.category-hero { position: relative; background-size: cover; background-position: center; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2rem; min-height: 260px; display: flex; align-items: flex-end; }
.category-hero-overlay { width: 100%; padding: 2rem 2rem 1.75rem; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.4) 60%, transparent 100%); color: #fff; }
.category-hero h1 { font-size: 2rem; margin-bottom: .4rem; color: #fff; }
.category-hero-desc { font-size: 1.05rem; opacity: .9; margin-bottom: .5rem; max-width: 600px; }
.category-hero-count { display: inline-block; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); padding: .3rem .8rem; border-radius: var(--radius); font-size: .85rem; font-weight: 600; }
.breadcrumb-light a, .breadcrumb-light span, .breadcrumb-light .sep { color: rgba(255,255,255,.8); }
.breadcrumb-light a:hover { color: #fff; }
@media (max-width: 768px) {
    .category-hero { min-height: 200px; }
    .category-hero-overlay { padding: 1.25rem; }
    .category-hero h1 { font-size: 1.5rem; }
}

/* Calculator Page Hero Banner */
.calc-hero { position: relative; background-size: cover; background-position: center; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; min-height: 200px; display: flex; align-items: flex-end; }
.calc-hero-overlay { width: 100%; padding: 1.5rem 2rem; background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 70%, transparent 100%); color: #fff; }
.calc-hero h1 { font-size: 1.75rem; margin-bottom: .3rem; color: #fff; }
.calc-hero-desc { font-size: .95rem; opacity: .9; max-width: 650px; }
@media (max-width: 768px) {
    .calc-hero { min-height: 160px; }
    .calc-hero-overlay { padding: 1rem 1.25rem; }
    .calc-hero h1 { font-size: 1.3rem; }
    .calc-hero-desc { font-size: .85rem; }
}

/* Calculator Grid */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.calc-card { display: block; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow .2s, transform .2s; text-decoration: none; color: var(--text); }
.calc-card:hover { box-shadow: var(--shadow-lg); text-decoration: none; transform: translateY(-2px); }
.calc-card h2, .calc-card h3 { font-size: .95rem; margin-bottom: .25rem; }
.calc-card p { font-size: .8rem; color: var(--text-muted); }
.calc-icon { font-size: 1.3rem; display: block; margin-bottom: .4rem; }
.calc-card-img { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--radius-lg); }
.calc-card-image { width: 100%; height: 140px; overflow: hidden; }
.calc-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.calc-card-img:hover .calc-card-image img { transform: scale(1.06); }
.calc-card-body { padding: 1rem 1.15rem; }

/* Calculator List */
.calc-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.calc-list-item { display: inline-block; padding: .4rem .8rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); font-size: .85rem; color: var(--text); transition: background .2s; }
.calc-list-item:hover { background: var(--primary); color: #fff; text-decoration: none; border-color: var(--primary); }

/* Breadcrumb */
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 .4rem; }

/* Calculator Widget */
.calc-widget { background: var(--bg-card); border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.calc-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.calc-tab { padding: .5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); cursor: pointer; font-size: .875rem; color: var(--text-muted); transition: all .2s; }
.calc-tab.active, .calc-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.calc-variant { display: none; }
.calc-variant.active { display: block; }

/* Form */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .3rem; color: var(--text); }
.calc-input { width: 100%; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 1rem; background: var(--bg); color: var(--text); transition: border-color .2s; }
.calc-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.output-group .output-display { padding: .65rem .75rem; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); font-size: 1.1rem; font-weight: 600; color: var(--primary); min-height: 44px; }

/* Buttons */
.calc-actions { display: flex; gap: .75rem; margin-top: 1rem; }
.btn { padding: .6rem 1.25rem; border-radius: var(--radius); font-size: .95rem; font-weight: 600; cursor: pointer; border: none; transition: background .2s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg-alt); color: var(--text-muted); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); }

/* Result */
.calc-result { margin-top: 1rem; padding: 1rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); }
@media (prefers-color-scheme: dark) { .calc-result { background: #052e16; border-color: #166534; } }
.result-value { font-size: 1.3rem; font-weight: 700; color: var(--success); }

/* Content Sections */
.calc-content { margin: 2rem 0; line-height: 1.7; }
.calc-content h2 { font-size: 1.3rem; margin: 1.5rem 0 .75rem; }
.calc-content p { margin-bottom: 1rem; color: var(--text); }

/* FAQ */
.faq-section { margin: 2rem 0; }
.faq-section h2 { margin-bottom: 1rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .5rem; }
.faq-item summary { padding: .75rem 1rem; font-weight: 600; cursor: pointer; font-size: .95rem; }
.faq-item summary:hover { background: var(--bg-alt); }
.faq-item p { padding: 0 1rem 1rem; color: var(--text-muted); font-size: .9rem; }

/* Category Section */
.category-section { margin-bottom: 2rem; }
.category-section h2 { font-size: 1.2rem; margin-bottom: .75rem; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.category-section h2 .count { font-weight: 400; color: var(--text-muted); font-size: .9rem; }

/* Popular Section */
.popular-section { margin-bottom: 2.5rem; }
.popular-section h2 { margin-bottom: 1rem; }

/* SEO Content */
.seo-content { margin: 2rem 0; padding: 1.5rem; background: var(--bg-alt); border-radius: var(--radius-lg); }
.seo-content h2 { margin-bottom: .75rem; }
.seo-content p { color: var(--text-muted); }

/* Legal Pages */
.legal-page { line-height: 1.7; max-width: 800px; }
.legal-page h1 { margin-bottom: .25rem; }
.legal-updated { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.5rem; }
.legal-page h2 { font-size: 1.25rem; margin: 1.75rem 0 .5rem; }
.legal-page p { margin-bottom: .75rem; }
.legal-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-page ul li { margin-bottom: .3rem; }
.legal-page a { color: var(--primary); }
.contact-form { max-width: 600px; margin-top: 1.5rem; }
.contact-form textarea.calc-input { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: .5rem; }
.contact-success { padding: 1.5rem; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius-lg); margin-top: 1.5rem; }
.contact-success p { color: var(--success); font-weight: 600; font-size: 1.05rem; }
@media (prefers-color-scheme: dark) { .contact-success { background: #052e16; border-color: #166534; } }
.about-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0 1.5rem; }
.about-grid > div { padding: 1rem; background: var(--bg-alt); border-radius: var(--radius); }
.about-grid h3 { font-size: 1rem; margin-bottom: .3rem; }
.about-grid p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Cookie Consent Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: var(--bg-card); border-top: 1px solid var(--border); box-shadow: 0 -2px 12px rgba(0,0,0,.15); padding: 1rem; }
.cookie-content { max-width: var(--max-width); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-content p { font-size: .85rem; color: var(--text-muted); margin: 0; flex: 1; min-width: 200px; }
.cookie-content a { color: var(--primary); }
.cookie-actions { display: flex; gap: .5rem; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }

/* Error Page */
.error-page { text-align: center; padding: 4rem 0; }
.error-page h1 { font-size: 5rem; color: var(--text-muted); margin-bottom: .5rem; }
.error-page p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Intro */
.calc-intro { color: var(--text-muted); margin-bottom: 1rem; font-size: 1.05rem; }
.page-desc { color: var(--text-muted); margin-bottom: 1.5rem; }

/* Ads */
.ad-slot { margin: 1.5rem 0; text-align: center; }
.ad-top { margin-top: 0; }

/* Footer */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 2rem 0; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 1.5rem; }
.footer-col h4, .footer-heading { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; }
.footer-col p { font-size: .85rem; color: var(--text-muted); }
.footer-col ul li { margin-bottom: .3rem; }
.footer-col a { font-size: .85rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1rem; text-align: center; font-size: .8rem; color: var(--text-muted); }

/* RTL */
[dir="rtl"] .main-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .dropdown-menu { left: auto; right: 0; }
[dir="rtl"] .dropdown-menu-right { left: 0; right: auto; }
[dir="rtl"] .breadcrumb .sep { margin: 0 .4rem; }
[dir="rtl"] .lang-switcher { margin-left: 0; margin-right: .5rem; }

/* Mobile */
@media (max-width: 768px) {
    .main-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 1rem; gap: .5rem; z-index: 99; box-shadow: var(--shadow-lg); }
    .main-nav.open { display: flex; }
    .mobile-toggle { display: block; margin-left: auto; }
    .lang-switcher { position: absolute; right: 3rem; top: 50%; transform: translateY(-50%); }
    .hero h1 { font-size: 1.5rem; }
    .categories-grid { grid-template-columns: 1fr 1fr; }
    .category-image { height: 120px; }
    .calc-grid { grid-template-columns: 1fr 1fr; }
    .calc-card-image { height: 110px; }
    .calc-widget { padding: 1rem; }
    .calc-tabs { gap: .3rem; }
    .calc-tab { padding: .4rem .7rem; font-size: .8rem; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: 1fr; }
    .calc-grid { grid-template-columns: 1fr; }
    .calc-card-image { height: 140px; }
}


/* =============================================
   OnlineCalcAI - Affiliate & Cookie Banner Styles
   Append to main style.css
   ============================================= */

/* --- Affiliate Recommendations --- */
.affiliate-recommendations {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--color-bg-alt, #f8fafc);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 12px;
}

.affiliate-recommendations h3 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted, #64748b);
    margin: 0 0 1rem 0;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.affiliate-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--color-bg, #ffffff);
    border: 1px solid var(--color-border, #e2e8f0);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text, #1f2937);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.affiliate-card:hover {
    border-color: var(--color-primary, #1a56db);
    box-shadow: 0 2px 8px rgba(26, 86, 219, 0.1);
}

.affiliate-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.affiliate-card__text {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.affiliate-card__cta {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary, #1a56db);
    white-space: nowrap;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .affiliate-recommendations {
        background: var(--color-bg-alt, #1e293b);
        border-color: var(--color-border, #334155);
    }
    .affiliate-card {
        background: var(--color-bg, #0f172a);
        border-color: var(--color-border, #334155);
    }
    .affiliate-card:hover {
        border-color: var(--color-primary, #3b82f6);
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
    }
}

/* RTL support */
[dir="rtl"] .affiliate-card {
    flex-direction: row-reverse;
}

[dir="rtl"] .affiliate-card__cta {
    direction: ltr;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-bg, #ffffff);
    border-top: 1px solid var(--color-border, #e2e8f0);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    padding: 1rem;
}

.cookie-banner__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner__inner p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text, #1f2937);
    flex: 1;
    min-width: 200px;
}

.cookie-banner__inner a,
.cookie-banner__link {
    color: var(--color-primary, #1a56db);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

@media (prefers-color-scheme: dark) {
    .cookie-banner {
        background: var(--color-bg, #1e293b);
        border-color: var(--color-border, #334155);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    }
}

@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        text-align: center;
    }
    .affiliate-grid {
        grid-template-columns: 1fr;
    }
}

/* Screen reader only (visually hidden but accessible) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Theme toggle - min 48x48 touch target */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0.5rem;
    background: none;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--text);
}
.theme-toggle:hover {
    background: var(--bg-alt);
}


/* ===== P0 Tables (Mortgage Payment Examples) ===== */
.calc-content table.calc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    background: var(--card-bg, #fff);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.calc-content table.calc-table thead {
    background: var(--primary, #2563eb);
    color: #fff;
}
.calc-content table.calc-table th,
.calc-content table.calc-table td {
    padding: 0.75rem 1rem;
    text-align: right;
    border-bottom: 1px solid var(--border, #e5e7eb);
}
.calc-content table.calc-table th:first-child,
.calc-content table.calc-table td:first-child {
    text-align: left;
    font-weight: 600;
}
.calc-content table.calc-table tbody tr:hover {
    background: var(--hover-bg, #f0f6ff);
}
.calc-content table.calc-table tbody tr:last-child td {
    border-bottom: none;
}
@media (max-width: 600px) {
    .calc-content table.calc-table {
        font-size: 0.85rem;
    }
    .calc-content table.calc-table th,
    .calc-content table.calc-table td {
        padding: 0.5rem 0.6rem;
    }
}
