/* 대구소액일수 — 커스텀 레이어 (il- 네임스페이스, 전역 셀렉터 최소화) */

/* 1) 위젯 등장 애니메이션 해제 (정적 배포본 렌더 보정) */
.wg_animated, [data-widget-anim], .animated {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* 2) 히어로 슬라이더 (owl 미사용) */
.visual_area.il-slider { position: relative; }
.visual_area.il-slider > .il-slide { display: none !important; width: 100%; }
.visual_area.il-slider > .il-slide.il-on { display: flex !important; }
.il-dots { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; z-index: 30; }
.il-dots button {
  width: 9px; height: 9px; margin: 0 5px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .45); cursor: pointer;
}
.il-dots button.on { background: #fff; width: 24px; border-radius: 5px; }

/* 3) H1 밴드 (메인 3줄 균등 · 하위 한 줄, keep-all) */
.dg-h1wrap {
  background: linear-gradient(135deg, #08312b 0%, #146b5c 100%);
  padding: 132px 24px 46px; text-align: center;
}
.dg-h1wrap .dg-h1 {
  color: #fff; font-weight: 800; word-break: keep-all; line-height: 1.34;
  margin: 0 0 12px; letter-spacing: -.6px;
}
.dg-h1wrap .dg-h1sub { color: #c9e9df; font-size: 16px; line-height: 1.7; margin: 0; word-break: keep-all; }
.dg-h1wrap.dg-h1-pc .dg-h1 { font-size: 42px; }
@media (max-width: 991px) {
  .dg-h1wrap { padding: 96px 20px 34px; }
  .dg-h1wrap.dg-h1-mo .dg-h1 { font-size: 25px; }
  .dg-h1wrap .dg-h1sub { font-size: 14.5px; }
}

/* 4) 모바일 메뉴 패널 (자체 구현) */
#mobile_slide_menu_wrap.il-mob-menu { display: none; }
#mobile_slide_menu_wrap.il-mob-menu.il-open {
  display: block !important; position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 9999; background: rgba(4, 26, 22, .55);
}
#mobile_slide_menu_wrap.il-mob-menu #mobile_slide_menu {
  position: absolute !important; top: 0 !important; right: 0 !important; left: auto !important;
  width: 82% !important; max-width: 330px !important; height: 100% !important;
  background: #fff !important; overflow-y: auto !important; padding: 24px 20px 40px !important;
  box-shadow: -8px 0 26px rgba(0, 0, 0, .2); transform: none !important; visibility: visible !important;
  opacity: 1 !important; z-index: 10000 !important;
}
#mobile_slide_menu_wrap.il-mob-menu .il-menu-close {
  position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; background: none;
  font-size: 28px; line-height: 1; color: #0d4a40; cursor: pointer;
}
#mobile_slide_menu_wrap.il-mob-menu .il-menu-title { margin: 6px 0 18px; font-size: 15px; font-weight: 800; color: #146b5c; letter-spacing: -.3px; }
#mobile_slide_menu_wrap.il-mob-menu .il-menu-list { list-style: none; margin: 0 0 22px; padding: 0; }
#mobile_slide_menu_wrap.il-mob-menu .il-menu-list li { border-bottom: 1px solid #e7f1ec; }
#mobile_slide_menu_wrap.il-mob-menu .il-menu-list a {
  display: block; padding: 14px 4px; color: #0d4a40; font-size: 16px; font-weight: 600; text-decoration: none;
}
#mobile_slide_menu_wrap.il-mob-menu .il-menu-cta {
  display: block; margin-top: 10px; padding: 14px; border-radius: 10px; text-align: center;
  background: #fee500; color: #191600; font-weight: 800; text-decoration: none; font-size: 15px;
}
#mobile_slide_menu_wrap.il-mob-menu .il-menu-cta-sms { background: #17a882; color: #fff; }
body.il-menu-open { overflow: hidden; }

