:root {
    --tq: #00c0ba;
    --tq-rgb: 0, 192, 186;
    --tq-dark: #0e968a;
    --tq-border: rgba(16, 181, 166, 0.35);
    --tq-bg: #F4F6F8;
    --purple: #A78BFA;
    --purple-rgb: 167, 139, 250;
    --purple-bg: rgba(167, 139, 250, 0.12);
    --text-muted: #000000;
}

html {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: "Rubik", "Heebo", sans-serif;
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 160%;
}

body,
html {
    overflow-x: hidden;
}

/* =====================================================
   GLOBAL BACKGROUND LAYOUT
   ===================================================== */
/* 1. HTML provides the solid white base for the gradient to blend against */
html {
    background-image: none !important;
    background-color: #ffffff !important;
}

/* 2. Force transparency on all main wrappers so the global background shows through */
body,
.site,
#page,
#content,
.site-wrapper,
.page-wrapper,
.site-main,
.elementor-page {
    background-color: transparent !important;
    background-image: none !important;
}

/* 3. Ensure body covers viewport */
body {
    position: relative;
    min-height: 100vh;
}

/* 4. Use a fixed pseudo-element for the gradient to eliminate scroll jank/lag.
   Overscan past the viewport on all sides: on mobile, the browser chrome
   (address bar) hiding/showing during scroll changes the visual viewport
   size, and a GPU-composited `position: fixed` layer can lag a frame behind
   that resize — exposing the plain white `html` background underneath for
   an instant. Sizing this larger than the viewport means that lag never
   reveals bare edge, since there's always gradient beyond the visible area. */
body::before {
    content: "";
    position: fixed !important;
    top: -10vh;
    left: 0;
    right: 0;
    bottom: -10vh;
    z-index: -1;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 0) 75%),
        linear-gradient(90deg, rgba(var(--tq-rgb), 0.42) 0%, rgba(255, 255, 255, 0) 50%, rgba(var(--purple-rgb), 0.42) 100%),
        linear-gradient(180deg, rgba(var(--tq-rgb), 0.35) 0%, rgba(var(--purple-rgb), 0.35) 100%) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    /* Force GPU acceleration to prevent paint lag */
    transform: translateZ(0);
    pointer-events: none;
}

a {
    color: #0090f5;
    text-decoration: none !important;
}

a:hover,
a:focus {
    color: #0090f5;
}

a:focus {
    outline: thin dotted !important;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px !important;
}

a:visited {
    color: #0090f5;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    font-family: "Rubik", "Heebo", sans-serif;
    color: #000;
    font-weight: 600 !important;
    line-height: 140%;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 10px;

}

h1 {
    font-size: 28px;
    line-height: 140%;
}

h2 {
    font-size: 24px;
    line-height: 140%;
}

h3 {
    font-size: 20px;
    line-height: 140%;
}

h4 {
    font-size: 16px;
    line-height: 140%;
}

h5 {
    font-size: 14px;
    line-height: 140%;
}

h6 {
    font-size: 12px;
    line-height: 140%;
}

ul,
ol {
    margin-left: 0;
    padding-left: 17px;
}

#secondary.widget-area .widget ul {
    list-style: none;
    padding-left: 0;
}

.site-main article p a,
.site-main article .entry-content a,
.comment-content p a,
.site-main article li a,
.comment-content li a,
.textwidget p a {
    text-decoration: none !important;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-weight: normal;
    text-transform: capitalize;
    width: auto;
    color: #fff;
    height: auto;
    background: #0090f5;
    color: #fff;
    cursor: pointer;
    padding: 10px 28px;
    border-radius: 30px !important;
    border: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background: #222;
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus {
    background: #222;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
    background: #222;
    color: #fff;
}

.comment-respond .comment-form input[type="submit"]:hover {
    background: #222;
}

.blog-element article.blog-post {
    width: calc(33.33% - 30px);
    margin: 0 15px;
    margin-bottom: 30px;
}

.blog-element {
    display: flex;
    flex-wrap: wrap;
}

.blog-element h3.entry-title a {
    color: #232837;
}

.blog-element h3.entry-title {
    font-size: 19px;
    line-height: 140%;
    margin-top: 0;
    margin-bottom: 0;
}

.blog-element .date {
    margin-top: 0;
    font-size: 13px;
    background: #0090f5;
    color: #fff;
    display: inline-block;
    position: absolute;
    bottom: 6px;
    left: 6px;
    padding: 1px 10px;
    border-radius: 16px;
}

.blog-element .date span {
    color: #fff;
}

.blog-element .blog-img {
    position: relative;
}

.blog-element p.post-excerpt {
    margin-top: 8px;
}

.blog-element .post-content {
    margin-top: 12px;
}

.blog-element .blog-img img {
    border-radius: 16px;
}

.post-thumbnail img {
    border-radius: 16px;
}

/* #secondary.widget-area .widget {
    background: #fff;
    padding: 30px;
}

*/
.col-md-4 .widget h2 {
    font-size: 16px;
    background: #f5f5f5;
    padding: 10px 10px;
}

.page-section,
.full-width {
    padding: 70px 0;
}

/*#content main.site-main {
    padding: 30px;
    background: #fff;
}

*/
ol.wp-block-latest-comments {
    padding-left: 0;
}

header.entry-header h1.entry-title {
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 5px;
    line-height: 140%;
}

header.entry-header {
    margin-bottom: 15px;
}

span.edit-link a {
    box-shadow: none;
    padding: 1px 12px;
    margin-top: 0;
    border-radius: 30px;
    margin-bottom: 12px;
    display: inline-block;
    background: #0090f5;
    color: #fff;
}

span.edit-link {
    margin-top: 15px;
    display: block;
}

span.cat-links,
span.tags-links {
    display: block;
    margin-bottom: 5px;
}

article .post-bg .entry-footer {
    margin-top: 20px;
}

span.comments-link {
    border: 1px solid #ddd;
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 5px;
}

span.comments-link a {
    color: #000;
}

select {
    width: 100%;
}

.comment-respond .comment-form textarea {
    height: 200px;
    padding: 10px;
    background: none;
    border: none;
    border: 1px solid #c6c6c6;
    outline: 0 !important;
    transition: all 0.5s ease-out 0s;
    width: 100%;
    border-radius: 6px;
}

.comment-respond .comment-form input {
    background: none;
    border: none;
    outline: 0;
    font-size: 16px;
    padding: 0;
    border: 1px solid #c6c6c6;
    box-shadow: none;
    -webkit-transition: all 0.3s;
    border-radius: 6px;
    height: 40px;
    width: 100%;
    padding: 0 10px;
    transition: all 0.5s ease-out 0s;
}

.comment-respond .comment-form input[type="submit"] {
    font-weight: normal;
    text-transform: capitalize;
    width: auto;
    color: #fff;
    height: auto;
    background-color: #0090f5;
    color: #fff;
    cursor: pointer;
    padding: 15px 28px;
    border-radius: 30px !important;
    border: none;
}

.comment-reply-title {
    font-size: 21px;
}

header.page-header {
    margin-top: 0;
}

header.page-header h1.page-title {
    font-size: 24px;
    line-height: 140%;
}

.site-logo {
    padding-right: 20px;
}

nav#site-navigation {
    position: relative;
    top: 0;
    width: auto;
    height: auto;
    padding: 0rem;
    margin-left: auto;
}

header#masthead .col-md-12 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    column-gap: 1.25rem;
    width: 100%;
    margin: 0 auto;
}

nav#site-navigation .menu .navbar-nav>li>.sub-menu li a:focus,
.navbar-nav>li>.sub-menu li a:focus-within {
    background: #000 !important;
    border: none !important;
    color: #fff !important;
}

nav#site-navigation .menu li.menu-item-has-children .sub-menu {
    position: absolute;
    opacity: 0;
    left: -9999px;
    z-index: 99999;
    display: block !important;
    right: auto;
    box-shadow: 0px 10px 20px -5px rgba(10, 42, 105, 0.06) !important;
    /*    border: 1px solid #ececec;*/
    background: #f5f5f5;
}

nav#site-navigation .menu li.menu-item-has-children:hover .sub-menu,
nav#site-navigation .menu li.menu-item-has-children:focus .sub-menu,
nav#site-navigation .menu li.menu-item-has-children:focus-within .sub-menu {
    display: block;
    left: 0;
    margin-top: 0;
    opacity: 1;
}

nav#site-navigation .menu li.menu-item-has-children .sub-menu li.menu-item-has-children>.sub-menu {
    position: absolute;
    opacity: 0;
    left: -9999px;
    z-index: 99999;
    display: block !important;
}

nav#site-navigation .menu li.menu-item-has-children .sub-menu li.menu-item-has-children:hover .sub-menu,
nav#site-navigation .menu li.menu-item-has-children .sub-menu li.menu-item-has-children:focus .sub-menu,
nav#site-navigation .menu li.menu-item-has-children .sub-menu li.menu-item-has-children:focus-within .sub-menu {
    display: block;
    left: 220px;
    margin-top: 0;
    opacity: 1;
}

