﻿/* ===================================================================
   온라인교구 공통 스타일 (opg-common.css)
   스코프: .opg — CMS 전역 CSS 충돌 방지
   대상 환경: Bootstrap 3.3.7 / jQuery 1.12.4 / ASP.NET CMS
=================================================================== */

/* ---- 기본 초기화 & 타이포 ---- */
.opg {
  font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  color: #1a2238;
  font-size: 16px;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}
.opg * {
  box-sizing: border-box;
}
.opg img {
  max-width: 100%;
  height: auto;
}
.opg a {
  color: inherit;
}
.opg h1,
.opg h2,
.opg h3,
.opg h4 {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  color: #1a2238;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.6px;
  line-height: 1.28;
}
.opg p {
  margin: 0;
}
.opg small {
  font-size: 75%;
}
.opg b {
  font-weight: 700;
}

/* ---- SVG 아이콘 ---- */
.opg .opg-ico {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- 공통 유틸 ---- */
.opg .opg-eyebrow {
  display: inline-block;
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size:50px;
  letter-spacing: -0.3px;
  color: #1a2238;
  margin: 0 0 50px;
  line-height: 1.2;
}
.opg .opg-eyebrow-light {
  color: #fff;
}
.opg .opg-eyebrow:before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  background: #3a5ba0;
  vertical-align: middle;
  margin-right: 13px;
  margin-bottom: 5px;
}
.opg .opg-eyebrow-light:before {
  background: #f7c873;
}

.opg .opg-section {
  padding: 96px 0;
}
.opg .opg-section-cream {
  background: #edf0f6;
}

.opg .opg-head {
  margin-bottom: 58px;
}
.opg .opg-head-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.opg .opg-head h2 {
  font-size: 27px;
  font-weight: 600;
  color: #5b6472;
  letter-spacing: -0.2px;
}
.opg .opg-head .opg-eyebrow {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.opg .opg-head .opg-eyebrow:before {
  display: none;
}

.opg .opg-sub {
  margin-top: 18px;
  color: #5b6472;
  font-size: 17px;
}
.opg .opg-hl {
  color: #f7c873;
}

/* ---- CTA eyebrow ---- */
.opg-cta .opg-eyebrow {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 40px;
}
.opg-cta .opg-eyebrow:before {
  display: none;
}

/* ---- 버튼 ---- */
.opg .opg-btn {
  display: inline-block;
  position: relative;
  background: #3a5ba0;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  padding: 15px 30px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.opg .opg-btn:hover {
  background: #29498d;
  text-decoration: none;
  color: #fff;
  transform: translateY(-2px);
}
.opg .opg-btn .opg-ico {
  margin-left: 9px;
  transition: transform 0.25s ease;
}
.opg .opg-btn:hover .opg-ico {
  transform: translateX(4px);
}
.opg .opg-btn-lg {
  padding: 18px 40px;
  font-size: 17px;
}

/* ---- 스크롤 등장 효과 ---- */
.opg .opg-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.opg .opg-reveal.opg-in {
  opacity: 1;
  transform: none;
}

/* ===================================================================
   PAGE 1 · SECTION 1 — 히어로
=================================================================== */
.opg-hero {
  background: #1c2c51;
  color: #e8edf5;
  overflow: hidden;
  position: relative;
}
.opg-hero:before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(58, 91, 160, 0.30);
}
.opg-hero .opg-hero-row {
  padding: 150px 0 0;
}
.opg-hero .opg-hero-text {
  padding-top: 24px;
  padding-bottom: 0;
}
.opg-hero h1 {
  color: #fff;
  font-size: 48px;
  line-height: 1.22;
  margin-bottom: 24px;
}
.opg-hero .opg-lead {
  color: #bcc5d1;
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 34px;
  max-width: 520px;
}
.opg-hero .opg-lead b {
  color: #fff;
  font-weight: 700;
}
.opg-hero .opg-hero-media {
  position: relative;
}
.opg-hero .opg-hero-photo {
  position: relative;
  width: 100%;
  padding-bottom: 96%;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}
.opg-hero .opg-hero-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  border-radius: 0;
  transform: scale(1.08);
  transform-origin: center bottom;
}

@media (min-width: 992px) {
  .opg-hero .opg-hero-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }
  .opg-hero .opg-hero-row > div {
    float: none;
  }
  .opg-hero .opg-hero-text {
    -ms-flex-item-align: center;
    align-self: center;
  }
}