/* 5) 본문 아티클 */
.il-article { padding: 74px 20px; background: #fff; }
.il-article.il-article-alt { background: #f1f8f5; }
.il-article .il-inner { max-width: 1080px; margin: 0 auto; }
.il-article h2 {
  font-size: 27px; line-height: 1.4; color: #0d4a40; font-weight: 800;
  margin: 40px 0 18px; word-break: keep-all; letter-spacing: -.4px;
}
.il-article .il-inner > h2:first-child { margin-top: 0; }
.il-article h3 {
  font-size: 19px; line-height: 1.5; color: #146b5c; font-weight: 700;
  margin: 28px 0 10px; word-break: keep-all;
}
.il-article p {
  font-size: 16px; line-height: 1.95; color: #37423f; margin: 0 0 16px; word-break: keep-all;
}
.il-article .il-point {
  background: linear-gradient(135deg, #eaf7f2 0%, #d8efe6 100%);
  border-left: 4px solid #17a882; border-radius: 8px; padding: 20px;
  margin: 24px 0; font-size: 15px; line-height: 1.85; color: #23423a; word-break: keep-all;
}
.il-article .il-point strong { color: #0d4a40; }
.il-article .il-cta-line {
  margin-top: 26px; padding: 18px 20px; background: #e9f6f1; border-radius: 12px;
  font-weight: 600; color: #0d4a40;
}
.il-article .il-cta-line a { color: #0f7a63; text-decoration: underline; }
.il-article .il-rel { font-size: 15px; color: #46574f; margin-top: 24px; }
.il-article .il-rel a { color: #0f7a63; text-decoration: none; font-weight: 600; }
.il-article .il-legal {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid #dcefe7;
  font-size: 13px; line-height: 1.8; color: #6b7280;
}
@media (max-width: 767px) {
  .il-article { padding: 54px 18px; }
  .il-article h2 { font-size: 22px; }
  .il-article h3 { font-size: 17px; }
  .il-article p { font-size: 15.5px; }
}

/* 6) CTA 버튼 */
.il-cta-btn {
  display: inline-block; min-width: 232px; padding: 19px 26px; border-radius: 12px;
  font-size: 17px; font-weight: 800; text-align: center; text-decoration: none;
  letter-spacing: -.3px; transition: transform .15s ease, box-shadow .15s ease;
}
.il-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .18); text-decoration: none; }
.il-cta-kakao { background: #fee500; color: #191600; }
.il-cta-sms { background: #17a882; color: #fff; }
.il-cta-kakao:hover, .il-cta-kakao:focus { color: #191600; }
.il-cta-sms:hover, .il-cta-sms:focus { color: #fff; }

/* 7) 플로팅 문의 배너 — ①카톡 ②문자 순서 고정 */
.il-float {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
  display: flex; gap: 8px; padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(8, 49, 43, .93); backdrop-filter: blur(6px);
}
.il-float-btn {
  flex: 1; text-align: center; padding: 14px 6px; border-radius: 10px;
  font-size: 15px; font-weight: 800; text-decoration: none; letter-spacing: -.3px;
}
.il-float-kakao { background: #fee500; color: #191600; }
.il-float-sms { background: #17a882; color: #fff; }
.il-float-btn:hover, .il-float-btn:focus { text-decoration: none; }
.il-float-kakao:hover { color: #191600; }
.il-float-sms:hover { color: #fff; }
body { padding-bottom: 74px; }
@media (min-width: 992px) {
  .il-float { left: auto; right: 24px; bottom: 24px; width: 300px; border-radius: 14px; padding: 10px; }
  body { padding-bottom: 0; }
}

/* 8) 케러셀 현재 페이지 강조 */
.dgsvc-card.dgsvc-current { outline: 2px solid #17a882; outline-offset: -2px; }

/* 9) 폰트 폴백 */
body, .il-article, .dgsvc-inner, .dgfaq-inner, .dgproc-inner {
  font-family: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
}

/* 10) 정적본 렌더 보정 — 아임웹 JS 의존 요소 */
.owl-carousel.visual_area { display: block !important; }
.visual_section .visual_area .item.holder {
  min-height: 620px; display: flex; align-items: center;
  background-repeat: no-repeat; background-size: cover; background-position: 50% 50%;
}
.visual_section .visual_area .item.holder .op,
.visual_section .visual_area .item.holder .header-content { width: 100%; }
.visual_section .visual_area .item .header-content { min-height: 0 !important; height: auto !important; padding: 60px 0; }
@media (max-width: 991px) {
  .visual_section .visual_area .item.holder { min-height: 460px; }
}
/* 케러셀 썸네일 정사각 고정 */
#dgsvc6 .dgsvc-card .dgsvc-thumb { height: 300px !important; width: 100% !important; object-fit: cover; }
@media (max-width: 600px) { #dgsvc6 .dgsvc-card .dgsvc-thumb { height: 240px !important; } }
/* 절차 이미지 크기 제한 */
#dgproc .step-box .step-img { max-width: 300px !important; height: 220px !important; object-fit: cover; border-radius: 14px; }
@media (max-width: 767px) { #dgproc .step-box .step-img { max-width: 100% !important; height: 180px !important; } }
/* 모바일 메뉴 로그인 영역 숨김 */
.profile-area, .im-mobile-slide-footer { display: none !important; }
/* 가로 스크롤 방지 */
html, body { overflow-x: hidden; max-width: 100%; }

/* 11) 아임웹 lazyload 대체 — 인라인 visibility:hidden 해제 */
.doz_sys img, .doz_sys .widget img, .doz_sys [id^="img_w"] { visibility: visible !important; }
.doz_sys .widget .image, .doz_sys ._img_wrap { opacity: 1 !important; }
.doz_sys .visibility, .doz_sys ._widget_data, .doz_sys .widget { visibility: visible !important; }
.doz_sys .widget img, .doz_sys ._image_wrap img { max-width: 100% !important; height: auto !important; }

/* 12) 모바일 헤더 = 로고 + 햄버거, 헤더 CTA 숨김 */
.doz_sys .inline_widget.icon_type_menu a { display: inline-flex !important; align-items: center; gap: 7px; color: #fff; }
.doz_sys .inline_widget.icon_type_menu .text { font-size: 11px; font-weight: 700; letter-spacing: .5px; }
.doz_sys .icon_code.bt-bars {
  position: relative; display: inline-block !important; width: 24px; height: 17px;
}
.doz_sys .icon_code.bt-bars::after {
  content: ''; position: absolute; left: 0; top: 1px; width: 24px; height: 2.5px;
  background: currentColor; box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}
@media (max-width: 768px) {
  #inline_header_mobile .inline-col-group-right { display: flex; justify-content: flex-end; align-items: center; }
  #inline_header_mobile .inline_widget.button_type, #inline_header_mobile .btn_type_widget { display: none !important; }
}

/* 13) 고민 섹션(어두운 배경) 텍스트 가독성 */
#s20230322f57b316b0b5bc .fr-view, #s20230322f57b316b0b5bc .fr-view *,
#s2023032244b4c1cb8c715 .fr-view, #s2023032244b4c1cb8c715 .fr-view * {
  color: #e3f3ed !important;
}
#s20230322f57b316b0b5bc .fr-view p, #s2023032244b4c1cb8c715 .fr-view p {
  text-shadow: 0 1px 6px rgba(0, 0, 0, .55);
}

/* 14) 히어로 좌측 가독성 오버레이 (배경 사진 위 텍스트) */
.visual_section .visual_area .item.holder { position: relative; }
.visual_section .visual_area .item.holder::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(8, 49, 43, .88) 0%, rgba(8, 49, 43, .70) 34%, rgba(8, 49, 43, .18) 62%, rgba(8, 49, 43, .06) 100%);
}
.visual_section .visual_area .item.holder > * { position: relative; z-index: 2; }

/* 15) 푸터 대비 보정 (벤더 CSS의 밝은 배경 상쇄) */
.footer .footer-section { background: transparent !important; color: #cfe3dc !important; }
.footer .footer-section h5 { color: #5fd3b4 !important; }
.footer .footer-section p.p3 { color: #cfe3dc !important; }
.footer .footer-bottom p { color: #b9d3cb !important; }
.footer .footer-links a { color: #dff0ea !important; }
