   MODERN UI LAYER (16 Aug 2026)
   A contemporary refresh on top of the original styling. All accents are
   driven by the per-site CSS variables emitted by gander_custom_colors()
   (--gander-primary / --gander-secondary / --gander-link / --gander-hover),
   so each of the 9 sites keeps its own branding. Job listings intentionally
   remain a LIST (the card-grid experiment was rejected by the site owner) —
   the rows are simply cleaned up.
   ========================================================================== */

:root {
  --gander-primary: #41ade2;
  --gander-secondary: #2d223d;
  --gander-link: #41ade2;
  --gander-hover: #000;
  --gander-radius: 8px;
  --gander-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --gander-shadow-lg: 0 10px 32px rgba(0, 0, 0, 0.16);
  --gander-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

/* --- Base typography ---------------------------------------------------- */
body,
button,
input,
select,
textarea {
  font-family: var(--gander-font);
  font-size: 16px;
  line-height: 1.65;
  color: #444;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--gander-link, #41ade2);
  transition: color 0.15s ease;
}
a:hover,
a:focus,
a:active {
  color: var(--gander-hover, #000);
}

/* --- Header ------------------------------------------------------------- */
#masthead {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}
#masthead h1.site-title {
  font-size: 24px;
  letter-spacing: 0.5px;
  margin: 8px 0;
}
#masthead h1.site-title.logo img {
  max-height: 52px;
  width: auto;
}
#masthead .headright {
  margin: 14px 0;
}
#masthead .headright ul li {
  font-size: 14px;
}
#masthead .headright a {
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}
#masthead .headright a:hover {
  background: rgba(0, 0, 0, 0.05);
}
#masthead .headright li.search-open {
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.15s ease;
}
#masthead .headright li.search-open:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* --- Primary navigation (sticky) ---------------------------------------- */
.main-navigation {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
}
body.admin-bar .main-navigation {
  top: 32px;
}
.main-navigation ul.menu > li {
  font-size: 13px;
  letter-spacing: 0.4px;
}
.main-navigation ul > li a:link,
.main-navigation ul > li a:visited {
  padding: 18px 16px;
}
.main-navigation ul > li a:hover,
.main-navigation li:hover > a {
  background: rgba(255, 255, 255, 0.1);
}
.main-navigation ul.menu > li.current-menu-item > a {
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.85);
}
.main-navigation ul ul {
  top: 52px;
  border-radius: 0 0 var(--gander-radius) var(--gander-radius);
  box-shadow: var(--gander-shadow-lg);
}

/* --- Hero --------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 14, 40, 0.72),
    rgba(20, 14, 40, 0.45)
  );
  z-index: 0;
}
.hero-section .container {
  position: relative;
  z-index: 1;
}
.hero-section .hero {
  background: none;
  padding: 90px 0;
}
.hero-section .hero .hinfo {
  width: 100%;
  padding: 0;
}
.hero-section .hero .hinfo h2 {
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-section .hero .hinfo span.subtitle {
  font-size: 20px;
  font-weight: 400;
  opacity: 0.92;
}
.hero-section .hero .hinfo .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.hero-section .hero .hinfo .hero-buttons span {
  display: inline-block;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.4px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.hero-section .hero .hinfo .hero-buttons span:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  filter: brightness(1.08);
}
.hero-section .hero .hinfo .hero-buttons span a {
  display: block;
  padding: 13px 30px;
  color: #fff;
}
.hero-section .hero .hinfo .hero-buttons span.jobs-list {
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
}
.hero-section .hero .hinfo .hero-buttons span.jobs-posting {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

/* --- Page headers ------------------------------------------------------- */
.pages-header {
  background-size: cover;
  background-position: center;
  position: relative;
}
.pages-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 40, 0.6);
}
.pages-header .container {
  position: relative;
  z-index: 1;
}
.pages-header h2.page-title {
  font-size: 32px;
  font-weight: 800;
}

