.kariera1 {
    display: flex;
    align-items: center;
    color: #004996;
}
.kariera1 img {
    width: 100%;
    height: 100%;
    max-width: 40%;
    max-height: 580px;
    margin-right: 100px;
}
.benefits {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 25px 20px;
    align-content: center;
}
.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 50px;
    border: 1px solid #004996;
    border-radius: 16px;
    height: fit-content;
    height: 85px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}
.kariera1 a,
.vyroba-link a {
    font-size: 12px;
    color: white;
    background-color: #004996;
    padding: 10px 40px;
    border-radius: 20px;
    width: fit-content;
    margin-top: 35px;
    text-decoration: none;
    text-transform: uppercase;
}
.vyroba-link {
    display: flex;
    width: fit-content;
    margin: 0px auto;
}
.benefits-flex {
    display: flex;
    flex-direction: column;
    width: 100%;
}
@media (max-width: 1200px) {
	.benefit {
        padding: 10px 15px;
        font-size: 18px;
    }
}
@media (max-width: 900px) {
	.kariera1 {
        flex-direction: column;
    }
    .kariera1 img {
        width: 100%;
        height: 100%;
        max-width: 70%;
        max-height: none;
        display: block;
        margin: 0px auto 40px auto;
    }
    .benefits {
        width: 100%;
    }
    .benefit {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 500px) {
    .benefit {
        justify-items: center;
        font-size: 16px;
    }
    .benefits {
	    grid-template-columns: repeat(1, 1fr);
        justify-items: center;
    }
    .kariera1 a {
        display: block;
        margin: 30px auto 0px auto;
    }
}

/*JOBS*/
.job-text {
    margin-top: 100px;
    width: 100%;
    font-size: 18px;
    text-align: center;
    padding: 20px 10px;
    background-color: #004996;
    border-radius: 10px;
}

.filter-text {
    white-space: nowrap;
    margin-top: 5px;
    margin-right: 15px;
    font-weight: bold;
}

.job-text p {
    color: white;
}

.team-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.team-checkboxes input {
    width: 25px;
    height: 25px;
}

.team-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.team-checkboxes label {
    display: flex;
    align-items: center;
}

.filter-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: bold;
  color: #004996;
  user-select: none;
  position: relative;
}

.job-arrow {
    height: 25px;
    width: 25px;
}

.filter-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-checkbox {
  width: 25px;
  height: 25px;
  border: 1px solid #004996;
  border-radius: 5px;
  background-color: white;
  position: relative;
  transition: border-color 0.1s ease;
}

.custom-checkbox::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;      
  height: 12px;
  background-color: red;
  border-radius: 3px;
  border: 2px solid red;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.1s ease;
}

.filter-label input[type="checkbox"]:checked + .custom-checkbox {
  border-color: red;
}

.filter-label input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
}

.filter-label input[type="checkbox"]:checked ~ .label-text {
  color: red;
}


/*JOBS POSTS*/
.jobs {
    margin-top: 50px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 
	gap: 20px;
}
@media (min-width: 768px) {
    .jobs {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    }
}
.job {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #004996;
	border: 1px solid #004996;
	border-radius: 20px;
	height: 200px;
	padding-left: 30px;
    text-decoration: none;
    transition: 0.3s all;
}

