/* ==========================================================================
   STCS SITewide Responsive Bootstrap Overrides & Layout Enhancements
   Ensures seamless responsive adaptation across Mobile, Tablet ("Tap"), and Desktop
   ========================================================================== */

/* ── NAVBAR BOOTSTRAP OVERRIDES ── */
.stcs-navbar {
    background: #ffffff !important;
    border-bottom: 2px solid #2563eb !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    min-height: 80px;
    padding: 10px 0 !important;
    z-index: 1050 !important;
    transition: background 0.3s ease, border-color 0.3s ease;
}

body.dark-mode .stcs-navbar {
    background: #090d16 !important;
    border-bottom: 2px solid rgba(37, 99, 235, 0.4) !important;
}

.stcs-nav-container {
    max-width: 1400px;
    padding: 0 48px !important;
}

.stcs-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

body.dark-mode .stcs-logo {
    content: url('../images/logo-dark.png') !important;
}

.stcs-nav-links .nav-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1e293b !important;
    transition: all 0.2s ease;
    padding: 8px 12px !important;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

body.dark-mode .stcs-nav-links .nav-link {
    color: #cbd5e1 !important;
}

.stcs-nav-links .nav-link:hover,
.stcs-nav-links .nav-link:focus {
    color: #4c1d95 !important;
}

body.dark-mode .stcs-nav-links .nav-link:hover,
body.dark-mode .stcs-nav-links .nav-link:focus {
    color: #a855f7 !important;
}

.stcs-nav-links .nav-link.active {
    color: #581c87 !important;
}

body.dark-mode .stcs-nav-links .nav-link.active {
    color: #c084fc !important;
}

.stcs-nav-actions {
    border: none !important;
}

@media (min-width: 1200px) {
    .stcs-nav-links .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0px;
        left: 12px;
        right: 12px;
        height: 3px;
        background: #581c87;
        border-radius: 3px 3px 0 0;
    }
    body.dark-mode .stcs-nav-links .nav-link.active::after {
        background: #c084fc;
    }
}

@media (min-width: 1400px) {
    .stcs-nav-links .nav-link {
        font-size: 0.95rem;
        padding: 8px 16px !important;
    }
    .stcs-nav-links .nav-link.active::after {
        left: 16px;
        right: 16px;
    }
}

    /* Open dropdown submenus on mouse hover on desktop screens */
    .stcs-nav-links .nav-item.dropdown:hover .dropdown-menu,
    .stcs-nav-links .nav-item.dropdown .dropdown-menu:hover {
        display: block !important;
        margin-top: 0 !important;
        animation: stcsDropdownFadeIn 0.2s ease forwards;
    }
}

@keyframes stcsDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stcs-dropdown-menu {
    border: none !important;
    border-radius: 12px !important;
    padding: 8px !important;
    background: #ffffff !important;
    min-width: 240px;
}

body.dark-mode .stcs-dropdown-menu {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
}

.stcs-dropdown-menu .dropdown-item {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

body.dark-mode .stcs-dropdown-menu .dropdown-item {
    color: #cbd5e1;
}

.stcs-dropdown-menu .dropdown-item:hover,
.stcs-dropdown-menu .dropdown-item:focus {
    background: #f1f5f9;
    color: #4c1d95;
    transform: translateX(3px);
}

body.dark-mode .stcs-dropdown-menu .dropdown-item:hover,
body.dark-mode .stcs-dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05);
    color: #a855f7;
}

.nav-theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    background: rgba(0, 0, 0, 0.03) !important;
    color: #475569 !important;
    font-size: 1.1rem;
    transition: all 0.25s ease;
}

body.dark-mode .nav-theme-toggle {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}

.nav-theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #1e293b !important;
}

body.dark-mode .nav-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fbbf24 !important;
}

.nav-yfibre-btn {
    height: 42px;
    padding: 0 15px;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

body.dark-mode .nav-yfibre-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-yfibre-btn img {
    height: 20px;
    object-fit: contain;
}

.nav-cta {
    padding: 12px 24px;
    border-radius: 8px;
    background: #581c87;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff !important;
    border: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(88, 28, 135, 0.25);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 28, 135, 0.35);
    filter: brightness(1.1);
    color: #ffffff !important;
}

.navbar-toggler {
    color: #1e293b;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
}

