/*
 * 제주화랑농원 전체 카테고리 글자 가시성 보정 - 2026-05-29
 * 범위: 카테고리 상단 타이틀/부제목, 세부 카테고리 카드, 본문 카드, 안내 말풍선
 * 원칙: 배경/레이아웃/이미지/기능은 변경하지 않고 글자색·불투명도만 보정
 */
:root{
  --hw-visible-title:#0b2d05;
  --hw-visible-text:#111111;
  --hw-visible-muted:#222222;
  --hw-visible-green:#174907;
}

/* 전체 카테고리 상단 제목 영역: 밝은 배경 위 흰 글자 문제 차단 */
body:not(.admin) .page-hero,
body:not(.admin) .section-hero,
body:not(.admin) .page-unified-hero,
body:not(.admin) .category-hero,
body:not(.admin) .subpage-hero{
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin) .page-hero *,
body:not(.admin) .section-hero *,
body:not(.admin) .page-unified-hero *,
body:not(.admin) .category-hero *,
body:not(.admin) .subpage-hero *{
  opacity:1 !important;
  visibility:visible !important;
  text-shadow:none !important;
}
body:not(.admin) .page-hero .eyebrow,
body:not(.admin) .section-hero .eyebrow,
body:not(.admin) .page-unified-hero .eyebrow,
body:not(.admin) .category-hero .eyebrow,
body:not(.admin) .subpage-hero .eyebrow{
  color:var(--hw-visible-title) !important;
  font-weight:1000 !important;
}
body:not(.admin) .page-hero h1,
body:not(.admin) .page-hero h2,
body:not(.admin) .section-hero h1,
body:not(.admin) .section-hero h2,
body:not(.admin) .page-unified-hero h1,
body:not(.admin) .page-unified-hero h2,
body:not(.admin) .category-hero h1,
body:not(.admin) .category-hero h2,
body:not(.admin) .subpage-hero h1,
body:not(.admin) .subpage-hero h2{
  color:var(--hw-visible-title) !important;
  font-weight:1000 !important;
}
body:not(.admin) .page-hero p,
body:not(.admin) .section-hero p,
body:not(.admin) .page-unified-hero p,
body:not(.admin) .category-hero p,
body:not(.admin) .subpage-hero p{
  color:var(--hw-visible-text) !important;
  font-weight:850 !important;
}

/* 화랑이 안내 말풍선 */
body:not(.admin) .hwarang-page-guide,
body:not(.admin) .hwarang-guide-bubble,
body:not(.admin) .hwarang-guide-bubble *{
  color:var(--hw-visible-text) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin) .hwarang-guide-bubble small{
  color:#222 !important;
  font-weight:800 !important;
}

/* 세부 카테고리 카드 */
body:not(.admin) .repair-parent-card,
body:not(.admin) .repair-parent-card *{
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin) .repair-parent-card h1,
body:not(.admin) .repair-parent-card h2,
body:not(.admin) .repair-parent-card h3,
body:not(.admin) .repair-parent-card strong{
  color:var(--hw-visible-green) !important;
  font-weight:1000 !important;
}
body:not(.admin) .repair-parent-card p,
body:not(.admin) .repair-parent-card span,
body:not(.admin) .repair-parent-card small{
  color:var(--hw-visible-text) !important;
  font-weight:850 !important;
}

/* 일반 본문/등록 항목 카드 */
body:not(.admin) .content-box,
body:not(.admin) .repair-item,
body:not(.admin) .card,
body:not(.admin) .card-body,
body:not(.admin) .gallery-card,
body:not(.admin) .product-card,
body:not(.admin) .research-card,
body:not(.admin) .uniform-card,
body:not(.admin) .page-panel,
body:not(.admin) .info-card{
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin) .content-box h1,
body:not(.admin) .content-box h2,
body:not(.admin) .content-box h3,
body:not(.admin) .repair-item h1,
body:not(.admin) .repair-item h2,
body:not(.admin) .repair-item h3,
body:not(.admin) .card h1,
body:not(.admin) .card h2,
body:not(.admin) .card h3,
body:not(.admin) .card-body h1,
body:not(.admin) .card-body h2,
body:not(.admin) .card-body h3,
body:not(.admin) .gallery-card h3,
body:not(.admin) .product-card h3,
body:not(.admin) .research-card h3,
body:not(.admin) .uniform-card h3,
body:not(.admin) .page-panel h3,
body:not(.admin) .info-card h3{
  color:var(--hw-visible-green) !important;
  font-weight:1000 !important;
}
body:not(.admin) .content-box p,
body:not(.admin) .content-box li,
body:not(.admin) .content-box span,
body:not(.admin) .repair-item p,
body:not(.admin) .repair-item li,
body:not(.admin) .repair-item span,
body:not(.admin) .card p,
body:not(.admin) .card li,
body:not(.admin) .card span,
body:not(.admin) .card-body p,
body:not(.admin) .card-body li,
body:not(.admin) .card-body span,
body:not(.admin) .gallery-card p,
body:not(.admin) .product-card p,
body:not(.admin) .research-card p,
body:not(.admin) .uniform-card p,
body:not(.admin) .page-panel p,
body:not(.admin) .info-card p{
  color:var(--hw-visible-text) !important;
  opacity:1 !important;
  font-weight:750 !important;
}

/* 섹션 제목/설명 */
body:not(.admin) .section h1,
body:not(.admin) .section h2,
body:not(.admin) .section h3,
body:not(.admin) .section-title,
body:not(.admin) .section-head h1,
body:not(.admin) .section-head h2,
body:not(.admin) .section-head h3{
  color:var(--hw-visible-green) !important;
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin) .section .desc,
body:not(.admin) .section-head .desc,
body:not(.admin) .page-desc,
body:not(.admin) .category-desc{
  color:var(--hw-visible-text) !important;
  opacity:1 !important;
  font-weight:800 !important;
  text-shadow:none !important;
}

/* 링크/버튼은 읽히게만 보정 */
body:not(.admin) a:not(.btn):not(.hw-btn){
  opacity:1 !important;
  text-shadow:none !important;
}
body:not(.admin) .btn.ghost{
  color:var(--hw-visible-green) !important;
  font-weight:1000 !important;
}
