/* Google Fonts Import - Heebo */
        @import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800&amp;display=swap');
    
        /* ==========================================================================
       DEFENSIVE SCOPING (Prevents breaking the client's existing header/layout)
       ========================================================================== */
        .rsi-why-choose,
        .rsi-product-types,
        .rsi-why-choose *,
        .rsi-product-types * {
            box-sizing: border-box !important;
        }
    
        .rsi-why-choose,
        .rsi-product-types {
            width: 100%;
            max-width: 100vw;
            overflow-x: hidden;
            /* Stops internal elements from forcing global horizontal scroll */
        }
    
        /* ==========================================================================
       1. WHY CHOOSE SECTION
       ========================================================================== */
        .rsi-why-choose {
            font-family: 'Heebo', sans-serif;
            background-color: #f4f9fc;
            padding: 60px 20px;
            color: #333333;
        }
    
        .rsi-container {
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
    
        .rsi-header-content {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }
    
        .rsi-eyebrow {
            display: inline-block;
            color: #0c89cf;
            font-size: 13px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 10px;
            background: rgba(12, 137, 207, 0.1);
            padding: 5px 15px;
            border-radius: 50px;
        }
    
        .rsi-main-title {
            color: #0069ab;
            font-size: 32px;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 12px;
        }
    
        .rsi-subtitle {
            color: #0c89cf;
            font-size: 22px;
            font-weight: 500;
            margin-bottom: 15px;
        }
    
        .rsi-intro-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555555;
            margin: 0;
        }
    
        .rsi-why-choose .rsi-features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }
    
        .rsi-feature-card {
            background: #ffffff;
            padding: 30px 24px;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 105, 171, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border-top: 3px solid transparent;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }
    
        .rsi-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 105, 171, 0.1);
            border-top: 3px solid #0c89cf;
        }
    
        .rsi-icon-wrapper {
            width: 50px;
            height: 50px;
            background-color: rgba(12, 137, 207, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
            transition: background-color 0.3s ease;
        }
    
        .rsi-icon {
            font-size: 24px;
        }
    
        .rsi-feature-card:hover .rsi-icon-wrapper {
            background-color: #0c89cf;
        }
    
        .rsi-feature-card:hover .rsi-icon {
            filter: brightness(0) invert(1);
        }
    
        .rsi-card-title {
            color: #0069ab;
            font-size: 18px;
            font-weight: 700;
            margin-top: 0;
            margin-bottom: 10px;
        }
    
        .rsi-card-text {
            font-size: 14px;
            line-height: 1.5;
            color: #666666;
            margin: 0;
        }
    
        /* ==========================================================================
       2. PRODUCT TYPES SECTION
       ========================================================================== */
        .rsi-product-types {
            padding: 20px 20px;
            background-color: #ffffff;
            font-family: 'Heebo', sans-serif;
        }
    
        /* Note: Product grid uses a different class structure for its layout */
        .rsi-product-types .rsi-types-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            width: 100%;
        }
    
        .rsi-product-item {
            margin: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
    
        .rsi-image-container {
            position: relative;
            width: 100%;
            max-width: 320px;
            aspect-ratio: 1/1;
            margin-bottom: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
    
        .rsi-bg-shape {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 110%;
            height: 110%;
            z-index: 1;
            opacity: 0.15;
            transition: all 0.5s ease;
        }
    
        .rsi-product-image {
            position: relative;
            z-index: 2;
            width: 85%;
            height: 85%;
            object-fit: cover;
            border-radius: 40px 10px;
            box-shadow: 0 15px 35px rgba(0, 105, 171, 0.15);
            transition: all 0.4s ease;
        }
    
        .rsi-product-title {
            color: #0c89cf;
            font-size: 24px;
            font-weight: 700;
            margin: 0;
            transition: color 0.3s ease;
        }
    
        .rsi-product-item:hover .rsi-product-image {
            transform: translateY(-8px) scale(1.02);
            border-radius: 10px 40px;
            box-shadow: 0 20px 40px rgba(0, 105, 171, 0.25);
        }
    
        .rsi-product-item:hover .rsi-bg-shape {
            transform: translate(-50%, -50%) rotate(15deg) scale(1.15);
            opacity: 0.25;
        }
    
        .rsi-product-item:hover .rsi-product-title {
            color: #0069ab;
        }
    
        /* ==========================================================================
       3. RESPONSIVE QUERIES
       ========================================================================== */
        @media (max-width: 991px) {
            .rsi-main-title {
                font-size: 28px;
            }
    
            .rsi-subtitle {
                font-size: 20px;
            }
    
            .rsi-product-types .rsi-types-grid {
                gap: 30px;
            }
        }
    
        @media (max-width: 768px) {
    
            /* Why Choose Mobile */
            .rsi-why-choose {
                padding: 40px 10px;
            }
    
            .rsi-main-title {
                font-size: 24px;
            }
    
            .rsi-why-choose .rsi-features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
    
            .rsi-feature-card {
                padding: 20px 15px;
            }
    
            .rsi-icon-wrapper {
                width: 40px;
                height: 40px;
                margin-bottom: 12px;
            }
    
            .rsi-icon {
                font-size: 20px;
            }
    
            .rsi-card-title {
                font-size: 16px;
            }
    
            .rsi-card-text {
                font-size: 13px;
            }
    
            /* Product Types Mobile (Swipeable Row) */
            .rsi-product-types {
                padding: 30px 10px;
            }
    
            .rsi-product-types .rsi-types-grid {
                display: flex;
                flex-wrap: nowrap;
                /* Ensures items stay in a single row */
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                gap: 20px;
                padding-bottom: 20px;
                -webkit-overflow-scrolling: touch;
            }
    
            .rsi-product-item {
                flex: 0 0 75%;
                scroll-snap-align: center;
            }
    
            .rsi-image-container {
                max-width: 240px;
                margin: 0 auto 15px auto;
            }
    
            /* Custom Scrollbar for the Product Swipe */
            .rsi-product-types .rsi-types-grid::-webkit-scrollbar {
                height: 4px;
            }
    
            .rsi-product-types .rsi-types-grid::-webkit-scrollbar-track {
                background: rgba(0, 105, 171, 0.1);
                border-radius: 4px;
            }
    
            .rsi-product-types .rsi-types-grid::-webkit-scrollbar-thumb {
                background: #0c89cf;
                border-radius: 4px;
            }
        }
    
    
    
    
    
    
    
    
    
    
    
    
    
        /* ==========================================================================
        4. HIGHLIGHTS SECTION (COMPACT SPEC SHEET)
        ========================================================================== */
        .rsi-highlights-compact {
            padding: 40px 20px; /* Reduced vertical padding */
            background-color: #f4f9fc;
            font-family: 'Heebo', sans-serif;
            width: 100%;
            box-sizing: border-box;
        }

        /* The Spec Board Container */
        .rsi-specs-board {
            max-width: 900px; /* Keeps the list contained and readable */
            margin: 0 auto;
            background-color: #ffffff;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 105, 171, 0.08);
            padding: 40px 50px;
            box-sizing: border-box;
            border-top: 5px solid #0c89cf; /* Brand color accent line */
        }

        /* Header Styling inside the board */
        .rsi-specs-board .rsi-specs-header {
            text-align: center;
            margin-bottom: 35px;
        }

        .rsi-specs-board .rsi-main-heading {
            color: #0069ab;
            font-size: 28px;
            font-weight: 600;
            margin: 0 0 15px 0;
        }

        /* Small decorative line below heading */
        .rsi-header-line {
            width: 60px;
            height: 3px;
            background-color: #0c89cf;
            margin: 0 auto;
            border-radius: 3px;
        }

        /* --- 2-Column List Layout --- */
        .rsi-specs-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            column-gap: 60px;
            row-gap: 16px;
            list-style: none;
            padding: 0;
            margin: 0;
        }

        /* --- Dotted Leader Line Effect --- */
        .rsi-spec-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-end; /* Aligns text to the bottom near the dots */
            position: relative;
            padding-bottom: 4px;
        }

        /* Creates the connecting dots between label and value */
        .rsi-spec-item::after {
            content: '';
            position: absolute;
            bottom: 6px; /* Aligns with the text baseline */
            left: 0;
            right: 0;
            border-bottom: 1px dashed rgba(12, 137, 207, 0.3);
            z-index: 1;
        }

        .rsi-spec-label {
            font-size: 15px;
            font-weight: 500;
            color: #555555;
            background-color: #ffffff; /* Masks the dotted line behind text */
            padding-right: 10px;
            z-index: 2;
        }

        .rsi-spec-value {
            font-size: 15px;
            font-weight: 700;
            color: #0069ab;
            background-color: #ffffff; /* Masks the dotted line behind text */
            padding-left: 10px;
            text-align: right;
            z-index: 2;
        }

        /* ==========================================================================
        RESPONSIVE DESIGN FOR COMPACT HIGHLIGHTS
        ========================================================================== */
        @media (max-width: 768px) {
            .rsi-highlights-compact {
                padding: 30px 10px;
            }
            
            .rsi-specs-board {
                padding: 30px 20px;
            }
            
            .rsi-specs-board .rsi-main-heading {
                font-size: 22px;
                line-height: 1.3;
            }

            /* Convert to 1 column to prevent text overlapping */
            .rsi-specs-list {
                grid-template-columns: 1fr;
                row-gap: 14px;
            }

            .rsi-spec-label, .rsi-spec-value {
                font-size: 14px; /* Slightly smaller text for mobile */
            }
        }









        /* 
        5. Carousal
        */
        /* ==========================================================================
   UNIVERSAL CAROUSEL DESIGN (Glitch-Free)
   ========================================================================== */

