@charset "UTF-8";
/*
 * FO 템플릿 공통 보정 — 템플릿 인라인 style 을 옮겨 온 곳(2026-12-03).
 * static/ 은 퍼블 소유라 여기에 둔다. 퍼블 규칙보다 이겨야 했던 인라인을 대신하므로 !important 를 쓴다.
 * JS 가 style.display 로 켜고 끄는 초기 숨김과 데이터 값이 들어가는 th:style 은 템플릿에 남긴다.
 */

/* 버튼 하나를 감싼 POST 폼 — 버튼 줄에서 줄바꿈되지 않게 (마이페이지 나의도서·단체 신청 취소·방문예약) */
.fo-inline-form {display: inline !important;}

/* 사용자 입력 여러 줄 텍스트 — 줄바꿈 유지 (도서 소개·1:1 문의 본문·단체 자료·방문목적) */
.fo-pre-line {white-space: pre-line !important;word-break: keep-all;}

/* 빈 목록 안내 — 가운데·보조 글자색 (td·li·div 공용, li 는 flex 라 justify-content 도 준다) */
.fo-empty-msg {justify-content: center !important;text-align: center !important;color: var(--text-secondary) !important;}
.fo-empty-msg.-lg {padding-block: 8rem !important;font-size: 1.8rem !important;}
.fo-empty-msg.-xl {padding-block: 10rem !important;font-size: 1.8rem !important;}

/* 대표 이미지 미리보기 폭 (단체 등록·단체 프로그램 등록) */
.fo-img-preview {max-width: 20rem !important;}

/* 본문 강조 문구 (OPEN API 안내 '확인필수') */
.fo-mark {color: #007ADE !important;font-weight: 700 !important;}
/* 퍼블 강조색 문구 (단체 등록 완료 안내) */
.fo-accent-mark {color: var(--accent-mark) !important;}

/* 버튼 줄 우측 정렬 — 퍼블에 우측 정렬 버튼 영역이 없다(.btn-container 는 가운데·큰 버튼). 퍼블 반영 시 제거 (방문예약 상세) */
.fo-btn-right {display: flex !important;justify-content: flex-end !important;gap: 0.8rem;margin-block-start: 2.4rem;}

/* 마이페이지 상단 등급 배지 묶음 — 퍼블 CSS 가 배지 1개만 가정. 퍼블 반영 시 제거 */
.my-badges {grid-column: 1/4 !important;display: flex !important;gap: 0.4rem;}

/* 목록 요약 3줄 말줄임 (자료 목록) */
.fo-clamp-3 {-webkit-line-clamp: 3 !important;}

/* 앵커 이동 시 고정 헤더에 가리지 않게 (나의 홈 추천 콘텐츠) */
.fo-scroll-anchor {scroll-margin-top: 8rem;}

/* 주간 배너 배경 — AS-IS weekly_hd_bg.jpg. CSS 상대경로라 context-path 와 무관 (신착·인기 자료 상세) */
.fo-weekly-bg {background-image: url("../img/weekly_hd_bg.jpg") !important;}
