.hentry .post-thumbnail {
    margin-bottom: 30px;
}

.hentry .post-thumbnail img {
    width: 100%;
    height: auto;
}

.entry-content ul:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta):not(.wufoo-ul):not(.gform_fields),
.entry-content ol:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta):not(.wufoo-ul):not(.gform_fields) {
    padding-left: 0
}

.entry-content ul:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li,
.entry-content ol:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li {
    margin-bottom: 15px;
}

.entry-content ul:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li ul,
.entry-content ol:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta):not(.wufoo-ul):not(.gform_fields) li ul {
    padding-top: 15px;
}

.hentry .entry-content a {
    color: rgb(var(--primary-color));
}

.hentry .entry-content a:hover{
    text-decoration: underline;
    color: rgb(var(--primary-color));
}

.hentry .entry-content * {
    word-break: break-word;
}

.hentry .entry-content h1 {
    margin: 0 0 15px;
}

.hentry .entry-content h2 {
    margin: 25px 0 15px; 
}

.hentry .entry-content h3 {
    margin: 25px 0 15px;
}


/*Sidebar*/

.main-sidebar .widget:not(:last-child) {
    margin-bottom: 30px;
}

.main-sidebar .widget_text {
    border: 1px solid rgba(0, 0, 0, .2);
    padding: 0 0 0;
}

.main-sidebar .widget-title {
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: rgb(var(--primary-color));
    padding: 10px 20px;
    position: relative;
    margin-bottom: 0px;
}

.widget ul li {
    list-style: none;
}
.main-sidebar .widget ul li:not(:last-child) {
    margin-bottom: 10px ;
}

.gform_widget {
    padding: 20px 30px 25px;
    box-shadow: 0px -1px 8px rgba(0,0,0, .2);
    background: #fff;
}

.gform_widget .widget-title {
    font-size: 28px;
    margin-bottom: 5px;
    background:none;
    padding: 0;
    color: #000;
}


/*Job Manager*/
body.page-template-template-jobs .site-content > .emg-sec {
    background: linear-gradient(180deg, #FFF 0%, #E8F2DD 47.27%, #F6FAF2 87.02%, #FFF 87.02%);
}

.job_filters {
    background: transparent;
}
.jobs-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.jobs-page-header {
    margin-bottom: 2rem;
}

.jobs-page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/*.jobs-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}*/

.jobs-content {
    min-height: 600px;
}

.jobs-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.jobs-count {
    color: #0B164D;
    font-size: 18px;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-controls a {
    text-decoration: none;
    color: rgba(11,22,77, .7) !important;
    font-size: 20px;
    padding: 0 3px;
    font-weight: 500 !important;
}

.pagination-controls a:hover {
    text-decoration: underline;
}

.pagination-controls .current {
    color: #0B164D !important;
}



.job-card {
    background: white;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;

    border-radius: 10px;
    background: #FFF;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.10), 0 1px 5px 0 rgba(0, 0, 0, 0.20);
}

.job-card:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.10), 0 1px 5px 0 rgba(0, 0, 0, 0.20);
}

.job-card .job-title {
    color: #0B164D !important;
    font-size: 27px !important;
}

.job-category {
    color: #3b82f6;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.job-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    text-decoration: none;
}

.job-title:hover {
    color: #1e3a8a;
}