nav#site-navigation li>.sub-menu li a {
    padding: 8px 20px !important;
}

nav#site-navigation li>.sub-menu li a:hover,
nav#site-navigation li>.sub-menu li a:focus {
    background: #0090f5;
    color: #fff;
}

.header-navigation li a {
    padding: 13px 10px;
    font-size: 20px !important;
    color: var(--text-muted);
    font-family: "Rubik", "Heebo", sans-serif;
    font-weight: 400;
}

/* Hide the mobile flat menu on desktop */
.mobile-menu-flat {
    display: none !important;
}

p.site-title a {
    font-family: "Rubik", "Heebo", sans-serif;
    color: #000;
    font-weight: 600;
    font-size: 21px;
}

.header-navigation ul ul {
    background: #fff;
    width: 220px;
}

.header-navigation li {
    display: inline-block;
}

nav#site-navigation .menu li.menu-item-has-children .sub-menu li {
    border-bottom: none;
    width: 100%;
}

.header-navigation ul ul a {
    width: 100%;
}

nav#site-navigation li.menu-item-has-children>a:after {
    position: relative;
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    top: 2px;
}

header#masthead {
    padding: 10px 0;
}

#hamburger-menu span {
    opacity: 1;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    color: black;
    background-color: #0090f5;
    position: absolute;
    transform: rotate(0deg);
    transition: .4s ease-in-out;
}

#hamburger-menu span:nth-child(1) {
    top: 0;
}

#hamburger-menu span:nth-child(2) {
    top: 7px;
}

#hamburger-menu span:nth-child(3) {
    top: 14px;
}

#hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
}

#hamburger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-60px);
}

#hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-135deg);
}

#hamburger-menu {
    position: relative;
    width: 22px;
    height: 20px;
}

button.close-menu {
    display: none;
}

.archive .site-main article header.entry-header h2,
.blog .site-main article header.entry-header h2 {
    font-size: 20px;
    margin-bottom: 7px;
}

.archive .site-main article header.entry-header h2 a,
.blog .site-main article header.entry-header h2 a {
    color: #232837;
}

.archive .page-section .site-main article footer.entry-footer,
.blog .page-section .site-main article footer.entry-footer {
    margin-top: 20px;
}

.archive .page-section .site-main article:last-child,
.blog .page-section .site-main article:last-child {
    margin-bottom: 0;
}

footer#colophon {
    background: transparent;
    border-top: none;
}

footer#colophon h3.widget-heading {
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 13px;
}

.prefooter {
    padding: 60px 0;
}

div#calendar_wrap table {
    background-color: transparent;
    width: 100%;
}

#wp-calendar caption {
    background-color: #33475b;
    color: #ffffff;
    padding: 10px;
}

#wp-calendar thead tr th {
    text-align: center;
}

table th {
    border: 1px solid #dddddd;
    padding: 8px;
    line-height: 20px;
    text-align: center;
    vertical-align: top;
}

table td {
    border: 1px solid #dddddd;
    padding: 8px;
    line-height: 20px;
    text-align: center;
    vertical-align: top;
}

#wp-calendar tbody tr td {
    text-align: center;
}

#wp-calendar tr th {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 0;
    border-bottom: 0;
}

#wp-calendar tr th:last-child {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

#wp-calendar tr td {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-right: 0;
    border-bottom: 0;
}

#wp-calendar tr td a {
    font-weight: bold;
}

#wp-calendar tr td:last-child {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

#wp-calendar tfoot tr td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

#secondary #wp-calendar tr td {
    border: 1px solid #eee;
}

#secondary #wp-calendar tr th {
    border: 1px solid #eee;
}

.prefooter a,
.prefooter p,
.prefooter span {
    color: var(--text-muted);
}

.prefooter ul {
    color: var(--text-muted);
}

.site-info,
.site-info a {
    color: var(--text-muted);
}

.site-info {
    padding: 16px 0;
    text-align: center;
    background: #f5f5f5;
}

div#hamburger-menu {
    display: none;
}

input.wp-block-search__input {
    padding: 14px 10px;
    border-radius: 0px;
}

.single article footer.entry-footer {
    margin: 30px 0;
}

.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

svg.svg-icon path {
    fill: #0090f5;
}

input#wp-comment-cookies-consent {
    width: auto;
    height: auto;
}

.widget_recent_jobs ul.job_listings li.job_listing {
    padding-left: 15px;
    padding-right: 15px;
}

.site-logo h1.site-title {
    font-size: 21px;
}

h2.widgettitle,
h2.widget-title {
    font-size: 21px;
}

input[type="search"] {
    padding: 9px 10px;
    border-radius: 0;
}

.error404 form.search-form {
    margin-bottom: 20px;
}

.section-spacing {
    padding: 0;
}

.section-headings {
    text-align: center;
    margin-bottom: 50px;
}

.cta-section {
    padding: 90px 0;
    text-align: center;
}

.banner-section {
    padding: 100px 0;
}

.banner-section span {
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 400;
}

.banner-section h1 {
    color: #FFFFFF;
    font-size: 55px;
}

.section-headings h2 {
    font-size: 34px;
    font-weight: 400;
}

.section-headings span {
    font-size: 16px;
}

.cta-section span {
    display: block;
}

.cta-section,
.banner-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

a.btn-default {
    font-weight: normal;
    background-color: #0090f5;
    color: #fff;
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 30px !important;
    display: inline-block;
    border: none;
}

a.btn-default:hover {
    background: #222 !important;
    color: #fff;
}

.cta-section a.btn-default {
    margin-top: 30px;
}

.pricing .price_action .price_action--btn,
#directorist.atbd_wrapper .btn-primary,
.default-ad-search .submit_btn .btn-default,
.atbd_content_active #directorist.atbd_wrapper.dashboard_area .user_pro_img_area .user_img .choose_btn #upload_pro_pic,
#directorist.atbd_wrapper .at-modal .at-modal-close,
.atbdp_login_form_shortcode #loginform p input[type=submit],
.atbd_manage_fees_wrapper .table tr .action p .btn-block,
#directorist.atbd_wrapper #atbdp-checkout-form #atbdp_checkout_submit_btn,
#directorist.atbd_wrapper .ezmu__btn,
.default-ad-search .submit_btn .btn-primary,
.directorist-btn.directorist-btn-primary,
.directorist-content-active .widget.atbd_widget .directorist .btn,
.directorist-btn.directorist-btn-dark,
.atbd-add-payment-method form .atbd-save-card,
#bhCopyTime,
#bhAddNew,
.bdb-select-hours .bdb-remove,
.directorist-form-image-upload-field .ezmu__btn.ezmu__input-label,
.directorist-content-active .widget.atbd_widget .atbd_author_info_widget .btn {
    background: #0090f5 !important;
}

header#masthead {
    box-shadow: none;
}

.section-overlay:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 34%);
    content: "";
}

.section-overlay {
    position: relative;
}

.cta-section h2 {
    color: #fff;
}

.cta-section span {
    color: #fff;
}

h2.comments-title {
    font-size: 21px;
}

.directorist-single {
    padding: 60px 0;
}

.directorist-single.directorist-container {
    background: #f6f7f9;
}

.single .directorist-card {
    border: none;
}

.single .widget.atbd_widget,
.single .widget.atbd_widget[id^=bd],
.single .widget.atbd_widget[id^=dcl] {
    border: none;
}

.slickSliderImages {
    display: none;
}

.slickSliderImages.slick-initialized {
    display: block;
}

.widget.atbd_widget ul,
.widget.atbd_widget ol {
    padding: 20px 30px !important;
}

.widget.atbd_widget .atbdp ul {
    padding: 0 !important;
}

.widget.atbd_widget .atbdp ol {
    padding: 0 !important;
}

.atbd_widget.widget h2.wp-block-heading {
    font-size: 20px;
    padding: 15px 30px;
    border-bottom: 1px solid #eff1f6;
    margin-bottom: 0;
}

.directorist-card__header.directorist-flex.directorist-justify-content-between {
    display: none;
}

.widget.atbd_widget[id^=bd] .atbd_author_info_widget .atbd_widget_contact_info ul li .directorist-icon-mask,
.widget.atbd_widget[id^=dcl] .atbd_author_info_widget .atbd_widget_contact_info ul li .directorist-icon-mask,
.widget.atbd_widget .atbd_author_info_widget .atbd_widget_contact_info ul li .directorist-icon-mask {
    top: 3px;
}

.widget.atbd_widget .atbd_author_info_widget .atbd_widget_contact_info ul li .atbd_info {
    word-break: break-all;
}

