/* Elysian Staffing - Theme CSS */
:root {
    /* Elysian Recruitment - Strict Contrast Tokens */
    --bg-dark: #0B0D10;
    --surface-dark: #11151C;
    --text-on-dark: #F5F0E8;
    --muted-on-dark: #AEB6BF;
    --bg-light: #F5F0E8;
    --surface-light: #FFFFFF;
    --text-on-light: #151A21;
    --muted-on-light: #5B6470;
    --accent: #C6A86B;
    /* Semantic Mappings for Legacy Compatibility */
    --pf-primary: var(--bg-dark);
    --pf-primary-light: var(--surface-dark);
    --pf-secondary: var(--accent);
    --pf-accent: var(--accent);
    --pf-dark: var(--bg-dark);
    --pf-light: var(--bg-light);
    --pf-white: var(--text-on-dark);
    --pf-grey: var(--muted-on-dark);
    --pf-border: rgba(198, 168, 107, 0.2);
    /* Typography */
    --pf-font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --pf-font-heading: 'Cormorant Garamond', 'Georgia', serif;
    /* Spacing & Borders */
    --pf-section-padding: 6rem 0;
    --pf-border-radius: 4px;
    /* More executive/sharp feel */
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

body {
    font-family: var(--pf-font-main);
    color: var(--text-on-dark);
    line-height: 1.7;
    background-color: var(--bg-dark);
    -webkit-font-smoothing: antialiased;
}

    body.bg-light {
        color: var(--text-on-light) !important;
        background-color: var(--bg-light) !important;
    }

        body.bg-light.bg-black {
            color: var(--text-on-light) !important;
            background-color: var(--bg-dark) !important;
        }
/* Global Contrast Handlers */
.section-dark,
.bg-dark {
    background-color: var(--bg-dark) !important;
    color: var(--text-on-dark) !important;
}

section.section-dark,
section.bg-dark {
    color: var(--text-on-dark) !important;
}

.bg-light,
.bg-light-pf {
    background-color: var(--bg-light) !important;
    color: var(--text-on-light) !important;
}

.sidebar .nav-link {
    color: var(--muted-on-dark) !important;
}

    .sidebar .nav-link:hover,
    .sidebar .nav-link.active {
        color: var(--text-on-dark) !important;
        background: rgba(198, 168, 107, 0.1) !important;
    }

.text-smoke,
.text-muted {
    color: var(--muted-on-dark) !important;
}

.bg-light .text-smoke,
.bg-light .text-muted,
.bg-light-pf .text-smoke,
.bg-light-pf .text-muted,
.bg-light p,
.bg-light span,
.bg-light li {
    color: var(--text-on-light);
}

.bg-light .text-muted {
    color: var(--muted-on-light) !important;
}

/* Expanded Global Contrast Guard */
.bg-dark,
.section-dark,
.bg-charcoal,
.bg-obsidian,
.editorial-search-panel,
.hero-section {
    color: var(--text-on-dark) !important;
}

    .bg-dark p,
    .bg-dark span,
    .bg-dark div,
    .bg-dark li,
    .bg-dark label,
    .section-dark p,
    .section-dark span,
    .section-dark div,
    .section-dark li,
    .section-dark label,
    .editorial-search-panel p,
    .editorial-search-panel span,
    .editorial-search-panel div,
    .editorial-search-panel li,
    .editorial-search-panel label {
        color: inherit;
        /* Should inherit text-on-dark from parent */
    }

    /* Force high-contrast for ALL Bootstrap text utilities in dark areas */
    .bg-dark .text-dark,
    .section-dark .text-dark,
    .bg-obsidian .text-dark,
    .bg-charcoal .text-dark,
    .bg-dark .text-secondary,
    .section-dark .text-secondary,
    .bg-dark .text-body,
    .section-dark .text-body,
    .bg-dark .text-muted,
    .section-dark .text-muted,
    .bg-dark .text-black,
    .section-dark .text-black,
    .bg-charcoal .text-primary {
        color: var(--text-on-dark) !important;
    }

    /* Reinforced Dark Context Overrides */
    .bg-dark .text-accent,
    .section-dark .text-accent,
    .bg-obsidian .text-accent,
    .bg-charcoal .text-accent,
    .editorial-search-panel .text-accent {
        color: var(--accent) !important;
    }

    .bg-dark .text-smoke,
    .section-dark .text-smoke,
    .bg-obsidian .text-smoke,
    .bg-charcoal .text-smoke,
    .editorial-search-panel .text-smoke {
        color: var(--muted-on-dark) !important;
    }

    .bg-dark span,
    .section-dark span,
    .bg-dark p,
    .section-dark p {
        color: var(--text-on-dark) !important;
    }


    .bg-dark .text-body-secondary,
    .section-dark .text-body-secondary,
    .bg-dark .text-body-tertiary,
    .section-dark .text-body-tertiary {
        color: var(--muted-on-dark) !important;
    }

    .bg-dark .small,
    .section-dark .small,
    .bg-dark .opacity-75,
    .section-dark .opacity-75 {
        color: var(--muted-on-dark) !important;
    }

    /* Placeholders and Forms */
    .bg-dark ::placeholder,
    .section-dark ::placeholder,
    .editorial-search-panel ::placeholder {
        color: var(--muted-on-dark) !important;
        opacity: 0.7 !important;
    }

    .bg-dark .form-text,
    .section-dark .form-text {
        color: var(--muted-on-dark) !important;
    }

    /* Correction Overrides for Light Components inside Dark Sections */
    .bg-dark .bg-white p,
    .bg-dark .bg-white span,
    .bg-dark .bg-white div,
    .bg-dark .bg-white li,
    .bg-dark .bg-white label,
    .bg-dark .bg-light p,
    .bg-dark .bg-light span,
    .bg-dark .bg-light div,
    .bg-dark .bg-light li,
    .bg-dark .bg-light label,
    .bg-dark .editorial-job-card p,
    .bg-dark .editorial-job-card span,
    .bg-dark .editorial-job-card div,
    .bg-dark .editorial-job-card li,
    .bg-dark .editorial-job-card label,
    .section-dark .bg-white p,
    .section-dark .bg-light p {
        color: var(--text-on-light) !important;
    }

    .bg-dark .bg-white .text-muted,
    .bg-dark .bg-light .text-muted,
    .bg-dark .editorial-job-card .text-muted,
    .bg-dark .editorial-search-panel .bg-white .text-muted {
        color: var(--muted-on-light) !important;
    }

    .bg-dark .bg-white h1,
    .bg-dark .bg-white h2,
    .bg-dark .bg-white h3,
    .bg-dark .bg-white h4,
    .bg-dark .bg-white h5,
    .bg-dark .bg-white h6,
    .section-dark .bg-white h1,
    .section-dark .bg-white h2,
    .section-dark .bg-white h3,
    .section-dark .bg-white h4,
    .section-dark .bg-white h5,
    .section-dark .bg-white h6 {
        color: var(--text-on-light) !important;
    }

    /* Links in Dark Sections */
    .bg-dark a:not(.btn),
    .section-dark a:not(.btn),
    .editorial-search-panel a:not(.btn) {
        color: var(--accent);
    }

        .bg-dark a:not(.btn):hover,
        .section-dark a:not(.btn):hover {
            color: var(--text-on-dark);
        }

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--pf-font-heading);
    font-weight: 400;
    color: var(--text-on-dark) !important;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.bg-light h1,
