:root {
  --global-border-color: #d2d5da;
  --global-custom-primary-color: #d50117;
  --global-custom-btn-hover: #000000;

  --global-hero-heading-size: 48px;
  --global-max-width: 1320px;
}

/* Template: Vacancies Filter */
.automotive-accordion-item {
  border-bottom: 1px solid var(--global-border-color);
}

.matchcriteria-filters {
  margin: 0;
}

.automotive-accordion-header {
  font-family: "Plus Jakarta Sans";
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2em;
  color: #111827;
  padding: 26px 0;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.matchcriteria-filters:first-child .automotive-accordion-header {
  padding: 0 0 26px 0;
}

button.automotive-accordion-header {
  background-color: transparent;
  box-shadow: 0 0 0;
  color: #111827;
}

.automotive-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.automotive-accordion-content ul {
  padding-left: 0;
  padding-bottom: 28px;
}

.automotive-accordion-content ul .option-name{
	color: #111827;
	font-size: 16px;
}



.automotive-accordion-icon {
  display: inline-block;
  margin-left: auto;
  transition: transform 0.3s ease;
  font-weight: bold;
  font-size: 24px;
  position: relative;
}

.automotive-accordion-icon .automotive-minus {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.3s ease;
}

.automotive-accordion-header[aria-expanded="true"] .automotive-minus {
  opacity: 1;
}

.automotive-accordion-header[aria-expanded="true"] .automotive-plus {
  opacity: 0;
}

.matchcriteria-filters ul li a span.option-check {
  width: 20px;
  height: 20px;
  border-radius: 0;
  margin: 0 12px 0 0;
}

.matchcriteria-filters ul li a span.option-check svg {
  width: 14px;
}

/* Template Vacancies List/Grid  */

/* View Switcher */
.automotive-view-switcher {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.automotive-view-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.automotive-view-btn:hover {
  background-color: transparent;
}

.automotive-view-btn svg {
  width: 24px;
  height: 24px;
  stroke: #d2d5da;
  transition: stroke 0.2s ease;
}

.automotive-view-btn svg path {
  stroke: #d2d5da;
  transition: stroke 0.2s ease;
}

.automotive-view-btn:hover svg path {
  stroke: #111827;
}

.automotive-view-btn.active svg path {
  stroke: #111827;
}

/* Vacancies Container */
.vacancies-list {
  display: grid;
  gap: 20px;
}

/* Grid View */
.vacancies-list.automotive-grid-view {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* List View */
.vacancies-list.automotive-list-view {
  grid-template-columns: 1fr;
}

/* Vacancy Card */
.automotive-vacancy {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--global-border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  padding: 24px;
  gap: 20px;
  height: 100%;
  position: relative;
}

.automotive-vacancy-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.automotive-vacancy:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

span.automotive-premium-tag {
  background-color: #003274;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
  position: absolute;
  right: 24px;
}

.automotive-vacancy:hover .automotive-vacancy-btn {
    background-color: var(--global-custom-primary-color);
    border-color: var(--global-custom-primary-color);
    color: #fff;
}

.automotive-vacancy-contnet {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.automotive-vacancy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.automotive-vacancy-photo img {
  width: 100%;
  max-width: 100px;
  height: 40px;
  object-fit: contain;
  object-position: left;
}

.automotive-favorite-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: auto;
}

.automotive-heart-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.automotive-heart-filled {
  display: none;
  color: var(--global-custom-primary-color); /* Red for filled state */
}

.automotive-favorite-btn.active .automotive-heart-outline {
  display: none;
}

.automotive-favorite-btn.active .automotive-heart-filled {
  display: inline;
}

.automotive-vacancy-title {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.automotive-vacancy-text {
  font-size: 14px;
  line-height: 1.3;
  color: #4b5563;
  margin-bottom: 10px;
}

.automotive-vacancy-footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 0 0 20px 0;
}

.automotive-vacancy-criteria {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}

.automotive-vacancy-criteria-values {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.automotive-vacancy-criteria svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.automotive-vacancy-btn {
  font-family: "Plus Jakarta Sans";
  font-size: 16px;
  line-height: 1.2em;
  display: inline-block;
  text-align: center;
  width: 100%;
  border: 1px solid #6d7280;
  background-color: #fff;
  color: #111827;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.automotive-vacancy-btn:hover {
  background-color: var(--global-custom-primary-color);
  border-color: var(--global-custom-primary-color);
  color: #fff;
}

.vacancies-list .vacancy:not(:last-child) {
  margin: 0;
}

/* Template: Vacancies Details Page  */
/* =========================================
   GLOBAL WRAPPER & CONTAINER
========================================= */
.automotive-vacancy-wrapper {
  max-width: 100%;
  padding: 0;
}

.automotive-container {
  max-width: var(--global-max-width);
  margin: 40px auto;
  padding: 0 20px;
}

/* =========================================
   HERO SECTION
========================================= */
.automotive-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-size: cover;
  background-position: center;
}

.automotive-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
}

.automotive-hero-content {
  position: relative;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 20px 100px;
}

.automotive-hero-heading {
  max-width: 740px;
  margin: 0;
  color: #fff;
  font-size: var(--global-hero-heading-size);
  font-weight: 400;
}

/* =========================================
   GRID LAYOUT
========================================= */
.automotive-row {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.automotive-row.automotive-row-1 {
  grid-template-columns: 4fr 2fr;
  padding-bottom: 50px;
  border-bottom: 1px solid #cdd5df;
}

.automotive-col-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.automotive-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Responsive: stack columns on mobile */
@media (max-width: 991px) {
  .automotive-row {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   USP TAGS
========================================= */
.automotive-usps-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.automotive-usp {
  display: flex;
  align-items: center;
  gap: 8px;
  /* padding: 2px 12px 2px 2px; */
  border-radius: 50px;
  /* background: #fafafa; */
}

.automotive-usp svg {
  width: 16px;
  height: 16px;
  /* fill: var(--global-custom-primary-color); */
}

.automotive-usp-text {
  font-size: 14px;
}

/* =========================================
   JOB CONTENT
========================================= */
.automotive-main-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.automotive-job-title {
  max-width: 620px;
  font-size: var(--global-hero-heading-size);
  font-weight: 400;
  line-height: 1.3em;
}

/* Job meta labels */
.automotive-job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.automotive-job-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background: #f6f6f6;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Job info list */
.automotive-job-info ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.automotive-job-info li {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.2;
  color: #242424;
}
.automotive-job-info li.automotive-job-info-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px 20px;
}

.automotive-job-info-label {
  padding-left: 15px;
  border-left: 2px solid var(--global-custom-primary-color);
  font-weight: 600;
}

.automotive-job-info-values {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  text-align: right;
}

.automotive-job-info-value {
  display: block;
}

/* =========================================
   DESCRIPTION + ACCORDIONS
========================================= */
.automotive-job-description .automotive-accordion:not(:first-child) {
  border-top: 1px solid #ddd;
}

.automotive-job-description
  .automotive-accordion:first-child
  .automotive-accordion-header {
  padding-bottom: 24px;
}

.automotive-job-description .automotive-accordion-header {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.3;
  color: #242424;
}

.automotive-accordion-icon {
  font-size: 28px;
  color: #242424;
  transition: transform 0.3s ease;
}

.automotive-accordion-body {
  display: none;
  padding-bottom: 15px;
  font-size: 16px;
  line-height: 1.5em;
  color: #787878;
}

.automotive-accordion.open .automotive-accordion-body {
  display: block;
}

.automotive-accordion.open .automotive-accordion-icon {
  transform: rotate(45deg);
}

/* =========================================
   SIDEBAR
========================================= */
.automotive-sidebar {
  padding: 20px;
  background: #e4e4e4;
  border-radius: 8px;
  height: fit-content;
}

.automotive-sidebar h3 {
  margin: 0 0 15px;
  font-size: 1.3rem;
  font-weight: 700;
}

.automotive-recruiter img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* Recruiter contact */
.automotive-icon-list-hrz {
  display: flex;
  align-items: center;
  gap: 10px;
}

.automotive-icon-list-hrz img {
  width: 26px;
  height: auto;
}

.automotive-icon-list-hrz a {
  font-size: 14px;
  line-height: 1.2;
  color: #1e1e1e;
  text-decoration: none;
  word-break: break-all;
  overflow-wrap: anywhere;
}

/* =========================================
   APPLY BUTTON
========================================= */
.automotive-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  padding: 4px 4px 4px 24px;
  border-radius: 100px;
  background: var(--global-custom-primary-color);
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  transition: background 0.3s ease;
}

.automotive-apply-btn:hover {
  background: #000;
  color: #fff;
}

.automotive-apply-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e4e4e4;
  color: var(--global-custom-primary-color);
  flex-shrink: 0;
}

.automotive-apply-icon svg {
  width: 16px;
  height: 16px;
}

/* Inline apply button beneath accordion */
.automotive-apply-inline {
  display: flex;
  justify-content: flex-start;
  margin: 32px 0 16px;
}
.automotive-apply-inline .automotive-apply-btn {
  width: 100%;
  max-width: 320px;
}

/* =========================================
   FEATURES GRID (2x2)
========================================= */
.automotive-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: var(--global-max-width);
  margin: 80px auto;
}

.automotive-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 232px;
  padding: 24px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(120, 120, 120, 0.2);
  border-radius: 24px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.automotive-feature-icon {
  margin-bottom: 20px;
}

.automotive-feature-heading {
  font-size: 24px;
  font-weight: 400;
  color: #242424;
}

.automotive-feature-text {
  margin: 0;
  font-size: 16px;
  color: #787878;
}

/* =========================================
   CTA SECTION
========================================= */
.automotive-cta {
  position: relative;
  padding: 20px;
}

.automotive-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: var(--global-max-width);
  min-height: 430px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 24px;
}

