@charset "utf-8";

/* 모바일 목록 */
@media all and (max-width:767px) {
	.responsive #bo_list .float-left.float-md-none {
		margin-right:0.75rem;
	}
	.responsive #bo_list .na-title {
		margin-bottom:0.14rem;
	}
}

/* gallery */
#bo_gallery .chk-box {
	position:absolute;
	bottom:5px;
	right:10px;
	z-index:2;
}
#bo_gallery .wr-now {
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	background:rgba(0,0,0,0.75);
	z-index:1;
}

/* 게시판 읽기 */
#bo_v_title {
	font-size:23px;
	font-weight:bold;
	line-height:1.4;
	letter-spacing:-1px;
}
#bo_v_con {
	min-height:200px; 
	word-break:break-all;
	overflow:hidden
}
@media all and (max-width:575px) {
	.responsive #bo_v_title {
		font-size:20px;
		line-height:1.5;
	}
	.responsive #bo_v_con { 
		min-height:140px; 
	}
}

#bo_v_con img {
	max-width:100%;
	height:auto
}
#bo_v_img {
	width:100%;
	text-align:center;
	overflow:hidden;
	zoom:1;
}
#bo_v_img:after {
	display:block;
	visibility:hidden;
	clear:both;
	content:"";
}
#bo_v_img a.view_image {
	display:block;
}
#bo_v_img img {
	margin-bottom:1.0rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon { 
	margin:-5px auto; 
}
#bo_v_sns_icon img { 
	width:40px; 
	border-radius:50%; 
	margin:5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
	top:0;
	left:-16px;
}
.by-writer { 
	background:#fbefef !important;
	border-top:1px solid #f6cece !important;
}
.cmt-content {
	word-break:break-all;
	overflow:hidden
}
.cmt-content img {
	max-width:100%;
	height:auto
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul { 
	list-style: none; 
	margin: 0; 
}
.cmt-btn ul > li { 
	float: left; 
	font-size:12px;
	padding: 0 10px; 
}
.cmt-btn ul > li::before { 
	float: left; 
	color:#ccc; 
	content: "|"; 
	margin-left:-12px;
}
.cmt-btn ul > li:last-child { 
	padding-right:0;
}
.cmt-btn ul > li:first-child::before, 
.cmt-btn ul > li.no-bar::before { 
	content: ""; 
	margin-left:0; 
}
.cmt-btn ul > li > a { 
	float:left;
	color:#888;
	white-space:nowrap;	
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content { 
	resize:none; 
}
@media all and (max-width:575px) {
	.responsive .cmt-box {
		border-right:0 !important;
	}
	.responsive #bo_vc_w .cmt-box {
		border-left:0 !important;
		border-radius:0 !important;
	}
	.responsive #bo_vc_login {
		border-left:0 !important;
		border-right:0 !important;
		border-radius:0 !important;
	}
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {	
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
	background:#ccc;
	border-radius:3px;
}
#bo_vc_opt ol:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_opt ol li { 
	float:left;
	margin:0; 
}
#bo_vc_send_sns ul { 
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
}
#bo_vc_send_sns ul:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_send_sns ul li {	
	float:left;
	margin:0 1.0rem 0 0;
}
#bo_vc_send_sns input {	
	margin:0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
	padding-left:0;
	padding-right:0;
	border-left:0;
	border-right:0;
}
#bo_w #wr_content { 
	margin-bottom:1.0rem !important;
}
@media all and (max-width:575px) {
	#bo_w .list-group-item {
		padding-left:1.0rem;
		padding-right:1.0rem;
	}
	.responsive #bo_w #wr_content {
		max-height:160px !important;
	}
}
/* 제목을 2줄까지만 보여주고 … 처리 */
#bo_gallery .na-item .na-subject {
  /* 1) 줄 바꿈 허용 */
  white-space: normal !important;
  /* 2) 웹킷 박스 모델로 전환 */
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  /* 3) 최대 2줄 */
  -webkit-line-clamp: 2 !important;
  /* 4) 넘치는 부분 숨기기 및 … */
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 썸네일 프레임 100% 풀 크롭 및 여백 제거 */
#bo_gallery .img-wrap .img-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

/* 제목 2줄까지 보이고 말줄임표 처리 */
#bo_gallery .na-item .na-subject {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* ========================================================
   고래티비 프리미엄 포스트 & 방송 정보 카드 (OTT 스타일)
   ======================================================== */