/* Clean Title Styling */
.rsi-carousel-title {
    text-align: center;
    margin-bottom: 10px;
    margin-top: 40px;
}

.rsi-carousel-title p {
    color: #0069ab;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    font-family: 'Heebo', sans-serif;
}

.rsi-carousel-title a {
    text-decoration: none;
    color: inherit;
}

/* Base Carousel Spacing */
.rsi-universal-carousel {
    padding: 20px 0 40px 0;
    background-color: transparent;
    font-family: 'Heebo', sans-serif;
}

/* --- The Product Card (.img-box) --- */
.rsi-universal-carousel .img-box {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden; /* Keeps image inside borders */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(12, 137, 207, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px 5px; /* Critical: Provides safe space for shadows without breaking Owl JS */
    display: flex;
    flex-direction: column;
}

/* Hover Effect */
.rsi-universal-carousel .img-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 105, 171, 0.12);
    border-color: #0c89cf;
}

/* Hide the <br> tag cleanly */
.rsi-universal-carousel .img-box br {
    display: none;
}

/* --- 1. Reduce Image Height --- */
.rsi-universal-carousel .projects-item-img {
    width: 100%;
    height: 160px; /* Reduced from 220px for a much sleeker profile */
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Image Zoom on Hover */
.rsi-universal-carousel .img-box:hover .projects-item-img {
    transform: scale(1.05);
}

/* --- 2. Tighten Footer Text Padding --- */
.rsi-universal-carousel .topimgtext {
    margin: 0;
    padding: 12px 10px; /* Reduced padding to save vertical space */
    background-color: #ffffff;
    color: #0069ab;
    font-size: 15px; /* Slightly smaller so "Concentric Reducer" fits better */
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    z-index: 2;
    position: relative;
    border-top: 1px solid rgba(12, 137, 207, 0.1);
    transition: background-color 0.3s ease;
}

.rsi-universal-carousel .img-box:hover .topimgtext {
    background-color: #f4f9fc;
}

/* --- Hide Owl Carousel Navigation Dots --- */
.rsi-universal-carousel .owl-dots {
    display: none !important;
}

.rsi-universal-carousel .owl-theme .owl-dots .owl-dot span {
    background: rgba(12, 137, 207, 0.3);
    width: 12px;
    height: 12px;
    margin: 5px 6px;
    transition: all 0.3s ease;
}

.rsi-universal-carousel .owl-theme .owl-dots .owl-dot.active span, 
.rsi-universal-carousel .owl-theme .owl-dots .owl-dot:hover span {
    background: #0c89cf;
    transform: scale(1.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .rsi-carousel-title p {
        font-size: 24px;
        padding: 0 15px;
    }
    
    .rsi-universal-carousel {
        padding: 10px 0 30px 0;
    }

    .rsi-universal-carousel .projects-item-img {
        height: 200px; /* Shorter image for mobile devices */
    }

    .rsi-universal-carousel .topimgtext {
        font-size: 14px;
        padding: 10px 8px;
    }
}















        /* ==========================================================================
   6. EXPORT REQUIREMENTS (COMPACT LEDGER LIST)
   ========================================================================== */

.rsi-export-compact {
    padding: 40px 20px; /* Reduced overall padding to save space */
    background-color: #ffffff;
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.rsi-export-compact .rsi-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #f4f9fc; /* Soft background wrapper */
    padding: 30px 40px;
    border-radius: 12px;
    border-left: 5px solid #0069ab;
}

.rsi-export-compact .rsi-section-header {
    margin-bottom: 10px;
}

.rsi-export-compact .rsi-main-heading {
    color: #0069ab;
    font-size: 22px; /* Scaled down slightly for compactness */
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

/* --- Dense List Grid Layout --- */
.rsi-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 0; /* Handled by item padding for exact control */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Individual Ledger Items --- */
.rsi-check-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(12, 137, 207, 0.15); /* Clean separator line */
    transition: transform 0.2s ease, padding-left 0.2s ease;
}

/* Remove bottom border from the last two items so it looks clean */
.rsi-check-item:nth-last-child(1),
.rsi-check-item:nth-last-child(2) {
    border-bottom: none;
}

/* Soft hover interaction */
.rsi-check-item:hover {
    padding-left: 5px;
}

.rsi-check-item:hover .rsi-check-text {
    color: #0069ab;
}

/* --- Inline SVG Checkmark --- */
.rsi-inline-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #0c89cf;
    margin-right: 12px;
}

/* --- Text Styling --- */
.rsi-check-text {
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .rsi-export-compact {
        padding: 30px 10px;
    }
    
    .rsi-export-compact .rsi-container {
        padding: 25px 20px;
    }

    .rsi-export-compact .rsi-main-heading {
        font-size: 22px;
    }

    /* Stack into 1 column for mobile */
    .rsi-checklist-grid {
        grid-template-columns: 1fr;
    }
    
    /* Ensure the last item is the only one without a border on mobile */
    .rsi-check-item:nth-last-child(2) {
        border-bottom: 1px solid rgba(12, 137, 207, 0.15);
    }
}


























/* ==========================================================================
   7. SPECIFICATIONS DATA GRID (HIGH DENSITY)
   ========================================================================== */

/* Defensive Scoping */
.rsi-specifications, .rsi-specifications * {
    box-sizing: border-box !important;
}

.rsi-specifications {
    padding: 60px 20px;
    background-color: #f8fbfe; /* Very subtle blue to separate from white sections */
    font-family: 'Heebo', sans-serif;
    width: 100%;
}

.rsi-specifications .rsi-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Headers & Callout --- */
.rsi-specifications .rsi-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.rsi-specifications .rsi-main-heading {
    color: #0069ab;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.rsi-callout-banner {
    display: inline-block;
    background: rgba(12, 137, 207, 0.1);
    color: #0c89cf;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(12, 137, 207, 0.2);
}

.rsi-callout-banner strong {
    color: #0069ab;
}

/* --- High-Density Grid Layout --- */
.rsi-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns on Desktop */
    gap: 20px;
    align-items: start; /* Prevents cards from stretching vertically unnecessarily */
}

