/* =========================================================
   news1 레이아웃 테마 (news4 기반)
   ========================================================= */
:root {
    --n1-bg: #f7f8fa;
    --n1-card: #ffffff;
    --n1-text: #1f2235;
    --n1-sub: #4b5064;
    --n1-muted: #8a8fa3;
    --n1-line: #eceef3;
    --n1-primary: #4a6cf7;
    --n1-accent: #f05a6e;
    --n1-radius: 12px;
    --n1-radius-lg: 16px;
    --n1-shadow: 0 2px 14px rgba(31, 34, 53, .04);
    --n1-font: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

html.n1-noscroll, html.n1-noscroll body { overflow: hidden; }
body.n1-body {
    background: var(--n1-bg);
    color: var(--n1-text);
    font-family: var(--n1-font);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.01em;
    word-break: keep-all;
    overflow-x: hidden;
}
.n1-body h1, .n1-body h2, .n1-body h3, .n1-body h4, .n1-body h5, .n1-body h6 { font-family: var(--n1-font); color: var(--n1-text); }
.n1-body a { color: inherit; text-decoration: none; }
.n1-body a:hover { color: var(--n1-primary); }
.n1-body img { max-width: 100%; }
.n1-container { max-width: 1440px; padding-left: 20px; padding-right: 20px; }

.n1-clamp-1, .n1-clamp-2, .n1-clamp-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.n1-clamp-1 { -webkit-line-clamp: 1; }
.n1-clamp-2 { -webkit-line-clamp: 2; }
.n1-clamp-3 { -webkit-line-clamp: 3; }
.n1-empty { color: var(--n1-muted); font-size: 14px; padding: 20px 0; text-align: center; margin: 0; }

/* 공통 카드 */
.n1-card { background: var(--n1-card); border-radius: var(--n1-radius); box-shadow: var(--n1-shadow); }
.n1-section, .n1-card { margin-bottom: 30px; }
.n1-thumb { display: block; overflow: hidden; position: relative; background: #e9ecf2; }
.n1-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
a.n1-thumb:hover img, .n1-thumb:hover img { transform: scale(1.06); }

/* 위젯 제목 */
.n1-widget-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 10px; }
.n1-widget-head h2 { font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -0.03em; }
.n1-widget-head h2 span { font-weight: 700; }
.n1-widget-head .n1-title-lg { font-size: 24px; }
.n1-more { font-size: 13px; color: var(--n1-muted) !important; white-space: nowrap; }
.n1-more:hover { color: var(--n1-primary) !important; }

/* 메타 정보 */
.n1-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; font-size: 12px; font-weight: 600; color: var(--n1-muted); }
.n1-meta i { margin-right: 3px; font-size: 11px; }
.n1-meta strong { color: var(--n1-sub); font-weight: 600; }
.n1-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* 배지 */
.n1-badge { display: inline-block; padding: 4px 11px; border-radius: 30px; font-size: 11px; font-weight: 700; line-height: 1.4; color: #fff !important; white-space: nowrap; }
.n1-badge-green { background: #5cb87a; }
.n1-badge-yellow { background: #f0b73e; }
.n1-badge-blue { background: #4a8af4; }
.n1-badge-red { background: #ef5b6c; }
.n1-badge-purple { background: #8c6cf0; }
.n1-badge-teal { background: #26b5b0; }
.n1-badge-soft { background: #e8efff; color: var(--n1-primary) !important; }
.n1-label { display: inline-block; font-size: 11px; font-weight: 700; color: var(--n1-accent) !important; margin-bottom: 4px; }

/* 버튼 */
.n1-btn-outline { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border: 1px solid #5cb87a; border-radius: 30px; font-size: 12px; font-weight: 600; color: #5cb87a !important; transition: all .2s; }
.n1-btn-outline:hover { background: #5cb87a; color: #fff !important; }

/* =========================================================
   헤더
   ========================================================= */
.n1-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.n1-header.scrolled { box-shadow: 0 4px 20px rgba(31, 34, 53, .07); }
.n1-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, #4a6cf7, #f05a6e); z-index: 2; }
.n1-header-inner { display: flex; align-items: center; height: 80px; gap: 30px; }
.n1-logo { margin: 0; flex: 0 0 auto; font-size: 0; }
.n1-logo img { max-height: 42px; width: auto; }
.n1-logo span { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; background: linear-gradient(90deg, #4a6cf7 0%, #8c4bd8 55%, #f05a6e 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.n1-gnb { flex: 1 1 auto; min-width: 0; }
.n1-gnb-list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; gap: 4px; }
.n1-gnb-list > li > a { display: flex; align-items: center; gap: 6px; height: 80px; padding: 0 13px; font-size: 17px; font-weight: 700; color: var(--n1-text); white-space: nowrap; position: relative; }
.n1-gnb-list > li > a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 22px; height: 2px; background: var(--n1-primary); transform: scaleX(0); transition: transform .25s; }
.n1-gnb-list > li:hover > a { color: var(--n1-primary); }
.n1-gnb-list > li:hover > a::after { transform: scaleX(1); }
.n1-gnb-home i { font-size: 16px; font-weight: 400; }
.n1-gnb-empty { font-size: 14px; color: var(--n1-muted); }
.n1-gnb-item { position: static; }
.n1-gnb-item.has-mega > .n1-gnb-sub, .n1-gnb-item > .n1-gnb-sub { display: none; }

/* 일반 하위메뉴 */
.n1-gnb-list > li { position: relative; }
.n1-gnb-list > li.has-mega { position: static; }
.n1-gnb-sub { position: absolute; top: 72px; left: 0; min-width: 180px; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(31,34,53,.12); padding: 10px 0; list-style: none; margin: 0; }
.n1-gnb-item:hover > .n1-gnb-sub { display: block; }
.n1-gnb-sub a { display: block; padding: 8px 20px; font-size: 14px; font-weight: 500; }

/* 메가메뉴 */
.n1-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--n1-line); box-shadow: 0 20px 40px rgba(31,34,53,.10); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease; }
.n1-gnb-item.has-mega:hover > .n1-mega { opacity: 1; visibility: visible; transform: translateY(0); }
.n1-mega-inner { display: flex; gap: 30px; padding: 30px 0; }
.n1-mega-tabs { flex: 0 0 170px; list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--n1-line); }
.n1-mega-tabs a { display: block; padding: 9px 16px; font-size: 15px; font-weight: 600; color: var(--n1-sub); border-radius: 8px 0 0 8px; }
.n1-mega-tabs li.active a { color: var(--n1-primary); background: #f1f4ff; }
.n1-mega-panels { flex: 1 1 auto; min-width: 0; }
.n1-mega-panel { display: none; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.n1-mega-panel.active { display: grid; }
.n1-mega-post { display: block; }
.n1-mega-post .n1-thumb { aspect-ratio: 3 / 2; border-radius: 10px; margin-bottom: 12px; }
.n1-mega-post .n1-badge { margin-bottom: 8px; }
.n1-mega-post strong { font-size: 15px; font-weight: 700; line-height: 1.45; color: var(--n1-text); }
.n1-mega-post:hover strong { color: var(--n1-primary); }

/* 검색 · 아이콘 */
.n1-header-util { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.n1-search { position: relative; align-items: center; }
.n1-search input[type=text] { width: 220px; height: 38px; border: 1px solid var(--n1-line); background: #f7f8fa; border-radius: 30px; padding: 0 40px 0 18px; font-size: 13px; color: var(--n1-text); outline: none; transition: border-color .2s, background .2s; }
.n1-search input[type=text]:focus { border-color: var(--n1-primary); background: #fff; }
.n1-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; color: var(--n1-muted); }
.n1-icon-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--n1-text); border-radius: 10px; }
.n1-icon-btn:hover { background: #f1f4ff; color: var(--n1-primary); }

/* 전체메뉴 */
.n1-offcanvas { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.n1-offcanvas.open { visibility: visible; }
.n1-offcanvas-dim { position: absolute; inset: 0; background: rgba(15, 18, 32, .45); opacity: 0; transition: opacity .25s; }
.n1-offcanvas.open .n1-offcanvas-dim { opacity: 1; }
.n1-offcanvas-panel { position: absolute; top: 0; right: 0; bottom: 0; width: 360px; max-width: 88vw; background: #fff; padding: 60px 26px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
.n1-offcanvas.open .n1-offcanvas-panel { transform: translateX(0); }
.n1-offcanvas-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; background: #f3f4f8; border-radius: 50%; font-size: 18px; color: var(--n1-text); }
.n1-search-block { display: flex; margin-bottom: 24px; }
.n1-search-block input[type=text] { width: 100%; }
.n1-offcanvas-login { margin-bottom: 20px; }
.n1-mnav { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--n1-line); }
.n1-mnav > li { position: relative; border-bottom: 1px solid var(--n1-line); }
.n1-mnav > li > a { display: block; padding: 14px 4px; font-size: 16px; font-weight: 700; }
.n1-mnav-toggle { position: absolute; top: 8px; right: 0; width: 36px; height: 36px; border: 0; background: none; color: var(--n1-muted); transition: transform .2s; }
.n1-mnav li.open .n1-mnav-toggle { transform: rotate(180deg); }
.n1-mnav ul { display: none; list-style: none; margin: 0; padding: 0 0 12px 10px; }
.n1-mnav li.open ul { display: block; }
.n1-mnav ul a { display: block; padding: 6px 4px; font-size: 14px; color: var(--n1-sub); }

/* =========================================================
   본문 레이아웃
   ========================================================= */
.n1-main { padding: 40px 0 20px; }
.n1-left-inner { position: sticky; top: 110px; }

/* 날씨 */
.n1-weather { display: flex; gap: 14px; padding: 22px 20px; }
.n1-weather-date { display: flex; flex-direction: column; line-height: 1.2; }
.n1-weather-month { font-size: 13px; font-weight: 700; }
.n1-weather-date strong { font-size: 30px; font-weight: 800; letter-spacing: -0.04em; margin: 4px 0; }
.n1-weather-week { font-size: 13px; font-weight: 600; color: var(--n1-sub); }
.n1-weather-now { display: flex; flex-direction: column; gap: 2px; font-size: 13px; padding-top: 2px; min-width: 0; }
.n1-weather-city { color: var(--n1-primary); font-weight: 600; font-size: 12px; }
.n1-weather-icon { font-size: 20px; color: #f0b73e; line-height: 1.2; }
.n1-weather-temp { font-weight: 700; }
.n1-weather-desc { color: var(--n1-muted); font-size: 12px; }

/* 게시판 바로가기 */
.n1-cats { padding: 16px 20px; }
.n1-cats ul { list-style: none; margin: 0; padding: 0; }
.n1-cats a { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--n1-sub); }
.n1-cats-icon { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: #f3f4f8; color: var(--n1-muted); font-size: 13px; transition: all .2s; }
.n1-cats a:hover .n1-cats-icon { background: var(--n1-primary); color: #fff; }
.n1-cats-name { flex: 1 1 auto; }
.n1-cats-count { min-width: 22px; padding: 1px 6px; border-radius: 6px; font-size: 10px; font-weight: 700; color: #fff; text-align: center; }

/* 커뮤니티 */
.n1-community { padding: 22px 20px; }
.n1-community .n1-widget-head { margin-bottom: 12px; }
.n1-community ul { list-style: none; margin: 0; padding: 0; }
.n1-community li { padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--n1-line); }
.n1-community li:last-child { border-bottom: 0; }

/* 메인 슬라이드 */
.n1-slider { padding: 10px; position: relative; }
.n1-slider .swiper { border-radius: 10px; }
.n1-slide { background: #fff; }
.n1-slide-img { aspect-ratio: 2 / 1; border-radius: 10px; }
.n1-slide-body { padding: 24px 10px 12px; }
.n1-slide-body > .n1-meta-row:first-child { margin-bottom: 18px; }
.n1-slide-title { font-size: 24px; font-weight: 700; line-height: 1.4; margin: 0 0 20px; letter-spacing: -0.03em; }
.n1-author { display: flex; align-items: center; gap: 10px; }
.n1-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.n1-author span { display: flex; flex-direction: column; line-height: 1.3; }
.n1-author strong { font-size: 13px; font-weight: 600; }
.n1-author small { font-size: 11px; font-weight: 700; color: var(--n1-muted); text-transform: uppercase; }
.n1-slider-nav { position: absolute; top: calc(25% + 10px); z-index: 5; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--n1-text); box-shadow: 0 4px 14px rgba(0,0,0,.15); opacity: 0; transition: opacity .2s; }
.n1-slider:hover .n1-slider-nav { opacity: 1; }
.n1-slider-nav.prev { left: 16px; }
.n1-slider-nav.next { right: 16px; }

/* 포토·영상 */
.n1-video { position: relative; }
.n1-video-img { aspect-ratio: 16 / 9; border-radius: 10px; }
.n1-play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; color: #1f2235; display: flex; align-items: center; justify-content: center; font-size: 13px; padding-left: 2px; box-shadow: 0 0 0 8px rgba(255,255,255,.25); }
.n1-share { position: absolute; right: 12px; top: calc(56.25% * 1 - 44px); width: 32px; height: 32px; border: 0; border-radius: 6px; background: #26a69a; color: #fff; font-size: 13px; }
.n1-video h3 { font-size: 18px; font-weight: 700; margin: 16px 4px 8px; line-height: 1.45; }
.n1-video .n1-meta { padding: 0 4px; }

/* 오른쪽 목록 */
.n1-aside { padding: 24px; }
.n1-list { list-style: none; margin: 0; padding: 0; }
.n1-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.n1-list li:last-child { margin-bottom: 0; }
.n1-list .n1-thumb { flex: 0 0 50px; width: 50px; height: 50px; border-radius: 8px; }
.n1-list .n1-thumb-round { border-radius: 50%; }
.n1-list h3 { font-size: 15px; font-weight: 700; line-height: 1.45; margin: 0; }
.n1-list-lg li { align-items: flex-start; margin-bottom: 24px; }
.n1-list-lg .n1-thumb { flex: 0 0 80px; width: 80px; height: 80px; border-radius: 8px; }
.n1-list-lg h3 { margin-bottom: 8px; }
.n1-list-lg .n1-meta { gap: 4px 14px; font-size: 11px; }

/* 회원 리스트 */
.n1-members { padding: 24px; }
.n1-members .n1-widget-head { margin-bottom: 16px; }
.n1-members ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.n1-members li { position: relative; }
.n1-members img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.n1-online { position: absolute; right: 1px; bottom: 1px; width: 10px; height: 10px; border-radius: 50%; background: #3cc47c; border: 2px solid #fff; }

/* 배너 */
.n1-banner { margin: 20px 0 50px; }
.n1-banner img { width: 100%; border-radius: var(--n1-radius); display: block; }

/* 기사 목록 */
.n1-loop-first { padding: 10px; }
.n1-loop-img { aspect-ratio: 7 / 3; border-radius: 10px; }
.n1-loop-body { padding: 24px 10px 14px; }
.n1-loop-body h3 { font-size: 24px; font-weight: 700; line-height: 1.4; margin: 16px 0 10px; letter-spacing: -0.03em; }
.n1-loop-body p { font-size: 14px; color: var(--n1-sub); margin: 0 0 14px; }
.n1-loop-item { display: flex; gap: 18px; padding: 10px; }
.n1-loop-item .n1-thumb { flex: 0 0 150px; width: 150px; height: 150px; border-radius: 10px; }
.n1-loop-item > div { padding: 10px 6px 6px 0; min-width: 0; }
.n1-loop-item h3 { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0 0 14px; }

/* 인기 뉴스 */
.n1-popular-item { padding: 10px; }
.n1-popular-item .n1-thumb { aspect-ratio: 560 / 254; border-radius: 10px; margin-bottom: 14px; }
.n1-popular-item h3 { font-size: 18px; font-weight: 700; line-height: 1.45; margin: 0 10px 12px; }
.n1-popular-item .n1-meta { padding: 0 10px 8px; font-size: 11px; }

/* 최신 댓글 */
.n1-comments { padding: 24px; }
.n1-comments ul { list-style: none; margin: 0; padding: 0; }
.n1-comments li { display: flex; gap: 14px; margin-bottom: 20px; }
.n1-comments li:last-child { margin-bottom: 0; }
.n1-comments img { width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px; object-fit: cover; }
.n1-comments a { font-size: 14px; color: var(--n1-sub); margin-bottom: 4px; }
.n1-comments .n1-meta { font-size: 11px; gap: 4px 14px; }

/* 하단 캐러셀 */
.n1-carousel { margin: 30px 0 30px; }
.n1-carousel .n1-widget-head { margin-bottom: 24px; }
.n1-carousel-dots { display: flex; gap: 4px; position: static !important; width: auto !important; }
.n1-carousel-dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: transparent; border: 1px solid #b7bccb; opacity: 1; transition: all .2s; }
.n1-carousel-dots .swiper-pagination-bullet-active { width: 20px; border-radius: 4px; background: var(--n1-accent); border-color: var(--n1-accent); }
.n1-overlay-card { position: relative; border-radius: var(--n1-radius-lg); overflow: hidden; aspect-ratio: 26 / 31; }
.n1-overlay-card .n1-thumb { position: absolute; inset: 0; }
.n1-overlay-card .n1-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.n1-overlay-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 16px; pointer-events: none; }
.n1-overlay-body a, .n1-overlay-body .n1-badge { pointer-events: auto; }
.n1-overlay-body h3 { font-size: 18px; font-weight: 700; line-height: 1.4; margin: 10px 0 10px; }
.n1-overlay-body h3 a { color: #fff !important; }
.n1-overlay-body .n1-meta { color: rgba(255,255,255,.75); font-size: 11px; }

/* =========================================================
   서브페이지
   ========================================================= */
.n1-main-sub { padding-top: 0; }
.n1-hero { padding: 44px 0 40px; text-align: center; }
.n1-hero-title { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.n1-hero-title h2 { font-size: 44px; font-weight: 800; color: #5cb87a; margin: 0; letter-spacing: -0.04em; line-height: 1.2; }
.n1-hero-count { display: inline-block; padding: 4px 18px; border: 1px solid #5cb87a; border-radius: 30px; font-size: 13px; font-weight: 600; color: #5cb87a; background: #fff; }
.n1-breadcrumb { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--n1-sub); line-height: 1.5; }
.n1-breadcrumb > * { margin: 0; padding: 0; }
.n1-breadcrumb > * + *::before { content: "\203A"; margin-right: 10px; color: var(--n1-muted); font-size: 18px; vertical-align: -1px; }
.n1-page-body { background: #fff; border-radius: var(--n1-radius); box-shadow: var(--n1-shadow); padding: 30px; margin-bottom: 30px; min-width: 0; }
.n1-page-body.is-plain { background: transparent; box-shadow: none; padding: 0; }
.n1-page-body .container { max-width: 100%; padding-left: 0; padding-right: 0; }
.n1-page-body [class*="echo-"][class*="-section"], .n1-page-body [class*="echo-"][class*="-area"] { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; }
.n1-right .n1-side-ad img { width: 100%; border-radius: var(--n1-radius); display: block; }

/* 사이드바 목록 기본값 (게시판 스킨 CSS 영향 차단) */
.n1-left ul, .n1-right ul, .n1-left li, .n1-right li { list-style: none; margin-left: 0; padding-left: 0; }
.n1-community ul li { padding: 7px 0 !important; margin: 0 !important; }
.n1-community ul li a { padding: 0 !important; }

/* 게시판 목록 (theme/n1 스킨) */
.n1-board-cate { padding: 0; margin-bottom: 30px; }
.n1-board-cate ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin: 0; padding: 14px 16px; list-style: none; }
.n1-board-cate a { display: block; padding: 6px 14px; border-radius: 30px; font-size: 14px; font-weight: 700; color: var(--n1-sub); }
.n1-board-cate a:hover { color: var(--n1-primary); }
.n1-board-cate a#bo_cate_on { background: #eef2ff; color: var(--n1-primary); }
.n1-board-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: 13px; color: var(--n1-muted); }
.n1-board-total strong { color: var(--n1-text); }
.n1-board-btns { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.n1-board-btns > li { position: relative; }
.n1-board-btns > li > a, .n1-board-btns > li > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--n1-line); border-radius: 8px; background: #fff; color: var(--n1-sub); font-size: 14px; }
.n1-board-btns > li > a.n1-board-write { background: var(--n1-primary); border-color: var(--n1-primary); color: #fff !important; font-weight: 700; padding: 0 16px; }
.n1-board-btns .more_opt { display: none; position: absolute; right: 0; top: 42px; z-index: 10; min-width: 130px; background: #fff; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.12); padding: 6px 0; list-style: none; margin: 0; }
.n1-board-btns .more_opt button { display: block; width: 100%; text-align: left; padding: 8px 16px; border: 0; background: none; font-size: 13px; }
.n1-board-btns .more_opt button:hover { background: #f5f6fa; }
.n1-check { display: inline-flex; align-items: center; margin: 0 8px 0 0; cursor: pointer; }
.n1-check input { width: 16px; height: 16px; accent-color: var(--n1-primary); }
.n1-board-item { display: flex; gap: 22px; padding: 10px; }
.n1-board-item > .n1-thumb { flex: 0 0 250px; width: 250px; height: 250px; border-radius: 10px; }
.n1-board-item-body { flex: 1 1 auto; min-width: 0; padding: 14px 10px 10px 0; display: flex; flex-direction: column; }
.n1-board-item.no-img .n1-board-item-body { padding-left: 14px; }
.n1-board-item-top { display: flex; align-items: center; gap: 8px; min-height: 18px; }
.n1-board-item h3 { font-size: 20px; font-weight: 700; line-height: 1.45; margin: 8px 0 12px; letter-spacing: -0.03em; }
.n1-board-item h3 a { color: var(--n1-text); }
.n1-board-item h3 a:hover { color: var(--n1-primary); }
.n1-board-item p { font-size: 14px; color: var(--n1-muted); line-height: 1.75; margin: 0 0 16px; }
.n1-board-item .n1-meta { margin-top: auto; }
.n1-board-item.is-notice { border: 1px solid #ffd6dc; }
.n1-board-cmt { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 10px; background: #eef2ff; color: var(--n1-primary); font-size: 12px; font-weight: 700; vertical-align: 3px; }
.n1-board-new { display: inline-block; margin-left: 4px; width: 18px; height: 18px; line-height: 18px; border-radius: 50%; background: var(--n1-accent); color: #fff; font-size: 10px; font-weight: 800; text-align: center; vertical-align: 3px; }
.n1-board-go { color: var(--n1-muted) !important; }
.n1-board-paging { margin: 30px 0 10px; }
.n1-board-paging .pg_wrap { display: flex; justify-content: center; float: none; width: 100%; }
.n1-board-paging .pg { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.n1-board-paging .pg_page, .n1-board-paging .pg_current { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 10px; border: 0; background: #fff; color: var(--n1-sub); font-size: 14px; font-weight: 600; box-shadow: var(--n1-shadow); text-indent: 0; }
.n1-board-paging .pg_current { background: var(--n1-primary); color: #fff; }

/* =========================================================
   푸터
   ========================================================= */
.n1-footer { background: #fff; margin-top: 40px; padding: 50px 0 30px; font-size: 13px; color: var(--n1-muted); }
.n1-footer-links { display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0 0 30px; padding: 0 0 30px; border-bottom: 1px solid var(--n1-line); }
.n1-footer-links a { color: var(--n1-muted); }
.n1-footer-links a:hover { color: var(--n1-primary); }
.n1-footer-policy { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0 0 12px; }
.n1-footer-policy a { color: var(--n1-sub); }
.n1-footer-info p { margin: 0 0 4px; }
.n1-footer-info .n1-copy { margin-top: 12px; }

.n1-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--n1-text); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; }
.n1-top.show { opacity: 1; visibility: visible; transform: none; }

/* =========================================================
   반응형
   ========================================================= */
@media (max-width: 1399.98px) {
    .n1-gnb-list > li > a { padding: 0 10px; font-size: 16px; }
    .n1-gnb-list > li > a::after { left: 10px; right: 10px; }
    .n1-header-inner { gap: 20px; }
}
@media (max-width: 1199.98px) {
    .n1-gnb-list > li > a { padding: 0 8px; font-size: 15px; }
    .n1-gnb-home { display: none; }
    .n1-mega-panel { grid-template-columns: repeat(3, 1fr); }
    .n1-mega-panel .n1-mega-post:nth-child(4) { display: none; }
}
@media (max-width: 991.98px) {
    .n1-header-inner { height: 64px; }
    .n1-logo span { font-size: 24px; }
    .n1-main { padding-top: 24px; }
    .n1-left-inner { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 20px; }
    .n1-slide-title, .n1-loop-body h3 { font-size: 20px; }
}
@media (max-width: 767.98px) {
    .n1-hero { padding: 28px 0 24px; }
    .n1-hero-title h2 { font-size: 32px; }
    .n1-board-item { gap: 14px; }
    .n1-board-item > .n1-thumb { flex-basis: 140px; width: 140px; height: 140px; }
    .n1-board-item h3 { font-size: 17px; margin: 4px 0 8px; }
    .n1-board-item p { display: none; }
}
@media (max-width: 575.98px) {
    .n1-board-item > .n1-thumb { flex-basis: 100px; width: 100px; height: 100px; }
    .n1-board-item-body { padding: 4px 4px 4px 0; }
    .n1-board-item h3 { font-size: 15px; }
    .n1-board-go { display: none; }
    .n1-container { padding-left: 16px; padding-right: 16px; }
    .n1-slide-img { aspect-ratio: 16 / 10; }
    .n1-slide-body { padding: 18px 6px 6px; }
    .n1-slide-title { font-size: 18px; }
    .n1-loop-item { gap: 12px; }
    .n1-loop-item .n1-thumb { flex-basis: 96px; width: 96px; height: 96px; }
    .n1-loop-item > div { padding: 4px 4px 4px 0; }
    .n1-loop-item h3 { font-size: 15px; margin-bottom: 8px; }
    .n1-loop-body h3 { font-size: 18px; }
    .n1-video h3 { font-size: 16px; }
    .n1-page-body { padding: 18px; }
    .n1-page-title { font-size: 22px; }
    .n1-footer-links { gap: 8px 18px; }
    .n1-slider-nav { display: none; }
}

/* 전체메뉴 로그인 (news4 아웃로그인 스킨 보정) */
.n1-offcanvas-login #auto_login_label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer; }
.n1-offcanvas-login #auto_login_label .text-white { color: var(--n1-sub) !important; }

/* 그룹 페이지 */
.n1-group-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.n1-group-item { padding: 10px; margin: 0; }
.n1-group-item .n1-thumb { aspect-ratio: 400 / 260; border-radius: 10px; margin-bottom: 14px; }
.n1-group-item h3 { font-size: 16px; font-weight: 700; line-height: 1.45; margin: 0 6px 10px; }
.n1-group-item .n1-meta { padding: 0 6px 6px; font-size: 11px; }
@media (max-width: 575.98px) { .n1-group-grid { grid-template-columns: 1fr; } }
