/* HPH Google Jobs theme override */
body.single.single-job .entry-content,body.single.single-job #allcont{
  margin-top: 0!important;
  padding-top: 0;
}
.hph_jobs_preview {
  width: 93%;
 max-width: 1503px;
 margin: clamp(2.2222rem, calc(1.6222rem + 3.3784vw), 4.4444rem) auto;
}
.fl .hph_jobs_preview {
width: 100%;
}
.hph_jobs_preview #filter-form {
  margin-bottom: 1.5rem;
}

.hph_jobs_preview #job-listings {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.hph_jobs_preview .single_job {
  margin: 0;
  padding: clamp(1.1111rem, calc(0.961rem + 0.8446vw), 1.6667rem);
  border-radius: var(--baseBorderRadiusBig);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: var(--boxShadow);
  flex: 1;
  min-width: 480px;
  max-width: 752px;
  display: flex;
}
.hph_jobs_preview .single_job .innersection {
display: flex;
flex-direction: column;
}

.hph_jobs_preview .card_top {
  width: 100%;
}

.hph_jobs_preview .job_preview_info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-bottom: clamp(1.1111rem, calc(0.961rem + 0.8446vw), 1.6667rem);
  padding-bottom: 15px;
  border-bottom: 1px solid #E7E7E7;
}

.hph_jobs_preview .job_preview_info p {
  margin: 0!important;
}

.hph_jobs_preview .single_job_location::before,
.hph_jobs_preview .single_job_type::before,
.single-job .single_job_location::before,
.single-job .single_job_type::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 7px;
  vertical-align: -4px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hph_jobs_preview .single_job_location::before,
.single-job .single_job_location::before {
  background-image: url("./img/job-location.svg");
}

.hph_jobs_preview .single_job_type::before,
.single-job .single_job_type::before {
  background-image: url("./img/job-type.svg");
}

.hph_jobs_preview .card_bottom {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.1111rem, calc(0.961rem + 0.8446vw), 1.6667rem);
  flex: 1;
  justify-content: space-between;
}

.hph_jobs_preview .left_section {
  flex: 1;
  min-width: 67%;
}

.hph_jobs_preview .job_preview_title h6 {
  margin: 0 0 0.55rem;
  color: #363636;
  font-family: var(--headline);
  font-size: 24px;
  font-weight: 500;
  line-height: 141%;
}

.hph_jobs_preview .job_preview_title h6 a {
  color: inherit;
  text-decoration: none;
}

.hph_jobs_preview .job_preview_title h6 a:hover {
  color: var(--main-color);
}

.hph_jobs_preview .job_preview_description {
  margin: 0;
  color: #363636;
}

.hph_jobs_preview .right_section {
  display: inline-block;
  gap: 20px;
  flex: 1;
  margin-top: auto;
}

/* Match #scss/_textstile.scss: a.btn / submit + is-style-kontur-secondary */
.hph_jobs_preview .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 12px 25px;
  min-width: 175px;
  text-decoration: none;
  font-family: var(--mainFont);
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  transition: var(--baseTransition);
  margin-top: 20px;
}

.hph_jobs_preview .btn-primary::after {
  content: "";
  display: inline-block;
  position: static;
  width: 14px;
  height: 14px;
  mask-image: url("./img/arrow.svg");
  -webkit-mask-image: url("./img/arrow.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  background-color: currentColor;
  opacity: 1;
}

.hph_jobs_preview .btn-primary.btn-outline {
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1) inset, 0 0 0 0 rgba(0, 0, 0, 0.05);
  padding: 9px 15px;
  color: var(--text-color);
  margin-right: 20px;
}

.hph_jobs_preview .btn-primary.btn-outline:hover {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1) inset, 0 6px 25px 0 rgba(0, 0, 0, 0.05);
  color: var(--main-color);
}

.hph_jobs_preview .btn-primary.cta {
  border-radius: 0 15px 15px 10px;
  color: var(--contrastColorInverted);
  background-color: var(--secondary-light);
  box-shadow: var(--boxShadow);
}

.hph_jobs_preview .btn-primary.cta:hover {
  border-radius: 15px 15px 15px 10px;
  background-color: var(--secondary-dark);
}