/* --- Buttons ------------------------------------------------------------ */
.hentry .readon,
.home-blog-entry .readon {
  border-radius: 30px;
  border: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.hentry .readon:hover,
.home-blog-entry .readon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* --- Section titles ----------------------------------------------------- */
.home-section .section-title {
  margin-bottom: 48px;
}
.home-section .section-title h2 {
  font-size: 32px;
  letter-spacing: -0.3px;
}
.home-section .section-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: var(--gander-primary, #41ade2);
}

/* --- Job listings: clean list rows (NOT cards) -------------------------- */
/* WPJM renders <div class="job_listings"><ul class="job_listings">…</ul></div>.
   Style the inner list as a card, and keep the outer div borderless so there
   is no double border. */
div.job_listings {
  border: none;
  background: transparent;
}
.home-section .unitbox .job_listings {
  border: none;
  background: transparent;
}
div.job_listings ul.job_listings,
.home-section .unitbox .job_listings ul.job_listings {
  border: 1px solid #e5e8eb;
  border-top: 1px solid #e5e8eb;
  border-radius: var(--gander-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--gander-shadow);
  margin: 0;
}
div.job_listings ul.job_listings > li.job_listing,
.home-section .unitbox .job_listings ul.job_listings > li.job_listing {
  border-bottom: 1px solid #edf0f2;
  background: #fff;
  transition: background 0.15s ease;
}
div.job_listings ul.job_listings > li.job_listing:nth-child(odd),
div.job_listings ul.job_listings > li.job_listing:nth-child(odd) :hover,
.home-section .unitbox .job_listings ul.job_listings > li.job_listing:nth-child(odd),
.home-section .unitbox .job_listings ul.job_listings > li.job_listing:nth-child(odd) :hover {
  background: #fff;
}
div.job_listings ul.job_listings > li.job_listing:hover,
.home-section .unitbox .job_listings ul.job_listings > li.job_listing:hover {
  background: #f7fafc;
}
ul.job_listings li.job_listing a {
  padding: 1.1em 1.4em;
}
ul.job_listings li.job_listing a img.company_logo {
  border-radius: 6px;
}
ul.job_listings li.job_listing a div.position h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1d2327;
}
ul.job_listings li.job_listing a div.position .company {
  color: #667;
}
ul.job_listings li.job_listing a div.location {
  color: #555;
  font-size: 0.95em;
}
ul.job_listings li.job_listing a .meta li.job-type {
  display: inline-block;
  padding: 3px 12px;
  margin-bottom: 4px;
  border-radius: 20px;
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  background: var(--gander-primary, #41ade2);
}
ul.job_listings li.job_listing a .meta li.job-type.full-time {
  background: #2e9e5b;
}
ul.job_listings li.job_listing a .meta li.job-type.part-time {
  background: #d98e2b;
}
ul.job_listings li.job_listing a .meta li.job-type.temporary {
  background: #c0556a;
}
ul.job_listings li.job_listing a .meta li.job-type.freelance {
  background: #3d7ab8;
}
ul.job_listings li.job_listing a .meta li.job-type.internship {
  background: #7a55c4;
}
ul.job_listings li.job_listing a .meta li.date {
  color: #889;
}
ul.job_listings li.job_listing.job_position_featured a {
  background: #fffdf4;
  border-left: 3px solid #e8b64c;
}

/* --- Feature widgets ---------------------------------------------------- */
.feature-section {
  background: #f6f8fa;
  border-bottom: none;
}
.feature-section .home-widget {
  background: #fff;
  border: 1px solid #e9edf0;
  border-radius: var(--gander-radius);
  padding: 28px 24px;
  box-shadow: var(--gander-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.feature-section .home-widget:hover {
  transform: translateY(-3px);
  box-shadow: var(--gander-shadow-lg);
}
.feature-section .widget_gander_widget i,
.feature-section .widget_gander_widget .gander-feature-icon {
  left: auto;
  top: auto;
  position: static;
  display: block;
  width: 30px;
  height: 30px;
  font-size: 30px;
  margin-bottom: 12px;
}
.feature-section .widget_gander_widget h1.home-widget-title {
  padding-left: 0;
  font-size: 18px;
}
.feature-section .widget_gander_widget p {
  padding-left: 0;
  margin-bottom: 0;
  font-size: 0.95em;
}

/* --- Stats band --------------------------------------------------------- */
.stats-section {
  padding: 56px 0;
  background: linear-gradient(135deg, #f6f8fb, #eef2f7);
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.06);
}
.stats-section span {
  letter-spacing: 0.6px;
}
.stats-section span.stat-count {
  font-size: 48px;
  margin-bottom: 6px;
}

/* --- Blog posts (modern cards, content always visible) ------------------ */
.posts-section .blog-box {
  background: #fff;
  border: 1px solid #e9edf0;
  border-radius: var(--gander-radius);
  overflow: hidden;
  box-shadow: var(--gander-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.posts-section .blog-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--gander-shadow-lg);
}
.posts-section .blog-box .blog-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
}
.posts-section .blog-box .blog-thumb.blog-thumb-fallback {
  display: block;
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  position: relative;
}
.posts-section .blog-box .blog-thumb.blog-thumb-fallback::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.85);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.posts-section .blog-box .home-blog {
  position: static;
  width: auto;
  height: auto;
  top: auto;
  left: auto;
  background: #fff;
  color: #444;
  display: block;
  padding: 20px 22px;
}
.posts-section .blog-box .home-blog h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
.posts-section .blog-box .home-blog h2 a {
  color: #1d2327;
}
.posts-section .blog-box .home-blog span {
  margin: 0 0 10px;
  font-size: 13px;
  color: #889;
}
.posts-section .blog-box .home-blog span a {
  color: #667;
}
.posts-section .blog-box .home-blog .home-blog-entry {
  padding: 0;
  font-size: 0.95em;
}
.posts-section .blog-box .home-blog .home-blog-entry .readon {
  margin: 14px 0 0;
}

/* --- Sidebar widgets ---------------------------------------------------- */
#secondary .widget h1.widget-title,
#secondary .squarebanner h3.sidetitl {
  font-size: 15px;
  padding-bottom: 10px;
}
#secondary .widget h1.widget-title::after,
#secondary .squarebanner h3.sidetitl::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--gander-primary, #41ade2);
}
#secondary .widget ul li {
  border-bottom: 1px solid #edf0f2;
}
#secondary .widget ul li a {
  text-decoration: none;
}

