/**
 * Theme Name: HRM Institute
 * Description: Powered by Muro.io
 * Author: Avraam Mouratidis
 * Template: blocksy
 * Text Domain: blocksy
 * Version: 2.1.1
 *//**
 * CSS Variables - HRM Institute Theme
 *
 * Extends Blocksy Pro theme variables with custom properties
 * Colors and typography inherit from parent theme
 *
 * @package HRM_Institute
 */

:root {

  --spacing-xs: 5px;
  --spacing-sm: 10px;
  --spacing-md: 15px;
  --spacing-lg: 20px;
  --spacing-xl: 30px;
  --spacing-2xl: 40px;
  --spacing-3xl: 50px;

  /**
   * Border Radius
   * Consistent rounded corners
   */
  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 10px;
  --radius-xl: 15px;

  /**
   * Shadows
   * Subtle depth for cards and components
   */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);

  /**
   * Transitions
   * Smooth animations
   */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /**
   * Breakpoints (for reference in media queries)
   * Mobile: 768px
   * Tablet: 990px
   * Desktop: 1290px
   */

  /**
   * Z-index Scale
   * Layering system
   */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}
/**
 * Icon Font - Jobboard Icons
 *
 * Custom icon font for job board and career site
 * @package HRM_Institute
 */

/* Icon font - currently disabled as font files are not present
@font-face {
  font-family: "jobboard-icons";
  src: url("lib/font/jobboard-icons.woff2") format("woff2"),
       url("lib/font/jobboard-icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
*/

[class^="icon-"],
[class*=" icon-"] {
  font-family: "jobboard-icons" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Icon Classes */
.icon-briefcase:before {
  content: "\e900";
}

.icon-location:before {
  content: "\e947";
}

.icon-calendar:before {
  content: "\e953";
}

.icon-clock:before {
  content: "\e94e";
}

.icon-search:before {
  content: "\e986";
}

.icon-user:before {
  content: "\e971";
}

.icon-users:before {
  content: "\e972";
}
/**
 * Job Cards Component
 *
 * Styles for job listing cards in both grid and list views
 * Includes hover effects, labels, and responsive design
 *
 * @package HRM_Institute
 */

/* ============================================
   Grid View - Job Cards
   ============================================ */

.job-list-wrapper-card {
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-flow: dense;
  grid-column-start: 1;
  grid-column-end: -1;
  width: 100%;
}

.job-list-wrapper-card .single-job-list-wrapper {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  justify-content: space-between;
  transition: var(--transition-base);
}

.job-list-wrapper-card .single-job-list-wrapper:hover {
  box-shadow: var(--shadow-lg);
}

.job-list-wrapper-card .single-job-list-wrapper a {
  width: 100%;
}

.job-list-wrapper-card .single-job-list-wrapper .job-head-img-title {
  flex-direction: column;
  width: 100%;
}

.job-list-wrapper-card .job-head-title h3 {
  font-weight: bold;
  font-size: 15px;
  line-height: 20px;
  hyphens: auto;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.job-list-wrapper-card .job-head-title {
  width: 100%;
}

.job-list-wrapper-card .job-head-details {
  display: block;
  width: 100%;
}

.job-head-details > div {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.job-list-wrapper-card .job-heading-details {
  flex-direction: column;
  font-size: 16px;
  margin-top: 0;
  gap: 5px;
}

.job-list-wrapper-card .business-wrapper {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.job-list-wrapper-card .job-heading-details a {
  text-decoration: none;
}

.job-list-wrapper-card .job-head {
  width: 100%;
}

/* ============================================
   List View - Job Cards
   ============================================ */

.job-list-wrapper-list {
  display: flex;
  width: 100%;
  gap: 16px;
  flex-direction: column;
}

.job-list-wrapper-list .offset-top {
  top: 0;
  padding: var(--spacing-sm);
}

.job-list-wrapper-list .job-head-title > h3 {
  font-size: 18px;
  margin-bottom: 0;
  max-width: 85%;
}

.job-list-wrapper-list .single-job-list-wrapper {
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-md);
  border-radius: var(--spacing-md);
  background: white;
  transition: var(--transition-base);
}

.job-list-wrapper-list .single-job-list-wrapper:hover {
  box-shadow: var(--shadow-lg);
}

.job-list-wrapper-list .single-job-list-wrapper:hover * {
  transition: var(--transition-base);
}

.job-list-wrapper-list .single-job-list-wrapper:hover *:not(.label) {
  color: var(--theme-palette-color-1);
}

.job-list-wrapper-list .job-heading-details {
  max-width: 80%;
}

/* ============================================
   Job Labels (Featured, New)
   ============================================ */

.label {
  color: white;
  padding: 5px;
  border-radius: var(--radius-sm);
  font-size: 10px;
  font-weight: 700;
}

.offset-top {
  position: absolute;
  top: -35px;
  right: 0;
  display: flex;
  gap: 5px;
}

.label.new {
  background: orange;
}

.label.featured {
  background: var(--theme-palette-color-1);
}

.job-head-title {
  position: relative;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 500px) {
  .job-list-wrapper-list .offset-top {
    top: -40px;
  }
}
/**
 * Berufe Cards Component
 *
 * Styles for Berufe (careers/professions) cards and single page layout
 * Includes hero card, sidebar widgets, and responsive design
 *
 * @package HRM_Institute
 */

/* ============================================
   Berufe Single Page Container
   ============================================ */

.berufe-single {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

/* ============================================
   Set Card (Hero Card)
   ============================================ */

.set-card-container {
  background-color: white;
  border-radius: var(--radius-lg);
  position: relative;
  display: flex;
  padding: 0 var(--spacing-xl);
  flex-direction: row;
  min-height: 500px;
  justify-content: space-between;
}

.setcard-img-wrapper {
  width: 40%;
}

.setcard-img-wrapper img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  margin-bottom: -2rem;
}

.set-card-content {
  padding: var(--spacing-xl) 0;
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: center;
}

.set-card-title {
  font-size: 3em;
}

.top-title {
  margin-bottom: 0.5rem;
}

ul.set-card-details {
  list-style-type: none;
  padding-left: 1.5rem;
}

/* ============================================
   Berufe Main Section Layout
   ============================================ */

.berufe-main-section,
.section-sidebar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  width: 100%;
}

.berufe-main-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.article-content {
  display: block;
  width: 100%;
}

/* ============================================
   Main Content Menu
   ============================================ */

.main-content-menu {
  padding: var(--spacing-lg) var(--spacing-xl);
  background: white;
  border-radius: var(--radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  justify-content: space-between;
}

.main-content-menu a {
  font-size: larger;
  font-weight: bolder;
  color: var(--theme-palette-color-4);
  text-decoration: underline;
}

.beruf-main-description {
  padding: 0 var(--spacing-xl);
}

/* ============================================
   Article Sections
   ============================================ */

.article-section {
  border-bottom: 1px solid var(--theme-palette-color-5);
  margin-bottom: var(--spacing-xl);
}

.article-hero img {
  border-radius: var(--radius-lg);
}

.articlie-toc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 var(--spacing-xl);
}

.articlie-toc a {
  color: var(--theme-text-color);
  font-size: larger;
}

/* ============================================
   Related Cities
   ============================================ */

.related-cities {
  background: var(--theme-palette-color-6);
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
}

.related-cities .widget-title {
  margin-bottom: 0;
}

.city-single {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--spacing-lg);
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  align-items: end;
  margin: var(--spacing-lg) 0;
  border: 1px solid black;
}

.city-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  text-decoration: underline;
}