.gtv-post-container {
    max-width: 100%;
    margin: 20px 0 35px 0;
    color: #334155;
    line-height: 1.85;
    letter-spacing: -0.3px;
    font-size: 15px;
}

/* 프리미엄 메타 카드 */
.gtv-meta-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    margin-bottom: 28px;
    transition: box-shadow 0.3s ease;
}
.gtv-meta-card:hover {
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.09);
}

/* 카드 상단 헤더 */
.gtv-card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 2px solid #ffb400;
}
.gtv-card-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.gtv-badge-special {
    background: linear-gradient(135deg, #ffb400 0%, #ff8c00 100%);
    color: #0f172a;
    font-weight: 800;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(255, 180, 0, 0.35);
}
.gtv-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.4px;
}
.gtv-card-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.gtv-badge-channel {
    background: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.gtv-badge-ep {
    background: #ffb400;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 12px;
}

/* 메타 정보 2열 그리드 */
.gtv-meta-grid {
    padding: 20px 22px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (max-width: 768px) {
    .gtv-meta-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 10px;
    }
}

.gtv-meta-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
    gap: 14px;
}
.gtv-meta-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.gtv-meta-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fde68a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.gtv-meta-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    flex: 1;
}
.gtv-meta-label {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}
.gtv-meta-val, .gtv-meta-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
    word-break: break-word;
}
.gtv-meta-val.highlight, .gtv-meta-value.highlight {
    color: #d97706;
}

/* Fallback: If markup does not have .gtv-meta-grid */
.gtv-meta-card > .gtv-meta-item {
    margin: 12px 18px;
}

/* 핵심 요약 박스 */
.gtv-summary-box {
    background: linear-gradient(135deg, #fffdf7 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-left: 5px solid #ffb400;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(255, 180, 0, 0.08);
}
.gtv-summary-title {
    font-size: 16px;
    font-weight: 800;
    color: #78350f;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gtv-summary-text, .gtv-summary-content {
    margin: 0;
    font-size: 14.5px;
    color: #451a03;
    line-height: 1.75;
    word-break: keep-all;
}

/* 본문 & 명대사 인용구 */
.gtv-desc-paragraph {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 20px;
    word-break: keep-all;
}
.gtv-quote-card, .gtv-quote-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    padding: 18px 22px;
    border-radius: 10px;
    font-style: italic;
    color: #1e293b;
    font-weight: 600;
    margin: 22px 0;
    font-size: 15px;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.gtv-quote-mark {
    font-size: 28px;
    line-height: 1;
    color: #3b82f6;
    font-family: Georgia, serif;
    font-weight: bold;
}
.gtv-quote-text {
    flex: 1;
}

/* 3대 관전 포인트 */
.gtv-points-section {
    margin: 32px 0;
}
.gtv-points-heading, .gtv-section-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.gtv-point-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.gtv-point-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s ease;
    border-left: 4px solid #64748b;
}
.gtv-point-card:hover {
    border-left-color: #ffb400;
    border-color: #cbd5e1;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.gtv-point-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.gtv-point-badge {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffb400;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}
.gtv-point-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}
.gtv-point-desc {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    word-break: keep-all;
}

/* 고래티비 시청 가이드 */
.gtv-guide-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 30px 0;
}
.gtv-guide-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.gtv-guide-icon {
    font-size: 24px;
}
.gtv-guide-title {
    font-size: 16px;
    font-weight: 800;
    color: #1e40af;
}
.gtv-guide-text {
    font-size: 14px;
    color: #1e3a8a;
    margin: 0 0 10px 0;
    line-height: 1.65;
}
.gtv-guide-notice {
    font-size: 12.5px;
    color: #2563eb;
    font-weight: 600;
}

/* 태그 클라우드 */
.gtv-tag-section {
    padding-top: 16px;
    border-top: 1px dashed #cbd5e1;
    margin-top: 26px;
}
.gtv-tag-label {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.gtv-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gtv-tag-badge, .gtv-tag-item {
    background: #f1f5f9;
    color: #334155;
    font-size: 12.5px;
    padding: 6px 13px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
}
.gtv-tag-badge:hover, .gtv-tag-item:hover {
    background: #ffb400;
    color: #0f172a;
    border-color: #ffb400;
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .gtv-card-header {
        padding: 14px 16px;
    }
    .gtv-meta-item {
        padding: 11px 14px;
    }
    .gtv-point-card {
        padding: 14px 16px;
    }
    .gtv-guide-box {
        padding: 16px 18px;
    }
}

