:root {
    --primary: #1a3c5e;
    --primary-light: #2e5d8a;
    --accent: #e8b923;
    --accent2: #2ecc71;
    --danger: #e74c3c;
    --dark: #0d1f33;
    --light-bg: #f4f7fc;
    --surface: #ffffff;
    --border: #dde3ec;
    --text-muted: rgba(0, 0, 0, .45);
    --text-body: rgba(0, 0, 0, .54);
    --card-shadow: 0 4px 24px rgba(26, 60, 94, 0.10);
    --card-shadow-lg: 0 12px 40px rgba(26, 60, 94, 0.14);
    --radius: 16px;
    --radius-sm: 10px;
}

[data-theme="dark"] {
    --primary: #7fa8d4;
    --primary-light: #a9c6e6;
    --dark: #0a1522;
    --light-bg: #12202f;
    --surface: #16283b;
    --border: #223650;
    --text-muted: #93a4b8;
    --text-body: #d7e0ea;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    --card-shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.45);
}


/* --- Progress Bar --- */
.read-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    width: 0%;
    z-index: 1200;
    transition: width 0.1s linear;
}

/* --- Hero Section (same as NRR calculator) --- */
.calc-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, #1a5276 100%);
    padding: 52px 0 64px;
    position: relative;
    overflow: hidden;
}

.calc-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(232, 185, 35, 0.10);
    pointer-events: none;
}

.calc-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.calc-hero h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.calc-hero .subtitle {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.02rem;
    max-width: 640px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.hero-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hero-illustration {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.hero-chip {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
}

.hero-chip b {
    color: var(--accent);
    display: block;
    font-size: 1rem;
}

.hero-h1-icon {
    font-size: 1.9rem;
    color: var(--accent);
    vertical-align: -3px;
    margin-right: 6px;
}

/* --- Breadcrumb --- */
.custom-breadcrumb {
    padding: 0.85rem 0;
    margin-bottom: 0;
}

.custom-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.82rem;
    text-decoration: none;
}

.custom-breadcrumb a:hover {
    color: var(--accent);
}

.custom-breadcrumb .active {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

/* --- TOC --- */
.floating-toc {
    position: sticky;
    top: 90px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    box-shadow: var(--card-shadow);
    max-height: 70vh;
    overflow-y: auto;
}

.floating-toc .toc-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.floating-toc a {
    display: block;
    font-size: 0.84rem;
    color: var(--text-body);
    text-decoration: none;
    padding: 6px 0;
    border-left: 2px solid transparent;
    padding-left: 10px;
}

.floating-toc a:hover,
.floating-toc a.active {
    color: var(--primary);
    border-left-color: var(--accent);
    font-weight: 700;
}

/* --- Calculator Main Card --- */
.calc-main-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow-lg);
    overflow: hidden;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
}

.calc-main-card .calc-panel {
    padding: 32px 36px;
}

/* Panel layout */
.calc-panel-left {
    padding: 32px 36px;
}

.calc-panel-right {
    padding: 32px 36px;
    background: var(--light-bg);
    height: 100%;
    min-height: 300px;
    border-top: 1px solid var(--border);
}

@media (min-width: 992px) {
    .calc-panel-right {
        border-top: none;
        border-left: 1px solid var(--border);
    }
}

/* --- Form Fields --- */
.calc-field label {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.88rem;
    margin-bottom: 6px;
    display: block;
}

.calc-field .form-control {
    border-radius: 10px;
    border-color: var(--border);
    font-size: 1.05rem;
    padding: 10px 16px;
    font-weight: 600;
    color: var(--text-body);
    background: var(--surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: auto;
    width: 100%;
}

.calc-field .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 60, 94, 0.09);
    outline: none;
}