#directorist.atbd_wrapper .btn-primary,
.default-ad-search .submit_btn .btn-default,
.atbdp_login_form_shortcode #loginform p input[type=submit],
.default-ad-search .submit_btn .btn-primary,
.directorist-btn.directorist-btn-primary,
.directorist-content-active .widget.atbd_widget .directorist .btn,
.atbd-add-payment-method form .atbd-save-card,
.directorist-content-active .widget.atbd_widget .atbd_author_info_widget .btn {
    border: none;
}

form#atbdp-contact-form-widget {
    text-align: left;
}

.single-at_biz_dir {
    background: #f6f7f9;
}

.single-at_biz_dir header#masthead {
    background: #fff;
}

.directorist-signle-listing-top.directorist-flex.directorist-align-center.directorist-justify-content-between {
    display: none;
}

.plasmaSlider {
    width: 100% !important;
}

.header-add-listing a {
    font-size: 16px;
    font-weight: 400;
    background-color: #0090f5;
    border-radius: 0px 3px 3px 3px;
    padding: 9px 14px !important;
    color: #fff !important;
}

.header-add-listing a:hover {
    background: #222 !important;
}

p.site-title {
    margin-bottom: 0;
}

.site-info a {
    color: #0090f5;
}

.site-info p {
    margin: 0;
}

aside#secondary .widget {
    margin-bottom: 30px;
}

.widget li a {
    color: var(--text-muted);
}

.wp-block-search__button {
    margin-left: 4px;
    word-break: normal;
}

.widget.widget_search input.search-submit {
    padding: 15px 28px;
}

.site-logo img.custom-logo {
    height: 60px;
    width: auto;
    max-width: none;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc4wp-form-fields input[type="submit"] {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 16px;
    text-transform: uppercase;
    font-size: 14px;
}

.mc4wp-form-fields input[type="email"] {
    padding: 7px 16px;
    width: 200px;
    outline: none !important;
    border-radius: 30px;
}

.mc4wp-form-fields input[type="text"] {
    padding: 7px 16px;
    width: 200px;
    outline: none !important;
    border-radius: 0;
}

.mc4wp-form-fields input[type="submit"]:hover {
    background: #1a2b28;
    color: #fff !important;
}

.mc4wp-form-fields {
    text-align: center;
}

#sb_instagram #sbi_load {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

#sb_instagram:hover #sbi_load {
    opacity: 1;
}

#sb_instagram {
    padding-bottom: 0 !important;
}

#sb_instagram #sbi_load .sbi_load_btn,
#sb_instagram .sbi_follow_btn a {
    margin: 0;
    border-radius: 0;
}

.posts-wrap article {
    width: calc(33.33% - 20px);
    margin: 10px;
    margin-bottom: 20px;
}

.posts-wrap {
    display: flex;
    flex-wrap: wrap;
}

.destination-meta span {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
    z-index: 99;
    position: relative;
}

.post-wrap-element .post-content h2 {
    font-size: 18px;
    margin-top: 8px;
    margin-bottom: 0;
}

.post-wrap-element .post-content h2 a {
    color: #000;
}

.post-wrap-element .post-content ul.post-meta {
    margin-top: 5px;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.post-wrap-element .post-content ul.post-meta li a {
    font-size: 13px;
    font-weight: normal;
    color: #959595;
}

.post-wrap-element .post-content .post-meta li+li {
    margin-left: 0.5rem;
}

.post-wrap-element .post-content .post-meta li {
    display: inline-block;
    position: relative;
}

.post-wrap-element .post-content {
    text-align: center;
    margin-top: 20px;
}

.post-wrap-element li.meta-date:before {
    content: "";
    height: 10px;
    width: 1px;
    background: #959595;
    position: absolute;
    left: -8px;
    top: 8px;
    transform: rotate(21deg);
}

.post-wrap-element li.post-cat {
    position: relative;
    padding-right: 4px;
    margin-right: 2px;
}

.single .post-wrap-element .post-content {
    text-align: left;
    margin-bottom: 20px;
}

.site-title-wrap p {
    margin: 0;
    font-size: 13px;
}

.header-navigation {
    display: flex;
    align-items: center;
}

.header-navigation .social-icons {
    padding-left: 30px;
}

.social-icons span {
    display: inline-block;
    font-size: 18px;
    margin: 0 6px;
}

nav#site-navigation .social-icons {
    display: none;
}

.header2 nav#site-navigation {
    margin-left: 0;
}

header#masthead.header2 .col-md-12 {
    justify-content: space-between;
}

.header3 .top-header-wrap {
    display: flex;
    align-items: center;
    width: 100%;
}

.header3 .site-logo {
    padding: 0;
    text-align: center;
}

.social-icons span a {
    color: var(--text-muted);
}

.header-search svg path {
    fill: var(--text-muted);
}

.header3 .social-icons,
.header3 .site-logo,
.header3 .header-search {
    flex-grow: 1;
    float: none;
    display: inherit;
    margin: 0;
    max-width: 33.33%;
}

.header-search svg {
    width: 21px;
}

.header3 .site-logo {
    justify-content: center;
}

.header3 .header-search {
    justify-content: end;
}

.header-search {
    position: relative;
    height: 35px;
    float: right;
    padding: 0;
}

.header-search input[type="search"] {
    height: 40px;
    display: inline-block;
    border: none;
    outline: none;
    color: #555;
    padding: 3px;
    padding-right: 60px;
    width: 0px;
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    z-index: 3;
    transition: width .4s cubic-bezier(0.000, 0.795, 0.000, 1.000);
    cursor: pointer;
    font-size: 15px !important;
    font-weight: normal;
}

.header-search input[type="search"]:focus:hover {
    border-bottom: 1px solid #BBB;
}

.header-search input[type="search"]:focus {
    width: 300px;
    z-index: 999;
    border: none !important;
    border-bottom: 1px solid #BBB !important;
    cursor: text;
    background-color: #fff;
    border-radius: 0;
}

.header-search .search-form input.search-submit {
    height: 38px;
    width: 21px;
    float: right;
    background: url(../img/search.png) center center no-repeat;
    text-indent: -10000px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    cursor: pointer;
    cursor: pointer;
    transition: opacity .4s ease;
    background-size: contain;
    padding: 0 !important;
    pointer-events: none !important;
}

.header-search input.search-submit {
    display: none;
}

.header-search input[type="search"] {
    border: none !important;
}

header#masthead.header3 .col-md-12 {
    display: block;
}

.header3 .bottom-header-wrap nav#site-navigation {
    justify-content: center;
}

header#masthead.header3 {
    padding-bottom: 5px;
}

.header3 .bottom-header-wrap {
    border-top: 1px solid #eee;
    margin-top: 16px;
}

.header3 .bottom-header-wrap {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 5px;
}

header#masthead.dark-header {
    background: #000;
}

header#masthead.dark-header p.site-title a,
header#masthead.dark-header p.site-description {
    color: #fff;
}

header#masthead.dark-header .header-navigation li a {
    color: #fff;
}

header#masthead.dark-header .social-icons span a {
    color: #fff;
}

header#masthead.dark-header nav#site-navigation .menu li.menu-item-has-children .sub-menu {
    background: #000;
}

header#masthead.dark-header nav#site-navigation .menu li.menu-item-has-children .sub-menu li:last-child {
    border-bottom: none;
}

.dark-header.header3 .bottom-header-wrap {
    border-top: 1px solid #40404091;
}

header#masthead .container-fluid {
    padding-left: 3%;
    padding-right: 3%;
}

header#masthead.header4 {
    max-width: 1200px;
    z-index: 999;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 22px;
    left: 50%;
    padding-left: 20px;
    padding-right: 20px;
    transform: translate(-50%, 0);
    background: #fff;
    -webkit-box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
    -moz-box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
    box-shadow: 0px 5px 20px -17px rgba(0, 0, 0, 0.34);
}

header#masthead.header4.dark-header {
    background: #000;
}

.logged-in header#masthead.header4 {
    top: 55px;
}

header#masthead.header4 .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

header#masthead.transparent {
    position: absolute;
    z-index: 999;
    width: 100%;
    top: 0;
}

.logged-in header#masthead.transparent {
    top: 32px;
}

@media (max-width: 782px) {

    /* Force WordPress admin bar to stay fixed at the absolute top of the screen (0px) */
    #wpadminbar {
        position: fixed !important;
        top: 0 !important;
    }

    /* If the header is fixed or absolute (including inline styles from sticky scripts), force top: 46px */
    .admin-bar header#masthead[style*="position: fixed"],
    .admin-bar header#masthead[style*="position: absolute"],
    .admin-bar header#masthead.transparent,
    .admin-bar header#masthead.header4,
    .admin-bar header#masthead.fixed,
    .admin-bar header#masthead.sticky {
        top: 46px !important;
        margin-top: 0 !important;
    }

    /* If it is relative (default), let the html margin-top: 46px position it naturally, and clear manual offsets */
    .admin-bar header#masthead:not(.transparent):not(.header4):not(.fixed):not(.sticky):not([style*="position: fixed"]):not([style*="position: absolute"]) {
        margin-top: 0 !important;
        top: auto !important;
    }
}