/* --- Footer ------------------------------------------------------------- */
#footer-widgets {
  padding: 56px 0 40px;
}
/* Flex footer: one widget fills the row, several share it evenly, mobile stacks. */
#footer-widgets .row {
  display: flex;
  flex-wrap: wrap;
}
/* Neutralize Bootstrap's clearfix pseudo-elements, which would otherwise
   become stray flex items inside the flex footer row. */
#footer-widgets .row:before,
#footer-widgets .row:after {
  display: none;
}
#footer-widgets .row > .widget {
  flex: 1 1 33.333%;
  min-width: 0;
}
@media (max-width: 991px) {
  #footer-widgets .row > .widget {
    flex: 1 1 100%;
  }
}
#footer-widgets .widget h1.widget-title {
  font-size: 15px;
  letter-spacing: 0.4px;
}
#footer-widgets .widget ul li a:link,
#footer-widgets .widget ul li a:visited {
  color: #b9b3c9;
  transition: color 0.15s ease;
}
#footer-widgets .widget ul li a:hover {
  color: #fff;
  padding-left: 2px;
}
.site-footer .site-info {
  font-size: 14px;
}

/* --- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Forms -------------------------------------------------------------- */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
select,
textarea {
  border-radius: 6px;
  border: 1px solid #ccd2d7;
  padding: 10px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  border-color: var(--gander-primary, #41ade2);
  box-shadow: 0 0 0 3px rgba(65, 173, 226, 0.18);
  outline: none;
}

/* --- Comments ----------------------------------------------------------- */
#comments ol.comment-list li .comment-body .comment-meta .avatar {
  border-radius: 50%;
}
#comments h2.comments-title,
#comments #respond h3 {
  border-bottom-color: var(--gander-primary, #41ade2);
}

/* --- Mobile menu (tinynav select) --------------------------------------- */
.tinynav {
  border-radius: 6px;
  border: 1px solid #ccd2d7;
  padding: 10px 12px;
  background: #fff;
  color: #333;
}



/* --- Modern layer: responsive + mobile-menu fixes (16 Aug 2026) --- */
@media screen and (max-width: 768px) {
    .tinynav {
        background: #fff;
        border: 1px solid #ccd2d7;
        border-radius: 6px;
        color: #333;
        padding: 10px 12px;
    }
}