/* Single job */
.single-job .entry-content {
  width: 100%;
  margin: var(--fl-margin-before-small) auto var(--fl-margin-after-medium);
  position: relative;
  padding-top: 0;
}

.single-job .job_banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 1rem;
  border-radius: 0;
  overflow: hidden;
}

.single-job .job_banner img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.single-job .single_job_back_to_list_top {
  width: min(var(--baseWidth), var(--maxWidth));
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

/* Overlap only when a featured image exists (see .job_banner in single-job.php). */
.single-job .item.has-post-thumbnail .single_job_back_to_list_top {
  margin-top: -88px;
  margin-bottom: 70px;
}

.single-job .single_job_back_to_list_top .button.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 15px;
  text-decoration: none;
  font-family: var(--mainFont);
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  border-radius: 15px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1) inset, 0 0 0 0 rgba(0, 0, 0, 0.05);
  color: var(--text-color);
  border: none;
  cursor: pointer;
  transition: var(--baseTransition);
}

.single-job .single_job_back_to_list_top .button.button-outline::after {
  content: "";
  display: inline-block;
  position: static;
  width: 14px;
  height: 14px;
  transform: scaleX(-1);
  mask-image: url("./img/arrow.svg");
  -webkit-mask-image: url("./img/arrow.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  background-color: currentColor;
  opacity: 1;
}

.single-job .single_job_back_to_list_top .button.button-outline:hover {
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1) inset, 0 6px 25px 0 rgba(0, 0, 0, 0.05);
  color: var(--main-color);
}

.single-job .single_job_wrapper {
  max-width:var(--maxWidth);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

body.single.single-job .cont {
  position: relative;
}

body.single.single-job .cont::before,
body.single.single-job .cont::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
  opacity: 0.55;
}

body.single.single-job .cont::before {
  left: -100px;
  background-position: left bottom;
  background-image: url("./blockstudio/frame-layout/img/mesh-left-bottom.svg");
}

body.single.single-job .cont::after {
  background-position: right top;
  background-image: url("./blockstudio/frame-layout/img/mesh-right-top.svg");
}

.single-job .single_job_content {
  position: relative;
  overflow: visible;
  padding: 50px 30px;
  border-radius: var(--baseBorderRadiusMedium);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--boxShadow);
}

.single-job .single_job_header_top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 450px);
  gap:30px;
  align-items: center;
  margin-bottom: 30px;
}

.single-job .single_job_header_main {
  min-width: 0;
  padding-right: 1rem;
  border-right: 1px solid #d4d8df;
}

.single-job .single_job_header h1 {
  font-size: 1.75rem;
  margin-bottom: 30px;
}

.single-job .single_job_body h2 {
  font-size: 1.25rem;
}

.single-job .single_job_body h3 {
  font-size: 1.125rem;
}

.single-job .single_job_body h4 {
  font-size: 1rem;
}

.single-job .single_job_body h5,
.single-job .single_job_body h6 {
  font-size: 0.9375rem;
}

.single-job .single_job_intro .job_info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.single-job .single_job_intro .job_info p {
  margin: 0 !important;
  font-size: 0.95rem;
}

.single-job .single_job_body > div {
  margin-top: clamp(1.6667rem, calc(1.3667rem + 1.6892vw), 2.7778rem);
}

.single-job .single_job_body > div:first-child {
  margin-top: 1rem;
}

.single-job .single_job_body ul {
  list-style: none;
  margin-top: 30px;
  padding-left: 0;
  line-height: 1.55;
}

.single-job .single_job_body ul li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
}

.single-job .single_job_body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--main-color);
}

.single-job .job_cta_footer_buttons{
  margin-top: 2rem;
}

.single-job .job_cta_footer_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.single-job .job_cta_footer_buttons .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 12px 25px;
  text-decoration: none;
  font-family: var(--mainFont);
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  border-radius: 0 15px 15px 10px;
  color: var(--contrastColorInverted);
  background-color: var(--secondary-light);
  box-shadow: var(--boxShadow);
  transition: var(--baseTransition);
}