/* ===================================================================
   PAGE 1 · SECTION 2 — 신앙여정 타임라인
=================================================================== */
.opg-timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}
.opg-timeline:before {
  content: "";
  position: absolute;
  left: 30px;
  top: 18px;
  bottom: 64px;
  width: 2px;
  background: #ccd3dc;
}
.opg-step {
  position: relative;
  padding: 0 0 32px 96px;
  cursor: default;
}
.opg-step:last-child {
  padding-bottom: 0;
}
.opg-step .opg-step-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #3a5ba0;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  text-align: center;
  line-height: 62px;
  z-index: 1;
  transition: transform 0.3s ease;
}
.opg-step .opg-step-body {
  background: #fff;
  border: 1px solid #d4dae2;
  border-radius: 10px;
  padding: 26px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.opg-step.opg-active .opg-step-body {
  border-color: #3a5ba0;
  transform: translateX(8px);
}
.opg-step.opg-active .opg-step-num {
  transform: scale(1.14);
}
.opg-step .opg-step-kicker {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #29498d;
  margin-bottom: 6px;
}
.opg-step h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.opg-step p {
  color: #5b6472;
  font-size: 15.5px;
}
.opg-step-final .opg-step-num {
  background: #1c2c51;
  color: #f7c873;
}
.opg-step-final .opg-step-body {
  background: #1c2c51;
  border-color: #1c2c51;
}
.opg-step-final .opg-step-body h3 {
  color: #fff;
}
.opg-step-final .opg-step-body p {
  color: #bcc5d1;
}
.opg-step-final .opg-step-kicker {
  color: #f7c873;
}

/* ===================================================================
   PAGE 1 · SECTION 3 — 공동체훈련 카드
=================================================================== */
.opg-card {
  background: #fff;
  border: 1px solid #d4dae2;
  border-top: 4px solid #3a5ba0;
  border-radius: 10px;
  padding: 38px 30px;
  height: 100%;
  cursor: default;
  transition: transform 0.3s ease, border-top-color 0.3s ease;
}
.opg-card.opg-active {
  border-top-color: #3a5ba0;
  transform: translateY(-6px);
}
.opg-card .opg-card-ic {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #e3eaf2;
  color: #3a5ba0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.opg-card .opg-card-ic .opg-ico {
  width: 30px;
  height: 30px;
}
.opg-card.opg-active .opg-card-ic {
  background: #3a5ba0;
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}
.opg-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.opg-card p {
  color: #5b6472;
  font-size: 15.5px;
}
.opg-card .opg-card-no {
  font-family: 'Roboto Condensed', sans-serif;
  color: #9aa3b0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.opg-card-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

/* 핵심 행사 헤드 */
.opg-events {
  margin-top: 70px;
}
.opg-events .opg-events-head {
  text-align: center;
  margin-bottom: 38px;
}
.opg-events .opg-events-head .opg-eyebrow {
  font-size: 42px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #3a5ba0;
}
.opg-events .opg-events-head .opg-eyebrow:before {
  display: none;
}
.opg-events .opg-events-head h3 {
  font-size: 27px;
  font-weight: 600;
  color: #5b6472;
  letter-spacing: -0.2px;
}

/* 행사 카드 */
.opg-event {
  border: 1px solid #d4dae2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
}
.opg-event .opg-event-media {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #d4dae2;
}
.opg-event .opg-event-media:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.opg-event .opg-event-label {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  display: inline-block;
  background: transparent;
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
  padding: 0;
}
.opg-event .opg-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.opg-event .opg-event-body {
  padding: 28px 30px 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
}
.opg-event .opg-event-ic {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  color: #3a5ba0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.opg-event .opg-event-ic .opg-ico {
  width: 48px;
  height: 48px;
  stroke-width: 1.6;
}
.opg-event .opg-event-title {
  font-size: 32px;
  margin-bottom: 14px;
}
.opg-event .opg-event-desc {
  color: #5b6472;
  font-size: 19px;
  line-height: 1.6;
}

/* ===================================================================
   PAGE 1 · SECTION 4 — 기쁜파송 CTA
=================================================================== */
.opg-cta {
  position: relative;
  background: #1c2c51;
  color: #fff;
  text-align: center;
  padding: 108px 0;
  overflow: hidden;
}
.opg-cta .opg-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  opacity: 0.16;
}
.opg-cta .opg-cta-inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.opg-cta .opg-quote {
  font-size: 30px;
  line-height: 1.55;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.4px;
  margin: 20px 0 28px;
}
.opg-cta .opg-quote .opg-hl {
  color: #f7c873;
}
.opg-cta .opg-quote-mark {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0;
  color: #f7c873;
  display: block;
  height: 36px;
}
.opg-cta .opg-cta-msg {
  color: #bcc5d1;
  font-size: 17px;
  line-height: 1.85;
  margin: 0 auto 38px;
}
.opg-cta .opg-btn {
  border-radius: 999px;
}

/* PAGE2 CTA */
.opg-cta-p2 {
  padding: 100px 0;
}
.opg-cta-p2 .opg-cta-bg {
  opacity: 0.14;
}
.opg-cta-p2 .opg-cta-inner {
  max-width: 760px;
}

/* ===================================================================
   PAGE 2 · SECTION 1 — 가이드 킥커 & 플로우 요약
=================================================================== */
.opg .opg-guide-kicker {
  font-size: 24px;
  font-weight: 700;
  color: #29498d;
  letter-spacing: 0.2px;
  margin: 0 0 12px;
}

.opg-flow {
  position: relative;
}
.opg-flow .opg-flow-item {
  position: relative;
  text-align: center;
  padding: 0 10px;
}

/* 자동 롤링 활성 상태 — hover와 동일 */
.opg-flow .opg-flow-item.opg-active .opg-flow-ic {
  background: #3a5ba0;
  border-color: #3a5ba0;
  color: #fff;
  transform: translateY(-4px);
}
.opg-flow .opg-flow-item.opg-active .opg-flow-no {
  color: #3a5ba0;
}

.opg-flow .opg-flow-ic {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d4dae2;
  color: #3a5ba0;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease,
              border-color 0.3s ease, transform 0.3s ease;
}
.opg-flow .opg-flow-ic .opg-ico {
  width: 36px;
  height: 36px;
}
.opg-flow .opg-flow-item:hover .opg-flow-ic {
  background: #3a5ba0;
  border-color: #3a5ba0;
  color: #fff;
  transform: translateY(-4px);
}
.opg-flow .opg-flow-no {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #9aa3b0;
  margin-bottom: 6px;
}
.opg-flow .opg-flow-item h4 {
  font-size: 19px;
  margin-bottom: 8px;
}
.opg-flow .opg-flow-item p {
  color: #6b7280;
  font-size: 14.5px;
  line-height: 1.6;
}
.opg-flow .opg-flow-line {
  position: absolute;
  top: 44px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: #ccd3dc;
  z-index: 1;
}

/* ===================================================================
   PAGE 2 · SECTION 2 — STEP 상세
   핵심:
   1. .opg-stepblk 자체를 flex row로 → Bootstrap float 완전 무력화
   2. col-md-3 / col-md-9 를 CSS로 직접 타겟 → HTML 수정 불필요
   3. 모든 해상도에서 배지-콘텐츠 항상 가로(같은 라인) 유지
   4. min-width 제거 + max-width 명시 → subcards overflow 차단
=================================================================== */

/* stepblk 자체를 flex row로 강제 */
.opg-steps .opg-stepblk {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 0;
  padding: 54px 0;
  border-bottom: 1px solid #efe7da;
  margin-left: 0;
  margin-right: 0;
}
.opg-steps .opg-stepblk:last-child {
  border-bottom: none;
}

/* .opg-stepblk-inner 구조 대응 */
.opg-steps .opg-stepblk-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

/* 배지 영역 — Bootstrap col-md-3 & .opg-step-aside 동시 대응 */
.opg-steps .opg-stepblk > [class*="col-md-3"],
.opg-steps .opg-stepblk .opg-step-aside {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 260px;
  flex: 0 0 260px;
 
  max-width: 260px;
  text-align: center;
  padding-top: 0;
  float: none;
}

/* 콘텐츠 영역 — Bootstrap col-md-9 & .opg-step-main 동시 대응 */
.opg-steps .opg-stepblk > [class*="col-md-9"],
.opg-steps .opg-stepblk .opg-step-main {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 0%;
  flex: 1 1 0%;
  min-width: 0;
  max-width: none;
  float: none;
  padding-top: 12px;
}

/* 배지 디자인 */
.opg-steps .opg-step-aside {
  text-align: center;
}
.opg-steps .opg-step-badge {
  display: inline-block;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: #3a5ba0;
  position: relative;
}
/* 배지 트랜지션 + 호버/자동롤링 활성 강조 */
.opg-steps .opg-step-badge {
  transition: transform 0.35s ease, background 0.35s ease;
}
.opg-steps .opg-step-badge .opg-step-tag em,
.opg-steps .opg-step-badge .opg-step-tag b {
  transition: color 0.35s ease;
}
.opg-steps .opg-stepblk:hover .opg-step-badge,
.opg-steps .opg-stepblk.opg-active .opg-step-badge {
  background: #1c2c51;
  transform: scale(1.07);
}
.opg-steps .opg-stepblk:hover .opg-step-tag em,
.opg-steps .opg-stepblk.opg-active .opg-step-tag em {
  color: #fff;
}
.opg-steps .opg-stepblk:hover .opg-step-tag b,
.opg-steps .opg-stepblk.opg-active .opg-step-tag b {
  color: #f7c873;
}

.opg-steps .opg-step-badge .opg-step-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.opg-steps .opg-step-badge .opg-step-tag b {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: #f7c873;
  font-weight: 700;
}
.opg-steps .opg-step-badge .opg-step-tag em {
  display: block;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 52px;
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

/* STEP 콘텐츠 */
.opg-steps .opg-step-main h3 {
  font-size: 28px;
  margin-bottom: 22px;
}
.opg-steps .opg-substep {
  position: relative;
  padding: 0 0 22px 30px;
}
.opg-steps .opg-substep:last-child {
  padding-bottom: 0;
}
.opg-steps .opg-substep:before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a5ba0;
  border: 2px solid #3a5ba0;
}
.opg-steps .opg-substep h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #1a2238;
}
.opg-steps .opg-substep p {
  color: #5b6472;
  font-size: 15.5px;
  word-break: keep-all;
}
.opg-steps .opg-substep .opg-mail {
  color: #29498d;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #9bb3d0;
}
.opg-steps .opg-substep .opg-mail:hover {
  color: #1a2238;
}

