@charset "utf-8";
/**
 * KBS 국민패널 — Toss-inspired renewal layout
 * body.layout-renewal 전용 (survey/view·regist·report 제외)
 */

:root {
	--k-primary: #0050ff;
	--k-primary-hover: #003ecc;
	--k-primary-soft: rgba(0, 80, 255, 0.08);
	--k-bg: #f9fafb;
	--k-surface: #ffffff;
	--k-text: #24292e;
	--k-text-muted: #4e5968;
	--k-border: #e8ecf0;
	--k-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
	--k-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
	--k-radius: 12px;
	--k-radius-lg: 16px;
	--k-container: 1280px;
	--k-header-util-h: 40px;
	--k-header-nav-h: 76px;
	--k-header-h: 116px;
	--k-font: "Noto Sans KR", "Apple SD Gothic Neo", "Nanum Gothic", "Malgun Gothic", sans-serif;
}

/* ----- base ----- */
.layout-renewal {
	font-family: var(--k-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--k-text);
	background: #ffffff;
}

.layout-renewal .site-container,
.layout-renewal .site-main,
.layout-renewal #contents.site-main {
	background: #ffffff;
}

.layout-renewal #wrap {
	min-width: 320px;
	overflow-x: hidden;
}

.layout-renewal .txt_point,
.layout-renewal .txt-point {
	color: var(--k-primary) !important;
}

/* ----- header: 1행 유틸(로그인) + 2행 로고·GNB + 메가메뉴 ----- */
.layout-renewal .site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: var(--k-surface);
	border-bottom: 1px solid var(--k-border);
	box-shadow: var(--k-shadow-sm);
}

/* 상단: 로그인·회원 */
.layout-renewal .site-header__top {
	height: var(--k-header-util-h);
	background: var(--k-bg);
	border-bottom: 1px solid var(--k-border);
}

.layout-renewal .site-header__top-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: var(--k-container);
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.layout-renewal .site-header__util {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

/* 하단: 로고 + 메뉴 */
.layout-renewal .site-header__main {
	position: relative;
	background: var(--k-surface);
}

.layout-renewal .site-header__main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: var(--k-container);
	margin: 0 auto;
	padding: 0 24px;
	min-height: var(--k-header-nav-h);
	box-sizing: border-box;
}

.layout-renewal .site-header__logo {
	flex: 0 0 auto;
}

.layout-renewal .site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.layout-renewal .site-logo__kbs {
	display: inline-block;
	width: 61px;
	height: 20px;
	background: url(/inc/img/kbs/logo_kbs.png) no-repeat 0 0;
	background-size: contain;
}

.layout-renewal .site-logo__panel {
	display: inline-block;
	width: 140px;
	height: 40px;
	background: url(/inc/img/kbs/logo_panel.png) no-repeat center center;
	background-size: contain;
}

/* GNB */
.layout-renewal .site-gnb {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: center;
}

.layout-renewal .site-gnb > ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.layout-renewal #gnb > ul > li {
	position: static;
	margin: 0;
	padding: 0 !important;
	border: none !important;
	cursor: pointer;
}

.layout-renewal #gnb li.on,
.layout-renewal #gnb li.active {
	padding-bottom: 0 !important;
}

.layout-renewal #gnb li.on > a,
.layout-renewal #gnb li.active > a {
	display: block !important;
	margin-bottom: 0 !important;
	padding: 16px 26px !important;
	border-bottom: none !important;
	font-weight: 700 !important;
	font-size: 17px !important;
}

/* 1차 메뉴 — 기본(비호버) */
.layout-renewal .site-gnb > ul > li > a {
	position: relative;
	display: block;
	padding: 16px 26px;
	font-size: 17px;
	font-weight: 600;
	color: var(--k-text);
	letter-spacing: -0.02em;
	text-decoration: none;
	border-bottom: none;
	box-sizing: border-box;
	transition: color 0.2s ease;
}

.layout-renewal .site-gnb > ul > li > a::after {
	content: "";
	position: absolute;
	left: 26px;
	right: 26px;
	bottom: 12px;
	height: 3px;
	background: transparent;
	border-radius: 2px;
	transition: background 0.2s ease;
}

