@charset "utf-8";
/* 미디어 · 영상 · 사진 게시판 목록 공용 (media.php #bfMedia / bfVideo.php #bfVideo / bfPhoto.php #bfPhoto)
   각 페이지 <style>에 들어 있던 CSS를 합친 파일입니다. 세 페이지가 같은 규칙은 선택자를 묶었고, 다른 규칙은 해당 페이지 아이디로만 남겼습니다.
   한 페이지만 바꾸려면 그 페이지 아이디(#bfMedia 등)의 선택자만 고치세요. */
#bfMedia,
#bfMedia .board_wp,
#bfVideo,
#bfVideo .board_wp,
#bfPhoto,
#bfPhoto .board_wp {
	--ink: #1e293b;
	--text: #393939;
	--bf-primary: var(--ink);
	--bf-accent: var(--ink);
	--bf-ink: var(--text);
	--bf-text: var(--text);
	--bf-muted: #767676;
	--bf-border: #e7e7e7;
	--bf-line: var(--bf-border);
	--bf-soft: #f8f8f8;
	--bf-surface: var(--bf-soft);
	color: #222;
	background: #fff;
	font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: -.025em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	word-break: keep-all;
	overflow-wrap: anywhere;
}
#bfMedia *,
#bfMedia *::before,
#bfMedia *::after,
#bfVideo *,
#bfVideo *::before,
#bfVideo *::after,
#bfPhoto *,
#bfPhoto *::before,
#bfPhoto *::after { box-sizing: border-box; }
#bfMedia a,
#bfVideo a,
#bfPhoto a { text-decoration: none; }
#bfMedia :is(button, input, select, textarea),
#bfVideo :is(button, input, select, textarea),
#bfPhoto :is(button, input, select, textarea) { font-family: inherit; }
#bfMedia .board_wp input[type="hidden"],
#bfVideo .board_wp input[type="hidden"],
#bfPhoto .board_wp input[type="hidden"] { display: none !important; }
#bfMedia .board_wp :is(a, button, input, select, textarea):focus-visible,
#bfVideo .board_wp :is(a, button, input, select, textarea):focus-visible,
#bfPhoto .board_wp :is(a, button, input, select, textarea):focus-visible {
	outline: 2px solid var(--bf-primary) !important;
	outline-offset: 3px;
}
#bfMedia .board_wp .sound_only,
#bfMedia .board_wp #bo_cate > h2,
#bfMedia .board_wp #bo_sch > legend,
#bfVideo .board_wp .sound_only,
#bfVideo .board_wp #bo_cate > h2,
#bfVideo .board_wp #bo_sch > legend,
#bfPhoto .board_wp .sound_only,
#bfPhoto .board_wp #bo_cate > h2,
#bfPhoto .board_wp #bo_sch > legend {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
/* 화면 구성 */
#bfMedia .bfmedia_board,
#bfVideo .bfvideo_board,
#bfPhoto .bfphoto_board { padding: 80px 0 100px; }
#bfMedia .bfmedia_board > .container,
#bfVideo .bfvideo_board > .container,
#bfPhoto .bfphoto_board > .container {
	width: calc(100% - 80px) !important;
	max-width: 1560px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}
#bfMedia .board_wp,
#bfVideo .board_wp,
#bfPhoto .board_wp { width: 100%; margin: 0; padding: 0; }
#bfMedia .board_wp :is(#bo_gall, #bo_list, #bo_v),
#bfVideo .board_wp :is(#bo_gall, #bo_list, #bo_v),
#bfPhoto .board_wp :is(#bo_gall, #bo_list, #bo_v) {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0;
	border: 0;
	background: transparent;
}
#bfMedia .board_wp .bf-shorts-heading,
#bfVideo .board_wp .bf-shorts-heading,
#bfPhoto .board_wp .bf-shorts-heading { margin: 0 0 40px; }
#bfMedia .board_wp #container_title,
#bfVideo .board_wp #container_title,
#bfPhoto .board_wp #container_title {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 0 32px !important;
	padding: 0 !important;
	overflow: visible !important;
	border: 0 !important;
	background: transparent !important;
	color: #222 !important;
	font-size: 32px !important;
	font-weight: 600 !important;
	line-height: 1.25 !important;
	letter-spacing: -.04em;
}
#bfMedia .board_wp .bf-shorts-heading #container_title,
#bfVideo .board_wp .bf-shorts-heading #container_title,
#bfPhoto .board_wp .bf-shorts-heading #container_title { margin-bottom: 0 !important; }
#bfMedia .board_wp .bf-shorts-heading p,
#bfVideo .board_wp .bf-shorts-heading p,
#bfPhoto .board_wp .bf-shorts-heading p { margin: 14px 0 0; color: var(--bf-muted); font-size: 16px; line-height: 1.65; }
#bfMedia .board_wp .bf-shorts-eyebrow,
#bfVideo .board_wp .bf-shorts-eyebrow,
#bfPhoto .board_wp .bf-shorts-eyebrow { display: none; }
#bfMedia .board_wp .bf-shorts-toolbar,
#bfVideo .board_wp .bf-shorts-toolbar,
#bfPhoto .board_wp .bf-shorts-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 0;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--bf-border);
}
/* 카테고리: 기존 170px 고정 너비와 float 해제 */
#bfMedia .board_wp #bo_cate,
#bfVideo .board_wp #bo_cate,
#bfPhoto .board_wp #bo_cate { float: none !important; width: auto; margin: 0 0 24px; padding: 0; overflow: visible !important; }
#bfMedia .board_wp .bf-shorts-toolbar > #bo_cate,
#bfVideo .board_wp .bf-shorts-toolbar > #bo_cate,
#bfPhoto .board_wp .bf-shorts-toolbar > #bo_cate { flex: 1 1 auto; margin: 0; }
#bfMedia .board_wp #bo_cate ul,
#bfVideo .board_wp #bo_cate ul,
#bfPhoto .board_wp #bo_cate ul {
	display: flex !important;
	float: none !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#bfMedia .board_wp #bo_cate ul::after,