.city-content p {
  font-size: 0.9rem;
  line-height: 1.4em;
}

.city-img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Desktop: 2-column layout */
@media (min-width: 990px) {
  .berufe-main-content,
  .section-sidebar .left {
    width: calc(60% - 1rem);
  }

  .side-widget,
  .section-sidebar .right {
    width: calc(40% - 1rem);
  }
}

/* Tablet: Stack hero card */
@media (max-width: 990px) {
  .set-card-container {
    flex-direction: column-reverse;
    overflow: hidden;
  }

  .setcard-img-wrapper {
    width: 100%;
    max-height: 0px;
    opacity: 0.1;
    z-index: 0;
  }

  .set-card-content {
    z-index: 1;
  }

  .articlie-toc {
    display: none;
  }
}

/* Mobile: Smaller text */
@media (max-width: 768px) {
  .set-card-title {
    hyphens: auto;
    font-size: 2em;
  }

  .city-single {
    grid-template-columns: 1fr;
  }
}
/**
 * Widgets Component
 *
 * Styles for sidebar widgets including salary widget and related jobs
 * Used in both job and berufe single pages
 *
 * @package HRM_Institute
 */

/* ============================================
   Side Widget Base
   ============================================ */

.side-widget {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  background-color: white;
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-lg);
  /* width: 100%; */
}

.side-widget .widget-title {
  font-size: x-large;
}

/* ============================================
   Salary Widget
   ============================================ */

.salary-widget {
  display: flex;
  border-bottom: 1px dotted;
  font-size: larger;
  width: 100%;
  justify-content: flex-start;
  padding: var(--spacing-lg) 0;
  hyphens: auto;
}

.salary-widget .salary {
  color: var(--theme-palette-color-2, #95a839);
  font-weight: bolder;
}

/* ============================================
   Related Jobs Widget
   ============================================ */

.related-job {
  display: flex;
  border-bottom: 1px dotted;
  font-size: larger;
  width: 100%;
  justify-content: flex-start;
  padding: var(--spacing-lg) 0;
  hyphens: auto;
  align-items: center;
}

.related-jobs h3 {
  font-size: 19.2px;
  hyphens: auto;
  word-break: break-word;
}

.related-job:hover h3 {
  color: var(--primary-color);
}

.related-jobs img {
  height: 140px;
  width: 140px;
  object-fit: contain;
  aspect-ratio: 1;
  margin-bottom: -1rem;
}

/* ============================================
   More Link
   ============================================ */

.more-link {
  display: block;
  padding: var(--spacing-xl);
  width: 100%;
  text-align: center;
  font-size: larger;
  color: var(--theme-palette-color-2, #95a839);
  font-weight: bold;
}
/**
 * Filters Component
 *
 * Styles for job search filters, active filters, and filter sidebar
 * Includes responsive mobile popup design
 *
 * @package HRM_Institute
 */

/* ============================================
   Filter Sidebar
   ============================================ */

.job-search-container .job-search-filters {
  flex: 0 0 25%;
  max-width: 320px;
}

.job-search-container .job-search-filters > .active-filters,
.job-search-container .job-search-filters #job-filters {
  background: var(--theme-palette-color-6);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.job-search-container .job-search-filters form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
}

.filter-group > label {
  font-weight: bolder;
  font-size: var(--theme-font-size);
}

/* ============================================
   Active Filters
   ============================================ */

.active-filters {
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.active-filters h5 {
  margin: 0 0 var(--spacing-sm);
  font-size: 16px;
}

.active-filters ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-sm);
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.active-filters li {
  padding: 5px var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: flex;
  align-items: center;
  border: 1px solid var(--theme-headings-color);
  font-weight: 700;
  cursor: pointer;
}

.active-filters li a.remove-filter {
  color: #7a7a7a;
  text-decoration: none;
  margin-left: 5px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition-fast);
}

.active-filters li a.remove-filter:hover {
  color: #ff5a5f;
}

/* ============================================
   Filter Toggle (Mobile)
   ============================================ */