.job:hover {
    transform: scale(1.03) !important;
}
.heading-jobs {
	width: 100%;
	max-width: 850px;
	margin: 75px auto 30px auto;
	max-width: 850px;
    margin: 75px auto 30px auto;
}
.job h3 {
	font-size: 24px;
	margin-bottom: 15px;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .job h3 {
        font-size: 18px;
    }
}
.job p {
	text-align: left;
}
.heading-jobs p {
	margin-top: 5px;
}
.job-arrow-wrap {
    position: absolute;
    bottom: 15px;
    right: 20px;
}
.icon {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.money {
	width: 29px;
	height: 29px;
}
.time {
	width: 21px;
	height: 21px;
}
.job-line {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 9px 0px;
}
.job-line p {
	font-size: 16px;
}
.job a {
	position: absolute;
	bottom: 20px;
	right: 20px;
}

/*BOXES*/
.color-boxes {
    margin-top: 85px;
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 
	gap: 20px;
}
@media (min-width: 768px) {
    .color-boxes {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    }
}
.kariera-box {
	display: flex;
	flex-direction: column;
	justify-content: center;
    align-items: center;
    border-radius: 20px;
	min-height: 180px;
    padding: 40px;
    gap: 20px;
}
.kariera-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.box-blue {
    background-color: #004996;
}
.box-green {
    background-color: #AFC100;
}
.box-grey {
    background-color: #B0B0B0;
}
.kariera-box h3 {
    font-size: 25px;
    color: white;
    text-align: center;
}
.kariera-box p {
    font-size: 18px;
    color: white;
    text-align: center;
}
.kariera-btn,
.open-form-btn {
    padding: 10px 35px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;  
    border: none;
    cursor: pointer;  
    width: fit-content;
}
.open-form-btn {
    position: relative;
    margin-top: auto;
}
.kariera-btn-white {
    color: #004996;
    background-color: white;
}
.kariera-btn-blue {
    color: white;
    background-color: #004996;   
}

/*BENEFITS OFFER*/
.offer {
    width: 100%;
    border-radius: 20px;
    background-color: #EAF4FF;
    margin-top: 100px;
    padding: 5px 5px 70px 5px;
    scroll-margin-top: 75px;
}
.offer h2 {
    padding: 50px 0px 30px 0px;
}
.benefit-boxes {
    display: grid;
	grid-template-columns: repeat(auto-fit, minmax(100%, 1fr)); 
	gap: 20px;
}
@media (min-width: 768px) {
    .benefit-boxes {
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    }
}
.benefit-box {
    display: flex;
	flex-direction: column;
    border-radius: 20px;
	min-height: 165px;
    padding: 20px 30px;
    gap: 10px;
    border: 1px solid #004996;
    position: relative;
}
.benefit-box h3 {
    font-size: 24px;
    color: #004996;
    text-align: left;
}
.benefit-box p {
    font-size: 16px;
    text-align: left;
}
.benefit-box a {
    margin-right: auto;
    margin-top: 15px;
}
.benefit-box-blue {
    background-color: #004996;
}
.benefit-box-blue h3,
.benefit-box-blue p {
    color: white;
}
.ellipsis {
	display: -webkit-box;
    line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/*CONTACT*/
.kariera-contact {
    margin-top: 40px;
}
.phones {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: stretch;
    margin-top: 50px;
    justify-content: center;
}

.job-phone {
	flex: 1 1 calc(25% - 20px);
	padding: 30px;
	border-radius: 20px;
	color: #004996;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.job-phone p {
    font-size: 20px;
    font-weight: bold;
}
.job-phone a {
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    color: #004996;
}

.phone-icon {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.phone-icon img {
    width: 28px;
    height: 28px;
}

@media (max-width: 992px) {
	.job-phone {
		flex: 1 1 calc(33.333% - 20px);
	}
}

@media (max-width: 768px) {
	.job-phone {
		flex: 1 1 calc(50% - 20px);
	}
}

@media (max-width: 480px) {
	.job-phone {
		flex: 1 1 100%;
	}
    .job-post-form form input[type='submit'] {
        padding: 10px 40px;
    }
}


/*GALLERY*/
.gallery {
	width: 100%;
    margin-top: 100px;
    margin-bottom: 70px;
}

.swiper-slide img {
    width: 100%;
	height: 230px;
	border-radius: 20px;
	cursor: pointer;
    object-fit: cover;
    user-select: none;
}

.swiper-button-next::after,
.swiper-button-prev::after {
	display: none;
	content: none;
}

.custom-prev,
.custom-next {
	position: relative;
	z-index: 10;
	cursor: pointer;
	width: 40px;
	height: 40px;
    user-select: none;
}

.custom-prev {
	left: 10px;
    transform: rotate(180deg);
}

.custom-next {
	right: 10px;
}

.custom-prev img,
.custom-next img {
	width: 100%;
	opacity: 1;
	transition: opacity 0.3s ease;
}

.swiper-button-disabled img {
	opacity: 0.3;
	pointer-events: none;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
}

.arrows {
    width: fit-content;
    margin-left: auto;
    display: flex;
    margin-top: 50px;
    gap: 7px;
}

#lightbox-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

#lightbox-overlay img {
	max-width: 90vw;
	max-height: 90vh;
	border-radius: 20px;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
    user-select: none;
    -webkit-user-drag: none;
}


/*SINGLE JOB POSTS */
.job-post-heading {
    margin-top: 10px;
}
.job-post-heading h1 {
    font-size: 30px;
    color: #004996;
    text-align: center;
    text-transform: uppercase;
}
.job-post-form {
    flex: 0 0 40%;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #004996;
}
.job-post-form h3 {
    color: #004996;
    font-size: 22px;
    text-align: center;
    margin-bottom: 10px;
}
.job-post-form p {
    margin-bottom: 25px;
    font-size: 16px;
}
.job-post-form form {
    display: flex;
    gap: 20px;
    flex-direction: column;
}
.job-post-form form .input { 
    display: flex;
    align-items: center;
}
.job-post-form form input[type='text'],
.job-post-form form input[type='email'],
.job-post-form form input[type='tel'],
.job-post-form form textarea {
    max-width: 100%;
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: 1px solid #004996;
    font-size: 18px;
    color: black;
}
.job-post-form form textarea {
    border-radius: 15px;
    height: 200px;
}
.job-post-form form input[type='checkbox'] {
    width: 25px;
    height: 25px;
}
.job-post-form form input[type='submit'] {
    margin: 0px;
    padding: 10px 80px;
    background-color: #E20613;
}
.job-post-content {
    display: flex;
    width: 100%;
	max-width: 100%;
    margin-top: 100px;
}
.job-post-content p {
    text-align: left;
}
.post-content {
    flex: 0 0 60%;
    padding-right: 30px;
}
.form-label {
    color: #B0B0B0;
    font-size: 18px;
}
.custom-file-btn {
    padding: 10px 40px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    background-color: #B0B0B0 !important;
    cursor: pointer !important;
    color: white !important;
    text-align: center !important;
}
.post-content ul {
	list-style: none;
	padding-left: 0.5em;
}

.post-content li {
	position: relative;
	padding-left: 1em;
	margin-bottom: 8px;
	line-height: 1.5;
}

.post-content li::before {
	content: "•";
	position: absolute;
	left: 0;
	top: 0;
    font-size: 18px;
}

.flex-down {
    display: flex;
    flex-direction: column;
    gap: 30px;
    height: fit-content;
}
.job-post-contact {
    display: flex;
    align-items: center;
    gap: 60px; 
    margin-top: 50px;
    justify-content: space-between;
}
.job-post-contact-left p {
    text-align: left;
}
.job-post-contact .job-phone {
    padding: 0px;
}
.job-post-contact .job-phone .phone-icon {
    justify-content: left;
}
.job-post-contact-right img {
    border-radius: 15px;
}
@media (max-width: 600px) {
    .job-post-contact {
        flex-direction: column;
        gap: 20px;
    }
    .job-post-contact-right,
    .job-post-contact-right img {
        width: 100%;
    }
    .custom-file-btn {
        padding: 10px 15px;
    }
    .form-label {
        font-size: 14px;
    }
}
.job-post-contact-left p b {
    font-size: 20px;
}
.job-post-contact-left .job-phone p a {
    font-size: 18px;
}
.benefit-box .benefit-show-more {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: auto 0px 0px auto;
    text-decoration: none;
    color: #004996;
}

@media (max-width: 1200px) {
	.job-post-content {
		flex-direction: column;
        margin-top: 40px;
	}
    .job-post-heading {
        margin-top: 50px;
    }

	.post-content,
	.flex-down {
		width: 100%;
		flex: 0 0 100%;
		padding-right: 0;
	}
    .flex-down {
        margin-top: 50px;
    }
}

.heading-description {
    font-size: 20px;
    text-align: left;
    text-transform: none;
}

.job-details {
    margin: 25px 0px;
}

.post-content p {
    margin: 10px 0px;
}


/*JOB POST SHORTOCE FORM*/
.job-post-form form .input {
    flex-direction: column;
}
.input input {
    border-radius: 50px !important;
    border-color: #004996 !important;
    font-size: 18px !important;
    padding: 25px 20px !important;
}
.input input::placeholder,
#wpforms-1140-field_9::placeholder {
    color: #B0B0B0 !important;
}
.wpforms-field {
    padding: 0px !important;
}
.wpforms-field-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
/*textarea*/
#wpforms-1140-field_9 {
    border-radius: 15px;
    height: 200px;
    border-color: #004996 !important;
    font-size: 18px;
}

