/* ===== 청우 뉴스룸 목록 ===== */
.cwn{max-width:1180px;margin:0 auto;padding:10px 16px 50px;color:#333;font-size:15px;box-sizing:border-box;}
.cwn *{box-sizing:border-box;}

/* 스크롤 진입 애니메이션 (뷰포트 도달 시 재생) */
.cwn-eyebrow,.cwn-head-title,.cwn-toolbar,.cwn-grid{
	opacity:0;transform:translateY(64px);
	transition:opacity 1.3s cubic-bezier(.16,1,.3,1),transform 1.3s cubic-bezier(.16,1,.3,1);
}
.cwn-head-title{transition-delay:.14s;}
.cwn-toolbar{transition-delay:.28s;}
.cwn-eyebrow.is-inview,.cwn-head-title.is-inview,.cwn-toolbar.is-inview,.cwn-grid.is-inview{
	opacity:1;transform:none;
}
@media (prefers-reduced-motion:reduce){
	.cwn-eyebrow,.cwn-head-title,.cwn-toolbar,.cwn-grid{opacity:1 !important;transform:none !important;transition:none !important;}
}

/* 헤더 */
.cwn-head{text-align:center;margin:10px 0 70px;}
.cwn-eyebrow{display: block;
    color: #444;
    font-size: 20px;
    /* letter-spacing: .22em; */
    margin-bottom: 20px;
    font-family: 'Pretendard' !important;

}
.cwn-head-title{
	margin: 0;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.35;
    color: #000;
    font-family: 'A2z' !important;
}

.single-cw_news .page_content_wrap {
	padding-top: 0;
}

/* 툴바 */
.cwn-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 30px;}
.cwn-total{font-size:15px;color:#333;}
.cwn-total span{color:#d21f28;font-weight:700;}
.cwn-tools{display:flex;align-items:center;gap:22px;}
.cwn-select{position:relative;}
.cwn-select select{
	border:0 !important;border-bottom:1px solid #ccc !important;background-color:transparent !important;border-radius:0 !important;box-shadow:none !important;
	padding:6px 30px 6px 4px;font-size:15px;color:#333;cursor:pointer;
	-webkit-appearance:none;appearance:none;min-width:130px;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 6px center;
}
.cwn-search{position:relative;}
.cwn-search input{border:0 !important;border-bottom:1px solid #ccc !important;background-color:transparent !important;border-radius:0 !important;box-shadow:none !important;padding:6px 30px 6px 4px;font-size:14px;color:#333;width:230px;}
.cwn-search input::placeholder{color:#aaa;}
.cwn-search-ico{
	position:absolute;right:4px;top:50%;transform:translateY(-50%);width:16px;height:16px;pointer-events:none;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='M21 21l-5-5'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* 카드 그리드 (행마다 너비 3:2 / 2:3 교대, 세로 높이는 동일) */
.cwn-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:28px;}
.cwn-card{
	position:relative;display:flex;flex-direction:column;text-decoration:none;
	background:#1c1c1c;border-radius:20px;padding:34px 34px 30px;overflow:hidden;
	height:440px;transition:transform .15s,box-shadow .15s;
}
.cwn-card.cwn-w3{grid-column:span 3;}
.cwn-card.cwn-w2{grid-column:span 2;}
.cwn-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(0,0,0,.18);}
.cwn-date{
	position:absolute;top:30px;right:30px;
	background:#c4ab77;color:#fff;padding:8px 20px;border-radius:22px;font-size:14px;font-weight:500;
}
.cwn-card-title{flex:0 0 auto;display:block;color:#fff;font-size:21px;font-weight:700;line-height:1.45;margin:52px 0 22px;}
/* 글별 링크(버튼) — 카드 제목 아래 */
.cwn-card-links{flex:0 0 auto;display:flex;flex-wrap:wrap;gap:8px;margin:-8px 0 22px;}
.cwn-card-link{
	display:inline-flex;align-items:center;max-width:100%;
	padding:7px 16px;border:1px solid rgba(196,171,119,.6);border-radius:20px;
	background:rgba(255,255,255,.06);color:#e9ddc3;font-size:13px;font-weight:500;line-height:1.2;
	cursor:pointer;transition:background .15s,color .15s,border-color .15s;
	overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.cwn-card-link:hover,.cwn-card-link:focus{background:#c4ab77;border-color:#c4ab77;color:#fff;outline:none;}
.cwn-card-thumb{flex:1 1 auto;min-height:0;display:block;border-radius:12px;overflow:hidden;background:#fff;}
.cwn-card-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.cwn-empty{padding:60px 10px;text-align:center;color:#999;}

/* 페이지네이션 */
.cwn-pager{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:50px;}
.cwn-pager .cwn-page,
.cwn-pager .cwn-arrow{
	border:0 !important;background:transparent !important;box-shadow:none !important;
	width:36px;height:36px;border-radius:50% !important;cursor:pointer;font-family:inherit;
	font-size:15px;color:#555;display:flex;align-items:center;justify-content:center;
}
.cwn-pager .cwn-page.is-active{background:#c4ab77 !important;color:#fff !important;}
.cwn-pager .cwn-arrow{font-size:22px;color:#999;}
.cwn-pager .cwn-arrow:disabled{opacity:.3;cursor:default;}

/* ===== 뉴스룸 상세 ===== */
/* 공통 배너(상단 풀폭) */
.cwn-banner{width:100vw;margin-left:calc(50% - 50vw);}
.cwn-banner img{width:100%;height:auto;display:block;}

.cwn-single{max-width:820px;margin:150px auto 40px;padding:0 20px;color:#333;}
.cwn-single *{box-sizing:border-box;}
.cwn-single-head{margin-bottom:44px;}
.cwn-single-eyebrow{display:block;color:#999;font-size:13px;letter-spacing:.15em;margin-bottom:18px;}
.cwn-single-title{margin:0 0 18px;color:#df1522;font-size:32px;font-weight:800;line-height:1.4;}
.cwn-single-meta{margin:0;color:#999;font-size:14px;}
.cwn-single-meta .cwn-dot{margin:0 6px;color:#ccc;}

.cwn-single-cover{margin:0 0 44px;}
.cwn-single-cover img{width:100%;height:auto;display:block;border-radius:4px;}

.cwn-single-body{font-size:15px;line-height:1.9;color:#555;}
.cwn-single-body h1,.cwn-single-body h2,.cwn-single-body h3,.cwn-single-body h4{color:#222;font-weight:700;line-height:1.4;margin:1.6em 0 .7em;}
.cwn-single-body h2{font-size:20px;}
.cwn-single-body h3{font-size:18px;}
.cwn-single-body p{margin:0 0 1.3em;}
.cwn-single-body img{max-width:100%;height:auto;border-radius:4px;}
.cwn-single-body a{color:#df1522;}

/* 첨부파일 다운로드 */
.cwn-single-file{margin:36px 0 0;}
.cwn-file-btn{
	display:inline-flex;align-items:center;gap:10px;
	padding:13px 24px;border:1px solid #ddd;border-radius:8px;background:#fafafa;
	color:#333;text-decoration:none;font-size:14px;transition:background .15s,border-color .15s;
}
.cwn-file-btn:hover{background:#f0f0f0;border-color:#ccc;}
.cwn-file-ico{
	width:18px;height:18px;flex:0 0 18px;
	background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23df1522' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center/contain;
}

/* 관련 소식 */
.cwn-related{margin-top:70px;}
.cwn-related-title{margin:0 0 24px;color:#df1522;font-size:20px;font-weight:700;}
.cwn-related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;}
.cwn-related-card{display:block;text-decoration:none;color:inherit;}
.cwn-related-thumb{display:block;border-radius:10px;overflow:hidden;margin-bottom:14px;background:#f2f2f2;aspect-ratio:16/9;}
.cwn-related-thumb img{width:100%;height:100%;object-fit:cover;display:block;}
.cwn-related-name{display:block;font-size:15px;font-weight:700;color:#222;line-height:1.45;}
.cwn-related-meta{display:block;margin-top:8px;color:#aaa;font-size:13px;}
.cwn-related-meta .cwn-dot{margin:0 5px;}

/* 목록 버튼(그리드 아이콘) */
.cwn-single-foot{text-align:center;margin-top:64px;}
.cwn-back{
	display:inline-grid;grid-template-columns:1fr 1fr;grid-gap:3px;gap:3px;
	width:24px;height:24px;padding:0;margin:0;border:0 !important;background:transparent !important;box-shadow:none !important;cursor:pointer;
}
.cwn-back span{display:block;width:100%;height:100%;background:#c4ab77;border-radius:2px;}

/* 반응형 */
@media (max-width:900px){
	.cwn-head-title{font-size:30px;}
	.cwn-single-title{font-size:26px;}
	.cwn-card{height:380px;}

	.cwn-single {
		margin: 50px auto 40px;
	}

	.cwn-search {
		width: 100%;
	}
}
@media (max-width:600px){
	.cwn-grid{grid-template-columns:1fr;}
	.cwn-card.cwn-w3,.cwn-card.cwn-w2{grid-column:auto;}
	.cwn-card{height:340px;}
	.cwn-related-grid{grid-template-columns:1fr;}
	.cwn-toolbar{flex-direction:column;align-items:stretch;gap:14px;}
	.cwn-tools{justify-content:space-between;}
	.cwn-search input{width:100%;}
}