/* 1차 메뉴 — 호버 시에만 강조 (레퍼런스: 비호버=검정, 호버=파랑+밑줄) */
.layout-renewal .site-gnb > ul > li.active > a,
.layout-renewal .site-gnb > ul > li.on > a {
	color: var(--k-text);
}

.layout-renewal .site-gnb > ul > li.active > a::after,
.layout-renewal .site-gnb > ul > li.on > a::after {
	background: transparent;
}

.layout-renewal .site-gnb > ul > li:hover > a,
.layout-renewal .site-gnb > ul > li.gnb-hover > a {
	color: var(--k-primary);
}

.layout-renewal .site-gnb > ul > li:hover > a::after,
.layout-renewal .site-gnb > ul > li.gnb-hover > a::after {
	background: var(--k-primary);
}

.layout-renewal .site-gnb > ul > li.gnb-item--solo > a::after {
	display: none;
}

.layout-renewal .site-gnb > ul > li.gnb-item--solo:hover > a,
.layout-renewal .site-gnb > ul > li.gnb-item--solo.gnb-hover > a {
	color: var(--k-primary);
}

/* GNB 내 옛 sub_list 숨김 */
.layout-renewal .site-gnb .sub_list {
	display: none !important;
}

/* 메가 메뉴 — 메뉴 행 아래 전체 너비 패널 (다열) */
.layout-renewal .gnb-mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	width: 100%;
	background: var(--k-surface);
	border-top: 1px solid var(--k-border);
	box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
	z-index: 1001;
}

.layout-renewal .gnb-mega.is-open,
.layout-renewal .site-header__main:hover .gnb-mega,
.layout-renewal .gnb-mega:hover {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.layout-renewal .gnb-mega__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 28px 24px;
	max-width: var(--k-container);
	margin: 0 auto;
	padding: 32px 24px 36px;
	box-sizing: border-box;
}

.layout-renewal .gnb-mega__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.layout-renewal .gnb-mega__title {
	margin: 0 0 14px;
	padding: 0 0 12px;
	border-bottom: 1px solid var(--k-border);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.layout-renewal .gnb-mega__title a {
	color: var(--k-text);
	text-decoration: none;
	transition: color 0.15s ease;
}

.layout-renewal .gnb-mega__col ul a {
	display: block;
	padding: 8px 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--k-text-muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.layout-renewal .gnb-mega__col ul a:hover,
.layout-renewal .gnb-mega__col ul a.on {
	color: var(--k-primary);
	font-weight: 600;
}

/* 호버 중인 1차 메뉴에 맞는 열 강조 */
.layout-renewal .gnb-mega[data-hover-col="0"] .gnb-mega__col:nth-child(1) .gnb-mega__title a,
.layout-renewal .gnb-mega[data-hover-col="1"] .gnb-mega__col:nth-child(2) .gnb-mega__title a,
.layout-renewal .gnb-mega[data-hover-col="2"] .gnb-mega__col:nth-child(3) .gnb-mega__title a,
.layout-renewal .gnb-mega[data-hover-col="3"] .gnb-mega__col:nth-child(4) .gnb-mega__title a,
.layout-renewal .gnb-mega[data-hover-col="4"] .gnb-mega__col:nth-child(5) .gnb-mega__title a,
.layout-renewal .gnb-mega[data-hover-col="5"] .gnb-mega__col:nth-child(6) .gnb-mega__title a,
.layout-renewal .gnb-mega[data-hover-col="6"] .gnb-mega__col:nth-child(7) .gnb-mega__title a {
	color: var(--k-primary);
}

.layout-renewal #gnb li.on,
.layout-renewal #gnb li.active {
	padding-bottom: 0 !important;
}

.layout-renewal .util-user {
	color: var(--k-text-muted);
	font-weight: 500;
}

.layout-renewal .util-name {
	color: var(--k-text);
	font-weight: 600;
}

.layout-renewal .util-sep {
	color: #d0d5dd;
	font-weight: 300;
	user-select: none;
}

.layout-renewal .util-link {
	color: var(--k-text-muted);
	font-weight: 500;
	text-decoration: none;
	transition: color 0.15s ease;
}

.layout-renewal .util-link:hover {
	color: var(--k-primary);
}

.layout-renewal .btn-util {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	box-sizing: border-box;
}

.layout-renewal .btn-util--primary {
	color: #fff;
	background: var(--k-primary);
	border: 1px solid var(--k-primary);
}

.layout-renewal .btn-util--primary:hover {
	background: var(--k-primary-hover);
	border-color: var(--k-primary-hover);
	color: #fff;
}

.layout-renewal .btn-util--outline {
	color: var(--k-primary);
	background: transparent;
	border: 1px solid var(--k-primary);
}

.layout-renewal .btn-util--outline:hover {
	background: var(--k-primary-soft);
}

/* ----- main container ----- */
.layout-renewal .site-container {
	max-width: var(--k-container);
	margin: 0 auto;
	padding: calc(var(--k-header-h) + 32px) 24px 64px;
	box-sizing: border-box;
}

.layout-renewal .site-main,
.layout-renewal #contents.site-main {
	width: 100%;
	max-width: 100%;
	min-height: 480px;
	padding: 0 0 32px;
	margin: 0;
	box-sizing: border-box;
}