.automotive-cta-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  z-index: -1;
}

.automotive-cta-heading {
  max-width: 728px;
  margin: 0 auto;
  font-size: 42px;
  line-height: 1.5;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.automotive-cta-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #fff;
}

.automotive-cta-btn {
  display: inline-block;
  padding: 16px 56px;
  border-radius: 100px;
  background: var(--global-custom-primary-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.automotive-cta-btn:hover {
  background: #fff;
  color: var(--global-custom-primary-color);
}

.pagination-link {
  border: 1px solid #d2d5da;
  line-height: 38px;
}

.pagination .pagination-item.active a,
.pagination .pagination-item a:hover {
  background: #d50117;
  color: #fff;
}

.pagination-items .pagination-item:first-child .pagination-link,
.pagination-items .pagination-item:last-child .pagination-link {
  border: none;
}
.automotive-vacancy-title h3 {
  color: #1e1e1e !important;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  #toggle-vacancies-filters {
    background: var(--global-palette-btn-bg);
  }
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .automotive-row {
    margin-bottom: 0px;
  }

  .automotive-row.automotive-row-1 {
    grid-template-columns: 1fr;
  }

  .automotive-container {
    grid-template-columns: 1fr;
  }
  .automotive-sidebar {
    margin-top: 20px;
  }

  .automotive-hero-heading {
    font-size: 38px;
  }

  .automotive-job-title,
  .automotive-cta-heading,
  .related h2 {
    font-size: 28px;
  }

  .automotive-accordion-header {
    font-size: 22px;
  }

  .automotive-usp-text {
    font-size: 14px;
  }

  .automotive-usps-wrap {
    gap: 4px;
  }

  .automotive-cta-content {
    min-height: 370px;
  }

  .pagination-link{
    line-height: 28px;
  }

  .automotive-job-description .automotive-accordion-header {
    font-size: 16px;
    font-weight:  700;
    line-height: 1.3em;
  }
}

