/*
Theme Name: WPNOVA - Job Board WordPress Theme
Theme URI: https://example.com/wpnova
Author: Your Company
Author URI: https://example.com
Description: A job board WordPress theme designed to work with WPNOVA Plugin or WP Job Manager. Starter theme scaffold.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpnova-job-board-wordpress-theme
Domain Path: /languages
Tags: custom-logo, theme-options, featured-images, translation-ready
Copyright: Copyright (C) 2025 WPNOVA. All rights reserved.
*/

body { margin:0; padding:0;font-size: 1.1em!important;
overflow-x: hidden; }
.site-header { padding:20px; display:flex; justify-content:space-between; align-items:center; }
.site-branding img { max-height:60px; }
#hero { padding:0px 0px!important; text-align:center; }
.container { max-width:1170px; margin:0 auto; padding:0 15px; }
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1170px!important;
    }
}
.section { padding:80px 0!important; }
#featured_companies { padding: 0px 0!important; }
.footer-widgets ul {list-style-type: none;padding:0; margin:0;}

/* Keep flex container but force exact widths */
.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;   /* vertical spacing only */
  column-gap: 0;   /* no horizontal gap */
}
.bg-dark {
    background: rgba(var(--primary_rgb), 0.08)!important;
    border-color: rgba(var(--primary_rgb), 0.12)!important;
    color: rgba(var(--primary_rgb), 0.9)!important;
}
.footer-widgets .widget { flex: 0 0 auto; }
.footer-widget h5 {padding-bottom:8px; margin-bottom:12px; }


/* Map to 12-column percentages on >=768px */
@media (min-width: 768px) {
  .footer-widgets .col-md-4 { width: 33.3333%; }
  .footer-widgets .col-md-2 { width: 16.6667%; }
  .footer-widgets .col-md-3 { width: 25%; }
}
@media (max-width: 767px) {
  .footer-widgets .col-md-4,
  .footer-widgets .col-md-2,
  .footer-widgets .col-md-3 {
    width: 100%;
  }
}

.site-footer h4 { font-size:2rem!important; }
.testimonial-carousel { display:flex; gap:15px; overflow:hidden; }
.wp-block-pages-list__item a, .wp-block-latest-posts__list li a {
    line-height: 30px;
    font-size: 16px;
 }
 label {
    margin-bottom: 8px;
 }
 h1.entry-title {
    font-size: 2rem;
    font-weight: 700;
 }

.jobboard-category-card__icon img {
width: 32px;
    height: 32px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 8px auto;
}
.jobboard-job-categories__item  {
    text-align: center;
    margin-bottom: 30px;
}
/* .jobboard-job-categories__item span  {
display: block;
} */


 /* .nav-link, .menu-item a:nth-child(1) {
    color:#fff!important;
 } */
  .nav-link {
color: var(--link_color)!important;
  }
 #menu-menu-1 { align-items: center;}

.text-bg-secondary {
    background: rgba(var(--primary_rgb), 0.08)!important;
    border-color: rgba(var(--primary_rgb), 0.12)!important;
    color: rgba(var(--primary_rgb), 0.9)!important;
}
/* Basic responsive */
@media (max-width:768px) {
  .footer-widgets { flex-direction:column; }
  .site-header { flex-direction:column; gap:10px; align-items:flex-start; }
  .hero-inner {
  position: relative;
  z-index: 2;
  padding: 3rem 16px!important; /* adjust to your layout */
}
}
.jobboard-latest-jobs__list, .jobboard-featured-jobs__list, .jobboard-job-categories__list { list-style:none; padding:0; margin:0; }
.widget .widget-title { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.card .card-body .list-unstyled a { color: #0d6efd; text-decoration: none; }
.card .card-body .list-unstyled a:hover { text-decoration: underline; }
#blog .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#blog .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#blog .card-body .card-text {
    flex-grow: 1;
}

#blog .card-body .btn {
    margin-top: auto;
}
.btn-primary, .btn-secondary {
    white-space: nowrap;
}
.btn {border-width: 2px;}
a { text-decoration: none!important; }
a:hover { text-decoration: underline!important; }

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-subtext {
    font-size: 1.125rem;
}