/* inner pages typography */
.layout-renewal .cont-tit {
	font-size: 36px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--k-text);
}

.layout-renewal .tit-line {
	padding-bottom: 32px;
}

.layout-renewal .tit-line span {
	width: 100%;
	max-width: 100%;
	background: var(--k-border);
}

.layout-renewal .cont-s-tit {
	font-size: 16px;
	color: var(--k-text-muted);
	padding-bottom: 32px;
}

/* tables full width */
.layout-renewal #contents table,
.layout-renewal .site-main table {
	width: 100% !important;
	max-width: 100%;
}

.layout-renewal #contents table.case2,
.layout-renewal #contents table.case3 {
	table-layout: fixed;
}

/* board list — narrow date/name/hit, wide title */
.layout-renewal .notice table.case2 col.col-no { width: 72px; }
.layout-renewal .notice table.case2 col.col-name { width: 100px; }
.layout-renewal .notice table.case2 col.col-date { width: 104px; }
.layout-renewal .notice table.case2 col.col-hit { width: 72px; }
.layout-renewal .notice table.case2 col.col-tit { width: auto; }
.layout-renewal .notice table.case2 td.col-date,
.layout-renewal .notice table.case2 th.col-date {
	white-space: nowrap;
	font-size: 14px;
}

.layout-renewal #contents table th,
.layout-renewal #contents table td {
	font-size: 15px;
	padding: 12px 14px;
}

.layout-renewal .item-board table.case3 th[style*="width"],
.layout-renewal .item-board table.case3 td[style*="width"] {
	width: auto !important;
}

/* board view — body / comments separation */
.layout-renewal .item-board .board-view-body {
	padding-bottom: 32px !important;
	border-bottom: 1px solid #e7e7e7;
}

.layout-renewal .item-board .board-comments {
	clear: both;
	width: 100% !important;
	max-width: 100%;
	margin-top: 8px;
	padding: 24px 0 0;
	border-top: 2px solid #878787;
	border-bottom: none;
	box-sizing: border-box;
}

.layout-renewal .item-board .board-comments .board-comment-list {
	margin-bottom: 0;
	border-top: none;
}

.layout-renewal .item-board .board-comments .board-comment-list td.reply {
	border-bottom: 1px solid #e7e7e7;
	vertical-align: top;
}

.layout-renewal .item-board .board-comments .board-comment-list td.reply .cont {
	width: auto;
	max-width: 100%;
	padding-right: 48px;
	word-break: break-word;
}

.layout-renewal .item-board .board-comments .board-comment-list td.reply button {
	top: 12px;
	right: 14px;
}

.layout-renewal .item-board .board-comments .reply_write.board-comment-form {
	width: 100% !important;
	height: auto !important;
	min-height: 0;
	margin-top: 16px;
	padding: 16px 0 8px;
	background: none;
	border-top: 1px solid #e7e7e7;
}