header#masthead.transparent p.site-title a,
header#masthead.transparent p.site-description {
    color: #fff;
}

header#masthead.transparent .header-navigation ul>li>a {
    color: #fff;
}

header#masthead.transparent nav#site-navigation li>.sub-menu li a {
    color: #232837;
}

header#masthead.transparent .social-icons span a {
    color: #fff;
}

.hero-section {
    display: flex;
    gap: 60px;
    flex-wrap: nowrap;
}

.hero-section .image-wrap {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;
}

.hero-section .hero-blog-content {
    width: 50%;
    padding-top: 80px;
}

.hero-section {
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 60px;
}

.hero-blog-content h1 {
    font-size: 40px;
}

.small-slider-sec .title h2 {
    font-size: 15px;
    margin-bottom: 5px;
    color: #fff;
}

.small-slider-sec .title h2 a {
    color: #fff;
}

.small-slider-sec .info ul.post-meta li a {
    color: #fff;
    font-size: 13px;
}

ul.post-meta li a {
    color: #959595;
    font-size: 13px;
    font-weight: normal;
}

li.post-cat {
    position: relative;
    padding-right: 4px;
    margin-right: 2px;
}

.post-meta li {
    display: inline-block;
    position: relative;
}

.post-meta li+li {
    margin-left: 0.5rem;
}

li.meta-date:before {
    content: "";
    height: 10px;
    width: 1px;
    background: #959595;
    position: absolute;
    left: -8px;
    top: 8px;
    transform: rotate(21deg);
}

ul.post-meta {
    margin: 0;
    padding: 0;
}

.small-slider-sec .info {
    position: absolute;
    bottom: 0;
    padding: 30px;
    opacity: 1;
    transition: all 100ms 0ms ease-in-out;
    transform: none;
    width: 100%;
}

.small-slider-sec .overlay {
    opacity: 0.6;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: linear-gradient(0deg, black, transparent 100%);
    transition: all 100ms 0ms ease-in-out;
}

.small-slider-sec .small-banner-wrap.twocolumn .card {
    height: 450px;
}

.small-slider-sec .card {
    position: relative;
    overflow: hidden;
}

.small-banner-wrap.twocolumn .card {
    margin: 0 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.small-slider-sec {
    margin-top: 70px;
}

.small-slider-sec .card:hover .overlay {
    -webkit-transform: translate(0);
    transform: translate(0);
    opacity: 1;
    transition: all 300ms 0ms ease-in-out;
}

.hero-blog-content-wrap {
    padding: 0% 5% 0% 5%;
}

.about-section .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.about-section span {
    display: block;
    margin-bottom: 30px;
}

.about-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
}

.about-section .col-md-6:first-child {
    padding-right: 40px;
}

article.blog-post h2 {
    font-size: 15px;
    margin-top: 8px;
    margin-bottom: 0;
}

article.blog-post h2 a {
    color: #000;
}

/*article.blog-post {
    text-align: center;
}

*/
article.blog-post .title {
    margin-top: 20px;
}

article.blog-post ul.post-meta {
    margin-top: 5px;
}

.custom-section-title h2 {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #000;
    display: inline;
    white-space: nowrap;
    margin: 0;
}

.custom-section-title:after,
.custom-section-title:before {
    display: block;
    content: "";
    border-bottom: 0;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    border-top: 1px solid #eee;
}

.custom-section-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.about-section {
    background: #F7F2EE;
}

.small-slider-sec .card.slick-slide {
    height: 350px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.small-banner-wrap .slick-slide {
    margin: 0 10px;
}

/* the parent */
.small-banner-wrap .slick-list {
    margin: 0 -10px;
}

.small-slider-sec .small-banner-wrap.twocolumn .card.slick-slide {
    height: 450px;
}

.small-slider-sec .small-banner-wrap.threecolumn .card.slick-slide {
    height: 400px;
}

.small-banner-wrap.slick-slider .banner-wrap-element {
    padding: 0;
}

.blog-section .small-slider-sec {
    margin: 0;
}

.blog-section .small-slider-sec .card.slick-slide {
    height: 400px;
}

.cta-section h2 {
    color: #fff;
    font-size: 23px;
}

.cta-section .row {
    max-width: 750px;
    margin: 0 auto;
}

.mc4wp-form-fields input[type="text"] {
    padding: 7px 16px;
    width: 200px;
    outline: none !important;
    border-radius: 30px;
}

.mc4wp-form-fields input[type="submit"]:hover {
    background: #000;
    color: #fff !important;
}

.mc4wp-form-fields input[type="submit"] {
    background: #0090f5;
}

.blog nav.navigation.posts-navigation,
.archive nav.navigation.posts-navigation,
.search nav.navigation.posts-navigation {
    width: 100%;
}

.single .col-md-12.no-sidebar header.entry-header {
    text-align: center;
}

.single .post-thumbnail {
    float: left;
    max-width: 320px;
    width: 40%;
    margin: 0px 25px 22px 24px;
}

.single .post-thumbnail img {
    width: 100%;
    height: auto;
}

input.wp-block-search__input {
    padding: 8px 10px;
    border-radius: 30px;
}

input.wp-block-search__input {
    padding: 9px 10px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    width: 80%;
}

.wp-block-search__button {
    background: #0090f5;
    margin-left: 0;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    padding: 10px 28px;
    position: absolute;
    right: 1px;
    top: 0;
}

.wp-block-search__inside-wrapper {
    position: relative;
}

.widget input[type="search"] {
    padding: 9px 10px;
    border-radius: 30px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    width: 80%;
}

.widget_search label {
    width: 100%;
}

.widget.widget_search input.search-submit {
    background: #0090f5;
    margin-left: 0;
    border-radius: 30px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    position: absolute;
    right: 0;
    top: 0;
}

form.search-form {
    position: relative;
}

.widget_search label {
    margin: 0 !important;
}

.rp4wp-related-job_listing>ul li.job_listing a div.position h3,
.rp4wp-related-job_listing>ul li.no_job_listings_found a div.position h3,
ul.job_listings li.job_listing a div.position h3,
ul.job_listings li.no_job_listings_found a div.position h3 {
    font-size: 16px;
    font-family: "Rubik", "Heebo", sans-serif;
    font-weight: 700;
}

ul.job_listings li.job_listing a div.position .company strong {
    font-weight: normal;
    margin-top: 7px;
    display: block;
    font-size: 15px;
}

ul.job_listings li.job_listing a div.position .company .tagline {
    font-weight: normal;
    margin-top: 7px;
    display: block;
    font-size: 15px;
    margin-left: 0;
}

a.load_more_jobs {
    display: block;
    text-align: center;
    margin-top: 30px;
}

ul.job_listings li.job_listing a .meta li.date {
    font-size: 14px;
}

ul.job_listings li.job_listing {
    width: 100%;
    background: #fff !important;
}

.rp4wp-related-job_listing>ul li.job_listing a div.location,
.rp4wp-related-job_listing>ul li.no_job_listings_found a div.location,
ul.job_listings li.job_listing a div.location,
ul.job_listings li.no_job_listings_found a div.location {
    padding-top: 15px;
}

.job_listings li.job_listing a div.position span.tagline {
    display: none;
}

.job-manager-form fieldset input.input-text,
.job-manager-form fieldset input.input-date,
.job-manager-form fieldset textarea,
.job-manager-form fieldset select,
.chosen-container-single .chosen-single,
.select2-container--default .select2-selection--multiple {
    font-size: 15px;
    line-height: 28px;
    padding: 8px 10px;
    width: 100%;
    min-height: 44px;
    border: unset;
    border-radius: 6px;
    height: 44px;
    outline-color: #0090f5;
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px;
}

.job-manager-form .chosen-container-single .chosen-single {
    box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px !important;
    border-radius: 6px;
}

.job-manager-form .select2-container .select2-selection--multiple .select2-selection__rendered li {
    margin: 0;
}

.select2-container .select2-search--inline .select2-search__field {
    margin: 0;
    height: auto;
}

.select2-results__option {
    font-size: 15px;
}

.select2-container--default .select2-selection--single {
    font-size: 15px;
    line-height: 28px;
    padding: 8px 10px;
    width: 100%;
    min-height: 44px;
    border: unset;
    border-radius: 0;
    height: 44px;
    outline-color: #0090f5;
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(60 66 87 / 16%) 0px 0px 0px 1px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px, rgb(0 0 0 / 0%) 0px 0px 0px 0px;
}

.company-manager-form fieldset label,
.job-manager-form fieldset label:not(.full-line-checkbox-field label) {
    color: #232837;
    font-weight: 600;
    font-family: "Rubik", "Heebo", sans-serif;
}

.job-manager-form h2 {
    font-size: 22px;
    margin-top: 20px;
}


.job-manager-form,
.company-manager-form,
div#job-manager-job-dashboard,
div#job-manager-company-dashboard,
div#resume-manager-candidate-dashboard {
    background: #FFF;
    padding: 35px;
}

