/* daara 뉴스(/뉴스/). daara 홈 스타일(site.css) 위에 목록 · 글만 더한다. 색 · 선은 홈 토큰 그대로. */
.nav-links a[aria-current="page"]{color:var(--teal)}
/* 링크는 기본 파랑(2026-11-25 사용자: "링크는 기본적으로 파란색"). 사이트 --teal 은 이름과 달리 브랜드 빨강이라 링크에 쓰지 않는다 */
.news{--link:#0b5cad;--link-hover:#08478a;max-width:920px;padding-top:80px;padding-bottom:110px}
.news .section-head h1{margin:0 0 9px;color:var(--navy);font-size:36px;font-weight:900;letter-spacing:-.04em}
.news-count{margin:0 0 12px;color:var(--muted);font-size:15px}
.news-empty{text-align:center;color:var(--muted);font-size:15px}
.news-list{margin:0;padding:0;list-style:none;border-top:2px solid var(--navy)}
.news-row{border-bottom:1px solid var(--line)}
.news-row__link{display:flex;gap:24px;align-items:flex-start;padding:26px 4px}
.news-row__link:hover .news-row__title,.news-row__link:focus-visible .news-row__title{color:var(--link)}
.news-row__thumb{flex:0 0 200px;aspect-ratio:16/10;overflow:hidden;border-radius:10px;background:var(--soft)}
.news-row__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.news-row__body{flex:1;min-width:0}
.news-row__title{margin:0;color:var(--navy);font-size:20px;font-weight:800;line-height:1.45;letter-spacing:-.02em}
.news-row__excerpt{margin:8px 0 0;color:#555;font-size:15px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-row__meta{display:flex;gap:12px;margin:10px 0 0;color:var(--muted);font-size:14px}
.news-row__meta span:before{content:"";display:inline-block;width:1px;height:11px;margin-right:12px;background:var(--line);vertical-align:-1px}
.news-post article{border-top:2px solid var(--navy)}
.news-post__head{padding:30px 4px 24px;border-bottom:1px solid var(--line)}
.news-post__head h1{margin:0;color:var(--navy);font-size:30px;font-weight:900;line-height:1.4;letter-spacing:-.03em}
.news-post__img{margin:32px 0 0}.news-post__img img{width:100%;border-radius:12px;display:block}
.news-post__body{padding:28px 4px 8px;color:#333;font-size:17px;line-height:1.85}
.news-post__body p{margin:0 0 1.2em}
/* 본문 에디터(bodyHtml) — 에디터로 쓴 글도 사이트 디자인을 따르도록 */
.news-post__body>:first-child{margin-top:0}
.news-post__body h2{margin:1.9em 0 .6em;color:var(--navy);font-size:22px;font-weight:800;line-height:1.45;letter-spacing:-.02em}
.news-post__body h3{margin:1.6em 0 .5em;color:var(--navy);font-size:19px;font-weight:800;line-height:1.5;letter-spacing:-.02em}
.news-post__body ul,.news-post__body ol{margin:0 0 1.2em;padding-left:1.3em}
.news-post__body li{margin:.25em 0}
.news-post__body strong{color:var(--navy);font-weight:800}
.news-post__body a{color:var(--link);text-decoration:underline;text-underline-offset:3px}
.news-post__body img{display:block;width:auto;max-width:100%;height:auto;max-height:560px;margin:.4em auto 1.6em;border-radius:12px}
.news-post__body blockquote{margin:0 0 1.2em;padding:4px 0 4px 18px;border-left:3px solid var(--teal);color:var(--muted)}
.news-post__body h4{margin:1.4em 0 .4em;color:var(--navy);font-size:17px;font-weight:800;line-height:1.6}
.news-post__body li>ul,.news-post__body li>ol{margin:.25em 0 0}
.news-post__body blockquote p{margin:0}
.news-post__body hr{margin:2em 0;border:0;border-top:1px solid var(--line)}
.news-post__body code{padding:2px 6px;border-radius:4px;background:var(--soft);font-size:.9em}
/* 본문 표: 에디터에서 만든 크기 그대로(꽉 채우지 않음, 칸 너비는 에디터 값). 홈 비교표(site.css 의 table · th · td 전역 규칙: 고정 칸 · 가운데 · 검은 머리 · 마우스 강조)를 되돌린다 */
.news-post__body table{width:auto;max-width:100%;margin:0 0 1.6em;table-layout:auto;border-collapse:collapse;border-top:2px solid var(--navy);font-size:15px;line-height:1.7}
.news-post__body th,.news-post__body td{padding:12px 14px;border:0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;color:inherit}
.news-post__body th{background:var(--soft);color:var(--navy);font-weight:800;width:auto}
.news-post__body th:first-child{width:auto}
.news-post__body tbody tr:hover td{background:none}
.news-post__body td p,.news-post__body th p{margin:0 0 .5em}.news-post__body td p:last-child,.news-post__body th p:last-child{margin:0}
.news-post__body td:empty{padding:0}
.news-post__body figure{margin:.4em 0 1.8em}
.news-post__body figure img{margin:0 auto}
.news-post__body figcaption{margin:10px 2px 0;color:var(--muted);font-size:14px;line-height:1.65;text-align:center}
/* 사진 좌우 배치(2026-11-26): 본문 에디터 · 자동 포스팅이 figure 에 is-left / is-right 만 붙인다(그 밖의 class 는 쓰지 않는다).
   넓은 화면에서는 사진을 왼쪽 · 오른쪽에 띄우고 글이 옆으로 흐른다. 850px 이하에서는 기본 사진처럼 가운데 한 줄로 돌아간다. */
.news-post__body::after{content:"";display:table;clear:both}
.news-post__body figure.is-left,.news-post__body figure.is-right{width:min(45%,380px);margin-top:.3em;margin-bottom:1.2em}
.news-post__body figure.is-left{float:left;margin-right:28px;margin-left:0}
.news-post__body figure.is-right{float:right;margin-left:28px;margin-right:0}
.news-post__body figure.is-left img,.news-post__body figure.is-right img{width:100%;max-height:none;margin:0}
.news-post__body h2,.news-post__body h3,.news-post__body h4,.news-post__body hr,.news-post__body table,.news-post__body figure:not(.is-left):not(.is-right){clear:both}
@media(max-width:850px){.news-post__body figure.is-left,.news-post__body figure.is-right{float:none;width:auto;margin:.4em 0 1.8em}.news-post__body figure.is-left img,.news-post__body figure.is-right img{width:auto;max-height:560px;margin:0 auto}}
/* 태그: NIST 뉴스처럼 꼬리표 아이콘 + 굵은 색 링크, "A, B and C" */
.news-tags{margin:4px 4px 14px;color:var(--navy);font-size:15px;line-height:1.8}
.news-tags__icon{display:inline-block;width:22px;height:18px;margin-right:6px;vertical-align:-3px;background:var(--link);-webkit-mask:var(--tag-icon) no-repeat center/contain;mask:var(--tag-icon) no-repeat center/contain;--tag-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cpath d='M1 3.2A2.2 2.2 0 0 1 3.2 1h8.1c.6 0 1.1.2 1.5.6l7.6 7.6a2 2 0 0 1 0 2.9l-6.9 6.9a2 2 0 0 1-2.9 0L3 11.4A2.2 2.2 0 0 1 2.4 10L1 3.2Zm5 1.3a1.6 1.6 0 1 0 0 3.2 1.6 1.6 0 0 0 0-3.2Z' fill-rule='evenodd'/%3E%3Cpath d='M15 1h1.2c.6 0 1.1.2 1.5.6l5.7 5.7a2 2 0 0 1 0 2.9l-.6.6-7.8-7.8V1Z' opacity='.6'/%3E%3C/svg%3E")}
.news-tags a{color:var(--link);font-weight:700;text-decoration:none}
.news-tags a:hover,.news-tags a:focus-visible{text-decoration:underline;text-underline-offset:3px}
.news-filter{margin:0 0 12px;color:var(--muted);font-size:15px}.news-filter strong{color:var(--navy)}
.news-filter a{margin-left:10px;color:var(--link);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.news-post__src{display:flex;gap:10px;margin:0 4px 44px;color:var(--muted);font-size:15px;line-height:1.7;overflow-wrap:anywhere}
.news-post__src span:first-child{flex:none;color:var(--navy);font-weight:700}
.news-post__src a{color:var(--link);text-decoration:underline;text-underline-offset:3px}
.news-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.news-post__nav{margin-top:0;text-align:center}
.news-post__nav ul{margin:0 0 32px;padding:0;list-style:none;border-top:1px solid var(--navy);text-align:left}
.news-post__nav li{display:flex;gap:20px;padding:16px 4px;border-bottom:1px solid var(--line);font-size:15px}
.news-post__nav li span{flex:0 0 52px;color:var(--muted)}
.news-post__nav li a{color:var(--navy);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-post__nav li a:hover{color:var(--link)}
@media(max-width:850px){.news .section-head h1{font-size:28px}.news-post__head h1{font-size:24px}.news-row__link{flex-direction:column;gap:14px}.news-row__thumb{flex:none;width:100%}}

.news-post__body a:hover,.news-tags a:hover,.news-post__src a:hover,.news-filter a:hover{color:var(--link-hover)}

/* ==== 본문 에디터 안 모양 (2026-11-26) ====
   데이터 유형 "Daara - News Editor" 설정의 Stylesheets 에서 이 파일(news.css)을 고르면 에디터 안 사진이 실제 화면과 비슷하게 보인다.
   아래 규칙은 에디터 본문(.tiptap) 안에서만 걸리고 사이트 화면에는 영향이 없다. 위의 다른 규칙은 .news-* 안에서만 걸려 에디터에 영향이 없다.
   에디터 기본 스타일이 figure img 여백을 0 으로 덮어서 .tiptap 을 앞에 붙여 우선순위를 높였다. */
.tiptap figure{margin:12px 0 18px;text-align:center}
.tiptap figure img{display:block;width:auto;max-width:100%;height:auto;max-height:420px;margin:0 auto;border-radius:10px}
.tiptap figure figcaption{margin:8px 2px 0;color:#77757a;font-size:13px;line-height:1.6;text-align:center}
.tiptap figure.is-left,.tiptap figure.is-right{width:45%;max-width:380px;margin-top:4px;margin-bottom:12px}
.tiptap figure.is-left{float:left;margin-right:24px;margin-left:0}
.tiptap figure.is-right{float:right;margin-left:24px;margin-right:0}
.tiptap figure.is-left img,.tiptap figure.is-right img{width:100%;max-height:none}
.tiptap h2,.tiptap h3,.tiptap h4,.tiptap hr,.tiptap table,.tiptap figure:not(.is-left):not(.is-right){clear:both}
.tiptap::after{content:"";display:table;clear:both}