@media screen and (max-width: 991px) {
    .hero-section .hero .hinfo h2 {
        font-size: 38px;
    }
    .hero-section .hero {
        padding: 60px 0;
    }
    .feature-section .home-widget {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    body.admin-bar .main-navigation {
        top: 46px;
    }
    .hero-section .hero .hinfo h2 {
        font-size: 30px;
    }
    .hero-section .hero .hinfo span.subtitle {
        font-size: 17px;
    }
    ul.job_listings li.job_listing a {
        padding: 1em;
    }
    .stats-section span.stat-count {
        font-size: 38px;
    }
    .posts-section .blog-box .blog-thumb {
        height: 140px;
    }
}

/* --- Sticky nav "Post a Job" button (UI only) --- */
.main-navigation li.gander-post-job {
  float: right;
  margin: 0;
}
.main-navigation ul li.gander-post-job > a {
  display: block;
  margin: 8px 0 8px 14px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.main-navigation ul li.gander-post-job > a:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* --- Featured listing ribbon --- */
ul.job_listings li.job_listing.job_position_featured {
  position: relative;
}
ul.job_listings li.job_listing.job_position_featured::after {
  content: "Featured";
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
  padding: 4px 12px;
  border-radius: 0 0 0 10px;
  background: linear-gradient(135deg, #f6c445, #e8a33d);
  color: #3b2f00;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- Premium featured rows (featured listings only) ---------------------- */
/* Full chain required: the base row rule (div.job_listings ul.job_listings > li.job_listing)
   outranks a shorter featured selector, which would keep the plain gray bottom border
   on featured rows. No box-shadow here: the list wrapper clips child shadows with
   overflow:hidden, which would leak a stray ring onto the row below. */
div.job_listings ul.job_listings > li.job_listing.job_position_featured,
.home-section .unitbox .job_listings ul.job_listings > li.job_listing.job_position_featured {
  background: transparent;
  border: 1px solid rgba(232, 179, 76, 0.45);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
div.job_listings ul.job_listings > li.job_listing.job_position_featured:hover,
.home-section .unitbox .job_listings ul.job_listings > li.job_listing.job_position_featured:hover {
  border-color: rgba(232, 179, 76, 0.8);
}
ul.job_listings li.job_listing.job_position_featured a {
  background: linear-gradient(120deg, rgba(255, 249, 235, 0.95), rgba(255, 253, 246, 0.85));
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #f6c445, #e8a33d) 1;
}
ul.job_listings li.job_listing.job_position_featured .position h3 {
  color: #6b4d0d;
}
ul.job_listings li.job_listing.job_position_featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, #f6c445, #e8a33d, #f6c445);
}

/* --- WPJM filter bar polish --- */
.job_filters {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* --- Mobile floating "Post a Job" button (UI only) --- */
.gander-mobile-cta {
  display: none;
}
@media screen and (max-width: 768px) {
  .gander-mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: fixed;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 9999;
    padding: 13px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #fff;
    background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  }
  .gander-mobile-cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  }
}


/* --- 2026 navigation redesign --------------------------------------- */
.main-navigation {
  display: flex;
  align-items: center;
  min-height: 54px;
  background: linear-gradient(90deg, var(--gander-secondary, #2d223d) 0%, #1b1526 100%);
}
.main-navigation .container {
  width: 100%;
}
.gander-menu-toggle {
  display: none;
}
@media screen and (min-width: 769px) {
  .main-navigation ul.menu {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .main-navigation ul.menu > li {
    float: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }
  .main-navigation ul.menu > li > a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.85);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }
  .main-navigation ul.menu > li > a:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }
  .main-navigation ul.menu > li.current-menu-item > a,
  .main-navigation ul.menu > li.current_page_item > a {
    background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }
  .main-navigation ul.menu li.menu-item-has-children > a {
    padding-right: 28px;
  }
  .main-navigation ul ul {
    top: 100%;
  }
  .main-navigation ul.menu li.gander-post-job {
    float: none;
    margin-left: auto;
  }
  .main-navigation ul.menu li.gander-post-job > a {
    min-height: auto;
    margin: 0 0 0 14px;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
    background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  }
  .main-navigation ul.menu li.gander-post-job > a:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
    background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
    color: #fff;
  }
}
@media screen and (max-width: 768px) {
  .gander-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    outline: none;
  }
  .gander-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .gander-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .gander-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .gander-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-navigation ul.menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 16px;
  }
  .main-navigation.gander-menu-open #gander {
    display: flex;
  }
  .main-navigation ul.menu > li > a {
    min-height: 46px;
    padding: 0 14px;
    border-radius: 10px;
  }
  .main-navigation ul.menu li.gander-post-job {
    margin-left: 0;
  }
  .main-navigation ul.menu li.gander-post-job > a {
    justify-content: center;
    margin: 10px 14px 0;
    padding: 11px 22px;
  }
}

/* --- Single job page: company card -------------------------------------- */
.single_job_listing .company {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(232, 179, 76, 0.5);
  border-radius: var(--gander-radius, 12px);
  background: linear-gradient(120deg, rgba(255, 249, 235, 0.97), rgba(255, 253, 246, 0.9));
  box-shadow: 0 0 0 1px rgba(246, 196, 69, 0.18), 0 6px 22px rgba(232, 163, 61, 0.16);
  padding: 20px 24px;
  margin: 0 0 24px;
  min-height: 0;
  flex-wrap: wrap;
  overflow: hidden;
}
/* Gold premium accent: gradient bar across the top, gradient strip down the left. */
.single_job_listing .company::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f6c445, #e8a33d, #f6c445);
}
.single_job_listing .company::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f6c445, #e8a33d);
}
.single_job_listing .company img {
  position: static;
  float: none;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  flex: 0 0 auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(232, 179, 76, 0.4);
}
.single_job_listing .company .company_header {
  flex: 1 1 auto;
  min-width: 200px;
}
.single_job_listing .company .name {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 17px;
  font-weight: 700;
  color: #6b4d0d;
}
.single_job_listing .company .name a.website {
  float: none;
  margin: 0 0 0 12px;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gander-primary, #41ade2);
  text-decoration: none;
}
.single_job_listing .company .name a.website:hover {
  text-decoration: underline;
}
.single_job_listing .company .tagline {
  margin: 4px 0 0;
  font-size: 14px;
  color: #667;
}

/* --- Single job page: apply button -------------------------------------- */
.single_job_listing .application .application_button {
  float: none;
  display: inline-block;
  margin: 0 0 20px;
  padding: 14px 34px;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.single_job_listing .application .application_button:hover,
.single_job_listing .application .application_button:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  filter: brightness(1.08);
}
.single_job_listing .application .application_details {
  border-radius: var(--gander-radius, 12px);
  box-shadow: var(--gander-shadow, 0 4px 14px rgba(0, 0, 0, 0.08));
}