/* ============================================
   WordPress Comment Form – Clean Modern Styling
   ============================================ */

/* Comment section wrapper */
.comment-respond {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e4e4e4;
    margin-top: 40px;
}

/* Heading */
.comment-respond .comment-reply-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Labels */
.comment-respond label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

/* Textarea + input fields */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    background: #fff;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color .2s ease, box-shadow .2s ease;
}

/* Focus state */
.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus,
.comment-respond textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13,110,253,.2);
    outline: none;
}

/* Textarea height */
.comment-respond textarea {
    min-height: 150px;
    resize: vertical;
}

/* Submit button */
.comment-respond input[type="submit"],
.comment-respond .submit {
 background: var(--primary_bg);
 border-color: var(--primary_border);
    color: var(--primary_text);
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease;
}
.search-submit {
background: var(--primary_bg);
border-color: var(--primary_border);
color: var(--primary_text);
}
.comment-respond input[type="submit"]:hover,
.comment-respond .submit:hover {
    background: #0a58ca;
}

/* Small checkbox under form (Save my name...) */
.comment-form-cookies-consent {
    margin-top: 12px;
    font-size: 14px;
}
.comment-form-cookies-consent input {
    margin-right: 6px;
}

/* Comment list (if comments appear after approval) */
.comment-list .comment {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ececec;
}
.comment-list .comment .comment-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #777;
}
.comment-list .comment .comment-author {
    font-weight: 600;
}
.comment-list .comment .comment-content {
    margin-top: 8px;
}

/* Replies indent */
.comment-list .children {
    margin-left: 40px;
    margin-top: 20px;
    border-left: 2px solid #e8e8e8;
    padding-left: 20px;
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .comment-respond {
        padding: 20px;
    }
    .comment-respond .comment-reply-title {
        font-size: 1.25rem;
    }
}

/* Customizer sortable UI look */
.wpnova-order-wrapper {
    margin-top: 10px;
}
.wpnova-order-list {
    padding: 0;
}
.wpnova-order-item {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    padding: 8px 10px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.wpnova-order-handle {
    font-size: 16px;
    color: #666;
}
.wpnova-order-label {
    font-weight: 600;
}
.wpnova-order-badge {
    opacity: .75;
    font-size: 11px;
    padding: .35rem .5rem;
}
.wpnova-sortable-placeholder {
    background: #f8f9fa;
    border: 1px dashed #ddd;
    height: 44px;
    margin-bottom: 8px;
}

/* Hero background wrappers */
.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
  /* min-height: 500px; */
}

/* The container holding the video (positioned behind content) */
.hero-video-wrap,
.hero-bg-image {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* background image */
.hero-bg-image {
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

/* video element */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* keep full coverage */
  object-position: top;    /* align video from TOP */
  z-index: 0;
}

/* a semi-transparent overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* content sits above background */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 9rem 16px; /* adjust to your layout */
}

/* Job Card */
.jobboard-job-card, .card, .accordion-header {
border: 1px solid #dfdfdf;
box-shadow: 0 1px 2px 0 rgba(58, 57, 68, 0.2);
  border-radius: 14px;
}
.accordion-item:first-of-type {
    border-radius: 14px;
}
.accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: 14px;
}
.accordion-item:not(:first-of-type) {
    border-radius: 14px;
}
.accordion-button {
    border-radius: 14px;
}
.card {
    border-radius: 16px;
  }
.bg-light {
    background: rgba(var(--primary_rgb), 0.08)!important;
    border-color: rgba(var(--primary_rgb), 0.12);    
}