div.filter-toggle-btn.ct-button-ghost {
  display: none;
}

.filter-close-btn {
  display: none;
  position: absolute;
  right: var(--spacing-lg);
  background-color: var(--theme-palette-color-1);
  color: white !important;
  padding: var(--spacing-sm);
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
}

.filter-close-btn:hover {
  background: var(--theme-palette-color-2);
}

/* ============================================
   Filter Animations
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

@media only screen and (max-width: 1080px) {
  .filter-close-btn {
    display: block;
  }

  .ct-container.job-search-container {
    max-width: unset;
    width: 100%;
    margin: 0 !important;
  }

  .active-filters ul {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: var(--spacing-sm) 0;
  }

  .active-filters-list li {
    display: block;
    margin-right: var(--spacing-sm);
  }

  .active-filters-list li a.remove-filter {
    color: #7a7a7a;
    text-decoration: none;
    margin-left: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
  }

  .active-filters-list li a.remove-filter:hover {
    color: #ff5a5f;
  }

  .job-filter-form {
    display: none;
  }

  .filter-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 50%;
    transform: translate(-50%, -50%);
    padding: var(--spacing-lg);
    z-index: var(--z-modal);
    border-radius: var(--radius-lg);
  }

  .filter-popup.show {
    display: flex;
  }

  .filter-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
  }

  .filter-popup-overlay.show {
    display: block;
  }

  div.filter-toggle-btn.ct-button-ghost {
    display: block;
  }

  .filter-popup form {
    width: 100% !important;
  }
}

@media (max-width: 500px) {
  .job-search-container .job-search-filters {
    flex: 0 0 25%;
    max-width: unset;
    width: 100%;
  }
}
/**
 * Forms Component
 *
 * Styles for job search forms, ACF forms, and filter fields
 * Includes location/radius fields and responsive layout
 *
 * @package HRM_Institute
 */

/* ============================================
   Job Search Form
   ============================================ */

.job-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: center;
  width: 100%;
  align-items: center;
  flex-direction: row;
}

/* Form Fields */
.job-search-form .filter-field {
  flex: 1;
}

.kadence-column5_b243dc-60 > .kt-inside-inner-col {
  align-items: flex-start !important;
}

/* ============================================
   Location & Radius Fields
   ============================================ */

.location-radius-field {
  flex: 1;
  display: flex;
  width: 100%;
}

.location-radius-field > .filter-field.location {
  flex: 1 0 70%;
  max-width: 460px;
}

.location-radius-field > .filter-field.radius {
  flex: 1 0 86px;
  max-width: 115px;
}

.filter-field.location #location {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.location-radius-field > .filter-field.radius #radius {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* ============================================
   Submit Button
   ============================================ */

.job-search-form button {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

/* ============================================
   Product Selection Forms
   ============================================ */

.products .gfield_radio {
  padding-left: 0;
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-flow: dense;
  grid-column-start: 1;
  grid-column-end: -1;
  margin-top: var(--spacing-2xl);
}

.products .gfield_radio .gchoice input.gfield-choice-input {
  display: none !important;
}

.products .gfield-choice-input + label {
  height: 100%;
}

.products .gfield_radio .gchoice input.gfield-choice-input:checked + label .pack-content {
  background: var(--theme-palette-color-1) !important;
}

.products .gfield_radio .gchoice input.gfield-choice-input:checked + label .pack-content * {
  color: white;
}

/* ============================================
   Package Cards
   ============================================ */

.pr-cont {
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-flow: dense;
  grid-column-start: 1;
  grid-column-end: -1;
}

.pr-pk,
.products .pack-content {
  background: white !important;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-base);
}

.pr-pk:hover,
.pack-content:hover {
  transform: translateY(-5px);
}

.pack-content {
  padding: var(--spacing-lg);
}

.pakete-label {
  border-bottom: 1px solid #eee;
  padding-bottom: var(--spacing-md);
}

.pakete-info h4 {
  margin: 0 0 16px;
  color: #333;
  text-transform: uppercase;
  max-width: 250px;
  min-height: 75px;
}

.pakete-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
  min-height: 175px;
}

.pakete-price {
  font-weight: bold;
  font-size: 18px;
  color: #333;
  margin: var(--spacing-md) 0;
}

.grf-link {
  display: inline-block;
  background-color: var(--theme-palette-color-1);
  color: #fff;
  padding: var(--spacing-sm) var(--spacing-lg);
  text-align: center;
  border-radius: var(--radius-md);
  text-decoration: none;
  margin: var(--spacing-sm) var(--spacing-lg);
}

.grf-link:hover {
  background-color: var(--theme-palette-color-2);
  color: white;
}

/* ============================================
   Special Grid
   ============================================ */

.mio-special-grid {
  box-sizing: border-box;
  margin: 0;
  min-width: 0;
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-flow: dense;
  grid-column-start: 1;
  grid-column-end: -1;
}

.reg-container {
  color: white !important;
  background: var(--theme-button-background-initial-color);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-start;
  align-content: flex-start;
  justify-content: flex-start;
}

.reg-container h4 {
  color: white;
}

.reg-container a {
  background: var(--theme-palette-color-4);
}

/* ============================================
   Responsive Design
   ============================================ */

@media only screen and (max-width: 860px) {
  .location-radius-field > .filter-field.location {
    max-width: unset;
  }

  .location-radius-field > .filter-field.radius {
    max-width: unset;
  }
}

@media (max-width: 768px) {
  .job-search-form {
    flex-direction: column;
    align-items: stretch;
    max-width: unset;
  }
}
/**
 * Job Single Page Layout
 *
 * Layout styles for individual job posting pages
 * Includes header, details, content sections, and company info
 *
 * @package HRM_Institute
 */

/* ============================================
   Job Wrapper
   ============================================ */

