/* 프로그램 소개 영역에만 적용하는 검토용 스타일입니다. */
#aj .aj-program-layout { padding: 88px 0 96px; scroll-margin-top: 144px; }
#aj .aj-program-layout > .aj-wrap { max-width: 1248px; padding: 0 32px; }
#aj .aj-program-layout .aj-title { text-align: left; font-size: 36px; margin-bottom: 48px; }
#aj .aj-prows { display: flex; flex-direction: column; gap: 64px; }
#aj .aj-prows .aj-prow {
  display: grid; grid-template-columns: 1.08fr 1fr;
  grid-template-areas: "photo heading" "photo body";
  grid-template-rows: auto 1fr; column-gap: 56px; row-gap: 20px; align-items: start;
}
#aj .aj-prows .aj-prow + .aj-prow { border-top: 1px solid #dce2d6; padding-top: 64px; }
#aj .aj-prows .aj-program-heading { grid-area: heading; min-width: 0; }
#aj .aj-prows .aj-program-heading h2 {
  font-family: "Nanum Gothic", sans-serif; font-weight: 800; font-size: 30px;
  line-height: 1.45; letter-spacing: -.025em; color: var(--green-dark); margin: 0 0 12px;
  word-break: keep-all; text-wrap: balance;
}
#aj .aj-prows .aj-prow-label {
  display: block; color: #9c4c16; font-size: 12px; line-height: 1.5;
  letter-spacing: .06em; margin: 0; font-family: "Nanum Gothic", sans-serif;
}
#aj .aj-prows .aj-prow-label::before { content: none; }
#aj .aj-prows .aj-prow-photo {
  grid-area: photo; width: 100%; max-width: none; margin: 0; min-width: 0; order: initial;
}
#aj .aj-prows .aj-prow .aj-prow-card {
  grid-area: body; width: 100%; max-width: none; margin: 0; min-width: 0; order: initial;
}
#aj .aj-prows .aj-prow-card-inner {
  padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent;
}
#aj .aj-prows .aj-polaroid,
#aj .aj-prows .aj-prow-photo:hover .aj-polaroid {
  padding: 0; background: transparent; border-radius: 0; box-shadow: none; transform: none;
}
#aj .aj-prows .aj-polaroid img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  object-position: center; border-radius: 4px;
}
#aj .aj-prows .aj-eco-program .aj-polaroid img { object-position: 50% 42%; }
#aj .aj-prows .aj-polaroid-cap {
  font-family: "Gowun Dodum", sans-serif; font-size: 13px; color: #596452;
  line-height: 1.7; text-align: left; margin-top: 12px;
}
#aj .aj-prows .aj-prow-lead {
  font-family: "Gowun Dodum", sans-serif; font-size: 18px; line-height: 1.85;
  font-weight: 400; color: #46523f; margin: 0 0 24px; max-width: 40em;
}
#aj .aj-prows .aj-plist { display: block; padding: 0; margin: 0; list-style: none; }
#aj .aj-prows .aj-plist li {
  display: block; padding: 11px 0; border-top: 1px solid #e0e5db;
  background: transparent; border-radius: 0; box-shadow: none;
  font-family: "Gowun Dodum", sans-serif; font-size: 16px; line-height: 1.7;
  color: #394732; font-weight: 400;
}
#aj .aj-prows .aj-plist .emo { display: none; }
#aj .aj-program-layout ::selection { background: #d9e8c9; color: #273b21; }
@media (max-width: 1000px) and (min-width: 768px) {
  #aj .aj-prows .aj-prow { column-gap: 32px; }
  #aj .aj-prows .aj-program-heading h2 { font-size: 26px; }
  #aj .aj-prows .aj-prow-lead { font-size: 17px; line-height: 1.8; }
}
@media (max-width: 767px) {
  #aj .aj-program-layout { padding: 48px 0 56px; scroll-margin-top: 190px; }
  #aj .aj-program-layout > .aj-wrap { padding: 0 24px; }
  #aj .aj-program-layout .aj-title { font-size: 28px; margin-bottom: 32px; }
  #aj .aj-prows { gap: 40px; }
  #aj .aj-prows .aj-prow {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto;
    grid-template-areas: "heading" "photo" "body"; row-gap: 20px;
  }
  #aj .aj-prows .aj-prow + .aj-prow { padding-top: 40px; }
  #aj .aj-prows .aj-program-heading h2 { font-size: 25px; line-height: 1.45; margin-bottom: 8px; }
  #aj .aj-prows .aj-prow-lead { font-size: 17px; line-height: 1.85; margin-bottom: 20px; }
  #aj .aj-prows .aj-plist li { font-size: 15px; padding: 10px 0; }
  #aj .aj-prows .aj-polaroid-cap { font-size: 12px; margin-top: 8px; }
}