.calc-field .field-hint {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.formula-strip {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.formula-strip strong {
    color: var(--primary);
}

.formula-strip code {
    background: rgba(26, 60, 94, 0.07);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.btn-calc {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 32px;
    width: 100%;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 0.3px;
}

.btn-calc:hover {
    background: var(--dark);
    transform: translateY(-1px);
    color: #fff;
}

.btn-reset {
    background: none;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 14px 20px;
    transition: all 0.2s;
}

.btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-ghost-sm {
    background: var(--light-bg);
    border: 1px solid var(--border);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.78rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-ghost-sm:hover {
    background: var(--primary);
    color: #fff;
}

/* --- Format Tabs --- */
.format-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.format-tab {
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.format-tab.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.format-tab:hover {
    border-color: var(--primary);
}

/* --- Results Panel --- */
#calcResult {
    display: none;
}

.result-main-number {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.result-main-number.easy {
    color: var(--accent2);
}

.result-main-number.manageable {
    color: #27ae60;
}

.result-main-number.tough {
    color: #e67e22;
}

.result-main-number.very-tough {
    color: #e74c3c;
}

.result-main-number.impossible {
    color: #922b21;
}

.result-label-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 8px;
}

.result-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.result-breakdown-row:last-child {
    border-bottom: none;
}

.result-breakdown-row .lbl {
    color: var(--text-muted);
}

.result-breakdown-row .val {
    font-weight: 700;
    color: var(--primary);
}

.result-context {
    background: var(--light-bg);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.result-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* --- Placeholder --- */
#calcPlaceholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    text-align: center;
    color: var(--text-muted);
}

#calcPlaceholder .icon {
    font-size: 2.6rem;
    margin-bottom: 12px;
    opacity: 0.35;
    color: var(--primary);
}

/* --- Quick Answer --- */
.quick-answer {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 20px 24px;
    box-shadow: var(--card-shadow);
}

.quick-answer .qa-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.quick-answer p {
    font-size: 1.02rem;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}

/* --- Cards --- */
.v-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    padding: 22px;
}

.v-card h4 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

/* --- Example Cards --- */
.example-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: var(--card-shadow);
}

.example-card .ex-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    margin-right: 8px;
    flex-shrink: 0;
}

.example-card .ex-title {
    font-weight: 800;
    color: var(--primary);
    font-size: 0.95rem;
}

.example-card .ex-desc {
    font-size: 0.88rem;
    color: var(--text-body);
    margin: 8px 0;
    line-height: 1.6;
}

.example-card .ex-calc {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-block;
}

.example-card .ex-result {
    font-weight: 900;
    color: var(--accent2);
    font-size: 1.1rem;
    margin-left: 10px;
}

/* --- Mistake Items --- */
.mistake-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.mistake-item:last-child {
    border-bottom: none;
}

.mistake-item .mi-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.75rem;
}

.mistake-item .mi-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.mistake-item .mi-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.6;
}

/* --- IPL Team Badges --- */
.ipl-team-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
}

.ipl-badge-mi {
    background: #004a8f;
    color: #fff;
}

.ipl-badge-csk {
    background: #fdb913;
    color: #1a1a1a;
}

.ipl-badge-rcb {
    background: #ec1c24;
    color: #fff;
}

.ipl-badge-kkr {
    background: #3a225d;
    color: #fff;
}

.ipl-badge-gt {
    background: #1b2133;
    color: #fff;
}

.ipl-badge-srh {
    background: #f26722;
    color: #fff;
}

/* --- Related Calculator Chips --- */
.related-calc-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}

.related-calc-chip:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
}

.related-calc-chip i {
    font-size: 0.95rem;
}

/* --- Explainer --- */
.calc-explainer {
    margin-top: 44px;
    scroll-margin-top: 90px;
}

.calc-explainer section {
    scroll-margin-top: 90px;
    margin-bottom: 44px;
}

.calc-explainer h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.calc-explainer h2 .h2-icon {
    font-size: 1.1rem;
    color: var(--accent);
}

.calc-explainer h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    margin-top: 20px;
}

.calc-explainer p {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.8;
}

.calc-explainer table {
    font-size: 0.88rem;
    background: var(--surface);
}

.calc-explainer table thead th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.calc-explainer table td,
.calc-explainer table th {
    color: var(--text-body);
}

.calc-explainer ol {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 2.2;
    padding-left: 1.5rem;
}

.calc-explainer ol li {
    margin-bottom: 4px;
}

/* --- Callouts --- */
.callout {
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    margin: 18px 0;
    font-size: 0.88rem;
    line-height: 1.7;
    border: 1px solid;
}

.callout-tip {
    background: rgba(46, 204, 113, 0.06);
    border-color: rgba(46, 204, 113, 0.25);
    color: #1e8449;
}

.callout-warning {
    background: rgba(231, 76, 60, 0.06);
    border-color: rgba(231, 76, 60, 0.25);
    color: #a93226;
}

.callout-fact {
    background: rgba(26, 60, 94, 0.05);
    border-color: rgba(26, 60, 94, 0.2);
    color: var(--primary);
}

.callout-title {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.callout-title i {
    font-size: 0.9rem;
    margin-right: 4px;
}

/* --- FAQ --- */
.calc-explainer .faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--surface);
    cursor: pointer;
}