.job-wrapper section {
  border-bottom: 1px solid var(--theme-palette-color-5);
  padding: 40px 0;
}

/* ============================================
   Job Head (Logo + Title)
   ============================================ */

.job-head-img-title {
  display: flex;
  gap: 36px;
  align-content: center;
  align-items: center;
  background-color: white;
}

.job-head-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  object-position: center center;
  padding: 5px 8px;
  aspect-ratio: 1/1;
  border-radius: var(--theme-form-field-border-radius);
}

.job-list-wrapper-card .job-head-img {
  border: unset;
}

.job-head-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.job-head-title {
  width: calc(100% - 120px);
}

.job-head-title h1 {
  margin-top: unset;
  font-size: 32px;
}

/* ============================================
   Job Heading Details
   ============================================ */

.job-heading-details {
  font-size: 18px;
  display: flex;
  margin-top: 16px;
  gap: 12px;
  color: var(--theme-palette-color-4);
}

.job-heading-details a {
  color: var(--theme-palette-color-4);
  text-decoration: underline;
}

/* ============================================
   Job Description Sections
   ============================================ */

.job-description-wrapper {
  display: flex;
  flex-direction: column;
}

.job-descripiton-wrappper {
  padding: var(--spacing-lg) 0;
}

.job-description-titles {
  font-size: 30px;
}

.div-separator {
  border-bottom: 1px solid var(--theme-palette-color-5);
}

/* ============================================
   Bewerbung Button
   ============================================ */

.bewerbung-button-wrapper {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.bewerbung-button-wrapper a {
  font-size: 22px;
}

/* ============================================
   Company Map Section
   ============================================ */

.company-maps-wrrapper {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: space-between;
}

.company-maps-wrrapper .company-info {
  min-width: 25%;
}

.company-maps-wrrapper h4 {
  margin-bottom: 5px;
  margin-top: var(--spacing-sm);
}

.iframe-container {
  margin-top: 40px;
}

/* ============================================
   Benefit List
   ============================================ */

.benefit-list {
  display: grid;
  gap: var(--spacing-2xl);
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-flow: dense;
  grid-column-start: 1;
  grid-column-end: -1;
}

.benefit-list .benefit {
  font-weight: 600;
  font-size: 16px;
}

.benefit-list .benefit span {
  color: var(--theme-palette-color-1);
  font-size: 18px;
}

/* ============================================
   Breadcrumbs
   ============================================ */

.mio-bread .last-item {
  color: var(--theme-text-color);
  pointer-events: none;
}

/* ============================================
   Sticky Button with Pulse Animation
   ============================================ */

@keyframes lightPulse {
  0%,
  100% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2),
      0 0 0 0 color-mix(in srgb, var(--theme-button-background-initial-color) 40%, transparent);
  }
  50% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2),
      0 0 0 10px color-mix(in srgb, var(--theme-button-background-initial-color) 0%, transparent);
  }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  .job-head-title h1 {
    font-size: 30px;
  }

  .company-maps-wrrapper {
    flex-direction: column;
  }
}

@media (max-width: 550px) {
  .job-head-img-title {
    flex-direction: column;
  }

  .job-head-title h1 {
    font-size: 26px;
  }

  .job-head-title {
    width: 100%;
  }

  .job-head-title nav {
    display: none;
  }

  .job-head-img {
    width: 200px;
    height: 200px;
  }

  .job-head {
    padding-top: 0 !important;
  }

  .job-heading-details,
  .company-maps-wrrapper {
    flex-direction: column;
  }
}
/**
 * Job Archive Layout
 *
 * Layout styles for job listing/archive pages
 * Includes search container with filters and job list
 *
 * @package HRM_Institute
 */

/* ============================================
   Job Search Container
   ============================================ */

.job-search-container {
  display: flex;
  gap: var(--spacing-xl);
}

.job-search-container .job-list-wrapper-list {
  flex: 1 1 80%;
}

.job-search-container .job-search-filters {
  flex: 0 0 25%;
  max-width: 320px;
}

/* ============================================
   Job Hero Form
   ============================================ */

.job-hero-form {
  background-image: linear-gradient(
    0deg,
    var(--theme-palette-color-2) 0%,
    var(--theme-palette-color-5) 100%
  ) !important;
}

/* ============================================
   YouTube Content Grid
   ============================================ */

.youtube-content {
  display: grid;
  gap: var(--spacing-xl);
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.youtube-item h5 {
  margin-bottom: var(--spacing-sm);
}

.youtube-iframe {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.youtube-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ============================================
   Logo Grid (Messen/Partners)
   ============================================ */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: var(--spacing-xl);
  list-style: none;
  padding: 0;
  margin: var(--spacing-xl) 0;
}

.logo-grid li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.logo-grid li:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.logo-grid li img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ============================================
   Custom HTML Iframe
   ============================================ */

#custom-html-iframe {
  border: none;
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

/* ============================================
   Global Content Padding
   ============================================ */

:root {
  --global-content-edge-padding: 15px;
}

body #header [data-row] > div {
  padding: 0 var(--global-content-edge-padding, 15px);
  width: 100%;
  max-width: 1290px;
}

.blog .ct-container {
  padding-left: var(--global-content-edge-padding, 15px) !important;
  padding-right: var(--global-content-edge-padding, 15px) !important;
}

/* ============================================
   Responsive Design
   ============================================ */

@media only screen and (max-width: 1080px) {
  .job-search-container {
    flex-direction: column;
  }
}

@media (max-width: 1290px) {
  :root {
    --global-content-edge-padding: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --global-content-edge-padding: 1rem;
  }
}

@media (max-width: 500px) {
  .job-search-container .job-search-filters {
    flex: 0 0 25%;
    max-width: unset;
    width: 100%;
  }
}
/**
 * Utility Classes
 *
 * Helper classes for common patterns and adjustments
 *
 * @package HRM_Institute
 */

