/* BSKR list */
@media (max-width: 576px) {
	.container {padding-left: 4px;padding-right: 4px;}
}
.badge {padding: .2em .4em;font-size: .6em;}
/* ¸ð¹ÙÀÏ (768px ÀÌÇÏ): ¼¼·Î Á¤·Ä */
@media (max-width: 768px) {
  .d-flex.w-100.justify-content-between {
    flex-direction: column !important; /* ¼¼·Î ¹æÇâÀ¸·Î º¯°æ */
    align-items: flex-start !important; /* ¿ÞÂÊ Á¤·Ä */
    gap: 0.3rem; /* Á¦¸ñ°ú ³¯Â¥ °£ ¾à°£ÀÇ °£°Ý */
  }
  .d-flex.w-100.justify-content-between small.text-muted {
    font-size: 0.9rem;
    color: #6c757d;
  }
  .d-flex.w-100.justify-content-between h5 {
    margin-bottom: 0.2rem !important;
  }
}
/* BSKR view */
.post-container { background:white; border-radius:8px; padding:2rem; box-shadow:0 2px 10px rgba(0,0,0,0.125); }
.post-title { font-size:1.6rem; font-weight:600; }
.post-meta { font-size:0.9rem; color:#6c757d; border-bottom:1px solid #e9ecef; padding-bottom:.5rem; margin-bottom:1.5rem; }
.post-content { line-height:1.8; min-height:200px; }
.attach-list { list-style:none; padding-left:0; }
.attach-list li { margin-bottom:.4rem; display:flex; align-items:center; }
.attach-list li i { color:#6c757d; margin-right:8px; }
.attach-list a { text-decoration:none; color:#0d6efd; }
.attach-list a:hover { text-decoration:underline; }

.post-nav-container {margin-top: 40px;border-top: 1px solid #ddd;padding-top: 15px;font-size: 14px;color: #666;}
.post-nav-wrap {display: flex;justify-content: space-between;align-items: center;}
/* ¿ÞÂÊ(ÀÌÀü±Û), ¿À¸¥ÂÊ(´ÙÀ½±Û) ¿µ¿ª */
.post-nav-wrap > div {flex: 1;}
/* ¿À¸¥ÂÊ ¿µ¿ªÀº ±âº»ÀûÀ¸·Î ¿À¸¥ÂÊ Á¤·Ä */
.post-nav-wrap .next {text-align: right;}
/* ¸µÅ© ±âº» ½ºÅ¸ÀÏ */
.post-nav-wrap a {color: #666;text-decoration: none;display: inline-flex;align-items: center;transition: color 0.2s ease;}
.post-nav-wrap a:hover {color: #222;}
/* ¾ÆÀÌÄÜ °£°Ý */
.post-nav-wrap i {font-size: 15px;}
.post-nav-wrap .prev i {margin-right: 5px;}
.post-nav-wrap .next i {margin-left: 5px;}
/* ÀÌÀü/´ÙÀ½±Û ¾øÀ½ »óÅÂ */
.post-nav-wrap span {color: #aaa;}
/* =========================================================
¹ÝÀÀÇü (¸ð¹ÙÀÏ)
========================================================= */
	@media (max-width: 768px) {
	.post-nav-wrap {flex-direction: column;align-items: flex-start;gap: 10px;}
	.post-nav-wrap .next {text-align: left;}
	.post-nav-wrap a {width: 100%;}
}


/* BSKR write */
.switch-box {
  border: 1px solid #e0e0e0;   /* ¹Ú½º Å×µÎ¸® */
  border-radius: 8px;          /* µÕ±Ù ¸ð¼­¸® */
  padding: 10px 15px;          /* ³»ºÎ ¿©¹é */
  background-color: #f9f9f9;   /* ÀºÀºÇÑ ¹è°æ */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.switch-box:hover {
  background-color: #f1faff;   /* È£¹ö ½Ã »ö»ó °­Á¶ */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.attach-list{
	list-style:none;
	margin:0;
	padding:0;
}

.attach-item{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	padding:10px 0;
	border-bottom:1px solid #e9ecef;
}

.attach-item:last-child{
	border-bottom:0;
}

.attach-left{
	display:flex;
	align-items:center;
	gap:8px;
	min-width:0;
	flex:1 1 auto;
}

.attach-left a{
	display:inline-block;
	max-width:100%;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}

.attach-meta{
	flex:0 0 auto;
	color:#6c757d;
	font-size:13px;
	white-space:nowrap;
}

.attach-meta .size,
.attach-meta .down{
	margin-left:8px;
}
/* °Ô½Ã±Û º»¹® ÀÌ¹ÌÁö°¡ Ä«µå ¿µ¿ªÀ» ³ÑÁö ¾Êµµ·Ï */
.post-content img,
#bskr-view .viewbox .content img,
.note-editable img{
	max-width:100% !important;
	height:auto !important;
	display:block;
}

/* ±ä Ç¥/ÄÚµå/iframeµµ °°ÀÌ ³ÑÄ§ ¹æÁö */
.post-content,
#bskr-view .viewbox .content{
	overflow-wrap:break-word;
	word-break:break-word;
}

.post-content table,
#bskr-view .viewbox .content table{
	width:100% !important;
	max-width:100% !important;
}

.post-content iframe,
#bskr-view .viewbox .content iframe,
.post-content video,
#bskr-view .viewbox .content video{
	max-width:100% !important;
}