/* USInfoHub Location-Based Yahoo-Style Homepage Grids */

/* -------------------------------------------------------------------------
   0. Header Navbar Compatibility (Prevents switcher overlap on desktop & mobile)
   ------------------------------------------------------------------------- */
.menu-area,
.menu-area .top-menu-area,
.menu-area .top-menu-area .menu-fullwidth {
    z-index: 99999 !important;
    overflow: visible !important;
}

@media (min-width: 992px) {
    .menu-area .top-menu-area .menu-fullwidth {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 14px !important;
    }
    .menu-area .top-menu-area .menu-fullwidth .logo-wrapper {
        width: auto !important;
        flex: 0 0 auto !important;
    }
    .menu-area .top-menu-area .menu-fullwidth .menu-container {
        width: auto !important;
        flex: 1 1 0% !important;
        min-width: 0 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    .menu-area .top-menu-area .menu-fullwidth .d_menu {
        padding-left: 12px !important;
        padding-right: 8px !important;
    }
    .menu-area .top-menu-area .menu-fullwidth .menu-right {
        width: auto !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        white-space: nowrap !important;
        position: relative !important;
        z-index: 99999 !important;
    }
}

.usinfohub-mobile-loc-strip {
    display: none !important;
}

@media (max-width: 991px) {
    .menu-right .usinfohub-header-loc-wrap {
        display: none !important;
    }
    .usinfohub-mobile-loc-strip {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 6px 15px !important;
        background-color: #f8fafc !important;
        border-top: 1px solid #e2e8f0 !important;
        border-bottom: 1px solid #e2e8f0 !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        color: #334155 !important;
    }
    .usinfohub-mobile-loc-strip > span {
        color: #334155 !important;
    }
}

/* -------------------------------------------------------------------------
   1. Header Location Switcher ([usinfohub_location_switcher])
   ------------------------------------------------------------------------- */
.usinfohub-lg-switcher {
    position: relative !important;
    display: inline-block !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    z-index: 9990 !important;
}

.usinfohub-lg-switcher .usinfohub-lg-switcher-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9999px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    cursor: pointer !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
    transition: border-color 0.15s ease, background-color 0.15s ease !important;
}

.usinfohub-lg-switcher .usinfohub-lg-switcher-btn:hover {
    background-color: #f8fafc !important;
    border-color: #94a3b8 !important;
}

.usinfohub-lg-switcher .usinfohub-lg-switcher-btn span {
    color: #0f172a !important;
}

.usinfohub-lg-switcher .usinfohub-lg-switcher-panel {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    width: 340px !important;
    max-width: calc(100vw - 24px) !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18) !important;
    padding: 12px !important;
    z-index: 99999 !important;
}

.usinfohub-lg-switcher .usinfohub-lg-switcher-panel[hidden] {
    display: none !important;
}

.usinfohub-lg-panel-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
}

.usinfohub-lg-panel-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.usinfohub-lg-panel-close {
    background: transparent !important;
    border: none !important;
    color: #475569 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    padding: 2px 6px !important;
    cursor: pointer !important;
}

.usinfohub-lg-panel-search-wrap {
    margin-bottom: 10px !important;
}

input.usinfohub-lg-panel-search {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    background-color: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
}

input.usinfohub-lg-panel-search:focus {
    outline: none !important;
    border-color: #1d4ed8 !important;
    background-color: #ffffff !important;
}

.usinfohub-lg-state-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    max-height: 270px !important;
    overflow-y: auto !important;
    padding-right: 2px !important;
}

.usinfohub-lg-state-option {
    text-align: left !important;
    padding: 7px 9px !important;
    border-radius: 6px !important;
    border: 1px solid transparent !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.12s ease !important;
}

.usinfohub-lg-state-option span {
    color: inherit !important;
}

.usinfohub-lg-state-option.usinfohub-lg-state-national {
    grid-column: 1 / -1 !important;
    background-color: #f1f5f9 !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
}

.usinfohub-lg-state-option:hover {
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
}