.layout-renewal .item-board .board-comments .reply-input {
	padding: 12px 0 !important;
}

.layout-renewal .item-board .board-comments .reply-input textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 72px;
	margin-bottom: 8px;
	box-sizing: border-box;
}

.layout-renewal .item-board .board-comments .btn-reply {
	display: inline-block;
	width: auto;
	min-width: 92px;
	height: auto;
	padding: 10px 20px;
	margin-left: 0;
	vertical-align: middle;
}

.layout-renewal #contents img {
	max-width: 100%;
	height: auto;
}

/* ----- footer — common.css #footer{margin-left:215px} 무효, 헤더와 동일 정렬 ----- */
.layout-renewal #footer,
.layout-renewal #footer.site-footer {
	clear: both;
	width: 100%;
	max-width: none;
	margin: 48px 0 0;
	padding: 40px 0 48px;
	background: var(--k-surface);
	border-top: 1px solid var(--k-border);
	box-sizing: border-box;
}

.layout-renewal #footer .footer_inner,
.layout-renewal #footer.site-footer .footer_inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px 32px;
	max-width: var(--k-container);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.layout-renewal #footer .footer_inner > div,
.layout-renewal #footer.site-footer .footer_inner > div {
	float: none;
}

.layout-renewal #footer .address,
.layout-renewal #footer.site-footer .address {
	flex: 1 1 360px;
	padding-left: 20px;
	font-size: 14px;
	line-height: 1.7;
	color: var(--k-text-muted);
}

.layout-renewal #footer .address a,
.layout-renewal #footer.site-footer .address a {
	color: var(--k-text-muted);
}

.layout-renewal .footer-addr-line {
	font-size: 13px;
}

.layout-renewal #footer .contact,
.layout-renewal #footer.site-footer .contact {
	float: none;
	flex: 0 0 auto;
	align-self: flex-start;
	font-size: 14px;
	font-weight: 600;
}

.layout-renewal #footer .contact a,
.layout-renewal #footer.site-footer .contact a {
	color: var(--k-text);
	padding: 0 4px;
}

.layout-renewal #footer .contact a:hover,
.layout-renewal #footer.site-footer .contact a:hover {
	color: var(--k-primary);
}

.layout-renewal #footer .logo_area,
.layout-renewal #footer.site-footer .logo_area {
	float: none;
	flex: 0 0 auto;
}

.layout-renewal .footer-sep {
	color: #d0d5dd;
	margin: 0 4px;
}

/* ============================================================
   MAIN PAGE (index.php)
   ============================================================ */

/* 구 레이아웃 본문 폭(864px) 기준 가운데 정렬 */
.layout-renewal .site-main > .k-main-hero,
.layout-renewal .site-main > .k-survey-banner,
.layout-renewal .site-main > .survey_result,
.layout-renewal .site-main > .tree_grow.k-donate-card,
.layout-renewal .site-main > .board_wrap.k-board-grid {
	width: 100%;
	max-width: 864px;
	margin-left: auto;
	margin-right: auto;
}

/* Hero: 슬라이더(좌) + 우측 로그인·소개(한 열) */
.layout-renewal .k-main-hero {
	display: grid;
	grid-template-columns: 1fr minmax(360px, 420px);
	grid-template-rows: auto auto;
	gap: 16px;
	margin-bottom: 28px;
	align-items: stretch;
}

.layout-renewal .k-main-hero .banner_wrap {
	grid-column: 1 / 2;
	grid-row: 1 / 3;
	float: none;
	width: auto;
	overflow: hidden;
	padding: 0;
}

.layout-renewal .k-main-hero .visualArea {
	width: 100% !important;
	height: 320px;
	position: relative;
	overflow: hidden;
}

.layout-renewal .k-main-hero .visuals li img {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
}

.layout-renewal .k-main-hero .control_wrap {
	top: auto;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.92);
	padding: 6px 12px;
	border-radius: 999px;
	box-shadow: var(--k-shadow-sm);
}