/* --- Micro Cards --- */
.rsi-spec-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 105, 171, 0.05);
    border-top: 3px solid #0c89cf;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.rsi-spec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 105, 171, 0.12);
}

/* --- Icon & Title --- */
.rsi-spec-card .rsi-icon {
    color: #0c89cf;
    font-size: 22px;
    margin-bottom: 12px;
}

.rsi-spec-title {
    color: #0069ab;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* --- Dense List Content --- */
.rsi-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rsi-spec-list li {
    font-size: 14px;
    color: #555555;
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px solid #f0f0f0; /* Subtle separator to save space vs bullets */
    line-height: 1.4;
}

.rsi-spec-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Highlight for important notes */
.rsi-highlight-text {
    color: #0c89cf !important;
    font-weight: 700;
    font-size: 12px !important;
}

/* ==========================================================================
   RESPONSIVE (ANTI-SCROLL FATIGUE)
   ========================================================================== */
@media (max-width: 1024px) {
    .rsi-spec-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .rsi-specifications {
        padding: 40px 10px;
    }
    
    .rsi-specifications .rsi-main-heading {
        font-size: 24px;
    }
    
    .rsi-callout-banner {
        font-size: 13px;
        padding: 8px 15px;
        border-radius: 8px; /* Better for mobile wrapping */
        line-height: 1.4;
    }

    /* FORCED 2-COLUMN ON MOBILE to slash vertical scroll in half */
    .rsi-spec-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Tighter gap */
    }
    
    /* Shrink the cards to pack more on screen */
    .rsi-spec-card {
        padding: 12px 10px;
        border-radius: 6px;
    }
    
    .rsi-spec-card .rsi-icon {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .rsi-spec-title {
        font-size: 13px; /* Smaller title */
        margin-bottom: 6px;
    }
    
    .rsi-spec-list li {
        font-size: 12px; /* Small readable text */
        line-height: 1.2;
        padding-bottom: 3px;
        margin-bottom: 3px;
    }
}



























/* ==========================================================================
   8. PRICE LIST & TABLE SECTION
   ========================================================================== */

    .rsi-price-list .rsi-section-header-left {
        text-align: left;
        margin-bottom: 35px;
    }

    .rsi-price-list .rsi-main-heading {
        color: #0069ab;
        font-size: 28px;
        font-weight: 600;
        margin: 0;
    }

    .rsi-price-list .rsi-main-heading a {
        text-decoration: none;
        color: inherit;
    }

    /* The line is now locked to the left, under the text */
    .rsi-price-list .rsi-header-line-left {
        width: 70px;
        height: 4px;
        background-color: #0c89cf;
        border-radius: 4px;
        margin-top: 12px;
    }

    /* --- UPGRADED Modern Pill Layout --- */
    .rsi-price-meta-modern {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 16px;
        column-gap: 30px;
        margin-bottom: 40px;
    }

    /* Pill shaped wrapper for a premium, clickable feel */
    .rsi-meta-item-modern {
        display: flex;
        align-items: center;
        background: #f8fbfe;
        /* Soft blue tint */
        padding: 12px 24px;
        border-radius: 50px;
        border: 1px solid rgba(12, 137, 207, 0.1);
        transition: all 0.3s ease;
    }

    .rsi-meta-item-modern:hover {
        background: #ffffff;
        box-shadow: 0 6px 20px rgba(0, 105, 171, 0.08);
        border-color: rgba(12, 137, 207, 0.3);
        transform: translateY(-2px);
    }

    /* Circular elevated checkmark icon */
    .rsi-meta-icon-circle {
        width: 28px;
        height: 28px;
        background-color: #0c89cf;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        margin-right: 15px;
        flex-shrink: 0;
        box-shadow: 0 3px 8px rgba(12, 137, 207, 0.3);
    }

    .rsi-meta-item-modern .rsi-meta-text {
        font-size: 15px;
        color: #555555;
    }

    .rsi-meta-item-modern .rsi-meta-text strong,
    .rsi-meta-item-modern .rsi-meta-text a {
        color: #0069ab;
        font-weight: 700;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .rsi-meta-item-modern .rsi-meta-text a:hover {
        color: #0c89cf;
        text-decoration: underline;
    }

    /* --- Table Showcase Enhancements --- */
    .rsi-table-showcase {
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 5px 25px rgba(0, 105, 171, 0.08);
        overflow: hidden;
        /* Ensures the border-radius clips the table corners */
        border: 1px solid rgba(12, 137, 207, 0.15);
    }

    /* Forcing the header colors without touching HTML */
    .rsi-table-showcase table {
        margin-bottom: 0;
        /* Removes default bootstrap bottom margin */
        border: none;
    }

    .rsi-table-showcase th.thheading {
        background-color: #0c89cf !important;
        /* Forces the blue header */
        color: #ffffff !important;
        font-weight: 700;
        padding: 16px 12px;
        border: 1px solid #0069ab !important;
        /* Slightly darker border for separation */
        vertical-align: middle;
    }

    .rsi-table-showcase td {
        vertical-align: middle;
        padding: 8px 12px;
        color: #444444;
        border-color: #eeeeee !important;
    }

    /* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
    @media (max-width: 768px) {
        .rsi-price-meta-modern {
            grid-template-columns: 1fr;
            row-gap: 12px;
        }

        .rsi-meta-item-modern {
            padding: 10px 20px;
        }
    }





























    /* ==========================================================================
   9. GRADES SECTION (COMPACT LEDGER)
   ========================================================================== */

.rsi-grades-compact {
    padding: 40px 20px;
    background-color: #ffffff;
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.rsi-grades-compact .rsi-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #f4f9fc;
    padding: 30px 40px;
    border-radius: 12px;
    border-left: 5px solid #0069ab; /* Brand edge */
}

.rsi-grades-compact .rsi-section-header {
    margin-bottom: 10px;
}

.rsi-grades-compact .rsi-main-heading {
    color: #0069ab;
    font-size: 26px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.rsi-grades-compact .rsi-main-heading a {
    text-decoration: none;
    color: inherit;
}

/* --- Dense List Grid Layout --- */
.rsi-grades-compact .rsi-checklist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    row-gap: 0; 
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- Individual Ledger Items --- */
.rsi-grades-compact .rsi-check-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(12, 137, 207, 0.15);
    transition: transform 0.2s ease, padding-left 0.2s ease;
}

/* Remove bottom border from the last two items */
.rsi-grades-compact .rsi-check-item:nth-last-child(1),
.rsi-grades-compact .rsi-check-item:nth-last-child(2) {
    border-bottom: none;
}

/* Hover interaction */
.rsi-grades-compact .rsi-check-item:hover {
    padding-left: 5px;
}

/* --- Inline SVG Checkmark --- */
.rsi-grades-compact .rsi-inline-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #0c89cf;
    margin-right: 12px;
    transition: transform 0.2s ease;
}

.rsi-grades-compact .rsi-check-item:hover .rsi-inline-check {
    transform: scale(1.1);
}

/* --- Interactive Link Styling --- */
.rsi-grades-compact .rsi-check-link {
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rsi-grades-compact .rsi-check-item:hover .rsi-check-link {
    color: #0069ab; /* Highlights the link on row hover */
    text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .rsi-grades-compact {
        padding: 30px 10px;
    }
    
    .rsi-grades-compact .rsi-container {
        padding: 25px 20px;
    }

    .rsi-grades-compact .rsi-main-heading {
        font-size: 22px;
    }

    /* Stack into 1 column for mobile */
    .rsi-grades-compact .rsi-checklist-grid {
        grid-template-columns: 1fr;
    }
    
    /* On mobile (1 col), only the very last item shouldn't have a border */
    .rsi-grades-compact .rsi-check-item:nth-last-child(2) {
        border-bottom: 1px solid rgba(12, 137, 207, 0.15);
    }
}






















/* ==========================================================================
   10. THICKNESS SECTION (BADGE GRID)
   ========================================================================== */

.rsi-thickness-section {
    padding: 50px 20px;
    background-color: #ffffff; /* Clean white background */
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.rsi-thickness-section .rsi-section-header {
    text-align: center;
    margin-bottom: 35px;
}

.rsi-thickness-section .rsi-main-heading {
    color: #0069ab;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* --- Badge Grid Layout --- */
/* --- Strict 6-Column Grid Layout for Desktop --- */
.rsi-thickness-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Forces exactly 6 columns */
    gap: 15px;
    max-width: 1100px; /* Widened slightly to let 6 columns breathe */
    margin: 0;
}

/* --- Interactive Badges --- */
.rsi-thickness-badge {
    background: #f8fbfe; 
    border: 1px solid rgba(12, 137, 207, 0.2);
    color: #0069ab;
    padding: 14px 5px; /* Reduced side padding slightly to fit 6 perfectly */
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 14px; /* Scaled to 14px for perfect fit */
    transition: all 0.3s ease;
    cursor: default; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    white-space: nowrap; /* Prevents text from breaking into two lines */
}

/* Premium Hover State */
.rsi-thickness-badge:hover {
    background: #0c89cf;
    color: #ffffff;
    border-color: #0c89cf;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(12, 137, 207, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN (ANTI-SCROLL)
   ========================================================================== */
@media (max-width: 991px) {
    /* Tablet step-down: 4 columns */
    .rsi-thickness-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .rsi-thickness-section {
        padding: 35px 10px;
    }

    .rsi-thickness-section .rsi-main-heading {
        font-size: 24px;
    }

    /* Strict 3-Column Grid Layout for Mobile */
    .rsi-thickness-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px; /* Tighter gap for mobile screens */
    }

    .rsi-thickness-badge {
        font-size: 11px; /* Scaled down so "Schedule 120" fits on small screens */
        padding: 10px 2px;
        border-radius: 6px;
    }
}


















/* ==========================================================================
   13. DUAL FEATURES SECTION (SURFACE & END CONNECTIONS)
   ========================================================================== */

.rsi-dual-features {
    padding: 50px 20px;
    background-color: #ffffff;
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

/* --- Layout Wrapper --- */
.rsi-dual-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- The Individual Boxes --- */
.rsi-feature-box {
    background: #f4f9fc;
    padding: 35px 40px;
    border-radius: 12px;
    border-top: 5px solid #0069ab;
    box-shadow: 0 4px 15px rgba(0, 105, 171, 0.05);
}

.rsi-feature-title {
    color: #0069ab;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* --- List Styling (Inheriting the Ledger Look) --- */
.rsi-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rsi-feature-item {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(12, 137, 207, 0.15);
    transition: transform 0.2s ease, padding-left 0.2s ease;
}

/* Removes bottom border from the final item in each list */
.rsi-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Hover effect */
.rsi-feature-item:hover {
    padding-left: 6px;
}

/* --- Inline Icon & Text --- */
.rsi-feature-box .rsi-inline-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #0c89cf;
    margin-right: 14px;
    transition: transform 0.2s ease;
}

.rsi-feature-item:hover .rsi-inline-check {
    transform: scale(1.1);
}

.rsi-feature-text {
    color: #444444;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.rsi-feature-item:hover .rsi-feature-text {
    color: #0069ab;
    font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .rsi-dual-wrapper {
        gap: 20px;
    }
    .rsi-feature-box {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    .rsi-dual-features {
        padding: 30px 10px;
    }

    /* Stack the two boxes on top of each other */
    .rsi-dual-wrapper {
        grid-template-columns: 1fr;
    }

    .rsi-feature-title {
        font-size: 20px;
    }
    
    .rsi-feature-text {
        font-size: 15px;
    }
}



















/* ==========================================================================
   14. MIXED FEATURES SECTION (1 TOP ROW + 2 COLUMNS)
   ========================================================================== */

.rsi-mixed-features {
    padding: 0 20px 50px 20px; /* Merges smoothly with the previous section */
    background-color: #ffffff;
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

/* --- Hybrid Grid Layout --- */
.rsi-mixed-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Forces the first box to stretch across both columns */
.rsi-full-width {
    grid-column: span 2;
    padding: 30px 40px !important; /* Slightly tighter vertical padding for the top row */
}

/* --- Temperature Badge Styling --- */
.rsi-temperature-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.rsi-temp-badge {
    background: #ffffff;
    border: 1px solid rgba(12, 137, 207, 0.2);
    color: #0069ab;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 105, 171, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsi-temp-badge i {
    color: #0c89cf;
    font-size: 20px;
}

.rsi-temp-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 105, 171, 0.12);
    border-color: #0c89cf;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .rsi-mixed-wrapper {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rsi-mixed-features {
        padding: 0 10px 30px 10px;
    }

    /* Stack everything in 1 column on mobile */
    .rsi-mixed-wrapper {
        grid-template-columns: 1fr;
    }

    /* Remove the span 2 so it doesn't break the mobile grid */
    .rsi-full-width {
        grid-column: span 1;
        padding: 25px 20px !important;
    }

    .rsi-temp-badge {
        font-size: 16px;
        padding: 10px 20px;
        width: 100%; /* Full width badges on mobile */
        justify-content: center;
    }
}

















/* ==========================================================================
   15. SNAPSHOT CARD SECTION (Testing & Documentation)
   ========================================================================== */

.rsi-snapshot-section {
    padding: 50px 20px;
    background-color: #ffffff;
    font-family: 'Heebo', sans-serif;
}

/* --- The Outer Card --- */
.rsi-snapshot-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08); /* Soft subtle border */
    border-radius: 12px;
    padding: 35px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Extremely soft shadow */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.rsi-snapshot-card:last-child {
    margin-bottom: 0;
}

/* --- Layout Grid --- */
.rsi-snapshot-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* --- Headings & Decor --- */
.rsi-snapshot-heading {
    color: #0069ab;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.rsi-snapshot-heading a {
    text-decoration: none;
    color: inherit;
}

/* Matches the 3 dots and line from the screenshot */
.rsi-heading-decor {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 25px;
}

.rsi-decor-dot {
    width: 6px;
    height: 6px;
    background-color: #0069ab;
}

.rsi-decor-line {
    height: 2px;
    background-color: #333333;
    width: 60px;
    margin-left: 2px;
}

/* --- Dotted List Styling --- */
.rsi-snapshot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rsi-snapshot-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #d0d0d0; /* Dashed separator line */
}

.rsi-snapshot-list li:last-child {
    border-bottom: none;
}

/* Solid Blue Circular Bullet */
.rsi-list-bullet {
    width: 22px;
    height: 22px;
    background-color: #0069ab;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-right: 15px;
    flex-shrink: 0;
}

.rsi-list-text {
    color: #444444;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

/* --- Image & Caption --- */
.rsi-snapshot-media {
    width: 100%;
}

.rsi-snapshot-img {
    width: 100%;
    height: auto;
    /* Mimics the cut-out shape from the reference image */
    border-radius: 12px 12px 12px 80px; 
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.rsi-snapshot-caption {
    font-size: 13px;
    font-style: italic;
    color: #777777;
    text-align: right;
    margin-top: 12px;
    padding-right: 15px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .rsi-snapshot-layout {
        gap: 30px;
    }
    .rsi-snapshot-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .rsi-snapshot-layout {
        grid-template-columns: 1fr; /* Stack on mobile */
        gap: 35px;
    }
    
    .rsi-snapshot-heading {
        font-size: 22px;
    }
    
    .rsi-snapshot-img {
        /* Relax the extreme curve for smaller mobile screens */
        border-radius: 12px 12px 12px 40px; 
    }
}















/* ==========================================================================
   16. HUMANOID Q&A (CONVERSATIONAL INTERFACE)
   ========================================================================== */

.rsi-human-qa {
    padding: 60px 20px;
    background-color: #f8fbfe; /* Soft background to frame the conversation */
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.rsi-qa-board {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- Shared Row Layout --- */
.rsi-qa-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* --- Avatars --- */
.rsi-qa-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.rsi-buyer-row .rsi-qa-avatar {
    background-color: #ffffff;
    color: #444444;
    border: 2px solid #e0e0e0;
}

.rsi-expert-row .rsi-qa-avatar {
    background-color: #0c89cf;
    color: #ffffff;
    border: 2px solid #0069ab;
}

/* --- Chat Bubbles --- */
.rsi-qa-bubble {
    padding: 25px 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 105, 171, 0.05);
}

/* Small CSS Triangle to point to the avatar */
.rsi-qa-bubble::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    border-style: solid;
    border-width: 10px 12px 10px 0;
}

/* Buyer Bubble Styling */
.rsi-buyer-bubble {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 0; /* Modern chat look */
}

.rsi-buyer-bubble::before {
    border-color: transparent #ffffff transparent transparent;
}

.rsi-qa-title {
    color: #333333;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* Expert Bubble Styling */
.rsi-expert-bubble {
    background-color: #ffffff;
    border-top: 4px solid #0c89cf; /* Brand accent */
    border-bottom-left-radius: 0;
}

.rsi-expert-bubble::before {
    border-color: transparent #ffffff transparent transparent;
}

.rsi-qa-intro {
    color: #555555;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
    .rsi-human-qa {
        padding: 40px 10px;
    }
    
    .rsi-qa-row {
        gap: 15px;
    }
    
    .rsi-qa-avatar {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .rsi-qa-bubble {
        padding: 20px;
    }
    
    .rsi-qa-bubble::before {
        top: 10px; /* Adjust triangle pointer for smaller avatars */
    }
    
    .rsi-qa-title {
        font-size: 16px;
    }
    
    .rsi-qa-intro {
        font-size: 15px;
    }
}















/* ==========================================================================
   17. GLOBAL DIRECTORY (BOXED GRID LAYOUT)
   ========================================================================== */

.rsi-global-directory {
    padding: 70px 20px;
    background-color: #f8fbfe;
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.rsi-directory-header {
    text-align: center;
    margin-bottom: 50px;
}

.rsi-directory-header .rsi-main-heading {
    color: #0069ab;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 40px;
}

/* --- Boxed Grid Wrapper --- */
.rsi-boxed-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Individual Region Box --- */
.rsi-region-box {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.rsi-region-box:hover {
    border-color: #0069ab;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 105, 171, 0.08);
}

.rsi-region-heading {
    color: #0069ab;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 2px solid #f4f9fc;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Spans the last box across full width on desktop --- */
.rsi-span-full {
    grid-column: span 2;
}

/* --- Fluid Country Tags (Pills) --- */
.rsi-country-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rsi-country-tag {
    display: flex;
    align-items: center;
    background: #f4f9fc;
    border: 1px solid rgba(12, 137, 207, 0.1);
    color: #444444;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rsi-country-tag:hover {
    background: #0069ab;
    color: #ffffff;
    border-color: #0069ab;
}

.rsi-country-tag img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .rsi-boxed-wrapper {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .rsi-global-directory {
        padding: 40px 10px;
    }

    .rsi-boxed-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
    }

    .rsi-span-full {
        grid-column: span 1; /* Disable full width on mobile */
    }

    .rsi-directory-header .rsi-main-heading {
        font-size: 24px;
    }
    
    .rsi-region-box {
        padding: 20px;
    }
}



















/* ==========================================================================
   19. CHEMICAL COMPOSITION (PERIODIC TABLE GRID - RESPONSIVE FIX)
   ========================================================================== */

.rsi-chemical-composition {
    padding: 70px 20px;
    background-color: #f8fbfe; 
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Acts as a strict failsafe against container overflow */
}

/* --- The Grid Layout --- */
.rsi-periodic-grid {
    display: grid;
    /* The min(100%, 250px) guarantees it will never overflow even on 320px screens */
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); 
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* --- Individual Element Card --- */
.rsi-element-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 105, 171, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    width: 100%; /* Ensures the card respects the grid boundary */
}

.rsi-element-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 105, 171, 0.12);
}

/* --- The "Periodic Table" Symbol Box --- */
.rsi-element-symbol {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f9fc;
    color: #0069ab;
    border: 2px solid rgba(12, 137, 207, 0.2);
    font-size: 26px;
    font-weight: 800;
    border-radius: 8px;
    position: relative;
    margin-right: 15px; /* Slightly reduced to give text more breathing room */
    flex-shrink: 0; /* Prevents the box from squishing on tiny screens */
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.rsi-atomic-number {
    position: absolute;
    top: 5px;
    left: 6px;
    font-size: 10px;
    font-weight: 600;
    opacity: 0.6;
}

.rsi-symbol-primary {
    background: linear-gradient(135deg, #0069ab, #0c89cf);
    color: #ffffff;
    border: none;
}

.rsi-symbol-iron {
    background: #333333;
    color: #ffffff;
    border: none;
}

.rsi-element-card:hover .rsi-element-symbol:not(.rsi-symbol-primary):not(.rsi-symbol-iron) {
    background: #0069ab;
    color: #ffffff;
    border-color: #0069ab;
}

/* --- Element Details (Text) --- */
.rsi-element-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1; /* Allows it to take remaining space safely */
    overflow-wrap: break-word; /* Forces long text to wrap instead of overflowing */
    word-break: break-word;
    min-width: 0; /* Critical fix for flexbox text overflow */
}

.rsi-element-name {
    color: #777777;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.rsi-element-value {
    color: #333333;
    font-size: 19px; /* Scaled down slightly to prevent wrapping issues */
    font-weight: 800;
    line-height: 1.2;
}

.rsi-value-sub {
    font-size: 13px;
    color: #999999;
    font-weight: 500;
}

/* ==========================================================================
   RESPONSIVE DESIGN (ANTI-OVERFLOW STRICT RULES)
   ========================================================================== */
@media (max-width: 991px) {
    .rsi-periodic-grid {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .rsi-chemical-composition {
        padding: 40px 10px;
    }
    
    .rsi-periodic-grid {
        grid-template-columns: 1fr; /* Forces a strict single column layout on mobile */
    }

    .rsi-element-card {
        padding: 15px;
    }

    .rsi-element-symbol {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-right: 15px;
    }

    .rsi-element-value {
        font-size: 18px;
    }
}





















/* ==========================================================================
   20. EQUIVALENT GRADES (COMPACT 3x3 MICRO-CARD GRID)
   ========================================================================== */

.rsi-compact-grades {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Heebo', sans-serif;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Strict container constraint */
}

/* --- The 3x3 Grid Layout --- */
.rsi-micro-grid {
    display: grid;
    /* Strictly enforces exactly 3 columns on desktop */
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px; /* Kept tight to make the 3 columns look cohesive */
    margin: 0 auto;
    width: 100%;
}

/* --- The Compact Micro-Card --- */
.rsi-micro-card {
    background: #fdfdfd;
    border: 1px solid rgba(0, 105, 171, 0.15);
    border-radius: 6px;
    padding: 20px 15px;
    text-align: center; /* Centers content for a balanced look */
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
    min-width: 0; /* CRITICAL: Prevents flex children from stretching the card */
}

.rsi-micro-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 105, 171, 0.08);
    border-color: rgba(0, 105, 171, 0.4);
    background: #ffffff;
}

/* --- Label (Standard) --- */
.rsi-std-label {
    font-size: 12px;
    color: #888888;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

/* --- Value (Grade Code) --- */
.rsi-std-value {
    font-family: 'Courier New', Courier, monospace; /* Technical font */
    font-size: 19px;
    font-weight: 800;
    color: #0069ab;
    line-height: 1.2;
    /* CRITICAL ANTI-OVERFLOW RULES FOR LONG TEXT */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ==========================================================================
   RESPONSIVE DESIGN (ANTI-OVERFLOW)
   ========================================================================== */
@media (max-width: 991px) {
    .rsi-micro-grid {
        /* Drop to 2 columns on tablets */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .rsi-compact-grades {
        padding: 40px 10px;
    }

    .rsi-micro-grid {
        /* Drop to 1 column on mobile phones to protect the long strings */
        grid-template-columns: 1fr;
    }

    .rsi-micro-card {
        padding: 15px;
    }

    .rsi-std-value {
        font-size: 17px; /* Slightly scaled down to ensure safe wrapping */
    }
}



.rsi-table-showcase .thheading a{
    color: rgb(241, 241, 241);
}