.single-job .job_cta_footer_buttons .button::after {
  content: "";
  display: inline-block;
  position: static;
  width: 14px;
  height: 14px;
  mask-image: url("./img/arrow.svg");
  -webkit-mask-image: url("./img/arrow.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  background-color: currentColor;
  opacity: 1;
}

.single-job .job_cta_footer_buttons .button:hover {
  border-radius: 15px 15px 15px 10px;
  background-color: var(--secondary-dark);
}

.single-job .single_job_ansprechpartner img {
  display: block;
  max-width: 100%;
  height: auto;
}

.single-job .single_job_ansprechpartner {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_media > img {
  width: 110px;
  height: 110px;
  /* Standardform des Themes: eine Ecke eckig, drei abgerundet - wie in der
     Autorenbox der Blogbeitraege. Vorher war das Bild ein Kreis. */
  border-radius: 0 20px 20px 20px;
  object-fit: cover;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_media {
  width: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info {
  min-width: 0;
  color: #343a40;
}

.single-job .single_job_ansprechpartner .contact_label {
  font-weight: 700;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info p {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_name {
  margin-bottom:0;
  font-size: 18px;
  font-weight: 700;
  color: #0D2636;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_name strong {
  font-weight: 700;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_role {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #A5A5A5;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact {
  font-size: 16px;
  font-weight: 700;
  color: #6F84AC;
  margin-top: 15px;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact + .ansprechpartner_contact {
  margin-top: 0.12rem;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact_link,
.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact_link:visited,
.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact_link:focus {
  color: inherit;
  text-decoration: none;
}

.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact_link:hover,
.single-job .single_job_ansprechpartner .single_job_ansprechpartner_info .ansprechpartner_contact_link:focus {
  text-decoration: underline;
}

.single-job .single_job_ansprechpartner .single_job_linkedin_link:hover,
.single-job .single_job_ansprechpartner .single_job_linkedin_link:focus {
  text-decoration: none;
}

.single-job .single_job_bottom_apply {
  margin-top: clamp(1.6667rem, calc(1.3667rem + 1.6892vw), 2.7778rem);
}

.single-job .single_job_bottom_apply .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  padding: 12px 25px;
  text-decoration: none;
  font-family: var(--mainFont);
  font-size: 17px;
  font-weight: 700;
  line-height: normal;
  border-radius: 0 15px 15px 10px;
  color: var(--contrastColorInverted);
  background-color: var(--secondary-light);
  box-shadow: var(--boxShadow);
  transition: var(--baseTransition);
}

.single-job .single_job_bottom_apply .button::after {
  content: "";
  display: inline-block;
  position: static;
  width: 14px;
  height: 14px;
  mask-image: url("./img/arrow.svg");
  -webkit-mask-image: url("./img/arrow.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center center;
  -webkit-mask-position: center center;
  background-color: currentColor;
  opacity: 1;
}

.single-job .single_job_bottom_apply .button:hover {
  border-radius: 15px 15px 15px 10px;
  background-color: var(--secondary-dark);
}

.single-job .single_job_ansprechpartner .single_job_linkedin_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background-color: var(--main-color);
  margin-top: -25px;
  margin-right: 5px;
}

.single-job .single_job_ansprechpartner .single_job_linkedin_link img {
  width: 15px;
  height: 15px;
  display: block;
  margin: 0;
  object-fit: contain;
}

.single-job .single_job_ansprechpartner .single_job_linkedin_link:hover {
  filter: brightness(0.95);
}

@media screen and (max-width: 1024px) {
  .hph_jobs_preview .card_bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hph_jobs_preview .right_section {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .single-job .single_job_wrapper {
    margin-top: 0;
  }

  .single-job .single_job_header_top {
    grid-template-columns: 1fr;
  }

  .single-job .single_job_header_main {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #d4d8df;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 768px) {
  .hph_jobs_preview .single_job,
  .single-job .single_job_content {
    padding: 1.2rem;
    min-width: 0;
    flex: 0 0 100%;
  }

  .hph_jobs_preview .btn-primary {
    min-width: 145px;
  }

  .hph_jobs_preview .btn-primary:not(.btn-outline) {
    padding: 10px 18px;
    font-size: 16px;
  }

  .hph_jobs_preview .btn-primary.btn-outline {
    padding: 8px 12px;
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .single-job .single_job_ansprechpartner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .single-job .single_job_ansprechpartner .single_job_ansprechpartner_media {
    width: 100%;
    align-items: flex-start;
  }
}
