.somnath-subbanner-hero {
    width: 100%;
    height: 360px; /* Reduced banner height for a sleeker look */
    position: relative;
    background: linear-gradient(rgba(15, 23, 42, 0.59), rgba(15, 23, 42, 0.645)), 
                url('/assets/images/policy/subbanner.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* --- Container Core Rules --- */
.somnath-subbanner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 100%;
}

/* --- White Floating Content Card (Decreased Size) --- */
.somnath-subbanner-card {
    background-color: #ffffff;
    padding: 25px 40px 30px 40px; /* Decreased internal padding for smaller size */
    width: 100%;
    max-width: 360px; /* Decreased maximum width from 440px to 360px */
    position: absolute;
    bottom: 0;
    left: 20px; 
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 5;
    border-top: 4px solid var(--text-ocan); 
}

/* --- Core Typography Styles --- */
.somnath-subbanner-title {
    font-size: 34px; /* Slightly reduced font size for compact look */
    font-weight: 700;
    color: #000;
    margin-bottom: 6px; /* Decreased bottom margin */
    letter-spacing: -0.5px;
}

.somnath-subbanner-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #64748b;
}

.somnath-subbanner-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
}

.somnath-subbanner-link:hover {
   background-image: var(--gredient-bg);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      width: fit-content;
      transition: 0.3 all ease-in-out;
}

/* Red colored custom CSS arrow matching the design source */
.somnath-subbanner-separator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text-ocan); 
    border-top: 2px solid var(--text-ocan);
    transform: rotate(45deg);
    margin: 0 10px;
}

.somnath-subbanner-active {
    background-image: var(--gredient-bg);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      -webkit-text-fill-color: transparent;
      width: fit-content;
    font-weight: 600;
}


/* ==========================================================================
   CRITICAL RESPONSIVE BREAKPOINT - EXACT MATCH WITH MOBILE SCREENSHOT LAYOUT
   ========================================================================== */

@media (max-width: 768px) {
    .somnath-subbanner-hero {
        height: 300px; /* Scaled down hero banner for mobile */
    }

    .somnath-subbanner-container {
        padding: 0;
        max-width: 96%;
    }

    /* Full-width but compact height layout for mobile card */
    .somnath-subbanner-card {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%; 
        padding: 20px 20px 25px 20px; /* Reduced padding on mobile to make it perfectly slim */
        border-radius: 0;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.15);
        border-top: none; 
    }

    .somnath-subbanner-title {
        font-size: 28px;
        margin-bottom: 6px;
        text-align: left;
    }

    .somnath-subbanner-breadcrumb {
        justify-content: flex-start;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .somnath-subbanner-hero {
        height: 260px; /* Extremely sleek height for smaller smartphones */
    }

    .somnath-subbanner-card {
        padding: 15px 15px 20px 15px; /* Minimum padding for small screens */
    }

    .somnath-subbanner-title {
        font-size: 26px;
    }
}