.common-popup-layer {
	font-size: 0;;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.common-popup-layer.is-transparent {
  background: transparent;
  pointer-events: none;
}

.common-popup-stack {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  pointer-events: none;
}

.common-popup-box {
  width: 720px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 40px);
  background: #f1f2ec;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  overflow: hidden;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
}

.common-popup-box.is-stacked {
  pointer-events: auto;
}


/* 헤더 */
.common-popup-header {
  margin-bottom: 20px;
}

.common-popup-header .badge {
  display: inline-block;
  border: 1px solid #00a3a3;
  color: #00a3a3;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12px;
}

.common-popup-header .date {
  margin-top: 10px;
  font-size: 16px;
  color: #00a3a3;
}

.common-popup-header h2 {
  font-size: 42px;
  font-weight: 800;
  margin-top: 10px;
}

/* 상단 */
.common-popup-top {
  position: relative;
  min-height: 40px;
  background: #f1f2ec;
  flex: 0 0 auto;
}
.common-popup-top .btn-close{
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);

	background: transparent;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
}
.common-popup-top .btn-close:hover{
/*	text-decoration: underline;*/
}

/* 이미지 */
.common-popup-content {
  text-align: right;
  position: relative;
  background: #f1f2ec;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.common-popup-content img {
  display: block;
  width: auto !important;
  max-width: 100%;
  max-height: var(--common-popup-content-max-height, calc(100vh - 122px));
  height: auto !important;
  margin: 0 auto;
  object-fit: contain;
}

.common-popup-text {
  margin: 0;
  padding: 18px 22px 20px;
  background: rgba(255,255,255,0.92);
  border-top: 1px solid rgba(0,0,0,0.08);
  color: #222;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: normal;
}

.common-popup-text a {
  color: #1f4f9a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.common-popup-content .mobile-only {
  display: none;
}

.common-popup-content .pc-only {
  display: block;
}

@media(max-width:1024px) {
  .common-popup-content .pc-only {
    display: none;
  }

  .common-popup-content .mobile-only {
    display: block;
  }
}


/* 액션 */
.common-popup-action {
  margin-top: 20px;
}

.btn-go {
  background: #00a3a3;
  color: #fff;
  border-radius: 30px;
  padding: 12px 28px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.common-popup-action .desc {
  margin-top: 10px;
  font-size: 12px;
  color: #666;
}

/* 하단 */
.common-popup-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  background: #f1f2ec;
  flex: 0 0 auto;
}

.common-popup-footer button {
  background: #333333;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
}
.common-popup-footer button:hover{
	text-decoration: underline;
}


@media(max-width:1024px) {
	.common-popup-box{
		width: 100% !important;
		max-width: 100% !important;
		max-height: 100vh !important;
		transform: none !important;
		top: 0 !important;
		left: 0 !important;
	}
	.common-popup-content img{
		max-height: calc(100vh - 82px);
	}
}


/*이미지파일 영역 여백 강제추가*/
#jobAroundPopup .common-popup-content img{max-height: calc(100vh - 82px);}