#bfVideo .board_wp #bo_cate ul::after,
#bfPhoto .board_wp #bo_cate ul::after { display: none !important; }
#bfMedia .board_wp #bo_cate li,
#bfVideo .board_wp #bo_cate li,
#bfPhoto .board_wp #bo_cate li { float: none !important; margin: 0 !important; padding: 0 !important; list-style: none; }
#bfMedia .board_wp #bo_cate a,
#bfVideo .board_wp #bo_cate a,
#bfPhoto .board_wp #bo_cate a {
	display: inline-flex !important;
	position: relative;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 36px;
	height: 44px !important;
	min-height: 44px;
	margin: 0 !important;
	padding: 0 2px !important;
	border: 0 !important;
	border-bottom: 2px solid transparent !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #767676 !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	letter-spacing: -.025em;
	text-indent: 0 !important;
	text-decoration: none !important;
	transition: color .18s ease;
}
#bfMedia .board_wp #bo_cate a#bo_cate_on,
#bfVideo .board_wp #bo_cate a#bo_cate_on,
#bfPhoto .board_wp #bo_cate a#bo_cate_on {
	border-bottom-color: var(--bf-primary) !important;
	color: var(--bf-primary) !important;
	font-weight: 600 !important;
}
#bfMedia .board_wp #bo_cate a:hover,
#bfVideo .board_wp #bo_cate a:hover,
#bfPhoto .board_wp #bo_cate a:hover { color: var(--bf-primary) !important; }
/* 검색: 기존 fieldset 안 form / 새 form#bo_sch 양쪽 지원 */
#bfMedia .board_wp #bo_cate .sch_box,
#bfVideo .board_wp #bo_cate .sch_box,
#bfPhoto .board_wp #bo_cate .sch_box { float: none !important; width: 100%; margin: 16px 0 0; padding: 0; }
#bfMedia .board_wp #bo_sch,
#bfVideo .board_wp #bo_sch,
#bfPhoto .board_wp #bo_sch {
	float: none !important;
	position: static !important;
	width: 320px !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 0 0 auto !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	text-align: left;
}
#bfMedia .board_wp #bo_cate .sch_box #bo_sch,
#bfVideo .board_wp #bo_cate .sch_box #bo_sch,
#bfPhoto .board_wp #bo_cate .sch_box #bo_sch { width: 100% !important; }
#bfMedia .board_wp form#bo_sch,
#bfMedia .board_wp #bo_sch > form,
#bfVideo .board_wp form#bo_sch,
#bfVideo .board_wp #bo_sch > form,
#bfPhoto .board_wp form#bo_sch,
#bfPhoto .board_wp #bo_sch > form {
	display: flex !important;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	min-height: 44px;
	margin: 0;
	padding: 0;
}
#bfMedia .board_wp #bo_sch select,
#bfVideo .board_wp #bo_sch select,
#bfPhoto .board_wp #bo_sch select {
	-webkit-appearance: menulist;
	appearance: auto;
	flex: 0 0 82px;
	width: 82px !important;
	max-width: 82px !important;
	min-height: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 8px !important;
	border: 1px solid var(--bf-border) !important;
	border-radius: 6px !important;
	background-color: #fff !important;
	color: #555 !important;
	font-size: 14px !important;
	line-height: normal !important;
	box-shadow: none !important;
}
#bfMedia .board_wp #bo_sch :is(input[type="text"], input[type="search"]),
#bfVideo .board_wp #bo_sch :is(input[type="text"], input[type="search"]),
#bfPhoto .board_wp #bo_sch :is(input[type="text"], input[type="search"]) {
	-webkit-appearance: none;
	appearance: none;
	flex: 1 1 0;
	width: 0 !important;
	min-width: 0 !important;
	max-width: 100%;
	min-height: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	border: 1px solid var(--bf-border) !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--bf-ink) !important;
	font-size: 14px !important;
	line-height: normal !important;
	box-shadow: none !important;
}
#bfMedia .board_wp #bo_sch input::placeholder,
#bfVideo .board_wp #bo_sch input::placeholder,
#bfPhoto .board_wp #bo_sch input::placeholder { color: #909090; opacity: 1; }
/* 버튼: a뿐 아니라 class 없는 관리자 input/button까지 적용 */
#bfMedia .board_wp :is(a, button, input):is(.btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel),
#bfMedia .board_wp .btn_bo_adm :is(input[type="submit"], input[type="button"], button),
#bfMedia .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit),
#bfVideo .board_wp :is(a, button, input):is(.btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel),
#bfVideo .board_wp .btn_bo_adm :is(input[type="submit"], input[type="button"], button),
#bfVideo .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit),
#bfPhoto .board_wp :is(a, button, input):is(.btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel),
#bfPhoto .board_wp .btn_bo_adm :is(input[type="submit"], input[type="button"], button),
#bfPhoto .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit) {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-flex !important;
	position: static !important;
	float: none !important;
	align-items: center !important;
	justify-content: center !important;
	flex: 0 0 auto;
	gap: 6px;
	width: auto !important;
	min-width: 64px;
	min-height: 44px !important;
	height: 44px !important;
	margin: 0 !important;
	padding: 0 16px !important;
	overflow: visible !important;
	border: 1px solid var(--bf-border) !important;
	border-radius: 6px !important;
	background: #fff !important;
	background-image: none !important;
	color: #393939 !important;
	font-family: inherit !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	letter-spacing: -.02em;
	text-align: center !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	cursor: pointer;
	vertical-align: middle;
	transition: background-color .18s ease, border-color .18s ease;
}
#bfMedia .board_wp :is(a, button, input):is(.btn_b02, .btn_submit),
#bfMedia .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit),
#bfVideo .board_wp :is(a, button, input):is(.btn_b02, .btn_submit),
#bfVideo .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit),
#bfPhoto .board_wp :is(a, button, input):is(.btn_b02, .btn_submit),
#bfPhoto .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit) {
	border-color: var(--bf-primary) !important;
	background: var(--bf-primary) !important;
	color: #fff !important;
}
#bfMedia .board_wp :is(a, button, input):is(.btn_b01, .btn_admin, .btn_cancel):hover,
#bfMedia .board_wp .btn_bo_adm :is(input[type="submit"], input[type="button"], button):hover,
#bfVideo .board_wp :is(a, button, input):is(.btn_b01, .btn_admin, .btn_cancel):hover,
#bfVideo .board_wp .btn_bo_adm :is(input[type="submit"], input[type="button"], button):hover,
#bfPhoto .board_wp :is(a, button, input):is(.btn_b01, .btn_admin, .btn_cancel):hover,
#bfPhoto .board_wp .btn_bo_adm :is(input[type="submit"], input[type="button"], button):hover {
	border-color: #cbd1d9 !important;
	background: var(--bf-soft) !important;
	color: var(--bf-primary) !important;
}
#bfMedia .board_wp :is(a, button, input):is(.btn_b02, .btn_submit):hover,
#bfMedia .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit):hover,
#bfVideo .board_wp :is(a, button, input):is(.btn_b02, .btn_submit):hover,
#bfVideo .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit):hover,
#bfPhoto .board_wp :is(a, button, input):is(.btn_b02, .btn_submit):hover,
#bfPhoto .board_wp #bo_sch :is(input[type="submit"], button[type="submit"], .bf-search-submit):hover {
	background: #162033 !important;
	background: color-mix(in srgb, var(--bf-primary) 88%, #000) !important;
	color: #fff !important;
}
#bfMedia .board_wp #bo_sch :is(button[type="submit"], .bf-search-submit),
#bfVideo .board_wp #bo_sch :is(button[type="submit"], .bf-search-submit),
#bfPhoto .board_wp #bo_sch :is(button[type="submit"], .bf-search-submit) {
	min-width: 44px;
	width: 44px !important;
	padding: 0 !important;
}
#bfMedia .board_wp #bo_sch :is(button[type="submit"], .bf-search-submit) svg,
#bfVideo .board_wp #bo_sch :is(button[type="submit"], .bf-search-submit) svg,
#bfPhoto .board_wp #bo_sch :is(button[type="submit"], .bf-search-submit) svg { display: block; width: 18px !important; height: 18px !important; margin: 0 !important; fill: none; }
#bfMedia .board_wp :is(button, input):disabled,
#bfMedia .board_wp a[aria-disabled="true"],
#bfVideo .board_wp :is(button, input):disabled,
#bfVideo .board_wp a[aria-disabled="true"],
#bfPhoto .board_wp :is(button, input):disabled,
#bfPhoto .board_wp a[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
/* 버튼 묶음: 기존 float와 li 간격을 초기화 */
#bfMedia .board_wp :is(.btn_bo_user, .btn_bo_adm, .bo_v_nb, .bo_v_com, .bf-shorts-actions),
#bfVideo .board_wp :is(.btn_bo_user, .btn_bo_adm, .bo_v_nb, .bo_v_com, .bf-shorts-actions),
#bfPhoto .board_wp :is(.btn_bo_user, .btn_bo_adm, .bo_v_nb, .bo_v_com, .bf-shorts-actions) {
	display: flex !important;
	float: none !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	width: auto;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#bfMedia .board_wp :is(.btn_bo_user, .btn_bo_adm, .bo_v_nb, .bo_v_com) > li,