/* ============================================
   Blocksy Button Overrides
   ============================================ */

.wp-block-kadence-advancedbtn .minimal-button {
  border: unset !important;
  color: var(--theme-palette-color-3, #404040) !important;
}

/* ============================================
   Icon Color Utilities
   ============================================ */

.icon-white,
i.icon-white:before {
  color: white !important;
}

/* ============================================
   Suggestions Box
   ============================================ */

#suggestions-box div.highlight {
  background-color: #eee;
}

/* ============================================
   Accessibility & Focus States
   ============================================ */

/* Add focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--theme-palette-color-1);
  outline-offset: 2px;
}

/* ============================================
   Print Styles
   ============================================ */

@media print {
  .filter-toggle-btn,
  .filter-close-btn,
  .job-search-filters,
  .sticky-button {
    display: none !important;
  }

  .job-list-wrapper-card,
  .job-list-wrapper-list {
    display: block !important;
  }

  .single-job-list-wrapper {
    page-break-inside: avoid;
  }
}

/* ============================================
   Loading States
   ============================================ */

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--theme-palette-color-5);
  border-top-color: var(--theme-palette-color-1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ============================================
   Responsive Utilities
   ============================================ */

/* Hide on mobile */
@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

/* Hide on desktop */
@media (min-width: 769px) {
  .hide-desktop {
    display: none !important;
  }
}

/* ============================================
   Spacing Utilities
   ============================================ */

.mt-0 {
  margin-top: 0 !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}

/* ============================================
   Messe Cards Grid (messewebseiten_links)
   ============================================ */

.messe-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
}