/* --- Single job page: meta pills with icons ----------------------------- */
.single_job_listing .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.single_job_listing .meta li {
  float: none;
  margin: 0;
  padding: 6px 12px;
  line-height: 1.3;
  border-radius: 999px;
  background: #f1f4f7;
  color: #445;
  font-size: 13px;
  font-weight: 600;
}
.single_job_listing .meta li.job-type {
  color: #fff;
  background-color: #f08d3c;
}
.single_job_listing .meta li.full-time {
  background-color: #4caf50;
}
.single_job_listing .meta li.part-time {
  background-color: #ff9800;
}
.single_job_listing .meta li.temporary,
.single_job_listing .meta li.contract {
  background-color: #9c27b0;
}
.single_job_listing .meta li.freelance {
  background-color: #00acc1;
}
.single_job_listing .meta li.internship {
  background-color: #e91e63;
}
.single_job_listing .meta li.location::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}
.single_job_listing .meta li.date-posted::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
.single_job_listing .meta li.position-filled,
.single_job_listing .meta li.listing-expired {
  background: #fdecea;
  color: #c62828;
}

/* --- Gold premium: job description, meta pills, apply CTA ----------------- */
/* Job description: white card with gold accent, matching the company box. */
.single_job_listing .job_description {
  position: relative;
  border: 1px solid rgba(232, 179, 76, 0.4);
  border-radius: var(--gander-radius, 12px);
  background: #fff;
  padding: 24px 28px;
  margin: 0 0 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.single_job_listing .job_description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #f6c445, #e8a33d, #f6c445);
}
/* Neutral meta pills go gold; job-type pills keep their semantic colors.
   background-color (not a gradient image) so the colored type pills still win. */
.single_job_listing .meta li {
  background-color: #fff8e6;
  border: 1px solid rgba(232, 179, 76, 0.45);
  color: #6b4d0d;
}
/* Apply button: gold gradient, dark text — the page's star CTA. */
.single_job_listing .application .application_button {
  background: linear-gradient(135deg, #f6c445, #e8a33d);
  color: #3b2f00;
  box-shadow: 0 4px 16px rgba(232, 163, 61, 0.4);
}
.single_job_listing .application .application_button:hover,
.single_job_listing .application .application_button:focus {
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.5);
}
/* Application panel: white card, gold border. */
.single_job_listing .application .application_details {
  background: #fff;
  border: 1px solid rgba(232, 179, 76, 0.4);
}

/* --- Premium post header + content (normal posts only) ------------------- */
/* Scoped to .type-post so job-listing pages (same template, .type-job_listing)
   keep their own gold company box and stay untouched. */
.single-blog.type-post .entry-header {
  position: relative;
  margin: 0 0 24px;
  padding: 28px 30px 20px;
  border: 1px solid rgba(232, 179, 76, 0.5);
  border-radius: var(--gander-radius, 12px);
  background: linear-gradient(120deg, rgba(255, 249, 235, 0.97), rgba(255, 253, 246, 0.9));
  box-shadow: 0 0 0 1px rgba(246, 196, 69, 0.16), 0 6px 22px rgba(232, 163, 61, 0.14);
  overflow: hidden;
}
.single-blog.type-post .entry-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f6c445, #e8a33d, #f6c445);
}
.single-blog.type-post .entry-header h1.entry-title {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.3;
  color: #3b2f00;
}
.single-blog.type-post .entry-header .entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
}
.single-blog.type-post .entry-header .entry-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background-color: #fff8e6;
  border: 1px solid rgba(232, 179, 76, 0.45);
  color: #6b4d0d;
}
.single-blog.type-post .entry-header .entry-meta a {
  color: inherit;
  text-decoration: none;
}
.single-blog.type-post .entry-header .entry-meta a:hover {
  text-decoration: underline;
}
.single-blog.type-post .entry-header .entry-meta .post-by::before,
.single-blog.type-post .entry-header .entry-meta .post-cats::before,
.single-blog.type-post .entry-header .entry-meta .post-date::before {
  content: "";
  width: 13px;
  height: 13px;
  background: currentColor;
  -webkit-mask: center/contain no-repeat;
  mask: center/contain no-repeat;
}
.single-blog.type-post .entry-header .entry-meta .post-by::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.single-blog.type-post .entry-header .entry-meta .post-cats::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E");
}
.single-blog.type-post .entry-header .entry-meta .post-date::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
}
.single-blog.type-post .entry-content {
  background: #fff;
  border: 1px solid #e9edf0;
  border-radius: var(--gander-radius, 12px);
  padding: 26px 30px;
  box-shadow: var(--gander-shadow, 0 4px 14px rgba(0, 0, 0, 0.06));
}

/* --- Header search box --------------------------------------------------- */
#masthead .search-box {
  background: #fff;
  border-top: 1px solid #e9edf0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
#masthead .search-box .search-form {
  position: relative;
  max-width: 640px;
  margin: 14px auto;
}
#masthead .search-box .search-form input.search-field {
  width: 100%;
  height: 48px;
  padding: 0 92px 0 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  color: #333;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#masthead .search-box .search-form input.search-field:focus {
  outline: none;
  border-color: var(--gander-primary, #41ade2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gander-primary, #41ade2) 25%, transparent);
}
#masthead .search-box .search-form .search-submit {
  display: block;
  position: absolute;
  right: 4px;
  top: 4px;
  height: 40px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  color: #fff;
  cursor: pointer;
  transition: filter 0.15s ease;
}
#masthead .search-box .search-form .search-submit:hover {
  filter: brightness(1.08);
}

