/* ══════════════════════════════════════
   라원 오시는길 페이지 — 독립 CSS
   ══════════════════════════════════════ */

.dg-info-page { }

/* ── 카드 공통 ── */
.dg-info-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

/* ── 카드 헤드 (세이지 그린 파스텔) ── */
.dg-info-card__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .5rem 1.25rem;
  background: var(--dg-primary-gradient);
  border-radius: 16px 16px 0 0;
}
.dg-info-card__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(45,74,30,.10);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #2d4a1e; font-size: 1.05rem; flex-shrink: 0;
}
.dg-info-card__label {
  display: inline-block;
  font-size: .62rem; font-weight: 600;
  color: #2d4a1e;
  background: rgba(45,74,30,.12);
  padding: .12rem .5rem;
  border-radius: 4px;
  margin-bottom: .15rem;
  letter-spacing: .02em;
}
.dg-info-card__title {
  font-family: 'Noto Serif KR', serif;
  font-size: 1.05rem; font-weight: 700;
  color: #2d4a1e; margin: 0;
}
.dg-info-card__desc {
  font-size: .78rem;
  color: rgba(45,74,30,.5);
  margin: 0;
}
.dg-info-card__badge {
  margin-left: auto;
  font-size: .75rem;
  color: rgba(45,74,30,.6);
  white-space: nowrap;
}

/* ── 카드 바디 ── */
.dg-info-card__body {
  padding: 1.25rem 1.5rem;
}

/* ── 카드 토글 (열기/닫기) ── */
.dg-card-toggle {
  margin-left: auto;
  width: 30px; height: 30px;
  border-radius: 8px;
  border: none;
  background: rgba(45,74,30,.08);
  color: #2d4a1e;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  cursor: pointer;
  transition: transform .25s ease, background .15s ease;
  flex-shrink: 0;
}
.dg-card-toggle:hover {
  background: rgba(45,74,30,.15);
}
.is-collapsed .dg-card-toggle {
  transform: rotate(180deg);
}
.is-collapsed .dg-info-card__body {
  display: none;
}

/* ── 주소 박스 ── */
.dg-addr-box {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(140,176,120,.08);
  border-radius: 12px;
  padding: .5rem 1.25rem;
  margin-bottom: 1.25rem;
}
.dg-addr-box__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #8ca078;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem; flex-shrink: 0;
}
.dg-addr-box__text {
  font-size: 1rem; font-weight: 600;
  color: #2d4a1e; margin: 0;
}
.dg-addr-box__sub {
  font-size: .82rem; color: #888;
  margin: .15rem 0 0;
}

/* 전화 박스 변형 */
.dg-addr-box--phone {
  background: #f0f4ff;
  margin-top: -.5rem;
}
.dg-addr-box__icon--phone {
  background: #5b7fc7;
}
.dg-addr-box__text--phone {
  color: #1e40af;
}

/* ── 카카오맵 ── */
.dg-kakaomap-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  margin-bottom: 1rem;
}
.dg-kakaomap-wrap .root_daum_roughmap {
  width: 100% !important;
}
.dg-map-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: #8ca078;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: .25rem;
}
.dg-map-link:hover { color: #2d4a1e; }

/* ── 불릿 리스트 ── */
.dg-bullet-list {
  list-style: none; padding: 0; margin: 0;
}
.dg-bullet-list li {
  position: relative;
  padding: .6rem 0 .6rem 1.4rem;
  font-size: 1rem; line-height: 1.65;
  color: #424242;
  border-bottom: 1px solid #f5f5f5;
}
.dg-bullet-list li:last-child { border-bottom: none; }
.dg-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .95rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #8ca078;
}

/* ── 소제목 ── */
.dg-sub-heading {
  font-size: .95rem; font-weight: 600;
  color: #424242;
  padding-bottom: .5rem;
  margin-top: .25rem; margin-bottom: 0;
  border-bottom: 1px solid #e8e8e8;
}

/* ── 교통수단 그리드 ── */
.dg-transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.dg-transport-item {
  background: #fafafa;
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  border: 1px solid #f0f0f0;
}
.dg-transport-item__head {
  display: flex; align-items: center; gap: .5rem;
  margin-bottom: .6rem;
}
.dg-transport-item__icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(140,176,120,.15);
  display: flex; align-items: center; justify-content: center;
  color: #3d5a2e; font-size: .9rem; flex-shrink: 0;
}
.dg-transport-item__title {
  font-size: .92rem; font-weight: 600;
  color: #333; margin: 0;
}
.dg-transport-item__desc {
  font-size: .9rem; line-height: 1.6;
  color: #555; margin: 0;
  word-break: keep-all;
}

/* ── 강조 카드 ── */
.pa-goal-card {
  background: rgba(140,176,120,.08);
  border-left: 4px solid #8ca078;
  border-radius: 0 10px 10px 0;
  padding: .85rem 1.1rem;
  margin-bottom: .5rem;
  font-size: .95rem; line-height: 1.7;
  color: #2d4a1e;
  word-break: keep-all;
}


/* ══════════════════════════════════════
   모바일 대응
   ══════════════════════════════════════ */

@media (max-width: 768px) {
  .dg-info-card__head { gap: .6rem; padding: .7rem .9rem; }
  .dg-info-card__icon { width: 32px; height: 32px; font-size: .9rem; border-radius: 8px; }
  .dg-info-card__label { font-size: .58rem; padding: .1rem .4rem; }
  .dg-info-card__title { font-size: .92rem; white-space: normal; word-break: keep-all; }
  .dg-info-card__badge { font-size: .65rem; }
  .dg-card-toggle { width: 26px; height: 26px; font-size: .65rem; border-radius: 6px; }

  .dg-info-card__body { padding: 1rem 1.15rem; }
  .dg-transport-grid { grid-template-columns: 1fr; }
  .dg-kakaomap-wrap iframe { height: 300px; }
}

/* 카카오맵 하단 주소/전화번호 숨김 */
.dg-kakaomap-wrap .root_daum_roughmap .wrap_controllers,
.dg-kakaomap-wrap .root_daum_roughmap .wrap_btn_roadview,
.dg-kakaomap-wrap .root_daum_roughmap .cont {
  display: none !important;
}