/* ==========================================================================
   EduBridge Redesign – Phase 1+2
   Educator Listing: 2-column card grid, sidebar reorder, styling
   ========================================================================== */
::marker {
    content: '' !important;
}

/* --------------------------------------------------------------------------
   1. Card Grid Layout
   -------------------------------------------------------------------------- */

.edubridge-candidate-grid .jobsearch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
}

.edubridge-candidate-grid .jobsearch-row>li {
    width: 100%;
    padding: 0;
    float: none;
}

/* Override plugin's column widths for grid view */
.edubridge-candidate-grid .jobsearch-column-6 {
    width: 100%;
}

.edubridge-candidate-grid .jobsearch-column-12 {
    grid-column: span 2;
    grid-row: span 1;
}

/* --------------------------------------------------------------------------
   2. Card Styling
   -------------------------------------------------------------------------- */

.edubridge-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    .edubridge-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-color: rgba(58, 32, 97, 0.2);
    }
}

/* Featured card – amber accent */
.edubridge-featured-card {
    border-left: 3px solid var(--eb-accent, #f4a226);
}

.edubridge-featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--eb-accent, #f4a226);
    border-radius: 8px 0 0 8px;
}

/* --------------------------------------------------------------------------
   3. Featured Badge
   -------------------------------------------------------------------------- */

.edubridge-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--eb-accent, #f4a226);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edubridge-featured-badge .fa-star {
    font-size: 9px;
}

/* --------------------------------------------------------------------------
   4. Card Figure (Photo)
   -------------------------------------------------------------------------- */

.edubridge-card-figure {
    text-align: center;
    margin-bottom: 16px;
}

.edubridge-card-figure a {
    display: inline-block;
}

.edubridge-card-figure img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8ecf1;
}

/* --------------------------------------------------------------------------
   5. Card Body
   -------------------------------------------------------------------------- */

.edubridge-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.edubridge-card-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 6px;
    text-align: center;
    line-height: 1.35;
}

.edubridge-card-name a {
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
}