/* --- Stats section: icon cards ------------------------------------------- */
.stats-section .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.stats-section .col-md-4 {
  float: none;
  width: auto;
  flex: 1 1 200px;
  background: #fff;
  border: 1px solid #e9edf0;
  border-radius: var(--gander-radius, 12px);
  box-shadow: var(--gander-shadow, 0 4px 14px rgba(0, 0, 0, 0.08));
  padding: 26px 20px;
  text-align: center;
  position: relative;
}
.stats-section .col-md-4::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  background: var(--gander-primary, #41ade2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='7' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='14' x='2' y='7' rx='2'/%3E%3Cpath d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/%3E%3C/svg%3E") center/contain no-repeat;
}
.stats-section .col-md-4:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='m9 11 3 3L22 4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.stats-section .col-md-4:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M16 13H8'/%3E%3Cpath d='M16 17H8'/%3E%3C/svg%3E") center/contain no-repeat;
}
.stats-section span.stat-count {
  font-size: 44px;
  font-weight: 800;
  color: #1d2327;
  display: block;
}
.stats-section .col-md-4 > span:last-child,
.stats-section .col-md-4 > a > span:last-child {
  font-size: 13px;
  letter-spacing: 0.4px;
  color: #667;
  text-transform: uppercase;
}
.stats-section .col-md-4 > a {
  transition: transform 0.15s ease;
}
.stats-section .col-md-4 > a:hover {
  transform: translateY(-2px);
}

/* --- Pagination: pill buttons --------------------------------------------- */
.job-manager-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.job-manager-pagination ul li {
  margin: 0;
}
.job-manager-pagination ul li a,
.job-manager-pagination ul li span.current {
  display: inline-block;
  min-width: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #445;
  background: #f1f4f7;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.job-manager-pagination ul li a:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}
.job-manager-pagination ul li span.current {
  color: #fff;
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}
.job-manager-pagination ul li span.gap {
  padding: 9px 6px;
  color: #889;
}

/* --- Display Posts (external jobs list) --------------------------------- */
/* The page embeds [display-posts] wrapped in <strong> inside an indented
   <p>. Neutralize both so the cards lay out cleanly. */
.entry-content p:has(.display-posts-listing) {
  padding-left: 0 !important;
}
.display-posts-listing {
  font-weight: normal;
}
.display-posts-listing .listing-item {
  display: block;
  margin-bottom: 12px;
  padding: 16px 20px;
  border: 1px solid #e9edf0;
  border-radius: var(--gander-radius, 12px);
  background: #fff;
  box-shadow: var(--gander-shadow, 0 2px 8px rgba(0, 0, 0, 0.06));
  text-transform: none;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.display-posts-listing .listing-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--gander-shadow-lg, 0 10px 24px rgba(0, 0, 0, 0.12));
  border-color: var(--gander-primary, #41ade2);
}
.display-posts-listing .listing-item a.title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #1d2327;
  text-transform: none;
  text-decoration: none;
}
.display-posts-listing .listing-item a.title:hover,
.display-posts-listing .listing-item a.title:focus {
  color: var(--gander-primary, #41ade2);
  text-decoration: underline;
}
.display-posts-listing .listing-item .date {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #889;
  text-transform: none;
}
.display-posts-listing .listing-item .date::before {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-right: 6px;
  vertical-align: -2px;
  background: var(--gander-primary, #41ade2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='4' rx='2'/%3E%3Cpath d='M16 2v4'/%3E%3Cpath d='M8 2v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E") center/contain no-repeat;
}
@media (max-width: 767px) {
  .display-posts-listing .listing-item {
    padding: 14px 16px;
  }
  .display-posts-listing .listing-item a.title {
    font-size: 15px;
  }
  /* Premium post pages: tighter cards on phones. */
  .single-blog.type-post .entry-header {
    padding: 20px 18px 14px;
    margin-bottom: 16px;
  }
  .single-blog.type-post .entry-header h1.entry-title {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .single-blog.type-post .entry-header .entry-meta span {
    padding: 4px 10px;
    font-size: 12px;
  }
  .single-blog.type-post .entry-content {
    padding: 20px 18px;
  }
  /* Premium job pages: match the tighter cards. */
  .single_job_listing .company {
    padding: 16px 14px;
    gap: 14px;
  }
  .single_job_listing .company img {
    width: 52px;
    height: 52px;
  }
  .single_job_listing .job_description {
    padding: 18px 16px;
  }
  /* Mobile header: logo and Log in/Search share one tight row. */
  #masthead {
    padding: 8px 0;
  }
  #masthead > .container > .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
  }
  /* Neutralize Bootstrap's clearfix pseudo-elements — they'd otherwise
     become stray flex items inside this row (same fix as the footer). */
  #masthead > .container > .row:before,
  #masthead > .container > .row:after {
    display: none;
  }
  #masthead > .container > .row > div {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
  }
  #masthead h1.site-title {
    margin: 2px 0;
    font-size: 20px;
  }
  #masthead h1.site-title.logo img {
    max-height: 38px;
    max-width: 100%;
    height: auto;
    width: auto;
  }
  #masthead .headright {
    margin: 2px 0;
  }
  #masthead .headright ul {
    margin: 0;
    text-align: right;
    white-space: nowrap;
  }
  #masthead .headright ul li {
    margin: 2px 4px;
  }
  #masthead .headright a,
  #masthead .headright li.search-open {
    padding: 4px 8px;
  }
  /* Hero: center the title and the Show Jobs / Submit buttons on mobile. */
  .hero-section .hero .hinfo {
    text-align: center;
  }
  .hero-section .hero .hinfo .hero-buttons {
    justify-content: center;
  }
}