.layout-renewal .k-main-hero .personal_wrap {
	grid-column: 2;
	grid-row: 1;
	float: none;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 240px;
	padding: 17px 14px 15px;
	border: 1px solid #e7e7e7;
	background: #fff;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.layout-renewal .k-main-hero .personal_wrap h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--k-text);
	padding-bottom: 20px;
	margin: 0;
	border-bottom: 1px solid var(--k-border);
}

.layout-renewal .k-main-hero .login_box,
.layout-renewal .k-main-hero .logout_box {
	width: 100%;
	flex: 1 1 auto;
}

.layout-renewal .k-main-hero .input-area {
	width: 100%;
}

.layout-renewal .k-main-hero .input-area input {
	width: 100%;
	max-width: 100%;
	height: 44px;
	border-radius: 8px;
	border-color: var(--k-border);
	font-size: 15px;
	box-sizing: border-box;
}

.layout-renewal .k-main-hero .input-area .submit,
.layout-renewal .k-main-hero .input-area button {
	position: static;
	display: block;
	width: 100%;
	margin-top: 8px;
	height: 44px;
	line-height: 44px;
	border-radius: 10px;
	background: var(--k-primary);
	color: #fff;
	border: none;
	font-size: 15px;
	font-weight: 600;
}

.layout-renewal .k-main-hero .input-area .submit:hover {
	background: var(--k-primary-hover);
}

/* 로그인 후: 환영 문구 + 아이콘 3열(박스 가로 전체) */
.layout-renewal .k-main-hero .logout_box {
	text-align: center;
	width: 100%;
	padding-top: 8px;
}

.layout-renewal .k-main-hero .logout_box > p {
	padding: 16px 0 28px;
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--k-text);
}

.layout-renewal .k-main-hero .logout_box > p .txt_point {
	font-size: 19px;
	font-weight: 700;
}

.layout-renewal .k-main-hero .logout_box > div {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 12px;
	width: 100%;
}

.layout-renewal .k-main-hero .logout_box > div:after {
	display: none;
}

.layout-renewal .k-main-hero .logout_box a {
	flex: 1 1 33.33%;
	float: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	min-width: 0;
	min-height: 108px;
	box-sizing: border-box;
	margin: 0;
	padding: 16px 8px 12px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--k-text-muted);
	text-align: center;
	background-image: none;
	border-radius: 12px;
	border: 1px solid var(--k-border);
	background-color: var(--k-bg);
	transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.layout-renewal .k-main-hero .logout_box a::before {
	content: "";
	display: block;
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	background-color: #6b7684;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 40px 40px;
	mask-size: 40px 40px;
	transition: background-color 0.15s ease;
}

.layout-renewal .k-main-hero .logout_box a:hover {
	color: var(--k-primary);
	background-color: var(--k-primary-soft);
	border-color: rgba(0, 80, 255, 0.25);
}

.layout-renewal .k-main-hero .logout_box a:hover::before {
	background-color: var(--k-primary);
}

.layout-renewal .k-main-hero .logout_box a.history::before {
	-webkit-mask-image: url(/inc/img/kbs/icon_quick_history.svg);
	mask-image: url(/inc/img/kbs/icon_quick_history.svg);
}

.layout-renewal .k-main-hero .logout_box a.modify::before {
	-webkit-mask-image: url(/inc/img/kbs/icon_quick_mypage.svg);
	mask-image: url(/inc/img/kbs/icon_quick_mypage.svg);
}

.layout-renewal .k-main-hero .logout_box a.btn_logout::before {
	-webkit-mask-image: url(/inc/img/kbs/icon_quick_logout.svg);
	mask-image: url(/inc/img/kbs/icon_quick_logout.svg);
}

.layout-renewal .k-main-hero .personal_wrap .auto_login,
.layout-renewal .k-main-hero .personal_wrap .btn_area {
	font-size: 14px;
	width: 100%;
	text-align: center;
}

.layout-renewal .k-main-hero .personal_wrap .btn_area {
	padding-top: 14px;
	line-height: 1.6;
}