/* WordPress Core Recommended Classes */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5em;
    text-align: center;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    margin-top: 0.5em;
}

.gallery-caption {
    font-size: 14px;
    color: #666;
}

.bypostauthor {
    font-weight: bold;
}

.alignright {
    float: right;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.alignleft {
    float: left;
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

/* Screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px;
    background: #f1f1f1;
    color: #21759b;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0,0,0,0.6);
    clip: auto;
}

/* Button - outline */
.is-style-wpnova-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid currentColor;
    padding: .6rem 1.1rem;
    text-decoration: none;
    display: inline-block;
}

/* Button - large */
.is-style-wpnova-large .wp-block-button__link {
    padding: .95rem 1.4rem;
    font-size: 1.05rem;
    border-radius: 6px;
}

/* Image - rounded */
.is-style-wpnova-rounded img {
    border-radius: 12px;
    display: block;
    max-width: 100%;
    height: auto;
}

/* Full-width line wrapper for footer menu */
.footer-menu-fullwrap {
  width: 100%;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  padding: 12px 0;
  background: #e7e7e7;
  box-sizing: border-box;
}

/* Footer menu list */
.footer-bottom-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* Footer menu items */
.footer-bottom-menu li {
  display: inline-block;
  margin: 0 12px;
  padding: 0;
}

/* Separator */
.footer-bottom-menu li + li::before {
  content: "|";
  color: #cfcfcf;
  margin-right: 12px;
}

/* Links */
.footer-bottom-menu a {
  color: inherit;
  text-decoration: none;
  opacity: 0.95;
}

.footer-bottom-menu a:hover {
  opacity: 1;
  text-decoration: underline;
}


/* Responsive */
@media (max-width: 575px) {
  .footer-menu-fullwrap { padding: 10px 0; margin-bottom: 12px; }
  .footer-bottom-menu li { margin: 6px 8px; font-size: 14px; }
  .footer-bottom-menu li + li::before { margin-right: 8px; }
}

/* Ensure Bootstrap Icons show correctly in the footer (and elsewhere) */
/* Footer social icons */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;     /* small spacing between icons */
  text-decoration: none; 
  color: inherit;        /* use theme text color */
}

.footer-social-link .bi {
  font-size: 18px;       /* icon size */
  line-height: 1;
}

/* Hover effect */
.footer-social-link:hover .bi {
  opacity: 0.8;
}

.footer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
}

#menu-footer-menu > li:nth-last-child(-n+2) {
  display: none;
}
/* Hide specific pages ONLY inside the footer widget */
.wp-block-pages-list__item__link[href*="jobboard-resume-manager"],
.wp-block-pages-list__item__link[href*="resumes"],
.wp-block-pages-list__item__link[href*="resume-search"],
.wp-block-pages-list__item__link[href*="resume_search"],
.wp-block-pages-list__item__link[href*="logout"],
.wp-block-pages-list__item__link[href*="submit_resume_form"] {
    display: none !important;
}

/* --------------------------
   Minimal Contact Form 7 CSS
   -------------------------- */

/* Form container */
.wpcf7 {
  max-width: 760px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Form rows: use block layout so inputs stack nicely on mobile */
.wpcf7 p {
  margin: 0 0 12px;
}

/* Labels (if you use <label>) */
.wpcf7 label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
}

/* Inputs and textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea,
.wpcf7 .wpcf7-form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  font-size: 0.95rem;
  transition: border-color .12s ease, box-shadow .12s ease;
}

/* Focus state */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #6c8ef5;
  box-shadow: 0 0 0 3px rgba(108,142,245,0.07);
}

/* Textarea height */
.wpcf7 textarea {
  min-height: 140px;
  resize: vertical;
}

/* Submit button */
.wpcf7 .wpcf7-submit {
  display: inline-block;
  padding: 10px 18px;
  border: 0;
  border-radius: 8px;
 background: var(--primary_bg);
 border-color: var(--primary_border);
    color: var(--primary_text);
  font-weight: 600;
  cursor: pointer;
  transition: opacity .12s ease, transform .08s ease;
}

