/* prostate/prostatitis.html (원본 /sub3/sub3_2.php) 전용 보정
   원본 css/sub.css 는 1200px 고정 전제라 @media 가 한 줄도 없다.
   sub.css 수치는 그대로 두고 좁은 폭에서만 리플로우한다. */

/* 본문 이미지 — 원본이 폭 규칙 없이 실측 크기로 놓는다. 좁은 폭에서 유동화. */
.list_content_img img { max-width: 100%; height: auto; }

@media screen and (max-width: 1240px) {
  /* .text_box li{width:513px} 고정 2열 → 같은 2열 유지하되 폭만 무른다.
     열 간격은 원본 .box_right{margin-right:55px} 을 그대로 쓴다. */
  .text_box li { width: calc((100% - 55px) / 2); }
}

@media screen and (max-width: 1024px) {
  .top_content { padding-top: 40px; overflow: hidden; }
  .quickroute { position: static; float: right; clear: both; margin-top: 12px; background-position: 0 50%; }

  .detail_content { padding: 20px 20px 40px; margin-bottom: 40px; }
  .detail_content > h3 { font-size: 21px; padding: 34px 0 20px 26px; background-size: 16px auto; }
  .detail_content > h3:first-child { padding-top: 14px; background-position-y: 16px; }

  .text_box { padding-left: 0; }
}

@media screen and (max-width: 768px) {
  /* 2열 이미지 박스 → 단일열 */
  .text_box li,
  .text_box li.box_right { float: none; width: 100%; margin-right: 0; }

  .content_nav ul li a { font-size: 16px; }
}

@media screen and (max-width: 480px) {
  .top_content h2 { font-size: 23px; }
  .quickroute { font-size: 13px; }
  .detail_content { padding: 14px 14px 30px; }
  .detail_content > h3 { font-size: 19px; padding-left: 22px; }
  .content_nav ul li a { font-size: 15px; }
}