.bg-light h2,
.bg-light h3,
.bg-light h4,
.bg-light h5,
.bg-light h6,
.bg-light .display-1,
.bg-light .display-2,
.bg-light .display-3,
.bg-light .display-4,
.bg-light .display-5,
.bg-light .display-5,
.bg-light .display-6 {
    color: var(--text-on-light) !important;
}

/* Force dark context for headings even inside bg-light pages */
.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4,
.bg-dark h5,
.bg-dark h6,
.bg-dark .display-1,
.bg-dark .display-2,
.bg-dark .display-3,
.bg-dark .display-4,
.bg-dark .display-5,
.bg-dark .display-6,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark .display-1,
.section-dark .display-2,
.section-dark .display-3,
.section-dark .display-4,
.section-dark .display-5,
.section-dark .display-6 {
    color: var(--text-on-dark) !important;
}


/* Contrast Utilities */
.text-on-dark {
    color: var(--text-on-dark) !important;
}

.text-on-light {
    color: var(--text-on-light) !important;
}

.text-accent {
    color: var(--accent) !important;
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-charcoal {
    background-color: var(--surface-dark) !important;
}

/* Sections */
.bg-light-pf {
    background-color: var(--bg-light) !important;
    color: var(--text-on-light) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--bg-dark);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.85rem 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: var(--pf-border-radius);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

    .btn-primary:hover {
        background-color: var(--accent);
        color: var(--bg-dark);
        border-color: var(--accent);
        transform: translateY(-2px);
    }

.btn-cta-gold {
    background-color: var(--accent);
    color: var(--bg-dark) !important;
    border: 1px solid var(--accent);
    padding: 0.85rem 2rem;
    font-weight: 600;
}

.btn-outline-primary {
    color: var(--text-on-dark);
    border: 1px solid var(--accent);
    /* More premium than muted */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    border-radius: var(--pf-border-radius);
    padding: 0.85rem 2rem;
}

.bg-dark .btn-outline-primary,
.editorial-search-panel .btn-outline-primary,
.card.bg-dark .btn-outline-primary {
    color: var(--text-on-dark) !important;
    border-color: var(--accent) !important;
}

.bg-light .btn-outline-primary {
    color: var(--text-on-light) !important;
    border-color: var(--text-on-light) !important;
}

.btn-outline-primary:hover {
    background-color: transparent;
    border-color: var(--accent);
    color: var(--accent);
}

.bg-light .btn-outline-primary {
    color: var(--text-on-light);
    border-color: var(--muted-on-light);
}

/* Cards */
.card {
    background-color: var(--surface-dark);
    border: 1px solid rgba(198, 168, 107, 0.1);
    border-radius: var(--pf-border-radius);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    color: var(--text-on-dark);
}

    .card:hover {
        transform: translateY(-8px);
        border-color: var(--accent);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

/* Premium Internal Job Cards (for Careers page) */
.internal-job-card {
    background: var(--surface-dark);
    border: 1px solid rgba(198, 168, 107, 0.1);
    transition: all 0.3s ease;
    color: var(--text-on-dark);
}

    .internal-job-card:hover {
        border-color: var(--accent);
        background: rgba(198, 168, 107, 0.05);
    }

    .internal-job-card h5 {
        color: var(--text-on-dark) !important;
        margin-bottom: 0.5rem;
    }

    .internal-job-card .text-muted {
        color: var(--muted-on-dark) !important;
    }

.card-title {
    font-family: var(--pf-font-heading);
    color: var(--text-on-dark);
    font-size: 1.5rem;
}

.bg-light .card {
    background-color: var(--surface-light);
    color: var(--text-on-light);
    border-color: rgba(21, 26, 33, 0.1);
}

.bg-light .card-title {
    color: var(--text-on-light);
}

.bg-light .card .text-muted {
    color: var(--muted-on-light) !important;
}

/* Navbar */
.navbar {
    min-height: 80px;
    background-color: rgba(11, 13, 16, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(198, 168, 107, 0.1);
}

.nav-link {
    font-weight: 400;
    color: var(--text-on-dark) !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

    .nav-link:hover,
    .nav-link:focus,
    .nav-link.active {
        color: var(--accent) !important;
    }

.dropdown-menu {
    background-color: var(--surface-dark);
    border: 1px solid var(--accent);
    border-radius: 0;
}

.dropdown-item {
    color: var(--text-on-dark);
    font-size: 0.85rem;
    padding: 0.75rem 1.5rem;
}

    .dropdown-item:hover {
        background-color: var(--bg-dark);
        color: var(--accent);
    }

/* Footer */
footer {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(198, 168, 107, 0.1);
    color: var(--muted-on-dark);
    padding: 6rem 0 3rem;
}

    footer h5,
    footer h6 {
        color: var(--accent) !important;
        font-family: var(--pf-font-main);
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 0.2rem;
        margin-bottom: 2rem;
        font-weight: 600;
    }

/* Footers */
footer {
    background-color: var(--bg-dark) !important;
    color: var(--text-on-dark) !important;
}

    footer h1,
    footer h2,
    footer h3,
    footer h4,
    footer h5,
    footer h6 {
        color: var(--text-on-dark) !important;
    }

    footer .text-white {
        color: var(--text-on-dark) !important;
    }

    footer .text-muted,
    footer .text-smoke {
        color: var(--muted-on-dark) !important;
    }

    footer a {
        color: var(--muted-on-dark);
        text-decoration: none;
        transition: color 0.3s ease;
    }

        footer a:hover {
            color: var(--text-on-dark);
            text-decoration: underline;
        }

/* Hero Section */
.hero-section {
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    padding: 10rem 0;
    color: var(--text-on-dark);
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 70% 30%, rgba(198, 168, 107, 0.05) 0%, transparent 60%);
    }

    .hero-section h1 {
        font-size: 4rem;
        line-height: 1.1;
        margin-bottom: 2rem;
    }

/* Stats */
.stat-number {
    font-family: var(--pf-font-heading);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--accent);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--muted-on-dark);
}

.bg-light .stat-label {
    color: var(--muted-on-light);
}

/* Dashboard Sidebar */
.dashboard-sidebar, .sidebar {
    border-right: 1px solid var(--pf-border);
    background-color: var(--bg-dark);
    box-shadow: inset -1px 0 0 rgba(198, 168, 107, 0.2);
}

    .dashboard-sidebar .nav-link {
        font-weight: 500;
        color: var(--muted-on-dark);
        padding: 0.75rem 1rem;
        border-left: 3px solid transparent;
    }

        .dashboard-sidebar .nav-link:hover {
            color: var(--accent);
            background: rgba(198, 168, 107, 0.1);
        }

        .dashboard-sidebar .nav-link.active {
            color: var(--text-on-dark);
            border-left-color: var(--accent);
            background: rgba(198, 168, 107, 0.05);
        }

/* Badge Styling */
.badge-pf {
    padding: 0.5em 1.25em;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-active {
    background-color: var(--accent) !important;
    border: 1px solid var(--accent);
    color: #000000 !important;
    padding: 0.4em 1em;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
}

.badge-count {
    background-color: #FFFFFF !important;
    border: 1px solid var(--accent);
    color: black !important;
    padding: 0.4em 0.8em;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
}

/* Table Readability */
.table {
    color: var(--text-on-dark);
}

.bg-light .table {
    color: var(--text-on-light);
}

.table thead th {
    color: var(--accent) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    border-bottom: 1px solid rgba(198, 168, 107, 0.2);
    padding: 1.25rem 1rem;
    background: transparent !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(198, 168, 107, 0.03) !important;
    color: var(--text-on-dark) !important;
}

/* Breadcrumbs */
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--muted-on-dark);
}

