/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* Override Single Post */
.single-job-opening #header-outer #top nav > ul > li#menu-item-25 > a {
  color: #8FC31F !important;
}
.job-opening #section-hero:before {
  content: '';
  background: url(https://wordpress-1497349-5721485.cloudwaysapps.com/wp-content/uploads/2025/04/hero-sss.svg) no-repeat;
  background-size: contain;
  z-index: 11;
  position: absolute;
  top: -120px;
  right: -120px;
  width: 308px;
  height: 566px;
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  display: block;
}
.job-opening .heading-title.hentry {
  padding-bottom: 0 !important;
  margin-bottom: 20px;
}
.job-opening .section-title.blog-title {
  margin-bottom: 0 !important;
}
.job-opening .section-title.blog-title .entry-title {
  text-align: left;
  margin-bottom: 0 !important;
}

.job-opening .post-area {
  margin-bottom: 108px !important;
}

.job-opening .job-row {
  display: flex;
  flex-wrap: wrap;
}
.job-opening .job-row:nth-child(1) {
  padding-bottom: 30px;
  border-bottom: 1px solid #D2D2D2;
  margin-bottom: 30px;
}
.job-opening .job-row:nth-child(2) {
  margin-bottom: 40px;
}
.job-opening .job-column {
  width: 50%;
  display: flex;
}
.job-opening .job-column:nth-child(odd) {
  padding-right: calc(100% / 12);
}
.job-opening .job-label {
  color: #8FC31F;
  font-weight: 600;
}
.job-opening .job-column > .job-label {
  width: 20%;
  margin-right: 40px;
}

.job-opening .job-column > .job-value {
  font-weight: 600;
  width: 80%;
}

.job-opening .job-column > .job-content > .job-label {
  margin-bottom: 20px;
}

.button-container {
  display: flex;
  justify-content: center;
  gap: 30px;
}

#ajax-content-wrap .nectar-cta.border_radius_50px .link_wrap {
  border-radius: 50px !important;
}

@media screen and (max-width: 800px) {
  .job-opening .job-column {
    width: 100%;
  }
  .job-opening .job-column:first-child {
    padding-right: 0;
  }
  .button-container {
    flex-direction: column;
    gap: 50px;
  }
}

/* News List */
.single-news #header-outer #top nav > ul > li#menu-item-1436 > a {
  color: #8FC31F !important;
}
.news #section-hero:before {
  content: '';
  background: url(https://wordpress-1497349-5721485.cloudwaysapps.com/wp-content/uploads/2025/04/hero-sss.svg) no-repeat;
  background-size: cover;
  z-index: 11;
  position: absolute;
  top: -120px;
  right: -120px;
  width: 308px;
  height: 280px;
  transform: translateZ(0);
  will-change: transform;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  display: block;
}
@media screen and (min-width: 1300px) {
  .news #section-hero:before {
    height: 295px;
  }
}
.no-extra-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.not-found {
    display: none;
}
.news-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 45px;
    margin-bottom: 60px;
}
.news-filters__left {

}
.news-filters__right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.news-filters__right img {
  margin: 0 !important;
}
.news-filters__right > * {
  line-height: 0;
}
.news-filters__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 15px 0;
}
.news-filters__tag {
    padding: 2px 18px;
    border-radius: 15px;
    color: white;
    background-color: #D2D2D2;
    font-size: 15px;
    line-height: 27px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.news-filters__tag:hover {
  background-color: #2EA7E0;
}
.news-filters__tag.active {
  background-color: #8FC31F;
} 

.news-filters__reset {
    margin: 15px 0;
    text-decoration: underline;
    color: #000;
    white-space: nowrap;
    font-size: 17px;
    transition: color .2s ease;
}
.news-filters__reset:hover {
    color: #8FC31F;
    text-decoration: none;
}

.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    height: auto !important;
}

.news-item {  
    width: calc((100% - 60px) / 3);
    margin-bottom: 30px;
}
.news-item > * {  
    color: initial;
}
.news__title {
  margin-bottom: 30px !important;
}
.news__image {
  aspect-ratio: 376 / 300;
  object-fit: cover;
}
.single-news .news__image {
  aspect-ratio: auto;
  width: 100% !important;
  margin-top: 30px;
}
.news__date,
.news__type, 
.news__back {
  font-size: 15px;
  line-height: 27px;
  font-weight: 700;
}
.news__type {
  color: #8FC31F;
  margin-bottom: 10px;
}
.single-news .pagination {
  margin-bottom: 140px;
}
.news__back {
  color: #000000;
  margin: 0 40px;
}
.news__back:hover {
  color: #8FC31F;
}


@media screen and (max-width: 800px) {
  .news-filters {
    flex-wrap: wrap;
  }
  .news-item {  
    width: 100%;
  }
}

.pagination,
.pagination-numbers{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
}
.pagination {
    margin-top: 55px;
    width: 100%;
}
.pagination-button {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #d2d2d2;
    border-radius: 50%;
    background-color: white;
    color: black;
    cursor: pointer;
    transition: all .2s ease;
}
.pagination-button:hover {
    background-color: #d2d2d2;
    color: white;
}
.pagination-button.active {
    background-color: #8FC31F;
    color: white;
}
.pagination-button.disabled {
    display: none;
}
.pagination-numbers {
  cursor: pointer;
}
@media screen and (max-width: 800px) {
    .job-filters {
        flex-wrap: wrap;
    }
    .job-filters > * {
        width: 100% !important;
    }
    .job-filters .nectar-cta {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .job-item {
        flex-wrap: wrap;
        gap: 20px;
    }
    .job-item > * {
        width: 100%;    
    }
    .job-item .job-details a.button {
        float: none;
    }
}