/* Button hover / active */
.wpcf7 .wpcf7-submit:hover { opacity: .95; transform: translateY(-1px); }
.wpcf7 .wpcf7-submit:active { transform: translateY(0); }

/* Response messages (success/error) */
.wpcf7 .wpcf7-response-output {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 500;
  display: none; /* shown by CF7 when needed */
}

/* Success */
.wpcf7 .wpcf7-mail-sent-ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  display: block;
}

/* Error */
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-failed {
  background: #fff7f7;
  border: 1px solid #f5c2c7;
  color: #9b1c1c;
  display: block;
}

.job-type, .jobboard-status {
    padding: 0rem!important;
}
/* Small screens: full-width layout already handled, but reduce max-width */
@media (max-width: 575px) {
  .wpcf7 { padding: 0 16px; max-width: 100%; }
  .wpcf7 .wpcf7-submit { width: 100%; text-align: center; }
}

/* MOBILE HEADER: keep header row & make bootstrap collapse an overlay */
@media (max-width: 768px) {

  /* Keep header items on one row so logo doesn't move when menu toggles */
  .site-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    position: relative; /* anchor for absolute nav overlay */
    padding: 10px 12px;
  }

  /* Ensure inner container keeps items in one row */
  .site-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
  }

  .site-branding {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  /* Toggler should be on the right, above nav overlay */
  .navbar-toggler {
    flex: 0 0 auto;
    margin-left: 12px;
    z-index: 1500;
  }
  .navbar-toggler .navbar-toggler-icon {
    /* ensure visible icon (depends on bootstrap icon rules) */
    width: 30px;
    height: 30px;
    background-size: 22px 22px;
  }

  /* Make collapse nav an absolute overlay below the header */
  .navbar .navbar-collapse {
        position: absolute;
        top: 100%;
        left: inherit;
        right: -12px;
        background: #fff;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        display: none;
        z-index: 1400;
        padding: 10px 12px;
        box-sizing: border-box;
        width: max-content;
  }

  /* When bootstrap toggles, .show is added — use it to reveal overlay */
  .navbar .navbar-collapse.show {
    display: block;
  }

  /* Inside the overlay, menu items stack vertically and do not affect header layout */
  .navbar .navbar-nav {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .navbar .navbar-nav .nav-item {
    display: block;
    width: 100%;
  }
  .navbar .navbar-nav .nav-link {
    display: block;
    padding: 10px 6px;
    border-bottom: 1px solid #f0f0f0;
  }
  .navbar .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  /* Keep logo size sane */
  .site-branding img {
    max-height: 36px;
  }
}


/* Mobile Phones (portrait) */
@media (max-width: 575.98px) {
    /* Your mobile CSS here */
    .jobboard-job-card__body {
      display: block!important;
    }
    .jobboard-job-card__logo {
      margin-right:0px!important;
      margin-bottom: 10px;
    }
    .section {
    padding: 40px 0 !important;
}
.section-heading {
    font-size: 2rem;
}
.carousel-inner .d-flex {
  display: block !important; 
}
.carousel-inner .border-1 {
  margin-bottom: 0px!important;
}
.testimonial-avatar img {
  margin-bottom: 10px;
}
#faqs .btn-secondary {
  width: 100%;
}
.faqs-view-more {
  margin-top: 25px!important;
}
#testimonials .btn-secondary {
  width: 100%;
}
.testimonials-view-more {
  margin-top: 25px!important;
}
.social-icons-footer {
  text-align: center!important;
  margin-top:15px;
}
.copyright-footer {
  text-align: center!important;
}
.footer-social-link:last-child {
    margin-right: 0 !important;
}
.jobboard-home-filter__input {
  margin-bottom: 10px;
}
.job-card-header.card-body.d-flex {
        display: block !important;
  }
  .job-meta.my-2.d-flex {
        display: block !important;
    }