.breadcrumb-item a {
    color: var(--accent);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--text-on-dark) !important;
    opacity: 0.8;
}

.bg-light .breadcrumb-item.active {
    color: var(--text-on-light) !important;
}

/* Alerts */
.alert {
    border-radius: 0;
    border: 1px solid rgba(198, 168, 107, 0.2);
}

.bg-dark .alert,
.section-dark .alert {
    background-color: var(--surface-dark);
    color: var(--text-on-dark);
}

.alert-info {
    background-color: rgba(198, 168, 107, 0.1);
    border-color: var(--accent);
    color: var(--text-on-dark);
}

/* Form Contrast */
.form-control,
.form-select {
    background-color: var(--surface-dark);
    border: 1px solid var(--muted-on-dark);
    color: var(--text-on-dark);
}

    .form-control:focus,
    .form-select:focus {
        background-color: var(--surface-dark);
        border-color: var(--accent);
        color: var(--text-on-dark);
        box-shadow: 0 0 0 0.25rem rgba(198, 168, 107, 0.25);
    }

.bg-light .form-control,
.bg-light .form-select {
    background-color: var(--surface-light);
    border-color: var(--muted-on-light);
    color: var(--text-on-light);
}

.form-label {
    color: var(--text-on-dark);
}

.bg-light .form-label {
    color: var(--text-on-light);
}