#wpforms-submit-1140 {
    margin: 0px !important;
    padding: 10px clamp(10px, 10vw, 80px) !important;
    background-color: #E20613 !important;
    border-radius: 50px !important;
    width: fit-content !important;
}
.job-post-form .wpforms-field-label-inline {
    color: #004996 !important;
    font-size: 14px !important;
}
.wpforms-field.wpforms-field-file-upload label {
    display: inline;
    width: fit-content;
}
.wpforms-field-label {
    color: #B0B0B0 !important;
    font-size: 18px !important;
    font-weight: normal !important;
}

div.wpforms-container-full .wpforms-confirmation-container-full {
    border-radius: 15px !important;
}

#wpforms-1140-field_10 {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
#wpforms-1140-field_14 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-row {
    align-items: center !important;
    justify-content: left !important;
    gap: 10px !important;
    margin: 0 !important;
}
@media screen and (max-width: 600px) {
    div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-row {
        align-items: start !important;
    }
}
.wpforms-layout-column.wpforms-layout-column-50 {
    width: fit-content !important;
}
div.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-column {
    padding: 0 !important;
}
#wpforms-1140-field_19-container {
	display: none;
}
#wpforms-form-1140 {
    --wpforms-field-size-checkbox-size: 25px !important;
    --wpforms-field-border-color: #004996 !important;
    --wpforms-button-background-color: #004996 !important;
}

.file-names {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.file-names span {
    background-color: #f2f2f2 !important;
    padding: 5px 8px !important;
}
.job-post-form div.wpforms-container-full input[type=checkbox]:before {
    border-radius: 5px !important;
}
.job-post-form div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul {
    display: flex !important;
    align-items: center !important;
}
.job-post-form div.wpforms-container-full input[type=checkbox]:before, .job-post-form div.wpforms-container-full input[type=checkbox]:after {
    top: 0px !important;
    left: 0px !important;
}
.job-post-form div.wpforms-container-full .wpforms-field.wpforms-field-checkbox ul li {
    align-items: center !important;
}