/* ========================================
   Single Job Offer Page Styles
   ======================================== */

/* Container and Layout */
.fjo-singlepage-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

.fjo-singlepage-wrapper {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.fjo-singlepage-content {
  padding: 30px 10px;
}

/* Header Section */
.fjo-singlepage-header {
  margin-bottom: 50px;
  padding-bottom: 0;
  border-bottom: none;
}

.fjo-singlepage-title-row {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
}

.fjo-singlepage-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.fjo-singlepage-date {
  font-size: 1rem;
  font-weight: 500;
  color: #3ee522;
  white-space: nowrap;
}

/* Meta Grid */
.fjo-singlepage-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 60px;
  margin-bottom: 50px;
  padding: 30px;
  background: #ffffff;
  border: none;
  border-radius: 0;
}

.fjo-singlepage-meta-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fjo-singlepage-meta-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fjo-singlepage-meta-icon svg {
  width: 100%;
  height: 100%;
}

.fjo-singlepage-meta-text {
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  text-transform: uppercase;
  line-height: 1.2;
}

.fjo-singlepage-meta-text span {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
}

/* Description */
.fjo-singlepage-description {
  margin-bottom: 50px;
  padding: 0;
  background: transparent;
  border-left: none;
  border-radius: 0;
}

.fjo-singlepage-description p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 15px;
}

.fjo-singlepage-description h1,
.fjo-singlepage-description h2,
.fjo-singlepage-description h3,
.fjo-singlepage-description h4,
.fjo-singlepage-description h5,
.fjo-singlepage-description h6 {
  color: #000000;
  margin-top: 25px;
  margin-bottom: 15px;
}

.fjo-singlepage-description ul,
.fjo-singlepage-description ol {
  margin: 15px 0;
  padding-left: 25px;
}

.fjo-singlepage-description li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* Sections */
.fjo-singlepage-section {
  margin-bottom: 50px;
  padding: 0 30px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.fjo-singlepage-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 25px 0;
  padding-bottom: 0;
  border-bottom: none;
  text-transform: uppercase;
  letter-spacing: 0;
}

.fjo-singlepage-requirements,
.fjo-singlepage-expected-results,
.fjo-singlepage-responsibilities,
.fjo-singlepage-additionals,
.fjo-singlepage-benefits {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

.fjo-singlepage-requirements ul,
.fjo-singlepage-expected-results ul,
.fjo-singlepage-responsibilities ul,
.fjo-singlepage-additionals ul,
.fjo-singlepage-benefits ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.fjo-singlepage-requirements li,
.fjo-singlepage-expected-results li,
.fjo-singlepage-responsibilities li,
.fjo-singlepage-additionals li,
.fjo-singlepage-benefits li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 20px;
}

.fjo-singlepage-requirements li::before,
.fjo-singlepage-expected-results li::before,
.fjo-singlepage-responsibilities li::before,
.fjo-singlepage-additionals li::before,
.fjo-singlepage-benefits li::before {
  content: "•";
  color: #000000;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Actions */
.fjo-singlepage-actions {
  display: flex;
  gap: 20px;
  margin: 50px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.fjo-singlepage-apply-btn,
.fjo-singlepage-back-btn {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
}

.fjo-singlepage-apply-btn {
  background: #51e938;
  color: #000000;
}

.fjo-singlepage-apply-btn:hover {
  background: #3ee522;
}

.fjo-singlepage-back-btn {
  background: #3ee522;
  color: #000000;
}

.fjo-singlepage-back-btn:hover {
  background: #fff;
  color: #000000;
}

.fjo-singlepage-back-btn.clipped-corner {
  position: relative;
  z-index: 1;
  border: unset;
  --fjo-cta-corner: 1em;
  --fjo-cta-notch: 0.5em;
  --fjo-cta-border: 2px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--fjo-cta-corner)),
    calc(100% - var(--fjo-cta-notch)) calc(100% - var(--fjo-cta-notch)),
    calc(100% - var(--fjo-cta-corner)) 100%,
    0 100%
  );
}

.fjo-singlepage-back-btn.clipped-corner:hover::before {
  border: unset;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--celuk-primary, #3ee622);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 1em),
    calc(100% - 0.5em) calc(100% - 0.5em),
    calc(100% - 1em) 100%,
    0 100%,
    0 0,
    2px 2px,
    2px calc(100% - 2px),
    calc(100% - 1em - 1px) calc(100% - 2px),
    calc(100% - 0.5em - 2px) calc(100% - 0.5em - 1px),
    calc(100% - 2px) calc(100% - 1em - 1px),
    calc(100% - 2px) 2px,
    2px 2px
  );
}

/* Application Section */
.fjo-singlepage-application-section {
  margin-top: 50px;
  padding: 30px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fjo-job-result-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fjo-job-result-row {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fjo-job-result-row span {
  font-weight: 700;
  font-size: 1rem;
  color: #000000;
  text-transform: uppercase;
}

.fjo-singlepage-application-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  margin: 0 0 30px 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .fjo-singlepage-content {
    padding: 40px 60px;
  }

  .fjo-singlepage-meta-grid {
    gap: 25px 40px;
  }
}

@media (max-width: 768px) {
  .fjo-singlepage-content {
    padding: 30px 40px;
  }

  .fjo-singlepage-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .fjo-singlepage-title {
    font-size: 1.25rem;
  }

  .fjo-singlepage-meta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fjo-singlepage-actions {
    flex-direction: column;
    align-items: center;
  }

  .fjo-singlepage-apply-btn,
  .fjo-singlepage-back-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .fjo-singlepage-content {
    padding: 0;
  }

  .fjo-singlepage-meta-grid {
    padding: 0;
  }

  .fjo-singlepage-section {
    padding: 0;
  }

  .fjo-singlepage-title {
    font-size: 1.125rem;
  }

  .fjo-singlepage-section {
    margin-bottom: 30px;
  }

  .fjo-singlepage-application-section {
    padding: 0;
  }

  .fjo-singlepage-application-title {
    font-size: 1.4rem;
  }
}

/* Print Styles */
@media print {
  .fjo-singlepage-container {
    max-width: none;
    padding: 0;
    background-color: #ffffff;
  }

  .fjo-singlepage-wrapper {
    box-shadow: none;
    border: 1px solid #000000;
  }

  .fjo-singlepage-actions,
  .fjo-singlepage-application-section {
    display: none;
  }

  .fjo-singlepage-meta-icon svg {
    fill: #000000 !important;
  }
}
