

.logajob-single .templateGallerie,
.logajob-single .logaJobsRelated,
.logajob-single .logaJobsDescription,
.logajob-single .logaJobsVideo {
    width: 100%;
    max-width: 1314px;
    margin-inline: auto;
}



.logajob-single .keyvisual_pds {
    margin-bottom: 200px;
}

.kpds_design_element_mobile{
    display: none;
    bottom: -25px;
    right: -25px;
    width: 100%;
    max-width: 75px;
    height: auto;
}
.kpds_design_element_mobile svg{
    max-width: 75px;
}

@media (max-width: 1160px) {
    .logajob-single .kpds_grid .left-bottom{
        position: absolute;
        justify-self: flex-start;
        align-self: flex-end;
        bottom: -130px;
    }
    .kpds_design_element{
        display: none;
    }
    .kpds_design_element_mobile svg{
        display: block;
        position: absolute;
        bottom: 0;
        right: 0;
    }
}



.keyvisual_pds .left-bottom .logaJobsLabels {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.keyvisual_pds .left-bottom .logaJobsLabels span {
  display: inline-flex;
  padding: 3px 13px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 15px;
  background: #E4E4E4;
}
.keyvisual_pds .left-bottom{
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding-left: clamp(24px,5vw,60px);
}
.keyvisual_pds .left-bottom .jobNew{
    margin-bottom: 20px;
}

.logajobs-modal header,
.logajobs-modal footer{
    display: none;
}
.__logaJobs > h2{
    margin-bottom: 40px;
    margin-left: 11px;
}
.logaJobsContainer{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(281px, 380px), 1fr));
    gap: 20px;
}
.logaJobsContainer .jobs_single{
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 25px;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.14);
    padding: 24px 36px;
    text-decoration: none;
}
.logaJobsContainer a{
    font-weight: 400;
}
.logaJobsContainer .jobs_single h3{
    margin: 0;
}
.logaJobsContainer .jobs_single span{
    color: #757575;
    font-size: 14px;
}
.logaJobsContainer .logaJobsLabels{
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.logaJobsContainer .logaJobsLabels span{
    display: inline-flex;
    padding: 3px 13px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 15px;
    background: #E4E4E4;
}

.jobNew{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.jobNew .jobNewLabel{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--clr-primary);
    padding: 1px 10px;
    border-radius: 100vmax;
    color: white !important;
    width: 54px;
}

/* Modal Base */
.logajobs-modal .entry-content > div:first-of-type:not(.keyvisual_pds) {
    margin-top: 0;
}
.logajobs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: logajobs-slide-up .25s ease;
}
.logajobs-modal.is-active {
    display: flex;
}
.logajobs-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.logajobs-modal-content {
    position: relative;
    background: #fff;
    width: 97%;
    max-width: 1500px;
    height: 95dvh;
    border-radius: 41px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: logajobs-slide-up .5s ease;
}
@keyframes logajobs-slide-up {
    from { opacity: 0; }
    to { opacity: 1; }
}
.logajobs-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    z-index: 10;
    line-height: 1;
    padding: 10px;
    border-radius: 100vmax;
    transition: color 0.2s;
    box-shadow: 0 24px 44px 0 rgba(0, 0, 0, 0.15);
}
.logajobs-modal-close svg circle{
    fill: #005418;
    fill: var(--clr-PDText);
    transition: all 200ms ease-in-out;
}
.logajobs-modal-close:hover svg circle{
    fill: #005418;
    fill: var(--clr-PDHover);
}
.logajobs-modal-body {
    position: relative;
    padding: 40px;
    overflow-y: auto;
    flex-grow: 1;
}
@media (max-width: 500px){
    .logajobs-modal-close,
    .logajobs-modal-close svg{
        width: 40px !important;
        height: 40px !important;
        right: 28px;
    }
    .logajobs-modal-body {
        padding: 60px 10px 40px 10px;
    }
}
body.logajobs-modal-open {
    overflow: hidden;
}

/* Spinner */
.logajobs-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #005418;
    border-radius: 50%;
    animation: logajobs-spin 1s linear infinite;
    margin: 40px auto;
}
@keyframes logajobs-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.logajobs-error {
    text-align: center;
    color: #d9534f;
    font-weight: bold;
    padding: 20px;
}

/* Sticky / Fixed CTA Button at the Bottom of Modal */
.logajobs-modal-content:has(.logajobs-modal-cta-container) .logajobs-modal-body {
    padding-bottom: 90px; /* Platz für den unten fixierten Button */
}
.logajobs-modal-cta-container {
    position: fixed;
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: center;
    bottom: 50px;
    width: 100%;
    left: 0;
}
.logajobs-modal-cta-container a{
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 1),
                0 20px 30px rgba(0, 0, 0, 0.3);
}



.logajobs-modal img{
    float: left;
    margin: 5px 5px 5px 0;
    max-width: calc(100% - 5px);
    min-width: 5px;
}

/* Filter Form */
.logajobs-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 35px;
    padding: 21px 29px;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.14);
}
.logajobs-filter-form .filter-group {
    flex: 1 1 calc(20% - 15px);
    min-width: 180px;
}
.logajobs-filter-form select {
    width: 100%;
    padding: 12px 20px;
    border-radius: 40px;
    border: 1px solid rgba(8, 51, 41, 0.00);
    background: #FFF;
    box-shadow: 1px 2px 5px 0 rgba(0, 0, 0, 0.10) inset;
    font-size: 15px;
    color: #757575;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005418' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
    opacity: 0.8196;
}
.logajobs-filter-form select:focus {
    border-color: #005418;
    box-shadow: 0 0 0 3px rgba(0, 84, 24, 0.15);
}
@media (max-width: 768px) {
    .logajobs-filter-form {
        padding: 15px;
    }
    .logajobs-filter-form .filter-group {
        flex: 1 1 100%;
    }
}


.logajob-single .templateGallerie{
    margin-top: 50px;
    margin-bottom: 25px;
}


.templateGallerie{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(373px, 1fr));
    gap: 15px;
}
.templateGallerie img{
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-height: 210px;
    object-fit: cover;
    object-position: center center;
}





@media only screen and (max-width: 1160px) {
  .keyvisual_pds .kpds_grid {
    isolation: isolate;
    display: grid;
    grid-template-rows: max-content 50px max-content;
    grid-template-columns: 1fr;
    place-items: center;
    row-gap: 20px;
    margin-bottom: 0;
    height: auto;
  }
}