/* 기존 색·사진·글꼴을 사용하는 프로그램 페이지 개선입니다. */
body.aj-program-page #aj .aj-phero { height: auto !important; min-height: 500px !important; padding: 176px 0 72px; }
#aj .aj-phero h1 { font-size: 48px; line-height: 1.35; }
#aj .aj-phero-desc { font-size: 18px; line-height: 1.8; }
#aj .aj-program-overview {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; margin-bottom: 64px; padding: 24px 0;
  border-top: 1px solid #dce2d6; border-bottom: 1px solid #dce2d6;
}
#aj .aj-program-overview a { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#aj .aj-program-overview strong { font-family: "Nanum Gothic", sans-serif; font-size: 20px; color: #4b6640; }
#aj .aj-program-overview span { font-size: 16px; line-height: 1.8; color: #46523f; }
#aj .aj-program-overview .aj-overview-action { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding-top: 4px; }
#aj .aj-overview-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#aj .aj-program-overview a:hover .aj-overview-action { text-decoration: underline; text-underline-offset: 5px; }
#aj .aj-program-layout .aj-prow { scroll-margin-top: 152px; }
#aj .aj-prows .aj-prow-lead { text-wrap: pretty; }
#aj .aj-program-contact {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; margin-top: 24px; padding: 12px 22px;
  background: #4b6640; color: #fff; border: 1px solid #4b6640; border-radius: 4px;
  font-family: "Nanum Gothic", sans-serif; font-weight: 700; font-size: 15px; line-height: 1.6;
}
#aj .aj-program-contact:hover { background: #344b2b; border-color: #344b2b; }
#aj .aj-program-layout a:focus-visible,
#aj .aj-program-consult a:focus-visible { outline: 3px solid #9c4c16; outline-offset: 5px; }
#aj .aj-guide-section { padding: 64px 0; }
#aj .aj-program-gallery { padding: 80px 0; }
#aj .aj-program-gallery .aj-wrap { max-width: 1248px; padding: 0 32px; }
#aj .aj-program-gallery .aj-title { text-align: left; font-size: 36px; margin-bottom: 40px; }
#aj .aj-program-gallery .aj-sketch { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
#aj .aj-field-photo { grid-column: span 3; margin: 0; min-width: 0; }
#aj .aj-field-photo:first-child { grid-column: span 7; }
#aj .aj-field-photo:nth-child(2) { grid-column: span 5; }
#aj .aj-field-photo img { width: 100%; height: 210px; object-fit: cover; border-radius: 4px; }
#aj .aj-field-photo:first-child img, #aj .aj-field-photo:nth-child(2) img { height: 360px; }
#aj .aj-field-photo:nth-child(2) img { object-position: 50% 55%; }
#aj .aj-field-photo figcaption { color: #46523f; font-size: 14px; line-height: 1.7; margin-top: 12px; }
#aj .aj-program-gallery .aj-sketch-note { text-align: left; color: #596452; margin-top: 24px; }
#aj .aj-program-trust { padding: 72px 0; }
#aj .aj-program-trust .aj-pledge li { background: transparent; box-shadow: none; border-radius: 0; border-bottom: 1px solid #dce2d6; padding: 16px 0; }
#aj .aj-program-trust .aj-pledge p { font-size: 17px; line-height: 1.85; color: #46523f; }
#aj .aj-program-trust .aj-acc-item { background: transparent; border-radius: 0; box-shadow: none; border-bottom: 1px solid #dce2d6; margin: 0; }
#aj .aj-program-trust .aj-acc-q { min-height: 64px; padding: 18px 0; font-size: 17px; }
#aj .aj-program-consult { padding: 72px 0; }
#aj .aj-program-consult .aj-wrap { max-width: 1248px; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
#aj .aj-program-consult h2 { font-family: "Nanum Gothic", sans-serif; font-size: 30px; line-height: 1.5; color: #4b6640; margin-bottom: 16px; text-wrap: balance; }
#aj .aj-program-consult p { max-width: 32em; font-size: 17px; color: #46523f; line-height: 1.8; }
#aj .aj-consult-actions { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
#aj .aj-consult-actions .aj-program-contact { margin: 0; }
#aj .aj-program-phone { padding: 8px 0; font-size: 16px; color: #46523f; text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 768px) and (max-width: 1000px) {
  #aj .aj-program-overview { gap: 32px; }
  #aj .aj-field-photo { grid-column: span 6; }
  #aj .aj-field-photo:first-child, #aj .aj-field-photo:nth-child(2) { grid-column: span 6; }
  #aj .aj-field-photo:first-child img, #aj .aj-field-photo:nth-child(2) img { height: 280px; }
  #aj .aj-program-consult .aj-wrap { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 767px) {
  body.aj-program-page { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.aj-program-page #aj .aj-phero { min-height: 0 !important; padding: 208px 0 36px; }
  #aj .aj-phero h1 { font-size: 32px; line-height: 1.35; }
  #aj .aj-phero-eyebrow { font-size: 14px; margin-bottom: 12px; }
  #aj .aj-phero-desc { font-size: 15px; line-height: 1.75; margin-top: 16px; }
  #aj .aj-program-layout .aj-title { margin-bottom: 24px; }
  #aj .aj-program-layout .aj-prow { scroll-margin-top: 208px; }
  #aj .aj-program-overview { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 36px; padding: 20px 0; }
  #aj .aj-program-overview a + a { border-top: 1px solid #dce2d6; padding-top: 20px; }
  #aj .aj-program-overview strong { font-size: 18px; }
  #aj .aj-program-overview span { font-size: 15px; }
  #aj .aj-prows .aj-program-contact { display: flex; }
  #aj .aj-guide-section { padding: 48px 0; }
  #aj .aj-program-gallery { padding: 56px 0; }
  #aj .aj-program-gallery .aj-wrap { padding: 0 24px; }
  #aj .aj-program-gallery .aj-title { font-size: 28px; margin-bottom: 28px; }
  #aj .aj-program-gallery .aj-sketch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  #aj .aj-field-photo, #aj .aj-field-photo:nth-child(2) { grid-column: span 1; }
  #aj .aj-field-photo:first-child { grid-column: 1 / -1; }
  #aj .aj-field-photo img, #aj .aj-field-photo:nth-child(2) img { height: auto; aspect-ratio: 4 / 3; }
  #aj .aj-field-photo:first-child img { height: auto; aspect-ratio: 4 / 3; }
  #aj .aj-field-photo figcaption { font-size: 13px; margin-top: 8px; }
  #aj .aj-program-trust { padding: 48px 0; }
  #aj .aj-program-trust .aj-pledge p { font-size: 16px; }
  #aj .aj-program-trust .aj-acc-q { font-size: 16px; }
  #aj .aj-program-consult { padding: 48px 0; }
  #aj .aj-program-consult .aj-wrap { flex-direction: column; align-items: stretch; gap: 24px; padding: 0 24px; }
  #aj .aj-program-consult h2 { font-size: 25px; }
  #aj .aj-program-consult p { font-size: 16px; }
  #aj .aj-consult-actions { align-items: stretch; }
  #aj .aj-floating {
    position: fixed !important; top: auto !important; right: 0 !important;
    bottom: 0 !important; left: 0 !important; width: auto !important;
    display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid #dce2d6; z-index: 9999;
  }
  body.aj-program-page #aj .aj-floating a.aj-float-btn,
  body.aj-program-page #aj #aj-channel-launcher {
    position: static !important; width: 100% !important; height: 48px !important;
    min-width: 0 !important; max-width: none !important;
    min-height: 48px !important; max-height: 48px !important; margin: 0; padding: 8px;
    top: auto; right: auto; bottom: auto; transform: none !important; border-radius: 4px !important;
    display: flex !important; flex-direction: row !important; gap: 6px; box-shadow: none;
  }
  #aj .aj-floating .aj-float-btn--call { background: #4b6640 !important; }
  #aj .aj-floating .aj-float-btn svg { width: 20px; height: 20px; }
  body.aj-program-page #aj .aj-floating .aj-float-btn span { width: auto !important; font-size: 13px; line-height: 1.5; white-space: nowrap; }
}