/* Select2 — consistent height & RTL */
.select2-container--default .select2-selection--single {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: none;
    border-radius: 10px;
    height: 46px !important;
    direction: rtl;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-right: 16px;
    padding-left: 30px;
    color: #2d3748;
    direction: rtl;
    text-align: right;
    font-family: "Rubik", "Heebo", sans-serif;
    font-size: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 8px;
    right: auto;
    height: 44px;
}

.banner-filter-wrapper form .banner-search-input-wrap .form-group input#search-keywords,
.banner-filter-wrapper form .banner-search-input-wrap .form-group input#search_location {
    min-width: 240px;
    border: 1px solid var(--tq-border);
    box-shadow: 0 4px 15px rgba(16, 181, 166, 0.05);
    background: #ffffff;
    border-radius: 10px;
    height: 50px;
    padding-left: 20px;
    font-size: 16px;
    padding-right: 20px;
}

.banner-search-input-wrap {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

.banner-filter-wrapper .form-group div#job_category_chosen,
.banner-filter-wrapper .form-group div#job_region_chosen {
    width: 150px !important;
}

.banner-filter-wrapper .form-group {
    display: inline-block;
}

.banner-filter-wrapper .form-group svg {
    height: 19px;
    position: relative;
    top: 5px;
}

svg.svg-icon path {
    fill: var(--tq) !important;
}

.banner-filter-wrapper button.btn {
    height: 50px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    background: var(--tq) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.banner-filter-wrapper button.btn:hover {
    background: var(--tq-dark) !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(16, 181, 166, 0.3) !important;
}

.banner-filter-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-muted);
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--text-muted);
}

.chosen-container-single .chosen-single span {
    margin-right: 0;
}

.banner-search-input-wrap .form-control {
    border: none !important;
    box-shadow: none !important;
}

/* Job type checkboxes row (below search) — RTL */
.job_filters+.showing_jobs,
.job_listings_filters_bar {
    direction: rtl;
    text-align: right;
}

.banner-filter-wrapper form .banner-search-input-wrap .form-group input {
    border-width: 0;
    box-shadow: none;
    height: 50px;
    padding-left: 5px;
    font-size: 16px;
    padding-right: 15px;
}

.banner-filter-wrapper .form-group:after {
    position: absolute;
    top: 8px;
    right: 0;
    content: "";
    width: 1px;
    height: 65%;
    background: #d6d6d6;
}

.banner-filter-wrapper .form-group {
    margin-right: 15px;
    position: relative;
}

.banner-search-input-wrap .form-group:last-child:after {
    display: none;
}

.banner-search-input-wrap .form-group:nth-last-child(2):after {
    display: none;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    background: #fff !important;
    box-shadow: none;
}

/* Global chosen single — neutral defaults, overridden per context below */
.chosen-container-single .chosen-single {
    background: #fff !important;
    box-shadow: none !important;
    height: 40px;
    line-height: 40px;
}

.chosen-container-single .chosen-single,
.select2-container--default .select2-selection--multiple {
    box-shadow: none;
    height: 40px;
    border-radius: 8px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none;
}

.select2-container--default .select2-selection--multiple {
    overflow-y: scroll;
}

.chosen-container .chosen-results li.highlighted {
    background: #0090f5 !important;
    color: #fff;
}

.chosen-container.chosen-with-drop .chosen-drop {
    border: none !important;
}

.chosen-container .chosen-results li {
    font-size: 15px;
}

li .job-date {
    font-size: 13px;
    margin-top: 7px;
}

.banner-filter-wrapper form .banner-search-input-wrap .form-group input.chosen-search-input,
.chosen-container-single .chosen-search input[type="text"],
div.search_region {
    border-color: #eee !important;
    border: 1px solid;
    height: auto;
}

.chosen-container-single .chosen-single span {
    padding-top: 0;
    color: var(--text-muted);
}

.chosen-container-single .chosen-single {
    font-size: 16px;
}

.banner-filter-wrapper form .banner-search-input-wrap .form-group input::placeholder {
    color: var(--text-muted);
    opacity: 1;
    /* Firefox */
}

.banner-filter-wrapper form .banner-search-input-wrap .form-group input::-ms-input-placeholder {
    /* Edge 12 -18 */
    color: var(--text-muted);
}

.banner-filter-wrapper .form-group:last-child {
    margin-right: 0;
}

fieldset.fieldset-remote_position input#remote_position {
    display: inline-block;
}

fieldset.fieldset-remote_position small.description {
    display: inline-block;
}

/* =====================================================
   MODERN 4-COLUMN JOB CARD GRID
   ===================================================== */
ul.job_listings.job-grid .job_listing {
    width: calc(25% - 12px);
    /* 4-column layout */
    border: 1px solid #e8ecf0;
    border-radius: 12px !important;
    /* Rounded corners of cards/squares */
    padding: 20px;
    margin-bottom: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
    aspect-ratio: 1 / 1 !important;
    /* Forces the card to be a perfect square */
    box-sizing: border-box;
}

ul.job_listings.job-grid .job_listing:hover {
    box-shadow: 0 8px 28px rgba(16, 181, 166, 0.15);
    transform: translateY(-3px);
    border-color: var(--tq-border);
}

/* The "no results" row picks up the same .job_listing card rule above (border,
   shadow, square aspect-ratio) since WP Job Manager renders it as a
   li.job_listing.no_job_listings_found — it's a text message, not a card. */
ul.job_listings.job-grid .job_listing.no_job_listings_found,
ul.job_listings.job-grid li.no_job_listings_found {
    border: none;
    box-shadow: none;
    aspect-ratio: auto !important;
}

ul.job_listings.job-grid .job_listing.no_job_listings_found:hover,
ul.job_listings.job-grid li.no_job_listings_found:hover {
    box-shadow: none;
    transform: none;
    border-color: transparent;
}

div.job_listings ul.job_listings.job-grid {
    gap: 16px;
    margin-top: -35px;
}

/* =====================================================
   JOB CARD — Compact RTL Layout
   ===================================================== */
/* Card wrapper: flex column, full height */
.job-grid .job-listing-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    /* Title at top, footer row at bottom */
    height: 100% !important;
    gap: 10px;
    direction: rtl;
    text-align: right;
}

/* Link Wrapper around the entire card */
a.job-listing-card-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
}

/* Card header flex row */
.job-grid .card-header-row {
    display: block !important;
    width: 100%;
}

.job-grid .card-title-wrap {
    margin-top: 5px;
    margin-bottom: auto;
    height: 50px !important;
    display: flex !important;
    align-items: flex-start !important;
    min-width: 0;
    overflow: hidden;
}

.job-grid .card-title-wrap a {
    color: inherit;
    text-decoration: none;
}

.job-grid h3.card-job-title {
    margin: 0;
    font-size: 20px !important;
    /* Increased font size for title */
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-muted);
    font-family: "Rubik", "Heebo", sans-serif;
    display: -webkit-box;
    /* Enable line clamp */
    -webkit-line-clamp: 3;
    line-clamp: 3;
    /* Limit title to 3 lines maximum */
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Add ... on 3rd line */
    word-break: break-word;
    max-height: 5.88em;
    /* 3 lines * 1.4 line-height * 1.4em (approx) */
}

.job-grid h3.card-job-title:hover {
    color: var(--purple) !important;
}

/* Card footer: stacked metadata layout */
.job-grid .card-footer-row,
.related-jobs-sidebar-list .card-footer-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
    width: 100% !important;
    direction: rtl !important;
}

/* Vertical metadata stack: Location, Job Type, and Publish Date stacked vertically with tight spacing */
.job-grid .card-meta-group-vertical,
.related-jobs-sidebar-list .card-meta-group-vertical {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
    /* Tight close spacing */
    width: 100% !important;
    direction: rtl !important;
}

/* Force uniform styling for all card metadata (exact same font, size, and color) */
.job-grid .card-location,
.job-grid .card-type-tag,
.job-grid .card-publish-date,
.related-jobs-sidebar-list .card-location,
.related-jobs-sidebar-list .card-type-tag,
.related-jobs-sidebar-list .card-publish-date {
    font-size: 16px !important;
    color: var(--text-muted) !important;
    /* Uniform slate grey color */
    font-family: "Rubik", "Heebo", sans-serif !important;
    /* Uniform font family */
    font-weight: 500 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex !important;
    align-items: center !important;
    background: transparent !important;
    /* No background badges */
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
}

