.employer-page {
  color: #17243a;
  background: #f4f7fb;
}

.employer-page .site-header {
  position: relative;
  background: var(--navy);
}

.employer-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-5) 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 30%, rgba(237, 24, 54, 0.28), transparent 28rem),
    linear-gradient(135deg, #061a31, #020f21);
}

.employer-hero > .container {
  position: relative;
  z-index: 2;
}

.employer-hero--landing {
  min-height: 560px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 78% 24%, rgba(227, 6, 19, 0.18), transparent 32rem),
    linear-gradient(135deg, #061a31 0%, #041426 52%, #130d25 100%);
}

.employer-hero--landing::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(2, 15, 33, 0.94) 0%, rgba(2, 15, 33, 0.78) 48%, rgba(2, 15, 33, 0.22) 78%, transparent 100%);
  pointer-events: none;
}

.employer-hero-bubbles {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.employer-hero-bubbles span {
  position: absolute;
  display: block;
  opacity: 0.75;
  animation: employer-bubble-float 9s ease-in-out infinite alternate;
}

.employer-hero-bubbles span:nth-child(1) {
  top: -115px;
  right: 4%;
  width: 390px;
  height: 390px;
  border-radius: 46% 54% 62% 38% / 54% 40% 60% 46%;
  background: radial-gradient(circle at 30% 27%, #ff8a65 0%, #e30613 42%, #6d28d9 78%, transparent 100%);
  box-shadow: inset -22px -28px 54px rgba(2, 15, 33, 0.78), inset 14px 16px 34px rgba(255, 255, 255, 0.3), 0 0 80px rgba(227, 6, 19, 0.24);
}

.employer-hero-bubbles span:nth-child(2) {
  right: 24%;
  bottom: -130px;
  width: 290px;
  height: 290px;
  border-radius: 58% 42% 48% 52% / 44% 57% 43% 56%;
  background: radial-gradient(circle at 32% 26%, #67e8f9 0%, #2563eb 44%, #4f46e5 75%, transparent 100%);
  box-shadow: inset -18px -22px 42px rgba(2, 15, 33, 0.78), inset 12px 12px 26px rgba(255, 255, 255, 0.28);
  animation-delay: -3s;
}

.employer-hero-bubbles span:nth-child(3) {
  top: 34%;
  right: 2%;
  width: 150px;
  height: 150px;
  border-radius: 52% 48% 61% 39% / 43% 56% 44% 57%;
  background: radial-gradient(circle at 32% 25%, #fde68a 0%, #f97316 42%, #e30613 76%, transparent 100%);
  box-shadow: inset -10px -14px 28px rgba(2, 15, 33, 0.72), inset 8px 8px 18px rgba(255, 255, 255, 0.3);
  animation-delay: -5s;
}

.employer-hero-bubbles span:nth-child(4) {
  top: 12%;
  right: 33%;
  width: 105px;
  height: 105px;
  border-radius: 44% 56% 51% 49% / 57% 44% 56% 43%;
  opacity: 0.72;
  background: radial-gradient(circle at 30% 26%, #d9f99d 0%, #22c55e 38%, #059669 68%, #064e3b 86%, transparent 100%);
  box-shadow: inset -8px -11px 20px rgba(2, 15, 33, 0.65), inset 6px 7px 15px rgba(255, 255, 255, 0.24), 0 0 34px rgba(34, 197, 94, 0.18);
  animation-delay: -7s;
}

@keyframes employer-bubble-float {
  from {
    transform: translate3d(0, -8px, 0) rotate(-2deg);
  }

  to {
    transform: translate3d(10px, 12px, 0) rotate(3deg);
  }
}

.employer-hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.employer-hero--landing h1 {
  max-width: 760px;
  font-size: clamp(2.75rem, 5.2vw, 4.8rem);
}

.employer-hero--landing h1 span {
  color: #ff344f;
}

.employer-hero p:not(.employer-eyebrow) {
  max-width: 680px;
  margin: var(--space-3) 0 0;
  color: #d8e2ee;
  font-size: 1.18rem;
  line-height: 1.7;
}

.employer-hero--landing p:not(.employer-eyebrow) {
  max-width: 700px;
  margin-top: var(--space-2);
}

.employer-eyebrow {
  margin: 0 0 var(--space-2);
  color: #ff5570;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.employer-channel-tags {
  max-width: 760px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-top: var(--space-3);
}

.employer-channel-tags span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #eef5fc;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.employer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.employer-hero-login {
  padding: var(--space-2);
  color: #fff;
  font-weight: 800;
}

.employer-hero-login:hover,
.employer-hero-login:focus-visible {
  color: #ff5570;
}

.employer-main {
  min-height: 50vh;
  padding-block: var(--section-space-y);
}

.employer-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: var(--space-4);
  align-items: start;
}

.employer-intro h2,
.employer-faq h2 {
  margin-top: 0;
  color: #071a32;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.employer-intro p,
.employer-faq p {
  line-height: 1.7;
}

.employer-section-label {
  margin: 0 0 var(--space-1);
  color: #d71837;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.employer-visibility-note {
  display: grid;
  gap: 3px;
  margin-top: var(--space-3);
  padding-left: var(--space-2);
  border-left: 3px solid var(--red);
}

.employer-visibility-note strong {
  color: #071a32;
}

.employer-visibility-note span {
  color: #627086;
}

.employer-benefits {
  display: grid;
  gap: var(--space-2);
}

.employer-benefits article,
.employer-faq details,
.employer-form,
.employer-job-list article,
.employer-empty {
  border: 1px solid #dce4ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 26, 50, 0.07);
}

.employer-benefits article {
  padding: var(--space-3);
}

.employer-benefits strong {
  color: #071a32;
  font-size: 1.15rem;
}

.employer-button,
.employer-secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: var(--space-2) var(--space-3);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 800;
}

.employer-button {
  color: #fff;
  background: var(--red);
}

.employer-secondary-button {
  color: #071a32;
  background: #e8eef6;
}

.employer-text-link {
  display: inline-block;
  margin: var(--space-2);
  color: #c90e2a;
  font-weight: 700;
}

.employer-faq {
  margin-top: var(--space-5);
}

.employer-faq details {
  margin-top: var(--space-2);
  padding: var(--space-3) var(--space-3);
}

.employer-faq summary {
  cursor: pointer;
  color: #071a32;
  font-weight: 800;
}

.employer-form {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-3);
}

.employer-form--narrow {
  max-width: 620px;
}

.employer-form label,
.employer-form legend {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-3);
  color: #17243a;
  font-weight: 700;
}

.employer-form input,
.employer-form select,
.employer-form textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--space-2) var(--space-2);
  border: 1px solid #aebdce;
  border-radius: 8px;
  color: #17243a;
  background: #fff;
}

