﻿.other-main {
  padding-top: var(--header-h, 116px);
  background:
    radial-gradient(circle at 12% 8%, rgba(243, 201, 139, 0.2), transparent 35%),
    radial-gradient(circle at 90% 92%, rgba(15, 21, 38, 0.08), transparent 30%),
    #ffffff;
}

.other-hero {
  background: linear-gradient(135deg, #0f1526, #1b2038);
  color: #ffffff;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}

.other-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(243, 201, 139, 0.18), transparent 45%);
  pointer-events: none;
}

.other-hero h1 {
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.other-hero p {
  margin: 0;
  opacity: 0.95;
  max-width: 760px;
}

.career-section {
  padding: 56px 0 64px;
}

.career-shell {
  display: grid;
  grid-template-columns: minmax(270px, 340px) 1fr;
  gap: 22px;
  align-items: start;
}

.career-info {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(145deg, #0f1526, #1b2038);
  box-shadow: 0 14px 34px rgba(15, 21, 38, 0.32);
}

.career-info::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -70px;
  top: -80px;
  border-radius: 50%;
  background: rgba(243, 201, 139, 0.22);
}

.career-info h2 {
  margin: 0 0 10px;
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}

.career-info p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  position: relative;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
}

.process-list i {
  color: #f3c98b;
  margin-top: 2px;
}

.info-chip {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
}

.info-chip span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  margin-bottom: 4px;
}

.info-chip strong {
  font-size: 1.05rem;
}

.career-form-wrap {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #ece3d6;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.form-top {
  padding: 18px 22px;
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
  border-bottom: 1px solid #efe6d8;
}

.form-top h3 {
  margin: 0 0 6px;
  color: #0f1526;
  font-size: 1.25rem;
}

.form-top p {
  margin: 0;
  color: #4a4f5a;
  font-size: 0.95rem;
}

.career-form {
  padding: 22px;
}

.type-switch {
  display: inline-flex;
  gap: 10px;
  padding: 5px;
  border-radius: 999px;
  background: #f6efe2;
  border: 1px solid #eadfcf;
  margin-bottom: 18px;
}

.type-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: #1b2038;
}

.type-option input {
  accent-color: #f3c98b;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group.full {
  grid-column: 1 / -1;
}

.input-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1b2038;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  border: 1px solid #daccb8;
  border-radius: 11px;
  padding: 11px 12px;
  font: inherit;
  color: #1c1e22;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input:hover,
.input-group select:hover,
.input-group textarea:hover {
  border-color: #d3c1a8;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #f3c98b;
  box-shadow: 0 0 0 3px rgba(243, 201, 139, 0.22);
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.form-actions small {
  color: #4a4f5a;
}

.career-extra-notes {
  margin-top: 0;
  flex: 1 1 360px;
  display: grid;
  gap: 6px;
}

.career-extra-notes small {
  display: block;
  color: #4a4f5a;
  line-height: 1.45;
}

.career-extra-notes small:nth-child(n + 2) {
  font-weight: 600;
}
.hp-field {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.form-message {
  margin-top: 10px;
  font-size: 0.92rem;
  min-height: 1.4em;
}

.form-message.is-success {
  color: #1f6b3b;
}

.form-message.is-error {
  color: #9f2d2d;
}

@media (max-width: 992px) {
  html, body { overflow-x: hidden; }
  .container { padding: 0 18px; }
  .career-shell {
    grid-template-columns: 1fr;
  }

  .career-info {
    padding: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  #header {
    height: var(--header-h-sm, 76px) !important;
  }

  .brand-logo {
    height: 46px;
  }

  .other-main {
    padding-top: var(--header-h-sm, 76px);
    overflow-x: hidden;
  }

  .container {
    padding: 0 14px;
  }

  .other-hero {
    padding: 36px 0;
  }

  .career-section {
    padding: 40px 0 48px;
  }

  .career-info,
  .career-form {
    padding: 16px;
  }

  .form-top {
    padding: 14px 16px;
  }

  .type-switch {
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
  }

  .type-option {
    width: 100%;
    justify-content: flex-start;
  }

  .form-actions small {
    width: 100%;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
  }

  .career-info p,
  .process-list li,
  .form-top p {
    overflow-wrap: anywhere;
  }
}