/* 서브카드 — min-width 제거 / max-width 명시로 overflow 차단 */
.opg-steps .opg-subcards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 4px;
  width: 100%;
}
.opg-steps .opg-subcards-2 .opg-subcard {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 calc(50% - 8px);
  flex: 1 1 calc(50% - 8px);
  max-width: calc(50% - 8px);
}
.opg-steps .opg-subcards-3 .opg-subcard {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 calc(33.333% - 11px);
  flex: 1 1 calc(33.333% - 11px);
  max-width: calc(33.333% - 11px);
}
.opg-steps .opg-subcard {
  background: #fff;
  border: 1px solid #d4dae2;
  border-top: 3px solid #3a5ba0;
  border-radius: 10px;
  padding: 26px 24px;
  word-break: keep-all;
  min-width: 0;
}
.opg-steps .opg-subcard .opg-subcard-ic {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e3eaf2;
  color: #3a5ba0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 16px;
}
.opg-steps .opg-subcard .opg-subcard-ic .opg-ico {
  width: 26px;
  height: 26px;
}
.opg-steps .opg-subcard h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #1a2238;
}
.opg-steps .opg-subcard p {
  color: #5b6472;
  font-size: 15px;
  line-height: 1.7;
}

/* ===================================================================
   반응형 — 노트북 (max-width: 1199px)
=================================================================== */
@media (max-width: 1199px) {
  .opg-hero h1                      { font-size: 42px; }
  .opg .opg-head .opg-eyebrow       { font-size: 36px; }
  .opg .opg-head h2                 { font-size: 24px; }
  .opg-cta .opg-eyebrow             { font-size: 36px; }
  .opg-cta .opg-quote               { font-size: 26px; }
  .opg-event .opg-event-title       { font-size: 26px; }
  .opg-event .opg-event-desc        { font-size: 17px; }
  .opg-steps .opg-step-main h3      { font-size: 24px; }
}