.job-description {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.job-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.job-type {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.job-type-icon {
    width: 16px;
    height: 16px;
    background-image: url(../img/full-time-icon.png);
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
}

.job-filters-sidebar {
    background: #0B164D;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.job-filters-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.job-filters-sidebar-top h3 {
    color: #fff;
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.job-filters-sidebar-top .clear-filter-btn {
    background: transparent;
    color: rgba(255, 255, 255, .7);
    border: 0;
    box-shadow: none;
    outline: none;
    font-size: 14px;
    text-decoration: underline;
    font-weight: 600;
}

.filter-group:not(:last-child) {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e5e7eb;
}

.filter-group input[type="text"], .filter-group select {
    width: 100%;
    border: 0;
    padding: 0.75rem 0;
    border-bottom: 2px solid rgba(255, 255, 255, .6);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 0.875rem;
    font-weight: bold;
    outline: none;
}

.job_filters .job_types {
    background: transparent;
    border-top: 0;
}

.job_filters .job_types li {
    border-right: 0;
    padding: 0 5px;
}

.filter-group input[type="text"]::placeholder {
    color: #9ca3af;
}

.filter-group select option {
    background: #374151;
    color: white;
}

.search-button {
    font-size: 21px;
    width: 100%;
    background: white;
    color: #1e3a8a;
    border: none;
    padding: 15px 30px;
    line-height: 1.429;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-button:hover {
    background: #f3f4f6;
}

.filter-group .dropdown-arrow {
    position: relative;
}

.filter-group .dropdown-arrow::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #9ca3af;
    font-size: 0.75rem;
}

.job-manager-application-wrapper .application .application_button,
.single_job_listing .application .application_button {
    display: inline-block;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
    outline: 0;
    padding: 10px 40px;
    text-align: center;
    border-radius: 9999px;
    border: 2px solid #D62451;
    background: #D62451;
    color: #fff;
    font-weight: 500;
}

body.single-job_listing .single_job_listing .company,
body.single-job_listing .single_job_listing .job-listing-meta {
    display: none;
}

.single-job-banner {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    padding-bottom: 100px;
}

.emg-job-meta {
    margin-bottom: 30px;
}

.emg-job-meta li {
    list-style: none;
    font-size: 18px;
    font-weight: 500;
    color: #0B164D;
    margin-bottom: 10px;
    padding-left: 28px;
    background-repeat: no-repeat;
    background-size: auto;
    background-position: left center;
}

.emg-job-meta li.job-department {
    background-image: url('../img/icon-operations.png');
}

.emg-job-meta li.job-location {
    background-image: url('../img/icon-job-location.png');
}

.emg-job-meta li.job-type {
    background-image: url('../img/icon-job-type.png');
}

.emg-job-meta li.job-posted {
    background-image: url('../img/icon-job-posted.png');
}

.emg-job-meta li.job-id {
    background-image: url('../img/icon-hash-no.png');
}

@media (max-width: 768px) {
    .jobs-layout {
        grid-template-columns: 1fr;
    }
    
    .job-filters-sidebar {
        order: 2;
    }
    
    .jobs-content {
        order: 1;
    }
}
/*End Job Manager*/


@media screen and (max-width: 768px) {

    .entry-content ul:not(.meta):not(.job_listings):not(.job_types):not(.entry-meta) {
        padding: 15px 20px;
        background-color: #fff;
    }
}


/*Archived*/

.page-header {
    padding-bottom: 0;
    margin: 0;
    border-bottom: 0;
}

body.search article.page,
body.search article.post,
body.archive article.post,
body.archive article.page {
    margin-bottom: 50px;
}

.entry-meta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.entry-meta li:not(:last-child) {
    margin-right: 10px;
}

.entry-meta li {
    list-style: none;
    color: #333 !important;
    line-height: 1.3;
    word-break: break-word;
}

.entry-meta li:not(:last-child) {
    margin-right: 6px;
    padding-right: 10px;
    border-right: 2px solid #ddd;
}

.entry-meta li,
.entry-meta li a {
    font-weight: 600 !important;
    font-size: 15px;
}

.entry-meta li a {
    color: rgb(rgb(var(--primary-color))) !important;
}
.entry-meta li a:hover {
    text-decoration: underline !important;
}

.emg-post-card {
    margin-bottom: 50px;
}

.emg-post-card .post-thumbnail img {
    height: auto;
}

.emg-post-card header.entry-header * {
    margin: 0;
}


.blog-page-post-body .entry-content > * {
    margin-bottom: 0;
}

@media (min-width: 1199px) {

    .blog-page-post-body {
        overflow: hidden;
    }

    .emg-post-card .post-thumbnail {
        float: left;
        margin-right: 30px;
        max-width: 300px;
    }
}

.post-footer a.readMore {
    font-size: 18px;
    font-weight: bold;
}

.emg_pagination {
    text-align: center;
}

.emg_pagination .page-numbers {
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    background-color: rgb(var(--primary-color));
    color: #fff !important;
    border-radius: 0;
    margin: 0 5px;
}

.emg_pagination .prev,
.emg_pagination .next {
    width: auto;
    background: transparent;
    height: auto;
    padding: 0 10px;
}

.emg_pagination span.page-numbers.current {
    opacity: .5;
}

.emg_pagination span.page-numbers.dots {
    width: auto;
    background: transparent;
}

.emg_pagination span.page-numbers.dots,
.emg_pagination .prev,
.emg_pagination .next {
    color: rgb(var(--primary-color)) !important;
}


@media (max-width: 991px) {


    .hentry .entry-content h1 {
        font-size: 36px;
    }

    .hentry .entry-content h2 {
        font-size: 28px;
    }

    .hentry .entry-content h3 {
        font-size: 24px;
    }

    .hentry .entry-content h4 {
        font-size: 22px;
    }


}


@media (max-width: 480px) {

    .entry-meta {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .entry-meta li:not(:last-child) {
        padding-right: 0;
        border-right: 0;
        margin: 0 0 5px;
    }
}


