.inner-page-hero {
    position: relative;
    /* 180px top padding ensures it completely clears your sticky navbar */
    padding: 180px 0 60px;  
    background-color: var(--color-dark-navy);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image & Gradient Overlay */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a cool parallax effect when scrolling */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Rich Navy to Green gradient overlay */
    background: linear-gradient(135deg, rgba(26, 43, 60, 0.92) 0%, rgba(26, 43, 60, 0.85) 50%, rgba(46, 204, 113, 0.4) 100%);
    z-index: 2;
}

/* Floating Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    filter: blur(40px);
    z-index: 2;
    animation: floatUpDown 6s infinite ease-in-out;
}
.hero-shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.hero-shape-2 { width: 250px; height: 250px; bottom: -50px; right: -50px; animation-delay: 2s; }

/* Title Styling */
.inner-page-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 15px;
}

/* --- Frosted Glass Breadcrumb --- */
.custom-breadcrumb {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Creates the frosted glass look */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-breadcrumb li {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.custom-breadcrumb a {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: var(--color-primary); /* Turns EVS green on hover */
}

.custom-breadcrumb .separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.custom-breadcrumb .current {
    color: var(--color-primary); /* The current page is highlighted in Green */
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 991px) {
    .inner-page-hero {
        padding: 180px 0 80px;
    }
    .inner-page-title {
        font-size: 42px;
    }
    .custom-breadcrumb {
        padding: 10px 20px;
    }
    .custom-breadcrumb li {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .inner-page-hero {
        padding: 150px 0 60px; /* Clears mobile navbar */
    }
    .inner-page-title {
        font-size: 32px;
        margin-top: 50px;
    }
    .custom-breadcrumb {
        padding: 10px 15px;
        flex-wrap: wrap; /* Allows breadcrumbs to wrap if they get too long on tiny phones */
        justify-content: center;
        gap: 5px;
        border-radius: 12px; /* Less pill-like, more box-like on phones to save space */
    }
    .custom-breadcrumb .separator {
        margin: 0 5px;
    }
}

/* EVS CBG Article Component Styles */
.evs-cbg-article-wrapper {
    /* Inherits font-family from your main CSS so it matches EVS branding */
    max-width: 1200px;
    margin: 0 auto; 
    padding: 0 15px; /* Added padding to prevent text from touching screen edges */
    color: #4b5563;
    line-height: 1.6;
}

.evs-cbg-title {
    color: #1f2937; 
    font-size: 2.25rem;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.evs-cbg-meta {
    font-size: 0.875rem;
    color: #6b7280; 
    margin-bottom: 2rem;
    font-weight: 500;
}

.evs-cbg-author {
    color: #374151;
    font-weight: 600;
}

.evs-cbg-divider {
    margin: 0 4px;
}

.evs-cbg-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: justify;
}

.evs-cbg-subtitle {
    color: #1f2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Custom Bullet Points for EVS CBG List */
.evs-cbg-questions-list {
    list-style: none; /* Removes the default browser bullets */
    padding-left: 0;
    margin: 0;
}

.evs-cbg-question-item {
    position: relative;
    padding-left: 1.5rem; /* Creates space for our custom bullet */
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* Designing the custom point */
.evs-cbg-question-item::before,
.evs-cbg-content-item::before {
    content: "•"; 
    color: #10b981; /* An eco-friendly green color */
    font-size: 1.5rem; /* Makes the dot a bit larger */
    line-height: 1.1; 
    position: absolute;
    left: 0;
    top: -2px; 
}

/* EVS CBG Inner Section Styles */
.evs-cbg-section-title {
    color: #4b5563; 
    font-size: 1.125rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.evs-cbg-content-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.5rem 0;
}

.evs-cbg-content-item {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.evs-cbg-content-item a {
    color: #2563eb; /* Standard hyperlink blue */
    text-decoration: none;
}

.evs-cbg-content-item a:hover {
    text-decoration: underline;
}

/* EVS Contact Highlight Box */
.evs-cbg-contact-box {
    background-color: #f9fafb; 
    border-left: 4px solid #10b981; 
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0; 
}

.evs-cbg-contact-title {
    color: #1f2937;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.evs-cbg-contact-text {
    margin: 0.25rem 0;
    font-size: 1rem;
    color: #4b5563;
}

.evs-cbg-contact-text a {
    color: #10b981; 
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.evs-cbg-contact-text a:hover {
    color: #059669; 
    text-decoration: underline;
}

/* EVS Responsive Table Styles */
.evs-cbg-table-responsive {
    width: 100%;
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); 
    border-radius: 0.5rem; 
}

.evs-cbg-table {
    width: 100%;
    min-width: 650px; 
    border-collapse: collapse;
    background-color: #ffffff;
    text-align: left;
    font-size: 0.95rem;
}

.evs-cbg-th {
    background-color: #f3f4f6; 
    color: #1f2937;
    font-weight: 600;
    padding: 1rem;
    border-bottom: 2px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
}

.evs-cbg-td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    vertical-align: top;
}

.evs-cbg-table th:not(:last-child),
.evs-cbg-table td:not(:last-child) {
    border-right: 1px solid #e5e7eb;
}

.evs-cbg-category {
    font-weight: 600;
    color: #374151;
    background-color: #fafafa; 
    vertical-align: middle; 
}

.evs-cbg-table tbody tr:hover {
    background-color: #f9fafb;
}

/* EVS Process Step Headings */
.evs-cbg-process-step {
    color: #374151; 
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

/* EVS CBG Example Block Styles */
.evs-cbg-example {
    background-color: #f8fafc; 
    border-left: 3px solid #10b981; 
    padding: 0.75rem 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #4b5563;
    border-radius: 0 0.25rem 0.25rem 0;
}

.evs-cbg-example strong {
    color: #374151; 
}

/* EVS Table Inner List Styles */
.evs-cbg-table-list {
    margin: 0;
    padding-left: 1.25rem;
    list-style-type: disc; 
}

.evs-cbg-table-list li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.evs-cbg-table-list li:last-child {
    margin-bottom: 0; 
}


/* =========================================================
   COMPREHENSIVE MOBILE RESPONSIVE ADJUSTMENTS
   ========================================================= */
@media (max-width: 768px) {
    /* Adjust overall wrapper padding for smaller screens */
    .evs-cbg-article-wrapper {
        padding: 0 10px;
    }

    /* Scale down main headings */
    .evs-cbg-title {
        font-size: 1.75rem;
        margin-top: 15px;
    }
    
    .evs-cbg-subtitle {
        font-size: 1.35rem;
    }

    .evs-cbg-section-title {
        font-size: 1.1rem;
        margin-top: 1.5rem;
    }

    /* Meta text adjustments for neat wrapping on narrow screens */
    .evs-cbg-meta {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.8;
    }

    /* Adjust list margins and padding to save horizontal space */
    .evs-cbg-question-item,
    .evs-cbg-content-item {
        padding-left: 1.25rem;
    }
    
    .evs-cbg-question-item::before,
    .evs-cbg-content-item::before {
        font-size: 1.25rem; /* Slightly smaller bullet point */
        top: 0;
    }

    /* Shrink the contact box padding */
    .evs-cbg-contact-box {
        padding: 1rem;
        margin: 1rem 0;
    }

    .evs-cbg-contact-title {
        font-size: 1.15rem;
    }

    /* Table adjustments */
    .evs-cbg-th, 
    .evs-cbg-td {
        padding: 0.75rem; /* Smaller cell padding */
        font-size: 0.9rem; /* Slightly smaller text to fit more in the screen */
    }
    
    /* Ensure the table responsive container has borders so it looks contained while scrolling */
    .evs-cbg-table-responsive {
        border: 1px solid #e5e7eb;
    }

    /* Example block padding adjustments */
    .evs-cbg-example {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
}

/* Extra small devices (phones in portrait mode) */
@media (max-width: 480px) {
    .evs-cbg-title {
        font-size: 1.5rem;
    }
    .evs-cbg-subtitle {
        font-size: 1.2rem;
    }
    .evs-cbg-intro {
        text-align: left; /* Full justify can look bad on very narrow screens, reverting to left alignment */
    }
}

/* --- New Additions for Biomass Gasifier Layout --- */

/* Hero Image Styling */
.evs-cbg-hero-image {
    width: 100%;
    height:450px ;
    display: block;
    object-fit: cover;
    margin-bottom: 2rem;
    border-radius: 0.5rem; /* Matches the soft rounded corners of other elements */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Promo Link Styling */
.evs-cbg-promo {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.evs-cbg-promo-link {
    color: #10b981; /* EVS Green */
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.evs-cbg-promo-link:hover {
    color: #059669; /* Darker green on hover */
    text-decoration: underline;
}

/* Table of Contents Layout (Side by Side) */
.evs-cbg-toc-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.evs-cbg-toc-content {
    flex: 1 1 300px; /* Takes up space, minimum 300px before wrapping */
}

.evs-cbg-toc-graphics {
    flex: 1 1 300px;
    display: flex;
    justify-content: center; /* Centers the image */
}

.evs-cbg-toc-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12%;
}

/* Standard Numbered List for TOC */
.evs-cbg-toc-list {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.evs-cbg-toc-list li {
    font-size: 0.95rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Responsive adjustment for the TOC layout */
@media (max-width: 768px) {
    .evs-cbg-promo-link {
        font-size: 1rem;
    }
    
    .evs-cbg-toc-container {
        flex-direction: column; /* Stacks the list on top of the image on mobile */
        gap: 1.5rem;
    }
}

/* Gasifier Process Flowchart Styles */
.evs-gasifier-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
}

.flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

.flow-box {
    background-color: #275316e0; /* Green from the image */
    color: #ffffff;
    padding: 15px 10px;
    width: 140px;
    text-align: center;
    border: 2px solid #8bcb73;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.flow-arrow {
    padding: 0 10px;
    font-size: 1.5rem;
    color: #374151;
}

.vertical-down {
    height: 30px;
    display: flex;
    align-items: center;
}

.flow-spacer {
    width: 160px; /* Matches box + arrow width for alignment */
}

/* Mobile Responsive Flowchart */
@media (max-width: 768px) {
    .flow-row {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    .reverse-row {
        flex-direction: column;
    }
    .reverse-row .flow-arrow {
        transform: rotate(90deg);
    }
    .connector-row {
        display: none;
    }
    .flow-box {
        width: 80%;
    }
}

.evs-data-table{
width:100%;
border-collapse:collapse;
margin-top:20px;
font-size:15px;
}

.evs-data-table th{
background:#0f3b2e;
color:#fff;
padding:12px;
text-align:left;
}

.evs-data-table td{
border:1px solid #dcdcdc;
padding:12px;
vertical-align:top;
}

.evs-data-table tr:nth-child(even){
background:#f7f7f7;
}


/* Responsive image styling */
.evs-responsive-map {
    max-width: 100%; /* Ensures the image shrinks on small screens */
    height: 600px;    /* Maintains the aspect ratio */
    display: block;
    object-fit: contain;
    margin: 0 auto;  /* Centers the block-level image */
    border: 1px solid #ddd;
}


.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 0rem !important;
}
.mb-5 {
    margin-bottom: 1rem !important;
}