/* ===================================================================
   반응형 — 태블릿 (max-width: 992px)
=================================================================== */
@media (max-width: 992px) {
  .opg .opg-section                 { padding: 70px 0; }
  .opg-hero .opg-hero-row           { padding: 56px 0; }
  .opg-hero h1                      { font-size: 36px; }
  .opg-hero .opg-lead               { font-size: 16px; }
  .opg-hero .opg-hero-media         { margin-top: 40px; }
  .opg .opg-head .opg-eyebrow       { font-size: 32px; }
  .opg .opg-head h2                 { font-size: 21px; }
  .opg .opg-sub                     { font-size: 15.5px; }
  .opg-step h3                      { font-size: 20px; }
  .opg-step p                       { font-size: 14.5px; }
  .opg-card h4                      { font-size: 18px; }
  .opg-card p                       { font-size: 14.5px; }
  .opg-event .opg-event-title       { font-size: 22px; }
  .opg-event .opg-event-desc        { font-size: 15px; }
  .opg-cta .opg-eyebrow             { font-size: 32px; }
  .opg-cta .opg-quote               { font-size: 22px; }
  .opg-cta .opg-cta-msg             { font-size: 15.5px; }
  .opg-flow .opg-flow-item h4       { font-size: 17px; }
  .opg-flow .opg-flow-item p        { font-size: 13.5px; }

  /* STEP 배지 축소 */
  .opg-steps .opg-stepblk > [class*="col-md-3"],
  .opg-steps .opg-stepblk .opg-step-aside {
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    width: 120px;
    max-width: 120px;
  }
  .opg-steps .opg-step-badge        { width: 100px; height: 100px; }
  .opg-steps .opg-step-badge .opg-step-tag em { font-size: 40px; }
  .opg-steps .opg-step-badge .opg-step-tag b  { font-size: 11px; }
  .opg-steps .opg-stepblk-inner     { gap: 24px; }
  .opg-steps .opg-step-main h3      { font-size: 22px; }
  .opg-steps .opg-substep h4        { font-size: 16px; }
  .opg-steps .opg-substep p         { font-size: 14.5px; }
  .opg-steps .opg-subcard h4        { font-size: 16px; }
  .opg-steps .opg-subcard p         { font-size: 14px; }

  /* 3열 → 2열 */
  .opg-steps .opg-subcards-3 .opg-subcard {
    -ms-flex: 1 1 calc(50% - 8px);
    flex: 1 1 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }
}