/* Uniform icon spacing inside metadata stack */
.job-grid .card-meta-icon,
.related-jobs-sidebar-list .card-meta-icon {
    margin-left: 8px !important;
    /* space after icon in RTL */
    margin-right: 0 !important;
    color: #a0aec0 !important;
    font-size: 12px !important;
    width: 14px !important;
    text-align: center !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Compact apply button — single-line compact button */
.job-grid .btn-apply-sm {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    font-size: 11px !important;
    font-weight: 600;
    padding: 6px 14px !important;
    /* side padding for clean capsule/rectangle look */
    border-radius: 4px;
    border: none;
    text-decoration: none !important;
    font-family: "Rubik", "Heebo", sans-serif;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap !important;
    /* No wrapping needed for "פרטים" */
    width: auto !important;
    /* Automatic size fitting text */
    height: 30px !important;
    /* Short, premium height */
    letter-spacing: 0;
    line-height: 1 !important;
}

/* Light button design */
.job-grid .btn-apply-light {
    background: #e6f0ff !important;
    color: #0078ff !important;
}

.job-grid .btn-apply-light:hover {
    background: #cce0ff !important;
    box-shadow: 0 2px 8px rgba(0, 120, 255, 0.15);
}

/* Card Meta Icons */
.job-grid .card-meta-icon {
    margin-left: 6px !important;
    /* spacing for RTL */
    margin-right: 0 !important;
    color: #a0aec0;
    font-size: 12px;
    width: 14px;
    text-align: center;
    display: inline-block;
}

.job-grid .card-type-tag .card-meta-icon {
    color: #38a169;
    /* match the green text */
}

/* Legacy — keep old classes harmless */
.job-grid .company h3 {
    margin: 0 !important;
    color: var(--text-muted);
    font-weight: 500 !important;
}

h3.card-job-title:hover {
    color: var(--purple) !important;
}

ul.job_listings {
    display: flex;
    flex-wrap: wrap;
}

ul.job_listings figure img {
    width: 52px;
}

.location svg {
    width: 15px;
    position: relative;
    top: 3px;
    margin-right: 0px;
    left: -4px;
}

.job-add-meta svg {
    width: 17px;
    margin-right: 5px;
    position: relative;
    top: 4px;
    color: #a0abb8;
}

ul.job_listings .job_listing li.job-type {
    background: none !important;
}

.job-add-meta li.job-type {
    position: relative;
    left: -2px;
    margin-bottom: 5px;
}

.job-add-meta li,
.job-add-meta .job-date {
    display: inline-block;
    font-size: 14px;
    color: #6a6a6a;
}

ul.job_listings .job_listing {
    width: calc(33.33% - 20px);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    background: #fff;
    padding: 20px;
}

.job-grid .company h3 {
    margin: 0 !important;
    color: var(--text-muted);
    font-weight: 500 !important;
    font-size: 14px;
}

/* 4-col override handled above */
.job-listing-card .position {
    padding-left: 18px;
}

.rp4wp-related-job_listing>ul,
ul.job_listings {
    border: none;
}

div.job_listings ul.job_listings {
    margin: 0;
    gap: 16px;
}

input.wp-block-search__input {
    padding: 8px 10px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.wp-block-search__button {
    background: #0090f5;
    margin-left: 0;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.widget input[type="search"] {
    padding: 9px 10px;
    border-radius: 30px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.widget.widget_search input.search-submit {
    background: #0090f5;
    margin-left: 0;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.single_job_listing .meta .job-type {
    border-radius: 16px;
    padding: 7px 15px;
}

ul.job_listings .job_listing.status-expired {
    filter: grayscale(100%);
    opacity: 0.6;
}

.mc4wp-form-fields input[type="email"] {
    width: 70%;
}

.mc4wp-form-fields input[type="submit"] {
    width: 30%;
}

.mc4wp-form-fields {
    display: flex;
    gap: 15px;
}

.single.single-job_listing .col-md-12.no-sidebar header.entry-header {
    text-align: left;
}

.error404 input[type="search"] {
    border-radius: 32px;
}

.error404 input.search-submit {
    padding: 14px 20px;
}

/* =====================================================
   SINGLE JOB PAGE - DIRECT APPLY & RELATED JOBS
   ===================================================== */
.job-apply-direct-wrap {
    margin: 30px 0;
    text-align: right;
    direction: rtl;
}

a.btn-apply-direct {
    display: inline-block;
    background: #0078ff;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none !important;
    font-family: "Rubik", "Heebo", sans-serif;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

a.btn-apply-direct:hover {
    background: #0060cc;
    box-shadow: 0 4px 12px rgba(0, 120, 255, 0.3);
}

.related-jobs-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e8ecf0;
}

.related-jobs-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 20px;
    font-family: "Rubik", "Heebo", sans-serif;
    text-align: right;
}

/* =====================================================
   SINGLE JOB PAGE - VERTICAL SIDEBAR RELATED JOBS
   ===================================================== */
.related-jobs-sidebar-section {
    background: transparent !important;
    /* No background */
    border: none !important;
    /* No border */
    padding: 0 !important;
    /* Reset padding */
    margin-bottom: 30px;
    direction: rtl;
    text-align: right;
}

.related-jobs-sidebar-title {
    font-size: 20px;
    /* Slightly smaller title */
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: none !important;
    /* Subtle line */
    font-family: "Rubik", "Heebo", sans-serif;
    text-align: right;
}

/* =====================================================
   SINGLE BLOG POST — "Recent Jobs" block
   Mirrors .related-jobs-sidebar-section/-title above instead of the
   one-off inline styles this block used to carry.
   ===================================================== */
.single-post-recent-jobs {
    padding-top: 40px;
    border-top: none;
    direction: rtl;
    text-align: right;
}

.single-post-recent-jobs-title {
    text-align: right;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--text-muted);
    font-size: 20px;
    font-family: "Rubik", "Heebo", sans-serif;
}

.related-jobs-sidebar-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    /* Slightly tighter gap */
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Sidebar cards: clean, minimal, matching main cards but auto aspect ratio */
.related-jobs-sidebar-list li.job_listing {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: auto !important;
    padding: 20px !important;
    border: 1px solid #e8ecf0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    margin: 0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
    transition: box-shadow 0.25s ease, transform 0.2s ease, border-color 0.25s ease !important;
}

.related-jobs-sidebar-list li.job_listing:hover {
    box-shadow: 0 8px 28px rgba(16, 181, 166, 0.15) !important;
    transform: translateY(-3px) !important;
    border-color: var(--tq-border) !important;
}

.related-jobs-sidebar-list li.job_listing .sidebar-card {
    height: auto !important;
    aspect-ratio: auto !important;
    gap: 8px !important;
}

/* Hide first-letter badge inside sidebar cards to make them text-only and less colorful */
.related-jobs-sidebar-list li.job_listing .card-badge-icon {
    display: none !important;
}

/* Sidebar card title styling - inherits 20px and 600 weight from grouped rule */
.related-jobs-sidebar-list li.job_listing h3.card-job-title {
    color: var(--text-muted) !important;
}

/* Sidebar metadata tags - inherits 16px from grouped rule, removes 12px override */
.related-jobs-sidebar-list li.job_listing .card-type-tag {
    background: transparent !important;
    padding: 0 !important;
    color: var(--text-muted) !important;
}

/* Detailed page custom card-meta header styling */
.detailed-job-meta-wrap {
    margin-bottom: 0px;
    border-bottom: none !important;
    padding-bottom: 35px;
    margin-top: -50px;
}

.detailed-job-meta-wrap .card-meta-group-vertical {
    display: flex;
    flex-direction: column !important;
    /* One meta item per line, matching the job-grid card's vertical stack */
    align-items: flex-start;
    gap: 10px !important;
}

.detailed-job-meta-wrap .card-location,
.detailed-job-meta-wrap .card-type-tag,
.detailed-job-meta-wrap .card-publish-date {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 15px !important;
    /* Slightly larger for detailed page readability */
    color: #4a5568 !important;
    font-family: "Rubik", "Heebo", sans-serif;
    font-weight: 500;
}

.detailed-job-meta-wrap .card-type-tag {
    color: #38a169 !important;
    /* Green type on detailed page too */
}

.detailed-job-meta-wrap .card-meta-icon {
    margin-left: 8px !important;
    margin-right: 0 !important;
    color: #a0aec0 !important;
    font-size: 12px !important;
    width: 14px !important;
    text-align: center !important;
    display: inline-block !important;
    flex-shrink: 0 !important;
}

/* Hide default duplicate WP Job Manager metadata list to avoid having both */
.single_job_listing ul.job-listing-meta,
.single_job_listing .job-listing-meta {
    display: none !important;
}


/* Hide WP Job Manager default results summary / RSS panel completely, along with preceding Elementor text containers */
html body .showing_jobs,
html body .wp-job-manager-showing-all,
html body .showing_jobs.wp-job-manager-showing-all,
html body .job-manager-rss,
html body .rss-link,
html body .elementor-element-5803c57e {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: none !important;
}


/* Single Page RTL ordering: main content on the right, sidebar on the left */
body.rtl .single-job-page .col-md-8 {
    float: right !important;
}

body.rtl .single-job-page .col-md-4 {
    float: left !important;
}

/* Hide masthead description completely on all viewports */
p.site-description,
header#masthead p.site-description {
    display: none !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* =====================================================
   MASTHEAD — Clean header with bottom-edge logo
   ===================================================== */

/* 4. Global space removal — skip when WP admin bar is present */
html:not(.wp-toolbar) body:not(.admin-bar),
body:not(.admin-bar) {
    padding-top: 0 !important;
}

/* 5. Hide skip-link that causes top gap */
.skip-link.screen-reader-text {
    display: none !important;
}

/* 1. Header layout & centering — all page types */
header#masthead,
body.post-type-archive-job_listing header#masthead,
body.page-template-template-fullwidth header#masthead,
header#masthead.transparent,
header#masthead.dark-header,
body:not(.post-type-archive-job_listing):not(.page-template-template-fullwidth) header#masthead {
    position: relative !important;
    width: 100% !important;
    padding: 8px 0 !important;
    margin-top: 0 !important;
    background: #ffffff !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    z-index: 9999 !important;
}

/* Suppress pseudo-element separators — all pages */
header#masthead::before,
header#masthead::after,
body.post-type-archive-job_listing header#masthead::before,
body.post-type-archive-job_listing header#masthead::after,
body.page-template-template-fullwidth header#masthead::before,
body.page-template-template-fullwidth header#masthead::after,
header#masthead.transparent::before,
header#masthead.transparent::after,
header#masthead.dark-header::before,
header#masthead.dark-header::after {
    content: none !important;
    display: none !important;
}

/* Nav text colors */
body.post-type-archive-job_listing header#masthead p.site-title,
body.post-type-archive-job_listing header#masthead p.site-title a,
body.page-template-template-fullwidth header#masthead p.site-title,
body.page-template-template-fullwidth header#masthead p.site-title a,
header#masthead.transparent p.site-title,
header#masthead.transparent p.site-title a {
    color: #1a202c !important;
}