.calc-explainer .faq-q {
    padding: 14px 18px;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.92rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.calc-explainer .faq-q:hover {
    background: var(--light-bg);
}

.calc-explainer .faq-a {
    padding: 0 18px 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    display: none;
}

.calc-explainer .faq-item.open .faq-a {
    display: block;
}

.calc-explainer .faq-item.open .faq-arrow {
    transform: rotate(180deg);
}

.faq-arrow {
    transition: transform 0.2s;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-left: 12px;
}

/* --- Author Box --- */
.author-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    box-shadow: var(--card-shadow);
}

.author-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

/* --- Chart Styles --- */
.chart-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    padding: 22px;
    margin: 20px 0;
    overflow-x: auto;
}

.chart-wrap svg {
    width: 100%;
    height: auto;
    display: block;
}

.chart-axis {
    stroke: var(--border);
    stroke-width: 1;
}

.chart-grid {
    stroke: var(--border);
    stroke-width: 1;
    stroke-dasharray: 4 4;
}

.chart-line {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
}

.chart-line-current {
    fill: none;
    stroke: var(--primary-light);
    stroke-width: 2;
    stroke-dasharray: 6 3;
}

.chart-dot {
    fill: var(--primary);
}

.chart-dot-current {
    fill: var(--accent);
    stroke: var(--primary);
    stroke-width: 2;
}

.chart-label {
    fill: var(--text-muted);
    font-family: inherit;
    font-size: 11px;
}

.chart-title {
    fill: var(--primary);
    font-family: inherit;
    font-weight: 800;
    font-size: 13px;
}

.chart-area {
    fill: rgba(232, 185, 35, 0.08);
}

/* --- Win Probability Bar --- */
.win-prob-wrap {
    margin: 16px 0;
}

.win-prob-bar-bg {
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    height: 24px;
    position: relative;
}

.win-prob-bar {
    height: 100%;
    border-radius: 12px;
    transition: width 0.6s ease;
    background: linear-gradient(90deg, #e74c3c, #e67e22, #f1c40f, #2ecc71);
}

.win-prob-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 800;
    font-size: 0.85rem;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* --- Over-by-Over Table --- */
.over-table-wrap {
    max-height: 300px;
    overflow-y: auto;
}

.over-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.over-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    padding: 8px 12px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 2;
}

.over-table td {
    padding: 6px 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
}

.over-table tr:hover {
    background: var(--light-bg);
}

.over-table .rrr-high {
    color: #e74c3c;
    font-weight: 700;
}

.over-table .rrr-low {
    color: #2ecc71;
    font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .floating-toc {
        display: none;
    }
}

@media (max-width: 768px) {
    .calc-hero h1 {
        font-size: 1.8rem;
    }

    .calc-main-card .calc-panel,
    .calc-panel-left,
    .calc-panel-right {
        padding: 22px 16px;
    }

    .calc-panel-right {
        min-height: 200px;
    }

    .result-main-number {
        font-size: 2.4rem;
    }

    .over-table {
        font-size: 0.75rem;
    }

    .over-table th,
    .over-table td {
        padding: 4px 8px;
    }

    .format-tabs {
        flex-wrap: wrap;
    }

    .format-tab {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .hero-illustration {
        gap: 6px;
    }

    .hero-chip {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

/* --- Utilities --- */
.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-3 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.d-flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.5rem;
    border: 1px solid var(--border);
}

.table-bordered {
    border: 1px solid var(--border);
}

.table-sm th,
.table-sm td {
    padding: 0.3rem 0.5rem;
}

.align-middle {
    vertical-align: middle;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.col-lg-9,
.col-lg-3,
.col-lg-7,
.col-lg-5,
.col-md-6,
.col-sm-6,
.col-sm-4,
.col-sm-3,
.col-12 {
    padding: 0 0.75rem;
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 576px) {
    .col-sm-6 {
        width: 50%;
    }

    .col-sm-4 {
        width: 33.333%;
    }

    .col-sm-3 {
        width: 25%;
    }
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-3 {
        width: 25%;
    }

    .col-lg-5 {
        width: 41.666%;
    }

    .col-lg-7 {
        width: 58.333%;
    }

    .col-lg-9 {
        width: 75%;
    }
}

.g-0 {
    margin: 0;
}

.g-0>[class*="col-"] {
    padding: 0;
}

.g-2 {
    margin: 0 -0.25rem;
}

.g-2>[class*="col-"] {
    padding: 0 0.25rem;
}

.g-3 {
    margin: 0 -0.5rem;
}

.g-3>[class*="col-"] {
    padding: 0 0.5rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}