.bg-dark .form-label,
.section-dark .form-label,
.bg-obsidian .form-label,
.bg-charcoal .form-label,
.editorial-search-panel .form-label {
    color: var(--text-on-dark) !important;
}

.bg-dark .form-text,
.section-dark .form-text {
    color: var(--muted-on-dark) !important;
}

.bg-light .form-text {
    color: var(--muted-on-light) !important;
}

::placeholder {
    color: var(--muted-on-dark) !important;
}

/* Layout Utilities - Editorial Style */
.section-padding {
    padding: var(--pf-section-padding);
}

.split-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
}

.split-hero-content {
    padding: 4rem;
    z-index: 2;
}

.split-hero-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-overlay-text {
    font-size: 5rem;
    line-height: 0.9;
    opacity: 0.05;
    position: absolute;
    bottom: 20rem;
    right: 50rem;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.asymmetric-layout {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: start;
}

    .asymmetric-layout.reversed {
        grid-template-columns: 5fr 7fr;
    }

.editorial-num-list {
    list-style: none;
    padding: 0;
}

.editorial-num-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: flex-start;
}

.editorial-num {
    font-family: var(--pf-font-heading);
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    opacity: 0.6;
}

.quote-editorial {
    font-family: var(--pf-font-heading);
    font-size: 2.5rem;
    line-height: 1.2;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    color: var(--text-on-dark) !important;
    /* Force high contrast */
}