.messe-card {
  background: white;
  border-radius:0 0  var(--radius-lg) 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.messe-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.messe-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.messe-card-image-wrap {
  background-color: #ededed;
  padding: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.messe-card-image-wrap img.messe-card-image {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.messe-card-content {
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.messe-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 var(--spacing-sm);
  color: var(--theme-headings-color);
  line-height: 1.3;
}

.messe-card-description {
  font-size: 0.95rem;
  color: var(--theme-text-color);
  margin: 0;
  line-height: 1.6;
}

/* Responsive: 2 columns on tablet */
@media (max-width: 990px) {
  .messe-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive: 1 column on mobile */
@media (max-width: 600px) {
  .messe-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Logo Slider (mio_logo_slider)
   ============================================ */

.logo-slider-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-slider-track {
  display: flex;
  gap: var(--spacing-xl);
  animation: logoSlide 30s linear infinite;
  width: max-content;
    margin-bottom:1rem; 

}

.logo-slider-wrapper:hover .logo-slider-track {
  animation-play-state: paused;
}

.logo-slider-item {
  flex-shrink: 0;
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.logo-slider-item:hover {
  transform: scale(1.05);
}

.logo-slider-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.logo-slider-item img {
  max-width: 80%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition-base);
}

.logo-slider-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes logoSlide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive: Smaller items on mobile */
@media (max-width: 768px) {
  .logo-slider-item {
    width: 140px;
    height: 100px;
  }

  .logo-slider-item img {
    max-height: 60px;
  }
}

/* ============================================
   Berufe FAQ Accordion
   ============================================ */

.berufe-faq-section {
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-xl);
  background: white;
  border-radius: var(--radius-lg);
}

.faq-section-title {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-xl);
  color: var(--theme-headings-color);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.faq-item {
  border: 1px solid var(--theme-border-color, #e5e5e5);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.faq-item:hover {
  border-color: var(--theme-palette-color-1);
}

.faq-item.active {
  border-color: var(--theme-palette-color-1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  background: var(--theme-palette-color-6, #f9f9f9);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--theme-headings-color);
  transition: var(--transition-base);
}

.faq-question:hover {
  background: var(--theme-palette-color-5, #f0f0f0);
}

.faq-question-text {
  flex: 1;
  padding-right: var(--spacing-md);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.5s ease-in;
}

.faq-answer-content {
  padding: var(--spacing-lg);
  background: white;
  line-height: 1.7;
  color: var(--theme-text-color);
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .berufe-faq-section {
    padding: var(--spacing-lg);
  }

  .faq-question {
    padding: var(--spacing-md);
    font-size: 1rem;
  }

  .faq-answer-content {
    padding: var(--spacing-md);
  }
}

/* Related Job Posts - Widget Style */
.related-job-posts {
    background-color: white;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-top: 1.5rem;
}

.job-posts-title {
    font-size: x-large;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.job-posts-list {
    display: flex;
    flex-direction: column;
}

.job-post-card {
    display: flex;
    align-items: center;
    padding: var(--spacing-lg) 0;
    border-bottom: 1px dotted;
    text-decoration: none;
    color: inherit;
}

.job-post-card:last-child {
    border-bottom: none;
}

.job-post-card:hover .job-post-title {
    color: var(--primary-color);
}

.job-post-content {
    flex: 1;
    min-width: 0;
}

.job-post-title {
    font-size: 19.2px;
    font-weight: 500;
    margin: 0;
    hyphens: auto;
    word-break: break-word;
}

.job-post-meta {
    font-size: 0.85rem;
    color: var(--theme-text-color, #666);
    margin-top: 0.25rem;
}

.job-post-salary {
    display: none;
}

.job-post-arrow {
    font-size: 1.25rem;
    color: var(--theme-palette-color-2, #95a839);
    margin-left: 0.75rem;
    flex-shrink: 0;
}

/* Berufe Cities Left Container */
.berufe-cities.left {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
}

.related-job-posts {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-top: 1.5rem;
}

/* ============================================
   Jobs CTA Card
   Brand-green accent card sitting under the
   Stellenausschreibungen list. Whole card is
   the link target — high tap area, hover lift.
   ============================================ */

.jobs-cta-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg) var(--spacing-xl);
    background:
        linear-gradient(135deg, rgba(149, 168, 57, 0.08) 0%, rgba(149, 168, 57, 0.02) 100%),
        var(--theme-palette-color-8, #ffffff);
    border: 1px solid rgba(149, 168, 57, 0.22);
    border-left: 4px solid var(--theme-palette-color-2, #95a839);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base, 0.3s ease),
                box-shadow var(--transition-base, 0.3s ease),
                border-color var(--transition-base, 0.3s ease);
}

.jobs-cta-card:hover,
.jobs-cta-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
    border-color: var(--theme-palette-color-2, #95a839);
    color: inherit;
    text-decoration: none;
}

.jobs-cta-card:focus-visible {
    outline: 2px solid var(--theme-palette-color-2, #95a839);
    outline-offset: 3px;
}

.jobs-cta-content {
    flex: 1;
    min-width: 0;
}

.jobs-cta-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--theme-palette-color-2, #95a839);
    margin-bottom: 0.35rem;
}

.jobs-cta-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 0.35rem;
    color: var(--theme-palette-color-1, #232323);
}

.jobs-cta-text {
    font-size: 0.9rem;
    color: var(--theme-palette-color-3, #393939);
    margin: 0;
    line-height: 1.45;
}

.jobs-cta-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--theme-palette-color-2, #95a839);
    color: var(--theme-palette-color-8, #ffffff);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    transition: transform var(--transition-base, 0.3s ease);
}

.jobs-cta-card:hover .jobs-cta-arrow,
.jobs-cta-card:focus-visible .jobs-cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 540px) {
    .jobs-cta-card {
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-md);
    }
    .jobs-cta-arrow {
        width: 36px;
        height: 36px;
    }
    .jobs-cta-title {
        font-size: 1.05rem;
    }
}

/* ============================================
   Ausbildung Salary Stack
   Single .side-widget hosting two labelled
   sub-blocks: "Während" and "Nach". A hairline
   divider separates them; eyebrow chips above
   each title carry the small narrative.
   ============================================ */

.side-widget-ausbildung-stack {
    gap: var(--spacing-xl);
}

.side-widget-ausbildung-stack .salary-block {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.side-widget-ausbildung-stack .salary-block + .salary-block {
    padding-top: var(--spacing-xl);
    border-top: 1px dashed var(--theme-palette-color-5, #edeff2);
}

.salary-block-label {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 0.25rem;
}

.salary-block-during .salary-block-label {
    background: rgba(149, 168, 57, 0.14);
    color: var(--theme-palette-color-2, #95a839);
}

.salary-block-after .salary-block-label {
    background: var(--theme-palette-color-5, #edeff2);
    color: var(--theme-palette-color-1, #232323);
}

.side-widget-ausbildung-stack .widget-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--theme-palette-color-1, #232323);
}

.side-widget-ausbildung-stack .salary-widget {
    padding: var(--spacing-md) 0;
    font-size: 1rem;
    border-bottom-color: var(--theme-palette-color-5, #edeff2);
}

.side-widget-ausbildung-stack .salary-widget:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.side-widget-ausbildung-stack .salary-label {
    flex: 1;
    color: var(--theme-palette-color-3, #393939);
}

.side-widget-ausbildung-stack .salary {
    font-weight: 700;
    color: var(--theme-palette-color-2, #95a839);
    white-space: nowrap;
}

/* ============================================
   Setcard Hero — refined editorial treatment
   ============================================ */

.set-card-content .top-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-palette-color-2, #95a839);
    margin: 0 0 var(--spacing-md) 0;
    padding: 6px 14px;
    background: rgba(149, 168, 57, 0.12);
    border-radius: 999px;
}

.set-card-content .set-card-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 var(--spacing-xl) 0;
    color: var(--theme-palette-color-1, #232323);
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.set-card-content .top-title {
    max-width: 100%;
}

/* Setcard fact grid (dl-based, replacing the old ul list) */
.set-card-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg) var(--spacing-xl);
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
    width: 100%;
    max-width: 560px;
}

.set-card-fact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: var(--spacing-md);
    border-left: 2px solid rgba(149, 168, 57, 0.28);
}

.set-card-fact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--theme-palette-color-3, #393939);
    opacity: 0.7;
    margin: 0;
}

.set-card-fact-value {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--theme-palette-color-1, #232323);
    hyphens: auto;
    word-break: break-word;
}

.set-card-fact-unit {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--theme-palette-color-3, #393939);
    opacity: 0.6;
    margin-left: 2px;
}

@media (max-width: 768px) {
    .set-card-details {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* ============================================
   Article Hero Eyebrow
   ============================================ */

.article-hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-palette-color-2, #95a839);
    padding: 6px 14px;
    background: rgba(149, 168, 57, 0.12);
    border-radius: 999px;
    margin: 0 0 var(--spacing-md) 0;
}

.article-hero h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--theme-palette-color-1, #232323);
    font-weight: 700;
    hyphens: auto;
}

/* ============================================================
   Berufe Single — Typography Refinements
   ============================================================
   Uses the theme's existing font stack. Only tuning size,
   weight, letter-spacing, and line-height for better hierarchy.
   Scoped to `.berufe-single` so the rest of the site is
   untouched.
   ============================================================ */

.berufe-single {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Refined hero title */
.berufe-single .set-card-content .set-card-title {
    font-size: clamp(1.9rem, 4.2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.025em;
    /* German hyphenation at syllable boundaries, never mid-character */
    hyphens: auto;
    -webkit-hyphens: auto;
    overflow-wrap: normal;
    word-break: normal;
}

/* Eyebrow chip — refined type details */
.berufe-single .set-card-content .top-title {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    padding: 7px 14px 6px;
}

/* Fact grid — optical polish */
.berufe-single .set-card-fact-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    opacity: 0.65;
}

.berufe-single .set-card-fact-value {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

/* Tabular numbers for crisp salary alignment */
.berufe-single .salary,
.berufe-single .set-card-fact-value {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* Widget titles */
.berufe-single .side-widget-ausbildung-stack .widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.005em;
}

/* CTA card title */
.berufe-single .jobs-cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Body improvements */
.berufe-single .beruf-main-description,
.berufe-single .article-section-inner-content {
    line-height: 1.6;
}

/* ============================================================
   Berufe Single — Mobile Refinements
   ============================================================ */

@media (max-width: 768px) {
    /* Hide the background model image bleed entirely on mobile —
       it ghosts behind the text and hurts legibility. */
    .berufe-single .set-card-container .setcard-img-wrapper {
        display: none !important;
    }

    /* Tighter setcard container padding on mobile */
    .berufe-single .set-card-container {
        padding: var(--spacing-lg);
    }

    .berufe-single .set-card-content {
        padding: var(--spacing-md) 0;
        width: 100%;
    }

    /* Title: small enough that "Veranstaltungskauffrau" fits a 390px
       container without needing hyphenation. The German hyphenation
       dictionary isn't reliable on all browsers, and mid-character
       breaks look terrible. Smaller font is the safer fix. */
    .berufe-single .set-card-content .set-card-title {
        font-size: clamp(1.35rem, 5.5vw, 1.8rem);
        line-height: 1.08;
        letter-spacing: -0.02em;
        hyphens: auto;
        -webkit-hyphens: auto;
        overflow-wrap: break-word;
        word-break: normal;
        max-width: 100%;
    }

    /* Eyebrow stays single-line on mobile */
    .berufe-single .set-card-content .top-title {
        font-size: 0.6rem;
        letter-spacing: 0.14em;
        padding: 5px 10px 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Fact grid: single column with tighter spacing */
    .berufe-single .set-card-details {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .berufe-single .set-card-fact-value {
        font-size: 1rem;
    }

    /* Article hero tightens */
    .berufe-single .article-hero h2 {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
        line-height: 1.1;
    }

    /* Jobs CTA: compact on small screens */
    .berufe-single .jobs-cta-card {
        padding: var(--spacing-md) var(--spacing-lg);
        gap: var(--spacing-md);
    }

    .berufe-single .jobs-cta-title {
        font-size: 1.05rem;
    }

    .berufe-single .jobs-cta-eyebrow {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .berufe-single .jobs-cta-text {
        font-size: 0.85rem;
    }

    .berufe-single .jobs-cta-arrow {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    /* Salary stack — tighter on mobile */
    .berufe-single .side-widget-ausbildung-stack {
        padding: var(--spacing-lg);
        gap: var(--spacing-lg);
    }

    .berufe-single .side-widget-ausbildung-stack .widget-title {
        font-size: 1rem;
    }

    .berufe-single .salary-block-label {
        font-size: 0.6rem;
        letter-spacing: 0.12em;
    }

    .berufe-single .side-widget-ausbildung-stack .salary-widget {
        font-size: 0.95rem;
    }

    /* Menu: wrap cleanly, no underlines flying everywhere */
    .berufe-single .main-content-menu {
        gap: var(--spacing-sm) var(--spacing-lg);
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .berufe-single .main-content-menu a {
        font-size: 0.95rem;
    }

    /* Breadcrumb: tighten the wall of text above the setcard */
    .berufe-single .ct-breadcrumbs,
    .ct-container > .ct-breadcrumbs {
        font-size: 0.78rem;
        line-height: 1.4;
    }
}

@media (max-width: 420px) {
    .berufe-single .set-card-content .set-card-title {
        font-size: clamp(1.25rem, 5.5vw, 1.6rem);
    }
}

/* ============================================================
   Article Table of Contents
   ============================================================
   Semantic <nav><ol> structure with refined typography.
   Sticky on desktop so it stays visible while scrolling
   long Beruf articles. Numbers use a CSS counter via the
   <span class="article-toc-num"> for clean alignment.
   ============================================================ */

/* Override the legacy `.articlie-toc a { font-size: larger }`
   that was making links oversized. */
.berufe-single .articlie-toc a,
.berufe-single .article-toc a {
    font-size: 0.875rem;
}

.berufe-single .article-toc {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--theme-palette-color-8, #ffffff);
    border-radius: var(--radius-lg);
}

.berufe-single .article-toc-heading {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-palette-color-3, #393939);
    opacity: 0.6;
    margin: 0;
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--theme-palette-color-5, #edeff2);
}

.berufe-single .article-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    counter-reset: toc;
}

.berufe-single .article-toc-item {
    margin: 0;
    padding: 0;
}

.berufe-single .article-toc-link {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--theme-palette-color-3, #393939);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.18s ease, padding 0.18s ease, border-color 0.18s ease;
}

.berufe-single .article-toc-link:hover,
.berufe-single .article-toc-link:focus-visible {
    color: var(--theme-palette-color-2, #95a839);
    padding-left: 4px;
    text-decoration: none;
}

.berufe-single .article-toc-link:focus-visible {
    outline: 2px solid var(--theme-palette-color-2, #95a839);
    outline-offset: 2px;
    border-radius: 3px;
}

.berufe-single .article-toc-num {
    flex-shrink: 0;
    width: 1.6em;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--theme-palette-color-2, #95a839);
    opacity: 0.85;
}

.berufe-single .article-toc-text {
    flex: 1;
    min-width: 0;
    font-weight: 500;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Sticky TOC on desktop so it stays in view on long articles */
@media (min-width: 992px) {
    .berufe-single .articlie-toc.right {
        position: sticky;
        top: 100px;
        align-self: flex-start;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        padding: 0;
    }
    .berufe-single .articlie-toc.right::-webkit-scrollbar {
        width: 4px;
    }
    .berufe-single .articlie-toc.right::-webkit-scrollbar-thumb {
        background: var(--theme-palette-color-5, #edeff2);
        border-radius: 2px;
    }
}

/* Anchor scroll padding so links don't land flush against the
   sticky site header — gives the heading breathing room when
   the user clicks a TOC item. */
.berufe-single .article-section-title,
.berufe-single .article-section[id] {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .berufe-single .article-toc {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    .berufe-single .article-toc-link {
        font-size: 0.85rem;
        padding: 0.45rem 0;
    }
    .berufe-single .article-toc-num {
        font-size: 0.7rem;
        width: 1.5em;
    }
}

/* Hide the giant 4-line breadcrumb above the setcard on mobile —
   it's just navigation noise on small screens. Keep it on desktop. */
@media (max-width: 768px) {
    .berufe-single + .ct-breadcrumbs,
    body.single-berufe .entry-meta + .ct-breadcrumbs,
    body.single-berufe .ct-breadcrumbs {
        font-size: 0.72rem;
        line-height: 1.35;
        opacity: 0.7;
    }
}

/* ============================================================
   Berufe FAQ — Native <details>/<summary> accordion
   ============================================================
   Replaces the old class-toggled .faq-item.active markup.
   Uses [open] for state, hides the default disclosure marker,
   and aligns with the brand-green palette.
   ============================================================ */

.berufe-faq-section {
    margin: var(--spacing-2xl) 0;
    padding: var(--spacing-2xl);
    background: var(--theme-palette-color-8, #ffffff);
    border-radius: var(--radius-lg);
}

.berufe-faq-section .faq-section-title {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin: 0 0 var(--spacing-xl) 0;
    color: var(--theme-palette-color-1, #232323);
}

.berufe-faq-section .faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

/* Native details element — strip the default marker and flow as a block. */
.berufe-faq-section .faq-item {
    display: block;
    border: 1px solid var(--theme-palette-color-5, #edeff2);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--theme-palette-color-8, #ffffff);
    transition: border-color var(--transition-base, 0.3s ease),
                box-shadow var(--transition-base, 0.3s ease);
    /* clear any inherited "active class" rules from the legacy CSS */
    max-height: none;
}

.berufe-faq-section .faq-item:hover {
    border-color: rgba(149, 168, 57, 0.45);
}

.berufe-faq-section .faq-item[open] {
    border-color: var(--theme-palette-color-2, #95a839);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Summary becomes the clickable question header */
.berufe-faq-section .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--theme-palette-color-7, #f9fafb);
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background var(--transition-base, 0.3s ease);
}

/* Hide native disclosure marker across browsers */
.berufe-faq-section .faq-question::-webkit-details-marker {
    display: none;
}
.berufe-faq-section .faq-question::marker {
    display: none;
    content: "";
}

.berufe-faq-section .faq-item:hover .faq-question {
    background: var(--theme-palette-color-6, #f2f7f4);
}

.berufe-faq-section .faq-item[open] .faq-question {
    background: var(--theme-palette-color-6, #f2f7f4);
}

.berufe-faq-section .faq-question:focus-visible {
    outline: 2px solid var(--theme-palette-color-2, #95a839);
    outline-offset: 2px;
}

/* The question text is an <h3> for document outline.
   Reset its block defaults so it sits on the summary's flex line. */
.berufe-faq-section .faq-question-text {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.005em;
    color: var(--theme-palette-color-1, #232323);
    hyphens: auto;
    -webkit-hyphens: auto;
}

.berufe-faq-section .faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--theme-palette-color-2, #95a839);
    transition: transform 0.25s ease;
}

.berufe-faq-section .faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

/* Answer body — no max-height tricks needed, <details> handles open state */
.berufe-faq-section .faq-answer {
    max-height: none;
    overflow: visible;
}

.berufe-faq-section .faq-answer-content {
    padding: var(--spacing-lg) var(--spacing-lg) calc(var(--spacing-lg) + 4px);
    line-height: 1.6;
    color: var(--theme-palette-color-3, #393939);
    border-top: 1px solid var(--theme-palette-color-5, #edeff2);
}

.berufe-faq-section .faq-answer-content p:first-child {
    margin-top: 0;
}

.berufe-faq-section .faq-answer-content p:last-child {
    margin-bottom: 0;
}

.berufe-faq-section .faq-answer-content a {
    color: var(--theme-palette-color-2, #95a839);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.berufe-faq-section .faq-answer-content a:hover {
    text-decoration-thickness: 2px;
}

.berufe-faq-section .faq-answer-content blockquote {
    margin: var(--spacing-md) 0;
    padding: 0 0 0 var(--spacing-lg);
    border-left: 3px solid var(--theme-palette-color-2, #95a839);
    color: var(--theme-palette-color-1, #232323);
}

.berufe-faq-section .faq-answer-content blockquote p {
    margin: 0 0 var(--spacing-sm);
}

/* Subtle expand animation on the answer panel */
@media (prefers-reduced-motion: no-preference) {
    .berufe-faq-section .faq-item[open] > .faq-answer {
        animation: faq-fade-in 0.25s ease-out;
    }
}

@keyframes faq-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .berufe-faq-section {
        padding: var(--spacing-lg);
        margin: var(--spacing-xl) 0;
    }
    .berufe-faq-section .faq-question {
        padding: var(--spacing-md) var(--spacing-lg);
    }
    .berufe-faq-section .faq-question-text {
        font-size: 0.95rem;
    }
    .berufe-faq-section .faq-icon {
        width: 20px;
        height: 20px;
    }
    .berufe-faq-section .faq-answer-content {
        padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
        font-size: 0.95rem;
    }
}