body.post-type-archive-job_listing header#masthead nav#site-navigation a,
body.page-template-template-fullwidth header#masthead nav#site-navigation a,
header#masthead.transparent nav#site-navigation a {
    color: var(--text-muted) !important;
    text-shadow: none !important;
}

/* Clean up adjacent section to prevent overlap lines */
.full-width.section-spacing {
    border-top: none !important;
    margin-top: 0 !important;
}

/* 2. Remove internal spacing & apply flex layout */
header#masthead .site-logo,
header#masthead .site-title-wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
}

header#masthead p.site-title {
    margin: 0 !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

header#masthead .col-md-12 {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Mobile Header Adjustments: Prevent overlap, swap logo to left, increase logo size, and pad toolbar */
@media (max-width: 991px) {
    header#masthead {
        min-height: auto !important;
    }

    header#masthead .col-md-12 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
    }

    header#masthead .site-logo {
        padding: 0 !important;
        margin: 0 auto !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    header#masthead .header-inline-logo {
        position: static !important;
        transform: none !important;
        height: 70px !important;
        width: auto !important;
    }

    div#hamburger-menu {
        position: absolute !important;
        right: 20px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) scale(1.4) !important;
        margin-top: 0 !important;
    }
}

@media (min-width: 992px) {

    /* Make header truly full width — all containers permit overflow */
    header#masthead .container,
    header#masthead .container-fluid {
        max-width: 100% !important;
        padding: 0 !important;
        position: relative !important;
        overflow: visible !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    header#masthead a {
        overflow: visible !important;
    }

    /* Desktop: nav centered in the full-width header row */
    header#masthead .col-md-12 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        position: static !important;
    }

    /* Clean all logo container backgrounds */
    #masthead .site-logo,
    #masthead .site-title-wrap,
    #masthead .site-title a {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 3. Logo — absolutely positioned, centered on the header bottom edge */
    img.header-inline-logo,
    #masthead .site-logo img,
    #masthead .header-inline-logo {
        width: 115px !important;
        height: 115px !important;
        max-height: none !important;
        object-fit: contain !important;
        position: absolute !important;
        left: 50% !important;
        bottom: 0 !important;
        top: auto !important;
        transform: translate(-50%, 50%) !important;
        z-index: 10001 !important;
        display: block !important;
        margin: 0 !important;
    }

    /* Logo wrapper must not clip the absolutely-positioned image */
    header#masthead .site-logo {
        position: static !important;
        overflow: visible !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* Menu perfectly centered */
    header#masthead nav#site-navigation {
        display: flex !important;
        justify-content: center !important;
        margin: 0 auto !important;
        width: auto !important;
    }

    /* Social icons on the far left */
    header#masthead .social-icons,
    header#masthead .header-search {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: flex !important;
        z-index: 10 !important;
    }

}


/* =====================================================
   JOBS PAGE FULL-WIDTH HERO BANNER — Photo Background
   ===================================================== */
/* Page content container offsets */
body.page-template-template-fullwidth #content,
body.home #content {
    margin-top: 0 !important;
    padding: 20px 24px 75px !important;
    text-align: center !important;
}





/* =====================================================
   SINGLE JOB APPLY BUTTON STYLING
   ===================================================== */
.job-apply-direct-wrap button,
.job-apply-direct-wrap input[type="button"],
.job-apply-direct-wrap input[type="submit"],
.job-apply-direct-wrap a.button,
.job-apply-direct-wrap a.btn-apply-direct,
.btn-apply-direct,
a.load_more_jobs,
.application_button {
    border-radius: 14px !important;
    background: var(--tq) !important;
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    font-family: "Rubik", "Heebo", sans-serif !important;
    border: 2px solid var(--tq) !important;
    box-shadow: 0 4px 16px rgba(0, 192, 186, 0.38) !important;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s !important;
    cursor: pointer !important;
    padding: 14px 32px !important;
    display: inline-block !important;
    text-align: center !important;
    text-decoration: none !important;
}

.job-apply-direct-wrap button:hover,
.job-apply-direct-wrap input[type="button"]:hover,
.job-apply-direct-wrap input[type="submit"]:hover,
.job-apply-direct-wrap a.button:hover,
.job-apply-direct-wrap a.btn-apply-direct:hover,
.btn-apply-direct:hover,
a.load_more_jobs:hover,
.application_button:hover {
    background: var(--tq-dark) !important;
    border-color: var(--tq-dark) !important;
    box-shadow: 0 6px 20px rgba(0, 192, 186, 0.5) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Ensure Load More Jobs is a pill */
a.load_more_jobs {
    border-radius: 100px !important;
    display: block !important;
    margin: 30px auto !important;
    max-width: 250px !important;
}

/* Apply button: pill design */
.job-apply-direct-wrap a.btn-apply-direct,
a.btn-apply-direct {
    border-radius: 100px !important;
}

/* =====================================================
   HEADER INLINE LOGO (NEXT TO SITE TITLE)
   ===================================================== */
header#masthead p.site-title a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

header#masthead .header-inline-logo {
    height: 115px !important;
    width: auto !important;
    display: inline-block !important;
    transition: filter 0.3s ease !important;
}

/* Split the menu in the middle to make space for the centered logo (assuming 4 items, margin after 2nd item) */
@media (min-width: 992px) {
    header#masthead nav#site-navigation ul.menu>li:nth-child(2) {
        margin-left: 280px !important;
    }
}

/* Removed white logo filter since header is now always white */
/* =====================================================
   JOB CARD LOCATION TEXT TRUNCATION
   ===================================================== */
.job-listing-card .card-location {
    /* display:inline-flex + align-items:center is what keeps the icon and
       text vertically aligned (set earlier in this file for .card-location).
       This rule used to override it to inline-block, which broke that
       alignment everywhere .job-listing-card is used — truncation only
       needs max-width/white-space/overflow/text-overflow, not a display
       change. */
    max-width: 18ch !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* =====================================================
   MOBILE MENU & HOVER STATES
   ===================================================== */
button.close-menu {
    display: none !important;
}

div#hamburger-menu button.open-menu span {
    background-color: var(--tq) !important;
    transition: all 0.3s ease-in-out !important;
    transform-origin: center;
}

div#hamburger-menu button.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

div#hamburger-menu button.active span:nth-child(2) {
    opacity: 0;
}

div#hamburger-menu button.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Remove default gridlines/borders from mobile menu */
@media (max-width: 991px) {

    .header-navigation ul li,
    .header-navigation ul li:first-child,
    .header-navigation .menu-primary-container,
    nav#site-navigation {
        border: none !important;
    }

}

/* Ensure hover is purple on all layouts, overriding transparent/fullwidth specificities */
body header#masthead nav#site-navigation a:hover,
body header#masthead nav#site-navigation a:focus,
body header#masthead nav#site-navigation .menu li.menu-item-has-children:hover>a,
body header#masthead nav#site-navigation .menu li.menu-item-has-children:focus-within>a,
body.post-type-archive-job_listing header#masthead nav#site-navigation a:hover,
body.page-template-template-fullwidth header#masthead nav#site-navigation a:hover,
header#masthead.transparent nav#site-navigation a:hover {
    color: var(--purple) !important;
}

