.jobplugin-jobdetail {
  --jobplugin-max: 1200px;
  --jobplugin-gap: 2rem;
  --jobplugin-radius: 16px;
  --jobplugin-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --jobplugin-text: #111827;
  --jobplugin-muted: #6b7280;
  --jobplugin-blue: #2b2d85;
}

/* Typography: inherit from theme for 1:1 look */
.jobplugin-jobdetail,
.jobplugin-jobdetail h1,
.jobplugin-jobdetail h2,
.jobplugin-jobdetail h3,
.jobplugin-jobdetail p,
.jobplugin-jobdetail li,
.jobplugin-jobdetail a,
.jobplugin-jobdetail label,
.jobplugin-jobdetail input,
.jobplugin-jobdetail textarea,
.jobplugin-jobdetail button {
  font-family: inherit;
}

.jobplugin-jobdetail {
  font-size: 16px;
  line-height: 1.6;
  color: var(--jobplugin-text);
}

.jobplugin-jobdetail h1 {
  font-size: 2.75rem;
  line-height: 1.1;
  font-weight: 700;
}

.jobplugin-jobdetail h2 {
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 700;
}

.jobplugin-jobdetail h3 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 700;
}

/* Override Hello Biz container constraints on non-Elementor pages */
body.single-job_offer:not([class*="elementor-page-"]) .site-main.jobplugin-jobdetail {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.jobplugin-hero {
  position: relative;
  min-height: 240px;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.jobplugin-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.jobplugin-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.65) 75%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.jobplugin-hero__inner {
  position: relative;
  width: 80%;
  max-width: var(--jobplugin-max);
  margin: 0 auto;
  padding: 2.25rem 0;
}

.jobplugin-hero__title {
  margin: 0 0 0.75rem;
  color: #fff;
}

.jobplugin-hero__meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  display: grid;
  gap: 0.15rem;
  font-size: 13px;
}

.jobplugin-hero__meta strong {
  color: rgba(255, 255, 255, 0.95);
}

.jobplugin-container {
  width: 80%;
  max-width: var(--jobplugin-max);
  margin: 0 auto;
}

@media (max-width: 980px) {
  .jobplugin-container { width: calc(100% - 2rem); }
  .jobplugin-hero__inner { width: calc(100% - 2rem); }
}

.jobplugin-section {
  padding: 3rem 0;
}

.jobplugin-two-col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--jobplugin-gap);
  align-items: start;
}

.jobplugin-copy h2 {
  margin-top: 0;
}

.jobplugin-media img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.jobplugin-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--jobplugin-gap);
  margin-top: 2.25rem;
}

.jobplugin-card {
  background: #fff;
  border-radius: 1em;
  border: 1px solid #d9d9d9;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  padding: 2em;
}

.jobplugin-card h3 {
  margin-top: 0;
}

.jobplugin-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--jobplugin-text);
}

.jobplugin-gallery {
  position: relative;
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.jobplugin-gallery figure {
  margin: 0;
  flex: 0 0 calc((100% - 40px) / 3);
}

.jobplugin-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.jobplugin-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 10px;
}

.jobplugin-gallery__dots button {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.25);
  padding: 0;
}

.jobplugin-gallery__dots button[aria-current=\"true\"] {
  background: rgba(0, 0, 0, 0.55);
}

.jobplugin-apply {
  max-width: 520px;
  margin-left: 0;
}

.jobplugin-jobdetail .job-card--wide img {
  margin: 0;
  height: 180px;
  object-fit: cover;
}

.jobplugin-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.jobplugin-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.jobplugin-form__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.jobplugin-form input[type="text"],
.jobplugin-form input[type="email"],
.jobplugin-form input[type="file"],
.jobplugin-form textarea {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
  background: #fff;
}

.jobplugin-form textarea {
  resize: vertical;
}

.jobplugin-form__submit {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
  background: #0b73b5;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.jobplugin-form__success {
  color: #0f766e;
  font-weight: 600;
}

@media (max-width: 980px) {
  .jobplugin-two-col {
    grid-template-columns: 1fr;
  }
  .jobplugin-cards {
    grid-template-columns: 1fr;
  }
  .jobplugin-jobdetail .job-card--wide {
    grid-template-columns: 1fr;
  }
  .jobplugin-gallery {
    flex-wrap: nowrap;
  }
}
.jobplugin-surface {
  background: #f6f6f6;
  padding: 3rem 0 3.5rem;
}

.jobplugin-surface h2,
.jobplugin-surface h3,
.jobplugin-section h2 {
  color: var(--jobplugin-blue);
}