/* ===================================================================
   반응형 — 모바일 (max-width: 767px)
=================================================================== */
@media (max-width: 767px) {

  /* Bootstrap col / container / row 패딩 보정 */
  .opg .container                   { padding-left: 12px; padding-right: 12px; }
  .opg .row                         { margin-left: -8px; margin-right: -8px; }
  .opg [class*="col-"]              { padding-left: 8px; padding-right: 8px; }
  .opg .dimode-sort[class*="col-"]  { padding-left: 8px !important; padding-right: 8px !important; }

  /* 섹션 공통 */
  .opg .opg-section                 { padding: 52px 0; }
  .opg .opg-head                    { margin-bottom: 36px; }
  .opg .opg-head .opg-eyebrow       { font-size: 26px; margin-bottom: 10px; }
  .opg .opg-head h2                 { font-size: 17px; }
  .opg .opg-sub                     { font-size: 14px; margin-top: 12px; }
  .opg .opg-eyebrow                 { font-size: 20px; }

  /* 히어로 */
  .opg-hero .opg-hero-row           { padding: 00px 0 0; }
  .opg-hero .opg-hero-text          { padding-top: 0; padding-bottom: 40px; }
  .opg-hero h1                      { font-size: 26px; letter-spacing: -0.4px; margin-bottom: 16px; }
  .opg-hero .opg-lead               { font-size: 14.5px; line-height: 1.75; margin-bottom: 24px; }
  .opg-hero .opg-hero-media         { margin-top: 24px; }
  .opg .opg-btn-lg                  { padding: 14px 22px; font-size: 14px; }

  /* 타임라인 */
  .opg-step                         { padding-left: 72px; padding-bottom: 24px; }
  .opg-step .opg-step-num           { width: 50px; height: 50px; line-height: 50px; font-size: 18px; }
  .opg-timeline:before              { left: 24px; top: 14px; bottom: 56px; }
  .opg-step .opg-step-body          { padding: 18px; }
  .opg-step .opg-step-kicker        { font-size: 11px; letter-spacing: 1.2px; margin-bottom: 4px; }
  .opg-step h3                      { font-size: 18px; margin-bottom: 7px; }
  .opg-step p                       { font-size: 13.5px; }

  /* 훈련 카드 */
  .opg-card                         { padding: 28px 20px; margin-bottom: 16px; }
  .opg-card .opg-card-ic            { width: 54px; height: 54px; margin-bottom: 14px; }
  .opg-card h4                      { font-size: 17px; margin-bottom: 8px; }
  .opg-card p                       { font-size: 13.5px; }
  .opg-card .opg-card-no            { font-size: 12px; }

  /* 행사 카드 */
  .opg-events                       { margin-top: 44px; }
  .opg-events .opg-events-head      { margin-bottom: 24px; }
  .opg-events .opg-events-head .opg-eyebrow { font-size: 24px; }
  .opg-events .opg-events-head h3   { font-size: 17px; }
  .opg-event                        { margin-bottom: 16px; }
  .opg-event .opg-event-media       { height: 190px; }
  .opg-event .opg-event-label       { font-size: 13px; letter-spacing: 1.2px; top: 14px; left: 14px; }
  .opg-event .opg-event-body        { padding: 18px 16px 20px; gap: 12px; }
  .opg-event .opg-event-ic          { width: 36px; height: 36px; }
  .opg-event .opg-event-ic .opg-ico { width: 32px; height: 32px; }
  .opg-event .opg-event-title       { font-size: 20px; margin-bottom: 8px; }
  .opg-event .opg-event-desc        { font-size: 13.5px; line-height: 1.55; }

  /* CTA */
  .opg-cta                          { padding: 60px 0; }
  .opg-cta .opg-eyebrow             { font-size: 26px; margin-bottom: 24px; }
  .opg-cta .opg-quote-mark          { font-size: 52px; height: 26px; }
  .opg-cta .opg-quote               { font-size: 18px; line-height: 1.6; margin: 14px 0 20px; letter-spacing: -0.2px; }
  .opg-cta .opg-cta-msg             { font-size: 14px; line-height: 1.75; margin-bottom: 28px; }
  .opg-cta-p2                       { padding: 60px 0; }

  /* 플로우 */
  .opg-flow .opg-flow-item          { margin-bottom: 32px; padding: 0 6px; }
  .opg-flow .opg-flow-line          { display: none; }
  .opg-flow .opg-flow-ic            { width: 72px; height: 72px; margin-bottom: 14px; }
  .opg-flow .opg-flow-ic .opg-ico   { width: 28px; height: 28px; }
  .opg-flow .opg-flow-no            { font-size: 11px; letter-spacing: 1.2px; }
  .opg-flow .opg-flow-item h4       { font-size: 16px; margin-bottom: 5px; }
  .opg-flow .opg-flow-item p        { font-size: 13px; line-height: 1.55; }

  /* STEP 모바일 — 배지+콘텐츠 항상 같은 가로 라인 */
  .opg-steps .opg-stepblk           { padding: 28px 0; gap: 0; }

  .opg-steps .opg-stepblk > [class*="col-md-3"],
  .opg-steps .opg-stepblk .opg-step-aside {
    -ms-flex: 0 0 64px;
    flex: 0 0 64px;
    width: 64px;
    max-width: 64px;
    padding-left: 0;
    padding-right: 0;
    float: none;
  }
  .opg-steps .opg-stepblk > [class*="col-md-9"],
  .opg-steps .opg-stepblk .opg-step-main {
    -ms-flex: 1 1 0%;
    flex: 1 1 0%;
    min-width: 0;
    max-width: none;
    padding-left: 14px;
    padding-right: 0;
    float: none;
    padding-top: 4px;
  }
  .opg-steps .opg-stepblk-inner     { gap: 14px; flex-direction:column; }

  /* 배지 모바일 크기 */
  .opg-steps .opg-step-badge        { width: 64px; height: 64px; }
  .opg-steps .opg-step-badge .opg-step-tag em { font-size: 24px; }
  .opg-steps .opg-step-badge .opg-step-tag b  { font-size: 9px; letter-spacing: 1px; }

  /* 콘텐츠 폰트 */
  .opg-steps .opg-step-main h3      { font-size: 17px; margin-bottom: 12px; }
  .opg-steps .opg-substep           { padding: 0 0 12px 18px; }
  .opg-steps .opg-substep:before    { width: 7px; height: 7px; top: 7px; }
  .opg-steps .opg-substep h4        { font-size: 13.5px; margin-bottom: 3px; }
  .opg-steps .opg-substep p         { font-size: 12.5px; }

  /* 서브카드 모바일 1열 */
  .opg-steps .opg-subcards          { gap: 10px; }
  .opg-steps .opg-subcards-2 .opg-subcard,
  .opg-steps .opg-subcards-3 .opg-subcard {
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 100%;
  }
  .opg-steps .opg-subcard           { padding: 16px 14px; }
  .opg-steps .opg-subcard .opg-subcard-ic { width: 40px; height: 40px; margin-bottom: 10px; }
  .opg-steps .opg-subcard .opg-subcard-ic .opg-ico { width: 20px; height: 20px; }
  .opg-steps .opg-subcard h4        { font-size: 13.5px; margin-bottom: 5px; }
  .opg-steps .opg-subcard p         { font-size: 12.5px; line-height: 1.65; }

  .opg .opg-guide-kicker            { font-size: 15px; }
}