.usinfohub-lg-state-option.is-active {
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

.usinfohub-lg-state-option.is-active span {
    color: #ffffff !important;
}

@media (max-width: 600px) {
    .usinfohub-lg-switcher .usinfohub-lg-switcher-panel {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        right: 0 !important;
        left: auto !important;
        transform: none !important;
        width: 320px !important;
        max-width: calc(100vw - 24px) !important;
        max-height: 70vh !important;
        overflow-y: auto !important;
    }
}

/* -------------------------------------------------------------------------
   2. Shared Section Header & Wrap
   ------------------------------------------------------------------------- */
.usinfohub-lg-wrap {
    width: 100% !important;
    margin: 0 0 32px 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #0f172a !important;
    overflow-x: clip !important;
}

.usinfohub-lg-nbr-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 9px !important;
    background-color: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9999px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.usinfohub-lg-news-expanded {
    margin-top: 16px !important;
}

/* Right-to-Left Slide Animation for Grid Items */
@keyframes usinfohubSlideRTL {
    0% {
        opacity: 0;
        transform: translate3d(56px, 0, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.usinfohub-lg-wrap.is-slide-pending .usinfohub-lg-anim-item {
    opacity: 0 !important;
    transform: translate3d(56px, 0, 0) !important;
}

.usinfohub-lg-wrap.is-slide-in .usinfohub-lg-anim-item {
    animation: usinfohubSlideRTL 0.52s cubic-bezier(0.22, 1, 0.36, 1) both !important;
    animation-delay: calc(var(--lg-idx, 0) * 55ms) !important;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    .usinfohub-lg-wrap.is-slide-pending .usinfohub-lg-anim-item {
        opacity: 1 !important;
        transform: none !important;
    }
    .usinfohub-lg-wrap.is-slide-in .usinfohub-lg-anim-item {
        animation: none !important;
    }
}

.usinfohub-lg-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-bottom: 10px !important;
    margin-bottom: 16px !important;
    border-bottom: 2px solid #0f172a !important;
}

.usinfohub-lg-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

h2.usinfohub-lg-section-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
}

.usinfohub-lg-loc-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 3px 9px !important;
    background-color: #eff6ff !important;
    color: #1d4ed8 !important;
    border: 1px solid #bfdbfe !important;
    border-radius: 9999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

a.usinfohub-lg-view-all {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

a.usinfohub-lg-view-all:hover {
    color: #1e40af !important;
    text-decoration: underline !important;
}

.usinfohub-lg-meta-line {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    color: #475569 !important;
    margin-bottom: 6px !important;
}

.usinfohub-lg-meta-line span {
    color: #475569 !important;
}

.usinfohub-lg-meta-cat,
.usinfohub-lg-meta-loc {
    font-weight: 700 !important;
    color: #1d4ed8 !important;
}

/* -------------------------------------------------------------------------
   3. Shortcode 1: Yahoo Hero Bento Grid ([usinfohub_news_bento])
   Desktop: 50% | 25% | 25%, 16px gap
   ------------------------------------------------------------------------- */
.usinfohub-lg-bento {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 16px !important;
    align-items: start !important;
}

.usinfohub-lg-lead-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.usinfohub-lg-lead-media {
    position: relative !important;
    display: block !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background-color: #0f172a !important;
}

.usinfohub-lg-lead-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    color: #ffffff !important;
}

.usinfohub-lg-cat-badge {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    padding: 4px 10px !important;
    background-color: #1d4ed8 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

.usinfohub-lg-lead-body {
    padding: 14px 16px 16px 16px !important;
}

h3.usinfohub-lg-lead-title {
    margin: 0 0 8px 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

h3.usinfohub-lg-lead-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

h3.usinfohub-lg-lead-title a:hover {
    color: #1d4ed8 !important;
}

p.usinfohub-lg-lead-excerpt {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #334155 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Col 2: 2 Stacked Compact Stories */
.usinfohub-lg-bento-mid {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}

.usinfohub-lg-mid-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
}

.usinfohub-lg-mid-media {
    display: block !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    background-color: #0f172a !important;
}

.usinfohub-lg-mid-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    color: #ffffff !important;
}

.usinfohub-lg-mid-body {
    padding: 10px 12px 12px 12px !important;
}

h3.usinfohub-lg-mid-title {
    margin: 0 !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

h3.usinfohub-lg-mid-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

h3.usinfohub-lg-mid-title a:hover {
    color: #1d4ed8 !important;
}

/* Col 3: 4 Text-Only Recent Headlines */
.usinfohub-lg-bento-list {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 4px 14px !important;
}

.usinfohub-lg-headline-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid #E5E7EB !important;
}

.usinfohub-lg-headline-item:last-child {
    border-bottom: none !important;
}

h3.usinfohub-lg-headline-title {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.38 !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

h3.usinfohub-lg-headline-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

h3.usinfohub-lg-headline-title a:hover {
    color: #1d4ed8 !important;
}

@media (max-width: 991px) {
    .usinfohub-lg-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .usinfohub-lg-bento-lead {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 640px) {
    .usinfohub-lg-bento {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* -------------------------------------------------------------------------
   4. Shortcode 2: Text-First Compact Jobs Grid ([usinfohub_jobs_grid])
   2-column desktop, 1-column mobile
   ------------------------------------------------------------------------- */
.usinfohub-lg-jobs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.usinfohub-lg-job-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-left: 3px solid #1d4ed8 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.usinfohub-lg-job-card:hover {
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}

.usinfohub-lg-job-top {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
}

h3.usinfohub-lg-job-title {
    margin: 0 !important;
    font-size: 15.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
}

h3.usinfohub-lg-job-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

h3.usinfohub-lg-job-title a:hover {
    color: #1d4ed8 !important;
}

.usinfohub-lg-salary-pill {
    flex-shrink: 0 !important;
    padding: 3px 8px !important;
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

.usinfohub-lg-job-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    font-size: 12.5px !important;
    color: #334155 !important;
}

.usinfohub-lg-job-company {
    font-weight: 600 !important;
    color: #0f172a !important;
}

.usinfohub-lg-job-loc {
    color: #334155 !important;
}

.usinfohub-lg-tag-pill {
    padding: 2px 7px !important;
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
}

.usinfohub-lg-job-time {
    margin-left: auto !important;
    color: #64748b !important;
    font-size: 12px !important;
}

@media (max-width: 767px) {
    .usinfohub-lg-jobs-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* -------------------------------------------------------------------------
   5. Shortcodes 3 & 4: Real Estate & Classifieds 3-Column High-Density Grids
   ------------------------------------------------------------------------- */
.usinfohub-lg-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
}

.usinfohub-lg-media-card {
    background-color: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    transition: box-shadow 0.15s ease !important;
}

.usinfohub-lg-media-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
}

.usinfohub-lg-card-media {
    position: relative !important;
    display: block !important;
    aspect-ratio: 16 / 10 !important;
    overflow: hidden !important;
    background-color: #0f172a !important;
}

.usinfohub-lg-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    color: #ffffff !important;
}

.usinfohub-lg-badge-tl {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    padding: 3px 8px !important;
    background-color: rgba(15, 23, 42, 0.88) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

.usinfohub-lg-price-bl {
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    padding: 4px 10px !important;
    background-color: rgba(15, 23, 42, 0.92) !important;
    color: #ffffff !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.usinfohub-lg-price-bl.is-free {
    background-color: #15803d !important;
    color: #ffffff !important;
}

.usinfohub-lg-card-body {
    padding: 12px 14px 14px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

h3.usinfohub-lg-card-title {
    margin: 0 0 8px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

h3.usinfohub-lg-card-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

h3.usinfohub-lg-card-title a:hover {
    color: #1d4ed8 !important;
}

.usinfohub-lg-card-specs {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    color: #334155 !important;
    margin-bottom: 8px !important;
}

.usinfohub-lg-card-specs span,
.usinfohub-lg-card-specs strong {
    color: #0f172a !important;
}

.usinfohub-lg-card-foot {
    margin-top: auto !important;
    padding-top: 8px !important;
    border-top: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 12px !important;
    color: #475569 !important;
}

.usinfohub-lg-card-foot span {
    color: #475569 !important;
}

.usinfohub-lg-empty {
    padding: 20px !important;
    background-color: #f8fafc !important;
    border: 1px dashed #cbd5e1 !important;
    border-radius: 8px !important;
    color: #334155 !important;
    font-size: 14px !important;
    text-align: center !important;
}

/* -------------------------------------------------------------------------
   6. Auto-Sliding Right-to-Left Multi-Row Carousels
   ------------------------------------------------------------------------- */
.usinfohub-lg-header-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}

.usinfohub-lg-carousel-nav {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.usinfohub-lg-carousel-nav.is-carousel-inactive {
    display: none !important;
}

button.usinfohub-lg-nav-btn {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

button.usinfohub-lg-nav-btn span {
    color: inherit !important;
    line-height: 1 !important;
    display: block !important;
}

button.usinfohub-lg-nav-btn:hover,
button.usinfohub-lg-nav-btn:focus-visible {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    outline: none !important;
}

.usinfohub-lg-viewport {
    overflow: hidden !important;
    width: 100% !important;
    position: relative !important;
}

.usinfohub-lg-news-expanded-wrap {
    margin-top: 16px !important;
}

.usinfohub-lg-track {
    display: flex !important;
    align-items: stretch !important;
    gap: 16px !important;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform;
}

.usinfohub-lg-track.is-no-transition {
    transition: none !important;
}

.usinfohub-lg-jobs-track {
    gap: 14px !important;
}

.usinfohub-lg-slide-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

.usinfohub-lg-jobs-track .usinfohub-lg-slide-col {
    gap: 12px !important;
    flex: 0 0 calc((100% - 14px) / 2) !important;
}

.usinfohub-lg-cards-viewport .usinfohub-lg-slide-col {
    flex: 0 0 calc((100% - 32px) / 3) !important;
}

.usinfohub-lg-slide-col > .usinfohub-lg-media-card,
.usinfohub-lg-slide-col > .usinfohub-lg-job-card {
    flex: 1 1 auto !important;
}

.usinfohub-lg-viewport .usinfohub-lg-anim-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

@media (max-width: 991px) {
    .usinfohub-lg-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .usinfohub-lg-cards-viewport .usinfohub-lg-slide-col {
        flex: 0 0 calc((100% - 16px) / 2) !important;
    }
}

@media (max-width: 767px) {
    .usinfohub-lg-jobs-track .usinfohub-lg-slide-col {
        flex: 0 0 100% !important;
    }
}

@media (max-width: 640px) {
    .usinfohub-lg-header {
        flex-wrap: wrap !important;
    }

    .usinfohub-lg-cards-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .usinfohub-lg-cards-viewport .usinfohub-lg-slide-col {
        flex: 0 0 100% !important;
    }
}