.layout-renewal .k-main-hero .link_area {
	grid-column: 2;
	grid-row: 2;
	float: none;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 13px 29px;
	box-sizing: border-box;
	border: 1px solid #e7e7e7;
	background: #fff;
	text-align: center;
}

.layout-renewal .k-main-hero .link_area p {
	font-size: 15px;
	font-weight: 600;
	color: var(--k-text);
}

.layout-renewal .k-main-hero .link_area a {
	display: inline-block;
	width: auto;
	min-width: 160px;
	margin-top: 14px;
	padding: 0 24px;
	background: var(--k-primary);
	border-radius: 10px;
	font-size: 15px;
	font-weight: 600;
}

/* Survey banner */
.layout-renewal .k-survey-banner {
	margin-bottom: 28px;
}

.layout-renewal .k-survey-banner img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.layout-renewal .k-survey-banner .txt_banner a {
	width: 100% !important;
	max-width: 100%;
	min-height: 120px;
	padding: 48px 24px 48px 200px;
	font-size: 22px;
	font-weight: 700;
	color: var(--k-text);
	letter-spacing: -0.02em;
	background-size: cover !important;
	background-position: center !important;
	box-sizing: border-box;
}

/* Result block — grid only (no card chrome) */
.layout-renewal .k-result-card {
	display: grid !important;
	grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
	gap: 28px;
	align-items: stretch;
	margin-bottom: 28px;
	padding: 0;
	background: transparent;
}

.layout-renewal .k-result-card > a {
	float: none;
	display: block;
}

.layout-renewal .k-result-card > a img {
	width: 100%;
	height: auto;
	max-width: 100%;
	float: none;
}

.layout-renewal .k-result-card .preview {
	float: none;
	width: auto;
	height: auto;
	padding-bottom: 0;
}

.layout-renewal .k-result-card .tit {
	font-size: 15px;
	font-weight: 600;
	border-color: var(--k-border);
}

.layout-renewal .k-result-card .tit a {
	color: var(--k-primary);
}

.layout-renewal .k-result-card .tit_survey {
	font-size: 20px;
	font-weight: 700;
}

.layout-renewal .k-result-card .tit_survey a {
	color: var(--k-text);
}

.layout-renewal .k-result-card .bar_area img {
	transition: opacity 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}

.layout-renewal .k-result-card .bar_area img:hover {
	opacity: 0.85;
}

/* Donation tree — content-box so height:325px matches legacy (icons stay inside block) */
.layout-renewal .tree_grow.k-donate-card {
	width: 100%;
	box-sizing: content-box;
	height: auto;
	min-height: 325px;
	overflow: hidden;
	background-repeat: no-repeat;
	background-position: 0 0;
}

.layout-renewal .tree_grow.k-donate-card .link_wrap {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: flex-start;
	gap: 0;
	padding-top: 85px;
	text-align: center;
	max-width: none;
	width: 100%;
}

.layout-renewal .tree_grow.k-donate-card .link_wrap a {
	flex: 0 0 auto;
	display: inline-block;
	width: 90px;
	margin: 0;
	padding: 105px 45px 0;
	vertical-align: top;
}

.layout-renewal .board_wrap.k-board-grid {
	clear: both;
}

/* Board grid */
.layout-renewal .k-board-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.layout-renewal .site-main > .board_wrap.k-board-grid {
	margin-top: 60px;
}

.layout-renewal .k-board-grid > div {
	float: none;
	width: auto !important;
	margin-left: 0 !important;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
}

.layout-renewal .k-board-grid .tit_board {
	font-size: 16px;
	font-weight: 700;
	border-color: var(--k-border);
}

.layout-renewal .k-board-grid .tit_board a {
	color: var(--k-primary);
	font-size: 20px;
}

/* buttons global touch */
.layout-renewal .btn,
.layout-renewal .btn-blue {
	border-radius: 10px;
	font-size: 15px;
}

.layout-renewal .btn-blue {
	background: var(--k-primary);
	border-color: var(--k-primary);
}