.quote-attribution {
    font-family: var(--pf-font-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-on-dark) !important;
    /* Force high contrast */
    opacity: 0.8;
}

.search-panel-premium {
    background: var(--surface-dark);
    padding: 3rem;
    border: 1px solid var(--accent);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.bg-light .search-panel-premium {
    background: var(--surface-light);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

/* Responsiveness for new utilities */
@media (max-width: 991px) {

    .split-hero,
    .asymmetric-layout {
        grid-template-columns: 1fr;
    }

    .split-hero-image {
        height: 400px;
        order: -1;
        /* Image on top for mobile */
    }

    .search-panel-premium {
        margin-top: 0;
        transform: translateY(-2rem);
        padding: 2rem 1.5rem;
    }

    .hero-section h1 {
        font-size: 2.8rem;
    }

    .asymmetric-layout > div {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Ensure no overlap for sticky headers */
header {
    z-index: 1050;
}

.modal {
    z-index: 1060;
}

/* Prevent text overflow in editorial cards */
.editorial-job-card p {
    overflow-wrap: break-word;
}


.btn-cta-gold:hover {
    color: var(--accent) !important;
    border-color: var(--accent);
}

.Featured {
    display: flex;
}

.cta .buttons {
    gap: 1rem
}

.job-card-featured {
    padding: 1rem;
}

.navbar-nav {
    margin-left: auto;
}

.split-hero-image .contact-box,
.split-hero-image .contact-box .card {
    padding: 3rem;
}

.cont-address .bi {
    margin-right: 1rem;
}

img {
    height: auto;
}

.navbar-toggler {
    display: none;
}

.manage-jobs .header {
    display: flex;
}

#createJobForm .btn-outline-secondary {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.our-impact h2, .excellence-recognised h1 {
    color: black !important;
}

.excellence-recognised text {
    bottom: 10px;
}

.excellence-recognised .award {
    justify-items: center;
    display: inline-grid;
}

    .excellence-recognised .award span {
        font-family: "Arial";
        font-size: 10px;
        color: #003366;
    }

.award {
    margin-bottom: 1.5rem;
}

#candSearchForm button {
    padding: 6px 2rem;
}

html, body {
    height: 100%;
}

.container-fluid {
    min-height: calc(100vh - 80px); /* your header height */
}

    .container-fluid > .row {
        display: flex;
        min-height: calc(100vh - 80px);
    }

.sidebar {
    min-height: 100%;
    background-color: var(--bg-dark);
}

#allJobsTable .badge-count {
    color: black !important;
}

.secondary-button {
    color: white;
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
}

.application-confirmation .bi-patch-check {
    font-size: 6rem;
}

.job-results .editorial-search-panel {
    padding: 1.5rem !important;
}
/*For mobile Portrait*/
@media screen and (min-width:320px) and (max-width: 480px) and (orientation: portrait) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .split-hero-content {
        text-align: center;
        padding: 1.7rem;
    }

    .search-panel-premium {
        margin-top: 50px;
    }

    .asymmetric-layout, .Editorial, .h2, .main-content p {
        text-align: center;
    }

    .Featured {
        text-align: center;
        display: block;
    }

    .cta {
        text-align: center;
    }

        .cta .buttons {
            gap: .5rem;
        }

    .job-card-featured {
        padding: .25rem;
    }

    .alert, .demo {
        text-align: center;
    }

    .navbar-nav {
        width: 100%;
        margin-left: 0;
    }

        .navbar-nav #logoutBtn {
            margin-left: auto;
        }

    .dashboard-sidebar {
        height: auto;
        min-height: 290px;
    }

    .second-button {
        margin-top: 10px;
    }

    .split-hero-image {
        height: 200px;
    }

    .contact .split-hero-image {
        height: 750px;
    }

    .split-hero-image .contact-box, .split-hero-image .contact-box .card {
        padding: 1.5rem;
    }

    .cont-address .d-flex div {
        text-align: left;
    }

    footer {
        padding: 3rem 0 3rem;
    }

    #candResults .mt-auto {
        margin-left: auto;
        margin-right: auto;
    }

    .client-overview .card {
        text-align: center;
    }

    .navbar-toggler {
        display: block;
    }

    .manage-jobs .header, .manage-jobs .header .btn-toolbar {
        display: block;
        text-align: center;
    }

    #createJobForm .btn-outline-secondary {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .platform-statistics {
        text-align: center;
    }

    .user-management .card-header {
        align-items: center;
    }

    .split-hero h1 {
        font-size: 2.1rem;
    }

    .about .small, .about .display-4, .about .display-5 {
        text-align: center;
    }

    .our-impact .p-4 {
        padding: 0.5rem !important
    }

    .our-principals h2, .our-principals p {
        text-align: center;
    }

    .candidate-testimonials h2 {
        text-align: center;
    }

    .mandate-milestones, .careers .work-at-elysian {
        text-align: center;
    }

    .careers {
        margin-top: 5rem;
    }

        .careers .work-at-elysian .d-flex {
            display: block !important;
        }

    .legal h1, .legal h3 {
        text-align: center;
    }

    .legal .buttons {
        display: block !important;
        text-align: center;
        justify-items: center;
    }

        .legal .buttons a:nth-child(1) {
            margin-bottom: 1rem;
        }


    .legal .gpdr.buttons a {
        margin-bottom: 1rem;
    }

    #editJobForm .buttons {
        text-align: center;
    }

    .navbar-toggler {
        margin-right: 10px;
    }

    .sidebar {
        padding-bottom: 20px;
        min-height: 0;
        height: 100%;
    }

    #pSector {
        margin-bottom: 1rem;
    }

    #profileContent h5 {
        text-align: center;
    }

    #pSkills {
        justify-content: center;
    }

    #allJobsTable .badge-count {
        color: black !important;
    }

    #resetDemoBtn {
        padding: 0.85rem 1rem;
    }

    .container-fluid > .row {
        display: flex;
        min-height: auto;
    }

    #jobHero h1, #jobDetailsContainer h3, #jobDetailsContainer h4, #jobHero #jobHeroContent p {
        text-align: center;
    }

    #savedJobsList {
        text-align: center;
    }

    main h1, main h2 {
        text-align: center;
    }

    .hero-overlay-text {
        bottom: 90px;
        right: 10px;
    }

    .split-hero {
        min-height: 60vh;
    }

    .job-results .editorial-search-panel {
        padding: 1.5rem !important;
    }
    .cta.bg-light.section-padding .buttons {
        justify-content: center;
    }
}
/*Bootstrap md*/
@media (min-width:768px) and (max-width:991.98px) and (orientation: landscape) {
    .navbar {
        padding: 5px 0 5px 0;
        min-height: 60px;
    }

    .navbar-brand img {
        width: 150px;
    }

    .navbar-toggler {
        display: block;
    }

    .split-hero {
        align-items: center;
        grid-template-columns: 1fr 1fr;
        padding: 1rem 0.5rem 3rem 0.5rem;
    }

    .split-hero-content {
        padding: 0rem 1rem 0rem 1rem;
    }

        .split-hero-content .display-2 {
            font-size: 40px;
        }

    .hero-overlay-text {
        bottom: -1rem;
        left: 0rem;
    }

    .section-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .editorial-num-item {
        margin-bottom: 1rem;
    }

    .asymmetric-layout {
        gap: 0rem;
    }

    h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
        margin-bottom: 0.8rem !important;
    }

    p {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .true-leadership {
        text-align: center;
    }

        .true-leadership img {
            margin-bottom: -80px;
            margin-top: -80px;
            width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

    #featured-jobs-container {
        justify-content: center;
    }

    footer {
        padding: 3rem 0 3rem;
    }

    .btn-outline-primary {
        padding: 0.85rem 1rem;
    }

    #filterForm {
        display: flex;
    }

        #filterForm .mb-5 {
            width: 25%;
            padding-right: 0.5rem;
            padding-left: 0.5rem;
        }

    .Editorial p.lead {
        margin-bottom: 10px !important;
    }

    footer .logo-area {
        display: flex;
    }

        footer .logo-area .logo {
            width: 70%;
            display: block;
        }

    .navbar-toggler.f {
        display: none;
    }

    .dashboard-sidebar {
        height: initial;
        min-height: 100%;
    }

    .second-button {
        margin-top: 10px;
    }

    #appsTableBodyFull .action .me-2 {
        margin-right: 0 !important;
    }

    #savedJobsGrid .card {
        min-height: 190px;
    }

    .split-hero-image .contact-box .card {
        padding: 1rem;
        padding: 1rem;
    }

    .contact.split-hero {
        padding: 2rem 0.5rem 3rem 0.5rem;
    }

    #navbarNav .nav-item .nav-link {
        padding: 0.5rem;
    }

    .client-overview .row {
        --bs-gutter-y: 0.5rem !important;
        --bs-gutter-x: 0.5rem !important;
    }

        .client-overview .row .card {
            padding: 0.5rem !important;
        }

    #shortlistTableBody td a {
        margin-right: 0rem !important
    }

    .split-hero-content .display-3 {
        font-size: 44px;
    }

    .why-choose-us .split-hero-image {
        height: 250px;
    }

    .why-choose-us .split-hero {
        padding: 1rem 0.5rem 0rem 0.5rem;
    }

    .why-choose-us .asymmetric-layout h2 br {
        display: none;
    }

    #allJobsTable .badge-count {
        color: black !important;
    }

    .about-main .split-hero-content h1 {
        font-size: 38px;
    }

    .about-main .about h2 br {
        display: none;
    }

    .about-main .split-hero,
    .meet-the-team .split-hero,
    .press-main .split-hero,
    .faq .split-hero {
        padding: 1rem 0.5rem 0rem 0.5rem;
    }

        .about-main .split-hero .split-hero-image,
        .meet-the-team .split-hero-image,
        .faq .split-hero .split-hero-image {
            height: 260px;
        }

    .about-main .about img {
        display: none;
    }

    .about-main .about .card {
        margin-bottom: 0px !important;
    }

    .about-main .about .display-5 {
        text-align: center;
    }

    .about-main .our-impact .p-4.bg-white {
        padding: 26px !important;
    }

    .our-principals .txt {
        padding-bottom: 0px !important;
        text-align: center;
    }

    .our-principals .editorial-job-card {
        padding: 1rem !important;
    }

    div:has(.award) {
        padding: 0.5px !important;
    }

    .press-main .split-hero-content .display-3 {
        font-size: 40px;
    }

    .press-main .split-hero-image {
        height: 200px;
    }

    .press-main .hero-overlay-text {
        bottom: -3rem;
        left: 2rem;
    }

    .faq #faqAccordion .accordion-button {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .legal h1, .legal h3 {
        text-align: center;
    }

    .legal .buttons {
        display: block !important;
        text-align: center;
        justify-items: center;
    }

    #pSector {
        margin-bottom: 1rem;
    }

    .candidate-Details h5 {
        text-align: center;
    }

    #pSkills {
        gap: .25rem !important;
    }

    .Quick-Info {
        columns: 2;
    }

    .application-confirmation .bi-patch-check {
        font-size: 4rem;
    }

    #jobHero h1, #jobDetailsContainer h3, #jobDetailsContainer h4, #jobHero #jobHeroContent p {
        text-align: center;
    }


    #jobSummary, .work-at-elysian h2, .careers h3, .careers p.text-on-dark,
    .Editorial, .editorial-search-panel h5, .mandate-milestones {
        text-align: center;
    }

    .job-results .editorial-search-panel {
        padding: 1.5rem !important;
    }
}
/*Bootstrap sm*/
@media (min-width:576px) and (max-width:767.98px) and (orientation: landscape) {
    .navbar {
        padding: 5px 0 5px 0;
        min-height: 60px;
    }

    .navbar-brand img {
        width: 150px;
    }

    .navbar-toggler {
        display: block;
    }

    .split-hero {
        align-items: center;
        grid-template-columns: 1fr 1fr;
        padding: 1rem 0.5rem 3rem 0.5rem;
    }

    .split-hero-content {
        padding: 0rem 1rem 0rem 1rem;
    }

        .split-hero-content .display-2 {
            font-size: 40px;
        }

    .hero-overlay-text {
        bottom: -1rem;
        left: 0rem;
    }

    .section-padding {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .editorial-num-item {
        margin-bottom: 1rem;
    }

    .asymmetric-layout {
        gap: 0rem;
    }

    h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
        margin-bottom: 0.8rem !important;
    }

    p {
        margin-top: 0;
        margin-bottom: 0.5rem;
    }

    .true-leadership {
        text-align: center;
    }

        .true-leadership img {
            margin-bottom: -80px;
            margin-top: -80px;
            width: 400px;
            margin-left: auto;
            margin-right: auto;
        }

    #featured-jobs-container {
        justify-content: center;
    }

    footer {
        padding: 3rem 0 3rem;
    }

    .btn-outline-primary {
        padding: 0.85rem 1rem;
    }

    #filterForm {
        display: flex;
    }

        #filterForm .mb-5 {
            width: 25%;
            padding-right: 0.5rem;
            padding-left: 0.5rem;
        }

    .Editorial p.lead {
        margin-bottom: 10px !important;
    }

    footer .logo-area {
        display: flex;
    }

        footer .logo-area .logo {
            width: 70%;
            display: block;
        }

    .navbar-toggler.f {
        display: none;
    }

    .dashboard-sidebar {
        height: initial;
        min-height: 100%;
    }

    .second-button {
        margin-top: 10px;
    }

    #appsTableBodyFull .action .me-2 {
        margin-right: 0 !important;
    }

    #savedJobsGrid .card {
        min-height: 190px;
    }

    .split-hero-image .contact-box .card {
        padding: 1rem;
        padding: 1rem;
    }

    .contact.split-hero {
        padding: 2rem 0.5rem 3rem 0.5rem;
    }

    #navbarNav .nav-item .nav-link {
        padding: 0.2rem;
    }

    .client-overview .row {
        --bs-gutter-y: 0.5rem !important;
        --bs-gutter-x: 0.5rem !important;
    }

        .client-overview .row .card {
            padding: 0.5rem !important;
        }

    #shortlistTableBody td a {
        margin-right: 0rem !important
    }

    .split-hero-content .display-3 {
        font-size: 40px;
    }

    .why-choose-us .split-hero-image {
        height: 250px;
    }

    .why-choose-us .split-hero {
        padding: 1rem 0.5rem 0rem 0.5rem;
    }

    .why-choose-us .asymmetric-layout h2 br {
        display: none;
    }

    #allJobsTable .badge-count {
        color: black !important;
    }

    .about-main .split-hero-content h1 {
        font-size: 35px;
    }

    .about-main .about h2 br {
        display: none;
    }

    .about-main .split-hero,
    .meet-the-team .split-hero,
    .press-main .split-hero,
    .faq .split-hero {
        padding: 1rem 0.5rem 0rem 0.5rem;
    }

        .about-main .split-hero .split-hero-image,
        .meet-the-team .split-hero-image,
        .faq .split-hero .split-hero-image {
            height: 260px;
        }

    .about-main .about img {
        display: none;
    }

    .about-main .about .card {
        margin-bottom: 0px !important;
    }

    .about-main .about .display-5 {
        text-align: center;
    }

    .about-main .our-impact .p-4.bg-white {
        padding: 10px !important;
    }

    .our-principals .txt {
        padding-bottom: 0px !important;
        text-align: center;
    }

    .our-principals .editorial-job-card {
        padding: 1rem !important;
    }

    div:has(.award) {
        padding: 1px !important;
    }

    .press-main .split-hero-content .display-3 {
        font-size: 38px;
    }

    .press-main .split-hero-image {
        height: 200px;
    }

    .press-main .hero-overlay-text {
        bottom: -3rem;
        left: 2rem;
    }

    .faq #faqAccordion .accordion-button {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .legal h1, .legal h3 {
        text-align: center;
    }

    .legal .buttons {
        display: block !important;
        text-align: center;
        justify-items: center;
    }

    #pSector {
        margin-bottom: 1rem;
    }

    .candidate-Details h5 {
        text-align: center;
    }

    #pSkills {
        gap: .25rem !important;
    }

    .Quick-Info {
        columns: 2;
    }

    .application-confirmation .bi-patch-check {
        font-size: 4rem;
    }

    #jobHero h1, #jobDetailsContainer h3, #jobDetailsContainer h4, #jobHero #jobHeroContent p {
        text-align: center;
    }

    h2.display-4 {
        font-size: 38px;
    }

    .our-impact .h2.text-primary {
        font-size: 25px;
    }

    #jobSummary, .work-at-elysian h2, .careers h3, .careers p.text-on-dark,
    .Editorial, .editorial-search-panel h5, .mandate-milestones, .save-job,
    .candidate-testimonials, .c-test, .asymmetric-layout,
    .cta.bg-light.section-padding {
        text-align: center;
    }

    #filterForm button {
        padding: 0.85rem 0rem;
    }

    .cta.bg-light.section-padding .buttons {
        justify-content: center;
    }

    .job-results .editorial-search-panel {
        padding-left: .5rem !important;
        padding-bottom: 0 !important;
        padding-right: .5rem !important;
        padding-top: 1.5rem !important;
    }
}


/*For Tab IPad*/
@media screen and (min-width: 765px) and (max-width: 1000px) and (orientation: portrait) {
}
/*For Tab IPad*/
@media screen and (min-width: 1024px) and (max-width: 1280px) and (orientation: landscape) {
}
/*Mac book 16 and Apple iMac 24"*/
@media screen and (min-width: 1728px) and (max-width: 2048px) {
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h6, p, .p, span, .span, div {
    text-wrap: balance;
}