/* --- Combined responsive header ------------------------------------------ */
#masthead.site-header--combined {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #e5e8eb;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.07), 0 4px 18px rgba(0, 0, 0, 0.06);
}
body.admin-bar #masthead.site-header--combined { top: 32px; }
#masthead.site-header--combined > .container { width: 100%; }
#masthead.site-header--combined .gander-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
}
#masthead.site-header--combined .site-branding {
  order: 1;
  flex: 0 0 auto;
  min-width: 0;
}
#masthead.site-header--combined h1.site-title.logo {
  margin: 0;
  padding: 0;
  line-height: 0;
}
#masthead.site-header--combined h1.site-title.logo a {
  display: block;
  line-height: 0;
  color: var(--gander-secondary, #2d223d);
  text-decoration: none;
}
#masthead.site-header--combined h1.site-title.logo img {
  display: block;
  max-width: 220px;
  max-height: 52px;
  width: auto;
  height: auto;
}
#masthead.site-header--combined .main-navigation {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  position: static;
  top: auto;
  z-index: auto;
  display: block;
  min-height: 0;
  clear: none;
  background: none;
  box-shadow: none;
}
#masthead.site-header--combined .main-navigation > div { width: 100%; }
#masthead.site-header--combined .main-navigation ul.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 2px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
#masthead.site-header--combined .main-navigation ul.menu > li {
  float: none;
  flex: 0 0 auto;
  position: relative;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
#masthead.site-header--combined .main-navigation ul.menu > li > a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 8px;
  color: #55505e;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
#masthead.site-header--combined .main-navigation ul.menu > li > a:hover,
#masthead.site-header--combined .main-navigation ul.menu > li:hover > a,
#masthead.site-header--combined .main-navigation ul.menu > li > a:focus {
  background: rgba(45, 34, 61, 0.08);
  color: var(--gander-secondary, #2d223d);
}
#masthead.site-header--combined .main-navigation ul.menu > li.current-menu-item > a,
#masthead.site-header--combined .main-navigation ul.menu > li.current_page_item > a {
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  color: #fff;
}
#masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > a { padding-right: 28px; }
#masthead.site-header--combined .main-navigation ul ul {
  top: 100%;
  left: 0;
  border-radius: 0 0 8px 8px;
  background: var(--gander-secondary, #2d223d);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16);
}
#masthead.site-header--combined .main-navigation ul ul a {
  width: 200px;
  color: #eee;
}
#masthead.site-header--combined .main-navigation ul ul a:hover,
#masthead.site-header--combined .main-navigation ul ul a:focus { color: #fff; background: rgba(255, 255, 255, 0.1); }
#masthead.site-header--combined .main-navigation ul.menu li.gander-post-job { float: none; margin-left: 8px; }
#masthead.site-header--combined .main-navigation ul.menu li.gander-post-job > a {
  min-height: auto;
  margin: 0;
  padding: 10px 16px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--gander-primary, #41ade2), var(--gander-secondary, #2d223d));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
#masthead.site-header--combined .main-navigation ul.menu li.gander-post-job > a:hover,
#masthead.site-header--combined .main-navigation ul.menu li.gander-post-job > a:focus {
  color: #fff;
  filter: brightness(1.08);
}
#masthead.site-header--combined .headright {
  order: 3;
  flex: 0 0 auto;
  float: none;
  margin: 0;
}
#masthead.site-header--combined .headright ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#masthead.site-header--combined .headright ul li { display: block; margin: 0; font-size: 14px; }
#masthead.site-header--combined .headright a,
#masthead.site-header--combined .headright .search-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #55505e;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
#masthead.site-header--combined .headright a:hover,
#masthead.site-header--combined .headright a:focus,
#masthead.site-header--combined .headright .search-open:hover,
#masthead.site-header--combined .headright .search-open:focus {
  background: rgba(45, 34, 61, 0.08);
  color: var(--gander-secondary, #2d223d);
}
#masthead.site-header--combined a:focus,
#masthead.site-header--combined button:focus {
  outline: 2px solid var(--gander-primary, #41ade2);
  outline-offset: 2px;
}
#masthead.site-header--combined .gander-menu-toggle {
  display: none;
  order: 4;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
