* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: #fff; color: #474747; font-family: Arial, Verdana, sans-serif; }
a { color: inherit; }
#wrapper { width: 100%; max-width: 960px; margin: 0 auto; }
#header { height: 353px; position: relative; overflow: hidden; }
.navBar { position: absolute; z-index: 2; top: 0; left: 0; width: 100%; height: 98px; padding: 0 17px 0 29px; display: flex; align-items: center; justify-content: space-between; background: rgba(15,15,15,.88); }
.siteTitle { font-family: Verdana, sans-serif; font-size: 34px; color: #fff; text-decoration: none; }
.navRight { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; }
.languages { height: 44px; padding-top: 5px; display: flex; gap: 5px; }
.languages img { display: block; width: 24px; height: 24px; }
.navRight nav { display: flex; gap: 17px; }
.navRight nav a { font-size: 17px; font-weight: 600; text-transform: uppercase; color: #fff; text-decoration: none; }
.navRight nav a:hover { color: #73a0c8; }
.headerPhoto { position: absolute; top: 0; left: 0; width: 100%; height: 291px; object-fit: cover; }
.headerCurve { position: absolute; z-index: 2; top: 257px; width: 100%; height: 34px; background: url("images/redics_iv.png") center bottom / auto 34px no-repeat; }
#content { font-size: 14px; line-height: 1.65; }
.pageHeading { display: flex; align-items: center; justify-content: center; gap: 12px; }
.jobIcon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #dd2f37; color: #fff; font-size: 25px; }
.pageHeading h1 { margin: 0; font-size: 30px; font-weight: 300; color: #999; }
.sepa { width: 343px; max-width: 80%; margin: 12px auto 30px; border-bottom: 1px solid #ececec; }
.jobBox { margin: 0 28px; padding: 4px 0 20px; }
.jobBox h2 { margin: 0 0 12px; font-size: 25px; font-weight: 400; color: #474747; }
.lead { font-size: 16px; margin: 0 0 25px; }
.jobMeta { display: flex; gap: 30px; padding: 15px 18px; background: #f3f3f3; border-left: 4px solid #66a3ce; margin-bottom: 30px; }
.jobMeta span { flex: 1; }
.jobColumns { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.jobBox h3 { margin: 0 0 8px; font-size: 20px; font-weight: 400; color: #999; text-transform: uppercase; }
.jobBox ul { margin: 0; padding: 0; list-style: none; }
.jobBox li { position: relative; padding: 7px 0 7px 19px; border-bottom: 1px solid #ececec; }
.jobBox li::before { content: "›"; position: absolute; left: 3px; color: #dd2f37; font-weight: bold; }
.offer { margin-top: 30px; }
.offer ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 50px; }
.apply { margin-top: 32px; padding: 22px; background: #f3f3f3; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.apply p { margin: 0; }
.submit { flex: 0 0 auto; border-radius: 3px; display: inline-block; color: #fff; background: #66a3ce; padding: 8px 20px; text-decoration: none; }
.submit:hover { background: #528bb3; }
#footer { margin-top: 45px; padding: 0 8px 35px; font-size: 14px; color: #999; }
.footerTop { display: flex; justify-content: space-between; align-items: flex-start; }
.partners { display: flex; align-items: center; }
.partners a { color: #000; text-decoration: none; border-right: 1px solid #000; padding: 0 7px; }
.partners a:last-child { border: 0; }
.partners a:hover { text-decoration: underline; }
.projectInfo { margin-top: 24px; padding-top: 20px; border-top: 1px solid #ececec; line-height: 1.5; }
.projectInfo img { float: right; max-width: 220px; margin-left: 20px; }
@media (max-width: 720px) {
  #header { height: 245px; }
  .navBar { height: 86px; padding: 0 15px; }
  .siteTitle { font-size: 24px; }
  .languages { height: 38px; }
  .navRight nav { gap: 10px; }
  .navRight nav a { font-size: 12px; }
  .headerPhoto { height: 220px; }
  .headerCurve { top: 186px; }
  .jobBox { margin: 0 18px; }
  .jobMeta, .jobColumns { display: block; }
  .jobMeta span { display: block; margin: 5px 0; }
  .jobColumns section + section { margin-top: 30px; }
  .offer ul { grid-template-columns: 1fr; }
  .apply { align-items: flex-start; gap: 18px; flex-direction: column; }
  .footerTop { display: block; }
  .partners { margin-top: 20px; flex-wrap: wrap; line-height: 2; }
  .projectInfo img { float: none; display: block; margin: 0 0 15px; max-width: 180px; }
}
@media (max-width: 480px) {
  #header { height: 200px; }
  .navBar { height: 76px; }
  .siteTitle { font-size: 20px; }
  .languages { display: none; }
  .navRight nav a:first-child, .navRight nav a:nth-child(2) { display: none; }
  .navRight nav a { font-size: 14px; }
  .headerPhoto { height: 180px; }
  .headerCurve { top: 146px; }
  .pageHeading h1 { font-size: 25px; }
  .jobIcon { width: 44px; height: 44px; }
  .jobBox h2 { font-size: 22px; }
  .submit { width: 100%; text-align: center; }
  .projectInfo { font-size: 12px; }
}
