/* Job detail page */
.job-detail-page .card-premium{
  background:#fff;
  border:1px solid rgba(15,23,42,.06);
  border-radius:16px;
  box-shadow:0 6px 18px rgba(15,23,42,.06);
}

.job-detail-page .job-head{
  overflow:hidden;
}

.job-detail-page .job-head__layout{
  display:flex;
  align-items:flex-start;
  gap:16px;
}

.job-detail-page .job-company-logo-wrap{
  flex:0 0 72px;
  width:72px;
  min-width:72px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.job-detail-page .job-head__content{
  flex:1;
  min-width:0;
}

.job-detail-page .job-head__title{
  margin-bottom:8px;
  line-height:1.25;
  word-break:break-word;
}

.job-detail-page .job-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:center;
}

.job-detail-page .job-chips .chip{
  width:auto;
  justify-content:center;
}

.job-detail-page .job-content{
  overflow-wrap:anywhere;
}

/* Job info */
.job-detail-page .job-info--compact{
  display:flex;
  flex-direction:column;
  gap:0;
}

.job-detail-page .job-info--compact .info-row{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:4px 0;
  border-bottom:1px solid rgba(15,23,42,.08);
}

.job-detail-page .job-info--compact .info-row:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.job-detail-page .job-info--compact .k{
  color:#6b7280;
  font-weight:600;
  flex:none;
  max-width:none;
  white-space:nowrap;
  margin:0;
}

.job-detail-page .job-info--compact .v{
  color:#0f172a;
  font-weight:400;
  text-align:left;
  flex:1 1 auto;
  min-width:0;
  word-break:break-word;
  margin:0;
}

/* Phone reveal */
.phone-reveal-box{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  background:#f3f4f6;
  border-radius:var(--radius-pill);
  padding:12px 16px;
}

.phone-label{
  font-weight:700;
  color:#111827;
}

.phone-number{
  color:#374151;
  font-weight:500;
}

.phone-reveal-btn{
  border:0;
  background:transparent;
  color:var(--primary);
  font-weight:700;
  padding:0;
  cursor:pointer;
}

.phone-reveal-btn:hover{
  text-decoration:underline;
}

@media (min-width:769px){
  .job-detail-page .card-premium{
    transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease;
  }

  .job-detail-page .card-premium:hover{
    border-color:rgba(15,23,42,.08);
    box-shadow:0 10px 24px rgba(15,23,42,.08);
    transform:translateY(-1px);
  }
}

@media (max-width:991.98px){
  .job-detail-page .container-xxl.pt-3.pb-5{
    padding-top:.5rem !important;
    padding-bottom:1rem !important;
  }

  .job-detail-page .job-head__layout{
    align-items:flex-start;
    gap:14px;
  }

  .job-detail-page .job-company-logo-wrap{
    flex:0 0 64px;
    width:64px;
    min-width:64px;
  }
}

@media (max-width:767.98px){
  .job-detail-page .card-premium{
    border-radius:14px;
    box-shadow:0 4px 14px rgba(15,23,42,.05);
  }

  .job-detail-page .job-head,
  .job-detail-page .card-premium{
    padding:1rem !important;
  }

  .job-detail-page .breadcrumb{
    font-size:.95rem;
    line-height:1.45;
  }

  .job-detail-page .job-head__layout{
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:12px;
  }

  .job-detail-page .job-company-logo-wrap{
    width:72px;
    min-width:72px;
    flex:0 0 72px;
    margin:0 auto;
    justify-content:center;
  }

  .job-detail-page .job-head__content{
    width:100%;
  }

  .job-detail-page .job-head__title{
    margin-bottom:6px;
    line-height:1.2;
    text-align:center;
    font-size:1.7rem;
  }

  .job-detail-page .job-head .text-muted{
    margin-bottom:.75rem !important;
    text-align:center;
  }

  .job-detail-page .job-chips{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    justify-content:center;
    width:100%;
  }

  .job-detail-page .job-chips .chip{
    width:auto;
    justify-content:center;
  }

  .job-detail-page .job-info--compact .info-row{
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    padding:4px 0;
    gap:6px;
  }

  .job-detail-page .job-info--compact .k{
    font-size:.95rem;
  }

  .job-detail-page .job-info--compact .v{
    font-size:1rem;
  }

  .job-detail-page .phone-reveal-box{
    align-items:flex-start;
    border-radius:18px;
    padding:14px 16px;
  }
}

.job-detail-page .job-company-logo-wrap .job-company-logo,
.job-detail-page .job-company-logo-wrap .job-company-logo-placeholder{
  width:72px;
  height:72px;
  border-radius:16px;
  overflow:hidden;
  flex-shrink:0;
}

.job-detail-page .job-company-logo-wrap .job-company-logo{
  display:block;
  object-fit:contain;
  background:#fff;
  border:1px solid #e2e8f0;
}

.job-detail-page .job-company-logo-wrap .job-company-logo-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  line-height:1;
  text-transform:uppercase;
  user-select:none;
}

.job-detail-page .job-company-logo-wrap .job-company-logo-placeholder span{
  display:block;
  font-size:28px;
  line-height:1;
  font-weight:700;
}

@media (max-width:991.98px){
  .job-detail-page .job-company-logo-wrap .job-company-logo,
  .job-detail-page .job-company-logo-wrap .job-company-logo-placeholder{
    width:64px;
    height:64px;
    border-radius:16px;
  }

  .job-detail-page .job-company-logo-wrap .job-company-logo-placeholder span{
    font-size:24px;
  }
}

@media (max-width:767.98px){
  .job-detail-page .job-company-logo-wrap .job-company-logo,
  .job-detail-page .job-company-logo-wrap .job-company-logo-placeholder{
    width:72px;
    height:72px;
    border-radius:16px;
  }

  .job-detail-page .job-company-logo-wrap .job-company-logo-placeholder span{
    font-size:28px;
  }
}