.employer-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.employer-form input:focus,
.employer-form select:focus,
.employer-form textarea:focus {
  border-color: #d41331;
  outline: 3px solid rgba(237, 24, 54, 0.16);
}

.employer-form small {
  color: #627086;
  font-weight: 400;
}

.employer-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-3);
}

.employer-form fieldset {
  margin: 0 0 var(--space-3);
  padding: var(--space-3);
  border: 1px solid #dce4ee;
  border-radius: 12px;
}

.employer-check {
  display: flex !important;
  align-items: center;
  align-self: center;
}

.employer-check input {
  width: 20px;
  min-height: 20px;
}

.employer-honeypot {
  position: absolute;
  left: -10000px;
}

.employer-alert {
  max-width: 960px;
  margin: 0 auto var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-radius: 10px;
  background: #e6f6ec;
  color: #155f32;
}

.employer-alert--error {
  color: #8f1025;
  background: #fde8ec;
}

.employer-alert ul {
  margin: 0;
}

.employer-toolbar {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-4);
}

.employer-toolbar > div {
  margin-right: auto;
}

.employer-toolbar p {
  margin: 0 0 var(--space-1);
  color: #64748b;
}

.employer-link-button,
.employer-job-actions button {
  padding: 0;
  border: 0;
  color: #a00e25;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.employer-job-list {
  display: grid;
  gap: var(--space-2);
}

.employer-job-list article {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3);
}

.employer-job-list h2 {
  margin: var(--space-2) 0;
  color: #071a32;
}

.employer-status {
  display: inline-block;
  margin-right: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border-radius: 999px;
  color: #6e4a00;
  background: #fff2c6;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.employer-status--active {
  color: #126331;
  background: #dff5e7;
}

.employer-status--paused,
.employer-status--expired {
  color: #7a2432;
  background: #f8e4e8;
}

.employer-job-actions {
  display: grid;
  min-width: 220px;
  gap: var(--space-2);
  align-content: start;
}

.employer-job-actions form {
  display: grid;
  gap: var(--space-2);
}

.employer-job-actions .danger {
  color: #b00020;
}

.employer-empty {
  padding: var(--space-4);
  text-align: center;
}

.employer-preview {
  display: grid;
  gap: var(--space-1);
  margin: var(--space-2) 0 var(--space-3);
  padding: var(--space-3);
  border-left: 4px solid var(--red);
  border-radius: 0 10px 10px 0;
  background: #f0f4f9;
}

.employer-preview span {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.employer-preview strong {
  color: #071a32;
  font-size: 1.25rem;
}

[data-channel-field][hidden] {
  display: none;
}

@media (max-width: 760px) {
  .employer-hero--landing {
    min-height: 0;
    padding-block: var(--space-5);
  }

  .employer-hero--landing::after {
    background: rgba(2, 15, 33, 0.78);
  }

  .employer-hero--landing h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .employer-hero-bubbles span:nth-child(1) {
    top: -70px;
    right: -130px;
    width: 290px;
    height: 290px;
  }

  .employer-hero-bubbles span:nth-child(2) {
    right: -80px;
    bottom: -100px;
    width: 230px;
    height: 230px;
  }

  .employer-hero-bubbles span:nth-child(3) {
    display: none;
  }

  .employer-hero-bubbles span:nth-child(4) {
    top: 38%;
    right: -24px;
    width: 82px;
    height: 82px;
    opacity: 0.5;
  }

  .employer-channel-tags {
    gap: 6px;
  }

  .employer-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .employer-hero-actions .employer-button,
  .employer-hero-login {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .employer-toolbar,
  .employer-job-list article {
    align-items: stretch;
    flex-direction: column;
  }

  .employer-toolbar > div {
    margin-right: 0;
  }

  .employer-job-actions {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .employer-hero-bubbles span {
    animation: none;
  }
}
