header nav a{
    font-size: 18px;
    font-weight: 500;
}

.site-header {
  height: 120px;
}


header{
  height: 120px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.career-hero{
  min-height: 70vh;
  display:flex;
  align-items:center;
  text-align:center;
  color:white;
  padding:80px 20px;
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:3px;
  font-size:48px;
  font-weight:600;
  margin-bottom:20px;
  color:white;
}


.career-hero h1{
  font-size:42px;
  line-height:1.15;
  margin:0 0 20px;
}

.career-hero p{
  max-width:850px;
  margin:0 auto 30px;
  font-size:22px;
  line-height:1.7;
}

.jobs-section{
  padding:30px 0;
  color:white;
    padding-top: 0;
        margin-top: -80px;
}

.jobs-section h2,
.career-benefits h2,
.career-contact h2{
  text-align:center;
  font-size:34px;
  margin-bottom:35px;
  color:white;
}

.jobs-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:30px;
}

.job-card{
  background:rgba(165, 165, 165, 0.404);
  backdrop-filter:blur(4px);
  border-radius:24px;
  padding:32px;
  color:white;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  transition:0.3s ease;
}


.job-card:hover{
  transform:translateY(-6px);
  background:rgba(255,255,255,0.18);
}

.job-card h1{
    font-size:16px;
    font-weight:700;
    margin:20px 0 15px;
    text-align:left;
}
.job-card .job-tag{
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
}

.job-photo{
  width: calc(100% + 64px);
  height: 320px;
  object-fit: cover;
  display: block;

  margin: 0 -32px 20px -32px;
  border-radius: 0;
}

.job-card h3{
  margin-top:0;
  font-size:24px;
    text-align: center;
}

.job-card p{
  line-height:1.7;
  color:#e5e5e5;
}

.job-card ul{
  padding-left:20px;
  margin-bottom:0;
}

.job-card li{
  margin-bottom:8px;
  color:#ffffff;
}


.career-contact{
  padding:70px 20px;
  text-align:center;
  color:white;
  
}

.career-contact p{
  font-size:20px;
  line-height:1.7;
}

.contact-box a{
    color:white;
    text-decoration:none;
}

.contact-strip{
    width: 100%;
    display: flex;
    justify-content: center;   /* vodorovně doprostřed */
    align-items: center;       /* svisle zarovná obsah */
    margin-top: 80px;          /* posune níž */
    padding: 20px 0 60px;
        color:white;
}

.contact-box{
    max-width: 900px;   /* větší šířka boxu */
    width: 100%;
    text-align: center;
}

.contact-box p{
    font-size: 24px;    /* větší text */
    margin: 30px 0;
}
.contact-strip{ 
  margin-top: -70px; /* doladíš podle oka */
}

/* Mobil */
@media only screen and (max-width: 768px){

  body{
    background:none !important;
    background-color:#000 !important;
  }

  body::before{
    content:"";
    position:fixed;
    inset:0;
    background-image:
      linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
      url('background.jpg');
    background-size:auto 100vh;
    background-position:center top;
    background-repeat:no-repeat;
    z-index:-1;
  }

  .career-hero{
    min-height:auto;
    padding:40px 16px;
  }

  .career-hero h1{
    font-size:32px;
  }

  .career-hero p{
    font-size:16px;
  }

  .jobs-grid{
    grid-template-columns:1fr;
  }


  .contact-box{
    width:100%;
    text-align:center;
  }

  .job-card{
    padding:24px;
    overflow:hidden;
  }

  .job-photo{
    width: 100%;
    margin: 0 0 20px 0;
    height: 240px;
    border-radius: 16px;
  }

  .jobs-section h2{
    margin-top: 60px !important;
  }
  
}
@media only screen and (max-width: 768px){

  .jobs-section .container{
    padding: 0 20px;
  }

  .job-card{
    padding: 24px !important;
    overflow: hidden;
  }

  .job-card .job-photo{
    width: 100% !important;
    max-width: 100% !important;
    height: 240px;
    object-fit: cover;
    margin: 0 0 20px 0 !important;
    border-radius: 16px;
    display: block;
  }
}