/* =====================================================
   JOB CARD DETAILS BUTTON
   ===================================================== */
.card-details-button-wrap {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    /* Guarantee button is centered */
    border-top: none !important;
    padding-top: 16px !important;
}

.card-details-btn {
    display: inline-block !important;
    background: transparent !important;
    color: var(--tq) !important;
    font-weight: 600 !important;
    font-family: "Rubik", "Heebo", sans-serif !important;
    padding: 5px 18px !important;
    border-radius: 999px !important;
    border: 1.5px solid var(--tq) !important;
    font-size: 14px !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    cursor: pointer !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.job-listing-card:hover .card-details-btn {
    background: var(--tq) !important;
    color: #ffffff !important;
    border-color: var(--tq) !important;
}

/* =====================================================
   CUSTOM FOOTER LINKS
   ===================================================== */
.custom-footer-links {
    background: transparent;
    padding: 24px 0;
    text-align: center;
    border-top: none;
}

.footer-inline-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    direction: rtl;
    flex-wrap: wrap;
}

.footer-inline-links a {
    color: #555555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.footer-inline-links a:hover {
    color: var(--purple);
}

.footer-inline-links .separator {
    color: #cccccc;
    font-size: 12px;
}

/* =====================================================
   DROPDOWN SUB-MENUS
   ===================================================== */
nav#site-navigation .sub-menu {
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    padding: 8px 0 !important;
    overflow: hidden !important;
}

/* RTL OVERRIDES FOR DROPDOWN POSITIONING (DESKTOP) */
@media (min-width: 992px) {

    nav#site-navigation .menu li.menu-item-has-children:hover .sub-menu,
    nav#site-navigation .menu li.menu-item-has-children:focus .sub-menu,
    nav#site-navigation .menu li.menu-item-has-children:focus-within .sub-menu {
        left: auto !important;
        right: 0 !important;
    }

}

nav#site-navigation .sub-menu li {
    background: transparent !important;
    border-bottom: 1px solid #f8f8f8 !important;
    width: 100% !important;
}

nav#site-navigation .sub-menu li:last-child {
    border-bottom: none !important;
}

nav#site-navigation .sub-menu li a {
    color: var(--text-muted) !important;
    background: transparent !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    transition: all 0.2s ease-in-out !important;
    display: block !important;
    text-align: right !important;
}

nav#site-navigation .sub-menu li a:hover,
nav#site-navigation .sub-menu li a:focus {
    color: var(--purple) !important;
    background: var(--purple-bg) !important;
    padding-right: 24px !important;
    /* subtle hover indent */
}

/* =====================================================
   NAGISHLI WIDGET OVERRIDES
   ===================================================== */
#nagishli_button {
    transform: scale(0.8) !important;
    transform-origin: bottom left !important;
}

#nagishli_button,
.nagishli-icon-class {
    background-color: var(--purple) !important;
}

#NagishLiBar,
#NagishLiTag>#NagishLiBar {
    background-color: var(--purple) !important;
}

#NagishLiTag>#NagishLiBar>#NagishLiMenus.turquoise>.nl-dropdown>.nl-dropdown-toggle {
    background: var(--purple) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
}


/* =====================================================
   SIDEBAR & WIDGETS REFINEMENT
   ===================================================== */
/* Widget Containers */
.widget {
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

/* Widget Titles */
.widget .widget-title,
.widget h2.widget-title {
    background: transparent !important;
    color: #333333 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 0 0 12px 0 !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid var(--tq) !important;
    text-align: right !important;
}

/* Widget Lists */
.widget ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.widget ul li {
    padding: 10px 0 !important;
    border-bottom: 1px solid #f8f8f8 !important;
    text-align: right !important;
}

.widget ul li:last-child {
    border-bottom: none !important;
}

.widget ul li a {
    color: #555555 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.widget ul li a:hover {
    color: var(--purple) !important;
}

/* Sidebar Search Button */
.widget_search input[type="submit"] {
    background: var(--tq) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    width: auto !important;
    margin-top: 10px !important;
}

.widget_search input[type="submit"]:hover {
    background: var(--tq-dark) !important;
    transform: translateY(-1px);
}

.widget_search input[type="search"] {
    border: 1px solid #dddddd !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    width: 100% !important;
}

/* =====================================================
   SINGLE POST / PAGE LAYOUT
   ===================================================== */
.single .entry-header,
.page .entry-header {
    text-align: right !important;
    margin-bottom: 30px !important;
    border-bottom: none !important;
    padding-bottom: 20px !important;
}

.single .entry-title,
.page .entry-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    margin-bottom: 5px !important;
    text-align: right !important;
}

.single .entry-meta,
.single .entry-meta a {
    color: #888888 !important;
    font-size: 14px !important;
    text-align: right !important;
}

.single .entry-content,
.page .entry-content {
    font-size: 16px !important;
    line-height: 1.5 !important;
    color: #444444 !important;
    text-align: right !important;
}

/* Post Navigation (Next/Prev) */
.post-navigation {
    margin-top: 50px !important;
    padding-top: 20px !important;
    border-top: 1px solid #eeeeee !important;
}

.post-navigation a {
    color: var(--tq) !important;
    font-weight: 500 !important;
}

/* =====================================================
   MOBILE MENU TOGGLE FIX
   ===================================================== */
@media (max-width: 991px) {
    header#masthead {
        position: relative !important;
    }

    .header-navigation {
        display: none !important;
        width: 100% !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        padding: 10px 0 !important;
    }

    .header-navigation.open {
        display: block !important;
    }

    .header-navigation ul {
        padding: 0 !important;
        margin: 0 !important;
    }

    .header-navigation li {
        display: block !important;
        text-align: right !important;
        border-bottom: 1px solid #f9f9f9 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .header-navigation li:last-child {
        border-bottom: none !important;
    }

    .header-navigation li a {
        display: block !important;
        padding: 15px 15px 15px 0 !important;
        font-weight: 500 !important;
    }

    .header-navigation ul.sub-menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #f8f8f8 !important;
    }

    /* Hide the desktop hierarchical menu and show the flat mobile menu */
    .desktop-menu {
        display: none !important;
    }

    .mobile-menu-flat {
        display: block !important;
    }

    /* Center the application button on mobile */
    .application_button {
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: 100% !important;
        max-width: 320px !important;
    }

}

/* =====================================================
   SELECT2 DROPDOWN HOVER
   ===================================================== */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--purple) !important;
    color: white !important;
}

/* =====================================================
   CATEGORY ICONS (Desktop & Mobile)
   ===================================================== */
.mobile-category-icon {
    display: flex;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 2;
}

.job_listing .mobile-category-icon {
    background-color: var(--tq);
    box-shadow: 0 4px 10px rgba(16, 181, 166, 0.3);
}

.mobile-category-icon svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 991px) {

    /* Only reserve icon space where .mobile-category-icon is actually
       rendered (job-grid cards) — the related-jobs sidebar list on the
       single job page uses the same .job-listing-card markup but has no
       icon overlay, so applying this unconditionally left a large empty
       gutter throwing off the icon/text alignment there. */
    .job-listing-card:has(.mobile-category-icon) .card-header-row,
    .job-listing-card:has(.mobile-category-icon) .card-meta-group-vertical {
        padding-left: 90px !important;
        /* Room for icon */
    }

    .mobile-category-icon {
        left: 25px;
        top: 50%;
        transform: translateY(-50%);
        width: 60px;
        height: 60px;
    }

    .mobile-category-icon svg {
        width: 32px;
        height: 32px;
    }

}

/* Category icon shows on mobile/tablet cards only; hide on desktop home. */
@media (min-width: 768px) {
    body.home .job-listing-card .mobile-category-icon {
        display: none !important;
    }
}

/* =====================================================
   SINGLE & PAGE ENTRY CONTENT / TITLE COLOR
   ===================================================== */
body.single .entry-content,
body.single .entry-content p,
body.single .entry-content span,
body.single .entry-content li,
body.page .entry-content,
body.page .entry-content p,
body.page .entry-content span,
body.page .entry-content li,
body.single h1.entry-title,
body.single h2.entry-title,
body.page h1.entry-title,
body.page h2.entry-title {
    color: var(--text-muted) !important;
}

.single .entry-content,
.page .entry-content,
.single .entry-content p,
.page .entry-content p {
    font-size: 20px !important;
}

/* =====================================================
   SELECT2 INNER SEARCH FIELD FONT
   ===================================================== */
.select2-container .select2-search--inline .select2-search__field,
.select2-container .select2-search--dropdown .select2-search__field,
.chosen-container .chosen-search input[type="text"],
.chosen-container-multi .chosen-choices li.search-field input[type="text"] {
    font-family: "Rubik", "Heebo", sans-serif !important;
    color: #2d3748 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

/* Force hide "Load more jobs" button if no listings are found to prevent endless clicks */
.job_listings:has(.no_job_listings_found) .load_more_jobs {
    display: none !important;
}