body.dark-mode .navbar-toggler {
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

body.dark-mode .navbar-toggler-icon {
    filter: invert(1);
}

/* ── FLUID CONTAINERS & RESPONSIVE PADDING ── */
@media (max-width: 1199.98px) {
    .stcs-nav-container,
    .wrap,
    .ft-grid,
    .container {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }
}

@media (max-width: 991.98px) {
    /* Tablet ("tap") Responsiveness */
    body {
        padding-top: 80px !important;
    }
    
    .stcs-nav-container,
    .wrap,
    .ft-grid,
    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
    
    .stcs-nav-actions {
        width: 100%;
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }
    
    .oh-hero,
    .page-hero {
        padding: 60px 0 !important;
    }
    
    .oh-title,
    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    /* Convert multi-col grids to responsive stacking */
    .ft-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }

    .ft-col:not(:first-child) {
        border-left: none !important;
        padding-left: 0 !important;
    }

    .oha-wrap,
    .ohe-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    .oha-left,
    .oha-right {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (max-width: 767.98px) {
    /* Mobile Responsiveness */
    .stcs-nav-container,
    .wrap,
    .ft-grid,
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .oh-title,
    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    /* Stack grids completely on mobile */
    .ft-grid,
    .ohe-grid,
    .grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    /* Ensure all reveal elements and tall sections like Workforce are 100% visible on mobile */
    .stcs-reveal,
    #professional-services,
    .oh-expertise {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        display: block !important;
    }

    .ps-two-boxes-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-top: 32px !important;
    }

    .ps-subcols-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .ft-col {
        padding-right: 0 !important;
    }
}

/* ── PREVENT HORIZONTAL SCROLLING & ELIMINATE DOUBLE SCROLLBARS ── */
html {
    max-width: 100%;
}
body {
    max-width: 100%;
    width: 100%;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

img, video, iframe {
    max-width: 100% !important;
    height: auto;
}

table {
    display: block;
    overflow-x: auto;
    width: 100%;
}

/* ── UNIVERSAL ANTI-OVERLAP NAVBAR BUTTON FIX ── */
.nav-theme-toggle,
.nav-yfibre-btn,
.nav-cta,
.nav-logo,
.stcs-nav-actions {
    flex-shrink: 0 !important;
}

.stcs-nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

.stcs-nav-actions .nav-theme-toggle,
.stcs-nav-actions .nav-yfibre-btn,
.stcs-nav-actions .nav-cta {
    margin: 0 !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Base Theme Toggle Button Styling */
.nav-theme-toggle {
    height: 42px !important;
    min-height: 42px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    margin: 0 !important;
    transition: all 0.25s ease !important;
}

/* Mobile Header Theme Switcher (Easily Identifiable on Top Bar) */
.stcs-mobile-header-btn {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(99, 102, 241, 0.25) !important;
    background: rgba(99, 102, 241, 0.08) !important;
    color: #4f46e5 !important;
    font-size: 1.15rem !important;
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.1) !important;
    transition: all 0.2s ease !important;
}

body.dark-mode .stcs-mobile-header-btn {
    border: 1.5px solid rgba(251, 191, 36, 0.35) !important;
    background: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.15) !important;
}

/* Desktop Theme Switcher (Icon Only) */
@media (min-width: 1200px) {
    .stcs-mobile-header-btn {
        display: none !important;
    }
    .stcs-theme-btn-menu {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        border-radius: 8px !important;
    }
}

/* Mobile Menu Actions Bar */
@media (max-width: 1199px) {
    .stcs-nav-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
        border-top: 1px solid rgba(148, 163, 184, 0.25) !important;
        gap: 12px !important;
    }
    body.dark-mode .stcs-nav-actions {
        border-top-color: rgba(255, 255, 255, 0.15) !important;
    }
    .stcs-nav-actions .nav-yfibre-btn,
    .stcs-nav-actions .nav-cta {
        width: 100% !important;
        height: 46px !important;
        justify-content: center !important;
    }
}

