/* stylelint-disable selector-max-type */
/* stylelint-disable no-descending-specificity */
.job-posting {
  max-width: 860px;
  line-height: 1.5;
}

.job-posting * {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

/* Header Styles */
.job-header {
  margin-bottom: 32px;
}

.job-header__media {
  position: relative;
  width: 100%;
}

.job-header__image-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  padding-top: 32px;
}

.job-header__image-wrapper .image {
  width: 100%;
}

.job-header__image-wrapper img {
  width: 100%;
  vertical-align: top;
  border-radius: 8px;
}

.job-header__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
  color: #1c1d1f;
}

.job-header__media.image-none .job-header__image-wrapper {
  display: none;
}

/* Content Styles */
.job-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1c1d1f;
}

/* Common Block Styles */
.info-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-block__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #1c1d1f;
}

.info-block__list {
  font-size: 15px;
  line-height: 24px;
  color: #1c1d1f;
  white-space: pre-wrap;
  list-style: none;
}

.info-block__list.type_option {
  margin-bottom: -8px;
}

.info-block__list li {
  position: relative;
  padding-left: 12px;
  line-height: 24px;
}

.info-block__list li:before {
  position: absolute;
  left: 0;
  content: "•";
}

/* Table Type Specific Styles */
.job-posting--table .job-table {
  overflow: hidden;
  border: 1px solid #E3E4E5;
  border-radius: 8px;
}

.job-posting--table .job-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.job-posting--table .job-item {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #E3E4E5;
}

.job-posting--table .company-intro {
  padding-bottom: 12px;
  border-bottom: none;
}

.job-posting--table .job-item:last-child {
  border-bottom: none;
}

.job-posting--table .job-title-section {
  width: 100%;
  padding: 16px;
  text-align: left;
  background: #F5F6F7;
}

.job-posting--table .job-title {
  font-size: 15px;
  color: #1c1d1f;
}

.job-posting--table .job-headcount {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #4A5054;
}

.job-posting--table .job-detail-section {
  flex: 1;
}

.job-posting--table .job-table .info-block {
  padding: 24px 24px;
  border-bottom: 1px solid #E3E4E5;
}

.job-posting--table .job-table .info-block:last-child {
  border-bottom: none;
}

/* List Type Specific Styles */
.job-posting--list .job-table,
.job-posting--list .job-detail-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.job-posting--list .section-title {
  display: none;
}

.job-posting--list .job-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 12px;
  border-bottom: 1px solid #d4d7d9;
}

.job-posting--list .job-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: #1c1d1f;
}

.job-posting--list .position-info__title {
  margin-bottom: 24px;
  font-size: 24px;
}

@media screen and (min-width: 769px) {
  .job-posting {
    width: 100%;
    padding: 0;
  }

  .job-header__image-wrapper {
    padding-top: 0;
  }

 .job-header__media.type_left {
    align-items: flex-start;
  }

 .job-header__media.type_center {
    align-items: center;
  }

  .job-header__media .inner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
    width: 420px;
    height: 100%;
    padding: 40px;
  }

 .job-header__media.type_center .inner {
    align-items: center;
    width: 100%;
  }

  .job-header__title {
    padding-bottom: 0;
    font-size: 32px;
    line-height: 42px;
    color: unset;
    object-fit: cover;
  }

  .job-header__media.image-none .inner {
    position: relative;
    width: 100%;
    padding: 0;
  }

  .job-header__media.image-none .job-header__title {
    color: #1c1d1f;
  }

  .job-posting--table .job-table .info-block {
    padding: 24px;
  }

  .job-posting--table .job-item {
    flex-direction: row;
  }

  .job-posting--table .job-title-section {
    display: flex;
    flex: 0 0 120px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

/* 미리보기 - 반응형 대응 소스 */
#frameView {position: relative;}
/* #frameView:after {position:absolute;top:0;left:0;z-index:10000;width:100%;height:100%;content:"";background:rgba(255,255,255,0)} */
#mobile_preview_frame {
  background-color: #fff;
}

#mobile_preview_frame .job-posting {
  width: 100%;
  max-width: 860px;
}

#mobile_preview_frame .job-header__media .inner {
  position: relative;
  width: 100%;
  padding: 0 0 32px;
}

#mobile_preview_frame .job-header__media.type_center .inner {
  align-items: center;
  width: 100%;
}

#mobile_preview_frame .job-header__title {
  justify-content: left;
  font-size: 28px;
  line-height: 38px;
  color: #1c1d1f;
}

#mobile_preview_frame .job-header__media.image-none .inner {
  position: relative;
  width: 100%;
  padding: 0;
}

#mobile_preview_frame .job-posting--table .job-item {
  flex-direction: column;
}

#mobile_preview_frame .job-posting--table .job-title-section {
  flex: none;
  width: 100%;
  text-align: left;
  background: #F5F6F7;
}

#mobile_preview_frame .recruit_top {
  padding-top: 20px;
}

#desktop_preview_frame .jview > .wrap_jv_cont {
  border: none;
}