.edubridge-card-name a:hover {
    color: var(--eb-primary, #3a2061);
}

.edubridge-verified-badge {
    color: var(--eb-success, #4ecb71) !important;
    font-size: 14px;
    margin-left: 4px;
    vertical-align: middle;
}

/* --------------------------------------------------------------------------
   6. Card Meta (title, location)
   -------------------------------------------------------------------------- */

.edubridge-card-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    text-align: center;
}

.edubridge-card-jobtitle {
    font-size: 14px;
    color: var(--eb-body-muted, #6b7a99);
    margin-bottom: 3px;
}

.edubridge-card-location {
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
    text-align: center;
}

.edubridge-card-location i {
    font-size: 12px;
    margin-right: 3px;
}

/* --------------------------------------------------------------------------
   7. Sector Chips
   -------------------------------------------------------------------------- */

.edubridge-sector-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.edubridge-sector-chips li {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 12px;
    background: var(--eb-primary-light, rgba(58, 32, 97, 0.08));
    color: var(--eb-primary, #3a2061);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.5;
}

.edubridge-sector-chips i {
    display: none;
    /* hide icons in chips for cleaner look */
}

/* --------------------------------------------------------------------------
   8. Stats Row (experience, education)
   -------------------------------------------------------------------------- */

.edubridge-card-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-card-stats li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edubridge-card-stats .fa {
    font-size: 13px;
    color: var(--eb-primary, #3a2061);
}

/* --------------------------------------------------------------------------
   9. Card Actions (Save button)
   -------------------------------------------------------------------------- */

.edubridge-card-actions {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
    text-align: center;
}

.edubridge-card-actions a,
.edubridge-card-actions .jobsearch-candidate-default-wrap a {
    display: inline-block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-card-actions a:hover,
.edubridge-card-actions .jobsearch-candidate-default-wrap a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* Keep plugin save-btn styled if they use different classes */
.edubridge-card-actions .jobsearch-candidate-save-btn,
.edubridge-card-actions .jobsearch-resume-add-list-btn {
    display: inline-block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

/* --------------------------------------------------------------------------
   10. Sidebar – Filter Header, Search & Footer
   -------------------------------------------------------------------------- */

/* Filter header: "X Filters Active" + Clear All link */
.edubridge-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    margin-bottom: 14px;
    background: transparent;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-primary, #3a2061);
    border: none;
}

.edubridge-filters-header .edubridge-filters-count {
    color: var(--eb-primary, #3a2061);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.edubridge-filters-header .edubridge-filters-count::before {
    content: '\f0b0';
    font-family: 'FontAwesome';
    font-size: 16px;
    opacity: 0.8;
}

.edubridge-filters-header .edubridge-filters-clear {
    color: var(--eb-accent, #f4a226);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-filter-clear-btn {
    color: var(--eb-accent, #f4a226);
    text-decoration: none;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease;
    float: right;
}

.rtl .edubridge-filter-clear-btn {
    float: left;
}

.edubridge-filters-header .edubridge-filters-clear:hover {
    background: rgba(244, 162, 38, 0.1);
    color: var(--eb-accent-dark, #d4881a);
}

/* ── Keyword Search ─────────────────────────────────────────────────── */

.edubridge-search-section {
    margin-bottom: 16px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
}

.edubridge-search-section .edubridge-search-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 10px;
}

.edubridge-search-wrap {
    position: relative;
}

.edubridge-search-wrap .edubridge-search-input {
    width: 100%;
    height: 40px;
    padding: 0 40px 0 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
    color: var(--eb-heading, #0d1b2a);
    background: #f9fafb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
}

.edubridge-search-input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

.edubridge-search-input:focus {
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 0 0 3px rgba(58, 32, 97, 0.1);
    background: #fff;
}

.edubridge-search-btn {
    position: absolute;
    right: 4px;
    top: 4px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background 0.2s ease;
}

.edubridge-search-btn:hover {
    background: var(--eb-primary-dark, #2e174f);
}

.edubridge-search-btn:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
}

/* ── Clear All Filters Footer ────────────────────────────────────────── */

.edubridge-filters-footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e8ecf1;
    text-align: center;
}

.edubridge-filters-clear-bottom,
.edubridge-empty-state.no-candidate-match-error a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eb-accent, #f4a226);
    text-decoration: none;
    padding: 8px 18px;
    border: 1px solid var(--eb-accent, #f4a226);
    background: #fff;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {

    .edubridge-filters-clear-bottom:hover,
    .edubridge-empty-state.no-candidate-match-error a:hover {
        background: var(--eb-accent, #f4a226);
        color: #fff;
        transform: translateY(-1px);
    }
}

.edubridge-filters-clear-bottom:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
}

.edubridge-filters-clear-bottom .fa {
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   10b. Sidebar Filter Reordering (CSS safety net)
   -------------------------------------------------------------------------- */

.listin-filters-sidebar {
    display: flex;
    flex-direction: column;
}

/* Each filter section gets an order class. The plugin's *_srch_filtrs_sort
   option controls primary order; these are the safety net via CSS 'order'. */

.edubridge-filter-section {
    /* Default: no reorder. Add specific order rules below as needed. */
}

/* Example: If 'date_posted' appears at position 0, push it to last: */
/* .edubridge-filter-order-0 { order: 5; } */

/* --------------------------------------------------------------------------
   13. Filter Section – Premium Styling
   -------------------------------------------------------------------------- */

/* ── Collapsible Filter Headers ──────────────────────────────────────── */

.listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
    cursor: pointer;
}

.listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a:hover {
    background: rgba(58, 32, 97, 0.04);
}

/* Chevron indicator */
.listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 14px;
    transition: transform 0.25s ease;
    color: #9ca3af;
    flex-shrink: 0;
    margin-left: 8px;
}

/* Rotate chevron when collapsed */
.listin-filters-sidebar .jobsearch-search-filter-toggle.jobsearch-remove-padding .jobsearch-fltbox-title a::after {
    transform: rotate(-90deg);
}

/* ── Filter Content Animation ────────────────────────────────────────── */

.listin-filters-sidebar .jobsearch-checkbox-toggle {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease;
    max-height: 800px;
    /* large enough for any filter list */
    opacity: 1;
    padding: 6px 14px 10px;
}

@media (prefers-reduced-motion: no-preference) {

    .listin-filters-sidebar .jobsearch-checkbox-toggle[style*="display: none"],
    .listin-filters-sidebar .jobsearch-checkbox-toggle[style*="display:none"] {
        /* When the plugin sets display:none via JS, we can't override with CSS
           alone. These styles apply when the collapse class is toggled. */
    }
}

/* Plugin sets display:none inline; we respect that for the collapsed state.
   The transition is still visible when sections open. */

/* ── Checkbox/Radio List Items ───────────────────────────────────────── */

.listin-filters-sidebar .jobsearch-checkbox {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listin-filters-sidebar .jobsearch-checkbox li {
    padding: 7px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.listin-filters-sidebar .jobsearch-checkbox li label {
    flex: 1;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    transition: color 0.15s ease;
    margin: 0;
    font-weight: 400;
}

.listin-filters-sidebar .jobsearch-checkbox li label:hover {
    color: var(--eb-primary, #3a2061);
}

/* Custom checkbox/radio span */
.listin-filters-sidebar .jobsearch-checkbox li label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background 0.15s ease, border-color 0.15s ease;
    position: relative;
}

/* Radio: circle */
.listin-filters-sidebar .jobsearch-checkbox li input[type="radio"]+label span {
    border-radius: 50%;
    width: 18px;
    height: 18px;
}

.listin-filters-sidebar .jobsearch-checkbox li input[type="radio"]:checked+label span {
    background: var(--eb-primary, #3a2061);
    border-color: var(--eb-primary, #3a2061);
    box-shadow: inset 0 0 0 3px #fff;
}

/* Checkbox: rounded square */
.listin-filters-sidebar .jobsearch-checkbox li input[type="checkbox"]:checked+label span {
    background: var(--eb-primary, #3a2061);
    border-color: var(--eb-primary, #3a2061);
}

.listin-filters-sidebar .jobsearch-checkbox li input[type="checkbox"]:checked+label span::after {
    content: '\f00c';
    font-family: 'FontAwesome';
    font-size: 10px;
    color: #fff;
    position: absolute;
}

/* Hide the native input */
.listin-filters-sidebar .jobsearch-checkbox li input[type="radio"],
.listin-filters-sidebar .jobsearch-checkbox li input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* ── Filter Count Badges ─────────────────────────────────────────────── */

.listin-filters-sidebar .filter-post-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--eb-body-muted, #6b7a99);
    min-width: 22px;
    text-align: right;
    flex-shrink: 0;
    padding: 2px 6px;
    background: rgba(107, 122, 153, 0.08);
    border-radius: 10px;
    line-height: 1.4;
}

/* ── Active Filter Option Highlight ───────────────────────────────────── */

.listin-filters-sidebar .jobsearch-checkbox li input:checked+label {
    color: var(--eb-primary, #3a2061);
    font-weight: 600;
}

.listin-filters-sidebar .jobsearch-checkbox li input:checked+label+.filter-post-count {
    color: var(--eb-primary, #3a2061);
    background: rgba(58, 32, 97, 0.1);
}

/* ── Filter Section Wrapper ──────────────────────────────────────────── */

.edubridge-filter-section .jobsearch-filter-responsive-wrap {
    margin-bottom: 4px;
}

.edubridge-filter-section .jobsearch-search-filter-wrap {
    border-radius: 8px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.edubridge-filter-section .jobsearch-search-filter-wrap:hover {
    border-color: rgba(58, 32, 97, 0.08);
}

/* ── Location Select Dropdowns ───────────────────────────────────────── */

.listin-filters-sidebar .jobsearch-profile-select select,
.listin-filters-sidebar .selectize-control .selectize-input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    width: 100%;
    transition: border-color 0.2s ease;
    font-family: inherit;
    margin: 4px 0;
}

.listin-filters-sidebar .jobsearch-profile-select select:focus,
.listin-filters-sidebar .selectize-control .selectize-input.focus {
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 0 0 3px rgba(58, 32, 97, 0.08);
}

/* ── Focus-Visible Outlines ──────────────────────────────────────────── */

.listin-filters-sidebar .jobsearch-fltbox-title a:focus-visible,
.listin-filters-sidebar .jobsearch-checkbox li label:focus-visible,
.edubridge-search-input:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   11. Sort Controls Area (already rendered by plugin)
   -------------------------------------------------------------------------- */

/* The plugin renders .sortfiltrs-contner with heading and sort dropdown.
   These styles align it with the card grid aesthetics. */

.sortfiltrs-contner {
    margin-bottom: 20px;
}

.sortfiltrs-contner .jobsearch-filterable {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 0 16px;
    border-bottom: 1px solid #e8ecf1;
}

.sortfiltrs-contner .jobsearch-filterable h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0;
}

.sortfiltrs-contner .jobsearch-sort-section {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sortfiltrs-contner .jobsearch-sort-section li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sortfiltrs-contner .jobsearch-filterable-select select,
.sortfiltrs-contner .selectize-control .selectize-input {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    min-width: 160px;
}

/* --------------------------------------------------------------------------
   12. Empty State
   -------------------------------------------------------------------------- */

.edubridge-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.edubridge-empty-icon {
    font-size: 48px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.edubridge-empty-state strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin-bottom: 8px;
}

.edubridge-empty-state span {
    display: block;
    font-size: 14px;
    color: var(--eb-body-muted, #6b7a99);
    margin-bottom: 20px;
}

.edubridge-empty-reset {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--eb-accent, #f4a226);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--eb-accent, #f4a226);
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-empty-reset:hover {
    background: var(--eb-accent, #f4a226);
    color: #fff;
}

.edubridge-empty-state.no-candidate-match-error a {
    display: block;
}

/* --------------------------------------------------------------------------
   14. Responsive: Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .edubridge-candidate-grid .jobsearch-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* --------------------------------------------------------------------------
   15. Responsive: Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .edubridge-candidate-grid .jobsearch-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .edubridge-card {
        padding: 20px;
    }

    .edubridge-card-name {
        font-size: 16px;
    }

    .sortfiltrs-contner .jobsearch-filterable {
        flex-direction: column;
        align-items: flex-start;
    }

    .sortfiltrs-contner .jobsearch-sort-section {
        flex-wrap: wrap;
        width: 100%;
    }

    .sortfiltrs-contner .jobsearch-sort-section li {
        flex: 1;
        min-width: 140px;
    }

    .sortfiltrs-contner .jobsearch-filterable-select select {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   16. RTL Support
   -------------------------------------------------------------------------- */

.rtl .edubridge-featured-card {
    border-left: none;
    border-right: 3px solid var(--eb-accent, #f4a226);
}

.rtl .edubridge-featured-card::before {
    left: auto;
    right: 0;
}

.rtl .edubridge-featured-badge {
    left: auto;
    right: 12px;
}

.rtl .listin-filters-sidebar .filter-post-count {
    text-align: left;
}

.rtl .listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a::after {
    float: left;
    margin-left: 0;
    margin-right: 8px;
}

/* RTL: search button position */
.rtl .edubridge-search-btn {
    right: auto;
    left: 4px;
}

.rtl .edubridge-search-input {
    padding: 0 12px 0 40px;
}

/* RTL: chevron in filter headers */
.rtl .listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a {
    flex-direction: row-reverse;
}

/* RTL: center alignment for stats/chips */
.rtl .edubridge-card-stats,
.rtl .edubridge-sector-chips,
.rtl .edubridge-card-meta {
    /* center alignment works for both directions;
       flex-direction stays row for these specific layouts */
}

/* RTL: filter footer */
.rtl .edubridge-filters-clear-bottom .fa {
    margin-left: 4px;
}

/* --------------------------------------------------------------------------
   17. Accessibility
   -------------------------------------------------------------------------- */

.edubridge-card:focus-within {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
}

.edubridge-card a:focus-visible,
.edubridge-empty-reset:focus-visible,
.edubridge-card-actions a:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Reduced motion: disable hover lifts */
@media (prefers-reduced-motion: reduce) {
    .edubridge-card {
        transition: none;
    }

    .edubridge-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   18. Job Card Grid (reuses .edubridge-card pattern)
   ========================================================================== */

.edubridge-job-grid .jobsearch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
}

.edubridge-job-grid .jobsearch-row>li {
    width: 100%;
    padding: 0;
    float: none;
}

.edubridge-job-grid .jobsearch-column-6 {
    width: 100%;
}

.edubridge-job-grid .jobsearch-column-12 {
    grid-column: span 2;
    grid-row: span 1;
}

/* ── Job logo: contain fit (not cover like candidate photos) ─────────── */

.edubridge-job-grid .edubridge-card-figure img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e8ecf1;
    background: #fafbfc;
}

/* ── Job type / sector chips ─────────────────────────────────────────── */

.edubridge-job-chips {
    gap: 6px;
    justify-content: center;
    margin-bottom: 12px;
}

.edubridge-job-chips a,
.edubridge-job-chips .jobsearch-option-btn,
.edubridge-job-chips span {
    font-size: 12px;
    background: var(--eb-primary-light, rgba(58, 32, 97, 0.08));
    color: var(--eb-primary, #3a2061);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    display: inline-block;
}

.edubridge-job-chips .jobsearch-option-btn {
    background: rgba(244, 162, 38, 0.12);
    color: var(--eb-accent-dark, #d4881a);
}

/* ── Company name in meta (already uses .edubridge-card-meta) ────────── */

.edubridge-job-grid .job-company-name {
    font-size: 14px;
    color: var(--eb-body-muted, #6b7a99);
}

/* ── Card actions: Save + Apply buttons side by side ─────────────────── */

.edubridge-job-grid .edubridge-card-actions {
    display: flex;
    gap: 10px;
}

.edubridge-job-grid .edubridge-card-actions>* {
    flex: 1;
}

.edubridge-job-grid .edubridge-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    gap: 6px;
    text-align: center;
}

.edubridge-job-grid .edubridge-card-actions a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* ── Featured star inline (plugin renders <span> after <a>) ──────────── */

.edubridge-job-grid .jobsearch-pst-title span {
    font-size: 11px;
    font-weight: 700;
    color: var(--eb-accent, #f4a226);
    margin-left: 6px;
    vertical-align: middle;
}

.edubridge-job-grid .jobsearch-pst-title span .fa-star {
    font-size: 10px;
}

/* ── Responsive: tablet ──────────────────────────────────────────────── */

@media (max-width: 992px) {
    .edubridge-job-grid .jobsearch-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* ── Responsive: mobile ──────────────────────────────────────────────── */

@media (max-width: 768px) {
    .edubridge-job-grid .jobsearch-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .edubridge-job-grid .edubridge-card {
        padding: 20px;
    }

    .edubridge-job-grid .edubridge-card-name {
        font-size: 16px;
    }
}

/* ── RTL ─────────────────────────────────────────────────────────────── */

.rtl .edubridge-job-grid .edubridge-card-actions {
    flex-direction: row;
}

/* ==========================================================================
   19. Educator Profile – Cover Banner
   ========================================================================== */

.edubridge-profile-cover {
    position: relative;
    background: linear-gradient(135deg, #3a2061 0%, #2e174f 100%);
    background-size: cover;
    background-position: center;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 40px 0 24px;
    overflow: hidden;
}

.edubridge-profile-cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.edubridge-profile-cover-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    width: 100%;
}

.edubridge-profile-photo {
    flex-shrink: 0;
}

.edubridge-profile-photo img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background: #fff;
}

.edubridge-profile-cover-text {
    color: #fff;
    padding-bottom: 6px;
}

.edubridge-profile-name {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.edubridge-profile-name .edubridge-verified-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--eb-success, #4ecb71);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.edubridge-status-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.edubridge-status--active {
    background: rgba(78, 203, 113, 0.2);
    color: #4ecb71;
}

.edubridge-status--passive {
    background: rgba(244, 162, 38, 0.2);
    color: #f4a226;
}

.edubridge-status--unavailable {
    background: rgba(107, 122, 153, 0.25);
    color: #b0b9cc;
}

.edubridge-profile-title {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 4px;
}

.edubridge-profile-location {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 8px;
}

.edubridge-profile-location i {
    font-size: 13px;
    margin-right: 4px;
}

.edubridge-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.edubridge-profile-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   19. Educator Profile – Back Link & Nav
   -------------------------------------------------------------------------- */

.edubridge-profile-nav {
    background: #f8f9fb;
    border-bottom: 1px solid #e8ecf1;
    padding: 8px 0;
}

.edubridge-profile-page .jobsearch-main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.edubridge-back-link {
    font-size: 14px;
    color: var(--eb-primary, #3a2061);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.edubridge-back-link:hover {
    color: var(--eb-primary-dark, #2e174f);
}

.edubridge-back-link i {
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   20. Educator Profile – Layout
   -------------------------------------------------------------------------- */

.edubridge-profile-layout {
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   21. Educator Profile – Tab Navigation
   -------------------------------------------------------------------------- */

.edubridge-profile-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8ecf1;
    margin-bottom: 24px;
}

.edubridge-profile-tab {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--eb-body-muted, #6b7a99);
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
    font-family: inherit;
}

.edubridge-profile-tab:hover {
    color: var(--eb-primary, #3a2061);
}

.edubridge-profile-tab.active {
    color: var(--eb-primary, #3a2061);
}

.edubridge-profile-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--eb-primary, #3a2061);
    border-radius: 1px;
}

.edubridge-profile-tab:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: -2px;
    border-radius: 4px;
}

/* --------------------------------------------------------------------------
   22. Educator Profile – Tab Panels
   -------------------------------------------------------------------------- */

.edubridge-tab-panel {
    display: none;
}

.edubridge-tab-panel.active {
    display: block;
}

/* --------------------------------------------------------------------------
   23. Educator Profile – Right Sidebar
   -------------------------------------------------------------------------- */

.edubridge-profile-sidebar {
    /* sidebar column */
}

.edubridge-sidebar-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.edubridge-sidebar-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f2f5;
}

/* Stats Grid (2×2) */
.edubridge-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.edubridge-stat-item {
    text-align: center;
    padding: 12px 8px;
    background: var(--eb-primary-light, rgba(58, 32, 97, 0.05));
    border-radius: 6px;
}

.edubridge-stat-item i {
    display: block;
    font-size: 18px;
    color: var(--eb-primary, #3a2061);
    margin-bottom: 4px;
}

.edubridge-stat-item strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    line-height: 1.3;
}

.edubridge-stat-item span {
    font-size: 11px;
    color: var(--eb-body-muted, #6b7a99);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Action Buttons */
.edubridge-sidebar-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edubridge-action-section {
    position: relative;
}

.edubridge-save-btn-wrap a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-save-btn-wrap a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* Make plugin CV/download buttons full-width & styled */
.edubridge-actions-card a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.candinvite-btn-con a {
    background: var(--eb-accent);
    color: #fff;
    border: 1px solid var(--eb-accent);
}

.candinvite-btn-con a:hover {
    color: var(--eb-accent);
    background: #fff;
    border: 1px solid var(--eb-accent);
}

.edubridge-actions-card .jobsearch-cand-details-btns a,
.edubridge-actions-card a.jobsearch-candidate-save-btn,
.edubridge-actions-card a[class*="download"],
.edubridge-actions-card a[class*="cv"] {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 8px;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   24. Educator Profile – Gated Content Overlay
   -------------------------------------------------------------------------- */

.edubridge-gated-section {
    position: relative;
    min-height: 60px;
}

.edubridge-gated-section>*:not(.edubridge-gated-overlay) {
    filter: blur(4px);
    pointer-events: none;
    user-select: none;
    opacity: 0.4;
}

.edubridge-gated-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    z-index: 5;
    padding: 16px;
    text-align: center;
}

.edubridge-gated-icon {
    font-size: 28px;
    margin-bottom: 6px;
    filter: grayscale(0.5);
    opacity: 0.7;
}

.edubridge-gated-overlay p {
    font-size: 14px;
    color: var(--eb-body-muted, #6b7a99);
    margin: 0 0 10px;
}

.edubridge-btn {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.edubridge-btn:hover {
    background: var(--eb-primary-dark, #2e174f);
    color: #fff;
}

.edubridge-btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   25. Educator Profile – Contact Card
   -------------------------------------------------------------------------- */

.edubridge-contact-item {
    font-size: 14px;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.edubridge-contact-item i {
    color: var(--eb-primary, #3a2061);
    width: 16px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   26. Educator Profile – Social Links
   -------------------------------------------------------------------------- */

.edubridge-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.edubridge-social-links li {
    margin: 0;
    padding: 0;
}

.jobsearch-typo-wrap li::marker {
    color: transparent;
}

.edubridge-social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--eb-primary-light, rgba(58, 32, 97, 0.08));
    color: var(--eb-primary, #3a2061);
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-social-links li a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* --------------------------------------------------------------------------
   27. Educator Profile – Map Card
   -------------------------------------------------------------------------- */

.edubridge-map-card {
    padding: 0;
    overflow: hidden;
}

.edubridge-map-card>* {
    border-radius: 8px;
}

/* --------------------------------------------------------------------------
   28. Educator Profile – Hide Empty Overview
   -------------------------------------------------------------------------- */

/* Suppress the empty <ul> that renders when no meta data exists */
.jobsearch_candidate_info ul:empty {
    display: none;
}

/* Hide the "Educator Overview" heading if the following list is empty */
.jobsearch_candidate_info h2+ul:empty {
    /* The h2 remains but is now harmless since list is gone */
}

/* --------------------------------------------------------------------------
   29. Educator Profile – Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .edubridge-profile-cover {
        min-height: 180px;
        padding: 30px 0 20px;
    }

    .edubridge-profile-photo img {
        width: 90px;
        height: 90px;
    }

    .edubridge-profile-name {
        font-size: 22px;
    }

    .edubridge-profile-title {
        font-size: 14px;
    }

    .edubridge-profile-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .edubridge-profile-tab {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .edubridge-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .edubridge-profile-cover-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .edubridge-profile-photo img {
        width: 80px;
        height: 80px;
    }

    .edubridge-profile-name {
        font-size: 20px;
        justify-content: center;
    }

    .edubridge-profile-cover {
        min-height: 160px;
        padding: 24px 0 20px;
    }

    .edubridge-profile-tags {
        justify-content: center;
    }

    .edubridge-profile-content,
    .edubridge-profile-sidebar {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .edubridge-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --------------------------------------------------------------------------
   30. Educator Profile – RTL Support
   -------------------------------------------------------------------------- */

.rtl .edubridge-profile-cover-inner {
    flex-direction: row-reverse;
}

.rtl .edubridge-back-link i {
    margin-right: 0;
    margin-left: 6px;
}

.rtl .edubridge-profile-tab.active::after {
    left: 0;
    right: 0;
}

.rtl .edubridge-profile-location i {
    margin-right: 0;
    margin-left: 4px;
}

.rtl .edubridge-contact-item i {
    margin-right: 0;
    margin-left: 8px;
}

@media (max-width: 768px) {
    .rtl .edubridge-profile-cover-inner {
        flex-direction: column;
    }
}

/* --------------------------------------------------------------------------
   31. Educator Profile – Accessibility
   -------------------------------------------------------------------------- */

.edubridge-profile-tab:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: -2px;
}

.edubridge-gated-overlay .edubridge-btn:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
}

/* ==========================================================================
   32. Institution Listing – Card Grid
   ========================================================================== */

.edubridge-employer-grid .jobsearch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0;
}

.edubridge-employer-grid .jobsearch-row>li {
    width: 100%;
    padding: 0;
    float: none;
}

.edubridge-employer-grid .jobsearch-column-6 {
    width: 100%;
}

.careerfy-candidate-grid figure.edubridge-card-figure {
    border: none;
}

/* --------------------------------------------------------------------------
   33. Institution Card – Featured Override
   -------------------------------------------------------------------------- */

/* Featured institution card – amber top accent (overrides .edubridge-featured-card left border) */
.edubridge-employer-grid .edubridge-card.edubridge-featured-card {
    border-left: none;
    border-top: 3px solid var(--eb-accent, #f4a226);
}

.edubridge-employer-grid .edubridge-card.edubridge-featured-card::before {
    display: none;
}

/* --------------------------------------------------------------------------
   34. Open Positions Count
   -------------------------------------------------------------------------- */

.edubridge-job-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eb-success, #4ecb71);
    margin-bottom: 12px;
    justify-content: center;
    width: 100%;
}

.edubridge-job-count .fa {
    font-size: 13px;
}

.edubridge-job-count .fa-briefcase {
    /* briefcase icon — already handled */
}

/* When no jobs, the line is simply not rendered (don't show "0 Open Positions") */

/* --------------------------------------------------------------------------
   35. Institution Card Actions (Follow + View Profile)
   -------------------------------------------------------------------------- */

.edubridge-employer-actions {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
}

.edubridge-employer-btn-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.edubridge-employer-btn-row a {
    flex: 1;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 0;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1.4;
    color: var(--eb-primary, #3a2061) !important;
}

/* Follow button — outline style */
.edubridge-employer-btn-row .jobsearch-employer-followin-btn,
.edubridge-employer-btn-row .employer-followin-btnaction,
.edubridge-employer-btn-row .employer-followed-already {
    border: 1px solid var(--eb-primary, #3a2061) !important;
    color: #fff !important;
    background: var(--eb-primary, #3a2061) !important;
}

.edubridge-employer-btn-row .jobsearch-employer-followin-btn:hover,
.edubridge-employer-btn-row .employer-followin-btnaction:hover {
    background: #fff !important;
    color: var(--eb-primary, #3a2061) !important;
}

.edubridge-employer-btn-row .employer-followed-already {
    background: var(--eb-primary-light, rgba(58, 32, 97, 0.08));
    border-color: transparent;
    color: var(--eb-primary, #3a2061);
}

/* View Profile button — primary solid */
.edubridge-employer-actions .edubridge-view-profile-btn {
    background: var(--eb-primary, #3a2061);
    color: #fff !important;
    border: 1px solid var(--eb-primary, #3a2061);
}

.edubridge-employer-actions .edubridge-view-profile-btn:hover {
    background: var(--eb-primary-dark, #2e174f);
    border-color: var(--eb-primary-dark, #2e174f);
    color: #fff !important;
}

/* Login redirect button */
.edubridge-employer-btn-row .jobsearch-open-signin-tab {
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
}

.edubridge-employer-btn-row .jobsearch-open-signin-tab:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* --------------------------------------------------------------------------
   36. Institution Filters – Search Input
   -------------------------------------------------------------------------- */

.edubridge-employer-search-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: #374151;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.edubridge-employer-search-input:focus {
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 0 0 3px rgba(58, 32, 97, 0.1);
}

.edubridge-employer-search-input::placeholder {
    color: #9ca3af;
}

/* Search wrap — the container inside the filter toggle */
.edubridge-filter-section .jobsearch-search-filter-wrap-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.edubridge-filter-section .jobsearch-search-filter-wrap-inner input {
    flex: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.edubridge-employer-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    border: 1px solid var(--eb-primary, #3a2061);
    border-left: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.edubridge-employer-search-btn:hover {
    background: var(--eb-primary-dark, #2e174f);
}

/* --------------------------------------------------------------------------
   37. Institution Filters – Footer Clear All
   -------------------------------------------------------------------------- */

.edubridge-filters-footer {
    text-align: center;
    padding: 10px 0 4px;
    border-top: 1px solid #e8ecf1;
    margin-top: 12px;
}

.edubridge-filters-footer .edubridge-filters-clear {
    color: var(--eb-accent, #f4a226);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.edubridge-filters-footer .edubridge-filters-clear:hover {
    color: var(--eb-accent-dark, #d4881a);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   38. Institution Listing – Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .edubridge-employer-grid .jobsearch-row {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .edubridge-employer-btn-row {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    .edubridge-employer-grid .jobsearch-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .edubridge-employer-grid .edubridge-card {
        padding: 20px;
    }

    .edubridge-employer-grid .edubridge-card .edubridge-card-name {
        font-size: 16px;
    }
}

/* --------------------------------------------------------------------------
   35. Institution Listing – RTL Support
   -------------------------------------------------------------------------- */

.rtl .edubridge-employer-grid .edubridge-card.edubridge-featured-card {
    border-top: 3px solid var(--eb-accent, #f4a226);
    /* Top border is direction-neutral */
}

.rtl .edubridge-employer-grid .edubridge-card .edubridge-card-location i {
    margin-right: 0;
    margin-left: 4px;
}

.rtl .edubridge-employer-search-input {
    border-radius: 0 6px 6px 0;
}

.rtl .edubridge-employer-search-btn {
    border-radius: 6px 0 0 6px;
    border-left: 1px solid var(--eb-primary, #3a2061);
    border-right: none;
}

/* --------------------------------------------------------------------------
   36. Institution Listing – Accessibility
   -------------------------------------------------------------------------- */

.edubridge-employer-grid .edubridge-card:focus-within {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
}

.edubridge-employer-grid .edubridge-card a:focus-visible,
.edubridge-employer-search-input:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .edubridge-employer-grid .edubridge-card {
        transition: none;
    }

    .edubridge-employer-grid .edubridge-card:hover {
        transform: none;
    }
}

/* ==========================================================================
   37. Job Detail – Cover Banner
   ========================================================================== */

.edubridge-jobdetail-cover {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 60px 0 40px;
    background-color: var(--eb-primary, #3a2061);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.edubridge-jobdetail-cover-container {
    position: relative;
    z-index: 2;
}

.edubridge-jobdetail-cover-inner {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

/* ── Logo ───────────────────────────────────────────────────────────── */

.edubridge-jobdetail-cover-logo {
    flex-shrink: 0;
}

.edubridge-jobdetail-cover-logo img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: block;
}

.edubridge-jobdetail-cover-logo a {
    display: block;
}

/* ── Text block ─────────────────────────────────────────────────────── */

.edubridge-jobdetail-cover-text {
    color: #fff;
    padding-bottom: 6px;
    flex: 1;
    min-width: 0;
}

.edubridge-jobdetail-cover-title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
    word-break: break-word;
}

.edubridge-jobdetail-cover-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.edubridge-jobdetail-cover-meta>span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.edubridge-jobdetail-cover-company {
    font-weight: 600;
    color: #fff;
}

.edubridge-jobdetail-cover-location i {
    font-size: 13px;
    opacity: 0.8;
}

.edubridge-jobdetail-cover-posted {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ── Chips ──────────────────────────────────────────────────────────── */

.edubridge-jobdetail-cover-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ── Featured badge on cover ────────────────────────────────────────── */

.edubridge-featured-badge--cover {
    position: static;
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    background: var(--eb-accent, #f4a226);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 4px;
}

/* ==========================================================================
   38. Job Detail – Main Content Layout
   ========================================================================== */

.edubridge-jobdetail-main {
    padding-top: 0;
}

.edubridge-jobdetail-main .jobsearch-main-section {
    padding-top: 32px;
}

.edubridge-jobdetail-content {
    padding-right: 20px;
}

/* ==========================================================================
   39. Job Detail – Content Sections
   ========================================================================== */

.edubridge-jobdetail-section {
    margin-bottom: 36px;
}

.edubridge-section-title {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8ecf1;
}

.edubridge-section-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0;
}

.edubridge-jobdetail-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #444;
}

/* ==========================================================================
   40. Job Detail – Attached Files Card
   ========================================================================== */

.edubridge-file-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.edubridge-file-card:hover {
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.edubridge-file-card .file-download-icon {
    font-size: 14px;
    font-weight: 600;
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edubridge-file-card .file-download-icon i {
    font-size: 20px;
    color: var(--eb-primary, #3a2061);
}

.edubridge-btn--sm {
    font-size: 12px;
    padding: 5px 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-btn--outline {
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
}

.edubridge-btn--outline:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* ==========================================================================
   41. Job Detail – Skills Tags
   ========================================================================== */

.edubridge-skills-tags a,
.edubridge-skills-tags span {
    display: inline-block;
    font-size: 13px;
    background: rgba(58, 32, 97, 0.07);
    color: var(--eb-primary, #3a2061);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    margin: 0 6px 6px 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.edubridge-skills-tags a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* ==========================================================================
   42. Job Detail – Sidebar Cards
   ========================================================================== */

.edubridge-jobdetail-sidebar {
    padding-left: 10px;
}

.edubridge-sidebar-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}

.edubridge-sidebar-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 14px;
}

/* ── Quick Info List ────────────────────────────────────────────────── */

.edubridge-quickinfo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edubridge-quickinfo-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f2f5;
}

.edubridge-quickinfo-list li:last-child {
    border-bottom: none;
}

.edubridge-quickinfo-list li i {
    color: var(--eb-primary, #3a2061);
    font-size: 15px;
    width: 18px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.edubridge-quickinfo-list li span {
    flex: 1;
    min-width: 0;
}

/* ── Apply / Save Card ──────────────────────────────────────────────── */

.edubridge-apply-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.edubridge-apply-card .jobsearch-applyjob-btn-wrapper,
.edubridge-apply-card .jobsearch-applyjob-btn {
    width: 100%;
}

.edubridge-apply-card .widget_application_apply_btn {
    width: 100%;
    display: block;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    padding: 12px 16px;
    border-radius: 6px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.edubridge-apply-card .widget_application_apply_btn:hover {
    background: var(--eb-primary-dark, #2e174f);
}

.edubridge-apply-card a.jobsearch-job-like.jobsearch-open-signin-tab {
    padding: 16px 10px 17px 10px;
    font-size: 16px;
    box-sizing: border-box;
    line-height: 1;
    height: auto;
}

.edubridge-savejob-wrap .careerfy-jobdetail-btn,
.edubridge-savejob-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.jobsearch-job-like i {
    color: var(--eb-primary);
}

.edubridge-savejob-wrap .careerfy-jobdetail-btn:hover,
.edubridge-savejob-wrap a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* ── Share Card ─────────────────────────────────────────────────────── */

.edubridge-share-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.edubridge-share-card ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f2f5;
    color: var(--eb-body-muted, #6b7a99);
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-share-card ul li a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* ── Map Card ───────────────────────────────────────────────────────── */

.edubridge-map-card {
    padding: 0;
    overflow: hidden;
}

.edubridge-map-card>* {
    border-radius: 8px;
}

/* ── Similar Jobs Card ──────────────────────────────────────────────── */

.edubridge-similar-jobs-card .jobsearch-sec-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin-bottom: 14px;
}

.edubridge-similar-jobs-card .jobsearch-sidebar-joblisting {
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   43. Job Detail – Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .edubridge-jobdetail-content {
        padding-right: 0;
    }

    .edubridge-jobdetail-sidebar {
        padding-left: 0;
        margin-top: 24px;
    }

    .edubridge-jobdetail-cover-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .edubridge-jobdetail-cover-logo img {
        width: 70px;
        height: 70px;
    }

    .edubridge-jobdetail-cover-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .edubridge-jobdetail-cover {
        min-height: 200px;
        padding: 40px 0 28px;
    }

    .edubridge-jobdetail-cover-inner {
        gap: 16px;
    }

    .edubridge-jobdetail-cover-logo img {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        border-width: 2px;
    }

    .edubridge-jobdetail-cover-title {
        font-size: 20px;
    }

    .edubridge-jobdetail-cover-meta {
        font-size: 13px;
        gap: 4px 12px;
    }

    .edubridge-section-title h2 {
        font-size: 18px;
    }

    .edubridge-jobdetail-desc {
        font-size: 14px;
    }

    .edubridge-sidebar-card {
        padding: 16px;
    }
}

/* ── RTL ─────────────────────────────────────────────────────────────── */

.rtl .edubridge-jobdetail-content {
    padding-right: 0;
    padding-left: 20px;
}

.rtl .edubridge-jobdetail-sidebar {
    padding-left: 0;
    padding-right: 10px;
}

.rtl .edubridge-jobdetail-cover-inner {
    flex-direction: row;
}

.rtl .edubridge-skills-tags a,
.rtl .edubridge-skills-tags span {
    margin: 0 0 6px 6px;
}

@media (max-width: 992px) {
    .rtl .edubridge-jobdetail-content {
        padding-left: 0;
    }

    .rtl .edubridge-jobdetail-sidebar {
        padding-right: 0;
    }

    .rtl .edubridge-jobdetail-cover-inner {
        flex-direction: column;
    }
}

/* ==========================================================================
   30. Institution Profile – Cover Banner
   ========================================================================== */

.edubridge-inst-profile .edubridge-profile-cover {
    min-height: 240px;
}

.edubridge-inst-profile .edubridge-profile-cover-inner {
    flex-wrap: wrap;
}

/* Institution logo: square card with white bg, overlapping banner bottom */
.edubridge-inst-logo img {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Institution type line below name */
.edubridge-inst-type {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 2px;
    font-weight: 600;
}

/* Star rating + founded year row */
.edubridge-inst-header-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    flex-wrap: wrap;
}

.edubridge-inst-header-meta .careerfy-reviewslist-average-rating {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.edubridge-inst-header-meta .careerfy-reviewslist-average-rating i {
    color: #f4a226;
}

.edubridge-inst-founded {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ── Header Actions (Follow + Review buttons, right side) ──────────── */

.edubridge-inst-header-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: auto;
    align-items: flex-end;
}

.edubridge-inst-header-actions a,
.edubridge-inst-header-actions .jobsearch-employer-followin-btn a {
    display: inline-block;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.edubridge-inst-follow-btn a,
.edubridge-inst-header-actions .jobsearch-employer-followin-btn a {
    background: #fff;
    color: var(--eb-primary, #3a2061);
    border: none;
}

.edubridge-inst-follow-btn a:hover,
.edubridge-inst-header-actions .jobsearch-employer-followin-btn a:hover {
    background: #f0eef4;
}

.employer-followin-btnaction,
.edubridge-inst-review-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 100%;
    text-align: center
}

.edubridge-inst-review-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/* ==========================================================================
   31. Institution Profile – About Tab Stats
   ========================================================================== */

.edubridge-inst-about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.edubridge-inst-about-stat {
    text-align: center;
    padding: 16px 8px;
    background: rgba(58, 32, 97, 0.04);
    border-radius: 8px;
    border: 1px solid #e8ecf1;
}

.edubridge-inst-about-stat i {
    display: block;
    font-size: 18px;
    color: var(--eb-primary, #3a2061);
    margin-bottom: 6px;
}

.edubridge-inst-about-stat strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    line-height: 1.3;
}

.edubridge-inst-about-stat span {
    font-size: 11px;
    color: var(--eb-body-muted, #6b7a99);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   32. Institution Profile – Open Positions Tab (Job Cards)
   ========================================================================== */

.edubridge-inst-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.edubridge-inst-job-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e8ecf1;
    transition: background 0.15s ease;
}

.edubridge-inst-job-card:hover {
    background: rgba(58, 32, 97, 0.02);
}

.edubridge-inst-job-card:last-child {
    border-bottom: none;
}

.edubridge-inst-job-logo {
    flex-shrink: 0;
}

.edubridge-inst-job-logo img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid #e8ecf1;
    background: #fafbfc;
}

.edubridge-inst-job-info {
    flex: 1;
    min-width: 0;
}

.edubridge-inst-job-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.edubridge-inst-job-info h3 a {
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
}

.edubridge-inst-job-info h3 a:hover {
    color: var(--eb-primary, #3a2061);
}

.edubridge-inst-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-inst-job-types a,
.edubridge-inst-job-types .jobsearch-option-btn {
    font-size: 12px;
    font-weight: 600;
    background: rgba(58, 32, 97, 0.08);
    color: var(--eb-primary, #3a2061);
    padding: 2px 8px;
    border-radius: 4px;
    text-decoration: none;
}

.edubridge-inst-job-loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edubridge-inst-job-action {
    flex-shrink: 0;
}

/* ==========================================================================
   33a. Institution Profile – Open Positions Grid (homepage-style cards)
   ========================================================================== */

.edubridge-emp-jobs-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
}

.edubridge-emp-jobs-grid .jobsearch-joblisting-classic-wrap.edubridge-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin: 0;
}

.edubridge-emp-jobs-grid .jobsearch-joblisting-classic-wrap.edubridge-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(58, 32, 97, 0.2);
}

.edubridge-emp-jobs-grid .job-figure {
    flex-shrink: 0;
    margin: 0;
}

.edubridge-emp-jobs-grid .job-figure a {
    display: block;
    width: 56px;
    height: 56px;
}

.edubridge-emp-jobs-grid .job-figure img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e8ecf1;
    background: #fafbfc;
}

.edubridge-emp-jobs-grid .job-figure .edubridge-avatar {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.edubridge-emp-jobs-grid .jobsearch-joblisting-text.edubridge-card-body {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 0;
}

.edubridge-emp-jobs-grid .jobsearch-list-option.edubridge-card-body-left {
    flex: 1;
    min-width: 0;
}

.edubridge-emp-jobs-grid .edubridge-card-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 3px;
    text-align: left;
    line-height: 1.35;
}

.edubridge-emp-jobs-grid .edubridge-card-name a {
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
}

.edubridge-emp-jobs-grid .edubridge-card-name a:hover {
    color: var(--eb-primary, #3a2061);
}

.edubridge-emp-jobs-grid .edubridge-card-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px 12px;
    text-align: left;
}

.edubridge-emp-jobs-grid .edubridge-card-meta li {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-emp-jobs-grid .edubridge-card-location i {
    margin-right: 3px;
    font-size: 11px;
}

.edubridge-emp-jobs-grid .edubridge-sector-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-start;
    margin-bottom: 3px;
}

.edubridge-emp-jobs-grid .edubridge-sector-chips a,
.edubridge-emp-jobs-grid .edubridge-sector-chips .jobsearch-option-btn {
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 3px;
}

.edubridge-emp-jobs-grid .edubridge-card-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: var(--eb-body-muted, #6b7a99);
    flex-wrap: wrap;
}

.edubridge-emp-jobs-grid .edubridge-card-stats li {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    white-space: nowrap;
}

.edubridge-emp-jobs-grid .edubridge-card-stats .fa {
    font-size: 11px;
    color: var(--eb-primary, #3a2061);
}

.edubridge-emp-jobs-grid .edubridge-card-actions {
    flex-shrink: 0;
    width: auto;
    min-width: 90px;
    margin: 0;
    padding: 0;
    border: none;
}

.edubridge-emp-jobs-grid .edubridge-card-actions a {
    display: block;
    width: 100%;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.edubridge-emp-jobs-grid .edubridge-card-actions a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

.edubridge-emp-jobs-grid .edubridge-featured-badge,
.edubridge-emp-jobs-grid .edubridge-workplace-badge {
    position: absolute;
    z-index: 2;
}

.edubridge-emp-jobs-grid .edubridge-featured-badge {
    top: 10px;
    left: 10px;
    background: var(--eb-accent, #f4a226);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    line-height: 1.3;
}

.edubridge-emp-jobs-grid .edubridge-workplace-badge {
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(58, 32, 97, 0.08);
    color: var(--eb-primary, #3a2061);
}

.edubridge-emp-jobs-grid .edubridge-featured-card {
    border-left: 3px solid var(--eb-accent, #f4a226);
}

/* Mobile: tighter spacing */
@media (max-width: 768px) {
    .edubridge-emp-jobs-grid .jobsearch-joblisting-classic-wrap.edubridge-card {
        padding: 16px;
        gap: 14px;
    }

    .edubridge-emp-jobs-grid .jobsearch-joblisting-text.edubridge-card-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .edubridge-emp-jobs-grid .edubridge-card-actions {
        min-width: 100%;
    }
}

/* ==========================================================================
   34. Institution Profile – Quick Info Sidebar
   ========================================================================== */

.edubridge-inst-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edubridge-inst-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #f0f2f5;
}

.edubridge-inst-info-list li:last-child {
    border-bottom: none;
}

.edubridge-inst-info-list li i {
    color: var(--eb-primary, #3a2061);
    font-size: 14px;
    width: 16px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.edubridge-inst-info-list li span {
    word-break: break-word;
}

.edubridge-inst-info-list li a {
    color: var(--eb-primary, #3a2061);
    text-decoration: none;
}

.edubridge-inst-info-list li a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   34. Institution Profile – Open Positions Mini-List (Sidebar)
   ========================================================================== */

.edubridge-inst-jobs-mini {
    /* container */
}

.edubridge-inst-job-mini {
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}

.edubridge-inst-job-mini:last-child {
    border-bottom: none;
}

.edubridge-inst-job-mini-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.edubridge-inst-job-mini-title:hover {
    color: var(--eb-primary, #3a2061);
}

.edubridge-inst-job-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-inst-job-mini-meta span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.edubridge-inst-view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--eb-primary, #3a2061);
    text-decoration: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f0f2f5;
    width: 100%;
}

.edubridge-inst-view-all:hover {
    color: var(--eb-primary-dark, #2e174f);
}

/* ==========================================================================
   35. Institution Profile – Contact Form
   ========================================================================== */

.edubridge-contact-form {
    /* form wrapper */
}

.edubridge-contact-field {
    margin-bottom: 10px;
}

.edubridge-contact-field input[type="text"],
.edubridge-contact-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #374151;
    background: #fff;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.edubridge-contact-field input[type="text"]:focus,
.edubridge-contact-field textarea:focus {
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 0 0 3px rgba(58, 32, 97, 0.08);
    outline: none;
}

.edubridge-contact-submit {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* Sidebar Follow button styling */
.edubridge-sidebar-follow-btn a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.edubridge-sidebar-follow-btn a:hover {
    background: var(--eb-primary-dark, #2e174f);
    color: #fff;
}

/* ==========================================================================
   36. Institution Profile – Responsive
   ========================================================================== */

@media (max-width: 992px) {
    .edubridge-inst-header-actions {
        margin-left: 0;
        margin-top: 12px;
        flex-direction: row;
        width: 100%;
        align-items: center;
    }

    .edubridge-inst-about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .edubridge-inst-cover .edubridge-profile-cover-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .edubridge-inst-logo img {
        width: 80px;
        height: 80px;
    }

    .edubridge-inst-job-card {
        flex-wrap: wrap;
    }

    .edubridge-inst-job-action {
        width: 100%;
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .edubridge-inst-profile .edubridge-profile-cover {
        min-height: 180px;
        padding: 24px 0 20px;
    }

    .edubridge-inst-profile .edubridge-profile-name {
        font-size: 22px;
    }

    .edubridge-inst-about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .edubridge-inst-logo img {
        width: 70px;
        height: 70px;
    }

    .edubridge-profile-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .edubridge-profile-tab {
        padding: 10px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
}

/* ==========================================================================
   37. Institution Profile – RTL
   ========================================================================== */

.rtl .edubridge-inst-header-actions {
    margin-left: 0;
    margin-right: auto;
}

.rtl .edubridge-inst-header-meta {
    flex-direction: row;
}

.rtl .edubridge-inst-info-list li i {
    margin-left: 0;
    margin-right: 0;
}

.rtl .edubridge-inst-view-all i {
    margin-left: 0;
    margin-right: 4px;
    transform: rotate(180deg);
}

.rtl .edubridge-inst-job-card {
    flex-direction: row;
}

@media (max-width: 992px) {
    .rtl .edubridge-inst-header-actions {
        margin-right: 0;
    }
}

/* ==========================================================================
   49. Contact Form Modal
   ========================================================================== */
.jobsearch-candidate-download-btn i {
    float: unset !important;
}

.edubridge-btn-full {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
}

.edubridge-btn-full i {
    margin-right: 6px;
}

/* Modal Overlay */
.edubridge-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.edubridge-modal-overlay[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.edubridge-modal-container {
    position: relative;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.25s ease;
}

.edubridge-modal-overlay[aria-hidden="false"] .edubridge-modal-container {
    transform: translateY(0);
}

/* Modal Close Button */
.edubridge-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #6b7a99;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s ease;
    z-index: 1;
}

.edubridge-modal-close:hover {
    color: #0d1b2a;
}

/* Modal Header */
.edubridge-modal-header {
    padding: 24px 28px 0;
}

.edubridge-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0;
}

/* Modal Body */
.edubridge-modal-body {
    padding: 20px 28px 28px;
}

/* Contact Form inside Modal */
.edubridge-contact-form .edubridge-form-row {
    display: flex;
    gap: 12px;
}

.edubridge-contact-form .edubridge-form-row .edubridge-form-group {
    flex: 1;
}

.edubridge-contact-form .edubridge-form-group {
    margin-bottom: 16px;
}

.edubridge-contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--eb-heading, #0d1b2a);
    margin-bottom: 4px;
}

.edubridge-contact-form input[type="text"],
.edubridge-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #d4d9e2;
    border-radius: 6px;
    background: #f8f9fb;
    color: #0d1b2a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.edubridge-contact-form input[type="text"]:focus,
.edubridge-contact-form textarea:focus {
    outline: none;
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 0 0 3px rgba(58, 32, 97, 0.1);
    background: #fff;
}

.edubridge-contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.edubridge-contact-form .edubridge-form-submit {
    margin-top: 8px;
    text-align: right;
}

.edubridge-contact-form .edubridge-form-submit .edubridge-btn {
    display: inline-block;
    padding: 10px 28px;
}

.edubridge-contact-form .jobsearch-ct-msg {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}

/* Gated Modal (logged-out) */
.edubridge-modal-gated {
    text-align: center;
    padding: 20px 0;
}

.edubridge-modal-gated .edubridge-gated-icon {
    display: block;
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.6;
}

.edubridge-modal-gated p {
    font-size: 15px;
    color: var(--eb-body-muted, #6b7a99);
    margin: 0 0 16px;
}

/* Body lock when modal open */
body.edubridge-modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 576px) {
    .edubridge-modal-container {
        width: 95%;
        max-height: 95vh;
        border-radius: 8px;
    }

    .edubridge-modal-header {
        padding: 20px 20px 0;
    }

    .edubridge-modal-body {
        padding: 16px 20px 20px;
    }

    .edubridge-contact-form .edubridge-form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ==========================================================================
   EduBridge – Footer Redesign (Phase 3)
   UX/UI: CTA banner, widget grid, stats strip, copyright bar, back-to-top
   ========================================================================== */

/* --------------------------------------------------------------------------
   F1. Footer – Container & Background
   -------------------------------------------------------------------------- */

.edubridge-footer {
    background: linear-gradient(160deg, #3a2061 0%, #2e174f 40%, #261440 100%);
    position: relative;
    overflow: hidden;
    padding-top: 0;
    border-top: 3px solid var(--eb-accent, #f4a226);
    color: #fff;
}

/* Dot-grid texture overlay */
.edubridge-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

/* Radial amber glow at top */
.edubridge-footer::after {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 260px;
    background: radial-gradient(ellipse at center, rgba(244, 162, 38, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.edubridge-footer>.container,
.edubridge-footer .container {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   F2. Footer – CTA Banner
   -------------------------------------------------------------------------- */

.edubridge-footer-cta {
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.edubridge-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.edubridge-footer-cta-text {
    flex: 1;
    min-width: 280px;
}

.edubridge-footer-cta-heading {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.edubridge-footer-cta-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    line-height: 1.7;
    max-width: 520px;
}

.edubridge-footer-cta-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* ── CTA Buttons ───────────────────────────────────────────────────── */

.edubridge-footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
        transform 0.22s ease, box-shadow 0.22s ease;
    white-space: nowrap;
    letter-spacing: 0.3px;
    cursor: pointer;
}

.edubridge-footer-btn--primary {
    background: var(--eb-accent, #f4a226);
    color: #1a0d2e;
    border: 2px solid var(--eb-accent, #f4a226);
}

.edubridge-footer-btn--primary:hover {
    background: #e5940e;
    border-color: #e5940e;
    color: #1a0d2e;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(244, 162, 38, 0.3);
}

.edubridge-footer-btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.edubridge-footer-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   F3. Footer – Widget Grid
   -------------------------------------------------------------------------- */

.edubridge-footer-widgets {
    padding: 56px 0 24px;
}

.edubridge-footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

/* ── Columns ────────────────────────────────────────────────────────── */

.edubridge-footer-col {
    padding: 0 20px;
    margin-bottom: 32px;
}

.edubridge-footer-col--about {
    width: 32%;
    flex: 0 0 32%;
}

.edubridge-footer-col--links {
    width: 22.666%;
    flex: 0 0 22.666%;
}

/* ── Brand / Logo ───────────────────────────────────────────────────── */

.edubridge-footer-brand {
    margin-bottom: 20px;
}

.edubridge-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.edubridge-footer-logo img {
    display: block;
    max-width: 170px;
    height: auto;
}

.edubridge-footer-about {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 300px;
}

/* ── Contact Info ───────────────────────────────────────────────────── */

.edubridge-footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edubridge-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    line-height: 1.5;
}

.edubridge-footer-contact li i {
    color: var(--eb-accent, #f4a226);
    font-size: 14px;
    width: 16px;
    text-align: center;
    margin-top: 3px;
    flex-shrink: 0;
}

.edubridge-footer-contact li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.edubridge-footer-contact li a:hover {
    color: var(--eb-accent, #f4a226);
}

/* ── Column Headings ────────────────────────────────────────────────── */

.edubridge-footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.2px;
    line-height: 1.3;
}

/* Golden accent underline */
.edubridge-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 3px;
    background: var(--eb-accent, #f4a226);
    border-radius: 2px;
}

.rtl .edubridge-footer-heading::after {
    left: auto;
    right: 0;
}

/* ── Navigation Menus ───────────────────────────────────────────────── */

.edubridge-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.edubridge-footer-menu li {
    padding: 0;
    margin: 0 0 10px;
}

.edubridge-footer-menu li a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.22s ease, transform 0.22s ease, gap 0.22s ease;
    line-height: 1.5;
    padding: 2px 0;
}

/* Golden dot indicator */
.edubridge-footer-menu li a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(244, 162, 38, 0.5);
    flex-shrink: 0;
    transition: background 0.22s ease, transform 0.22s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .edubridge-footer-menu li a:hover {
        color: #ffffff;
        gap: 12px;
        transform: translateX(3px);
    }

    .rtl .edubridge-footer-menu li a:hover {
        transform: translateX(-3px);
    }

    .edubridge-footer-menu li a:hover::before {
        background: var(--eb-accent, #f4a226);
        transform: scale(1.4);
    }
}

@media (prefers-reduced-motion: reduce) {
    .edubridge-footer-menu li a:hover {
        color: var(--eb-accent, #f4a226);
    }

    .edubridge-footer-menu li a:hover::before {
        background: var(--eb-accent, #f4a226);
    }
}

/* Hide FontAwesome icons if plugin injects them */
.edubridge-footer-menu li a .fa,
.edubridge-footer-menu li a i {
    display: none;
}

/* --------------------------------------------------------------------------
   F4. Footer – Stats Strip
   -------------------------------------------------------------------------- */

.edubridge-footer-stats {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 28px 0 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.edubridge-footer-stat {
    text-align: center;
    padding: 0 36px;
}

.edubridge-footer-stat:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.rtl .edubridge-footer-stat:not(:last-child) {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.edubridge-footer-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.edubridge-footer-stat-num span {
    color: var(--eb-accent, #f4a226);
    font-size: 22px;
}

.edubridge-footer-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   F5. Footer – Bottom Bar (Copyright + Social)
   -------------------------------------------------------------------------- */

.edubridge-footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}

.edubridge-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 0;
}

.edubridge-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
    line-height: 1.6;
}

/* ── Social Icons ───────────────────────────────────────────────────── */

.edubridge-footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.edubridge-footer-social li {
    padding: 0;
    margin: 0;
}

.edubridge-footer-social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    line-height: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .edubridge-footer-social li a:hover {
        background: var(--eb-accent, #f4a226);
        color: #1a0d2e;
        border-color: var(--eb-accent, #f4a226);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(244, 162, 38, 0.35);
    }
}

@media (prefers-reduced-motion: reduce) {
    .edubridge-footer-social li a:hover {
        background: var(--eb-accent, #f4a226);
        color: #1a0d2e;
        border-color: var(--eb-accent, #f4a226);
    }
}

/* FontAwesome base for social icons */
.edubridge-footer-social li a.fa {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
}

/* --------------------------------------------------------------------------
   F6. Footer – Back-to-Top Button
   -------------------------------------------------------------------------- */

.edubridge-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--eb-accent, #f4a226);
    color: #1a0d2e;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
        background 0.2s ease;
    padding: 0;
}

.edubridge-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.edubridge-back-to-top:hover {
    background: #e5940e;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(244, 162, 38, 0.4);
}

.edubridge-back-to-top:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   F7. Footer – Responsive: Tablet
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
    .edubridge-footer-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .edubridge-footer-cta-heading {
        font-size: 22px;
    }

    .edubridge-footer-cta-actions {
        width: 100%;
    }

    .edubridge-footer-col--about {
        width: 100%;
        flex: 0 0 100%;
    }

    .edubridge-footer-col--links {
        width: 50%;
        flex: 0 0 50%;
    }

    .edubridge-footer-stats {
        flex-wrap: wrap;
        gap: 20px 0;
    }

    .edubridge-footer-stat {
        width: 50%;
        flex: 0 0 50%;
        padding: 12px 20px;
    }

    .edubridge-footer-stat:nth-child(2) {
        border-right: none;
    }

    .edubridge-footer-stat:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .edubridge-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   F8. Footer – Responsive: Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .edubridge-footer-cta {
        padding: 36px 0;
    }

    .edubridge-footer-cta-heading {
        font-size: 20px;
    }

    .edubridge-footer-cta-sub {
        font-size: 14px;
    }

    .edubridge-footer-cta-actions {
        flex-direction: column;
    }

    .edubridge-footer-btn {
        width: 100%;
        justify-content: center;
    }

    .edubridge-footer-widgets {
        padding: 40px 0 16px;
    }

    .edubridge-footer-col--about,
    .edubridge-footer-col--links {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 28px;
    }

    .edubridge-footer-heading {
        font-size: 15px;
    }

    .edubridge-footer-logo img {
        max-width: 140px;
    }

    .edubridge-footer-stats {
        padding: 20px 0 28px;
    }

    .edubridge-footer-stat {
        width: 50%;
        flex: 0 0 50%;
        padding: 10px 12px;
    }

    .edubridge-footer-stat-num {
        font-size: 24px;
    }

    .edubridge-footer-bottom-inner {
        padding: 14px 0;
        gap: 14px;
    }

    .edubridge-footer-copyright {
        font-size: 12px;
    }

    .edubridge-back-to-top {
        right: 16px;
        bottom: 16px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* --------------------------------------------------------------------------
   F9. Footer – RTL Support
   -------------------------------------------------------------------------- */

.rtl .edubridge-footer-cta-inner {
    text-align: right;
}

.rtl .edubridge-footer-col {
    text-align: right;
}

.rtl .edubridge-footer-menu li a {
    padding-right: 0;
}

.rtl .edubridge-footer-bottom-inner {
    direction: rtl;
}

.rtl .edubridge-back-to-top {
    right: auto;
    left: 24px;
}

@media (max-width: 768px) {
    .rtl .edubridge-back-to-top {
        left: 16px;
    }
}

/* --------------------------------------------------------------------------
   F10. Footer – Accessibility
   -------------------------------------------------------------------------- */

.edubridge-footer-menu li a:focus-visible,
.edubridge-footer-social li a:focus-visible,
.edubridge-footer-btn:focus-visible,
.edubridge-footer-contact li a:focus-visible {
    outline: 2px solid var(--eb-accent, #f4a226);
    outline-offset: 2px;
    border-radius: 3px;
}

/* Reduced motion: disable all animations */
@media (prefers-reduced-motion: reduce) {
    .edubridge-footer-menu li a {
        transition: none;
    }

    .edubridge-footer-social li a {
        transition: none;
    }

    .edubridge-footer-btn {
        transition: none;
    }

    .edubridge-back-to-top {
        transition: opacity 0.01s ease;
    }
}

/* ──── Compatibility: hide old widget-based footer elements ──────────── */

/* When the new footer.php is active, old widget areas & copyright bar
   rendered by the parent theme are no longer present. These rules
   prevent FOUC if the old structure somehow coexists. */
.edubridge-footer .careerfy-footer-widget,
.edubridge-footer .careerfy-copyright {
    display: none;
}

/* Ensure old footer styles don't conflict */
#careerfy-footer.careerfy-footer-one:not(.edubridge-footer) {
    /* Old footer (fallback if child footer.php not loaded) */
}

::marker {
    opacity: 0;
}

/* ==========================================================================
   LV. List View Mode – Wuzzuf-inspired
   Converts all listing grids (educator, job, institution) from 2-column
   grid to single-column horizontal list layout.
   ========================================================================== */

/* -----------------------------------------------------------------------
   LV1. Shared List View – Row & Card
   ----------------------------------------------------------------------- */

.edubridge-list-view .jobsearch-row {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
}

.edubridge-list-view .jobsearch-row>li {
    width: 100% !important;
    padding: 0 !important;
    float: none !important;
}

.edubridge-list-view .edubridge-card {
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.edubridge-list-view .edubridge-card:hover {
    border-color: rgba(58, 32, 97, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ── Left: Photo / Logo ─────────────────────────────────────────────── */

.edubridge-list-view .edubridge-card-figure {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 64px;
    min-width: 64px;
    height: 64px;
    min-height: 64px;
    padding: 0;
    border: none;
}

.edubridge-list-view .edubridge-card-figure a {
    display: block;
    width: 64px;
    min-width: 64px;
    height: 64px;
    min-height: 64px;
}

.edubridge-list-view .edubridge-card-figure img {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8ecf1;
}

/* Job logos: contain-fit with bg */
.edubridge-list-view .job-figure {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
}

.edubridge-list-view .job-figure a {
    width: 56px;
    min-width: 56px;
    height: 56px;
    min-height: 56px;
}

.edubridge-list-view .job-figure img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e8ecf1;
    background: #fafbfc;
}

/* ── Middle: Body Content ─────────────────────────────────────────────- */

.edubridge-list-view .edubridge-card-body {
    flex: 1;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.edubridge-list-view .edubridge-card-body-left {
    flex: 1;
    min-width: 0;
}

.edubridge-list-view .edubridge-card-name {
    text-align: left;
    font-size: 16px;
    margin-bottom: 4px;
}

.edubridge-list-view .edubridge-card-meta {
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 6px;
}

.edubridge-list-view .edubridge-card-meta li {
    display: inline-flex;
    align-items: center;
}

.edubridge-list-view .edubridge-card-jobtitle {
    margin-bottom: 0;
    font-size: 13px;
}

.edubridge-list-view .edubridge-card-location {
    text-align: left;
    font-size: 13px;
}

.edubridge-list-view .edubridge-card-location i {
    font-size: 12px;
}

/* ── Sector chips row ────────────────────────────────────────────────── */

.edubridge-list-view .edubridge-sector-chips {
    justify-content: flex-start;
    margin-bottom: 0;
}

/* ── Stats row ───────────────────────────────────────────────────────── */

.edubridge-list-view .edubridge-card-stats {
    justify-content: flex-start;
    margin-bottom: 0;
    gap: 12px;
    font-size: 12px;
}

.edubridge-list-view .edubridge-card-stats li {
    white-space: nowrap;
}

/* ── Right: Actions ──────────────────────────────────────────────────── */

.edubridge-list-view .edubridge-card-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    flex-shrink: 0;
    width: auto;
    min-width: 120px;
}

.edubridge-list-view .edubridge-card-actions a,
.edubridge-list-view .edubridge-card-actions .jobsearch-candidate-default-wrap a {
    width: 100%;
    padding: 7px 14px;
    font-size: 13px;
}

.edubridge-list-view .edubridge-card-actions .jobsearch-candidate-save-btn,
.edubridge-list-view .edubridge-card-actions .jobsearch-resume-add-list-btn {
    width: 100%;
    padding: 7px 14px;
    font-size: 13px;
}

/* ── Featured badge in list view ─────────────────────────────────────── */

.edubridge-list-view .edubridge-featured-badge {
    top: 10px;
    left: 10px;
    font-size: 10px;
    padding: 2px 8px;
}

.edubridge-list-view .edubridge-featured-card {
    border-left: 3px solid var(--eb-accent, #f4a226);
}

.edubridge-list-view .edubridge-featured-card::before {
    display: none;
}

/* -----------------------------------------------------------------------
   LV2. Educator (Candidate) – List View Specific
   ----------------------------------------------------------------------- */

.edubridge-list-view .jobsearch-candidate-default-wrap .edubridge-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.edubridge-list-view .jobsearch-candidate-default-wrap .jobsearch-candidate-default-left {
    flex: 1;
    min-width: 0;
}

.edubridge-list-view .jobsearch-candidate-default-wrap .edubridge-card-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: auto;
    min-width: 100px;
}

/* ── Hide duplicate action buttons inside candidate card body in list view ── */

.edubridge-list-view .jobsearch-candidate-default-wrap .edubridge-card-actions>* {
    display: block;
}

/* ── Verified badge inline ───────────────────────────────────────────── */

.edubridge-list-view .edubridge-verified-badge {
    font-size: 13px;
}

/* -----------------------------------------------------------------------
   LV3. Job – List View Specific
   ----------------------------------------------------------------------- */

.edubridge-list-view .jobsearch-joblisting-classic-wrap .edubridge-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.edubridge-list-view .jobsearch-joblisting-text .jobsearch-list-option {
    flex: 1;
    min-width: 0;
}

.edubridge-list-view .jobsearch-joblisting-text .edubridge-card-actions {
    width: auto;
    min-width: 44px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.edubridge-list-view .jobsearch-joblisting-text .edubridge-card-actions a {
    padding: 7px 12px;
    font-size: 13px;
    width: auto;
    line-height: 1;
}

/* ── Job company name inline ──────────────────────────────────────────── */

.edubridge-list-view .job-company-name {
    font-size: 13px;
    font-weight: 500;
}

/* ── Job chips inline ────────────────────────────────────────────────── */

.edubridge-list-view .edubridge-job-chips {
    justify-content: flex-start;
    margin-bottom: 0;
    flex-wrap: wrap;
}

.edubridge-list-view .edubridge-job-chips>a,
.edubridge-list-view .edubridge-job-chips .jobsearch-option-btn,
.edubridge-list-view .edubridge-job-chips span {
    font-size: 11px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Job title inline featured star ───────────────────────────────────── */

.edubridge-list-view .jobsearch-pst-title span {
    font-size: 10px;
}

/* -----------------------------------------------------------------------
   LV4. Institution (Employer) – List View Specific
   ----------------------------------------------------------------------- */

.edubridge-list-view .jobsearch-table-layer.edubridge-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.edubridge-list-view .jobsearch-table-layer .edubridge-card-body {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.edubridge-list-view .edubridge-employer-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: auto;
    min-width: 180px;
}

.edubridge-list-view .edubridge-employer-btn-row {
    flex-direction: row;
    gap: 8px;
}

.edubridge-list-view .edubridge-employer-btn-row a {
    padding: 7px 12px;
    font-size: 13px;
    white-space: nowrap;
}

.edubridge-list-view .edubridge-job-count {
    justify-content: flex-start;
    margin-bottom: 0;
    width: auto;
    font-size: 12px;
}

/* ── Remove top border accent for featured institutions in list ───────── */

.edubridge-list-view .edubridge-employer-grid .edubridge-card.edubridge-featured-card {
    border-top: none;
    border-left: 3px solid var(--eb-accent, #f4a226);
}

.edubridge-list-view .edubridge-employer-grid .edubridge-card.edubridge-featured-card::before {
    display: none;
}

/* -----------------------------------------------------------------------
   LV5. Responsive: Tablet
   ----------------------------------------------------------------------- */

@media (max-width: 992px) {
    .edubridge-list-view .edubridge-card {
        padding: 16px 20px;
        gap: 16px;
    }

    .edubridge-list-view .edubridge-card-body {
        gap: 16px;
    }

    .edubridge-list-view .edubridge-card-figure {
        width: 52px;
        height: 52px;
    }

    .edubridge-list-view .edubridge-card-figure a {
        width: 52px;
        height: 52px;
    }

    .edubridge-list-view .edubridge-card-figure img {
        width: 52px;
        height: 52px;
    }

    .edubridge-list-view .job-figure img {
        width: 48px;
        height: 48px;
    }

    .edubridge-list-view .edubridge-card-actions {
        min-width: 100px;
    }

    .edubridge-list-view .edubridge-employer-actions {
        min-width: 140px;
    }
}

/* -----------------------------------------------------------------------
   LV6. Responsive: Mobile — stack vertically
   ----------------------------------------------------------------------- */

@media (max-width: 768px) {
    .edubridge-list-view .edubridge-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
    }

    .edubridge-list-view .edubridge-card-figure {
        width: 100%;
        height: auto;
        text-align: center;
        margin-bottom: 0;
    }

    .edubridge-list-view .edubridge-card-figure a,
    .edubridge-list-view .edubridge-card-figure img {
        width: 56px;
        height: 56px;
    }

    .edubridge-list-view .edubridge-card-body {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .edubridge-list-view .edubridge-card-body-left {
        text-align: center;
    }

    .edubridge-list-view .edubridge-card-name {
        text-align: center;
        font-size: 15px;
    }

    .edubridge-list-view .edubridge-card-meta {
        text-align: center;
        justify-content: center;
    }

    .edubridge-list-view .edubridge-sector-chips {
        justify-content: center;
    }

    .edubridge-list-view .edubridge-card-stats {
        justify-content: center;
    }

    .edubridge-list-view .edubridge-card-actions {
        width: 100%;
        min-width: unset;
    }

    .edubridge-list-view .edubridge-card-actions a {
        width: 100%;
        text-align: center;
    }

    .edubridge-list-view .edubridge-employer-actions {
        width: 100%;
        min-width: unset;
    }

    .edubridge-list-view .edubridge-employer-btn-row {
        justify-content: center;
    }

    .edubridge-list-view .edubridge-job-count {
        justify-content: center;
        width: 100%;
    }

    .edubridge-list-view .jobsearch-joblisting-text .edubridge-card-actions a {
        width: 100%;
    }

    .edubridge-list-view .edubridge-featured-badge {
        top: 8px;
        left: 8px;
        font-size: 9px;
    }

    .edubridge-list-view .edubridge-featured-card {
        border-left: none;
        border-top: 3px solid var(--eb-accent, #f4a226);
    }

    .edubridge-list-view .edubridge-employer-grid .edubridge-card.edubridge-featured-card {
        border-left: none;
        border-top: 3px solid var(--eb-accent, #f4a226);
    }
}

/* -----------------------------------------------------------------------
   LV7. RTL Support
   ----------------------------------------------------------------------- */

.rtl .edubridge-list-view .edubridge-card-name {
    text-align: right;
}

.rtl .edubridge-list-view .edubridge-card-meta {
    text-align: right;
}

.rtl .edubridge-list-view .edubridge-card-location {
    text-align: right;
}

.rtl .edubridge-list-view .edubridge-sector-chips {
    justify-content: flex-end;
}

.rtl .edubridge-list-view .edubridge-card-stats {
    justify-content: flex-end;
}

.rtl .edubridge-list-view .edubridge-featured-card {
    border-left: none;
    border-right: 3px solid var(--eb-accent, #f4a226);
}

.rtl .edubridge-list-view .edubridge-employer-grid .edubridge-card.edubridge-featured-card {
    border-left: none;
    border-right: 3px solid var(--eb-accent, #f4a226);
}

.rtl .edubridge-list-view .edubridge-job-count {
    justify-content: flex-end;
}

/* ==========================================================================
   Jobs Listing – UX Rethink (Wuzzuf-inspired)
   Enhanced List View, Workplace Badges, Salary, Hero Heading
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Page Hero / Heading Area
   -------------------------------------------------------------------------- */

/* Style the page title as a mini hero */
.page-id-unknown .page-title,
.jobs-listing .page-title,
body.page-template-default.page-id-unknown .entry-header {
    /* Fallback: style the heading area generically */
}

/* Target the breadcrumb + heading wrapper on jobs listing */
.edubridge-list-view+.jobsearch-filterable,
.jobsearch-job.jobsearch-joblisting-classic .page-header {
    /* contextual */
}

/* Style the "Jobs Listing" heading area */
body.page-id-unknown h1.page-title,
body.jobs-listing h1.page-title,
.page-template-default .entry-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--eb-heading, #0d1b2a);
    margin-bottom: 4px;
}

/* Subtitle under heading */
.page-template-default .entry-header .page-subtitle,
.page-template-default .entry-header p {
    color: var(--eb-body-muted, #6b7a99);
    font-size: 16px;
}

/* Breadcrumb styling */
.edubridge-list-view+.breadcrumb,
.jobsearch-job.jobsearch-joblisting-classic .breadcrumb {
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
    margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   B. Enhanced List View Cards (Wuzzuf-style)
   -------------------------------------------------------------------------- */

.edubridge-list-view .edubridge-card {
    padding: 16px 20px;
    gap: 16px;
    border-radius: 10px;
    border: 1px solid #eef1f5;
    transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    position: relative;
}

@media (prefers-reduced-motion: no-preference) {
    .edubridge-list-view .edubridge-card:hover {
        border-color: rgba(58, 32, 97, 0.15);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
        transform: translateY(-1px);
    }
}

/* ── Left: Logo ──────────────────────────────────────────────────────── */

.edubridge-list-view .job-figure {
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
}

.edubridge-list-view .job-figure a {
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
}

.edubridge-list-view .job-figure img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 10px;
    border: 1px solid #e8ecf1;
    object-fit: contain;
    background: #fafbfc;
}

/* Initials avatar fallback */
.edubridge-list-view .job-figure .edubridge-initials-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--eb-primary-light, rgba(58, 32, 97, 0.1)), rgba(58, 32, 97, 0.05));
    color: var(--eb-primary, #3a2061);
}

/* ── Middle: Body ─────────────────────────────────────────────────────── */

.edubridge-list-view .edubridge-card-body {
    gap: 12px;
}

.edubridge-list-view .edubridge-card-body-left {
    flex: 1;
    min-width: 0;
}

.edubridge-list-view .edubridge-card-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}

/* Company name with icon */
.edubridge-list-view .job-company-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--eb-primary, #3a2061);
}

.edubridge-list-view .job-company-name a {
    color: var(--eb-primary, #3a2061);
    text-decoration: none;
}

.edubridge-list-view .job-company-name a:hover {
    text-decoration: underline;
}

/* ── Meta row: company + location + date inline ──────────────────────── */

.edubridge-list-view .edubridge-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
    margin-bottom: 8px;
}

.edubridge-list-view .edubridge-card-meta li {
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
    white-space: nowrap;
}

.edubridge-list-view .edubridge-card-meta .job-company-name {
    font-weight: 600;
    color: var(--eb-primary, #3a2061);
}

.edubridge-list-view .edubridge-card-meta .job-company-name .fa {
    display: none;
}

/* Location with icon */
.edubridge-list-view .edubridge-card-location i {
    font-size: 12px;
    margin-right: 3px;
    color: var(--eb-primary, #3a2061);
}

/* ── Chips row: job type + sector ────────────────────────────────────── */

.edubridge-list-view .edubridge-sector-chips {
    margin-bottom: 6px;
    gap: 5px;
}

.edubridge-list-view .edubridge-job-chips a,
.edubridge-list-view .edubridge-job-chips .jobsearch-option-btn,
.edubridge-list-view .edubridge-job-chips span {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 4px;
    font-weight: 600;
    line-height: 1.6;
}

.edubridge-list-view .edubridge-job-chips .jobsearch-option-btn {
    background: rgba(244, 162, 38, 0.12);
    color: var(--eb-accent-dark, #b87810);
}

/* ── Stats row: experience, salary, posted date ──────────────────────── */

.edubridge-list-view .edubridge-card-stats {
    justify-content: flex-start;
    gap: 16px;
    font-size: 12px;
    color: var(--eb-body-muted, #6b7a99);
    margin-bottom: 0;
}

.edubridge-list-view .edubridge-card-stats li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.edubridge-list-view .edubridge-card-stats .fa {
    font-size: 12px;
    color: var(--eb-primary, #3a2061);
}

/* Salary highlight */
.edubridge-list-view .edubridge-card-stats li .fa-money {
    color: var(--eb-success, #4ecb71);
}

.edubridge-list-view .edubridge-card-stats li:has(.fa-money) {
    font-weight: 600;
    color: var(--eb-success-dark, #38a85a);
}

/* ── Right: Actions ──────────────────────────────────────────────────── */

.edubridge-list-view .edubridge-card-actions {
    min-width: 100px;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.edubridge-list-view .edubridge-card-actions a,
.edubridge-list-view .edubridge-card-actions .jobsearch-candidate-default-wrap a {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.edubridge-list-view .edubridge-card-actions a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

/* Save/heart button */
.edubridge-list-view .edubridge-card-actions .jobsearch-save-btn-icon,
.edubridge-list-view .edubridge-card-actions .fa-heart-o,
.edubridge-list-view .edubridge-card-actions .fa-heart {
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   C. Workplace Type Badge
   -------------------------------------------------------------------------- */

.edubridge-workplace-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
    line-height: 1.4;
    border: 1px solid;
}

.rtl .edubridge-workplace-badge {
    right: auto;
    left: 12px;
}

/* On-site */
.edubridge-workplace-on-site,
.edubridge-workplace-onsite {
    background: rgba(58, 32, 97, 0.07);
    color: var(--eb-primary, #3a2061);
    border-color: rgba(58, 32, 97, 0.15);
}

/* Remote */
.edubridge-workplace-remote {
    background: rgba(78, 203, 113, 0.1);
    color: #2d8a4a;
    border-color: rgba(78, 203, 113, 0.25);
}

/* Hybrid */
.edubridge-workplace-hybrid {
    background: rgba(244, 162, 38, 0.1);
    color: #b87810;
    border-color: rgba(244, 162, 38, 0.25);
}

/* Hide workplace badge in list view — already shown in chips/meta */
.edubridge-list-view .edubridge-workplace-badge {
    display: none;
}

/* Instead, show workplace type as a colored chip in the chips row */
.edubridge-list-view .edubridge-job-chips .workplace-type-chip {
    background: rgba(58, 32, 97, 0.07);
    color: var(--eb-primary, #3a2061);
    border: 1px solid rgba(58, 32, 97, 0.12);
}

.edubridge-list-view .edubridge-job-chips .workplace-type-chip.wp-remote {
    background: rgba(78, 203, 113, 0.1);
    color: #2d8a4a;
    border-color: rgba(78, 203, 113, 0.2);
}

.edubridge-list-view .edubridge-job-chips .workplace-type-chip.wp-hybrid {
    background: rgba(244, 162, 38, 0.1);
    color: #b87810;
    border-color: rgba(244, 162, 38, 0.2);
}

/* --------------------------------------------------------------------------
   D. Background strip for featured cards in list view
   -------------------------------------------------------------------------- */

.edubridge-list-view .edubridge-featured-card {
    border-left: 3px solid var(--eb-accent, #f4a226);
    background: linear-gradient(to right, rgba(244, 162, 38, 0.02), transparent);
}

.edubridge-list-view .edubridge-featured-card::before {
    display: none;
}

/* --------------------------------------------------------------------------
   E. Sort / Results Toolbar
   -------------------------------------------------------------------------- */

/* Enhanced result toolbar */
.sortfiltrs-contner .jobsearch-filterable h2 {
    font-size: 20px;
}

.sortfiltrs-contner .jobsearch-filterable .jobsearch-filterable-select select {
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7a99' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    min-width: 140px;
}

.sortfiltrs-contner .jobsearch-filterable .jobsearch-filterable-select select:focus {
    border-color: var(--eb-primary, #3a2061);
    box-shadow: 0 0 0 3px rgba(58, 32, 97, 0.08);
    outline: none;
}

/* Result count styled as badge */
.sortfiltrs-contner .jobsearch-filterable h2 em,
.sortfiltrs-contner .jobsearch-filterable h2 small {
    font-size: 14px;
    font-weight: 500;
    color: var(--eb-body-muted, #6b7a99);
    font-style: normal;
}

/* RSS feed link styling */
.sortfiltrs-contner .jobsearch-filterable a[href*="feed"],
.sortfiltrs-contner .jobsearch-filterable .jobsearch-sort-section li:last-child a {
    font-size: 13px;
    font-weight: 600;
    color: var(--eb-accent, #f4a226);
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid rgba(244, 162, 38, 0.3);
    border-radius: 6px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sortfiltrs-contner .jobsearch-filterable a[href*="feed"]:hover {
    background: rgba(244, 162, 38, 0.08);
    border-color: var(--eb-accent, #f4a226);
}

/* --------------------------------------------------------------------------
   F. Job Type + Sector Chips in List View (more compact)
   -------------------------------------------------------------------------- */

.edubridge-list-view .edubridge-job-chips {
    gap: 4px;
    margin-bottom: 4px;
}

/* --------------------------------------------------------------------------
   G. Updated Filter Sidebar
   -------------------------------------------------------------------------- */

/* Sidebar wrapper */
.listin-filters-sidebar {
    background: #fff;
    border-radius: 10px;
    border: 1px solid #eef1f5;
    padding: 20px 16px;
    margin-bottom: 24px;
}

/* Mobile filter button */
.mobfiltrs-openrbtn-con a.open-listin-mobfiltrs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobfiltrs-openrbtn-con a.open-listin-mobfiltrs:hover {
    background: var(--eb-primary-dark, #2e174f);
}

/* Filter section accordion styling */
.edubridge-filter-section {
    margin-bottom: 4px;
}

/* Style the filter title links */
.listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a {
    font-size: 14px;
    font-weight: 700;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--eb-heading, #0d1b2a);
    transition: background 0.15s ease;
}

.listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a:hover {
    background: rgba(58, 32, 97, 0.04);
}

/* Chevron */
.listin-filters-sidebar .jobsearch-search-filter-toggle .jobsearch-fltbox-title a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 13px;
    color: #9ca3af;
    transition: transform 0.25s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.listin-filters-sidebar .jobsearch-search-filter-toggle.jobsearch-remove-padding .jobsearch-fltbox-title a::after {
    transform: rotate(-90deg);
}

/* Filter content area */
.listin-filters-sidebar .jobsearch-checkbox-toggle {
    padding: 4px 12px 10px;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.25s ease;
}

/* Checkbox items */
.listin-filters-sidebar .jobsearch-checkbox li {
    padding: 5px 0;
    gap: 6px;
}

.listin-filters-sidebar .jobsearch-checkbox li label {
    font-size: 13px;
    color: #374151;
    gap: 6px;
}

.listin-filters-sidebar .filter-post-count {
    font-size: 11px;
    padding: 1px 5px;
    min-width: 18px;
}

/* "See more" link */
.listin-filters-sidebar .jobsearch-checkbox li.jobsearch-more-filter a,
.listin-filters-sidebar .jobsearch-checkbox li .jobsearch-more-filter a,
.listin-filters-sidebar a[href="javascript:void(0);"] {
    font-size: 13px;
    font-weight: 600;
    color: var(--eb-primary, #3a2061);
    text-decoration: none;
    padding: 2px 0;
    display: inline-block;
}

.listin-filters-sidebar a[href="javascript:void(0);"]:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   H. Empty State Enhancement
   -------------------------------------------------------------------------- */

.edubridge-empty-state {
    padding: 48px 24px;
    border-radius: 10px;
    border: 1px dashed #d1d5db;
    background: #fafbfc;
}

.edubridge-empty-icon {
    font-size: 40px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.edubridge-empty-state strong {
    font-size: 17px;
}

.edubridge-empty-state span {
    font-size: 14px;
    max-width: 360px;
}

.edubridge-empty-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--eb-primary, #3a2061);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.edubridge-empty-reset:hover {
    background: var(--eb-primary-dark, #2e174f);
    color: #fff;
}

/* --------------------------------------------------------------------------
   I. Responsive Enhancements
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {

    /* Stack card elements on tablet */
    .edubridge-list-view .edubridge-card {
        flex-wrap: wrap;
        gap: 12px;
    }

    .edubridge-list-view .edubridge-card-body {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .edubridge-list-view .edubridge-card-body-left {
        width: 100%;
    }

    .edubridge-list-view .edubridge-card-actions {
        flex-direction: row;
        min-width: unset;
        width: 100%;
    }

    .edubridge-list-view .edubridge-card-actions a {
        flex: 1;
    }

    /* Keep logo inline with first row on tablet */
    .edubridge-list-view .edubridge-card {
        display: flex;
        flex-wrap: wrap;
    }

    .edubridge-list-view .job-figure {
        order: 0;
    }

    .edubridge-list-view .edubridge-card-body {
        order: 1;
        flex: 1 1 calc(100% - 80px);
    }

    .edubridge-list-view .edubridge-card-actions {
        order: 2;
    }
}

@media (max-width: 768px) {
    .edubridge-list-view .edubridge-card {
        padding: 14px 16px;
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: stretch;
    }

    .edubridge-list-view .job-figure {
        align-self: center;
        margin-bottom: 4px;
    }

    .edubridge-list-view .job-figure img,
    .edubridge-list-view .job-figure .edubridge-initials-avatar {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
    }

    .edubridge-list-view .edubridge-card-body {
        flex-direction: column;
        gap: 8px;
    }

    .edubridge-list-view .edubridge-card-name {
        font-size: 15px;
        text-align: center;
    }

    .edubridge-list-view .edubridge-card-meta {
        justify-content: center;
        gap: 4px 12px;
    }

    .edubridge-list-view .edubridge-sector-chips {
        justify-content: center;
    }

    .edubridge-list-view .edubridge-card-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .edubridge-list-view .edubridge-card-actions {
        flex-direction: row;
        min-width: unset;
        width: 100%;
    }

    .edubridge-list-view .edubridge-card-actions a {
        flex: 1;
        padding: 8px 10px;
        font-size: 13px;
    }

    /* Hide workplace badge on mobile */
    .edubridge-workplace-badge {
        display: none;
    }

    /* Show workplace as chip instead */
    .edubridge-list-view .edubridge-job-chips .workplace-type-chip {
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .edubridge-list-view .jobsearch-row {
        gap: 10px;
    }

    .edubridge-list-view .edubridge-card {
        padding: 12px 14px;
    }

    .edubridge-list-view .edubridge-card-name {
        font-size: 14px;
    }

    .edubridge-list-view .edubridge-card-meta li {
        font-size: 12px;
    }

    .edubridge-list-view .edubridge-card-stats {
        font-size: 11px;
        gap: 6px 10px;
    }

    .sortfiltrs-contner .jobsearch-filterable {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .sortfiltrs-contner .jobsearch-sort-section {
        width: 100%;
        flex-wrap: wrap;
    }

    .sortfiltrs-contner .jobsearch-filterable-select select {
        min-width: 120px;
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   J. RTL Adjustments for Redesigned Cards
   -------------------------------------------------------------------------- */

.rtl .edubridge-list-view .edubridge-card-name {
    text-align: right;
}

.rtl .edubridge-list-view .edubridge-card-meta {
    text-align: right;
}

.rtl .edubridge-list-view .edubridge-card-meta li {
    margin-left: 0;
    margin-right: 0;
}

.rtl .edubridge-list-view .edubridge-card-location i {
    margin-right: 0;
    margin-left: 3px;
}

.rtl .edubridge-list-view .edubridge-card-stats {
    justify-content: flex-start;
}

.rtl .edubridge-list-view .edubridge-sector-chips {
    justify-content: flex-start;
}

.rtl .edubridge-list-view .edubridge-featured-card {
    border-left: none;
    border-right: 3px solid var(--eb-accent, #f4a226);
    background: linear-gradient(to left, rgba(244, 162, 38, 0.02), transparent);
}

.rtl .edubridge-list-view .edubridge-card-actions {
    margin-right: 0;
    margin-left: 0;
}

.rtl .sortfiltrs-contner .jobsearch-filterable .jobsearch-filterable-select select {
    background-position: left 10px center;
    padding: 8px 12px 8px 32px;
}

@media (max-width: 768px) {
    .rtl .edubridge-list-view .edubridge-featured-card {
        border-right: none;
        border-top: 3px solid var(--eb-accent, #f4a226);
        border-left: none;
    }
}

/* -----------------------------------------------------------------------
   LV8. Accessibility
   ----------------------------------------------------------------------- */

.edubridge-list-view .edubridge-card:focus-within {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
}

.edubridge-list-view .edubridge-card a:focus-visible {
    outline: 2px solid var(--eb-primary, #3a2061);
    outline-offset: 2px;
    border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .edubridge-list-view .edubridge-card {
        transition: none;
    }

    .edubridge-list-view .edubridge-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ==========================================================================
   AV. Initials Avatar – Material Design style
   Replaces missing profile images with a coloured circle + initials.
   ========================================================================== */

.edubridge-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1;
    user-select: none;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* When avatar sits inside the card figure, replace the image slot */

.edubridge-card-figure .edubridge-avatar {
    display: flex;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #e8ecf1;
    font-size: 24px;
}

/* Job figure — smaller, contain-fit style */

.edubridge-card-figure.job-figure .edubridge-avatar {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    font-size: 20px;
    border: 1px solid #e8ecf1;
}

/* List view sizing */

.edubridge-list-view .edubridge-card-figure .edubridge-avatar {
    width: 64px;
    height: 64px;
    font-size: 24px;
}

.edubridge-list-view .job-figure .edubridge-avatar {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    font-size: 20px;
}

/* Responsive */

@media (max-width: 992px) {

    .edubridge-card-figure .edubridge-avatar,
    .edubridge-list-view .edubridge-card-figure .edubridge-avatar {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .edubridge-card-figure.job-figure .edubridge-avatar,
    .edubridge-list-view .job-figure .edubridge-avatar {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    .edubridge-card-figure .edubridge-avatar,
    .edubridge-list-view .edubridge-card-figure .edubridge-avatar {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
}

/* ==========================================================================
   99. Popular Job Categories – Font Awesome Icon Override
   ========================================================================== */

/*
   The "Popular Job Categories" section uses the careerfy-categories-styletwo
   view (view2) which outputs <span class="careerfy-categories-styletwo-image">
   with an empty background-image. This CSS overrides those spans to show
   Font Awesome icons with EduBridge brand styling.
*/

/* Reset the empty image span to a brand-colored icon circle */
.careerfy-categories-styletwo span.careerfy-categories-styletwo-image {
    background: rgba(58, 32, 97, 0.08) !important;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    -webkit-transition: background 0.3s ease;
    transition: background 0.3s ease;
}

/* Base icon pseudo-element (default fallback) */
.careerfy-categories-styletwo span.careerfy-categories-styletwo-image::before {
    content: '\f19d';
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    color: var(--eb-primary, #3a2061);
    line-height: 1;
    -webkit-transition: color 0.3s ease, -webkit-transform 0.3s ease;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* ── Per-category icon assignments ── */

/* 1. Assistant Principals – graduation-cap */
.careerfy-categories-styletwo li:nth-child(1) .careerfy-categories-styletwo-image::before {
    content: '\f19d';
}

/* 2. Curriculum Developers and Coordinators – book */
.careerfy-categories-styletwo li:nth-child(2) .careerfy-categories-styletwo-image::before {
    content: '\f02d';
}

/* 3. Teaching Positions – briefcase */
.careerfy-categories-styletwo li:nth-child(3) .careerfy-categories-styletwo-image::before {
    content: '\f0b1';
}

/* 4. Admissions Officers – user-plus */
.careerfy-categories-styletwo li:nth-child(4) .careerfy-categories-styletwo-image::before {
    content: '\f234';
}

/* 5. IB Coordinators – globe */
.careerfy-categories-styletwo li:nth-child(5) .careerfy-categories-styletwo-image::before {
    content: '\f0ac';
}

/* 6. Primary Teachers – child */
.careerfy-categories-styletwo li:nth-child(6) .careerfy-categories-styletwo-image::before {
    content: '\f1ae';
}

/* 7. Business Managers – suitcase */
.careerfy-categories-styletwo li:nth-child(7) .careerfy-categories-styletwo-image::before {
    content: '\f0f7';
}

/* 8. PYP, MYP, and DP Coordinators – users */
.careerfy-categories-styletwo li:nth-child(8) .careerfy-categories-styletwo-image::before {
    content: '\f0c0';
}

/* ── Hover effects ── */

/* Fill the circle with brand color on hover */
.careerfy-categories-styletwo li:hover .careerfy-categories-styletwo-image {
    background: var(--eb-primary, #3a2061) !important;
}

/* Flip the icon and make it white on hover */
.careerfy-categories-styletwo li:hover .careerfy-categories-styletwo-image::before {
    color: #ffffff;
    -webkit-transform: rotateY(160deg);
    transform: rotateY(160deg);
}

/* ==========================================================================
   Homepage: Featured Jobs (List View) & Top Institutions (Card Grid)
   ========================================================================== */

/* ── Hide old WPBakery sections ───────────────────────────────────── */

.edubridge-section-light .careerfy-jobs-scroll-slider,
.edubridge-section-light .careerfy-fancy-title+script+.careerfy-jobs-scroll-slider,
.edubridge-section-light .jobs-scroll-wrap,
.edubridge-institutions .top-companies-list,
.edubridge-institutions .top-companies-list ul {
    display: none !important;
}

/* ── Jobs: List layout (2 per row, 4 items) ────────────────────────── */

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-homepage-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-homepage-list-item {
    padding: 0;
    margin: 0;
    min-width: 0;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .jobsearch-joblisting-classic-wrap.edubridge-card {
    overflow: visible !important;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-homepage-list-item:last-child {
    margin-bottom: 0;
}

/* Ensure the list-view card inside homepage uses the horizontal layout */
.edubridge-homepage-jobs-grid.edubridge-list-view .jobsearch-joblisting-classic-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 20px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .edubridge-homepage-jobs-grid.edubridge-list-view .jobsearch-joblisting-classic-wrap:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-color: rgba(58, 32, 97, 0.2);
    }
}

.edubridge-homepage-jobs-grid.edubridge-list-view .job-figure {
    flex-shrink: 0;
    margin: 0;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .job-figure a {
    display: block;
    width: 56px;
    height: 56px;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .job-figure img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: contain;
    border: 1px solid #e8ecf1;
    background: #fafbfc;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .job-figure .edubridge-avatar {
    width: 56px;
    height: 56px;
    font-size: 20px;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .jobsearch-joblisting-text.edubridge-card-body {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-width: 0;
    padding: 0;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .jobsearch-list-option.edubridge-card-body-left {
    flex: 1;
    min-width: 0;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--eb-heading, #0d1b2a);
    margin: 0 0 4px;
    text-align: left;
    line-height: 1.35;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-name a {
    color: var(--eb-heading, #0d1b2a);
    text-decoration: none;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-name a:hover {
    color: var(--eb-primary, #3a2061);
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 6px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 16px;
    text-align: left;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-meta li {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-location i {
    margin-right: 3px;
    font-size: 12px;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-sector-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    margin-bottom: 4px;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-stats li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-stats .fa {
    font-size: 12px;
    color: var(--eb-primary, #3a2061);
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-actions {
    flex-shrink: 0;
    width: auto;
    min-width: 110px;
    margin: 0;
    padding: 0;
    border: none;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-actions a {
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-card-actions a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-featured-badge,
.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-workplace-badge {
    position: absolute;
    z-index: 2;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-featured-badge {
    top: 12px;
    left: 12px;
    background: var(--eb-accent, #f4a226);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-workplace-badge {
    top: 12px;
    right: 12px;
    background: rgba(58, 32, 97, 0.08);
    color: var(--eb-primary, #3a2061);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ── Featured card left accent ────────────────────────────────────── */

.edubridge-homepage-jobs-grid.edubridge-list-view .edubridge-featured-card {
    border-left: 3px solid var(--eb-accent, #f4a226);
}

/* ── View More button ──────────────────────────────────────────── */

.edubridge-homepage-view-more {
    text-align: center;
    margin-top: 24px;
}

.edubridge-view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--eb-primary, #3a2061);
    background: transparent;
    border: 2px solid var(--eb-primary, #3a2061);
    padding: 10px 28px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.edubridge-view-more-btn:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
    transform: translateY(-1px);
}

.edubridge-view-more-btn .fa-arrow-right {
    font-size: 13px;
}

/* ── Institutions: Grid layout ────────────────────────────────────── */

.edubridge-homepage-institutions-grid .edubridge-homepage-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.edubridge-homepage-institutions-grid .edubridge-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    .edubridge-homepage-institutions-grid .edubridge-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-color: rgba(58, 32, 97, 0.2);
    }
}

.edubridge-homepage-institutions-grid .edubridge-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.edubridge-homepage-institutions-grid .edubridge-card-actions {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0f2f5;
    text-align: center;
}

.edubridge-homepage-institutions-grid .edubridge-card-actions a {
    display: inline-block;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid var(--eb-primary, #3a2061);
    color: var(--eb-primary, #3a2061);
    background: transparent;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.edubridge-homepage-institutions-grid .edubridge-card-actions a:hover {
    background: var(--eb-primary, #3a2061);
    color: #fff;
}

.edubridge-homepage-institutions-grid .edubridge-card-stats {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 13px;
    color: var(--eb-body-muted, #6b7a99);
}

.edubridge-homepage-institutions-grid .edubridge-card-stats li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edubridge-homepage-institutions-grid .edubridge-card-stats .fa {
    font-size: 13px;
    color: var(--eb-primary, #3a2061);
}

.edubridge-homepage-institutions-grid .edubridge-sector-chips {
    justify-content: center;
}

.edubridge-homepage-institutions-grid .edubridge-card-location {
    display: block;
    text-align: center;
    margin-bottom: 6px;
}

/* ── Responsive: Institutions grid ────────────────────────────────── */

@media (max-width: 1199px) {
    .edubridge-homepage-institutions-grid .edubridge-homepage-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .edubridge-homepage-institutions-grid .edubridge-homepage-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 479px) {
    .edubridge-homepage-institutions-grid .edubridge-homepage-grid-row {
        grid-template-columns: 1fr;
    }
}