#masthead.site-header--combined .gander-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  flex: 0 0 2px;
  margin: 3px 0;
  border-radius: 2px;
  background: var(--gander-secondary, #2d223d);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#masthead.site-header--combined .gander-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#masthead.site-header--combined .gander-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#masthead.site-header--combined .gander-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#masthead.site-header--combined .main-navigation .gander-submenu-toggle { display: none; }
#masthead.site-header--combined .search-box .close-button {
  position: absolute;
  right: 20px;
  top: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  #masthead.site-header--combined .gander-bar-inner {
    flex-wrap: wrap;
    padding: 6px 0;
  }
  #masthead.site-header--combined .headright { margin-left: auto; }
  #masthead.site-header--combined .main-navigation {
    order: 4;
    flex: 0 0 100%;
  }
  #masthead.site-header--combined .main-navigation ul.menu {
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px 0 6px;
  }
  #masthead.site-header--combined .main-navigation ul.menu > li > a {
    min-height: 40px;
    padding: 0 9px;
  }
}

@media screen and (max-width: 767px) {
  body.admin-bar #masthead.site-header--combined { top: 46px; }
  #masthead.site-header--combined .gander-bar-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "branding actions menu" "navigation navigation navigation";
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 6px 0;
  }
  #masthead.site-header--combined .site-branding {
    grid-area: branding;
    min-width: 0;
    max-width: 100%;
    order: initial;
  }
  #masthead.site-header--combined h1.site-title.logo,
  #masthead.site-header--combined h1.site-title.logo a {
    min-width: 0;
    max-width: 100%;
  }
  #masthead.site-header--combined h1.site-title.logo img {
    display: block;
    width: 100%;
    max-width: 170px;
    max-height: 40px;
    height: auto;
  }
  #masthead.site-header--combined .headright {
    grid-area: actions;
    min-width: 0;
    max-width: 100%;
    margin-left: 0;
    order: initial;
    justify-self: end;
  }
  #masthead.site-header--combined .headright ul {
    min-width: 0;
    max-width: 100%;
    gap: 2px;
  }
  #masthead.site-header--combined .headright a,
  #masthead.site-header--combined .headright .search-open {
    min-height: 40px;
    padding: 0 7px;
    white-space: nowrap;
  }
  #masthead.site-header--combined .gander-menu-toggle {
    grid-area: menu;
    display: inline-flex;
    flex: 0 0 44px;
    flex-direction: column;
    justify-content: center;
    order: initial;
    justify-self: end;
  }
  #masthead.site-header--combined .main-navigation {
    grid-area: navigation;
    width: 100%;
    min-width: 0;
    order: initial;
    flex: none;
  }
  #masthead.site-header--combined .main-navigation ul.menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    padding: 4px 0 12px;
  }
  #masthead.site-header--combined .main-navigation.gander-menu-open ul.menu { display: flex; }
  #masthead.site-header--combined .main-navigation ul.menu > li {
    float: none;
    width: 100%;
    min-width: 0;
  }
  #masthead.site-header--combined .main-navigation ul.menu > li > a {
    min-height: 44px;
    padding: 0 12px;
    border-radius: 8px;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.gander-post-job { margin-left: 0; }
  #masthead.site-header--combined .main-navigation ul.menu li.gander-post-job > a {
    justify-content: center;
    margin: 10px 12px 0;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: start;
    min-width: 0;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > a {
    grid-column: 1;
    min-width: 0;
  }
  #masthead.site-header--combined .main-navigation .gander-submenu-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: inherit;
    background: transparent;
    cursor: pointer;
  }
  #masthead.site-header--combined .main-navigation .gander-submenu-toggle::before {
    content: "+";
    font-size: 24px;
    line-height: 1;
  }
  #masthead.site-header--combined .main-navigation .gander-submenu-toggle[aria-expanded="true"]::before {
    content: "−";
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > ul.sub-menu {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
    display: none;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children.gander-submenu-open > ul.sub-menu {
    display: block;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > ul.sub-menu > li {
    float: none;
    width: 100%;
    min-width: 0;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > ul.sub-menu a {
    display: block;
    width: auto;
    min-width: 0;
    padding: 10px 14px 10px 26px;
    color: #55505e;
    white-space: normal;
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > ul.sub-menu a:hover,
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > ul.sub-menu a:focus {
    color: var(--gander-secondary, #2d223d);
    background: rgba(45, 34, 61, 0.08);
  }
  #masthead.site-header--combined .main-navigation ul.menu li.menu-item-has-children > ul.sub-menu li.menu-item-has-children > ul.sub-menu a {
    padding-left: 40px;
  }
}

@media screen and (max-width: 360px) {
  #masthead.site-header--combined .headright .search-open {
    width: 40px;
    min-width: 40px;
    padding: 0;
  }
  #masthead.site-header--combined .headright .search-open span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