/* login pages */
.layout-renewal .login-wrap {
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

/* survey/index · survey/result — layout only (cards: style.css) */
.layout-renewal .servey-wrap,
.layout-renewal .servey-history,
.layout-renewal .servey-result {
	width: 100%;
}

.layout-renewal .servey-history .history-header {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 56px;
	align-items: flex-start;
	margin-bottom: 28px;
	padding: 24px 28px 72px;
	border-bottom: 1px solid #e7e7e7;
	background-image: url(/inc/img/kbs/bg_servey_history.png);
	background-repeat: no-repeat;
	background-position: right 24px center;
	background-size: auto 75%;
}

.layout-renewal .servey-history .history-header::after {
	display: none;
}

.layout-renewal .servey-history .history-box {
	float: none;
	width: auto;
	min-width: 220px;
	margin-right: 0;
}

.layout-renewal .servey-history .history-box .tit {
	margin-bottom: 4px;
}

.layout-renewal .servey-history .history-box p {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	padding-top: 12px;
	margin: 0;
	line-height: 1.5;
	white-space: nowrap;
}

.layout-renewal .servey-history .history-box p span {
	display: inline;
	width: auto !important;
	min-width: 96px;
	flex: 0 0 auto;
	white-space: nowrap;
	margin-right: 10px;
}

/* 조사결과 카드 그리드 — float 제거(빈 칸 방지), 이미지·오버레이 분리 */
.layout-renewal .servey-result > ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.layout-renewal .servey-result > ul::after {
	display: none;
}

.layout-renewal .servey-result > ul > li.result-card,
.layout-renewal .servey-result > ul > li {
	float: none;
	position: relative;
	width: auto;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.layout-renewal .servey-result .result-card__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #eef1f5;
}

.layout-renewal .servey-result .result-card__media img {
	display: block;
	width: 100%;
	height: 270px;
	max-width: 100%;
	object-fit: cover;
	vertical-align: top;
}

.layout-renewal .servey-result .result-card__media .result-detail {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: auto;
	width: 100%;
	height: auto;
	min-height: 44px;
	padding: 10px 14px;
	line-height: 1.45;
	box-sizing: border-box;
}

.layout-renewal .servey-result .servey-cont {
	position: relative;
	z-index: 1;
	padding: 14px 2px 0;
	margin-top: 0;
}

.layout-renewal .servey-result .servey-cont .tit {
	padding: 10px 0;
}

.layout-renewal .servey-result .servey-cont .cont {
	padding: 10px 0;
	line-height: 1.6;
}

.layout-renewal .servey-result table.case3 .img-area img {
	max-width: 100%;
	height: auto;
}

/* responsive */
@media screen and (max-width: 1100px) {
	.layout-renewal .site-header__main-inner {
		flex-wrap: wrap;
		justify-content: center;
		padding-top: 8px;
		padding-bottom: 8px;
		min-height: auto;
	}

	.layout-renewal .site-gnb {
		flex: 1 1 100%;
		order: 2;
	}

	.layout-renewal .site-header__logo {
		order: 1;
		width: 100%;
		text-align: center;
	}

	.layout-renewal .site-container {
		padding-top: calc(var(--k-header-h) + 24px);
	}

	.layout-renewal .k-main-hero {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.layout-renewal .k-main-hero .banner_wrap,
	.layout-renewal .k-main-hero .personal_wrap,
	.layout-renewal .k-main-hero .link_area {
		grid-column: 1;
		grid-row: auto;
	}

	.layout-renewal .k-result-card {
		grid-template-columns: 1fr;
	}

	.layout-renewal .k-board-grid {
		grid-template-columns: 1fr;
	}

	.layout-renewal .servey-result > ul {
		grid-template-columns: 1fr;
	}

}

@media screen and (max-width: 720px) {
	.layout-renewal .site-header__util {
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.layout-renewal .site-gnb > ul {
		gap: 0 10px;
	}

	.layout-renewal .site-gnb > ul > li > a {
		padding: 10px 14px;
		font-size: 15px;
	}

	.layout-renewal #gnb li.on > a,
	.layout-renewal #gnb li.active > a {
		padding: 10px 14px !important;
		font-size: 15px !important;
	}
}
