/* 온맘닷컴 반응형 POC — Custom CSS (Tailwind 오버라이드 불가한 항목만) */

/* Swiper 커스터마이징 */
.mainVisualSwiper {
  overflow: hidden;
}

.mainVisualSwiper .swiper-slide {
  overflow: hidden;
  height: 100%;
}

.mainVisualSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 교회 상세페이지 슬라이더 */
.churchVisualSwiper {
  overflow: hidden;
}

.churchVisualSwiper .swiper-slide {
  overflow: hidden;
  height: 100%;
}

.churchVisualSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  opacity: 0.4;
  background: #fff;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #fff;
}

/* 스크롤바 스타일 (모바일 메뉴) */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #d6d6d6;
  border-radius: 2px;
}

/* 포커스 아웃라인 (접근성) */
:focus-visible {
  outline: 2px solid #e40e64;
  outline-offset: 2px;
}

/* 스크롤 — POC에서는 href="#" 사용 중이므로 smooth 비활성화 */

/* 선택 색상 */
::selection {
  background-color: rgba(228, 14, 100, 0.15);
  color: #333;
}

/* 광고 슬롯 — AdSense <ins> 래퍼 */
.ad-slot {
  text-align: center;
  min-height: 90px;
  position: relative;
}

/* AdSense 테스트 배너 — 승인 전 시각 확인용 */
.ad-test-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  border: 1px solid #c4c3c3;
  border-radius: 4px;
  color: #545454;
}

.ad-test-label {
  background: #e40e64;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.ad-test-content {
  font-size: 12px;
  line-height: 1.5;
}

.ad-test-content small {
  color: #868686;
  font-size: 10px;
}

/* 모바일에서 광고 영역 축소 */
@media (max-width: 767px) {
  .ad-leaderboard,
  .ad-mid-content,
  .ad-footer {
    max-width: 100% !important;
    min-height: 60px !important;
  }
  .ad-test-banner {
    min-height: 60px;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
  }
  .ad-test-content {
    font-size: 11px;
    text-align: center;
  }
}