#bfVideo .board_wp :is(.btn_bo_user, .btn_bo_adm, .bo_v_nb, .bo_v_com) > li,
#bfPhoto .board_wp :is(.btn_bo_user, .btn_bo_adm, .bo_v_nb, .bo_v_com) > li {
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#bfMedia .board_wp .bo_fx,
#bfMedia .board_wp :is(#bo_v_top, #bo_v_bot),
#bfMedia .board_wp .bf-shorts-bottom,
#bfVideo .board_wp .bo_fx,
#bfVideo .board_wp :is(#bo_v_top, #bo_v_bot),
#bfVideo .board_wp .bf-shorts-bottom,
#bfPhoto .board_wp .bo_fx,
#bfPhoto .board_wp :is(#bo_v_top, #bo_v_bot),
#bfPhoto .board_wp .bf-shorts-bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 24px 0;
	padding: 0;
}
#bfMedia .board_wp :is(.bo_fx, #bo_v_top, #bo_v_bot)::after,
#bfVideo .board_wp :is(.bo_fx, #bo_v_top, #bo_v_bot)::after,
#bfPhoto .board_wp :is(.bo_fx, #bo_v_top, #bo_v_bot)::after { display: none; }
#bfMedia .board_wp .bo_fx .btn_bo_user,
#bfVideo .board_wp .bo_fx .btn_bo_user,
#bfPhoto .board_wp .bo_fx .btn_bo_user { margin-left: auto !important; }
#bfMedia .board_wp .bf-shorts-bottom,
#bfVideo .board_wp .bf-shorts-bottom,
#bfPhoto .board_wp .bf-shorts-bottom { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid var(--bf-border); }
#bfMedia .board_wp .bf-shorts-bottom:empty,
#bfVideo .board_wp .bf-shorts-bottom:empty,
#bfPhoto .board_wp .bf-shorts-bottom:empty { display: none; }
#bfMedia .board_wp .bf-shorts-bottom .bf-shorts-actions,
#bfVideo .board_wp .bf-shorts-bottom .bf-shorts-actions,
#bfPhoto .board_wp .bf-shorts-bottom .bf-shorts-actions { margin-right: auto !important; }
#bfMedia .board_wp .bf-select-all,
#bfVideo .board_wp .bf-select-all,
#bfPhoto .board_wp .bf-select-all { display: inline-flex; align-items: center; gap: 6px; color: var(--bf-muted); font-size: 12px; white-space: nowrap; cursor: pointer; }
#bfMedia .board_wp input[type="checkbox"],
#bfVideo .board_wp input[type="checkbox"],
#bfPhoto .board_wp input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; width: 16px; height: 16px; margin: 0; padding: 0; accent-color: var(--bf-primary); vertical-align: middle; cursor: pointer; }
#bfMedia .board_wp #gall_allchk,
#bfVideo .board_wp #gall_allchk,
#bfPhoto .board_wp #gall_allchk { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; }
#bfMedia .board_wp .bf-shorts-meta,
#bfVideo .board_wp .bf-shorts-meta,
#bfPhoto .board_wp .bf-shorts-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; }
#bfMedia .board_wp :is(.bf-shorts-count, #bo_list_total),
#bfVideo .board_wp :is(.bf-shorts-count, #bo_list_total),
#bfPhoto .board_wp :is(.bf-shorts-count, #bo_list_total) { float: none; margin: 0; padding: 0; color: var(--bf-muted); font-size: 13px; }
#bfMedia .board_wp .bf-shorts-count strong,
#bfVideo .board_wp .bf-shorts-count strong,
#bfPhoto .board_wp .bf-shorts-count strong { padding-inline: 3px; color: var(--bf-primary); font-weight: 600; }
/* 갤러리: 최신 숏츠 구조 / 기존 gall_href 구조 공통 */
#bfMedia .board_wp #gall_ul,
#bfVideo .board_wp #gall_ul,
#bfPhoto .board_wp #gall_ul {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 24px;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
#bfMedia .board_wp #gall_ul::after,
#bfVideo .board_wp #gall_ul::after,
#bfPhoto .board_wp #gall_ul::after { display: none !important; }
#bfMedia .board_wp #gall_ul > .gall_li,
#bfVideo .board_wp #gall_ul > .gall_li,
#bfPhoto .board_wp #gall_ul > .gall_li {
	float: none !important;
	clear: none !important;
	width: auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	list-style: none !important;
}
#bfMedia .board_wp #gall_ul :is(.bf-short-card, .gall_box),
#bfVideo .board_wp #gall_ul :is(.bf-short-card, .gall_box),
#bfPhoto .board_wp #gall_ul :is(.bf-short-card, .gall_box) { position: relative; height: 100%; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
#bfMedia .board_wp #gall_ul :is(.gall_con, .gall_con2),
#bfVideo .board_wp #gall_ul :is(.gall_con, .gall_con2),
#bfPhoto .board_wp #gall_ul :is(.gall_con, .gall_con2) { margin: 0 !important; padding: 0 !important; border: 0 !important; background: transparent !important; list-style: none !important; }
#bfMedia .board_wp #gall_ul .gall_con > li,
#bfVideo .board_wp #gall_ul .gall_con > li,
#bfPhoto .board_wp #gall_ul .gall_con > li { margin: 0 !important; padding: 0 !important; }
#bfMedia .board_wp #gall_ul :is(.bf-short-media, .gall_href, .gall_img),
#bfVideo .board_wp #gall_ul :is(.bf-short-media, .gall_href, .gall_img),
#bfPhoto .board_wp #gall_ul :is(.bf-short-media, .gall_href, .gall_img) {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 445 / 250 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	border-radius: 8px !important;
	background: #f3f3f3 !important;
}
#bfMedia .board_wp #gall_ul :is(.bf-short-cover, .gall_href > a, .gall_img > a),
#bfVideo .board_wp #gall_ul :is(.bf-short-cover, .gall_href > a, .gall_img > a),
#bfPhoto .board_wp #gall_ul :is(.bf-short-cover, .gall_href > a, .gall_img > a) {
	display: block !important;
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	aspect-ratio: auto !important;
	overflow: hidden !important;
	text-decoration: none !important;
}
#bfMedia .board_wp #gall_ul :is(.bf-short-cover, .gall_href > a, .gall_img > a) > img {
	display: block !important;
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: cover !important;
	object-position: center !important;
	transition: transform .3s ease;
}
#bfVideo .board_wp #gall_ul :is(.bf-short-cover, .gall_href > a, .gall_img > a) > img,
#bfPhoto .board_wp #gall_ul :is(.bf-short-cover, .gall_href > a, .gall_img > a) > img {
	display: block !important;
	position: absolute;
	inset: 0;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	object-fit: contain !important;
	object-position: center !important;
	transition: transform .3s ease;
}
#bfMedia .board_wp .bf-short-cover::after,
#bfVideo .board_wp .bf-short-cover::after,
#bfPhoto .board_wp .bf-short-cover::after { content: ''; position: absolute; z-index: 1; inset: 75% 0 0; background: none; pointer-events: none; }
#bfMedia .board_wp .bf-short-play,
#bfVideo .board_wp .bf-short-play,
#bfPhoto .board_wp .bf-short-play { position: absolute; z-index: 2; top: 16px; right: 16px; bottom: auto; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; pointer-events: none; }
#bfMedia .board_wp .bf-short-play svg,
#bfVideo .board_wp .bf-short-play svg,
#bfPhoto .board_wp .bf-short-play svg { display: block; width: 16px; height: 16px; fill: currentColor; }
#bfMedia .board_wp .bf-short-category,
#bfVideo .board_wp .bf-short-category,
#bfPhoto .board_wp .bf-short-category { position: absolute; z-index: 2; top: auto; left: 12px; bottom: 12px; right: auto; padding: 4px 8px; border-radius: 4px; background: #fff; color: var(--bf-primary); font-size: 11px; }
#bfMedia .board_wp #gall_ul :is(.bf-short-check, .gall_chk),
#bfVideo .board_wp #gall_ul :is(.bf-short-check, .gall_chk),
#bfPhoto .board_wp #gall_ul :is(.bf-short-check, .gall_chk) { position: absolute; z-index: 3; top: 12px; left: 12px; }
#bfMedia .board_wp .bf-short-placeholder,
#bfMedia .board_wp #gall_ul :is(.gall_href, .gall_img) > a > :is(span, strong),
#bfVideo .board_wp .bf-short-placeholder,
#bfVideo .board_wp #gall_ul :is(.gall_href, .gall_img) > a > :is(span, strong),
#bfPhoto .board_wp .bf-short-placeholder,
#bfPhoto .board_wp #gall_ul :is(.gall_href, .gall_img) > a > :is(span, strong) { display: flex; position: absolute; inset: 0; align-items: center; justify-content: center; width: 100% !important; height: 100% !important; background: transparent; color: var(--bf-muted); font-size: 12px; line-height: 1.5 !important; }
#bfMedia .board_wp .bf-short-label,
#bfVideo .board_wp .bf-short-label,
#bfPhoto .board_wp .bf-short-label { margin: 16px 0 0; color: #767676; font-size: 13px; }
#bfMedia .board_wp .bf-short-title,
#bfVideo .board_wp .bf-short-title,
#bfPhoto .board_wp .bf-short-title { margin: 5px 0 0; padding: 0; color: var(--bf-ink); font-size: 18px; font-weight: 600; line-height: 1.6; letter-spacing: -.025em; }
#bfMedia .board_wp .bf-short-media + .bf-short-title,
#bfVideo .board_wp .bf-short-media + .bf-short-title,
#bfPhoto .board_wp .bf-short-media + .bf-short-title { margin-top: 16px; }
#bfMedia .board_wp #gall_ul .gall_text_href,
#bfVideo .board_wp #gall_ul .gall_text_href,
#bfPhoto .board_wp #gall_ul .gall_text_href { margin: 16px 0 0 !important; padding: 0 !important; }
#bfMedia .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)),
#bfVideo .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)),
#bfPhoto .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)) {
	display: -webkit-box !important;
	min-height: 3.2em;
	padding: 0 !important;
	overflow: hidden !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: var(--bf-ink) !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.6 !important;
	letter-spacing: -.025em;
	text-decoration: none !important;
	overflow-wrap: anywhere;
}
#bfMedia .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a):hover,
#bfVideo .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a):hover,
#bfPhoto .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a):hover { color: var(--bf-primary) !important; }
#bfMedia .board_wp :is(.bf-short-info, .gall_info, .gall_option),
#bfVideo .board_wp :is(.bf-short-info, .gall_info, .gall_option),
#bfPhoto .board_wp :is(.bf-short-info, .gall_info, .gall_option) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0 !important; padding: 0 !important; border: 0; background: transparent; color: var(--bf-muted) !important; font-size: 14px !important; line-height: 1.6; }
#bfMedia .board_wp .bf-short-info > span + span::before,
#bfVideo .board_wp .bf-short-info > span + span::before,
#bfPhoto .board_wp .bf-short-info > span + span::before { content: '·'; margin-right: 6px; }
#bfMedia .board_wp #gall_ul .gall_subject,
#bfVideo .board_wp #gall_ul .gall_subject,
#bfPhoto .board_wp #gall_ul .gall_subject { width: auto !important; }
#bfMedia .board_wp .gall_now :is(.bf-short-media, .gall_img),
#bfVideo .board_wp .gall_now :is(.bf-short-media, .gall_img),
#bfPhoto .board_wp .gall_now :is(.bf-short-media, .gall_img) { outline: 2px solid var(--bf-primary); outline-offset: 3px; }
#bfMedia .board_wp #gall_ul .empty_list,
#bfVideo .board_wp #gall_ul .empty_list,
#bfPhoto .board_wp #gall_ul .empty_list { grid-column: 1 / -1; padding: 80px 16px; color: var(--bf-muted); text-align: center; }
/* 페이지 번호: 기존 background-image, text-indent 제거 */
#bfMedia .board_wp .pg_wrap,
#bfVideo .board_wp .pg_wrap,
#bfPhoto .board_wp .pg_wrap { display: block !important; float: none !important; clear: both; width: 100%; margin: 44px 0 0 !important; padding: 0; text-align: center; }
#bfMedia .board_wp .pg,
#bfVideo .board_wp .pg,
#bfPhoto .board_wp .pg { display: inline-flex !important; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0 !important; padding: 0 !important; }
#bfMedia .board_wp .pg :is(.pg_page, .pg_current),
#bfVideo .board_wp .pg :is(.pg_page, .pg_current),
#bfPhoto .board_wp .pg :is(.pg_page, .pg_current) { display: inline-flex !important; float: none !important; align-items: center; justify-content: center; width: auto !important; min-width: 38px; height: 38px !important; margin: 0 !important; padding: 0 10px !important; overflow: visible !important; border: 1px solid transparent !important; border-radius: 6px !important; background: transparent !important; background-image: none !important; color: var(--bf-muted) !important; font-size: 14px !important; font-weight: 400; line-height: 1 !important; text-indent: 0 !important; text-decoration: none !important; box-shadow: none !important; }
#bfMedia .board_wp .pg .pg_page:hover,
#bfVideo .board_wp .pg .pg_page:hover,
#bfPhoto .board_wp .pg .pg_page:hover { border-color: var(--bf-border) !important; background: var(--bf-soft) !important; color: var(--bf-primary) !important; }
#bfMedia .board_wp .pg .pg_current,
#bfVideo .board_wp .pg .pg_current,
#bfPhoto .board_wp .pg .pg_current { border-color: var(--bf-primary) !important; background: var(--bf-primary) !important; color: #fff !important; font-weight: 500; }
#bfMedia .board_wp .pg :is(.pg_start, .pg_prev, .pg_next, .pg_end),
#bfVideo .board_wp .pg :is(.pg_start, .pg_prev, .pg_next, .pg_end),
#bfPhoto .board_wp .pg :is(.pg_start, .pg_prev, .pg_next, .pg_end) { font-size: 0 !important; }
#bfMedia .board_wp .pg :is(.pg_start, .pg_prev, .pg_next, .pg_end)::before,
#bfVideo .board_wp .pg :is(.pg_start, .pg_prev, .pg_next, .pg_end)::before,
#bfPhoto .board_wp .pg :is(.pg_start, .pg_prev, .pg_next, .pg_end)::before { font-size: 17px; font-weight: 400; line-height: 1; }
#bfMedia .board_wp .pg .pg_start::before,
#bfVideo .board_wp .pg .pg_start::before,
#bfPhoto .board_wp .pg .pg_start::before { content: '«'; }
#bfMedia .board_wp .pg .pg_prev::before,
#bfVideo .board_wp .pg .pg_prev::before,
#bfPhoto .board_wp .pg .pg_prev::before { content: '‹'; }
#bfMedia .board_wp .pg .pg_next::before,
#bfVideo .board_wp .pg .pg_next::before,
#bfPhoto .board_wp .pg .pg_next::before { content: '›'; }
#bfMedia .board_wp .pg .pg_end::before,
#bfVideo .board_wp .pg .pg_end::before,
#bfPhoto .board_wp .pg .pg_end::before { content: '»'; }
/* 이전검색 / 다음검색은 글자가 보이도록 유지 */
#bfMedia .board_wp .pg .pg_search,
#bfVideo .board_wp .pg .pg_search,
#bfPhoto .board_wp .pg .pg_search { width: auto !important; padding-inline: 12px !important; font-size: 12px !important; }
#bfMedia .board_wp .pg .pg_search::before,
#bfVideo .board_wp .pg .pg_search::before,
#bfPhoto .board_wp .pg .pg_search::before { content: none !important; }
/* 상세 */
#bfMedia .board_wp #bo_v_title,
#bfVideo .board_wp #bo_v_title,
#bfPhoto .board_wp #bo_v_title { margin: 0; padding: 0 0 24px; color: var(--bf-ink); font-size: 28px; font-weight: 600; line-height: 1.5; letter-spacing: -.04em; }
#bfMedia .board_wp #bo_v_info,
#bfVideo .board_wp #bo_v_info,
#bfPhoto .board_wp #bo_v_info { padding: 0 0 20px; border-bottom: 1px solid var(--bf-border); color: var(--bf-muted); font-size: 12px; }
#bfMedia .board_wp #bo_v_atc,
#bfVideo .board_wp #bo_v_atc,
#bfPhoto .board_wp #bo_v_atc { padding-top: 24px; }
#bfMedia .board_wp #bo_v_atc > iframe,
#bfVideo .board_wp #bo_v_atc > iframe,
#bfPhoto .board_wp #bo_v_atc > iframe { display: block; width: 100%; max-width: 900px; height: auto; aspect-ratio: 16 / 9; margin: 0 auto 28px; border: 0; border-radius: 8px; }
#bfMedia .board_wp #bo_v_con,
#bfVideo .board_wp #bo_v_con,
#bfPhoto .board_wp #bo_v_con { margin-bottom: 32px; color: var(--bf-ink); font-size: 15px; line-height: 1.9; }
#bfMedia .board_wp #bo_v_con :is(img, video, iframe),
#bfVideo .board_wp #bo_v_con :is(img, video, iframe),
#bfPhoto .board_wp #bo_v_con :is(img, video, iframe) { max-width: 100%; }
#bfMedia .board_wp #bo_v_con :is(img, video),
#bfVideo .board_wp #bo_v_con :is(img, video),
#bfPhoto .board_wp #bo_v_con :is(img, video) { height: auto; }
#bfMedia .board_wp #bo_v_con a,
#bfVideo .board_wp #bo_v_con a,
#bfPhoto .board_wp #bo_v_con a { color: var(--bf-primary); text-decoration: underline; text-underline-offset: 3px; }
#bfMedia .board_wp #bo_vc,
#bfVideo .board_wp #bo_vc,
#bfPhoto .board_wp #bo_vc { margin: 40px 0 24px; padding: 24px; border: 1px solid var(--bf-border); border-radius: 8px; background: var(--bf-soft); }
#bfMedia .board_wp :is(#wr_content, #bo_vc_w textarea),
#bfVideo .board_wp :is(#wr_content, #bo_vc_w textarea),
#bfPhoto .board_wp :is(#wr_content, #bo_vc_w textarea) { width: 100%; padding: 16px; border: 1px solid var(--bf-border); border-radius: 6px; background: #fff; color: var(--bf-ink); font: inherit; }
@media (hover: hover) {
	#bfMedia .board_wp #gall_ul :is(.bf-short-card, .gall_box):hover img,
	#bfVideo .board_wp #gall_ul :is(.bf-short-card, .gall_box):hover img,
	#bfPhoto .board_wp #gall_ul :is(.bf-short-card, .gall_box):hover img { transform: scale(1.025); }
}
@media (max-width: 1024px) {
	#bfMedia .bfmedia_board > .container,
	#bfVideo .bfvideo_board > .container,
	#bfPhoto .bfphoto_board > .container { width: calc(100% - 48px) !important; }
	#bfMedia .board_wp #gall_ul,
	#bfVideo .board_wp #gall_ul,
	#bfPhoto .board_wp #gall_ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; }
}
@media (max-width: 640px) {
	#bfMedia .bfmedia_board,
	#bfVideo .bfvideo_board,
	#bfPhoto .bfphoto_board { padding: 40px 0 64px; }
	#bfMedia .bfmedia_board > .container,
	#bfVideo .bfvideo_board > .container,
	#bfPhoto .bfphoto_board > .container { width: calc(100% - 32px) !important; }
	#bfMedia .board_wp .bf-shorts-heading,
	#bfVideo .board_wp .bf-shorts-heading,
	#bfPhoto .board_wp .bf-shorts-heading { margin-bottom: 24px; }
	#bfMedia .board_wp #container_title,
	#bfVideo .board_wp #container_title,
	#bfPhoto .board_wp #container_title { font-size: 24px !important; margin-bottom: 24px !important; }
	#bfMedia .board_wp .bf-shorts-heading p,
	#bfVideo .board_wp .bf-shorts-heading p,
	#bfPhoto .board_wp .bf-shorts-heading p { margin-top: 10px; font-size: 13px; }
	#bfMedia .board_wp .bf-shorts-toolbar,
	#bfVideo .board_wp .bf-shorts-toolbar,
	#bfPhoto .board_wp .bf-shorts-toolbar { gap: 12px; padding-bottom: 16px; }
	#bfMedia .board_wp .bf-shorts-toolbar > #bo_cate,
	#bfVideo .board_wp .bf-shorts-toolbar > #bo_cate,
	#bfPhoto .board_wp .bf-shorts-toolbar > #bo_cate { flex-basis: 100%; }
	#bfMedia .board_wp #bo_cate ul,
	#bfVideo .board_wp #bo_cate ul,
	#bfPhoto .board_wp #bo_cate ul { gap: 22px; }
	#bfMedia .board_wp #bo_sch,
	#bfVideo .board_wp #bo_sch,
	#bfPhoto .board_wp #bo_sch { width: 100% !important; }
	#bfMedia .board_wp #bo_sch :is(input[type="text"], input[type="search"], select),
	#bfVideo .board_wp #bo_sch :is(input[type="text"], input[type="search"], select),
	#bfPhoto .board_wp #bo_sch :is(input[type="text"], input[type="search"], select) { font-size: 16px !important; }
	#bfMedia .board_wp #bo_sch select,
	#bfVideo .board_wp #bo_sch select,
	#bfPhoto .board_wp #bo_sch select { flex-basis: 84px; width: 84px !important; max-width: 84px !important; }
	#bfMedia .board_wp .bf-shorts-meta,
	#bfVideo .board_wp .bf-shorts-meta,
	#bfPhoto .board_wp .bf-shorts-meta { padding: 16px 0; }
	#bfMedia .board_wp #gall_ul,
	#bfVideo .board_wp #gall_ul,
	#bfPhoto .board_wp #gall_ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
	#bfMedia .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)),
	#bfVideo .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)),
	#bfPhoto .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)) { font-size: 14px !important; }
	#bfMedia .board_wp :is(.bf-short-info, .gall_info, .gall_option),
	#bfVideo .board_wp :is(.bf-short-info, .gall_info, .gall_option),
	#bfPhoto .board_wp :is(.bf-short-info, .gall_info, .gall_option) { font-size: 12px !important; }
	#bfMedia .board_wp .bf-short-label,
	#bfVideo .board_wp .bf-short-label,
	#bfPhoto .board_wp .bf-short-label { margin-top: 12px; font-size: 12px; }
	#bfMedia .board_wp .bf-short-play,
	#bfVideo .board_wp .bf-short-play,
	#bfPhoto .board_wp .bf-short-play { top: 10px; right: 10px; bottom: auto; width: 28px; height: 28px; }
	#bfMedia .board_wp :is(.bo_fx, #bo_v_top, #bo_v_bot, .bf-shorts-bottom),
	#bfVideo .board_wp :is(.bo_fx, #bo_v_top, #bo_v_bot, .bf-shorts-bottom),
	#bfPhoto .board_wp :is(.bo_fx, #bo_v_top, #bo_v_bot, .bf-shorts-bottom) { gap: 12px; }
	#bfMedia .board_wp .bf-shorts-bottom .bf-shorts-actions,
	#bfVideo .board_wp .bf-shorts-bottom .bf-shorts-actions,
	#bfPhoto .board_wp .bf-shorts-bottom .bf-shorts-actions { flex-basis: 100%; }
	#bfMedia .board_wp .pg_wrap,
	#bfVideo .board_wp .pg_wrap,
	#bfPhoto .board_wp .pg_wrap { margin-top: 32px !important; }
	#bfMedia .board_wp .pg,
	#bfVideo .board_wp .pg,
	#bfPhoto .board_wp .pg { gap: 4px; }
	#bfMedia .board_wp .pg :is(.pg_page, .pg_current),
	#bfVideo .board_wp .pg :is(.pg_page, .pg_current),
	#bfPhoto .board_wp .pg :is(.pg_page, .pg_current) { min-width: 34px; height: 36px !important; padding-inline: 8px !important; }
	#bfMedia .board_wp #bo_vc,
	#bfVideo .board_wp #bo_vc,
	#bfPhoto .board_wp #bo_vc { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	#bfMedia *,
	#bfMedia *::before,
	#bfMedia *::after,
	#bfVideo *,
	#bfVideo *::before,
	#bfVideo *::after,
	#bfPhoto *,
	#bfPhoto *::before,
	#bfPhoto *::after { animation: none !important; transition: none !important; }
	#bfMedia .board_wp #gall_ul :is(.bf-short-card, .gall_box):hover img,
	#bfVideo .board_wp #gall_ul :is(.bf-short-card, .gall_box):hover img,
	#bfPhoto .board_wp #gall_ul :is(.bf-short-card, .gall_box):hover img { transform: none; }
}
/* 이전 기본 스킨과 함께 적용될 때의 글꼴·간격 보정 */
#bfMedia .board_wp :is(input, select, textarea, button),
#bfVideo .board_wp :is(input, select, textarea, button),
#bfPhoto .board_wp :is(input, select, textarea, button) { font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif !important; letter-spacing: -.025em; }
#bfMedia .board_wp :is(.btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel),
#bfVideo .board_wp :is(.btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel),
#bfPhoto .board_wp :is(.btn_b01, .btn_b02, .btn_admin, .btn_submit, .btn_cancel) { font-family: Pretendard, sans-serif !important; }
#bfMedia .board_wp .bf-short-title,
#bfVideo .board_wp .bf-short-title,
#bfPhoto .board_wp .bf-short-title { font-weight: 600; }
#bfMedia .board_wp .bf-short-info,
#bfVideo .board_wp .bf-short-info,
#bfPhoto .board_wp .bf-short-info { margin-top: 10px !important; }
#bfMedia .board_wp #bo_v_info,
#bfVideo .board_wp #bo_v_info,
#bfPhoto .board_wp #bo_v_info { font-size: 14px; line-height: 1.6; }
#bfMedia .board_wp #bo_v_con,
#bfVideo .board_wp #bo_v_con,
#bfPhoto .board_wp #bo_v_con { font-size: 16px; line-height: 1.8; }
@media (max-width: 640px) {
	#bfMedia .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)),
	#bfVideo .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)),
	#bfPhoto .board_wp #gall_ul :is(.bf-short-title > a, .gall_text_href > a:not(.bo_cate_link)) { font-size: 14px !important; line-height: 1.6 !important; }
	#bfMedia .board_wp .bf-short-title,
	#bfVideo .board_wp .bf-short-title,
	#bfPhoto .board_wp .bf-short-title { font-size: 14px; }
	#bfMedia .board_wp .bf-short-info,
	#bfVideo .board_wp .bf-short-info,
	#bfPhoto .board_wp .bf-short-info { margin-top: 8px !important; }
	#bfMedia .board_wp #bo_v_title,
	#bfVideo .board_wp #bo_v_title,
	#bfPhoto .board_wp #bo_v_title { font-size: 22px; }
	#bfMedia .board_wp #bo_v_info,
	#bfVideo .board_wp #bo_v_info,
	#bfPhoto .board_wp #bo_v_info { font-size: 12px; }
	#bfMedia .board_wp #bo_v_con,
	#bfVideo .board_wp #bo_v_con,
	#bfPhoto .board_wp #bo_v_con { font-size: 14px; line-height: 1.8; }
}
/* 최종 미니멀 목록: 상단 공간, 4열 다중 행, 이미지와 제목만 표시 */
#bfMedia .bfmedia_board,
#bfVideo .bfvideo_board,
#bfPhoto .bfphoto_board { padding: 200px 0 120px !important; }
#bfMedia .bfmedia_board > .container,
#bfVideo .bfvideo_board > .container,
#bfPhoto .bfphoto_board > .container { max-width: 1440px !important; }
#bfMedia .board_wp.bf-minimal .bf-shorts-heading,
#bfVideo .board_wp.bf-minimal .bf-shorts-heading,
#bfPhoto .board_wp.bf-minimal .bf-shorts-heading { margin: 0 0 40px !important; }
#bfMedia .board_wp.bf-minimal #container_title,
#bfVideo .board_wp.bf-minimal #container_title,
#bfPhoto .board_wp.bf-minimal #container_title { margin: 0 !important; }
#bfMedia .board_wp.bf-minimal .bf-shorts-toolbar,
#bfVideo .board_wp.bf-minimal .bf-shorts-toolbar,
#bfPhoto .board_wp.bf-minimal .bf-shorts-toolbar { margin: 0 0 36px !important; }
#bfMedia .board_wp.bf-minimal #gall_ul,
#bfVideo .board_wp.bf-minimal #gall_ul,
#bfPhoto .board_wp.bf-minimal #gall_ul { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 48px 28px !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-media,
#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-media,
#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-media { aspect-ratio: 445 / 250 !important; background: #f8f8f8 !important; border-radius: 6px !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-cover::after,
#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-cover::after,
#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-cover::after { content: none !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-cover > img { object-fit: cover !important; object-position: center !important; transform: none !important; }
#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-cover > img,
#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-cover > img { object-fit: contain !important; object-position: center !important; transform: none !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-title,
#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-title,
#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-title { margin: 16px 0 0 !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-title > a,
#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-title > a,
#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-title > a { min-height: 0 !important; font-size: 16px !important; font-weight: 500 !important; line-height: 1.65 !important; }
#bfMedia .board_wp.bf-minimal .pg_wrap,
#bfVideo .board_wp.bf-minimal .pg_wrap,
#bfPhoto .board_wp.bf-minimal .pg_wrap { margin-top: 64px !important; }
@media (max-width: 1024px) {
	#bfMedia .bfmedia_board,
	#bfVideo .bfvideo_board,
	#bfPhoto .bfphoto_board { padding-top: 180px !important; }
	#bfMedia .board_wp.bf-minimal #gall_ul,
	#bfVideo .board_wp.bf-minimal #gall_ul,
	#bfPhoto .board_wp.bf-minimal #gall_ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 24px !important; }
}
@media (max-width: 640px) {
	#bfMedia .bfmedia_board,
	#bfVideo .bfvideo_board,
	#bfPhoto .bfphoto_board { padding: 140px 0 72px !important; }
	#bfMedia .bfmedia_board > .container,
	#bfVideo .bfvideo_board > .container,
	#bfPhoto .bfphoto_board > .container { width: calc(100% - 32px) !important; }
	#bfMedia .board_wp.bf-minimal .bf-shorts-heading,
	#bfVideo .board_wp.bf-minimal .bf-shorts-heading,
	#bfPhoto .board_wp.bf-minimal .bf-shorts-heading { margin-bottom: 28px !important; }
	#bfMedia .board_wp.bf-minimal #container_title,
	#bfVideo .board_wp.bf-minimal #container_title,
	#bfPhoto .board_wp.bf-minimal #container_title { font-size: 24px !important; }
	#bfMedia .board_wp.bf-minimal .bf-shorts-toolbar,
	#bfVideo .board_wp.bf-minimal .bf-shorts-toolbar,
	#bfPhoto .board_wp.bf-minimal .bf-shorts-toolbar { margin-bottom: 28px !important; }
	#bfMedia .board_wp.bf-minimal #gall_ul,
	#bfVideo .board_wp.bf-minimal #gall_ul,
	#bfPhoto .board_wp.bf-minimal #gall_ul { gap: 28px 16px !important; }
	#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-title,
	#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-title,
	#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-title { margin-top: 12px !important; }
	#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-title > a,
	#bfVideo .board_wp.bf-minimal #gall_ul .bf-short-title > a,
	#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-title > a { font-size: 14px !important; }
	#bfMedia .board_wp.bf-minimal .pg_wrap,
	#bfVideo .board_wp.bf-minimal .pg_wrap,
	#bfPhoto .board_wp.bf-minimal .pg_wrap { margin-top: 40px !important; }
}
/* 목록 메타: 작성자와 조회수를 한 줄로 표시 */
#bfMedia .board_wp.bf-minimal #gall_ul .bfmedia-card-meta,
#bfVideo .board_wp.bf-minimal #gall_ul .bfvideo-card-meta {
		display: grid !important;
		grid-template-columns: max-content minmax(0, 1fr) max-content max-content !important;
		align-items: baseline;
		gap: 0 8px !important;
}
#bfMedia .board_wp.bf-minimal #gall_ul .bfmedia-card-meta dt,
#bfMedia .board_wp.bf-minimal #gall_ul .bfmedia-card-meta dd,
#bfVideo .board_wp.bf-minimal #gall_ul .bfvideo-card-meta dt,
#bfVideo .board_wp.bf-minimal #gall_ul .bfvideo-card-meta dd {
		min-width: 0;
		margin: 0;
		white-space: nowrap;
}
#bfMedia .board_wp.bf-minimal #gall_ul .bfmedia-card-meta dd:first-of-type,
#bfVideo .board_wp.bf-minimal #gall_ul .bfvideo-card-meta dd:first-of-type {
		overflow: hidden;
		text-overflow: ellipsis;
}
@media (max-width: 640px) {
	#bfMedia .board_wp.bf-minimal #gall_ul .bfmedia-card-meta,
	#bfVideo .board_wp.bf-minimal #gall_ul .bfvideo-card-meta {
				gap: 0 5px !important;
		}
}
#bfPhoto .bfphoto_board { padding: 200px 0 120px !important; }
#bfPhoto .bfphoto_board > .container { width: calc(100% - 80px) !important; max-width: 1440px !important; margin: 0 auto !important; padding: 0 !important; }
@media (max-width: 1024px) {
	#bfPhoto .bfphoto_board { padding-top: 180px !important; }
	#bfPhoto .bfphoto_board > .container { width: calc(100% - 48px) !important; }
}
@media (max-width: 640px) {
	#bfPhoto .bfphoto_board { padding: 140px 0 72px !important; }
	#bfPhoto .bfphoto_board > .container { width: calc(100% - 32px) !important; }
}
/* 사진 목록: 3열 + 작성자/조회수 두 항목만 표시 */
#bfPhoto .board_wp.bf-minimal #gall_ul .bfphoto-card-meta {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 4px 8px;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #666;
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
}
#bfPhoto .board_wp.bf-minimal #gall_ul .bfphoto-card-meta dt,
#bfPhoto .board_wp.bf-minimal #gall_ul .bfphoto-card-meta dd {
	min-width: 0;
	margin: 0;
	padding: 0;
	color: inherit;
	font-weight: 400;
	overflow-wrap: anywhere;
}
#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-title > a {
	font-size: 18px !important;
	font-weight: 600 !important;
}
@media (max-width: 640px) {
	#bfPhoto .board_wp.bf-minimal #gall_ul .bfphoto-card-meta {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 3px 6px;
		margin-top: 10px;
		font-size: 12px;
	}
	#bfPhoto .board_wp.bf-minimal #gall_ul .bf-short-title > a {
		font-size: 14px !important;
	}
}
/* 서브페이지(css/sub_new.css .sub_container)와 같은 콘텐츠 폭·여백. 위에 겹쳐 있는 이전 폭·여백 규칙보다 우선합니다. */
#bfMedia .bfmedia_board,
#bfVideo .bfvideo_board,
#bfPhoto .bfphoto_board { padding: 0 !important; }
#bfMedia .bfmedia_board > .container,
#bfVideo .bfvideo_board > .container,
#bfPhoto .bfphoto_board > .container { box-sizing: border-box; width: min(1700px, calc(100% - 320px)) !important; max-width: none !important; margin: 0 auto !important; padding: 188px 20px 100px !important; }
@media (max-width: 1600px) {
	#bfMedia .bfmedia_board > .container,
	#bfVideo .bfvideo_board > .container,
	#bfPhoto .bfphoto_board > .container { width: calc(100% - 80px) !important; }
}
@media (max-width: 1200px) {
	#bfMedia .bfmedia_board > .container,
	#bfVideo .bfvideo_board > .container,
	#bfPhoto .bfphoto_board > .container { padding-block: 80px !important; }
}
@media (max-width: 768px) {
	#bfMedia .bfmedia_board > .container,
	#bfVideo .bfvideo_board > .container,
	#bfPhoto .bfphoto_board > .container { width: 100% !important; padding: 60px 16px !important; }
}
/* 미디어 목록 썸네일: 16:9 칸을 고화질 이미지로 꽉 채웁니다. (유튜브 4:3 썸네일의 위아래 검은 띠도 잘려 보이지 않습니다) */
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-media { aspect-ratio: 16 / 9 !important; overflow: hidden; background: #eef0f2 !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-cover > img { object-fit: cover !important; object-position: center !important; }
#bfMedia .board_wp.bf-minimal #gall_ul .bf-short-cover:hover > img { transform: scale(1.03) !important; }
/* 미디어 게시판 탭: 서브페이지 .tab_menu와 같은 회색 8px 버튼 */
#bfMedia .bfmedia-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; }
#bfMedia .bfmedia-tabs a { display: inline-flex; align-items: center; justify-content: center; min-width: 140px; height: 48px; padding: 0 24px; border-radius: 8px; background: #f4f5f5; color: #555; font-size: 16px; font-weight: 500; text-decoration: none; transition: background-color .18s ease, color .18s ease; }
#bfMedia .bfmedia-tabs a:hover { background: #eaecee; color: #222; }
#bfMedia .bfmedia-tabs a.active { background: #1e293b; color: #fff; font-weight: 600; }
@media (max-width: 768px) {
	#bfMedia .bfmedia-tabs { gap: 6px; margin-bottom: 24px; }
	#bfMedia .bfmedia-tabs a { flex: 1 1 0; min-width: 0; height: 42px; padding: 0 12px; font-size: 14px; }
}
/* 분류 탭(전체 · 남자 · 여자): media.php의 미디어 탭과 같은 회색 8px 버튼 */
#bfVideo .board_wp.bf-minimal #bo_cate ul,
#bfPhoto .board_wp.bf-minimal #bo_cate ul { gap: 8px !important; }
#bfVideo .board_wp.bf-minimal #bo_cate a,
#bfPhoto .board_wp.bf-minimal #bo_cate a { min-width: 140px; height: 48px !important; min-height: 48px; padding: 0 24px !important; border: 0 !important; border-radius: 8px !important; background: #f4f5f5 !important; color: #555 !important; font-size: 16px !important; font-weight: 500 !important; transition: background-color .18s ease, color .18s ease; }
#bfVideo .board_wp.bf-minimal #bo_cate a:hover,
#bfPhoto .board_wp.bf-minimal #bo_cate a:hover { background: #eaecee !important; color: #222 !important; }
#bfVideo .board_wp.bf-minimal #bo_cate a#bo_cate_on,
#bfPhoto .board_wp.bf-minimal #bo_cate a#bo_cate_on { background: #1e293b !important; color: #fff !important; font-weight: 600 !important; }
@media (max-width: 768px) {
	#bfVideo .board_wp.bf-minimal #bo_cate ul,
	#bfPhoto .board_wp.bf-minimal #bo_cate ul { flex-wrap: nowrap; gap: 6px !important; width: 100% !important; }
	#bfVideo .board_wp.bf-minimal #bo_cate li,
	#bfPhoto .board_wp.bf-minimal #bo_cate li { flex: 1 1 0; min-width: 0; }
	#bfVideo .board_wp.bf-minimal #bo_cate a,
	#bfPhoto .board_wp.bf-minimal #bo_cate a { width: 100% !important; min-width: 0; height: 42px !important; min-height: 42px; padding: 0 12px !important; font-size: 14px !important; }
}