.nav-yfibre-btn {
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    margin-right: 15px !important;
    white-space: nowrap !important;
    background: #0f172a !important;
    border: 1px solid rgba(249, 115, 22, 0.35) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav-yfibre-btn:hover {
    background: #1e293b !important;
    border-color: #f97316 !important;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.25) !important;
    transform: translateY(-1px) !important;
}

.nav-cta {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* ==========================================================================
   CRITICAL RESPONSIVE & MOBILE PERFORMANCE OPTIMIZATIONS
   Dramatically accelerates site open time, layout calculation, and resizing speed
   ========================================================================== */

/* 1. Prevent layout thrashing and animation stutter during browser window resizing or theme switching */
body.stcs-resizing *,
body.stcs-resizing *::before,
body.stcs-resizing *::after,
body.stcs-theme-switching *,
body.stcs-theme-switching *::before,
body.stcs-theme-switching *::after,
body.stcs-theme-switching [class*="-card"],
body.stcs-theme-switching [class*="card-"],
body.stcs-theme-switching [class*="-box"],
body.stcs-theme-switching [class*="box-"],
body.stcs-theme-switching .stcs-navbar,
body.stcs-theme-switching .hero {
    transition: none !important;
    animation: none !important;
}

/* 2. Hardware acceleration for smooth responsive scrolling and UI rendering on desktop */
.stcs-navbar,
.hero-bg-img,
[class*="-card"]:not([class*="img"]),
[class*="card-"]:not([class*="img"]),
[class*="-box"]:not([class*="checkbox"]),
[class*="box-"]:not([class*="checkbox"]) {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* 3. Optimize image and video rendering across responsive breakpoints */
img, svg, video {
    max-width: 100%;
    height: auto;
    content-visibility: auto;
}

/* 4. Disable CPU-heavy infinite animations & optimize GPU memory on Mobile/Tablet viewports (<= 991px) */
@media (max-width: 991px), (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Free up GPU RAM on mobile devices by removing unnecessary compositing layers from static cards/boxes */
    [class*="-card"]:not([class*="img"]),
    [class*="card-"]:not([class*="img"]),
    [class*="-box"]:not([class*="checkbox"]),
    [class*="box-"]:not([class*="checkbox"]) {
        will-change: auto !important;
        transform: none !important;
    }
    
    /* Keep interactive UI transitions (dropdowns, buttons, modals, accordion) smooth and fast */
    .dropdown-menu,
    .modal,
    .collapse,
    .collapsing,
    .nav-link,
    .btn,
    button,
    a,
    .accordion-button,
    .accordion-collapse {
        transition: opacity 0.15s ease, transform 0.15s ease, background-color 0.15s ease, color 0.15s ease !important;
    }
}

/* 5. Eliminate mobile touch delay on theme toggles */
.nav-theme-toggle {
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
    -webkit-user-select: none !important;
}

/* 6. ABSOLUTE ZERO-LAG THEME SWITCHING OVERRIDE (Highest specificity to stop all transitions during toggle) */
body.stcs-theme-switching,
body.stcs-theme-switching *,
body.stcs-theme-switching *::before,
body.stcs-theme-switching *::after,
body.stcs-theme-switching [class*="-card"],
body.stcs-theme-switching [class*="card-"],
body.stcs-theme-switching [class*="-box"],
body.stcs-theme-switching [class*="box-"],
body.stcs-theme-switching .stcs-navbar,
body.stcs-theme-switching .hero,
body.stcs-theme-switching a,
body.stcs-theme-switching button,
body.stcs-theme-switching .btn,
body.stcs-theme-switching .nav-link,
body.stcs-theme-switching .dropdown-menu,
body.stcs-theme-switching .collapse,
body.stcs-theme-switching .collapsing {
    transition: none !important;
    animation: none !important;
    will-change: auto !important;
}

/* ==========================================================================
   SITEWIDE AUTOMATIC RESPONSIVE ENGINE (ALL PAGES & ALL VIEWPORTS)
   Guarantees 100% automatic responsive adaptation on mobile, tablet & desktop
   ========================================================================== */
html, body {
    max-width: 100% !important;
    position: relative !important;
    -webkit-text-size-adjust: 100% !important;
    -ms-text-size-adjust: 100% !important;
}
body {
    overflow-x: hidden !important;
}

/* 1. Universal Media & Element Scaling */
img, video, iframe, embed, object, svg, canvas {
    max-width: 100% !important;
    height: auto;
}

/* 2. Prevent fixed widths from breaking mobile viewports */
* {
    box-sizing: border-box !important;
}
.container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl,
.row, .col, [class*="col-"], .card, .box, .panel, .wrapper, .section, header, footer, main, article, section {
    max-width: 100% !important;
}

/* 3. Automatic Table & Code Horizontal Scrolling */
table, .table {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem;
}
.table-responsive, table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}
@media (min-width: 768px) {
    table {
        display: table !important;
        overflow-x: visible !important;
    }
}

/* 4. Automatic Word Wrapping & Overflow Prevention */
p, h1, h2, h3, h4, h5, h6, li, span, a, div, blockquote, code, pre, .card-title, .card-text {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word;
}

/* Tablet & Mobile Layout Auto-Corrections (< 992px) */
@media (max-width: 991.98px) {
    .p-5 { padding: 2rem !important; }
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .px-5 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
    .my-5 { margin-top: 2.5rem !important; margin-bottom: 2.5rem !important; }
    
    h1, .h1, .display-1, .display-2, .display-3, .display-4 {
        font-size: clamp(2rem, 5vw, 3rem) !important;
        line-height: 1.25 !important;
    }
    h2, .h2 {
        font-size: clamp(1.6rem, 4vw, 2.25rem) !important;
        line-height: 1.3 !important;
    }
}

/* Mobile Viewport Auto-Corrections (< 768px) */
@media (max-width: 767.98px) {
    h1, .h1, .display-1, .display-2, .display-3, .display-4 {
        font-size: clamp(1.6rem, 6.5vw, 2.25rem) !important;
        line-height: 1.25 !important;
    }
    h2, .h2 {
        font-size: clamp(1.35rem, 5.5vw, 1.8rem) !important;
        line-height: 1.3 !important;
    }
    h3, .h3 {
        font-size: clamp(1.15rem, 4.5vw, 1.45rem) !important;
        line-height: 1.35 !important;
    }
    h4, .h4 {
        font-size: clamp(1.05rem, 4vw, 1.25rem) !important;
    }
    
    .d-flex:not(.flex-row-reverse):not(.nav-theme-toggle):not(.stcs-mobile-header-btn):not(.navbar-nav):not(.btn-group):not(.badge):not(.stcs-nav-actions):not(.navbar) {
        flex-wrap: wrap !important;
    }
    
    .card, .stcs-card, .offering-card, .insight-card, .feature-box, .stat-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .p-5, .p-4 { padding: 1.25rem !important; }
    .py-5, .py-4 { padding-top: 1.75rem !important; padding-bottom: 1.75rem !important; }
    .px-5, .px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
    .my-5, .my-4 { margin-top: 1.75rem !important; margin-bottom: 1.75rem !important; }
    .section-padding, .section-py { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

/* ── OFFERINGS HERO & FEATURE BAR RESPONSIVE OVERRIDES ── */
@media (max-width: 991.98px) {
    .oh-hero {
        min-height: auto !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding-top: 100px !important;
        padding-bottom: 40px !important;
        margin-bottom: 40px !important;
    }
    .oh-content {
        width: 100% !important;
        position: relative !important;
    }
    .oh-left {
        max-width: 100% !important;
        padding-top: 15px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    .oh-float-icon {
        display: none !important;
    }
    .oh-bottom {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-top: 20px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        z-index: 20 !important;
    }
    .oh-feature-bar {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 24px 28px !important;
        border-radius: 16px !important;
    }
    .ohfb-item {
        border-right: none !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 767.98px) {
    .oh-hero {
        padding-top: 85px !important;
        padding-bottom: 25px !important;
        margin-bottom: 30px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .oh-content {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .oh-left {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 10px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    /* FIRST IMAGE SECTION: 4 Mini Cards in a Row */
    .oh-mini-cards {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        margin-top: 15px !important;
        margin-bottom: 16px !important;
    }
    .oh-mcard {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 85px !important;
        padding: 10px 4px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    }
    .oh-mcard .ohm-icon {
        font-size: 1.35rem !important;
    }
    .oh-mcard span {
        font-size: 0.72rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        text-align: center !important;
        line-height: 1.15 !important;
        white-space: normal !important;
    }
    /* SECOND IMAGE SECTION: Feature Bar Directly Under First Section */
    .oh-bottom {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        z-index: 10 !important;
    }
    .oh-feature-bar {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px 14px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07) !important;
        width: 100% !important;
        margin-top: 0 !important;
    }
    .ohfb-item {
        width: 100% !important;
        flex: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        padding-right: 0 !important;
        padding-bottom: 12px !important;
    }
    .ohfb-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }
    .ohfb-icon {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        font-size: 1.2rem !important;
        border-radius: 10px !important;
        flex-shrink: 0 !important;
    }
    .ohfb-text {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .ohfb-text h4 {
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        color: #1e293b !important;
        margin-bottom: 2px !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    .ohfb-text p {
        font-size: 0.78rem !important;
        color: #64748b !important;
        line-height: 1.35 !important;
        margin-bottom: 0 !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }
    body.dark-mode .ohfb-item {
        border-bottom: 1px solid #1e293b !important;
    }
}

@media (max-width: 360px) {
    .oh-mini-cards {
        gap: 5px !important;
    }
    .oh-mcard span {
        font-size: 0.65rem !important;
    }
}
