/* 노무자문(자문서비스) — 좌 세로 이미지 / 우 섹션 (구성원 소개와 동일 톤) */

.intro-advisory-page.app {
  background: #fff;
}

.intro-advisory-page .main-wrap,
.intro-advisory-page .advisory-main,
.intro-advisory-page .advisory-main .main__body {
  background: #fff;
}

.intro-advisory-page .intro-public-site-header {
  background: #fff;
}

.advisory-main .main__body {
  max-width: none;
}

.advisory-page-inner {
  flex: 1;
  padding: 20px 28px 48px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.advisory-badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary, #2c6781);
  border: 1px solid rgba(44, 103, 129, 0.35);
  border-radius: 999px;
  background: rgba(44, 103, 129, 0.06);
}

.advisory-layout {
  display: grid;
  grid-template-columns: minmax(96px, 200px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}

.advisory-side {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #eceff1;
  min-height: min(520px, 70vh);
  max-height: 85vh;
}

.advisory-side img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

/* 그리드 높이에 맞춰 영역을 채움(부모 height:100%만으로는 높이 0으로 남는 경우 방지) */
.advisory-side img:not([hidden]) {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.advisory-side-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-muted, #78909c);
  line-height: 1.5;
}

.advisory-side img:not([hidden]) + .advisory-side-placeholder {
  display: none;
}

.advisory-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 4px;
}

.advisory-section__title {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--color-primary, #2c6781);
  letter-spacing: -0.02em;
}

.advisory-section__bar {
  flex-shrink: 0;
  width: 4px;
  height: 1.15em;
  border-radius: 2px;
  background: var(--color-primary, #2c6781);
}

.advisory-section__body {
  margin: 0;
  padding-left: 14px;
}

.advisory-section__body p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: #455a64;
}

.advisory-section__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .advisory-layout {
    grid-template-columns: 1fr;
  }

  .advisory-side {
    min-height: 200px;
    max-height: 320px;
    max-width: 280px;
    margin: 0 auto;
    width: 100%;
  }

  .advisory-side img:not([hidden]) {
    position: absolute;
    inset: 0;
    min-height: 0;
  }

  .advisory-section__body {
    padding-left: 0;
  }
}