.job-description {
  display: none;
}
.job-item .btn-primary {
  width: 100%;
  margin-top: 10px;
}
.job-item-detail .btn-primary {
  width: 100%;
  margin-top: 10px;
}
.job-item-detail .d-flex {
display: block !important;
}
.job-item-detail .gap-5 {
  gap: 0px !important;
}
.job-item-detail .ms-3 {
    margin-left: 0rem !important;
    text-align: end;
}
.job-item-detail .ms-3 .jobboard-save-heart-btn {
    margin-top: 1rem !important;
    font-size: larger!important;
}
.site-footer h4 {
    font-size: 1.5rem !important;
}
.jobboard-job-card__type, .ms-3 {
    margin-left: 0rem !important;
}
.g-5, .gx-5 {
    --bs-gutter-x: 0rem;
}
.website-details svg {display: none;}
.website-details, .small {overflow-wrap: anywhere;}
.dashboard-header, .d-flex {display: block!important;}
.dashboard-header, .btn-primary {margin:15px 0px;width: 100%;}
.dashboard-item, .item-actions {margin-top:15px;}
.item-actions, .btn-secondary {width:100%;margin-top:15px;}
.mb-0 fw-semibold text-truncate
.candidate-application, h6 {margin-top: 5px;}
h1.entry-title {
    font-size: 1.5rem;
}
.jobboard-flex {
    display: block !important;
}
.job-meta span {display: block;}
h5.resume-title {margin-top:10px;}
.repeatable-group .group-row {display: block;}
.repeatable-group .group-row input {margin-bottom:8px;}
.custom-header .d-flex {
    display: flex!important;
  }
      .jobboard-dropdown-menu .sub-menu {
        position: static;
        box-shadow: none;
        margin-left: 0;
    }
}



/* Large Mobile Phones */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Your large mobile CSS */
      .jobboard-job-card__body {
      display: block!important;
    }
    .jobboard-job-card__logo {
      margin-right:0px!important;
      margin-bottom: 10px;
    }
    .section {
    padding: 40px 0 !important;
}
.section-heading {
    font-size: 2rem;
}
.carousel-inner .d-flex {
  display: block !important; 
}
.carousel-inner .border-1 {
  margin-bottom: 0px!important;
}

.testimonial-avatar img {
  margin-bottom: 10px;
}
#faqs .btn-secondary {
  width: 100%;
}
.faqs-view-more {
  margin-top: 25px!important;
}
#testimonials .btn-secondary {
  width: 100%;
}
.testimonials-view-more {
  margin-top: 25px!important;
}
.social-icons-footer {
  text-align: center!important;
  margin-top:15px;
}
.copyright-footer {
  text-align: center!important;
}
.footer-social-link:last-child {
    margin-right: 0 !important;
}
.jobboard-home-filter__input {
  margin-bottom: 10px;
}
.job-card-header.card-body.d-flex {
        display: block !important;
  }
  .job-meta.my-2.d-flex {
        display: block !important;
    }
.job-description {
  display: none;
}
.job-item .btn-primary {
  width: 100%;
  margin-top: 10px;
}
.job-item-detail .d-flex {
display: block !important;
}
.job-item-detail .gap-5 {
  gap: 0px !important;
}
.job-item-detail .ms-3 {
    margin-left: 0rem !important;
    text-align: end;
}
.job-item-detail .ms-3 .jobboard-save-heart-btn {
    margin-top: 1rem !important;
    font-size: larger!important;
}
.site-footer h4 {
    font-size: 1.5rem !important;
}
.jobboard-job-card__type .ms-3 {
  margin-left: 0rem !important;
}
.g-5, .gx-5 {
    --bs-gutter-x: 0rem;
}

}

/* Small Laptops */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Your laptop CSS */
    
}